opencode-swarm 7.184.9 → 7.184.11

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 (92) hide show
  1. package/README.md +26 -24
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/cli/{coder-settlement-wv26kvbq.js → coder-settlement-6mhw6b36.js} +11 -11
  5. package/dist/cli/{config-doctor-0v3a8gwd.js → config-doctor-tbaswv40.js} +3 -3
  6. package/dist/cli/{core-sw3g54fw.js → core-4389fcpc.js} +4 -4
  7. package/dist/cli/{curation-policy-734npcqk.js → curation-policy-xe77n9zj.js} +4 -4
  8. package/dist/cli/{curator-1ffd62zb.js → curator-asqb0cm7.js} +38 -38
  9. package/dist/cli/{curator-drift-hbpphpph.js → curator-drift-nnge4dkk.js} +9 -9
  10. package/dist/cli/curator-llm-factory-1gjzcafw.js +75 -0
  11. package/dist/cli/{evidence-summary-service-yynh7bqj.js → evidence-summary-service-cdrwfdyp.js} +17 -17
  12. package/dist/cli/{gate-evidence-72cmq7sq.js → gate-evidence-xbn83jeh.js} +8 -6
  13. package/dist/cli/guardrail-explain-xtyxjmyz.js +76 -0
  14. package/dist/cli/{guardrail-log-7202nsc9.js → guardrail-log-b6ef00v7.js} +7 -7
  15. package/dist/cli/{guardrail-reset-nwyhnz98.js → guardrail-reset-77r7jfn2.js} +38 -38
  16. package/dist/cli/{hive-promoter-0b8ht2g0.js → hive-promoter-dsrj2ar2.js} +38 -38
  17. package/dist/cli/{index-d5vkn5eg.js → index-07fqfseh.js} +2 -2
  18. package/dist/cli/{index-955e0wpp.js → index-0ajyhjht.js} +1 -1
  19. package/dist/cli/{index-1r22v0js.js → index-0mj7hc2z.js} +1 -1
  20. package/dist/cli/{index-g2jbpm6g.js → index-35cdceqf.js} +1 -1
  21. package/dist/cli/{index-cbwmx38c.js → index-3w96sd7p.js} +76 -76
  22. package/dist/cli/{index-ezagem2g.js → index-48jvqqfa.js} +2 -2
  23. package/dist/cli/{index-z5nqpnem.js → index-5cawm255.js} +5 -5
  24. package/dist/cli/{index-s9pq2q6h.js → index-5m1b70z3.js} +1 -1
  25. package/dist/cli/{index-jnts5d04.js → index-5njp971j.js} +7 -7
  26. package/dist/cli/{index-tdtqm702.js → index-645ckyxy.js} +12 -12
  27. package/dist/cli/{index-fanhmwk3.js → index-6z53ry5f.js} +2 -2
  28. package/dist/cli/{index-hp5xyqxs.js → index-7k4ksbqd.js} +1 -1
  29. package/dist/cli/{index-gj0121y5.js → index-7kmxy1rb.js} +4 -4
  30. package/dist/cli/{index-cvrtpb52.js → index-89nqyqxs.js} +3 -3
  31. package/dist/cli/{index-qjs6cgb9.js → index-8gs8qkjs.js} +2 -2
  32. package/dist/cli/{index-f2xrc6r5.js → index-908zxswj.js} +6 -6
  33. package/dist/cli/{index-kf8gkdtq.js → index-9xfxsx8y.js} +1 -1
  34. package/dist/cli/{index-5egfk9c6.js → index-aae38s4x.js} +1 -1
  35. package/dist/cli/{index-zygpw9qb.js → index-be5h97z8.js} +1 -1
  36. package/dist/cli/{index-yn0nsxwv.js → index-c0dahh34.js} +1 -1
  37. package/dist/cli/{index-cq1gpknp.js → index-cn67bp4y.js} +40 -40
  38. package/dist/cli/{index-7wth46ez.js → index-dqpq8m9w.js} +2 -2
  39. package/dist/cli/{index-48ceyvpc.js → index-e0rrj9kk.js} +5 -5
  40. package/dist/cli/{index-0hzr6vdh.js → index-ejpxkrp6.js} +2 -2
  41. package/dist/cli/{index-fx0kf5jt.js → index-gnryhmak.js} +1 -1
  42. package/dist/cli/{index-zvz722td.js → index-gqj1k2y6.js} +3 -3
  43. package/dist/cli/{index-kjetx4xq.js → index-hk0eh9qb.js} +1 -1
  44. package/dist/cli/{index-et6gxgbn.js → index-hwjr3xyg.js} +37 -6
  45. package/dist/cli/{index-hq9fezjc.js → index-j4efx148.js} +2 -2
  46. package/dist/cli/{index-rgrae86w.js → index-jhk62dp4.js} +4 -4
  47. package/dist/cli/{index-tkk06smw.js → index-kaay5kmx.js} +2 -2
  48. package/dist/cli/{index-7e1ecg26.js → index-kg2mb1m5.js} +1 -1
  49. package/dist/cli/{index-g4ft1r0z.js → index-nh5fxxc9.js} +1 -1
  50. package/dist/cli/{index-vx1dt9x3.js → index-pbwfwc0v.js} +38 -38
  51. package/dist/cli/{index-2ebf550v.js → index-q7q00ppx.js} +6 -6
  52. package/dist/cli/{index-na3qxeha.js → index-tamg9rve.js} +2 -2
  53. package/dist/cli/{index-snzz0yvz.js → index-vx0wjfc1.js} +7 -7
  54. package/dist/cli/{index-zg40ap5c.js → index-w0jbrttk.js} +3 -3
  55. package/dist/cli/{index-22qpvevn.js → index-x119gdak.js} +1 -1
  56. package/dist/cli/{index-tps93cp3.js → index-xpcvwzdq.js} +4 -4
  57. package/dist/cli/{index-v5r7w16s.js → index-xw8xdcrf.js} +5 -5
  58. package/dist/cli/{index-mk9kd5wr.js → index-ygdj73xq.js} +4 -4
  59. package/dist/cli/{index-hkbs7pcd.js → index-zz5rryxj.js} +7 -7
  60. package/dist/cli/index.js +39 -39
  61. package/dist/cli/{knowledge-escalator-a9h29ayc.js → knowledge-escalator-8cc6jcw0.js} +12 -12
  62. package/dist/cli/{knowledge-events-sjdhtwm2.js → knowledge-events-b5g6ky4h.js} +10 -10
  63. package/dist/cli/{knowledge-link-6kxpc4x5.js → knowledge-link-8tetyje0.js} +3 -3
  64. package/dist/cli/{knowledge-store-g3h4gqe7.js → knowledge-store-1w60j5xm.js} +4 -4
  65. package/dist/cli/{knowledge-validator-br05bd3x.js → knowledge-validator-sd88rjcy.js} +6 -6
  66. package/dist/cli/{mcp-167c0dnd.js → mcp-3052r65q.js} +1 -1
  67. package/dist/cli/{model-preflight-dxm5dcej.js → model-preflight-m0nwfsx8.js} +38 -38
  68. package/dist/cli/{pending-delegations-q9n8bry1.js → pending-delegations-5nx22evh.js} +10 -10
  69. package/dist/cli/{pr-subscriptions-qs9fhjpk.js → pr-subscriptions-kas44ty9.js} +10 -10
  70. package/dist/cli/{pr-workflow-gate-nfbbc2c0.js → pr-workflow-gate-pmggnw1j.js} +38 -38
  71. package/dist/cli/{runner-wfd9dys9.js → runner-ff0bj9w0.js} +4 -4
  72. package/dist/cli/{scan-cursor-z59x53tn.js → scan-cursor-yw12hvtc.js} +5 -5
  73. package/dist/cli/{schema-y3rs9evj.js → schema-1g1y1d5q.js} +2 -2
  74. package/dist/cli/{scope-persistence-54g2j63h.js → scope-persistence-de472fxy.js} +14 -14
  75. package/dist/cli/{server-gwgsy9t3.js → server-1n00bga4.js} +40 -38
  76. package/dist/cli/{skill-generator-qc4bfp4z.js → skill-generator-c5wbbjqx.js} +14 -14
  77. package/dist/cli/{snapshot-coordination-init-0pytgxbn.js → snapshot-coordination-init-gwj594hc.js} +38 -38
  78. package/dist/cli/{speckit-checkoff-d14y1jnc.js → speckit-checkoff-hc479v4r.js} +5 -5
  79. package/dist/cli/{workspace-snapshot-bvnyzzr2.js → workspace-snapshot-nrbvjh1c.js} +3 -3
  80. package/dist/cli/{worktree-collision-ownership-9gmtsqmf.js → worktree-collision-ownership-jvgxxnf9.js} +11 -11
  81. package/dist/cli/{worktree-isolation-22dntk4t.js → worktree-isolation-r9hr23r8.js} +38 -38
  82. package/dist/gate-evidence.d.ts +34 -0
  83. package/dist/index.js +19 -13
  84. package/dist/todo/todo-gate.d.ts +37 -0
  85. package/dist/tools/build-check.d.ts +6 -2
  86. package/dist/tools/phase-complete/gates/index.d.ts +1 -0
  87. package/dist/tools/phase-complete/gates/todo-gate.d.ts +14 -0
  88. package/dist/tools/phase-complete.d.ts +2 -1
  89. package/dist/tools/tool-metadata.d.ts +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/curator-llm-factory-0n05cgjf.js +0 -75
  92. package/dist/cli/guardrail-explain-sadek1sk.js +0 -76
