opencode-swarm 7.167.1 → 7.167.2

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 (105) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/agents/project-context.d.ts +12 -8
  4. package/dist/cli/{coder-settlement-2ye4s5xr.js → coder-settlement-jy9rad28.js} +16 -16
  5. package/dist/cli/{config-doctor-b0k8eyd6.js → config-doctor-p66vnpy3.js} +3 -3
  6. package/dist/cli/{core-xgzgjk8s.js → core-tw0wtntz.js} +4 -4
  7. package/dist/cli/{curation-policy-bvxf5pxv.js → curation-policy-ndp27v0c.js} +7 -7
  8. package/dist/cli/{curator-jpvzrxcv.js → curator-5nzde80g.js} +45 -45
  9. package/dist/cli/{curator-drift-20m2ab5w.js → curator-drift-gb651hcw.js} +8 -8
  10. package/dist/cli/curator-llm-factory-xy96x5x8.js +71 -0
  11. package/dist/cli/{dispatch-tmb929w8.js → dispatch-8ks9dyk5.js} +244 -70
  12. package/dist/cli/{evidence-summary-service-74az43cb.js → evidence-summary-service-bzpfaypy.js} +22 -22
  13. package/dist/cli/{explorer-zvk5kbcb.js → explorer-2cv64zfj.js} +1 -1
  14. package/dist/cli/{gate-evidence-f26h2gn3.js → gate-evidence-wa8cj8h6.js} +11 -11
  15. package/dist/cli/guardrail-explain-1ef5he6j.js +72 -0
  16. package/dist/cli/{guardrail-log-pnye3xw8.js → guardrail-log-7dv73e0q.js} +9 -9
  17. package/dist/cli/{guardrail-reset-0da7q8ap.js → guardrail-reset-1kng6y8x.js} +44 -44
  18. package/dist/cli/hive-promoter-87kk2pg5.js +86 -0
  19. package/dist/cli/{index-fmzz6aw7.js → index-09gv90d7.js} +4 -4
  20. package/dist/cli/{index-9e6fdz2h.js → index-0mhftbpp.js} +1 -1
  21. package/dist/cli/{index-t8tw1bhs.js → index-0q839sg6.js} +2 -2
  22. package/dist/cli/{index-9bhzbwa4.js → index-18rfc7qv.js} +9 -9
  23. package/dist/cli/{index-7qefgq4j.js → index-1xnse449.js} +11 -1
  24. package/dist/cli/index-25xeyjfx.js +116 -0
  25. package/dist/cli/{index-87agfprq.js → index-2b1hd1fx.js} +2 -2
  26. package/dist/cli/{index-bv8ha57q.js → index-3r6k6qa7.js} +6 -6
  27. package/dist/cli/{index-69y9p6dh.js → index-3ws11dq0.js} +2 -2
  28. package/dist/cli/{index-eretcr6t.js → index-5sjq3shs.js} +11 -11
  29. package/dist/cli/{index-8x4zwk0t.js → index-65s0vgb1.js} +47 -47
  30. package/dist/cli/{index-es13aqdb.js → index-79234evf.js} +1 -1
  31. package/dist/cli/{index-5bd84nxc.js → index-83r0v5tn.js} +1 -1
  32. package/dist/cli/{index-sahf5yz3.js → index-8vbahc4c.js} +1 -1
  33. package/dist/cli/{index-6d4dc99f.js → index-962qme08.js} +1 -1
  34. package/dist/cli/{index-9ss2m4rs.js → index-9br68j86.js} +1 -1
  35. package/dist/cli/{index-4rhhvd1a.js → index-a1w58b47.js} +1 -1
  36. package/dist/cli/{index-qyr17fbz.js → index-arqv4psy.js} +16 -16
  37. package/dist/cli/{index-qtd3hrk8.js → index-ce8p9t28.js} +5 -5
  38. package/dist/cli/{index-q265ytw6.js → index-dme7wvwg.js} +4 -4
  39. package/dist/cli/{index-54vzqy47.js → index-ehq2vtkq.js} +6 -6
  40. package/dist/cli/{index-1aex5zd9.js → index-f8cc92g7.js} +2 -2
  41. package/dist/cli/{index-bzdc4b7t.js → index-f91fhch0.js} +6 -6
  42. package/dist/cli/{index-70ha9e09.js → index-fyfbpz4f.js} +1 -1
  43. package/dist/cli/{index-75f9jj3h.js → index-g409c7ke.js} +2 -2
  44. package/dist/cli/{index-0tc0pcmh.js → index-g5m43paw.js} +37 -2
  45. package/dist/cli/{index-9wv6a3jx.js → index-gmjg65tm.js} +2 -2
  46. package/dist/cli/{index-qd726agw.js → index-gs12223x.js} +3 -3
  47. package/dist/cli/{index-rk10x4zr.js → index-hhkm64wh.js} +5 -5
  48. package/dist/cli/{index-mgc3c483.js → index-jhd3pmd1.js} +10 -10
  49. package/dist/cli/{index-m3tx1q9v.js → index-k73ehxa1.js} +1 -1
  50. package/dist/cli/{index-z5gdgdkp.js → index-m3z83nhs.js} +12 -12
  51. package/dist/cli/{index-251vrmge.js → index-m7cwnt9r.js} +4 -4
  52. package/dist/cli/{index-3nm1b3t2.js → index-mtepgqan.js} +8 -8
  53. package/dist/cli/{index-79wnzc8q.js → index-pdcperq5.js} +3 -3
  54. package/dist/cli/{index-bf6zx8cq.js → index-rrne6g2m.js} +2 -2
  55. package/dist/cli/{index-hdsg7yf6.js → index-s7a9dqtb.js} +3 -3
  56. package/dist/cli/{index-f8xk5q5j.js → index-shrf0wt3.js} +4 -4
  57. package/dist/cli/{index-zwsbegc1.js → index-sjkg2hc4.js} +7 -7
  58. package/dist/cli/{index-qww0h314.js → index-syedr4e3.js} +1 -1
  59. package/dist/cli/{index-f6zgz02s.js → index-tcj8v6my.js} +3 -3
  60. package/dist/cli/{index-2w0beg3s.js → index-vgpedapd.js} +5 -5
  61. package/dist/cli/{index-emwezg3y.js → index-wjet7x0a.js} +3 -3
  62. package/dist/cli/{index-m21x1bkx.js → index-x7pm61wk.js} +2 -0
  63. package/dist/cli/{index-32bxwzw0.js → index-y1sj2e1n.js} +92719 -90312
  64. package/dist/cli/{index-qd619x3r.js → index-z6we1abx.js} +2 -2
  65. package/dist/cli/{index-fenasyvr.js → index-z7z3g5wt.js} +62 -12
  66. package/dist/cli/index.js +44 -44
  67. package/dist/cli/{knowledge-escalator-p2a8xh8x.js → knowledge-escalator-5e4zxan5.js} +17 -17
  68. package/dist/cli/{knowledge-events-jmh28m8d.js → knowledge-events-abzm5vfh.js} +15 -15
  69. package/dist/cli/{knowledge-link-w1fwqts4.js → knowledge-link-9ga6hyd5.js} +6 -6
  70. package/dist/cli/{knowledge-store-8gmabtsn.js → knowledge-store-q4a92eq7.js} +7 -7
  71. package/dist/cli/{knowledge-validator-yk579vs4.js → knowledge-validator-pn3m5r41.js} +9 -9
  72. package/dist/cli/{model-preflight-b3b5pgsc.js → model-preflight-mw895vgt.js} +1 -1
  73. package/dist/cli/{pending-delegations-nw7ph53z.js → pending-delegations-3z0xjppd.js} +14 -14
  74. package/dist/cli/{pr-subscriptions-9815fxbc.js → pr-subscriptions-h7mwnp62.js} +14 -14
  75. package/dist/cli/{pr-workflow-gate-98a7b6py.js → pr-workflow-gate-fec04fa0.js} +44 -44
  76. package/dist/cli/{runner-nmrjv7te.js → runner-d9833azt.js} +7 -7
  77. package/dist/cli/{scan-cursor-6zcs0frg.js → scan-cursor-ymfvzdkz.js} +10 -10
  78. package/dist/cli/{schema-warvhy9h.js → schema-chc4aez6.js} +2 -2
  79. package/dist/cli/{scope-persistence-c2ck77cv.js → scope-persistence-3xnr59y8.js} +20 -20
  80. package/dist/cli/{skill-generator-jamm1cna.js → skill-generator-3mvaghxk.js} +19 -19
  81. package/dist/cli/{snapshot-coordination-init-st0xsn3f.js → snapshot-coordination-init-arnc77r9.js} +44 -44
  82. package/dist/cli/{telemetry-ce0tx41h.js → telemetry-g9pppt9e.js} +2 -2
  83. package/dist/cli/{workspace-snapshot-0kxj2grt.js → workspace-snapshot-hvsjtepd.js} +6 -6
  84. package/dist/cli/{worktree-collision-ownership-qra7r8pw.js → worktree-collision-ownership-vj8anvb7.js} +17 -17
  85. package/dist/cli/{worktree-isolation-yr9gnf64.js → worktree-isolation-mt7z75hz.js} +45 -45
  86. package/dist/commands/close/align-stage.d.ts +10 -0
  87. package/dist/commands/close/archive-stage.d.ts +34 -0
  88. package/dist/commands/close/clean-stage.d.ts +2 -0
  89. package/dist/commands/close/constants.d.ts +122 -0
  90. package/dist/commands/close/context.d.ts +129 -0
  91. package/dist/commands/close/db-helpers.d.ts +10 -0
  92. package/dist/commands/close/dry-run.d.ts +12 -0
  93. package/dist/commands/close/finalize-stage.d.ts +44 -0
  94. package/dist/commands/close/fs-helpers.d.ts +17 -0
  95. package/dist/commands/close/internals.d.ts +55 -0
  96. package/dist/commands/close/orchestrator.d.ts +32 -0
  97. package/dist/commands/close/wiring.d.ts +2 -0
  98. package/dist/commands/close.d.ts +10 -402
  99. package/dist/index.js +485 -485
  100. package/dist/lang/dispatch.d.ts +6 -6
  101. package/dist/utils/canonical-root.d.ts +19 -0
  102. package/package.json +1 -1
  103. package/dist/cli/curator-llm-factory-zeb0pe2j.js +0 -71
  104. package/dist/cli/guardrail-explain-5vhveypz.js +0 -72
  105. package/dist/cli/hive-promoter-2vj54xc4.js +0 -86
