@metaobjectsdev/cli 1.0.12 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/README.md +32 -22
  2. package/dist/bin/meta.js +14 -2
  3. package/dist/bin/meta.js.map +1 -1
  4. package/dist/src/commands/docs.d.ts +1 -14
  5. package/dist/src/commands/docs.d.ts.map +1 -1
  6. package/dist/src/commands/docs.js +11 -835
  7. package/dist/src/commands/docs.js.map +1 -1
  8. package/dist/src/commands/eject.d.ts +24 -1
  9. package/dist/src/commands/eject.d.ts.map +1 -1
  10. package/dist/src/commands/eject.js +240 -69
  11. package/dist/src/commands/eject.js.map +1 -1
  12. package/dist/src/commands/gen.d.ts +7 -0
  13. package/dist/src/commands/gen.d.ts.map +1 -1
  14. package/dist/src/commands/gen.js +91 -21
  15. package/dist/src/commands/gen.js.map +1 -1
  16. package/dist/src/commands/generator.js +2 -2
  17. package/dist/src/commands/generator.js.map +1 -1
  18. package/dist/src/commands/init.d.ts +7 -0
  19. package/dist/src/commands/init.d.ts.map +1 -1
  20. package/dist/src/commands/init.js +71 -36
  21. package/dist/src/commands/init.js.map +1 -1
  22. package/dist/src/commands/migrate.d.ts +1 -1
  23. package/dist/src/commands/migrate.d.ts.map +1 -1
  24. package/dist/src/commands/migrate.js +224 -125
  25. package/dist/src/commands/migrate.js.map +1 -1
  26. package/dist/src/commands/types.d.ts.map +1 -1
  27. package/dist/src/commands/types.js +16 -2
  28. package/dist/src/commands/types.js.map +1 -1
  29. package/dist/src/commands/upgrade.d.ts.map +1 -1
  30. package/dist/src/commands/upgrade.js +4 -1
  31. package/dist/src/commands/upgrade.js.map +1 -1
  32. package/dist/src/commands/verify.d.ts.map +1 -1
  33. package/dist/src/commands/verify.js +189 -125
  34. package/dist/src/commands/verify.js.map +1 -1
  35. package/dist/src/index.d.ts.map +1 -1
  36. package/dist/src/index.js +59 -72
  37. package/dist/src/index.js.map +1 -1
  38. package/dist/src/lib/agent-context-staleness.d.ts +8 -1
  39. package/dist/src/lib/agent-context-staleness.d.ts.map +1 -1
  40. package/dist/src/lib/agent-context-staleness.js +20 -5
  41. package/dist/src/lib/agent-context-staleness.js.map +1 -1
  42. package/dist/src/lib/agent-schema.d.ts +9 -0
  43. package/dist/src/lib/agent-schema.d.ts.map +1 -0
  44. package/dist/src/lib/agent-schema.js +61 -0
  45. package/dist/src/lib/agent-schema.js.map +1 -0
  46. package/dist/src/lib/allow.d.ts +6 -0
  47. package/dist/src/lib/allow.d.ts.map +1 -1
  48. package/dist/src/lib/allow.js +49 -5
  49. package/dist/src/lib/allow.js.map +1 -1
  50. package/dist/src/lib/anti-patterns.d.ts.map +1 -1
  51. package/dist/src/lib/anti-patterns.js +4 -2
  52. package/dist/src/lib/anti-patterns.js.map +1 -1
  53. package/dist/src/lib/args.d.ts +51 -10
  54. package/dist/src/lib/args.d.ts.map +1 -1
  55. package/dist/src/lib/args.js +44 -18
  56. package/dist/src/lib/args.js.map +1 -1
  57. package/dist/src/lib/catalog-listing.d.ts +21 -1
  58. package/dist/src/lib/catalog-listing.d.ts.map +1 -1
  59. package/dist/src/lib/catalog-listing.js +85 -16
  60. package/dist/src/lib/catalog-listing.js.map +1 -1
  61. package/dist/src/lib/catalog.d.ts +30 -0
  62. package/dist/src/lib/catalog.d.ts.map +1 -1
  63. package/dist/src/lib/catalog.js +40 -5
  64. package/dist/src/lib/catalog.js.map +1 -1
  65. package/dist/src/lib/codegen-drift.d.ts +31 -2
  66. package/dist/src/lib/codegen-drift.d.ts.map +1 -1
  67. package/dist/src/lib/codegen-drift.js +109 -4
  68. package/dist/src/lib/codegen-drift.js.map +1 -1
  69. package/dist/src/lib/collection-load-options.d.ts +1 -1
  70. package/dist/src/lib/collection-load-options.d.ts.map +1 -1
  71. package/dist/src/lib/collection-load-options.js +1 -0
  72. package/dist/src/lib/collection-load-options.js.map +1 -1
  73. package/dist/src/lib/config.d.ts +4 -2
  74. package/dist/src/lib/config.d.ts.map +1 -1
  75. package/dist/src/lib/config.js +4 -2
  76. package/dist/src/lib/config.js.map +1 -1
  77. package/dist/src/lib/decimal-precision-advisory.d.ts +10 -0
  78. package/dist/src/lib/decimal-precision-advisory.d.ts.map +1 -0
  79. package/dist/src/lib/decimal-precision-advisory.js +34 -0
  80. package/dist/src/lib/decimal-precision-advisory.js.map +1 -0
  81. package/dist/src/lib/deprecation-lint.d.ts.map +1 -1
  82. package/dist/src/lib/deprecation-lint.js +17 -26
  83. package/dist/src/lib/deprecation-lint.js.map +1 -1
  84. package/dist/src/lib/docs-removed.d.ts +13 -0
  85. package/dist/src/lib/docs-removed.d.ts.map +1 -0
  86. package/dist/src/lib/docs-removed.js +31 -0
  87. package/dist/src/lib/docs-removed.js.map +1 -0
  88. package/dist/src/lib/docs-site-eject.d.ts +13 -0
  89. package/dist/src/lib/docs-site-eject.d.ts.map +1 -0
  90. package/dist/src/lib/docs-site-eject.js +40 -0
  91. package/dist/src/lib/docs-site-eject.js.map +1 -0
  92. package/dist/src/lib/field-lint.d.ts +25 -0
  93. package/dist/src/lib/field-lint.d.ts.map +1 -0
  94. package/dist/src/lib/field-lint.js +102 -0
  95. package/dist/src/lib/field-lint.js.map +1 -0
  96. package/dist/src/lib/fk-index-advisory.d.ts +1 -2
  97. package/dist/src/lib/fk-index-advisory.d.ts.map +1 -1
  98. package/dist/src/lib/fk-index-advisory.js +4 -3
  99. package/dist/src/lib/fk-index-advisory.js.map +1 -1
  100. package/dist/src/lib/format.d.ts +7 -0
  101. package/dist/src/lib/format.d.ts.map +1 -1
  102. package/dist/src/lib/format.js +13 -0
  103. package/dist/src/lib/format.js.map +1 -1
  104. package/dist/src/lib/gen-migrate-advice.d.ts +3 -1
  105. package/dist/src/lib/gen-migrate-advice.d.ts.map +1 -1
  106. package/dist/src/lib/gen-migrate-advice.js +3 -4
  107. package/dist/src/lib/gen-migrate-advice.js.map +1 -1
  108. package/dist/src/lib/install-set.d.ts +10 -1
  109. package/dist/src/lib/install-set.d.ts.map +1 -1
  110. package/dist/src/lib/install-set.js +20 -2
  111. package/dist/src/lib/install-set.js.map +1 -1
  112. package/dist/src/lib/load-metaobjects-config.d.ts +13 -11
  113. package/dist/src/lib/load-metaobjects-config.d.ts.map +1 -1
  114. package/dist/src/lib/load-metaobjects-config.js +53 -75
  115. package/dist/src/lib/load-metaobjects-config.js.map +1 -1
  116. package/dist/src/lib/manifest-ignored-check.d.ts +4 -1
  117. package/dist/src/lib/manifest-ignored-check.d.ts.map +1 -1
  118. package/dist/src/lib/manifest-ignored-check.js +9 -4
  119. package/dist/src/lib/manifest-ignored-check.js.map +1 -1
  120. package/dist/src/lib/output.d.ts +15 -0
  121. package/dist/src/lib/output.d.ts.map +1 -1
  122. package/dist/src/lib/output.js +9 -1
  123. package/dist/src/lib/output.js.map +1 -1
  124. package/dist/src/lib/payload-field-tree.d.ts +4 -5
  125. package/dist/src/lib/payload-field-tree.d.ts.map +1 -1
  126. package/dist/src/lib/payload-field-tree.js +16 -31
  127. package/dist/src/lib/payload-field-tree.js.map +1 -1
  128. package/dist/src/lib/requirement-check.d.ts +7 -0
  129. package/dist/src/lib/requirement-check.d.ts.map +1 -1
  130. package/dist/src/lib/requirement-check.js +14 -7
  131. package/dist/src/lib/requirement-check.js.map +1 -1
  132. package/dist/src/lib/strict-args.d.ts +28 -0
  133. package/dist/src/lib/strict-args.d.ts.map +1 -0
  134. package/dist/src/lib/strict-args.js +49 -0
  135. package/dist/src/lib/strict-args.js.map +1 -0
  136. package/dist/src/lib/template-eject.d.ts +108 -0
  137. package/dist/src/lib/template-eject.d.ts.map +1 -0
  138. package/dist/src/lib/template-eject.js +438 -0
  139. package/dist/src/lib/template-eject.js.map +1 -0
  140. package/dist/src/lib/version.d.ts +9 -0
  141. package/dist/src/lib/version.d.ts.map +1 -1
  142. package/dist/src/lib/version.js +15 -0
  143. package/dist/src/lib/version.js.map +1 -1
  144. package/package.json +10 -10
  145. package/src/commands/docs.ts +11 -952
  146. package/src/commands/eject.ts +318 -73
  147. package/src/commands/gen.ts +94 -22
  148. package/src/commands/generator.ts +2 -2
  149. package/src/commands/init.ts +80 -38
  150. package/src/commands/migrate.ts +248 -117
  151. package/src/commands/types.ts +18 -2
  152. package/src/commands/upgrade.ts +5 -1
  153. package/src/commands/verify.ts +229 -136
  154. package/src/index.ts +59 -72
  155. package/src/lib/agent-context-staleness.ts +20 -5
  156. package/src/lib/agent-schema.ts +74 -0
  157. package/src/lib/allow.ts +57 -6
  158. package/src/lib/anti-patterns.ts +4 -2
  159. package/src/lib/args.ts +83 -28
  160. package/src/lib/catalog-listing.ts +105 -25
  161. package/src/lib/catalog.ts +51 -6
  162. package/src/lib/codegen-drift.ts +138 -3
  163. package/src/lib/collection-load-options.ts +2 -1
  164. package/src/lib/config.ts +5 -3
  165. package/src/lib/decimal-precision-advisory.ts +50 -0
  166. package/src/lib/deprecation-lint.ts +16 -24
  167. package/src/lib/docs-removed.ts +41 -0
  168. package/src/lib/docs-site-eject.ts +48 -0
  169. package/src/lib/field-lint.ts +122 -0
  170. package/src/lib/fk-index-advisory.ts +4 -4
  171. package/src/lib/format.ts +12 -0
  172. package/src/lib/gen-migrate-advice.ts +6 -4
  173. package/src/lib/install-set.ts +20 -1
  174. package/src/lib/load-metaobjects-config.ts +57 -78
  175. package/src/lib/manifest-ignored-check.ts +14 -10
  176. package/src/lib/output.ts +18 -1
  177. package/src/lib/payload-field-tree.ts +18 -35
  178. package/src/lib/requirement-check.ts +21 -6
  179. package/src/lib/strict-args.ts +52 -0
  180. package/src/lib/template-eject.ts +526 -0
  181. package/src/lib/version.ts +18 -0
  182. package/dist/src/lib/docs-drift.d.ts +0 -42
  183. package/dist/src/lib/docs-drift.d.ts.map +0 -1
  184. package/dist/src/lib/docs-drift.js +0 -264
  185. package/dist/src/lib/docs-drift.js.map +0 -1
  186. package/src/lib/docs-drift.ts +0 -312