@@ -1,19 +1,19 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-fx0kf5jt.js";
4
+ } from "./index-gnryhmak.js";
5
5
  import {
6
6
  observeReceiptTransition
7
- } from "./index-22qpvevn.js";
7
+ } from "./index-x119gdak.js";
8
8
  import {
9
9
  resolveHiveEventsPath
10
10
  } from "./index-ae75rja9.js";
11
11
  import {
12
12
  resolveKnowledgeStoreDir
13
- } from "./index-kjetx4xq.js";
13
+ } from "./index-hk0eh9qb.js";
14
14
  import {
15
15
  atomicWriteFile
16
- } from "./index-g2jbpm6g.js";
16
+ } from "./index-35cdceqf.js";
17
17
  import {
18
18
  assertProjectRoot
19
19
  } from "./index-t7hmqgjy.js";
@@ -28,11 +28,11 @@ import {
28
28
  } from "./index-7g4c7s5r.js";
29
29
  import {
30
30
  loadPluginConfigWithMeta
31
- } from "./index-hp5xyqxs.js";
31
+ } from "./index-7k4ksbqd.js";
32
32
  import {
33
33
  KnowledgeConfigSchema,
34
34
  init_schema
35
- } from "./index-0hzr6vdh.js";
35
+ } from "./index-ejpxkrp6.js";
36
36
  import {
37
37
  init_logger,
38
38
  warn
@@ -2946,7 +2946,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2946
2946
  }