@@ -1,16 +1,16 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-69y9p6dh.js";
4
+ } from "./index-3ws11dq0.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-es13aqdb.js";
7
+ } from "./index-79234evf.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
11
11
  SWARM_COMMAND_TOOL_COMMANDS,
12
12
  VALID_COMMANDS,
13
- _internals3 as _internals,
13
+ _internals4 as _internals,
14
14
  canonicalCommandKey,
15
15
  classifySwarmCommandChatFallbackUse,
16
16
  classifySwarmCommandToolUse,
@@ -94,71 +94,71 @@ import {
94
94
  handleWriteRetroCommand,
95
95
  normalizeSwarmCommandInput,
96
96
  resolveCommand
97
- } from "./index-32bxwzw0.js";
97
+ } from "./index-y1sj2e1n.js";
98
98
  import"./index-d5qf7hvh.js";
99
- import"./index-m3tx1q9v.js";
100
- import"./index-q265ytw6.js";
101
- import"./index-bf6zx8cq.js";
102
- import"./index-qyr17fbz.js";
103
- import"./index-5bd84nxc.js";
99
+ import"./index-k73ehxa1.js";
100
+ import"./index-dme7wvwg.js";
101
+ import"./index-f8cc92g7.js";
102
+ import"./index-rrne6g2m.js";
103
+ import"./index-arqv4psy.js";
104
+ import"./index-83r0v5tn.js";
104
105
  import"./index-txdagbh7.js";
