@inf-monkeys-tech/monkeys-cli 0.12.53 → 0.12.54

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 (41) hide show
  1. package/README.md +37 -34
  2. package/README.zh.md +31 -28
  3. package/dist/command/metadata.d.ts.map +1 -1
  4. package/dist/command/metadata.js +2 -0
  5. package/dist/command/metadata.js.map +1 -1
  6. package/dist/commands/navigation/deactivate.js +1 -1
  7. package/dist/commands/navigation/deactivate.js.map +1 -1
  8. package/dist/commands/navigation/verify.d.ts +3 -0
  9. package/dist/commands/navigation/verify.d.ts.map +1 -0
  10. package/dist/commands/navigation/verify.js +3 -0
  11. package/dist/commands/navigation/verify.js.map +1 -0
  12. package/dist/commands/page/deactivate.js +1 -1
  13. package/dist/commands/page/deactivate.js.map +1 -1
  14. package/dist/commands/page/verify.d.ts +3 -0
  15. package/dist/commands/page/verify.d.ts.map +1 -0
  16. package/dist/commands/page/verify.js +3 -0
  17. package/dist/commands/page/verify.js.map +1 -0
  18. package/dist/declarative/client.d.ts +85 -2
  19. package/dist/declarative/client.d.ts.map +1 -1
  20. package/dist/declarative/client.js +57 -5
  21. package/dist/declarative/client.js.map +1 -1
  22. package/dist/declarative/command.d.ts.map +1 -1
  23. package/dist/declarative/command.js +39 -7
  24. package/dist/declarative/command.js.map +1 -1
  25. package/dist/declarative/deactivate.d.ts.map +1 -1
  26. package/dist/declarative/deactivate.js +5 -4
  27. package/dist/declarative/deactivate.js.map +1 -1
  28. package/dist/declarative/lifecycle.d.ts +6 -1
  29. package/dist/declarative/lifecycle.d.ts.map +1 -1
  30. package/dist/declarative/lifecycle.js +92 -77
  31. package/dist/declarative/lifecycle.js.map +1 -1
  32. package/dist/declarative/verification.d.ts +85 -0
  33. package/dist/declarative/verification.d.ts.map +1 -0
  34. package/dist/declarative/verification.js +59 -0
  35. package/dist/declarative/verification.js.map +1 -0
  36. package/dist/transport/http-client.d.ts.map +1 -1
  37. package/dist/transport/http-client.js +28 -9
  38. package/dist/transport/http-client.js.map +1 -1
  39. package/oclif.manifest.json +441 -23
  40. package/package.json +3 -3
  41. package/skills/monkeys-pages/SKILL.md +5 -4
@@ -1,21 +1,22 @@
1
1
  ---
2
2
  name: monkeys-pages
3
- description: "Manage declarative Page and Navigation JSON with native monkeys commands: inspect, export, validate, import drafts, publish, inspect history, and roll back exact releases."
3
+ description: 'Manage declarative Page and Navigation JSON with native monkeys commands: inspect, export, validate, import drafts, publish, inspect history, and roll back exact releases.'
4
4
  ---
5
5
 
6
6
  # Monkeys Pages and Navigation
7
7
 
8
8
  Read `monkeys skills read monkeys-shared`, then inspect `monkeys schema page publish` or `monkeys schema navigation publish` for the installed command contract.
9
9
 
10
- - Select an explicit `--subscription`. Pass `--team` for Studio. Kernel control scope is selected by the server; never guess namespace IDs.
10
+ - Select an explicit `--subscription`. Page management defaults to global scope within that tenant; `--team 0` is equivalent. Only an explicit nonzero `--team` selects a Team publication. Never inherit a Subscription default Team as the publication target. Kernel control scope is selected by the server; never guess namespace IDs.
11
11
  - Use `page list/get/export` and `navigation list/get/export` to inspect current configuration. Export writes complete JSON to a new file and refuses to overwrite files.
12
12
  - Edit canonical Page or Navigation JSON. Do not invent a second page DSL or replace these commands with `api call`.
13
13
  - Run `import --file <json> --dry-run` or `publish --file <json> --dry-run` before writes. Show the target, changes and blocking diagnostics. File preflight does not save drafts, allocate namespaces, install dependencies or prove release compilation.
14
14
  - `import --file <json> --yes` saves only a draft. `publish <id> --yes` publishes an existing draft; `publish --file <json> --yes` imports then publishes. These are separate stages; a draft can remain saved after a publication failure.
15
15
  - Choose `--surface`, `--environment`, `--placement`, `--route-index` or `--release-slot` when the target is ambiguous. Do not choose a different tenant or placement to bypass a failure.
16
16
  - Templates may be bound by the server. Live foreign scopes and immutable references must not be rewritten. Missing dependencies require an explicit operator action; never bulk-import unrelated catalogs.
17
- - Successful publication requires matching active Release and runtime readback. Runtime access denial does not authorize widening the audience.
17
+ - Publication integrity and audience access are separate results. `publicationVerified` requires exact active Release, definition and persisted artifacts. `verified` is true only after explicitly requested audience resolution. Neither proves business queries or browser interaction. Use `--verify-runtime`, an authorized `--runtime-team`, and a concrete `--runtime-path`; never send a parameter template as a URL or widen the audience after denial.
18
+ - `verify <id> --release-slot <slot> --release-version <version>` repeats only reads. Optional `--wait <seconds>` bounds retryable verification polling to at most 60 seconds; it never publishes, recompiles or repairs projections.
18
19
  - `history <id>` lists definition history. `history <id> --release-slot <slot>` lists release history. `rollback <id> --release-slot <slot> --release-version <version> --dry-run` inspects an exact historical release; apply only with user authorization and `--yes`.
19
20
  - `page deactivate <id> --release-slot <slot> --dry-run` selects one active slot and lists retained slots. Apply only with user authorization and `--yes`. To reuse an inactive slot, inspect its current release history and supply that exact head with `--expected-release-version` alongside `--release-slot`; never guess the version or retry a conflict blindly.
20
- - On `MUTATION_OUTCOME_UNKNOWN`, do not automatically replay writes. Read `get` and `history`. On `DECLARATIVE_PARTIAL_RESULT`, preserve the saved draft revision and inspect the failed stage before continuing.
21
+ - On `MUTATION_OUTCOME_UNKNOWN`, do not automatically replay writes. Preserve the original idempotency key, slot and candidate version, then use `verify --idempotency-key <key>` or inspect `get` and `history`. Missing records do not establish failure. On `DECLARATIVE_PARTIAL_RESULT`, preserve the saved draft revision and inspect the failed stage before continuing.
21
22
  - Page and Navigation publication have separate scopes and receipts; never promise a cross-scope atomic publication.