2947
2947
  let bumps = 0;
2948
2948
  if (deltas.length > 0) {
2949
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-g3h4gqe7.js");
2949
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-1w60j5xm.js");
2950
2950
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2951
2951
  }
2952
2952
  return {
@@ -3,10 +3,10 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-g4ft1r0z.js";
6
+ } from "./index-nh5fxxc9.js";
7
7
  import {
8
8
  readEffectiveSpecSync
9
- } from "./index-yn0nsxwv.js";
9
+ } from "./index-c0dahh34.js";
10
10
  import {
11
11
  validateWorkspaceRoot
12
12
  } from "./index-6b295cas.js";
@@ -26,13 +26,13 @@ import {
26
26
  readTaskEvidence,
27
27
  readTaskEvidenceRaw,
28
28
  sanitizeTaskId
29
- } from "./index-et6gxgbn.js";
29
+ } from "./index-hwjr3xyg.js";
30
30
  import {
31
31
  estimateCharsForTokens,
32
32
  estimateTokens,
33
33
  readSwarmFileAsync,
34
34
  validateSwarmPath
35
- } from "./index-fx0kf5jt.js";
35
+ } from "./index-gnryhmak.js";
36
36
  import {
37
37
  bunHash,
38
38
  bunWrite,
@@ -61,10 +61,10 @@ import {
61
61
  replayFromLedgerWithStatus,
62
62
  takeSnapshotEvent,
63
63
  takeSnapshotWithRetry
64
- } from "./index-48ceyvpc.js";
64
+ } from "./index-e0rrj9kk.js";
65
65
  import {
66
66
  appendCoreEventSync
67
- } from "./index-7e1ecg26.js";
67
+ } from "./index-kg2mb1m5.js";
68
68
  import {
69
69
  derivePlanId,
70
70
  derivePlanIdentityHash,
@@ -72,16 +72,16 @@ import {
72
72
  importCoordinationOnce,
73
73
  listCoordinationStates,
74
74
  transitionCoordinationState
75
- } from "./index-5egfk9c6.js";
75
+ } from "./index-aae38s4x.js";
76
76
  import {
77
77
  DURABILITY_CLASSES,
78
78
  getProjectDb,
79
79
  projectDbExists,
80
80
  withDurabilityClass
81
- } from "./index-s9pq2q6h.js";
81
+ } from "./index-5m1b70z3.js";
82
82
  import {
83
83
  withEvidenceLock
84
- } from "./index-g2jbpm6g.js";
84
+ } from "./index-35cdceqf.js";
85
85
  import {
86
86
  assertProjectRoot
87
87
  } from "./index-t7hmqgjy.js";