106
+ import"./index-9br68j86.js";
105
107
  import"./index-cw912re7.js";
106
- import"./index-bzdc4b7t.js";
107
- import"./index-qtd3hrk8.js";
108
- import"./index-79wnzc8q.js";
109
- import"./index-70ha9e09.js";
110
- import"./index-1aex5zd9.js";
111
- import"./index-9ss2m4rs.js";
112
- import"./index-3nm1b3t2.js";
108
+ import"./index-f91fhch0.js";
109
+ import"./index-ce8p9t28.js";
110
+ import"./index-pdcperq5.js";
111
+ import"./index-fyfbpz4f.js";
112
+ import"./index-mtepgqan.js";
113
113
  import"./index-zsrtt42s.js";
114
- import"./index-eretcr6t.js";
115
- import"./index-251vrmge.js";
116
- import"./index-9wv6a3jx.js";
114
+ import"./index-5sjq3shs.js";
115
+ import"./index-m7cwnt9r.js";
116
+ import"./index-gmjg65tm.js";
117
117
  import"./index-b43rt5ph.js";
118
118
  import"./index-q7sjgr1y.js";
119
- import"./index-bv8ha57q.js";
120
- import"./index-fmzz6aw7.js";
121
- import"./index-zwsbegc1.js";
122
- import"./index-z5gdgdkp.js";
123
- import"./index-sahf5yz3.js";
119
+ import"./index-3r6k6qa7.js";
120
+ import"./index-09gv90d7.js";
121
+ import"./index-sjkg2hc4.js";
122
+ import"./index-m3z83nhs.js";
123
+ import"./index-8vbahc4c.js";
124
124
  import"./index-p612v1mv.js";
