Skip to content

Commit e4f3a8d

Browse files
committed
feat(cli): add local th studio schema builder
1 parent 51e9513 commit e4f3a8d

3 files changed

Lines changed: 585 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Spec-aligned (new) pipeline:
99
- Input: THS (Token Host Schema) JSON (validated + linted), e.g. `apps/example/job-board.schema.json`.
1010
- Schema/validation: `packages/schema` (JSON Schema + Ajv validation, semantic lints, RFC8785+sha256 hashing, legacy importer).
1111
- Contracts generator: `packages/generator` (single-contract, mapping-based CRUD `App.sol`, Solidity 0.8.24).
12-
- CLI: `packages/cli` (`th init|validate|import-legacy|generate|build|deploy|verify(stub)|doctor`).
12+
- CLI: `packages/cli` (`th init|studio|validate|import-legacy|generate|build|deploy|verify(stub)|doctor`).
1313
- Build output: `th build <schema> --out <dir>` writes `contracts/App.sol`, `compiled/App.json`, `schema.json`, `manifest.json`.
1414
- Deploy: `th deploy <buildDir> --chain anvil|sepolia` (anvil deploy works; sepolia verify still TBD).
1515

@@ -148,7 +148,7 @@ Goal: replace ad-hoc scripts with a coherent CLI that runs locally and in CI.
148148
- Add `th migrate` and stubs for chain migration/indexer hooks as needed.
149149

150150
Phase 5 progress (done/partial):
151-
- Implemented: `th init`, `th validate`, `th import-legacy`, `th generate` (contracts + UI), `th build`, `th deploy`, `th verify` (stub), `th doctor`, `th up|run|dev`.
151+
- Implemented: `th init`, `th studio` (local schema builder), `th validate`, `th import-legacy`, `th generate` (contracts + UI), `th build`, `th deploy`, `th verify` (stub), `th doctor`, `th up|run|dev`.
152152
- `th generate --with-tests` emits generated app test scaffold and generated app CI workflow.
153153

154154
Remaining:

0 commit comments

Comments
 (0)