@@ -98,7 +98,7 @@ import {
98
98
  atomicWriteSwarmFileSync,
99
99
  invalidateCachedArtifact,
100
100
  readCachedParsedFile
101
- } from "./index-1r22v0js.js";
101
+ } from "./index-0mj7hc2z.js";
102
102
  import {
103
103
  PlanSchema,
104
104
  normalizeCurrentPhaseInPlace,
@@ -3097,7 +3097,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
3097
3097
  if (status === "completed") {
3098
3098
  try {
3099
3099
  const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
3100
- const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-d14y1jnc.js");
3100
+ const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-hc479v4r.js");
3101
3101
  await maybePropagateSpeckitCheckoff(directory, {
3102
3102
  taskId,
3103
3103
  frRefs: completedTask?.fr_refs ?? [],
@@ -3122,7 +3122,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
3122
3122
  break;
3123
3123
  }
3124
3124
  }
3125
- const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-54g2j63h.js");
3125
+ const { readDeclaredScopeFilesFromBindings } = await import("./scope-persistence-de472fxy.js");
3126
3126
  const canonicalScope = readDeclaredScopeFilesFromBindings({
3127
3127
  directory,
3128
3128
  taskId,
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-cbwmx38c.js";
17
+ } from "./index-3w96sd7p.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-zg40ap5c.js";
24
+ } from "./index-w0jbrttk.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -13,7 +13,7 @@ import {
13
13
  PluginConfigSchema,
14
14
  init_schema,
15
15
  resolveExternalSkillsConfig
16
- } from "./index-0hzr6vdh.js";
16
+ } from "./index-ejpxkrp6.js";
17
17
  import {
18
18
  DangerousMergeKeyError,
19
19
  MAX_MERGE_DEPTH,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-955e0wpp.js";
4
+ } from "./index-0ajyhjht.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,13 +9,13 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-hkbs7pcd.js";
12
+ } from "./index-zz5rryxj.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-kjetx4xq.js";
15
+ } from "./index-hk0eh9qb.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-g2jbpm6g.js";
18
+ } from "./index-35cdceqf.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  readEffectiveSpecSync
4
- } from "./index-yn0nsxwv.js";
4
+ } from "./index-c0dahh34.js";
5
5
  import {
6
6
  readSwarmFileAsync
7
- } from "./index-fx0kf5jt.js";
7
+ } from "./index-gnryhmak.js";
8
8
  import {
9
9
  DURABILITY_CLASSES,
10
10
  DbWriteError,
@@ -13,7 +13,7 @@ import {
13
13
  classifyDbWriteError,
14
14
  getProjectDb,
15
15
  projectDbExists
16
- } from "./index-s9pq2q6h.js";
16
+ } from "./index-5m1b70z3.js";
17
17
  import {
18
18
  _internals,
19
19
  canonicalRootKeyFresh
@@ -12,13 +12,13 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-0hzr6vdh.js";
15
+ } from "./index-ejpxkrp6.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
18
  TOOL_NAME_SET,
19
19
  init_constants,
20
20
  init_tool_metadata
21
- } from "./index-ezagem2g.js";
21
+ } from "./index-48jvqqfa.js";
22
22
  import {
23
23
  log
24
24
  } from "./index-zgwm4ryv.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-fx0kf5jt.js";
4
+ } from "./index-gnryhmak.js";
5
5
  import {
6
6
  bunWrite
7
7
  } from "./index-2s7dvzff.js";
@@ -18,18 +18,18 @@ import {
18
18
  releaseCoordinationLease,
19
19
  transitionCoordinationState,
20
20
  withCoordinationTransaction
21
- } from "./index-5egfk9c6.js";
21
+ } from "./index-aae38s4x.js";
22
22
  import {
23
23
  getProjectDb,
24
24
  projectDbExists
25
- } from "./index-s9pq2q6h.js";
25
+ } from "./index-5m1b70z3.js";
26
26
  import {
27
27
  observeDelegationLedgerPressure
28
- } from "./index-22qpvevn.js";
28
+ } from "./index-x119gdak.js";
29
29
  import {
30
30
  EvidenceLockTimeoutError,
31
31
  withEvidenceLock
32
- } from "./index-g2jbpm6g.js";
32
+ } from "./index-35cdceqf.js";
33
33
  import {
34
34
  telemetry
35
35
  } from "./index-x1gyqgze.js";
@@ -4669,7 +4669,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4669
4669
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4670
4670
  if (candidates.length === 0)
