opencode-swarm-plugin 0.58.4 → 0.59.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/plugin.js CHANGED
@@ -22942,6 +22942,237 @@ Codebase context considered: ${args.codebase_context.slice(0, 200)}...`;
22942
22942
  };
22943
22943
  });
22944
22944
 
22945
+ // src/decision-trace-integration.ts
22946
+ var exports_decision_trace_integration = {};
22947
+ __export(exports_decision_trace_integration, {
22948
+ traceWorkerSpawn: () => traceWorkerSpawn,
22949
+ traceStrategySelection: () => traceStrategySelection,
22950
+ traceScopeChange: () => traceScopeChange,
22951
+ traceReviewDecision: () => traceReviewDecision,
22952
+ traceFileSelection: () => traceFileSelection,
22953
+ linkOutcomeToDecisionTrace: () => linkOutcomeToDecisionTrace,
22954
+ getEpicDecisionTraces: () => getEpicDecisionTraces,
22955
+ getDecisionTracesByType: () => getDecisionTracesByType,
22956
+ extractMemoryIds: () => extractMemoryIds
22957
+ });
22958
+ import {
22959
+ createDecisionTrace,
22960
+ createEntityLink
22961
+ } from "swarm-mail";
22962
+ import { createLibSQLAdapter } from "swarm-mail";
22963
+ import { getDatabasePath } from "swarm-mail";
22964
+ async function getTraceDb(projectPath) {
22965
+ const dbPath = getDatabasePath(projectPath);
22966
+ return createLibSQLAdapter({ url: `file:${dbPath}` });
22967
+ }
22968
+ function extractMemoryIds(precedentCited) {
22969
+ if (!precedentCited) {
22970
+ return [];
22971
+ }
22972
+ if (precedentCited.memoryIds && Array.isArray(precedentCited.memoryIds)) {
22973
+ return precedentCited.memoryIds;
22974
+ }
22975
+ if (precedentCited.memoryId) {
22976
+ return [precedentCited.memoryId];
22977
+ }
22978
+ return [];
22979
+ }
22980
+ async function traceStrategySelection(input) {
22981
+ try {
22982
+ const db = await getTraceDb(input.projectKey);
22983
+ const trace = await createDecisionTrace(db, {
22984
+ decision_type: "strategy_selection",
22985
+ epic_id: input.epicId,
22986
+ bead_id: input.beadId,
22987
+ agent_name: input.agentName,
22988
+ project_key: input.projectKey,
22989
+ decision: {
22990
+ strategy: input.strategy,
22991
+ confidence: input.confidence,
22992
+ task_preview: input.taskPreview
22993
+ },
22994
+ rationale: input.reasoning,
22995
+ inputs_gathered: input.inputsGathered,
22996
+ alternatives: input.alternatives,
22997
+ precedent_cited: input.precedentCited
22998
+ });
22999
+ const memoryIds = extractMemoryIds(input.precedentCited);
23000
+ for (const memoryId of memoryIds) {
23001
+ await createEntityLink(db, {
23002
+ source_decision_id: trace.id,
23003
+ target_entity_type: "memory",
23004
+ target_entity_id: memoryId,
23005
+ link_type: "cites_precedent",
23006
+ strength: input.precedentCited?.similarity ?? 1,
23007
+ context: "Cited as precedent for strategy selection"
23008
+ });
23009
+ }
23010
+ await db.close?.();
23011
+ return trace.id;
23012
+ } catch (error45) {
23013
+ console.warn("[decision-trace] Failed to trace strategy_selection:", error45);
23014
+ return "";
23015
+ }
23016
+ }
23017
+ async function traceWorkerSpawn(input) {
23018
+ try {
23019
+ const db = await getTraceDb(input.projectKey);
23020
+ const trace = await createDecisionTrace(db, {
23021
+ decision_type: "worker_spawn",
23022
+ epic_id: input.epicId,
23023
+ bead_id: input.beadId,
23024
+ agent_name: input.agentName,
23025
+ project_key: input.projectKey,
23026
+ decision: {
23027
+ worker: input.workerName || "worker",
23028
+ subtask_title: input.subtaskTitle,
23029
+ files: input.files,
23030
+ model: input.model,
23031
+ spawn_order: input.spawnOrder,
23032
+ is_parallel: input.isParallel
23033
+ },
23034
+ rationale: input.rationale || `Spawning worker for: ${input.subtaskTitle}`
23035
+ });
23036
+ for (const file2 of input.files) {
23037
+ await createEntityLink(db, {
23038
+ source_decision_id: trace.id,
23039
+ target_entity_type: "file",
23040
+ target_entity_id: file2,
23041
+ link_type: "assigns_file",
23042
+ strength: 1,
23043
+ context: `File assigned to worker ${input.workerName || "worker"}`
23044
+ });
23045
+ }
23046
+ await db.close?.();
23047
+ return trace.id;
23048
+ } catch (error45) {
23049
+ console.warn("[decision-trace] Failed to trace worker_spawn:", error45);
23050
+ return "";
23051
+ }
23052
+ }
23053
+ async function traceReviewDecision(input) {
23054
+ try {
23055
+ const db = await getTraceDb(input.projectKey);
23056
+ const trace = await createDecisionTrace(db, {
23057
+ decision_type: "review_decision",
23058
+ epic_id: input.epicId,
23059
+ bead_id: input.beadId,
23060
+ agent_name: input.agentName,
23061
+ project_key: input.projectKey,
23062
+ decision: {
23063
+ status: input.status,
23064
+ worker_id: input.workerId,
23065
+ issues_count: input.issues?.length || 0,
23066
+ attempt_number: input.attemptNumber,
23067
+ remaining_attempts: input.remainingAttempts
23068
+ },
23069
+ rationale: input.rationale || input.summary || `Review ${input.status}`,
23070
+ inputs_gathered: input.issues ? [{ source: "code_review", issues: input.issues }] : undefined
23071
+ });
23072
+ await createEntityLink(db, {
23073
+ source_decision_id: trace.id,
23074
+ target_entity_type: "agent",
23075
+ target_entity_id: input.workerId,
23076
+ link_type: "reviewed_work_by",
23077
+ strength: 1,
23078
+ context: `Review ${input.status} for ${input.workerId}`
23079
+ });
23080
+ await db.close?.();
23081
+ return trace.id;
23082
+ } catch (error45) {
23083
+ console.warn("[decision-trace] Failed to trace review_decision:", error45);
23084
+ return "";
23085
+ }
23086
+ }
23087
+ async function traceFileSelection(input) {
23088
+ try {
23089
+ const db = await getTraceDb(input.projectKey);
23090
+ const trace = await createDecisionTrace(db, {
23091
+ decision_type: "file_selection",
23092
+ epic_id: input.epicId,
23093
+ bead_id: input.beadId,
23094
+ agent_name: input.agentName,
23095
+ project_key: input.projectKey,
23096
+ decision: {
23097
+ files_selected: input.filesSelected,
23098
+ files_owned: input.filesOwned,
23099
+ scope_expanded: input.scopeExpanded
23100
+ },
23101
+ rationale: input.rationale || `Selected ${input.filesSelected.length} files`
23102
+ });
23103
+ await db.close?.();
23104
+ return trace.id;
23105
+ } catch (error45) {
23106
+ console.warn("[decision-trace] Failed to trace file_selection:", error45);
23107
+ return "";
23108
+ }
23109
+ }
23110
+ async function traceScopeChange(input) {
23111
+ try {
23112
+ const db = await getTraceDb(input.projectKey);
23113
+ const trace = await createDecisionTrace(db, {
23114
+ decision_type: "scope_change",
23115
+ epic_id: input.epicId,
23116
+ bead_id: input.beadId,
23117
+ agent_name: input.agentName,
23118
+ project_key: input.projectKey,
23119
+ decision: {
23120
+ files_added: input.filesAdded || [],
23121
+ files_removed: input.filesRemoved || [],
23122
+ coordinator_approved: input.coordinatorApproved
23123
+ },
23124
+ rationale: input.reason
23125
+ });
23126
+ await db.close?.();
23127
+ return trace.id;
23128
+ } catch (error45) {
23129
+ console.warn("[decision-trace] Failed to trace scope_change:", error45);
23130
+ return "";
23131
+ }
23132
+ }
23133
+ async function getEpicDecisionTraces(projectKey, epicId) {
23134
+ try {
23135
+ const { getDecisionTracesByEpic } = await import("swarm-mail");
23136
+ const db = await getTraceDb(projectKey);
23137
+ const traces = await getDecisionTracesByEpic(db, epicId);
23138
+ await db.close?.();
23139
+ return traces;
23140
+ } catch (error45) {
23141
+ console.warn("[decision-trace] Failed to query epic traces:", error45);
23142
+ return [];
23143
+ }
23144
+ }
23145
+ async function getDecisionTracesByType(projectKey, decisionType) {
23146
+ try {
23147
+ const { getDecisionTracesByType: queryByType } = await import("swarm-mail");
23148
+ const db = await getTraceDb(projectKey);
23149
+ const traces = await queryByType(db, decisionType);
23150
+ await db.close?.();
23151
+ return traces;
23152
+ } catch (error45) {
23153
+ console.warn("[decision-trace] Failed to query traces by type:", error45);
23154
+ return [];
23155
+ }
23156
+ }
23157
+ async function linkOutcomeToDecisionTrace(input) {
23158
+ try {
23159
+ const { findDecisionTraceByBead, linkOutcomeToTrace } = await import("swarm-mail");
23160
+ const db = await getTraceDb(input.projectKey);
23161
+ const trace = await findDecisionTraceByBead(db, input.beadId);
23162
+ if (!trace) {
23163
+ await db.close?.();
23164
+ return false;
23165
+ }
23166
+ await linkOutcomeToTrace(db, trace.id, input.outcomeEventId);
23167
+ await db.close?.();
23168
+ return true;
23169
+ } catch (error45) {
23170
+ console.warn("[decision-trace] Failed to link outcome to trace:", error45);
23171
+ return false;
23172
+ }
23173
+ }
23174
+ var init_decision_trace_integration = () => {};
23175
+
22945
23176
  // src/learning.ts
22946
23177
  var exports_learning = {};
22947
23178
  __export(exports_learning, {
@@ -62174,139 +62405,7 @@ init_dist();
62174
62405
  init_zod();
62175
62406
  init_swarm_strategies();
62176
62407
  init_eval_capture();
62177
-
62178
- // src/decision-trace-integration.ts
62179
- import {
62180
- createDecisionTrace,
62181
- createEntityLink
62182
- } from "swarm-mail";
62183
- import { createLibSQLAdapter } from "swarm-mail";
62184
- import { getDatabasePath } from "swarm-mail";
62185
- async function getTraceDb(projectPath) {
62186
- const dbPath = getDatabasePath(projectPath);
62187
- return createLibSQLAdapter({ url: `file:${dbPath}` });
62188
- }
62189
- function extractMemoryIds(precedentCited) {
62190
- if (!precedentCited) {
62191
- return [];
62192
- }
62193
- if (precedentCited.memoryIds && Array.isArray(precedentCited.memoryIds)) {
62194
- return precedentCited.memoryIds;
62195
- }
62196
- if (precedentCited.memoryId) {
62197
- return [precedentCited.memoryId];
62198
- }
62199
- return [];
62200
- }
62201
- async function traceStrategySelection(input) {
62202
- try {
62203
- const db = await getTraceDb(input.projectKey);
62204
- const trace = await createDecisionTrace(db, {
62205
- decision_type: "strategy_selection",
62206
- epic_id: input.epicId,
62207
- bead_id: input.beadId,
62208
- agent_name: input.agentName,
62209
- project_key: input.projectKey,
62210
- decision: {
62211
- strategy: input.strategy,
62212
- confidence: input.confidence,
62213
- task_preview: input.taskPreview
62214
- },
62215
- rationale: input.reasoning,
62216
- inputs_gathered: input.inputsGathered,
62217
- alternatives: input.alternatives,
62218
- precedent_cited: input.precedentCited
62219
- });
62220
- const memoryIds = extractMemoryIds(input.precedentCited);
62221
- for (const memoryId of memoryIds) {
62222
- await createEntityLink(db, {
62223
- source_decision_id: trace.id,
62224
- target_entity_type: "memory",
62225
- target_entity_id: memoryId,
62226
- link_type: "cites_precedent",
62227
- strength: input.precedentCited?.similarity ?? 1,
62228
- context: "Cited as precedent for strategy selection"
62229
- });
62230
- }
62231
- await db.close?.();
62232
- return trace.id;
62233
- } catch (error45) {
62234
- console.warn("[decision-trace] Failed to trace strategy_selection:", error45);
62235
- return "";
62236
- }
62237
- }
62238
- async function traceWorkerSpawn(input) {
62239
- try {
62240
- const db = await getTraceDb(input.projectKey);
62241
- const trace = await createDecisionTrace(db, {
62242
- decision_type: "worker_spawn",
62243
- epic_id: input.epicId,
62244
- bead_id: input.beadId,
62245
- agent_name: input.agentName,
62246
- project_key: input.projectKey,
62247
- decision: {
62248
- worker: input.workerName || "worker",
62249
- subtask_title: input.subtaskTitle,
62250
- files: input.files,
62251
- model: input.model,
62252
- spawn_order: input.spawnOrder,
62253
- is_parallel: input.isParallel
62254
- },
62255
- rationale: input.rationale || `Spawning worker for: ${input.subtaskTitle}`
62256
- });
62257
- for (const file2 of input.files) {
62258
- await createEntityLink(db, {
62259
- source_decision_id: trace.id,
62260
- target_entity_type: "file",
62261
- target_entity_id: file2,
62262
- link_type: "assigns_file",
62263
- strength: 1,
62264
- context: `File assigned to worker ${input.workerName || "worker"}`
62265
- });
62266
- }
62267
- await db.close?.();
62268
- return trace.id;
62269
- } catch (error45) {
62270
- console.warn("[decision-trace] Failed to trace worker_spawn:", error45);
62271
- return "";
62272
- }
62273
- }
62274
- async function traceReviewDecision(input) {
62275
- try {
62276
- const db = await getTraceDb(input.projectKey);
62277
- const trace = await createDecisionTrace(db, {
62278
- decision_type: "review_decision",
62279
- epic_id: input.epicId,
62280
- bead_id: input.beadId,
62281
- agent_name: input.agentName,
62282
- project_key: input.projectKey,
62283
- decision: {
62284
- status: input.status,
62285
- worker_id: input.workerId,
62286
- issues_count: input.issues?.length || 0,
62287
- attempt_number: input.attemptNumber,
62288
- remaining_attempts: input.remainingAttempts
62289
- },
62290
- rationale: input.rationale || input.summary || `Review ${input.status}`,
62291
- inputs_gathered: input.issues ? [{ source: "code_review", issues: input.issues }] : undefined
62292
- });
62293
- await createEntityLink(db, {
62294
- source_decision_id: trace.id,
62295
- target_entity_type: "agent",
62296
- target_entity_id: input.workerId,
62297
- link_type: "reviewed_work_by",
62298
- strength: 1,
62299
- context: `Review ${input.status} for ${input.workerId}`
62300
- });
62301
- await db.close?.();
62302
- return trace.id;
62303
- } catch (error45) {
62304
- console.warn("[decision-trace] Failed to trace review_decision:", error45);
62305
- return "";
62306
- }
62307
- }
62308
-
62309
- // src/swarm-decompose.ts
62408
+ init_decision_trace_integration();
62310
62409
  var DECOMPOSITION_PROMPT = `You are decomposing a task into parallelizable subtasks for a swarm of agents.