125
- import"./index-f8xk5q5j.js";
126
- import"./index-qww0h314.js";
125
+ import"./index-shrf0wt3.js";
126
+ import"./index-syedr4e3.js";
127
127
  import"./index-rtry5xyf.js";
128
- import"./index-hdsg7yf6.js";
128
+ import"./index-s7a9dqtb.js";
129
129
  import"./index-3qf1vxtb.js";
130
130
  import"./index-n832052r.js";
131
- import"./index-mgc3c483.js";
132
- import"./index-fenasyvr.js";
133
- import"./index-qd619x3r.js";
134
- import"./index-75f9jj3h.js";
135
- import"./index-6d4dc99f.js";
136
- import"./index-rk10x4zr.js";
137
- import"./index-ry16d01s.js";
131
+ import"./index-jhd3pmd1.js";
132
+ import"./index-z7z3g5wt.js";
133
+ import"./index-z6we1abx.js";
134
+ import"./index-g409c7ke.js";
135
+ import"./index-962qme08.js";
136
+ import"./index-hhkm64wh.js";
138
137
  import"./index-n4fzmqz8.js";
139
- import"./index-qd726agw.js";
140
- import"./index-9bhzbwa4.js";
138
+ import"./index-ry16d01s.js";
139
+ import"./index-gs12223x.js";
140
+ import"./index-18rfc7qv.js";
141
141
  import"./index-vzm6zre7.js";
142
142
  import"./index-ae75rja9.js";
143
- import"./index-t8tw1bhs.js";
144
- import"./index-2w0beg3s.js";
145
- import"./index-m21x1bkx.js";
146
- import"./index-f6zgz02s.js";
147
- import"./index-7qefgq4j.js";
148
- import"./index-ee6ydtfe.js";
143
+ import"./index-0q839sg6.js";
144
+ import"./index-vgpedapd.js";
149
145
  import"./index-7g4c7s5r.js";
150
- import"./index-emwezg3y.js";
151
- import"./index-9e6fdz2h.js";
152
- import"./index-4rhhvd1a.js";
146
+ import"./index-x7pm61wk.js";
147
+ import"./index-tcj8v6my.js";
148
+ import"./index-1xnse449.js";
149
+ import"./index-ee6ydtfe.js";
150
+ import"./index-wjet7x0a.js";
151
+ import"./index-0mhftbpp.js";
152
+ import"./index-a1w58b47.js";
153
153
  import {
154
154
  init_schema,
155
155
  stripKnownSwarmPrefix
156
- } from "./index-87agfprq.js";
156
+ } from "./index-2b1hd1fx.js";
157
157
  import {
158
158
  AGENT_TOOL_MAP,
159
159
  ORCHESTRATOR_NAME,
160
160
  init_constants
161
- } from "./index-0tc0pcmh.js";
161
+ } from "./index-g5m43paw.js";
162
162
  import"./index-bk5tah7q.js";
163
163
  import"./index-bpmtbmy9.js";
164
164
  import"./index-zpsr8rpc.js";
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-q265ytw6.js";
7
+ } from "./index-dme7wvwg.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -11,7 +11,7 @@ import {
11
11
  assertProjectRoot,
12
12
  atomicWriteFile,
13
13
  withEvidenceLock
14
- } from "./index-2w0beg3s.js";
14
+ } from "./index-vgpedapd.js";
15
15
  import {
16
16
  exports_external,
17
17
  init_zod
@@ -7,7 +7,7 @@ import {
7
7
  readCachedTextFile,
8
8
  wasObservedToExist,
9
9
  wasRecentlyWrittenByThisProcess
10
- } from "./index-m21x1bkx.js";
10
+ } from "./index-x7pm61wk.js";
11
11
  import {
12
12
  SwarmError
13
13
  } from "./index-ee6ydtfe.js";
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-rk10x4zr.js";
7
+ } from "./index-hhkm64wh.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  advisoryWarn,
7
7
  init_warning_buffer