4671
4671
  return 0;
4672
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-wv26kvbq.js");
4672
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-6mhw6b36.js");
4673
4673
  let transferred = 0;
4674
4674
  for (const record of candidates) {
4675
4675
  try {
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-zg40ap5c.js";
7
+ } from "./index-w0jbrttk.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-s9pq2q6h.js";
7
+ } from "./index-5m1b70z3.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-g4ft1r0z.js";
12
+ } from "./index-nh5fxxc9.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  writeSpeckitCheckoffLedger
4
- } from "./index-tkk06smw.js";
4
+ } from "./index-kaay5kmx.js";
5
5
  import {
6
6
  validateSpecContent
7
7
  } from "./index-0725jpp7.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-kf8gkdtq.js";
4
+ } from "./index-9xfxsx8y.js";
5
5
  import {
6
6
  handleGuardrailExplain
7
- } from "./index-fanhmwk3.js";
7
+ } from "./index-6z53ry5f.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  DEFAULT_CI_DEADLINE_MS,
@@ -97,75 +97,75 @@ import {
97
97
  handleWriteRetroCommand,
98
98
  normalizeSwarmCommandInput,
99
99
  resolveCommand
100
- } from "./index-cbwmx38c.js";
101
- import"./index-zg40ap5c.js";
100
+ } from "./index-3w96sd7p.js";
101
+ import"./index-w0jbrttk.js";
102
102
  import"./index-hamqvzqn.js";
103
- import"./index-zygpw9qb.js";
104
- import"./index-cvrtpb52.js";
105
- import"./index-qjs6cgb9.js";
106
- import"./index-tdtqm702.js";
107
- import"./index-g4ft1r0z.js";
103
+ import"./index-be5h97z8.js";
104
+ import"./index-89nqyqxs.js";
105
+ import"./index-8gs8qkjs.js";
106
+ import"./index-645ckyxy.js";
107
+ import"./index-nh5fxxc9.js";
108
108
  import"./index-txdagbh7.js";
109
- import"./index-yn0nsxwv.js";
109
+ import"./index-c0dahh34.js";
110
110
  import"./index-6b295cas.js";
111
- import"./index-rgrae86w.js";
112
- import"./index-v5r7w16s.js";
113
- import"./index-na3qxeha.js";
111
+ import"./index-jhk62dp4.js";
112
+ import"./index-xw8xdcrf.js";
113
+ import"./index-tamg9rve.js";
114
114
  import"./index-rdec0y3z.js";
115
- import"./index-2ebf550v.js";
115
+ import"./index-q7q00ppx.js";
116
116
  import"./index-cjapb4hy.js";
117
117
  import"./index-zsrtt42s.js";
118
- import"./index-snzz0yvz.js";
119
- import"./index-d5vkn5eg.js";
120
- import"./index-7wth46ez.js";
118
+ import"./index-vx0wjfc1.js";
119
+ import"./index-07fqfseh.js";
120
+ import"./index-dqpq8m9w.js";
121
121
  import"./index-pt7h91zc.js";
122
122
  import"./index-q7sjgr1y.js";
123
- import"./index-tkk06smw.js";
124
- import"./index-et6gxgbn.js";
125
- import"./index-tps93cp3.js";
126
- import"./index-f2xrc6r5.js";
127
- import"./index-jnts5d04.js";
128
- import"./index-fx0kf5jt.js";
123
+ import"./index-kaay5kmx.js";
124
+ import"./index-hwjr3xyg.js";
125
+ import"./index-xpcvwzdq.js";
126
+ import"./index-908zxswj.js";
127
+ import"./index-5njp971j.js";
128
+ import"./index-gnryhmak.js";
129
129
  import"./index-2s7dvzff.js";
130
- import"./index-gj0121y5.js";
131
- import"./index-955e0wpp.js";
130
+ import"./index-7kmxy1rb.js";
131
+ import"./index-0ajyhjht.js";
132
132
  import"./index-rtry5xyf.js";
133
- import"./index-zvz722td.js";
133
+ import"./index-gqj1k2y6.js";
134
134
  import"./index-frcemc0b.js";
135
135
  import"./index-0725jpp7.js";
136
- import"./index-z5nqpnem.js";
137
- import"./index-48ceyvpc.js";
138
- import"./index-7e1ecg26.js";
139
- import"./index-hq9fezjc.js";
140
- import"./index-5egfk9c6.js";
141
- import"./index-s9pq2q6h.js";
136
+ import"./index-5cawm255.js";
137
+ import"./index-e0rrj9kk.js";
138
+ import"./index-kg2mb1m5.js";
139
+ import"./index-j4efx148.js";
140
+ import"./index-aae38s4x.js";
141
+ import"./index-5m1b70z3.js";
142
142
  import"./index-rdm3px0g.js";
