KB-70EC rev 2
lark-client Architecture Documentation (S176)
2 min read Revision 2
architecturelarks176lark-client
lark-client — Architecture Documentation
Version: 1.0.0 Mission: S176 (Lark Production Infrastructure) Phase: 1 (Core + Reader Library) Date: 2026-04-10
Overview
lark-client is a production-grade Python library and CLI for interacting with Lark Bitable API. It provides:
- LarkCore — HTTP client with token management, rate limiting, endpoint whitelist, audit logging
- LarkReader — Read-only Bitable operations (list tables, list fields, search records)
- **Regi
Phase 2 CLI Commands (added 2026-04-11)
| Command | Purpose | API calls |
|---|---|---|
| schema list <base-key> [--json] | List tables in a Base | Yes |
| schema dump <base-key> [--output DIR] | Dump 1 Base to JSON | Yes |
| schema dump --all [--output DIR] | Dump all 18 Bases | Yes |
| schema summarize <snapshot-dir> [--output DIR] | Generate MD from JSON | No (offline) |
| audit tail [-n N] [--follow] | View audit log | No |