thoth-agents 0.3.8 → 0.3.10

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/.claude-plugin/marketplace.json +1 -1
  2. package/README.md +27 -0
  3. package/dist/agents/prompt-dialects.d.ts +3 -0
  4. package/dist/{chunk-3WNTCPVK.js → chunk-JBG7XMIG.js} +1291 -290
  5. package/dist/{chunk-F2K4CS5J.js → chunk-M2WF46BP.js} +186 -128
  6. package/dist/{chunk-6GQYMWWT.js → chunk-TKIDBRM3.js} +1 -1
  7. package/dist/cli/commands.d.ts +1 -0
  8. package/dist/cli/config-io.d.ts +2 -1
  9. package/dist/cli/index.js +126 -428
  10. package/dist/cli/install-completion.d.ts +34 -0
  11. package/dist/cli/install-ledger.d.ts +44 -0
  12. package/dist/cli/install.d.ts +9 -1
  13. package/dist/cli/operations/claude-code.d.ts +12 -1
  14. package/dist/cli/operations/codex.d.ts +16 -0
  15. package/dist/cli/operations/opencode.d.ts +20 -3
  16. package/dist/cli/operations/types.d.ts +13 -0
  17. package/dist/cli/package-version.d.ts +19 -0
  18. package/dist/cli/tui/index.js +63 -24
  19. package/dist/harness/core/sdd.d.ts +1 -1
  20. package/dist/hooks/auto-update-checker/checker.d.ts +0 -5
  21. package/dist/hooks/auto-update-checker/index.d.ts +1 -2
  22. package/dist/hooks/auto-update-checker/types.d.ts +0 -1
  23. package/dist/index.js +98 -251
  24. package/package.json +1 -1
  25. package/plugin/.claude-plugin/.thoth-agents-plugin-assets.json +1 -1
  26. package/plugin/.claude-plugin/plugin.json +1 -1
  27. package/plugin/.codex-plugin/plugin.json +1 -1
  28. package/plugin/agents/orchestrator.md +17 -17
  29. package/plugin/skills/thoth-archive/SKILL.md +7 -0
  30. package/plugin/skills/thoth-archive/scripts/archive.mjs +28 -74
  31. package/plugin/skills/thoth-sdd/references/phases/specify.md +12 -1
  32. package/plugin/skills/thoth-sdd/scripts/durable-deltas.mjs +158 -0
  33. package/plugin/skills/thoth-sdd/scripts/validate.mjs +67 -28
  34. package/plugin/skills/thoth-sdd/templates/spec.md +9 -1
  35. package/skills/thoth-archive/SKILL.md +7 -0
  36. package/skills/thoth-archive/scripts/archive.mjs +28 -74
  37. package/skills/thoth-sdd/references/phases/specify.md +12 -1
  38. package/skills/thoth-sdd/scripts/durable-deltas.mjs +158 -0
  39. package/skills/thoth-sdd/scripts/validate.mjs +67 -28
  40. package/skills/thoth-sdd/templates/spec.md +9 -1
  41. package/dist/hooks/auto-update-checker/cache.d.ts +0 -7
@@ -9,7 +9,7 @@
9
9
  {
10
10
  "name": "thoth-agents",
11
11
  "description": "Adaptive root orchestration, six specialist subagents, and a runtime-autonomous Spec Kit-compatible SDD bundle.",
12
- "version": "0.3.8",
12
+ "version": "0.3.10",
13
13
  "author": {
14
14
  "name": "thoth-agents maintainers"
15
15
  },
package/README.md CHANGED
@@ -56,6 +56,11 @@ npx thoth-agents@latest install --agent=opencode --dry-run
56
56
  npx thoth-agents@latest install --agent=opencode
57
57
  ```
58
58
 
59
+ Here, `@latest` selects which CLI release runs. That CLI writes the exact
60
+ executing release to OpenCode configuration, for example
61
+ `plugin: ["thoth-agents@0.4.8"]`; it never writes a `latest` plugin entry or
62
+ falls back to one when package identity cannot be verified.
63
+
59
64
  Restart OpenCode and initialize the current repository:
60
65
 
61
66
  ```text
@@ -393,9 +398,31 @@ npx thoth-agents@latest list
393
398
  npx thoth-agents@latest install --agent=opencode
394
399
  npx thoth-agents@latest install --agent=codex
395
400
  npx thoth-agents@latest install --agent=claude
401
+ npx thoth-agents@latest update --harness=opencode
402
+ npx thoth-agents@latest update --harness=opencode --apply
396
403
  npx thoth-agents@latest model --harness=codex --role=deep --model=gpt-5.6-sol
397
404
  ```
398
405
 
406
+ `update` previews by default. Applying it performs the same complete refresh as
407
+ installation for the selected harness: OpenCode refreshes its exact plugin pin,
408
+ managed configuration, owned skills, external skills, and provider setup;
409
+ Codex runs native plugin setup before its global agent pack, external skills,
410
+ and provider setup; Claude refreshes its native plugin before external skills
411
+ and provider setup. Any required failure makes the operation fail rather than
412
+ claiming a complete update.
413
+
414
+ After every required step succeeds, the CLI records that harness's executing
415
+ version in
416
+ `${XDG_CONFIG_HOME:-~/.config}/thoth-agents/install-state.json`. `status` shows
417
+ the executing CLI version and this last complete CLI-managed version. The three
418
+ harness records are independent: native Codex or Claude marketplace updates do
419
+ not advance them and do not prove that CLI-managed agents, skills,
420
+ configuration, or provider setup are current.
421
+
422
+ OpenCode's runtime release check is notification-only. It does not rewrite the
423
+ exact plugin pin, invalidate package state, or run a package manager. Follow the
424
+ notification by rerunning the latest CLI installer or applying CLI Update.
425
+
399
426
  In the interactive `Configure models` flow, `Apply` is always available. When
400
427
  no role is dirty, it reapplies every currently displayed role value; after an
401
428
  edit, preview and apply remain limited to the dirty roles. In OpenCode, both
@@ -2,6 +2,9 @@ import type { AgentDispatchMethod, AgentRoleName } from '../harness/core/agent-p
2
2
  import type { HarnessCapabilities, HarnessId } from '../harness/types';
3
3
  export type AgentPromptRole = AgentRoleName;
4
4
  export interface LifecycleNomenclature {
5
+ freshDelegation: string;
6
+ sameAssignmentContinuation: string;
7
+ independentContext: string;
5
8
  statusAction: string;
6
9
  terminalState: string;
7
10
  nonterminalState: string;