143
143
  import"./index-ry16d01s.js";
144
- import"./index-22qpvevn.js";
145
- import"./index-hkbs7pcd.js";
144
+ import"./index-x119gdak.js";
145
+ import"./index-zz5rryxj.js";
146
146
  import"./index-vzm6zre7.js";
147
147
  import"./index-ae75rja9.js";
148
- import"./index-kjetx4xq.js";
149
- import"./index-g2jbpm6g.js";
148
+ import"./index-hk0eh9qb.js";
149
+ import"./index-35cdceqf.js";
150
150
  import"./index-t7hmqgjy.js";
151
151
  import"./index-x1gyqgze.js";
152
152
  import"./index-mc72pk74.js";
153
153
  import"./index-c1ggtmpm.js";
154
154
  import"./index-ejhxgyvm.js";
155
155
  import"./index-7g4c7s5r.js";
156
- import"./index-1r22v0js.js";
156
+ import"./index-0mj7hc2z.js";
157
157
  import"./index-gx2vp8gx.js";
158
- import"./index-hp5xyqxs.js";
158
+ import"./index-7k4ksbqd.js";
159
159
  import"./index-zxdawwc7.js";
160
160
  import {
161
161
  init_schema,
162
162
  stripKnownSwarmPrefix
163
- } from "./index-0hzr6vdh.js";
163
+ } from "./index-ejpxkrp6.js";
164
164
  import {
165
165
  AGENT_TOOL_MAP,
166
166
  ORCHESTRATOR_NAME,
167
167
  init_constants
168
- } from "./index-ezagem2g.js";
168
+ } from "./index-48jvqqfa.js";
169
169
  import"./index-bk5tah7q.js";
170
170
  import"./index-gknz3bv1.js";
171
171
  import"./index-zpsr8rpc.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-fx0kf5jt.js";
4
+ } from "./index-gnryhmak.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-1r22v0js.js";
7
+ } from "./index-0mj7hc2z.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-5egfk9c6.js";
5
+ } from "./index-aae38s4x.js";
6
6
  import {
7
7
  getProjectDb,
8
8
  projectDbExists,
9
9
  withImmediateTransaction,
10
10
  withProjectDbReadOnly
11
- } from "./index-s9pq2q6h.js";
11
+ } from "./index-5m1b70z3.js";
12
12
  import {
13
13
  withEvidenceLock
14
- } from "./index-g2jbpm6g.js";
14
+ } from "./index-35cdceqf.js";
15
15
  import {
16
16
  assertProjectRoot
17
17
  } from "./index-t7hmqgjy.js";
@@ -27,11 +27,11 @@ import {
27
27
  import {
28
28
  init_loader,
29
29
  loadPluginConfig
30
- } from "./index-hp5xyqxs.js";
30
+ } from "./index-7k4ksbqd.js";
31
31
  import {
32
32
  init_package,
33
33
  package_default
34
- } from "./index-0hzr6vdh.js";
34
+ } from "./index-ejpxkrp6.js";
35
35
  import {
36
36
  criticalWarn,
37
37
  init_logger,
@@ -3,7 +3,7 @@ import {
3
3
  ALL_AGENT_NAMES,
4
4
  SUMMARIZER_EXEMPT_TOOL_NAMES,
5
5
  init_constants
6
- } from "./index-ezagem2g.js";
6
+ } from "./index-48jvqqfa.js";
7
7
  import {
8
8
  OUTCOME_BLOCK_THRESHOLD,
9
9
  init_knowledge_types
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.184.9",
24
+ version: "7.184.11",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -10,7 +10,7 @@ import {
10
10
  readCachedTextFile,
11
11
  wasObservedToExist,
12
12
  wasRecentlyWrittenByThisProcess
13
- } from "./index-1r22v0js.js";
13
+ } from "./index-0mj7hc2z.js";
14
14
  import {
15
15
  warn
16
16
  } from "./index-zgwm4ryv.js";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-hp5xyqxs.js";
5
+ } from "./index-7k4ksbqd.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-0hzr6vdh.js";
8
+ } from "./index-ejpxkrp6.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
12
- } from "./index-ezagem2g.js";
12
+ } from "./index-48jvqqfa.js";
13
13
 
14
14
  // src/config/index.ts
