From ccd0920e6eab380b87a1875b5a4b56b695501e90 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 18 Aug 2026 22:27:16 +0000 Subject: [PATCH] fix(cli): reword os init template descriptions to match what srcFiles emits (#9737) `app` and `plugin` claimed views/actions/extensions their srcFiles maps never write (both emit objects only). Reword to match actual emission, per triage's auto-adjudication (option 1); pin the invariant so future templates can't drift the same way undetected. Co-Authored-By: Claude --- ...it-template-descriptions-match-emission.md | 19 +++++++++++ content/docs/deployment/cli.mdx | 2 +- packages/cli/src/commands/init.ts | 4 +-- packages/cli/test/init.test.ts | 32 +++++++++++++++++++ 4 files changed, 54 insertions(+), 3 deletions(-) create mode 100644 .changeset/init-template-descriptions-match-emission.md diff --git a/.changeset/init-template-descriptions-match-emission.md b/.changeset/init-template-descriptions-match-emission.md new file mode 100644 index 0000000000..737b1811d7 --- /dev/null +++ b/.changeset/init-template-descriptions-match-emission.md @@ -0,0 +1,19 @@ +--- +"@objectstack/cli": patch +--- + +fix(cli): `os init` template descriptions no longer advertise metadata kinds they never emit (#9737) + +The `app` and `plugin` templates' `description` strings — shown by `printKV('Template', …)` +right after `os init -t