8
- } from "./index-4rhhvd1a.js";
8
+ } from "./index-a1w58b47.js";
9
9
 
10
10
  // src/sdd/effective-spec.ts
11
11
  import { createHash } from "crypto";
@@ -59,4 +59,4 @@ var init_warning_buffer = __esm(() => {
59
59
  CONTROL_CHARS_RE = /[\x00-\x1F\x7F-\x9F]/g;
60
60
  });
61
61
 
62
- export { advisoryWarn, getDeferredWarnings, init_warning_buffer };
62
+ export { addDeferredWarning, advisoryWarn, getDeferredWarnings, init_warning_buffer };
@@ -3,13 +3,13 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-5bd84nxc.js";
6
+ } from "./index-83r0v5tn.js";
7
+ import {
8
+ readEffectiveSpecSync
9
+ } from "./index-9br68j86.js";
7
10
  import {
8
11
  validateWorkspaceRoot
9
12
  } from "./index-cw912re7.js";
10
- import {
11
- readEffectiveSpecSync
12
- } from "./index-9ss2m4rs.js";
13
13
  import {
14
14
  getWorktreeMergeFailure
15
15
  } from "./index-zsrtt42s.js";
@@ -23,13 +23,13 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-bv8ha57q.js";
26
+ } from "./index-3r6k6qa7.js";
27
27
  import {
28
28
  estimateCharsForTokens,
29
29
  estimateTokens,
30
30
  readSwarmFileAsync,
31
31
  validateSwarmPath
32
- } from "./index-sahf5yz3.js";
32
+ } from "./index-8vbahc4c.js";
33
33
  import {
34
34
  bunHash,
35
35
  bunWrite,
@@ -57,10 +57,10 @@ import {
57
57
  replayFromLedgerWithStatus,
58
58
  takeSnapshotEvent,
59
59
  takeSnapshotWithRetry
60
- } from "./index-fenasyvr.js";
60
+ } from "./index-z7z3g5wt.js";
61
61
  import {
62
62
  appendCoreEventSync
63
- } from "./index-qd619x3r.js";
63
+ } from "./index-z6we1abx.js";
64
64
  import {
65
65
  derivePlanId,
66
66
  derivePlanIdentityHash,
@@ -68,38 +68,38 @@ import {
68
68
  importCoordinationOnce,
69
69
  listCoordinationStates,
70
70
  transitionCoordinationState
71
- } from "./index-6d4dc99f.js";
71
+ } from "./index-962qme08.js";
72
72
  import {
73
73
  DURABILITY_CLASSES,
74
74
  getProjectDb,
75
75
  projectDbExists,
76
76
  withDurabilityClass
77
- } from "./index-rk10x4zr.js";
77
+ } from "./index-hhkm64wh.js";
78
78
  import {
79
79
  assertProjectRoot,
80
80
  tryAcquireLock,
81
81
  withEvidenceLock
82
- } from "./index-2w0beg3s.js";
82
+ } from "./index-vgpedapd.js";
83
83
  import {
84
84
  atomicWriteSwarmFileSync,
85
85
  invalidateCachedArtifact,
86
86
  readCachedParsedFile
87
- } from "./index-m21x1bkx.js";
87
+ } from "./index-x7pm61wk.js";
88
88
  import {
89
89
  emit
90
- } from "./index-f6zgz02s.js";
90
+ } from "./index-tcj8v6my.js";
91
91
  import {
92
92
  canonicalRootKeyFresh
93
- } from "./index-7qefgq4j.js";
93
+ } from "./index-1xnse449.js";
94
94
  import {
95
95
  PlanSchema
96
- } from "./index-emwezg3y.js";
96
+ } from "./index-wjet7x0a.js";
97
97
  import {
98
98
  GIT_BINARY_ENV_VAR,
99
99
  describeGitResolution,
100
100
  init_git_executable,
101
101
  resolveGitExecutable
102
- } from "./index-9e6fdz2h.js";
102
+ } from "./index-0mhftbpp.js";
103
103
  import {
104
104
  ZodError,
105
105
  init_zod
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-z5gdgdkp.js";
6
+ } from "./index-m3z83nhs.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-9bhzbwa4.js";
14
+ } from "./index-18rfc7qv.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-yk579vs4.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-pn3m5r41.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-warvhy9h.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-54vzqy47.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-chc4aez6.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-ehq2vtkq.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-qd726agw.js";
4
+ } from "./index-gs12223x.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-f6zgz02s.js";
7
+ } from "./index-tcj8v6my.js";
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-87agfprq.js";
11
+ } from "./index-2b1hd1fx.js";
12
12
  import {
13
13
  init_constants
14
- } from "./index-0tc0pcmh.js";
14
+ } from "./index-g5m43paw.js";
15
15
  import {
16
16
  getPathFlavor,
17
17
  init_path_identity,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-hdsg7yf6.js";
5
+ } from "./index-s7a9dqtb.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -44,9 +44,9 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-emwezg3y.js";
48
- import"./index-9e6fdz2h.js";
49
- import"./index-4rhhvd1a.js";
47
+ } from "./index-wjet7x0a.js";
48
+ import"./index-0mhftbpp.js";
49
+ import"./index-a1w58b47.js";
50
50
  import {
51
51
  AUTO_REVIEW_V8_BURN_IN_DECISION,
52
52
  AgentOverrideConfigSchema,
@@ -70,7 +70,7 @@ import {
70
70
  TurboConfigSchema,
71
71
  WorktreeIsolationConfigSchema,
72
72
  resolveAutoReviewConfig
73
- } from "./index-87agfprq.js";
73
+ } from "./index-2b1hd1fx.js";
74
74
  import {
75
75
  ALL_AGENT_NAMES,
76
76
  ALL_SUBAGENT_NAMES,
@@ -80,7 +80,7 @@ import {
80
80
  QA_AGENTS,
81
81
  isQAAgent,
82
82
  isSubagent
83
- } from "./index-0tc0pcmh.js";
83
+ } from "./index-g5m43paw.js";
84
84
  import"./index-bk5tah7q.js";
