opencode-swarm 7.48.0 → 7.49.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/dist/cli/index.js +1030 -1016
- package/dist/config/agent-names.d.ts +19 -0
- package/dist/config/constants.d.ts +4 -10
- package/dist/index.js +13822 -13726
- package/dist/services/tool-doctor.d.ts +28 -5
- package/dist/tools/manifest.d.ts +109 -0
- package/dist/tools/plugin-registration.d.ts +21 -0
- package/dist/tools/tool-metadata.d.ts +373 -0
- package/dist/tools/tool-names.d.ts +12 -7
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical agent-name registry — a DEPENDENCY-FREE leaf module.
|
|
3
|
+
*
|
|
4
|
+
* Extracted from constants.ts (#507) so the tool manifest can derive
|
|
5
|
+
* `AGENT_TOOL_MAP` from these names without importing constants.ts (which sits
|
|
6
|
+
* downstream of the manifest in the module graph). This module must import
|
|
7
|
+
* NOTHING — keeping it a leaf is what prevents the manifest↔constants init cycle.
|
|
8
|
+
*
|
|
9
|
+
* constants.ts re-exports every symbol here, so existing
|
|
10
|
+
* `import { ALL_AGENT_NAMES } from '../config/constants'` call sites are unchanged.
|
|
11
|
+
*/
|
|
12
|
+
export declare const QA_AGENTS: readonly ["reviewer", "critic", "critic_oversight"];
|
|
13
|
+
export declare const PIPELINE_AGENTS: readonly ["explorer", "coder", "test_engineer"];
|
|
14
|
+
export declare const ORCHESTRATOR_NAME: "architect";
|
|
15
|
+
export declare const ALL_SUBAGENT_NAMES: readonly ["sme", "docs", "docs_design", "designer", "critic_sounding_board", "critic_drift_verifier", "critic_hallucination_verifier", "critic_architecture_supervisor", "curator_init", "curator_phase", "council_generalist", "council_skeptic", "council_domain_expert", "skill_improver", "spec_writer", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
16
|
+
export declare const ALL_AGENT_NAMES: readonly ["architect", "sme", "docs", "docs_design", "designer", "critic_sounding_board", "critic_drift_verifier", "critic_hallucination_verifier", "critic_architecture_supervisor", "curator_init", "curator_phase", "council_generalist", "council_skeptic", "council_domain_expert", "skill_improver", "spec_writer", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
17
|
+
export type QAAgentName = (typeof QA_AGENTS)[number];
|
|
18
|
+
export type PipelineAgentName = (typeof PIPELINE_AGENTS)[number];
|
|
19
|
+
export type AgentName = (typeof ALL_AGENT_NAMES)[number];
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import type { ToolName } from '../tools/tool-names';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export declare const ALL_AGENT_NAMES: readonly ["architect", "sme", "docs", "docs_design", "designer", "critic_sounding_board", "critic_drift_verifier", "critic_hallucination_verifier", "critic_architecture_supervisor", "curator_init", "curator_phase", "council_generalist", "council_skeptic", "council_domain_expert", "skill_improver", "spec_writer", "reviewer", "critic", "critic_oversight", "explorer", "coder", "test_engineer"];
|
|
2
|
+
import type { AgentName, QAAgentName } from './agent-names';
|
|
3
|
+
export { AGENT_TOOL_MAP, TOOL_DESCRIPTIONS } from '../tools/tool-metadata';
|
|
4
|
+
export type { AgentName, PipelineAgentName, QAAgentName } from './agent-names';
|
|
5
|
+
export { ALL_AGENT_NAMES, ALL_SUBAGENT_NAMES, ORCHESTRATOR_NAME, PIPELINE_AGENTS, QA_AGENTS, } from './agent-names';
|
|
7
6
|
export declare const OPENCODE_NATIVE_AGENTS: Set<"compaction" | "title" | "build" | "general" | "plan" | "explore" | "summary">;
|
|
8
7
|
export declare const CLAUDE_CODE_NATIVE_COMMANDS: ReadonlySet<string>;
|
|
9
|
-
export type QAAgentName = (typeof QA_AGENTS)[number];
|
|
10
|
-
export type PipelineAgentName = (typeof PIPELINE_AGENTS)[number];
|
|
11
|
-
export type AgentName = (typeof ALL_AGENT_NAMES)[number];
|
|
12
|
-
export declare const AGENT_TOOL_MAP: Record<AgentName, ToolName[]>;
|
|
13
8
|
export declare const MEMORY_TOOL_NAMES: readonly ["swarm_memory_recall", "swarm_memory_propose"];
|
|
14
9
|
export declare const MEMORY_AGENT_TOOL_MAP: Partial<Record<AgentName, ToolName[]>>;
|
|
15
10
|
/**
|
|
@@ -24,7 +19,6 @@ export declare const MEMORY_AGENT_TOOL_MAP: Partial<Record<AgentName, ToolName[]
|
|
|
24
19
|
*/
|
|
25
20
|
export declare const WRITE_TOOL_NAMES: readonly ["write", "edit", "patch", "apply_patch", "create_file", "insert", "replace", "append", "prepend"];
|
|
26
21
|
export type WriteToolName = (typeof WRITE_TOOL_NAMES)[number];
|
|
27
|
-
export declare const TOOL_DESCRIPTIONS: Partial<Record<ToolName, string>>;
|
|
28
22
|
export declare const DEFAULT_MODELS: Record<string, string>;
|
|
29
23
|
export declare const DEFAULT_AGENT_CONFIGS: Record<string, {
|
|
30
24
|
model: string;
|