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
|
@@ -3,64 +3,64 @@ import {
|
|
|
3
3
|
getAgentSession,
|
|
4
4
|
getBlockingActionCircuit,
|
|
5
5
|
resetActionCircuitExternally
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-y1sj2e1n.js";
|
|
7
7
|
import"./index-d5qf7hvh.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
8
|
+
import"./index-k73ehxa1.js";
|
|
9
|
+
import"./index-dme7wvwg.js";
|
|
10
|
+
import"./index-f8cc92g7.js";
|
|
11
|
+
import"./index-rrne6g2m.js";
|
|
12
|
+
import"./index-arqv4psy.js";
|
|
13
|
+
import"./index-83r0v5tn.js";
|
|
13
14
|
import"./index-txdagbh7.js";
|
|
15
|
+
import"./index-9br68j86.js";
|
|
14
16
|
import"./index-cw912re7.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-9ss2m4rs.js";
|
|
21
|
-
import"./index-3nm1b3t2.js";
|
|
17
|
+
import"./index-f91fhch0.js";
|
|
18
|
+
import"./index-ce8p9t28.js";
|
|
19
|
+
import"./index-pdcperq5.js";
|
|
20
|
+
import"./index-fyfbpz4f.js";
|
|
21
|
+
import"./index-mtepgqan.js";
|
|
22
22
|
import"./index-zsrtt42s.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
23
|
+
import"./index-5sjq3shs.js";
|
|
24
|
+
import"./index-m7cwnt9r.js";
|
|
25
|
+
import"./index-gmjg65tm.js";
|
|
26
26
|
import"./index-b43rt5ph.js";
|
|
27
27
|
import"./index-q7sjgr1y.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
28
|
+
import"./index-3r6k6qa7.js";
|
|
29
|
+
import"./index-09gv90d7.js";
|
|
30
|
+
import"./index-sjkg2hc4.js";
|
|
31
|
+
import"./index-m3z83nhs.js";
|
|
32
|
+
import"./index-8vbahc4c.js";
|
|
33
33
|
import"./index-p612v1mv.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-shrf0wt3.js";
|
|
35
|
+
import"./index-syedr4e3.js";
|
|
36
36
|
import"./index-rtry5xyf.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-s7a9dqtb.js";
|
|
38
38
|
import"./index-3qf1vxtb.js";
|
|
39
39
|
import"./index-n832052r.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-ry16d01s.js";
|
|
40
|
+
import"./index-jhd3pmd1.js";
|
|
41
|
+
import"./index-z7z3g5wt.js";
|
|
42
|
+
import"./index-z6we1abx.js";
|
|
43
|
+
import"./index-g409c7ke.js";
|
|
44
|
+
import"./index-962qme08.js";
|
|
45
|
+
import"./index-hhkm64wh.js";
|
|
47
46
|
import"./index-n4fzmqz8.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-ry16d01s.js";
|
|
48
|
+
import"./index-gs12223x.js";
|
|
49
|
+
import"./index-18rfc7qv.js";
|
|
50
50
|
import"./index-vzm6zre7.js";
|
|
51
51
|
import"./index-ae75rja9.js";
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-m21x1bkx.js";
|
|
55
|
-
import"./index-f6zgz02s.js";
|
|
56
|
-
import"./index-7qefgq4j.js";
|
|
57
|
-
import"./index-ee6ydtfe.js";
|
|
52
|
+
import"./index-0q839sg6.js";
|
|
53
|
+
import"./index-vgpedapd.js";
|
|
58
54
|
import"./index-7g4c7s5r.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
55
|
+
import"./index-x7pm61wk.js";
|
|
56
|
+
import"./index-tcj8v6my.js";
|
|
57
|
+
import"./index-1xnse449.js";
|
|
58
|
+
import"./index-ee6ydtfe.js";
|
|
59
|
+
import"./index-wjet7x0a.js";
|
|
60
|
+
import"./index-0mhftbpp.js";
|
|
61
|
+
import"./index-a1w58b47.js";
|
|
62
|
+
import"./index-2b1hd1fx.js";
|
|
63
|
+
import"./index-g5m43paw.js";
|
|
64
64
|
import"./index-bk5tah7q.js";
|
|
65
65
|
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-zpsr8rpc.js";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
_internals3 as _internals,
|
|
4
|
+
checkHivePromotions,
|
|
5
|
+
countDistinctProjects,
|
|
6
|
+
createHivePromoterHook,
|
|
7
|
+
isHiveEligible,
|
|
8
|
+
promoteFromSwarm,
|
|
9
|
+
promoteToHive
|
|
10
|
+
} from "./index-y1sj2e1n.js";
|
|
11
|
+
import"./index-d5qf7hvh.js";
|
|
12
|
+
import"./index-k73ehxa1.js";
|
|
13
|
+
import"./index-dme7wvwg.js";
|
|
14
|
+
import"./index-f8cc92g7.js";
|
|
15
|
+
import"./index-rrne6g2m.js";
|
|
16
|
+
import"./index-arqv4psy.js";
|
|
17
|
+
import"./index-83r0v5tn.js";
|
|
18
|
+
import"./index-txdagbh7.js";
|
|
19
|
+
import"./index-9br68j86.js";
|
|
20
|
+
import"./index-cw912re7.js";
|
|
21
|
+
import"./index-f91fhch0.js";
|
|
22
|
+
import"./index-ce8p9t28.js";
|
|
23
|
+
import"./index-pdcperq5.js";
|
|
24
|
+
import"./index-fyfbpz4f.js";
|
|
25
|
+
import"./index-mtepgqan.js";
|
|
26
|
+
import"./index-zsrtt42s.js";
|
|
27
|
+
import"./index-5sjq3shs.js";
|
|
28
|
+
import"./index-m7cwnt9r.js";
|
|
29
|
+
import"./index-gmjg65tm.js";
|
|
30
|
+
import"./index-b43rt5ph.js";
|
|
31
|
+
import"./index-q7sjgr1y.js";
|
|
32
|
+
import"./index-3r6k6qa7.js";
|
|
33
|
+
import"./index-09gv90d7.js";
|
|
34
|
+
import"./index-sjkg2hc4.js";
|
|
35
|
+
import"./index-m3z83nhs.js";
|
|
36
|
+
import"./index-8vbahc4c.js";
|
|
37
|
+
import"./index-p612v1mv.js";
|
|
38
|
+
import"./index-shrf0wt3.js";
|
|
39
|
+
import"./index-syedr4e3.js";
|
|
40
|
+
import"./index-rtry5xyf.js";
|
|
41
|
+
import"./index-s7a9dqtb.js";
|
|
42
|
+
import"./index-3qf1vxtb.js";
|
|
43
|
+
import"./index-n832052r.js";
|
|
44
|
+
import"./index-jhd3pmd1.js";
|
|
45
|
+
import"./index-z7z3g5wt.js";
|
|
46
|
+
import"./index-z6we1abx.js";
|
|
47
|
+
import"./index-g409c7ke.js";
|
|
48
|
+
import"./index-962qme08.js";
|
|
49
|
+
import"./index-hhkm64wh.js";
|
|
50
|
+
import"./index-n4fzmqz8.js";
|
|
51
|
+
import"./index-ry16d01s.js";
|
|
52
|
+
import"./index-gs12223x.js";
|
|
53
|
+
import {
|
|
54
|
+
resolveHiveKnowledgePath
|
|
55
|
+
} from "./index-18rfc7qv.js";
|
|
56
|
+
import"./index-vzm6zre7.js";
|
|
57
|
+
import"./index-ae75rja9.js";
|
|
58
|
+
import"./index-0q839sg6.js";
|
|
59
|
+
import"./index-vgpedapd.js";
|
|
60
|
+
import"./index-7g4c7s5r.js";
|
|
61
|
+
import"./index-x7pm61wk.js";
|
|
62
|
+
import"./index-tcj8v6my.js";
|
|
63
|
+
import"./index-1xnse449.js";
|
|
64
|
+
import"./index-ee6ydtfe.js";
|
|
65
|
+
import"./index-wjet7x0a.js";
|
|
66
|
+
import"./index-0mhftbpp.js";
|
|
67
|
+
import"./index-a1w58b47.js";
|
|
68
|
+
import"./index-2b1hd1fx.js";
|
|
69
|
+
import"./index-g5m43paw.js";
|
|
70
|
+
import"./index-bk5tah7q.js";
|
|
71
|
+
import"./index-bpmtbmy9.js";
|
|
72
|
+
import"./index-zpsr8rpc.js";
|
|
73
|
+
import"./index-q1r1cfww.js";
|
|
74
|
+
import"./index-yzjaj53h.js";
|
|
75
|
+
import"./index-zgwm4ryv.js";
|
|
76
|
+
import"./index-a76rekgs.js";
|
|
77
|
+
export {
|
|
78
|
+
resolveHiveKnowledgePath,
|
|
79
|
+
promoteToHive,
|
|
80
|
+
promoteFromSwarm,
|
|
81
|
+
isHiveEligible,
|
|
82
|
+
createHivePromoterHook,
|
|
83
|
+
countDistinctProjects,
|
|
84
|
+
checkHivePromotions,
|
|
85
|
+
_internals
|
|
86
|
+
};
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
init_git_executable,
|
|
7
7
|
resolveGitExecutable
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-0mhftbpp.js";
|
|
9
9
|
import {
|
|
10
10
|
advisoryWarn,
|
|
11
11
|
init_warning_buffer
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-a1w58b47.js";
|
|
13
13
|
import {
|
|
14
14
|
SWARM_WORKTREE_DIR_NAME,
|
|
15
15
|
init_constants
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-g5m43paw.js";
|
|
17
17
|
import {
|
|
18
18
|
log
|
|
19
19
|
} from "./index-zgwm4ryv.js";
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-3xnr59y8.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
} from "./index-ae75rja9.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveKnowledgeStoreDir
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-0q839sg6.js";
|
|
15
15
|
import {
|
|
16
16
|
atomicWriteFile
|
|
17
|
-
} from "./index-
|
|
18
|
-
import {
|
|
19
|
-
readCachedParsedFile
|
|
20
|
-
} from "./index-m21x1bkx.js";
|
|
17
|
+
} from "./index-vgpedapd.js";
|
|
21
18
|
import {
|
|
22
19
|
require_proper_lockfile
|
|
23
20
|
} from "./index-7g4c7s5r.js";
|
|
21
|
+
import {
|
|
22
|
+
readCachedParsedFile
|
|
23
|
+
} from "./index-x7pm61wk.js";
|
|
24
24
|
import {
|
|
25
25
|
init_knowledge_types,
|
|
26
26
|
isActiveStatus
|
|
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
739
739
|
const {
|
|
740
740
|
readAuthoritativeKnowledgeCounterRollups,
|
|
741
741
|
effectiveRetrievalOutcomes
|
|
742
|
-
} = await import("./knowledge-events-
|
|
742
|
+
} = await import("./knowledge-events-abzm5vfh.js");
|
|
743
743
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
744
744
|
const flagIds = new Set;
|
|
745
745
|
for (const e of atFloor) {
|
|
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
808
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
809
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
810
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
809
|
+
const { quarantineEntry } = await import("./knowledge-validator-pn3m5r41.js");
|
|
810
|
+
const { KnowledgeConfigSchema } = await import("./schema-chc4aez6.js");
|
|
811
811
|
let config;
|
|
812
812
|
try {
|
|
813
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
813
|
+
const { loadPluginConfigWithMeta } = await import("./index-ehq2vtkq.js");
|
|
814
814
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
815
815
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
816
816
|
} catch {
|
|
@@ -18,6 +18,9 @@ function normalizeIdentityPath(resolved) {
|
|
|
18
18
|
function lexicalRootAliasKey(directory) {
|
|
19
19
|
return normalizeIdentityPath(path.resolve(directory));
|
|
20
20
|
}
|
|
21
|
+
function canonicalRootKeyLexical(directory) {
|
|
22
|
+
return lexicalRootAliasKey(directory);
|
|
23
|
+
}
|
|
21
24
|
function resolveCanonicalRootKey(directory) {
|
|
22
25
|
let resolved = path.resolve(directory);
|
|
23
26
|
try {
|
|
@@ -29,6 +32,13 @@ function resolveCanonicalRootKey(directory) {
|
|
|
29
32
|
}
|
|
30
33
|
return normalizeIdentityPath(resolved);
|
|
31
34
|
}
|
|
35
|
+
async function canonicalRootKeyFreshAsync(directory) {
|
|
36
|
+
let resolved = path.resolve(directory);
|
|
37
|
+
try {
|
|
38
|
+
resolved = await fsSync.promises.realpath(resolved);
|
|
39
|
+
} catch {}
|
|
40
|
+
return normalizeIdentityPath(resolved);
|
|
41
|
+
}
|
|
32
42
|
function canonicalRootKey(directory) {
|
|
33
43
|
const memoized = canonicalRootMemo.get(directory);
|
|
34
44
|
if (memoized !== undefined) {
|
|
@@ -68,4 +78,4 @@ function sessionKeySuffix(sessionId) {
|
|
|
68
78
|
return `${SESSION_KEY_SEPARATOR}${sessionId}`;
|
|
69
79
|
}
|
|
70
80
|
|
|
71
|
-
export { _internals, lexicalRootAliasKey, canonicalRootKey, canonicalRootKeyFresh, sameProjectRoot, compositeSessionKey, sessionKeySuffix };
|
|
81
|
+
export { _internals, lexicalRootAliasKey, canonicalRootKeyLexical, canonicalRootKeyFreshAsync, canonicalRootKey, canonicalRootKeyFresh, sameProjectRoot, compositeSessionKey, sessionKeySuffix };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
DOMAIN_EXPERT_COUNCIL_PROMPT,
|
|
4
|
+
GENERALIST_COUNCIL_PROMPT,
|
|
5
|
+
SECURITY_CATEGORIES,
|
|
6
|
+
SKEPTIC_COUNCIL_PROMPT,
|
|
7
|
+
_internals,
|
|
8
|
+
createAgents,
|
|
9
|
+
createArchitectAgent,
|
|
10
|
+
createCoderAgent,
|
|
11
|
+
createCriticAgent,
|
|
12
|
+
createCuratorAgent,
|
|
13
|
+
createDesignerAgent,
|
|
14
|
+
createDocsAgent,
|
|
15
|
+
createResearcherAgent,
|
|
16
|
+
createReviewerAgent,
|
|
17
|
+
createSMEAgent,
|
|
18
|
+
createTestEngineerAgent,
|
|
19
|
+
extractSwarmIdFromAgentName,
|
|
20
|
+
getAgentConfigs,
|
|
21
|
+
getSwarmAgents,
|
|
22
|
+
resolveFallbackModel,
|
|
23
|
+
resolvePrimaryAgentNames,
|
|
24
|
+
stripSwarmPrefix
|
|
25
|
+
} from "./index-y1sj2e1n.js";
|
|
26
|
+
import"./index-d5qf7hvh.js";
|
|
27
|
+
import"./index-k73ehxa1.js";
|
|
28
|
+
import"./index-dme7wvwg.js";
|
|
29
|
+
import"./index-f8cc92g7.js";
|
|
30
|
+
import"./index-rrne6g2m.js";
|
|
31
|
+
import"./index-arqv4psy.js";
|
|
32
|
+
import"./index-83r0v5tn.js";
|
|
33
|
+
import"./index-txdagbh7.js";
|
|
34
|
+
import"./index-9br68j86.js";
|
|
35
|
+
import"./index-cw912re7.js";
|
|
36
|
+
import"./index-f91fhch0.js";
|
|
37
|
+
import"./index-ce8p9t28.js";
|
|
38
|
+
import"./index-pdcperq5.js";
|
|
39
|
+
import {
|
|
40
|
+
createExplorerAgent
|
|
41
|
+
} from "./index-fyfbpz4f.js";
|
|
42
|
+
import"./index-mtepgqan.js";
|
|
43
|
+
import"./index-zsrtt42s.js";
|
|
44
|
+
import"./index-5sjq3shs.js";
|
|
45
|
+
import"./index-m7cwnt9r.js";
|
|
46
|
+
import"./index-gmjg65tm.js";
|
|
47
|
+
import"./index-b43rt5ph.js";
|
|
48
|
+
import"./index-q7sjgr1y.js";
|
|
49
|
+
import"./index-3r6k6qa7.js";
|
|
50
|
+
import"./index-09gv90d7.js";
|
|
51
|
+
import"./index-sjkg2hc4.js";
|
|
52
|
+
import"./index-m3z83nhs.js";
|
|
53
|
+
import"./index-8vbahc4c.js";
|
|
54
|
+
import"./index-p612v1mv.js";
|
|
55
|
+
import"./index-shrf0wt3.js";
|
|
56
|
+
import"./index-syedr4e3.js";
|
|
57
|
+
import"./index-rtry5xyf.js";
|
|
58
|
+
import"./index-s7a9dqtb.js";
|
|
59
|
+
import"./index-3qf1vxtb.js";
|
|
60
|
+
import"./index-n832052r.js";
|
|
61
|
+
import"./index-jhd3pmd1.js";
|
|
62
|
+
import"./index-z7z3g5wt.js";
|
|
63
|
+
import"./index-z6we1abx.js";
|
|
64
|
+
import"./index-g409c7ke.js";
|
|
65
|
+
import"./index-962qme08.js";
|
|
66
|
+
import"./index-hhkm64wh.js";
|
|
67
|
+
import"./index-n4fzmqz8.js";
|
|
68
|
+
import"./index-ry16d01s.js";
|
|
69
|
+
import"./index-gs12223x.js";
|
|
70
|
+
import"./index-18rfc7qv.js";
|
|
71
|
+
import"./index-vzm6zre7.js";
|
|
72
|
+
import"./index-ae75rja9.js";
|
|
73
|
+
import"./index-0q839sg6.js";
|
|
74
|
+
import"./index-vgpedapd.js";
|
|
75
|
+
import"./index-7g4c7s5r.js";
|
|
76
|
+
import"./index-x7pm61wk.js";
|
|
77
|
+
import"./index-tcj8v6my.js";
|
|
78
|
+
import"./index-1xnse449.js";
|
|
79
|
+
import"./index-ee6ydtfe.js";
|
|
80
|
+
import"./index-wjet7x0a.js";
|
|
81
|
+
import"./index-0mhftbpp.js";
|
|
82
|
+
import"./index-a1w58b47.js";
|
|
83
|
+
import"./index-2b1hd1fx.js";
|
|
84
|
+
import"./index-g5m43paw.js";
|
|
85
|
+
import"./index-bk5tah7q.js";
|
|
86
|
+
import"./index-bpmtbmy9.js";
|
|
87
|
+
import"./index-zpsr8rpc.js";
|
|
88
|
+
import"./index-q1r1cfww.js";
|
|
89
|
+
import"./index-yzjaj53h.js";
|
|
90
|
+
import"./index-zgwm4ryv.js";
|
|
91
|
+
import"./index-a76rekgs.js";
|
|
92
|
+
export {
|
|
93
|
+
stripSwarmPrefix,
|
|
94
|
+
resolvePrimaryAgentNames,
|
|
95
|
+
resolveFallbackModel,
|
|
96
|
+
getSwarmAgents,
|
|
97
|
+
getAgentConfigs,
|
|
98
|
+
extractSwarmIdFromAgentName,
|
|
99
|
+
createTestEngineerAgent,
|
|
100
|
+
createSMEAgent,
|
|
101
|
+
createReviewerAgent,
|
|
102
|
+
createResearcherAgent,
|
|
103
|
+
createExplorerAgent,
|
|
104
|
+
createDocsAgent,
|
|
105
|
+
createDesignerAgent,
|
|
106
|
+
createCuratorAgent,
|
|
107
|
+
createCriticAgent,
|
|
108
|
+
createCoderAgent,
|
|
109
|
+
createArchitectAgent,
|
|
110
|
+
createAgents,
|
|
111
|
+
_internals,
|
|
112
|
+
SKEPTIC_COUNCIL_PROMPT,
|
|
113
|
+
SECURITY_CATEGORIES,
|
|
114
|
+
GENERALIST_COUNCIL_PROMPT,
|
|
115
|
+
DOMAIN_EXPERT_COUNCIL_PROMPT
|
|
116
|
+
};
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ALL_AGENT_NAMES,
|
|
4
4
|
SUMMARIZER_EXEMPT_TOOL_NAMES,
|
|
5
5
|
init_constants
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-g5m43paw.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.167.
|
|
24
|
+
version: "7.167.2",
|
|
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",
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
autoCommitDirty,
|
|
4
4
|
cleanUntrackedFiles
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-09gv90d7.js";
|
|
6
6
|
import {
|
|
7
7
|
validateSwarmPath
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-8vbahc4c.js";
|
|
9
9
|
import {
|
|
10
10
|
bunSpawn,
|
|
11
11
|
classifySpawnFailure
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
atomicWriteFile,
|
|
16
16
|
taskEvidencePath,
|
|
17
17
|
withTaskEvidenceLock
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-vgpedapd.js";
|
|
19
19
|
import {
|
|
20
20
|
telemetry
|
|
21
|
-
} from "./index-
|
|
21
|
+
} from "./index-tcj8v6my.js";
|
|
22
22
|
import {
|
|
23
23
|
init_git_executable,
|
|
24
24
|
resolveGitExecutable
|
|
25
|
-
} from "./index-
|
|
25
|
+
} from "./index-0mhftbpp.js";
|
|
26
26
|
import {
|
|
27
27
|
advisoryWarn,
|
|
28
28
|
init_warning_buffer
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-a1w58b47.js";
|
|
30
30
|
import {
|
|
31
31
|
exports_external,
|
|
32
32
|
init_zod
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-y1sj2e1n.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-dme7wvwg.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
captureWorkspaceSnapshotAsync,
|
|
4
4
|
changedFilesSinceSnapshotAsync
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-m7cwnt9r.js";
|
|
6
6
|
import {
|
|
7
7
|
removeWorktreeProvisioningOwner
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-gmjg65tm.js";
|
|
9
9
|
import {
|
|
10
10
|
SOURCE_WORKTREE_GONE_STAGE,
|
|
11
11
|
ensureTaskGateRequirementsReceiptForSettledTransition,
|
|
@@ -14,27 +14,27 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-3r6k6qa7.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-8vbahc4c.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
23
|
+
} from "./index-z6we1abx.js";
|
|
24
24
|
import {
|
|
25
25
|
tryAcquireLock
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-vgpedapd.js";
|
|
27
27
|
import {
|
|
28
28
|
canonicalRootKeyFresh
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-1xnse449.js";
|
|
30
30
|
import {
|
|
31
31
|
init_git_executable,
|
|
32
32
|
resolveGitExecutable
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-0mhftbpp.js";
|
|
34
34
|
import {
|
|
35
35
|
advisoryWarn,
|
|
36
36
|
init_warning_buffer
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-a1w58b47.js";
|
|
38
38
|
import {
|
|
39
39
|
init_path_identity,
|
|
40
40
|
isPathWithinDeclaredScope
|
|
@@ -489,7 +489,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
489
489
|
awaitingMergeByCallID,
|
|
490
490
|
cleanupStandardWorktreeForCallId,
|
|
491
491
|
standardWorktreeByCallID
|
|
492
|
-
} = await import("./worktree-isolation-
|
|
492
|
+
} = await import("./worktree-isolation-mt7z75hz.js");
|
|
493
493
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
494
494
|
if (hasResidue)
|
|
495
495
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -613,7 +613,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
613
613
|
awaitingMergeByCallID,
|
|
614
614
|
finishStandardWorktreeDispatch,
|
|
615
615
|
standardWorktreeByCallID
|
|
616
|
-
} = await import("./worktree-isolation-
|
|
616
|
+
} = await import("./worktree-isolation-mt7z75hz.js");
|
|
617
617
|
const descriptor = wal.worktree;
|
|
618
618
|
const reconstructedDispatch = {
|
|
619
619
|
callID: descriptor.callID,
|