85
85
  import"./index-bpmtbmy9.js";
86
86
  import"./index-zpsr8rpc.js";
@@ -5,11 +5,11 @@ import {
5
5
  batchDurabilityClass,
6
6
  classifyDbWriteError,
7
7
  getProjectDb
8
- } from "./index-rk10x4zr.js";
8
+ } from "./index-hhkm64wh.js";
9
9
  import {
10
10
  _internals,
11
11
  canonicalRootKeyFresh
12
- } from "./index-7qefgq4j.js";
12
+ } from "./index-1xnse449.js";
13
13
  import {
14
14
  init_logger,
15
15
  log,
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-z5gdgdkp.js";
8
+ } from "./index-m3z83nhs.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-f8xk5q5j.js";
12
+ } from "./index-shrf0wt3.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-9bhzbwa4.js";
19
+ } from "./index-18rfc7qv.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -24,14 +24,14 @@ import {
24
24
  import {
25
25
  atomicWriteFileAnyRoot,
26
26
  atomicWriteSwarmFile
27
- } from "./index-m21x1bkx.js";
27
+ } from "./index-x7pm61wk.js";
28
28
  import {
29
29
  canonicalRootKeyFresh
30
- } from "./index-7qefgq4j.js";
30
+ } from "./index-1xnse449.js";
31
31
  import {
32
32
  advisoryWarn,
33
33
  init_warning_buffer
34
- } from "./index-4rhhvd1a.js";
34
+ } from "./index-a1w58b47.js";
35
35
  import {
36
36
  init_knowledge_types,
37
37
  isActiveStatus
@@ -430,4 +430,4 @@ function createExplorerAgent(model, customPrompt, customAppendPrompt) {
430
430
  };
431
431
  }
432
432
 
