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.
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/project-context.d.ts +12 -8
- package/dist/cli/{coder-settlement-2ye4s5xr.js → coder-settlement-jy9rad28.js} +16 -16
- package/dist/cli/{config-doctor-b0k8eyd6.js → config-doctor-p66vnpy3.js} +3 -3
- package/dist/cli/{core-xgzgjk8s.js → core-tw0wtntz.js} +4 -4
- package/dist/cli/{curation-policy-bvxf5pxv.js → curation-policy-ndp27v0c.js} +7 -7
- package/dist/cli/{curator-jpvzrxcv.js → curator-5nzde80g.js} +45 -45
- package/dist/cli/{curator-drift-20m2ab5w.js → curator-drift-gb651hcw.js} +8 -8
- package/dist/cli/curator-llm-factory-xy96x5x8.js +71 -0
- package/dist/cli/{dispatch-tmb929w8.js → dispatch-8ks9dyk5.js} +244 -70
- package/dist/cli/{evidence-summary-service-74az43cb.js → evidence-summary-service-bzpfaypy.js} +22 -22
- package/dist/cli/{explorer-zvk5kbcb.js → explorer-2cv64zfj.js} +1 -1
- package/dist/cli/{gate-evidence-f26h2gn3.js → gate-evidence-wa8cj8h6.js} +11 -11
- package/dist/cli/guardrail-explain-1ef5he6j.js +72 -0
- package/dist/cli/{guardrail-log-pnye3xw8.js → guardrail-log-7dv73e0q.js} +9 -9
- package/dist/cli/{guardrail-reset-0da7q8ap.js → guardrail-reset-1kng6y8x.js} +44 -44
- package/dist/cli/hive-promoter-87kk2pg5.js +86 -0
- package/dist/cli/{index-fmzz6aw7.js → index-09gv90d7.js} +4 -4
- package/dist/cli/{index-9e6fdz2h.js → index-0mhftbpp.js} +1 -1
- package/dist/cli/{index-t8tw1bhs.js → index-0q839sg6.js} +2 -2
- package/dist/cli/{index-9bhzbwa4.js → index-18rfc7qv.js} +9 -9
- package/dist/cli/{index-7qefgq4j.js → index-1xnse449.js} +11 -1
- package/dist/cli/index-25xeyjfx.js +116 -0
- package/dist/cli/{index-87agfprq.js → index-2b1hd1fx.js} +2 -2
- package/dist/cli/{index-bv8ha57q.js → index-3r6k6qa7.js} +6 -6
- package/dist/cli/{index-69y9p6dh.js → index-3ws11dq0.js} +2 -2
- package/dist/cli/{index-eretcr6t.js → index-5sjq3shs.js} +11 -11
- package/dist/cli/{index-8x4zwk0t.js → index-65s0vgb1.js} +47 -47
- package/dist/cli/{index-es13aqdb.js → index-79234evf.js} +1 -1
- package/dist/cli/{index-5bd84nxc.js → index-83r0v5tn.js} +1 -1
- package/dist/cli/{index-sahf5yz3.js → index-8vbahc4c.js} +1 -1
- package/dist/cli/{index-6d4dc99f.js → index-962qme08.js} +1 -1
- package/dist/cli/{index-9ss2m4rs.js → index-9br68j86.js} +1 -1
- package/dist/cli/{index-4rhhvd1a.js → index-a1w58b47.js} +1 -1
- package/dist/cli/{index-qyr17fbz.js → index-arqv4psy.js} +16 -16
- package/dist/cli/{index-qtd3hrk8.js → index-ce8p9t28.js} +5 -5
- package/dist/cli/{index-q265ytw6.js → index-dme7wvwg.js} +4 -4
- package/dist/cli/{index-54vzqy47.js → index-ehq2vtkq.js} +6 -6
- package/dist/cli/{index-1aex5zd9.js → index-f8cc92g7.js} +2 -2
- package/dist/cli/{index-bzdc4b7t.js → index-f91fhch0.js} +6 -6
- package/dist/cli/{index-70ha9e09.js → index-fyfbpz4f.js} +1 -1
- package/dist/cli/{index-75f9jj3h.js → index-g409c7ke.js} +2 -2
- package/dist/cli/{index-0tc0pcmh.js → index-g5m43paw.js} +37 -2
- package/dist/cli/{index-9wv6a3jx.js → index-gmjg65tm.js} +2 -2
- package/dist/cli/{index-qd726agw.js → index-gs12223x.js} +3 -3
- package/dist/cli/{index-rk10x4zr.js → index-hhkm64wh.js} +5 -5
- package/dist/cli/{index-mgc3c483.js → index-jhd3pmd1.js} +10 -10
- package/dist/cli/{index-m3tx1q9v.js → index-k73ehxa1.js} +1 -1
- package/dist/cli/{index-z5gdgdkp.js → index-m3z83nhs.js} +12 -12
- package/dist/cli/{index-251vrmge.js → index-m7cwnt9r.js} +4 -4
- package/dist/cli/{index-3nm1b3t2.js → index-mtepgqan.js} +8 -8
- package/dist/cli/{index-79wnzc8q.js → index-pdcperq5.js} +3 -3
- package/dist/cli/{index-bf6zx8cq.js → index-rrne6g2m.js} +2 -2
- package/dist/cli/{index-hdsg7yf6.js → index-s7a9dqtb.js} +3 -3
- package/dist/cli/{index-f8xk5q5j.js → index-shrf0wt3.js} +4 -4
- package/dist/cli/{index-zwsbegc1.js → index-sjkg2hc4.js} +7 -7
- package/dist/cli/{index-qww0h314.js → index-syedr4e3.js} +1 -1
- package/dist/cli/{index-f6zgz02s.js → index-tcj8v6my.js} +3 -3
- package/dist/cli/{index-2w0beg3s.js → index-vgpedapd.js} +5 -5
- package/dist/cli/{index-emwezg3y.js → index-wjet7x0a.js} +3 -3
- package/dist/cli/{index-m21x1bkx.js → index-x7pm61wk.js} +2 -0
- package/dist/cli/{index-32bxwzw0.js → index-y1sj2e1n.js} +92719 -90312
- package/dist/cli/{index-qd619x3r.js → index-z6we1abx.js} +2 -2
- package/dist/cli/{index-fenasyvr.js → index-z7z3g5wt.js} +62 -12
- package/dist/cli/index.js +44 -44
- package/dist/cli/{knowledge-escalator-p2a8xh8x.js → knowledge-escalator-5e4zxan5.js} +17 -17
- package/dist/cli/{knowledge-events-jmh28m8d.js → knowledge-events-abzm5vfh.js} +15 -15
- package/dist/cli/{knowledge-link-w1fwqts4.js → knowledge-link-9ga6hyd5.js} +6 -6
- package/dist/cli/{knowledge-store-8gmabtsn.js → knowledge-store-q4a92eq7.js} +7 -7
- package/dist/cli/{knowledge-validator-yk579vs4.js → knowledge-validator-pn3m5r41.js} +9 -9
- package/dist/cli/{model-preflight-b3b5pgsc.js → model-preflight-mw895vgt.js} +1 -1
- package/dist/cli/{pending-delegations-nw7ph53z.js → pending-delegations-3z0xjppd.js} +14 -14
- package/dist/cli/{pr-subscriptions-9815fxbc.js → pr-subscriptions-h7mwnp62.js} +14 -14
- package/dist/cli/{pr-workflow-gate-98a7b6py.js → pr-workflow-gate-fec04fa0.js} +44 -44
- package/dist/cli/{runner-nmrjv7te.js → runner-d9833azt.js} +7 -7
- package/dist/cli/{scan-cursor-6zcs0frg.js → scan-cursor-ymfvzdkz.js} +10 -10
- package/dist/cli/{schema-warvhy9h.js → schema-chc4aez6.js} +2 -2
- package/dist/cli/{scope-persistence-c2ck77cv.js → scope-persistence-3xnr59y8.js} +20 -20
- package/dist/cli/{skill-generator-jamm1cna.js → skill-generator-3mvaghxk.js} +19 -19
- package/dist/cli/{snapshot-coordination-init-st0xsn3f.js → snapshot-coordination-init-arnc77r9.js} +44 -44
- package/dist/cli/{telemetry-ce0tx41h.js → telemetry-g9pppt9e.js} +2 -2
- package/dist/cli/{workspace-snapshot-0kxj2grt.js → workspace-snapshot-hvsjtepd.js} +6 -6
- package/dist/cli/{worktree-collision-ownership-qra7r8pw.js → worktree-collision-ownership-vj8anvb7.js} +17 -17
- package/dist/cli/{worktree-isolation-yr9gnf64.js → worktree-isolation-mt7z75hz.js} +45 -45
- package/dist/commands/close/align-stage.d.ts +10 -0
- package/dist/commands/close/archive-stage.d.ts +34 -0
- package/dist/commands/close/clean-stage.d.ts +2 -0
- package/dist/commands/close/constants.d.ts +122 -0
- package/dist/commands/close/context.d.ts +129 -0
- package/dist/commands/close/db-helpers.d.ts +10 -0
- package/dist/commands/close/dry-run.d.ts +12 -0
- package/dist/commands/close/finalize-stage.d.ts +44 -0
- package/dist/commands/close/fs-helpers.d.ts +17 -0
- package/dist/commands/close/internals.d.ts +55 -0
- package/dist/commands/close/orchestrator.d.ts +32 -0
- package/dist/commands/close/wiring.d.ts +2 -0
- package/dist/commands/close.d.ts +10 -402
- package/dist/index.js +485 -485
- package/dist/lang/dispatch.d.ts +6 -6
- package/dist/utils/canonical-root.d.ts +19 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-zeb0pe2j.js +0 -71
- package/dist/cli/guardrail-explain-5vhveypz.js +0 -72
- 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-
|
|
4
|
+
} from "./index-3ws11dq0.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
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
|
-
|
|
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-
|
|
97
|
+
} from "./index-y1sj2e1n.js";
|
|
98
98
|
import"./index-d5qf7hvh.js";
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
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-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
110
|
-
import"./index-
|
|
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-
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
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-
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
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-
|
|
126
|
-
import"./index-
|
|
125
|
+
import"./index-shrf0wt3.js";
|
|
126
|
+
import"./index-syedr4e3.js";
|
|
127
127
|
import"./index-rtry5xyf.js";
|
|
128
|
-
import"./index-
|
|
128
|
+
import"./index-s7a9dqtb.js";
|
|
129
129
|
import"./index-3qf1vxtb.js";
|
|
130
130
|
import"./index-n832052r.js";
|
|
131
|
-
import"./index-
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
135
|
-
import"./index-
|
|
136
|
-
import"./index-
|
|
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-
|
|
140
|
-
import"./index-
|
|
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-
|
|
144
|
-
import"./index-
|
|
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-
|
|
151
|
-
import"./index-
|
|
152
|
-
import"./index-
|
|
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-
|
|
156
|
+
} from "./index-2b1hd1fx.js";
|
|
157
157
|
import {
|
|
158
158
|
AGENT_TOOL_MAP,
|
|
159
159
|
ORCHESTRATOR_NAME,
|
|
160
160
|
init_constants
|
|
161
|
-
} from "./index-
|
|
161
|
+
} from "./index-g5m43paw.js";
|
|
162
162
|
import"./index-bk5tah7q.js";
|
|
163
163
|
import"./index-bpmtbmy9.js";
|
|
164
164
|
import"./index-zpsr8rpc.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
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-
|
|
26
|
+
} from "./index-3r6k6qa7.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
30
30
|
readSwarmFileAsync,
|
|
31
31
|
validateSwarmPath
|
|
32
|
-
} from "./index-
|
|
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-
|
|
60
|
+
} from "./index-z7z3g5wt.js";
|
|
61
61
|
import {
|
|
62
62
|
appendCoreEventSync
|
|
63
|
-
} from "./index-
|
|
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-
|
|
71
|
+
} from "./index-962qme08.js";
|
|
72
72
|
import {
|
|
73
73
|
DURABILITY_CLASSES,
|
|
74
74
|
getProjectDb,
|
|
75
75
|
projectDbExists,
|
|
76
76
|
withDurabilityClass
|
|
77
|
-
} from "./index-
|
|
77
|
+
} from "./index-hhkm64wh.js";
|
|
78
78
|
import {
|
|
79
79
|
assertProjectRoot,
|
|
80
80
|
tryAcquireLock,
|
|
81
81
|
withEvidenceLock
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-vgpedapd.js";
|
|
83
83
|
import {
|
|
84
84
|
atomicWriteSwarmFileSync,
|
|
85
85
|
invalidateCachedArtifact,
|
|
86
86
|
readCachedParsedFile
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-x7pm61wk.js";
|
|
88
88
|
import {
|
|
89
89
|
emit
|
|
90
|
-
} from "./index-
|
|
90
|
+
} from "./index-tcj8v6my.js";
|
|
91
91
|
import {
|
|
92
92
|
canonicalRootKeyFresh
|
|
93
|
-
} from "./index-
|
|
93
|
+
} from "./index-1xnse449.js";
|
|
94
94
|
import {
|
|
95
95
|
PlanSchema
|
|
96
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-pn3m5r41.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
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-
|
|
4
|
+
} from "./index-gs12223x.js";
|
|
5
5
|
import {
|
|
6
6
|
telemetry
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-tcj8v6my.js";
|
|
8
8
|
import {
|
|
9
9
|
init_schema,
|
|
10
10
|
stripKnownSwarmPrefix
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-2b1hd1fx.js";
|
|
12
12
|
import {
|
|
13
13
|
init_constants
|
|
14
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
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-
|
|
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-
|
|
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-
|
|
8
|
+
} from "./index-hhkm64wh.js";
|
|
9
9
|
import {
|
|
10
10
|
_internals,
|
|
11
11
|
canonicalRootKeyFresh
|
|
12
|
-
} from "./index-
|
|
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-
|
|
8
|
+
} from "./index-m3z83nhs.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
27
|
+
} from "./index-x7pm61wk.js";
|
|
28
28
|
import {
|
|
29
29
|
canonicalRootKeyFresh
|
|
30
|
-
} from "./index-
|
|
30
|
+
} from "./index-1xnse449.js";
|
|
31
31
|
import {
|
|
32
32
|
advisoryWarn,
|
|
33
33
|
init_warning_buffer
|
|
34
|
-
} from "./index-
|
|
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-
|
|
5
|
+
} from "./index-962qme08.js";
|
|
6
6
|
import {
|
|
7
7
|
DURABILITY_CLASSES,
|
|
8
8
|
getProjectDb,
|
|
9
9
|
projectDbExists,
|
|
10
10
|
withImmediateTransaction
|
|
11
|
-
} from "./index-
|
|
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-
|
|
4
|
+
} from "./index-8vbahc4c.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
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-
|
|
4
|
+
} from "./index-x7pm61wk.js";
|
|
5
5
|
import {
|
|
6
6
|
pseudonymousRef,
|
|
7
7
|
resolveLineageSalt,
|
|
8
8
|
telemetry
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-tcj8v6my.js";
|
|
10
10
|
import {
|
|
11
11
|
canonicalRootKeyFresh
|
|
12
|
-
} from "./index-
|
|
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-
|
|
10
|
+
} from "./index-x7pm61wk.js";
|
|
11
11
|
import {
|
|
12
12
|
canonicalRootKeyFresh,
|
|
13
13
|
lexicalRootAliasKey
|
|
14
|
-
} from "./index-
|
|
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-
|
|
4
|
+
} from "./index-z7z3g5wt.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
|
-
} from "./index-
|
|
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-
|
|
16
|
+
} from "./index-962qme08.js";
|
|
17
17
|
import {
|
|
18
18
|
getProjectDb
|
|
19
|
-
} from "./index-
|
|
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-
|
|
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-
|
|
36
|
+
} from "./index-wjet7x0a.js";
|
|
37
37
|
import {
|
|
38
38
|
init_path_identity,
|
|
39
39
|
unsafePathTextReason
|