package/README.md CHANGED
@@ -4,6 +4,8 @@ The MetaObjects CLI — scaffolds `metaobjects/` + `.metaobjects/`, runs codegen
4
4
 
5
5
  **Status:** v0.3. TS reference implementation with Projects D–G shipped end-to-end.
6
6
 
7
+ **Upgrading from 1.0.x:** see the [1.0 to 1.1 upgrade guide](https://github.com/metaobjectsdev/metaobjects/blob/v1.1.0/docs/features/migrations/upgrading-1.0-to-1.1.md) before you regenerate. It lists every step and change that needs action, per port.
8
+
7
9
  ## Install
8
10
 
9
11
  ```bash
@@ -67,8 +69,15 @@ $EDITOR metaobjects/meta.myapp.json # see .metaobjects/AGENTS.md for format
67
69
  # how many files it would emit, so you can see what your metadata already asks for.
68
70
  meta gen --list --probe
69
71
 
70
- # 4. Take the ones you want. Prints the import, the entry to wire, and what to install.
71
- meta eject entity queries routes barrel
72
+ # 4. Wire the ones you want. The catalog prints the import that runs each generator as
73
+ # shipped; add it to metaobjects.config.ts and call it in `generators: [...]`.
74
+ # What to install is on the structured row only (`install.dev`, `install.runtime`),
75
+ # beside the config keys the generator reads (`configKeys`):
76
+ meta gen --list --format json
77
+
78
+ # Need to change what one emits? Copy it into your repo and own it. Prints the import
79
+ # to swap in, the entry to wire, and what to install.
80
+ meta eject entity
72
81
 
73
82
  # Need an output none of them emits (OpenAPI, JSON Schema, a client, docs)? Write your
74
83
  # own: this scaffolds a working, commented generator and wires it into the config.
@@ -92,7 +101,7 @@ These apply to every command:
92
101
 
93
102
  Running `meta` with no arguments prints a concise status line (whether a `metaobjects/` directory is present) plus the most relevant next-step commands, rather than the full manual.
94
103
 
95
- **Exit codes:** `0` success (including idempotent no-op runs), `1` runtime error, `2` usage error (bad flag, missing required argument, invalid `--format`). For agent-friendliness, structured errors and next-step hints are emitted on **stdout** in the active `--format` (not stderr), so callers can parse them without scraping stderr.
104
+ **Exit codes:** `0` success (including idempotent no-op runs, such as `meta init` on an initialized project), `1` runtime error (including metadata that does not load, in every command), `2` usage error (bad flag, missing required argument, invalid `--format`). An unknown flag is refused by name with the command's valid flags listed. Under `--format json|toon` stdout carries exactly one document — narration goes to stderr — and `meta verify` and `meta migrate` put their errors in that document too; the other commands print errors on stderr.
96
105
 
97
106
  ## Commands
98
107
 
@@ -100,7 +109,7 @@ Running `meta` with no arguments prints a concise status line (whether a `metaob
100
109
 
101
110
  Scaffolds `metaobjects/` (visible entity declarations, with a placeholder `meta.common.json`), `.metaobjects/` (hidden tool state: `config.json`, `AGENTS.md`, `CLAUDE.md`, `.gitignore`, `.gen-state/`), an **empty** `codegen/generators/` plus its `tsconfig.codegen.json`, and `metaobjects.config.ts` at the repo root.
102
111
 
103
- **It copies no generators and declares no dependencies.** Codegen is opt-in (ADR-0034 Amendment 2): the scaffolded config carries `generators: []` and a comment pointing at the catalog. `meta gen --list --probe` shows what each generator would emit for your model; `meta eject <name>...` copies the ones you choose into `codegen/generators/` — **yours to edit** — and prints the import line, the entry to add, the install command and any config keys those generators read. `meta gen` runs your local copies, never the package's.
112
+ **It copies no generators and declares no dependencies.** Codegen is opt-in (ADR-0034 Amendment 2): the scaffolded config carries `generators: []` and a comment pointing at the catalog. `meta gen --list --probe` shows what each generator would emit for your model, with the import line that runs it as shipped; `meta gen --list --format json` adds what to install (`install.dev`, `install.runtime`) and the config keys each generator reads (`configKeys`), which the text listing does not print. Import a generator from its package to use it unchanged; `meta eject <name>...` copies the ones you want to change into `codegen/generators/` — **yours to edit** — and prints the import line to swap in, the entry to add, the install command and any config keys those generators read. `meta gen` runs whatever `generators: [...]` holds: the package's generator where you imported it, your copy where you ejected it.
104
113
 
105
114
  Flags:
106
115
  - `--force` — overwrite scaffold files (memory records preserved)
@@ -169,7 +178,7 @@ Flags:
169
178
  - `--allow <csv>` — destructive-change permissions: `drop-column,drop-table,type-change,drop-index,drop-fk,drop-check,drop-view,drop-view-cascade,adopt-view,nullable-to-not-null,drop-identity-default`
170
179
  - `--on-ambiguous abort|rename|drop-add` (default `abort`) — non-interactive
171
180
  - `--rename-table [schema.]old=new` / `--rename-column [schema.]table.old=new` — declare a rename (repeatable), so the migration is `RENAME` instead of drop+add whatever the rename heuristic makes of the names. Refused if nothing matches. See [Renames and populated tables](../../../../docs/features/migrations-and-drift.md#renames-and-populated-tables).
172
- - `--dry-run` — print SQL pair to stdout, write nothing
181
+ - `--dry-run` — print the SQL pair, write nothing (under `--format json|toon` the pair is the document's `sql` field, so stdout stays one parseable document)
173
182
  - `--apply` — after writing migration files, immediately apply all pending migrations against the DB (runs `up.sql` for each unapplied entry, tracked in the migration ledger). Mutually exclusive with `--rollback`. Postgres and SQLite only (D1 uses `--apply` to invoke `wrangler d1 migrations apply` instead).
174
183
  - `--rollback <version>` — roll back applied migrations newer than `<version>` by running their `down.sql` in reverse order, ledger-tracked. Pass an empty string (`--rollback ""`) to roll back everything. Mutually exclusive with `--apply`. Postgres and SQLite only.
175
184
 
@@ -185,15 +194,11 @@ Flags:
185
194
 
186
195
  Two config files, by design:
187
196
 
188
- **`metaobjects.config.ts`** (at repo root) — generator wiring and codegen knobs, type-checked TS. It starts with `generators: []`; each import below appears when you `meta eject` that generator, which copies it into `codegen/generators/` (ADR-0034 scaffold-and-own) and prints the line to add:
197
+ **`metaobjects.config.ts`** (at repo root) — generator wiring and codegen knobs, type-checked TS. It starts with `generators: []`. Import a stock generator from its package to run it as shipped (`meta gen --list` prints each line):
189
198
 
190
199
  ```ts
191
200
  import { defineConfig } from "@metaobjectsdev/cli";
192
- import { entityFile } from "./codegen/generators/entity";
193
- import { queriesFile } from "./codegen/generators/queries";
194
- import { routesFile } from "./codegen/generators/routes";
195
- import { namesFile } from "./codegen/generators/names";
196
- import { barrel } from "./codegen/generators/barrel";
201
+ import { entityFile, queriesFile, routesFile, namesFile, barrel } from "@metaobjectsdev/codegen-ts/generators";
197
202
 
198
203
  export default defineConfig({
199
204
  outDir: "packages/database/src/generated",
@@ -205,9 +210,14 @@ export default defineConfig({
205
210
  });
206
211
  ```
207
212
 
208
- > Importing these generator factories from `@metaobjectsdev/codegen-ts/generators`
209
- > still works but is **deprecated** (ADR-0034) — own a local copy instead. The
210
- > package export will be removed in a future major.
213
+ To change what one emits, `meta eject <name>` copies it into `codegen/generators/`
214
+ (ADR-0034 scaffold-and-own) and prints the local import to put in place of the package
215
+ one, for example `import { entityFile } from "./codegen/generators/entity";`. The factory
216
+ keeps its name, so nothing else in the config changes.
217
+
218
+ > `entityFile`, `queriesFile`, `routesFile` and `barrel` were removed from
219
+ > `@metaobjectsdev/codegen-ts/generators` at 1.0 and restored in 1.1 (ADR-0034
220
+ > Amendment 5). Both the import and an owned copy are supported.
211
221
 
212
222
  ### Multiple output targets
213
223
 
@@ -217,11 +227,9 @@ concern — declare named **targets** and point generators at them with `target`
217
227
 
218
228
  ```ts
219
229
  import { defineConfig } from "@metaobjectsdev/cli";
220
- // Owned generators — copied in by `meta eject` (ADR-0034 scaffold-and-own).
221
- import { entityFile } from "./codegen/generators/entity";
222
- import { queriesFile } from "./codegen/generators/queries";
223
- import { routesFile } from "./codegen/generators/routes";
224
- import { barrel } from "./codegen/generators/barrel";
230
+ // Stock generators, run as shipped. An owned copy (`meta eject`) is wired the same way,
231
+ // from "./codegen/generators/<name>".
232
+ import { entityFile, queriesFile, routesFile, barrel } from "@metaobjectsdev/codegen-ts/generators";
225
233
  import { formFile } from "@metaobjectsdev/codegen-ts-react";
226
234
  import { tanstackQuery, tanstackGrid } from "@metaobjectsdev/codegen-ts-tanstack";
227
235
 
@@ -306,7 +314,7 @@ Precedence for `meta migrate`: CLI flag > env var (`DATABASE_URL` only) > `.meta
306
314
  ### Metadata sources (`sources`)
307
315
 
308
316
  `sources` is the single authority on **where metadata lives**. Every read command
309
- (`gen`, `migrate`, `verify`, `docs`, `export`) resolves it. When the key is absent or
317
+ (`gen`, `migrate`, `verify`, `export`) resolves it. When the key is absent or
310
318
  empty — which is what `meta init` scaffolds — it takes its default value, the
311
319
  `metaobjects/` directory beside the config, so existing projects are unaffected.
312
320
 
@@ -349,8 +357,10 @@ means everything; `exclude` applies after `include`; matching is case-sensitive.
349
357
 
350
358
  **The collection always loads in full — `scope` filters output, never input.** It
351
359
  applies to `meta gen` and to `meta verify --codegen` (which regenerates under the
352
- same scope, so a scoped `gen` is not reported as drift). `meta docs` and `meta export`
353
- are deliberately **not** scoped — they inspect the loaded collection. `meta gen
360
+ same scope, so a scoped `gen` is not reported as drift). The documentation generators are
361
+ not scoped: the model pages, the api reference, the agent pages and the site document the
362
+ whole loaded collection, whatever `scope` says. `meta export` is deliberately **not** scoped — it
363
+ inspects the loaded collection. `meta gen
354
364
  <Entity>` arguments intersect with `scope`; both must pass.
355
365
 
356
366
  The TypeScript-only per-generator `filter` function is unchanged and remains the
package/dist/bin/meta.js CHANGED
@@ -2,6 +2,18 @@
2
2
  // Note: this .ts source file is executed by Bun in the workspace (not Node).
3
3
  // The shebang stays as `node` so tsc copies it unchanged to dist/bin/meta.js,
4
4
  // keeping the published CLI runnable by Node for npm consumers.
5
- import { run } from "../src/index.js";
6
- run(process.argv.slice(2)).then((code) => process.exit(code));
5
+ //
6
+ // A bare version probe is answered here, from a leaf module that imports only node
7
+ // builtins, BEFORE the command graph loads. `src/index.ts` statically pulls in the sdk
8
+ // and codegen-ts, so answering `--version` there cost ~10x a bare `node` start on every
9
+ // probe. Everything else — including a version flag in any other position — falls
10
+ // through to `run()`, which stays the single owner of the general case.
11
+ import { cliVersion, isVersionFlag } from "../src/lib/version.js";
12
+ const argv = process.argv.slice(2);
13
+ if (argv.length === 1 && isVersionFlag(argv[0])) {
14
+ console.log(cliVersion());
15
+ process.exit(0);
16
+ }
17
+ const { run } = await import("../src/index.js");
18
+ process.exit(await run(argv));
7
19
  //# sourceMappingURL=meta.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../bin/meta.ts"],"names":[],"mappings":";AACA,6EAA6E;AAC7E,8EAA8E;AAC9E,gEAAgE;AAChE,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../bin/meta.ts"],"names":[],"mappings":";AACA,6EAA6E;AAC7E,8EAA8E;AAC9E,gEAAgE;AAChE,EAAE;AACF,mFAAmF;AACnF,uFAAuF;AACvF,wFAAwF;AACxF,kFAAkF;AAClF,wEAAwE;AACxE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAElE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AACnC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAChD,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;IAC1B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AACD,MAAM,EAAE,GAAG,EAAE,GAAG,MAAM,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAChD,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC"}
@@ -1,15 +1,2 @@
1
- /**
2
- * How a caller other than the CLI wants `meta docs` to behave.
3
- *
4
- * `verify --docs` runs this exact command into a temp directory and diffs the result, so
5
- * that the gate and the door can never be two implementations of "what the docs are". The
6
- * only thing it needs differently is silence: a verify run announcing "meta docs — wrote 8
7
- * entity pages" in the middle of its own report describes work the user is not getting.
8
- */
9
- export interface DocsCommandOptions {
10
- /** Suppress the informational output. Warnings and errors still print — a docs run that
11
- * degraded is something a verify caller must see, not something to swallow. */
12
- silent?: boolean;
13
- }
14
- export declare function docsCommand(args: string[], cwd: string, opts?: DocsCommandOptions): Promise<number>;
1
+ export declare function docsCommand(_args: string[], _cwd: string): Promise<number>;
15
2
  //# sourceMappingURL=docs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../src/commands/docs.ts"],"names":[],"mappings":"AA6OA;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC;oFACgF;IAChF,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AA+ED,wBAAsB,WAAW,CAC/B,IAAI,EAAE,MAAM,EAAE,EACd,GAAG,EAAE,MAAM,EACX,IAAI,CAAC,EAAE,kBAAkB,GACxB,OAAO,CAAC,MAAM,CAAC,CAqcjB"}
1
+ {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../src/commands/docs.ts"],"names":[],"mappings":"AAYA,wBAAsB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGhF"}