@zenera/cli 1.1.17 → 1.1.19

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 (56) hide show
  1. package/README.md +99 -16
  2. package/dist/banner.d.ts +19 -0
  3. package/dist/banner.js +17 -10
  4. package/dist/command.d.ts +3 -0
  5. package/dist/commands/index.js +4 -1
  6. package/dist/commands/init.js +1 -1
  7. package/dist/commands/inspect.js +77 -13
  8. package/dist/commands/key.js +49 -1
  9. package/dist/commands/memory.js +16 -3
  10. package/dist/commands/meta.d.ts +3 -0
  11. package/dist/commands/meta.js +596 -0
  12. package/dist/commands/run.js +63 -38
  13. package/dist/engine.d.ts +15 -0
  14. package/dist/engine.js +20 -1
  15. package/dist/home.d.ts +2 -0
  16. package/dist/home.js +2 -0
  17. package/dist/main.js +1 -1
  18. package/dist/meta.d.ts +221 -0
  19. package/dist/meta.js +695 -0
  20. package/dist/podman.js +64 -2
  21. package/dist/projects.d.ts +9 -1
  22. package/dist/projects.js +19 -2
  23. package/dist/resolve.js +7 -1
  24. package/dist/sandbox.d.ts +2 -0
  25. package/dist/sandbox.js +1 -1
  26. package/dist/scaffold.js +1 -1
  27. package/dist/session.d.ts +10 -0
  28. package/dist/session.js +19 -1
  29. package/dist/term.d.ts +21 -0
  30. package/dist/term.js +74 -2
  31. package/dist/tui/app.js +313 -150
  32. package/dist/tui/theme.d.ts +26 -7
  33. package/dist/tui/theme.js +62 -36
  34. package/dist/tui/wrap.d.ts +41 -16
  35. package/dist/tui/wrap.js +191 -18
  36. package/dist/validate.js +3 -16
  37. package/package.json +3 -2
  38. package/templates/editor/.github/copilot-instructions.md +61 -7
  39. package/templates/editor/.github/prompts/{review-project.prompt.md → project-review.prompt.md} +0 -1
  40. package/templates/editor/.github/prompts/{update-spec-from-feedback.prompt.md → spec-apply-feedback.prompt.md} +5 -5
  41. package/templates/editor/.github/prompts/{sync-with-spec.prompt.md → spec-sync-project.prompt.md} +4 -4
  42. package/templates/editor/.github/skills/zen-cli/references/check.md +0 -2
  43. package/templates/editor/.github/skills/zen-cli/references/inspect.md +4 -3
  44. package/templates/editor/.github/skills/zen-cli/references/memory.md +14 -0
  45. package/templates/editor/.github/skills/zen-cli/references/projects.md +1 -0
  46. package/templates/editor/.github/skills/zen-cli/references/run.md +75 -16
  47. package/templates/editor/.github/skills/zen-memory/SKILL.md +52 -4
  48. package/templates/editor/.github/skills/zen-review/SKILL.md +2 -2
  49. package/templates/editor/.github/skills/zen-review/scripts/review.sh +1 -1
  50. package/templates/editor/.github/skills/zen-spec-sync/SKILL.md +2 -2
  51. package/templates/editor/.github/skills/zen-spec-sync/scripts/snapshot.sh +1 -1
  52. package/templates/project/SPECIFICATION.md.tmpl +25 -2
  53. package/templates/project/agents/tools-instructions.md +8 -0
  54. package/templates/project/agents.yaml.tmpl +3 -3
  55. package/templates/project/env +7 -1
  56. package/templates/project/gitignore +4 -4
@@ -1,8 +1,8 @@
1
1
  # Who exists, and what they may reach for.
2
2
  #
3
- # This implements the Agents, Tools and boundaries, and Environment sections of
4
- # SPECIFICATION.md. Change what the system does there first, then bring this
5
- # file to match it — `/sync-with-spec` in your editor does exactly that.
3
+ # This implements the Models, Agents, Tools and boundaries, and Environment
4
+ # sections of SPECIFICATION.md. Change what the system does there first, then bring this
5
+ # file to match it — `/spec-sync-project` in your editor does exactly that.
6
6
  #
7
7
  version: 1
8
8
 
@@ -3,7 +3,8 @@
3
3
  # `zen run` reads this file before it loads the project, and forwards every
4
4
  # name in it into the sandbox — so a command the agent runs sees the same
5
5
  # variables the run does. Values are forwarded by name, never written onto a
6
- # command line, and `--no-keys` withholds the whole file.
6
+ # command line, and `--no-keys` withholds the whole file. `zen meta` reads it
7
+ # too, for the one variable below that is addressed to it.
7
8
  #
8
9
  # Precedence: what is already set in your shell wins, then this file, then the
9
10
  # keyring (`zen key add`). So this is the place for what belongs to *this*
@@ -20,3 +21,8 @@
20
21
  # OPENAI_API_KEY=
21
22
  # ACME_API_TOKEN=
22
23
  # ACME_BASE_URL=https://api.example.test
24
+
25
+ # Which model `zen meta` runs the meta agent on, for this project only. A zen
26
+ # ref — `vertex/gemini-3.8-flash`, `openai/gpt-5.6-sol` — not a provider's wire
27
+ # name. `zen meta model` shows where the answer came from.
28
+ # ZENERA_META_MODEL=
@@ -2,10 +2,10 @@
2
2
  # None of it is source.
3
3
  sessions/
4
4
 
5
- # Memory is worth keeping: `graph.json` and `files/` are what the agents
6
- # learned, and they diff. The vectors are not — they are derived from the
7
- # graph and can be rebuilt with `zen memory reembed`.
8
- memory/vectors.*
5
+ # Memory is worth keeping: `graph.json`, `files/` and the vectors are what the
6
+ # agents learned. The vectors are binary, but nothing rebuilds them from the
7
+ # graph, so a clone without them recalls by term overlap until every node is
8
+ # written again. Only the lock is runtime state.
9
9
  memory/.lock
10
10
 
11
11
  # Scratch, inside the workspace so the sandbox can reach it.