thoth-agents 0.3.9 → 0.3.11

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 (40) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/dist/agents/prompt-dialects.d.ts +3 -0
  3. package/dist/{chunk-MY2GIOOH.js → chunk-CB3EBA7H.js} +4 -1
  4. package/dist/{chunk-2TLT6WWY.js → chunk-GIUU6FNE.js} +340 -296
  5. package/dist/{chunk-XEEYNMPC.js → chunk-ZEAAWBF2.js} +28 -83
  6. package/dist/cli/index.js +3 -3
  7. package/dist/cli/tui/index.js +2 -2
  8. package/dist/config/constants.d.ts +3 -3
  9. package/dist/harness/adapters/claude-code.d.ts +8 -0
  10. package/dist/harness/adapters/codex-surfaces.d.ts +2 -2
  11. package/dist/harness/core/agent-pack.d.ts +38 -3
  12. package/dist/harness/core/sdd.d.ts +9 -8
  13. package/dist/index.js +2 -2
  14. package/package.json +1 -1
  15. package/plugin/.claude-plugin/.thoth-agents-plugin-assets.json +7 -7
  16. package/plugin/.claude-plugin/plugin.json +1 -1
  17. package/plugin/.codex-plugin/plugin.json +1 -1
  18. package/plugin/agents/deep.md +10 -31
  19. package/plugin/agents/designer.md +10 -31
  20. package/plugin/agents/explorer.md +10 -30
  21. package/plugin/agents/librarian.md +10 -30
  22. package/plugin/agents/oracle.md +10 -30
  23. package/plugin/agents/orchestrator.md +39 -31
  24. package/plugin/agents/quick.md +10 -31
  25. package/plugin/skills/thoth-archive/SKILL.md +7 -0
  26. package/plugin/skills/thoth-archive/scripts/archive.mjs +58 -84
  27. package/plugin/skills/thoth-sdd/SKILL.md +13 -1
  28. package/plugin/skills/thoth-sdd/references/phases/implement.md +33 -6
  29. package/plugin/skills/thoth-sdd/references/phases/specify.md +12 -1
  30. package/plugin/skills/thoth-sdd/scripts/durable-deltas.mjs +158 -0
  31. package/plugin/skills/thoth-sdd/scripts/validate.mjs +67 -28
  32. package/plugin/skills/thoth-sdd/templates/spec.md +9 -1
  33. package/skills/thoth-archive/SKILL.md +7 -0
  34. package/skills/thoth-archive/scripts/archive.mjs +58 -84
  35. package/skills/thoth-sdd/SKILL.md +13 -1
  36. package/skills/thoth-sdd/references/phases/implement.md +33 -6
  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
@@ -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.9",
12
+ "version": "0.3.11",
13
13
  "author": {
14
14
  "name": "thoth-agents maintainers"
15
15
  },
@@ -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;
@@ -10,11 +10,13 @@ import {
10
10
  createReadOnlySpecialistPromptSections,
11
11
  createWriteCapableSpecialistPromptSections,
12
12
  getAgentOverride,
13
+ getAgentRole,
13
14
  getModelFamilyPromptSection,
14
15
  getStepBudgetPromptSection,
15
16
  loadAgentPrompt,
17
+ renderAgentRoutingDescription,
16
18
  renderRolePrompt
17
- } from "./chunk-2TLT6WWY.js";
19
+ } from "./chunk-GIUU6FNE.js";
18
20
 
19
21
  // src/agents/deep.ts
20
22
  var DEEP_PROMPT = renderRolePrompt(
@@ -405,6 +407,7 @@ function createAgents(config) {
405
407
  const prompts = loadAgentPrompt(name, config?.preset);
406
408
  const model = getPrimaryModelForPrompt(override?.model) ?? DEFAULT_MODELS[name];
407
409
  const agent = factory(model, prompts.prompt, prompts.appendPrompt);
410
+ agent.description = renderAgentRoutingDescription(getAgentRole(name));
408
411
  agent.config.variant = CONFIRMED_OPENAI_SUBAGENT_PRESET[name].effort;
409
412
  return agent;
410
413
  });