62311
62410
 
62312
62411
  ## Task
@@ -64897,6 +64996,7 @@ init_dist();
64897
64996
  init_zod();
64898
64997
  import { sendSwarmMessage as sendSwarmMessage2 } from "swarm-mail";
64899
64998
  init_eval_capture();
64999
+ init_decision_trace_integration();
64900
65000
  var ReviewIssueSchema = exports_external.object({
64901
65001
  file: exports_external.string(),
64902
65002
  line: exports_external.number().optional(),
@@ -66157,6 +66257,7 @@ This will be recorded as a negative learning signal.`;
66157
66257
  }
66158
66258
  const completionDurationMs = Date.now() - args.start_time;
66159
66259
  const eventEpicId = cell.parent_id || (args.bead_id.includes(".") ? args.bead_id.split(".")[0] : args.bead_id);
66260
+ let outcomeEventId;
66160
66261
  try {
66161
66262
  const event = createEvent3("subtask_outcome", {
66162
66263
  project_key: args.project_key,
@@ -66171,10 +66272,23 @@ This will be recorded as a negative learning signal.`;
66171
66272
  scope_violation: contractValidation ? !contractValidation.valid : undefined,
66172
66273
  violation_files: contractValidation?.violations
66173
66274
  });
66174
- await appendEvent2(event, args.project_key);
66275
+ const savedEvent = await appendEvent2(event, args.project_key);
66276
+ outcomeEventId = savedEvent.id;
66175
66277
  } catch (error45) {
66176
66278
  console.warn("[swarm_complete] Failed to emit SubtaskOutcomeEvent:", error45);
66177
66279
  }
