opencode-swarm 7.84.0 → 7.85.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.
Files changed (28) hide show
  1. package/.opencode/skills/codebase-review-swarm/references/review-protocol-v8.2.md +4 -0
  2. package/.opencode/skills/council/SKILL.md +6 -1
  3. package/.opencode/skills/deep-dive/SKILL.md +2 -0
  4. package/.opencode/skills/deep-research/SKILL.md +6 -0
  5. package/.opencode/skills/swarm-pr-feedback/SKILL.md +6 -0
  6. package/.opencode/skills/swarm-pr-review/SKILL.md +4 -0
  7. package/dist/background/lane-output-store.d.ts +72 -0
  8. package/dist/background/pending-delegations.d.ts +6 -0
  9. package/dist/cli/{config-doctor-4tcdd9vt.js → config-doctor-zejarrr6.js} +2 -2
  10. package/dist/cli/{guardrail-explain-tcamcdfy.js → guardrail-explain-w4txg349.js} +5 -5
  11. package/dist/cli/{guardrail-log-fd14n96q.js → guardrail-log-80116wmz.js} +3 -3
  12. package/dist/cli/{index-a82d6d87.js → index-0sxvwjt0.js} +1 -1
  13. package/dist/cli/{index-jfgr5gye.js → index-5cb86007.js} +1 -1
  14. package/dist/cli/{index-wg3r6acj.js → index-hw9b2xng.js} +5 -1
  15. package/dist/cli/{index-j710h2ge.js → index-qqabjns2.js} +6 -6
  16. package/dist/cli/{index-pv2xmc9k.js → index-vq2321gg.js} +1 -1
  17. package/dist/cli/{index-xw0bcy0v.js → index-x7qck34v.js} +2 -2
  18. package/dist/cli/{index-8ra2qpk8.js → index-yhqt45de.js} +9 -9
  19. package/dist/cli/index.js +4 -4
  20. package/dist/cli/{pending-delegations-pz61mrsz.js → pending-delegations-rd40tv9s.js} +7 -1
  21. package/dist/cli/{schema-c2dbzhm8.js → schema-8d32b2v6.js} +1 -1
  22. package/dist/index.js +712 -342
  23. package/dist/tools/dispatch-lanes.d.ts +14 -3
  24. package/dist/tools/index.d.ts +1 -0
  25. package/dist/tools/manifest.d.ts +1 -0
  26. package/dist/tools/retrieve-lane-output.d.ts +2 -0
  27. package/dist/tools/tool-metadata.d.ts +4 -0
  28. package/package.json +1 -1
@@ -56,6 +56,13 @@ export interface DispatchLaneResult {
56
56
  output?: string;
57
57
  output_chars?: number;
58
58
  output_truncated?: boolean;
59
+ output_ref?: string;
60
+ output_digest?: string;
61
+ output_preview_chars?: number;
62
+ output_degraded?: boolean;
63
+ output_artifact_error?: string;
64
+ transcript_incomplete?: boolean;
65
+ message_count?: number;
59
66
  error?: string;
60
67
  }
61
68
  export interface DispatchLanesResult {
@@ -194,7 +201,7 @@ export declare const _internals: {
194
201
  };
195
202
  export declare const _test_exports: {
196
203
  applyCommonPrompt: typeof applyCommonPrompt;
197
- extractLastAssistantText: typeof extractLastAssistantText;
204
+ extractAssistantTranscript: typeof extractAssistantTranscript;
198
205
  formatError: typeof formatError;
199
206
  nextCollectPollInterval: typeof nextCollectPollInterval;
200
207
  promptHash: typeof promptHash;
@@ -235,7 +242,7 @@ interface DispatchLanesExecutionContext {
235
242
  export declare function executeDispatchLanes(args: unknown, directory: string, context?: DispatchLanesExecutionContext): Promise<DispatchLanesResult>;
236
243
  export declare function executeDispatchLanesAsync(args: unknown, directory: string, context?: DispatchLanesExecutionContext): Promise<DispatchLanesAsyncResult>;
237
244
  export declare function executeCollectLaneResults(args: unknown, directory: string, context?: Pick<DispatchLanesExecutionContext, 'sessionID'>): Promise<CollectLaneResultsResult>;
238
- declare function extractLastAssistantText(messages: Array<{
245
+ declare function extractAssistantTranscript(messages: Array<{
239
246
  info?: {
240
247
  role?: string;
241
248
  };
@@ -243,7 +250,11 @@ declare function extractLastAssistantText(messages: Array<{
243
250
  type: string;
244
251
  text?: string;
245
252
  }>;
246
- }>): string;
253
+ }>): {
254
+ text: string;
255
+ messageCount: number;
256
+ transcriptIncomplete: boolean;
257
+ };
247
258
  declare function nextCollectPollInterval(currentMs: number): number;
248
259
  type ApplyCommonPromptResult = {
249
260
  ok: true;
@@ -47,6 +47,7 @@ export { type QualityBudgetInput, type QualityBudgetResult, quality_budget, qual
47
47
  export { buildWorkspaceGraph, type GraphEdge, type GraphNode, loadGraph, loadOrCreateGraph, type RepoGraph, resolveModuleSpecifier, saveGraph, updateGraphForFiles, } from './repo-graph';
48
48
  export { repo_map } from './repo-map';
49
49
  export { req_coverage } from './req-coverage';
50
+ export { retrieve_lane_output } from './retrieve-lane-output';
50
51
  export { retrieve_summary } from './retrieve-summary';
51
52
  export { type SastScanFinding, type SastScanInput, type SastScanResult, sast_scan, sastScan, } from './sast-scan';
52
53
  export type { SavePlanArgs, SavePlanResult } from './save-plan';
@@ -56,6 +56,7 @@ export declare const TOOL_MANIFEST: {
56
56
  git_blame: () => ToolDefinition;
57
57
  gitingest: () => ToolDefinition;
58
58
  retrieve_summary: () => ToolDefinition;
59
+ retrieve_lane_output: () => ToolDefinition;
59
60
  extract_code_blocks: () => ToolDefinition;
60
61
  phase_complete: () => ToolDefinition;
61
62
  save_plan: () => ToolDefinition;
@@ -0,0 +1,2 @@
1
+ import { createSwarmTool } from './create-tool';
2
+ export declare const retrieve_lane_output: ReturnType<typeof createSwarmTool>;
@@ -155,6 +155,10 @@ export declare const TOOL_METADATA: {
155
155
  description: string;
156
156
  agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "explorer" | "sme" | "critic" | "critic_sounding_board" | "critic_drift_verifier" | "critic_hallucination_verifier" | "critic_architecture_supervisor" | "critic_oversight" | "architect" | "docs_design" | "spec_writer")[];
157
157
  };
158
+ retrieve_lane_output: {
159
+ description: string;
160
+ agents: "architect"[];
161
+ };
158
162
  extract_code_blocks: {
159
163
  description: string;
160
164
  agents: ("reviewer" | "test_engineer" | "coder" | "docs" | "designer" | "explorer" | "sme" | "architect" | "docs_design" | "spec_writer")[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.84.0",
3
+ "version": "7.85.0",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",