thoth-agents 0.2.10 → 0.3.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.
- package/.agents/plugins/marketplace.json +20 -0
- package/.claude-plugin/marketplace.json +21 -0
- package/README.md +301 -311
- package/dist/agents/configured-role-prompt.d.ts +9 -0
- package/dist/agents/prompt-sections.d.ts +8 -4
- package/dist/agents/prompt-utils.d.ts +0 -4
- package/dist/{chunk-YYVE7YHR.js → chunk-2MZ5C2RN.js} +1755 -1760
- package/dist/chunk-XO74DXBZ.js +1781 -0
- package/dist/{chunk-MF5NNCPC.js → chunk-YUCGIJPP.js} +12 -30
- package/dist/cli/claude-code-install.d.ts +24 -26
- package/dist/cli/claude-code-paths.d.ts +0 -28
- package/dist/cli/codex-install.d.ts +2 -2
- package/dist/cli/codex-paths.d.ts +0 -2
- package/dist/cli/config-io.d.ts +5 -0
- package/dist/cli/index.js +294 -133
- package/dist/cli/install.d.ts +5 -1
- package/dist/cli/model-catalog/cache.d.ts +1 -1
- package/dist/cli/operations/claude-code.d.ts +6 -3
- package/dist/cli/operations/codex.d.ts +2 -1
- package/dist/cli/operations/opencode.d.ts +2 -1
- package/dist/cli/operations/types.d.ts +11 -1
- package/dist/cli/package-root.d.ts +1 -0
- package/dist/cli/providers.d.ts +6 -116
- package/dist/cli/skills.d.ts +19 -32
- package/dist/cli/thoth-mem-install.d.ts +45 -0
- package/dist/cli/tui/components/StatusView.d.ts +12 -1
- package/dist/cli/tui/index.js +293 -106
- package/dist/cli/tui/operations.d.ts +4 -3
- package/dist/cli/types.d.ts +0 -10
- package/dist/config/constants.d.ts +20 -16
- package/dist/config/index.d.ts +0 -1
- package/dist/config/loader.d.ts +1 -1
- package/dist/config/schema.d.ts +2 -38
- package/dist/config/utils.d.ts +1 -2
- package/dist/harness/adapters/codex-surfaces.d.ts +3 -3
- package/dist/harness/core/agent-pack.d.ts +37 -29
- package/dist/harness/core/memory-governance.d.ts +24 -48
- package/dist/harness/core/sdd.d.ts +364 -131
- package/dist/harness/generate-integration-packages.d.ts +20 -0
- package/dist/harness/opencode-init-command.d.ts +11 -0
- package/dist/harness/types.d.ts +14 -1
- package/dist/harness/writers/claude-code-subagent.d.ts +3 -1
- package/dist/hooks/index.d.ts +0 -5
- package/dist/index.js +562 -1314
- package/dist/mcp/index.d.ts +1 -2
- package/package.json +17 -12
- package/plugin/.claude-plugin/.thoth-agents-plugin-assets.json +50 -0
- package/plugin/.claude-plugin/plugin.json +8 -0
- package/plugin/.codex-plugin/.thoth-agents-plugin-assets.json +16 -0
- package/plugin/.codex-plugin/plugin.json +7 -0
- package/plugin/.mcp.json +19 -0
- package/plugin/agents/deep.md +89 -0
- package/plugin/agents/designer.md +89 -0
- package/plugin/agents/explorer.md +90 -0
- package/plugin/agents/librarian.md +90 -0
- package/plugin/agents/oracle.md +92 -0
- package/plugin/agents/orchestrator.md +128 -0
- package/plugin/agents/quick.md +89 -0
- package/plugin/codex.mcp.json +17 -0
- package/plugin/settings.json +3 -0
- package/plugin/skills/thoth-archive/SKILL.md +40 -0
- package/plugin/skills/thoth-archive/scripts/archive.mjs +748 -0
- package/plugin/skills/thoth-constitution/SKILL.md +45 -0
- package/plugin/skills/thoth-constitution/scripts/validate.mjs +167 -0
- package/plugin/skills/thoth-constitution/templates/constitution.md +54 -0
- package/plugin/skills/thoth-init/SKILL.md +30 -0
- package/plugin/skills/thoth-init/scripts/init.mjs +141 -0
- package/plugin/skills/thoth-sdd/SKILL.md +83 -0
- package/plugin/skills/thoth-sdd/references/phases/analyze.md +21 -0
- package/plugin/skills/thoth-sdd/references/phases/checklist.md +20 -0
- package/plugin/skills/thoth-sdd/references/phases/clarify.md +15 -0
- package/plugin/skills/thoth-sdd/references/phases/converge.md +14 -0
- package/plugin/skills/thoth-sdd/references/phases/explore.md +10 -0
- package/plugin/skills/thoth-sdd/references/phases/implement.md +19 -0
- package/plugin/skills/thoth-sdd/references/phases/plan.md +15 -0
- package/plugin/skills/thoth-sdd/references/phases/specify.md +21 -0
- package/plugin/skills/thoth-sdd/references/phases/tasks.md +20 -0
- package/plugin/skills/thoth-sdd/references/phases/verify.md +22 -0
- package/plugin/skills/thoth-sdd/scripts/validate.mjs +1117 -0
- package/plugin/skills/thoth-sdd/templates/archive-report.md +25 -0
- package/plugin/skills/thoth-sdd/templates/checklist.md +27 -0
- package/plugin/skills/thoth-sdd/templates/plan.md +38 -0
- package/plugin/skills/thoth-sdd/templates/spec.md +54 -0
- package/plugin/skills/thoth-sdd/templates/tasks.md +29 -0
- package/plugin/skills/thoth-sdd/templates/verify-report.md +28 -0
- package/skills/README.md +12 -0
- package/skills/thoth-archive/SKILL.md +40 -0
- package/skills/thoth-archive/scripts/archive.mjs +748 -0
- package/skills/thoth-constitution/SKILL.md +45 -0
- package/skills/thoth-constitution/scripts/validate.mjs +167 -0
- package/skills/thoth-constitution/templates/constitution.md +54 -0
- package/skills/thoth-init/SKILL.md +30 -0
- package/skills/thoth-init/scripts/init.mjs +141 -0
- package/skills/thoth-sdd/SKILL.md +83 -0
- package/skills/thoth-sdd/references/phases/analyze.md +21 -0
- package/skills/thoth-sdd/references/phases/checklist.md +20 -0
- package/skills/thoth-sdd/references/phases/clarify.md +15 -0
- package/skills/thoth-sdd/references/phases/converge.md +14 -0
- package/skills/thoth-sdd/references/phases/explore.md +10 -0
- package/skills/thoth-sdd/references/phases/implement.md +19 -0
- package/skills/thoth-sdd/references/phases/plan.md +15 -0
- package/skills/thoth-sdd/references/phases/specify.md +21 -0
- package/skills/thoth-sdd/references/phases/tasks.md +20 -0
- package/skills/thoth-sdd/references/phases/verify.md +22 -0
- package/skills/thoth-sdd/scripts/validate.mjs +1117 -0
- package/skills/thoth-sdd/templates/archive-report.md +25 -0
- package/skills/thoth-sdd/templates/checklist.md +27 -0
- package/skills/thoth-sdd/templates/plan.md +38 -0
- package/skills/thoth-sdd/templates/spec.md +54 -0
- package/skills/thoth-sdd/templates/tasks.md +29 -0
- package/skills/thoth-sdd/templates/verify-report.md +28 -0
- package/thoth-agents.schema.json +0 -39
- package/dist/chunk-WBRGPRRB.js +0 -2353
- package/dist/cli/custom-skills.d.ts +0 -48
- package/dist/cli/skill-manifest.d.ts +0 -32
- package/dist/harness/core/skills.d.ts +0 -211
- package/dist/harness/generate-codex-plugin.d.ts +0 -9
- package/dist/harness/writers/claude-code-skill-layout.d.ts +0 -16
- package/dist/harness/writers/fs-skill-collect.d.ts +0 -7
- package/dist/harness/writers/skill-layout.d.ts +0 -16
- package/dist/hooks/chat-headers.d.ts +0 -16
- package/dist/hooks/phase-reminder/index.d.ts +0 -28
- package/dist/hooks/post-read-nudge/index.d.ts +0 -18
- package/dist/hooks/skill-sync.d.ts +0 -10
- package/dist/hooks/thoth-mem/index.d.ts +0 -46
- package/dist/hooks/thoth-mem/protocol.d.ts +0 -7
- package/dist/mcp/thoth.d.ts +0 -3
- package/dist/sdd/artifact-governance/artifact-loader.d.ts +0 -130
- package/dist/sdd/artifact-governance/index.d.ts +0 -6
- package/dist/sdd/artifact-governance/tasks-validator.d.ts +0 -17
- package/dist/sdd/artifact-governance/types.d.ts +0 -52
- package/dist/thoth/client.d.ts +0 -14
- package/dist/thoth/index.d.ts +0 -2
- package/src/skills/_shared/openspec-convention.md +0 -350
- package/src/skills/_shared/persistence-contract.md +0 -163
- package/src/skills/_shared/thoth-mem-convention.md +0 -123
- package/src/skills/executing-plans/SKILL.md +0 -288
- package/src/skills/plan-reviewer/SKILL.md +0 -219
- package/src/skills/requirements-interview/SKILL.md +0 -233
- package/src/skills/sdd-apply/SKILL.md +0 -89
- package/src/skills/sdd-archive/SKILL.md +0 -92
- package/src/skills/sdd-clarify/SKILL.md +0 -105
- package/src/skills/sdd-constitution/SKILL.md +0 -107
- package/src/skills/sdd-design/SKILL.md +0 -155
- package/src/skills/sdd-init/SKILL.md +0 -233
- package/src/skills/sdd-propose/SKILL.md +0 -101
- package/src/skills/sdd-spec/SKILL.md +0 -136
- package/src/skills/sdd-tasks/SKILL.md +0 -232
- package/src/skills/sdd-verify/SKILL.md +0 -131
- package/src/skills/thoth-mem-agents/SKILL.md +0 -210
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AgentOverrideConfig, PluginConfig } from '../config';
|
|
2
|
+
import type { AgentRoleName } from '../harness/core/agent-pack';
|
|
3
|
+
import type { HarnessPromptDialect } from './prompt-dialects';
|
|
4
|
+
export declare function renderConfiguredRolePrompt({ role, dialect, config, model, }: {
|
|
5
|
+
role: AgentRoleName;
|
|
6
|
+
dialect: HarnessPromptDialect;
|
|
7
|
+
config?: PluginConfig;
|
|
8
|
+
model?: AgentOverrideConfig['model'] | string;
|
|
9
|
+
}): string;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import { type AgentRoleName } from '../harness/core/agent-pack';
|
|
1
2
|
import type { AgentPromptRole, HarnessPromptDialect } from './prompt-dialects';
|
|
2
3
|
import type { ModelEntry } from './prompt-utils';
|
|
3
|
-
type ModelFamily = 'openai'
|
|
4
|
-
export type SemanticMemoryAccess = '
|
|
4
|
+
type ModelFamily = 'openai';
|
|
5
|
+
export type SemanticMemoryAccess = 'dispatch-scoped';
|
|
6
|
+
export type ReadOnlyAgentRole = 'explorer' | 'librarian' | 'oracle';
|
|
7
|
+
export type WriteCapableAgentRole = 'designer' | 'quick' | 'deep';
|
|
5
8
|
export interface QuestionProtocolSection {
|
|
6
9
|
kind: 'question-protocol';
|
|
7
10
|
toolConcept: 'userQuestion';
|
|
@@ -44,8 +47,9 @@ export declare function createStepBudgetSection(steps?: number): StepBudgetSecti
|
|
|
44
47
|
export declare function detectModelFamilyFromModel(model?: string | ModelEntry[]): ModelFamily | undefined;
|
|
45
48
|
export declare function createModelFamilySection(role: AgentPromptRole, model?: string | ModelEntry[]): ModelFamilySection | undefined;
|
|
46
49
|
export declare function createOrchestratorPromptSections(): RolePromptSection[];
|
|
47
|
-
export declare function createReadOnlySpecialistPromptSections(role:
|
|
48
|
-
export declare function createWriteCapableSpecialistPromptSections(role:
|
|
50
|
+
export declare function createReadOnlySpecialistPromptSections(role: ReadOnlyAgentRole): RolePromptSection[];
|
|
51
|
+
export declare function createWriteCapableSpecialistPromptSections(role: WriteCapableAgentRole): RolePromptSection[];
|
|
52
|
+
export declare function createRolePromptSections(role: AgentRoleName): RolePromptSection[];
|
|
49
53
|
export declare function renderPromptSection(section: PromptSection, dialect: HarnessPromptDialect): string;
|
|
50
54
|
export declare function renderRolePrompt(sections: RolePromptSection[], dialect: HarnessPromptDialect): string;
|
|
51
55
|
export {};
|
|
@@ -7,18 +7,14 @@ interface ComposeAgentPromptOptions {
|
|
|
7
7
|
customAppendPrompt?: string;
|
|
8
8
|
placeholders?: Record<string, string | number | undefined>;
|
|
9
9
|
}
|
|
10
|
-
type ModelFamily = 'openai' | 'claude' | 'gemini' | 'kimi' | 'glm';
|
|
11
10
|
export type ModelEntry = string | {
|
|
12
11
|
id: string;
|
|
13
12
|
variant?: string;
|
|
14
13
|
};
|
|
15
14
|
export declare const QUESTION_PROTOCOL: string;
|
|
16
15
|
export declare const SUBAGENT_RULES: string;
|
|
17
|
-
export declare const SUBAGENT_RULES_READONLY: string;
|
|
18
|
-
export declare const SUBAGENT_RULES_WRITABLE: string;
|
|
19
16
|
export declare const RESPONSE_BUDGET: string;
|
|
20
17
|
export declare function appendPromptSections(...sections: Array<string | undefined>): string;
|
|
21
|
-
export declare function detectModelFamily(model?: string | ModelEntry[]): ModelFamily | undefined;
|
|
22
18
|
export declare function getStepBudgetPromptSection(steps?: number): string | undefined;
|
|
23
19
|
export declare function getModelFamilyPromptSection(role: AgentPromptRole, model?: string | ModelEntry[]): string | undefined;
|
|
24
20
|
export declare function replacePromptPlaceholders(template: string, placeholders?: Record<string, string | number | undefined>): string;
|