433
- export { READ_ONLY_LANE_GUIDANCE, EXPLORER_MEMORY_OUTCOME_GUIDANCE, EXPLORER_PROMPT, CURATOR_INIT_PROMPT, CURATOR_PHASE_PROMPT, CURATOR_POSTMORTEM_PROMPT, CURATOR_CONSOLIDATION_PROMPT, createExplorerAgent };
433
+ export { resolvePrompt, READ_ONLY_LANE_GUIDANCE, EXPLORER_MEMORY_OUTCOME_GUIDANCE, EXPLORER_PROMPT, CURATOR_INIT_PROMPT, CURATOR_PHASE_PROMPT, CURATOR_POSTMORTEM_PROMPT, CURATOR_CONSOLIDATION_PROMPT, createExplorerAgent };
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-6d4dc99f.js";
5
+ } from "./index-962qme08.js";
6
6
  import {
7
7
  DURABILITY_CLASSES,
8
8
  getProjectDb,
9
9
  projectDbExists,
10
10
  withImmediateTransaction
11
- } from "./index-rk10x4zr.js";
11
+ } from "./index-hhkm64wh.js";
12
12
  import {
13
13
  init_logger,
14
14
  warn
@@ -966,7 +966,7 @@ function isQAAgent(name) {
966
966
  function isSubagent(name) {
967
967
  return ALL_SUBAGENT_NAMES.includes(name);
968
968
  }
969
- var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, OPENCODE_NATIVE_COMMANDS, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, PR_REVIEW_CHILD_TOOL_NAMES, PR_REVIEW_CHILD_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
969
+ var OPENCODE_NATIVE_AGENTS, CLAUDE_CODE_NATIVE_COMMANDS, OPENCODE_NATIVE_COMMANDS, MEMORY_AGENT_TOOL_MAP, EXTERNAL_SKILL_TOOL_NAMES, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_TOOL_NAMES, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_TOOL_NAMES, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_TOOL_NAMES, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, PR_REVIEW_CHILD_TOOL_NAMES, PR_REVIEW_CHILD_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, SWARM_WORKTREE_DIR_NAME = ".swarm-worktrees", DEFAULT_WORKTREE_ISOLATION_CONFIG;
970
970
  var init_constants = __esm(() => {
971
971
  init_agent_names();
972
972
  init_tool_metadata();
@@ -1110,6 +1110,41 @@ var init_constants = __esm(() => {
1110
1110
  "tree",
1111
1111
  "session"
1112
1112
  ], "OPENCODE_NATIVE_COMMANDS");
1113
+ MEMORY_AGENT_TOOL_MAP = {
1114
+ architect: [
1115
+ "swarm_memory_recall",
1116
+ "swarm_memory_propose",
1117
+ "swarm_memory_outcome"
1118
+ ],
1119
+ explorer: [
1120
+ "swarm_memory_recall",
1121
+ "swarm_memory_propose",
1122
+ "swarm_memory_outcome"
1123
+ ],
1124
+ coder: [
1125
+ "swarm_memory_recall",
1126
+ "swarm_memory_propose",
1127
+ "swarm_memory_outcome"
1128
+ ],
1129
+ reviewer: ["swarm_memory_recall", "swarm_memory_outcome"],
1130
+ test_engineer: ["swarm_memory_recall", "swarm_memory_propose"],
1131
+ sme: ["swarm_memory_recall", "swarm_memory_propose"],
1132
+ critic: ["swarm_memory_recall", "swarm_memory_outcome"],
1133
+ critic_sounding_board: ["swarm_memory_recall"],
1134
+ critic_drift_verifier: ["swarm_memory_recall"],
1135
+ critic_hallucination_verifier: ["swarm_memory_recall"],
1136
+ critic_architecture_supervisor: ["swarm_memory_recall"],
1137
+ critic_finding_validator: ["swarm_memory_recall"],
1138
+ docs: ["swarm_memory_recall", "swarm_memory_propose"],
1139
+ docs_design: ["swarm_memory_recall", "swarm_memory_propose"],
1140
+ designer: ["swarm_memory_recall", "swarm_memory_propose"],
1141
+ curator_init: ["swarm_memory_recall"],
1142
+ curator_phase: ["swarm_memory_recall"],
1143
+ curator_postmortem: ["swarm_memory_recall"],
1144
+ curator_consolidation: ["swarm_memory_recall"],
1145
+ skill_improver: ["swarm_memory_recall", "swarm_memory_propose"],
1146
+ spec_writer: ["swarm_memory_recall", "swarm_memory_propose"]
1147
+ };
1113
1148
  EXTERNAL_SKILL_TOOL_NAMES = [
1114
1149
  "external_skill_discover",
1115
1150
  "external_skill_list",
@@ -1322,4 +1357,4 @@ var init_constants = __esm(() => {
1322
1357
  };
1323
1358
  });
1324
1359
 
1325
- export { QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, init_agent_names, TOOL_NAMES, TOOL_NAME_SET, getPrWorkflowToolCapability, AGENT_TOOL_MAP, init_tool_metadata, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, isQAAgent, isSubagent, SWARM_WORKTREE_DIR_NAME, DEFAULT_WORKTREE_ISOLATION_CONFIG, init_constants };
1360
+ export { QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, init_agent_names, TOOL_NAMES, TOOL_NAME_SET, getPrWorkflowToolCapability, TOOL_DESCRIPTIONS, AGENT_TOOL_MAP, init_tool_metadata, MEMORY_AGENT_TOOL_MAP, EXTERNAL_SKILL_AGENT_TOOL_MAP, COUNCIL_AGENT_TOOL_MAP, GENERAL_COUNCIL_AGENT_TOOL_MAP, TURBO_AGENT_TOOL_MAP, SKILL_TOOL_NAMES, SKILL_AGENT_TOOL_MAP, WRITE_TOOL_NAMES, SUMMARIZER_EXEMPT_TOOL_NAMES, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, isQAAgent, isSubagent, SWARM_WORKTREE_DIR_NAME, DEFAULT_WORKTREE_ISOLATION_CONFIG, init_constants };
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-sahf5yz3.js";
4
+ } from "./index-8vbahc4c.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-m21x1bkx.js";
7
+ } from "./index-x7pm61wk.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteSwarmFile
4
- } from "./index-m21x1bkx.js";
4
+ } from "./index-x7pm61wk.js";
5
5
  import {
6
6
  pseudonymousRef,
7
7
  resolveLineageSalt,
8
8
  telemetry
9
- } from "./index-f6zgz02s.js";
9
+ } from "./index-tcj8v6my.js";
10
10
  import {
11
11
  canonicalRootKeyFresh
12
- } from "./index-7qefgq4j.js";
12
+ } from "./index-1xnse449.js";
13
13
 
