opencode-swarm 6.43.2 → 6.44.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 +745 -345
- package/dist/config/constants.d.ts +13 -0
- package/dist/index.js +1627 -1113
- package/dist/plan/checkpoint.d.ts +25 -0
- package/dist/plan/checkpoint.test.d.ts +1 -0
- package/dist/plan/ledger-integrity.test.d.ts +5 -0
- package/dist/plan/ledger-snapshot-adversarial.test.d.ts +1 -0
- package/dist/plan/ledger.d.ts +196 -0
- package/dist/plan/ledger.test.d.ts +1 -0
- package/dist/plan/manager.d.ts +9 -0
- package/dist/plan/manager.ledger-aware.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -8,6 +8,19 @@ export type QAAgentName = (typeof QA_AGENTS)[number];
|
|
|
8
8
|
export type PipelineAgentName = (typeof PIPELINE_AGENTS)[number];
|
|
9
9
|
export type AgentName = (typeof ALL_AGENT_NAMES)[number];
|
|
10
10
|
export declare const AGENT_TOOL_MAP: Record<AgentName, ToolName[]>;
|
|
11
|
+
/**
|
|
12
|
+
* Human-readable descriptions for tools shown in the architect Available Tools block.
|
|
13
|
+
* Used to generate the Available Tools section of the architect prompt at construction time.
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Canonical set of tool names that write/modify file contents.
|
|
17
|
+
* Used by scope-guard.ts and guardrails.ts to detect write operations.
|
|
18
|
+
* NOTE: bash/shell tools are intentionally excluded — bash commands are opaque
|
|
19
|
+
* to static scope analysis. Post-hoc detection via guardrails diff-scope provides secondary coverage.
|
|
20
|
+
*/
|
|
21
|
+
export declare const WRITE_TOOL_NAMES: readonly ["write", "edit", "patch", "apply_patch", "create_file", "insert", "replace", "append", "prepend"];
|
|
22
|
+
export type WriteToolName = (typeof WRITE_TOOL_NAMES)[number];
|
|
23
|
+
export declare const TOOL_DESCRIPTIONS: Partial<Record<ToolName, string>>;
|
|
11
24
|
export declare const DEFAULT_MODELS: Record<string, string>;
|
|
12
25
|
export declare function isQAAgent(name: string): name is QAAgentName;
|
|
13
26
|
export declare function isSubagent(name: string): boolean;
|