66280
+ if (outcomeEventId) {
66281
+ try {
66282
+ const { linkOutcomeToDecisionTrace: linkOutcomeToDecisionTrace2 } = await Promise.resolve().then(() => (init_decision_trace_integration(), exports_decision_trace_integration));
66283
+ await linkOutcomeToDecisionTrace2({
66284
+ projectKey: args.project_key,
66285
+ beadId: args.bead_id,
66286
+ outcomeEventId
66287
+ });
66288
+ } catch (error45) {
66289
+ console.warn("[swarm_complete] Failed to link outcome to decision trace:", error45);
66290
+ }
66291
+ }
66178
66292
  try {
66179
66293
  const workerCompletedEvent = createEvent3("worker_completed", {
66180
66294
  project_key: args.project_key,
@@ -67152,6 +67266,7 @@ var orchestrateTools = {
67152
67266
  // src/swarm-prompts.ts
67153
67267
  init_eval_capture();
67154
67268
  init_memory_tools();
67269
+ init_decision_trace_integration();
67155
67270
  var STRATEGY_DECOMPOSITION_PROMPT2 = `You are decomposing a task into parallelizable subtasks for a swarm of agents.
67156
67271
 
67157
67272
  ## Task
@@ -1 +1 @@
1
- {"version":3,"file":"swarm-orchestrate.d.ts","sourceRoot":"","sources":["../src/swarm-orchestrate.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAaxB,OAAO,EACL,KAAK,aAAa,EAEnB,MAAM,0BAA0B,CAAC;AAsDlC;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;IAClC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,GAAG,aAAa,CA4BhB;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,gBAAgB,CAC9B,aAAa,EAAE,MAAM,EAAE,EACvB,W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