15
15
  init_constants();
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-g2jbpm6g.js";
4
+ } from "./index-35cdceqf.js";
5
5
  import {
6
6
  canonicalRootKeyFresh
7
7
  } from "./index-mc72pk74.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-tps93cp3.js";
5
+ } from "./index-xpcvwzdq.js";
6
6
  import {
7
7
  validateSwarmPath
8
- } from "./index-fx0kf5jt.js";
8
+ } from "./index-gnryhmak.js";
9
9
  import {
10
10
  bunSpawn,
11
11
  classifySpawnFailure
@@ -14,7 +14,7 @@ import {
14
14
  atomicWriteFile,
15
15
  taskEvidencePath,
16
16
  withTaskEvidenceLock
17
- } from "./index-g2jbpm6g.js";
17
+ } from "./index-35cdceqf.js";
18
18
  import {
19
19
  assertProjectRoot
20
20
  } from "./index-t7hmqgjy.js";
@@ -1846,6 +1846,12 @@ var TaskEvidenceSchema = exports_external.object({
1846
1846
  source_sha256: exports_external.string().regex(/^[a-f0-9]{64}$/).nullable(),
1847
1847
  source_generation: exports_external.number().int().min(0).nullable(),
1848
1848
  requirements_receipt_hash: exports_external.string().regex(/^[a-f0-9]{64}$/).nullable()
1849
+ }).optional(),
1850
+ todo_scan: exports_external.object({
1851
+ priority: exports_external.string(),
1852
+ count: exports_external.number().int().min(0),
1853
+ details: exports_external.array(exports_external.string()).max(200).optional(),
1854
+ recorded_at: exports_external.string().optional()
1849
1855
  }).optional()
1850
1856
  });
1851
1857
  function parseTaskEvidence(raw, expectedTaskId) {
@@ -2307,7 +2313,10 @@ function updateEvidenceForTransition(existing, event) {
2307
2313
  gates,
2308
2314
  turbo: "turbo" in event && event.turbo === true ? true : ("turbo" in event) && event.turbo === false ? existing?.turbo : existing?.turbo,
2309
2315
  test_engineer_exempt: (event.type === "dispatch_attempted" || event.type === "dispatch_no_mutation" || event.type === "accepted_mutation") && event.agentType === "coder" ? event.context?.testEngineerExempt === true && !requiredGates.includes("test_engineer") : existing?.test_engineer_exempt,
2310
- workflow
2316
+ workflow,
2317
+ requirements_state: existing?.requirements_state,
2318
+ ...existing?.repair_provenance ? { repair_provenance: existing.repair_provenance } : {},
2319
+ ...existing?.todo_scan ? { todo_scan: existing.todo_scan } : {}
2311
2320
  };
2312
2321
  }
2313
2322
  async function transitionTaskWorkflowEvidence(directory, taskId, event) {
@@ -2370,6 +2379,11 @@ async function withTaskEvidenceTransaction(directory, taskId, agent, callback) {
2370
2379
  const evidence = await persist(nextEvidence, boundEvent);
2371
2380
  return { evidence, duplicated };
2372
2381
  };
2382
+ const saveImpl = async (nextEvidence) => {
2383
+ assertTaskEvidenceWriteAllowed(directory, taskId, undefined);
2384
+ nextEvidence.taskId = taskId;
2385
+ return persist(nextEvidence);
2386
+ };
2373
2387
  return callback({
2374
2388
  taskId,
2375
2389
  read: () => current,
@@ -2377,7 +2391,8 @@ async function withTaskEvidenceTransaction(directory, taskId, agent, callback) {
2377
2391
  const { evidence } = await transitionWithStatusImpl(event);
2378
2392
  return evidence;
2379
2393
  },
2380
- transitionWithStatus: transitionWithStatusImpl
2394
+ transitionWithStatus: transitionWithStatusImpl,
2395
+ save: saveImpl
2381
2396
  });
2382
2397
  });
2383
2398
  }
@@ -2411,6 +2426,22 @@ async function recordGateEvidence(directory, taskId, gate, sessionId, turbo, opt
2411
2426
  });
2412
2427
  telemetry.gatePassed(sessionId, gate, taskId);
2413
2428
  }