14
14
  // src/health/learning-health.ts
15
15
  import { promises as fs } from "fs";
@@ -1,17 +1,17 @@
1
1
  // @bun
2
- import {
3
- canonicalExistingFilesystemPath
4
- } from "./index-ry16d01s.js";
5
2
  import {
6
3
  loadDatabaseCtor
7
4
  } from "./index-n4fzmqz8.js";
5
+ import {
6
+ canonicalExistingFilesystemPath
7
+ } from "./index-ry16d01s.js";
8
8
  import {
9
9
  atomicWriteSwarmFileSync
10
- } from "./index-m21x1bkx.js";
10
+ } from "./index-x7pm61wk.js";
11
11
  import {
12
12
  canonicalRootKeyFresh,
13
13
  lexicalRootAliasKey
14
- } from "./index-7qefgq4j.js";
14
+ } from "./index-1xnse449.js";
15
15
 
16
16
  // src/db/project-db.ts
17
17
  import { existsSync, mkdirSync, unlinkSync } from "fs";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  computePlanStructureHash
4
- } from "./index-fenasyvr.js";
4
+ } from "./index-z7z3g5wt.js";
5
5
  import {
6
6
  appendCoreEventSync
7
- } from "./index-qd619x3r.js";
7
+ } from "./index-z6we1abx.js";
8
8
  import {
9
9
  deleteCoordinationState,
10
10
  derivePlanId,
@@ -13,27 +13,27 @@ import {
13
13
  transitionCoordinationState,
14
14
  transitionCoordinationStateWithinTransaction,
15
15
  withCoordinationTransaction
16
- } from "./index-6d4dc99f.js";
16
+ } from "./index-962qme08.js";
17
17
  import {
18
18
  getProjectDb
19
- } from "./index-rk10x4zr.js";
19
+ } from "./index-hhkm64wh.js";
20
20
  import {
21
21
  canonicalExistingFilesystemPath,
22
22
  legacyCanonicalExistingFilesystemPath
23
23
  } from "./index-ry16d01s.js";
24
24
  import {
25
25
  assertProjectRoot
26
- } from "./index-2w0beg3s.js";
27
- import {
28
- atomicWriteSwarmFile,
29
- atomicWriteSwarmFileSync
30
- } from "./index-m21x1bkx.js";
26
+ } from "./index-vgpedapd.js";
31
27
  import {
32
28
  require_proper_lockfile
33
29
  } from "./index-7g4c7s5r.js";
30
+ import {
31
+ atomicWriteSwarmFile,
32
+ atomicWriteSwarmFileSync
33
+ } from "./index-x7pm61wk.js";
34
34
  import {
35
35
  PlanSchema
36
- } from "./index-emwezg3y.js";
36
+ } from "./index-wjet7x0a.js";
37
37
  import {
38
38
  init_path_identity,
39
39
  unsafePathTextReason
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-5bd84nxc.js";
12
+ } from "./index-83r0v5tn.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,