2429
+ async function recordTodoScanEvidence(directory, taskId, scan) {
2430
+ assertValidTaskId(taskId);
2431
+ await withTaskEvidenceTransaction(directory, taskId, "todo_scan_recorded", async (transaction) => {
2432
+ const existing = transaction.read();
2433
+ const base = existing ?? {
2434
+ taskId,
2435
+ required_gates: [],
2436
+ gates: {},
2437
+ workflow: createDefaultWorkflowMetadata(new Date().toISOString())
2438
+ };
2439
+ if (!transaction.save) {
2440
+ throw new Error(`TASK_EVIDENCE_SAVE_UNAVAILABLE: transaction for task ${taskId} does not support supplementary writes`);
2441
+ }
2442
+ await transaction.save({ ...base, todo_scan: scan });
2443
+ });
2444
+ }
2414
2445
  async function recordAgentDispatch(directory, taskId, agentType, turbo, context = {}) {
2415
2446
  assertValidTaskId(taskId);
2416
2447
  const expectedGeneration = getTaskWorkflowSnapshot(await readTaskEvidence(directory, taskId)).generation;
@@ -2490,4 +2521,4 @@ function compareTaskWorkflowStateRank(left, right) {
2490
2521
  return WORKFLOW_STATE_RANK[left] - WORKFLOW_STATE_RANK[right];
2491
2522
  }
2492
2523
 
2493
- export { isStrictTaskId, sanitizeTaskId, listRecoveryRecords, GitBinaryMissingError, GitSpawnCwdError, isGitBinaryMissing, isSpawnCwdMissing, isSpawnCwdUnreadable, _internals, SOURCE_WORKTREE_GONE_STAGE, SOURCE_WORKTREE_UNCERTAIN_STAGE, getMergeStrategy, recoverMergeBackFromImmutableCoordinates, reconcileLandedMerge, postMergeCleanup, pruneStaleWorktreeMetadata, attemptMergeBackFromDirty, cleanupOrphanedBranches, startupOrphanRecovery, readWorkflowWalFile, writeWorkflowWalFile, _internals3 as _internals1, TASK_WORKFLOW_SCHEMA_MARKER, readCurrentTaskDeclaredFiles, TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL, assertTaskEvidenceWriteAllowed, parseTaskEvidence, DEFAULT_REQUIRED_GATES, isValidTaskId, getTaskWorkflowSnapshot, deriveApplicableGateSet, isReadOnlyNoMutationEligible, reduceTaskWorkflowSnapshot, deriveRequiredGates, expandRequiredGates, transitionTaskWorkflowEvidence, transitionTaskWorkflowEvidenceWithStatus, withTaskEvidenceTransaction, ensureTaskGateRequirementsReceiptForSettledTransition, recordGateEvidence, recordAgentDispatch, readTaskEvidence, readTaskEvidenceState, readTaskEvidenceRaw, hasPassedAllGates, compareTaskWorkflowStateRank };
2524
+ export { isStrictTaskId, sanitizeTaskId, listRecoveryRecords, GitBinaryMissingError, GitSpawnCwdError, isGitBinaryMissing, isSpawnCwdMissing, isSpawnCwdUnreadable, _internals, SOURCE_WORKTREE_GONE_STAGE, SOURCE_WORKTREE_UNCERTAIN_STAGE, getMergeStrategy, recoverMergeBackFromImmutableCoordinates, reconcileLandedMerge, postMergeCleanup, pruneStaleWorktreeMetadata, attemptMergeBackFromDirty, cleanupOrphanedBranches, startupOrphanRecovery, readWorkflowWalFile, writeWorkflowWalFile, _internals3 as _internals1, TASK_WORKFLOW_SCHEMA_MARKER, readCurrentTaskDeclaredFiles, TASK_GATE_REQUIREMENTS_RECONSTRUCTION_SENTINEL, assertTaskEvidenceWriteAllowed, parseTaskEvidence, DEFAULT_REQUIRED_GATES, isValidTaskId, getTaskWorkflowSnapshot, deriveApplicableGateSet, isReadOnlyNoMutationEligible, reduceTaskWorkflowSnapshot, deriveRequiredGates, expandRequiredGates, transitionTaskWorkflowEvidence, transitionTaskWorkflowEvidenceWithStatus, withTaskEvidenceTransaction, ensureTaskGateRequirementsReceiptForSettledTransition, recordGateEvidence, recordTodoScanEvidence, recordAgentDispatch, readTaskEvidence, readTaskEvidenceState, readTaskEvidenceRaw, hasPassedAllGates, compareTaskWorkflowStateRank };
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-5egfk9c6.js";
5
+ } from "./index-aae38s4x.js";
6
6
  import {
7
7
  DURABILITY_CLASSES,
8
8
  getProjectDb,
9
9
  projectDbExists,
10
10
  withImmediateTransaction
11
- } from "./index-s9pq2q6h.js";
11
+ } from "./index-5m1b70z3.js";
12
12
  import {
13
13
  init_logger,
14
14
  warn