opencode-swarm 7.188.5 → 7.188.6
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/README.md +2 -2
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/cli/{auto-checkpoint-6z6dhqak.js → auto-checkpoint-q2xwy0hz.js} +8 -8
- package/dist/cli/{checkpoint-99vqentz.js → checkpoint-9cbytsxe.js} +13 -13
- package/dist/cli/{coder-settlement-07dkrqvy.js → coder-settlement-a74xcmtn.js} +9 -9
- package/dist/cli/{config-doctor-0pqexbab.js → config-doctor-jec44ph0.js} +12 -12
- package/dist/cli/{core-zx4az38t.js → core-yvx60mhw.js} +2 -2
- package/dist/cli/{curation-policy-nxcx99yp.js → curation-policy-65ckmmd5.js} +5 -5
- package/dist/cli/{curator-drift-0ne6gnj0.js → curator-drift-t95vqagz.js} +6 -6
- package/dist/cli/{curator-llm-factory-gdedzs6k.js → curator-llm-factory-znjp0g9d.js} +36 -36
- package/dist/cli/{curator-s08eqma1.js → curator-wr25srz6.js} +36 -36
- package/dist/cli/{doctor-knowledge-receipt-phase-id-kpzaepq8.js → doctor-knowledge-receipt-phase-id-hxyxqqya.js} +7 -7
- package/dist/cli/{evidence-summary-service-xadab4ym.js → evidence-summary-service-pzr0aw1h.js} +16 -16
- package/dist/cli/{gate-evidence-c3d7ewv4.js → gate-evidence-0dwbqya4.js} +6 -6
- package/dist/cli/{guardrail-explain-enbr5ne9.js → guardrail-explain-etssbwma.js} +37 -37
- package/dist/cli/{guardrail-log-0g59n4ae.js → guardrail-log-055340sb.js} +7 -7
- package/dist/cli/{guardrail-reset-e0m3p15n.js → guardrail-reset-zdnshfqh.js} +36 -36
- package/dist/cli/{hive-promoter-1jb0t5g2.js → hive-promoter-nphztsfb.js} +36 -36
- package/dist/cli/{index-1kd2cbcz.js → index-06c2j365.js} +3 -3
- package/dist/cli/{index-vn8phy76.js → index-0bf26e0h.js} +1 -1
- package/dist/cli/{index-8f0j6kf2.js → index-0gdyd1mx.js} +3 -3
- package/dist/cli/{index-f1wqew85.js → index-15836xvt.js} +2 -2
- package/dist/cli/{index-98zfmfnn.js → index-16f28gya.js} +4 -4
- package/dist/cli/{index-n7vy4gb3.js → index-1cz2j033.js} +6 -6
- package/dist/cli/{index-sg2agtt5.js → index-1pfga0cy.js} +1 -1
- package/dist/cli/{index-jevq7a7b.js → index-1r5k2b4v.js} +2 -2
- package/dist/cli/{index-j9swvmt3.js → index-1xa8wq76.js} +1 -1
- package/dist/cli/{index-fbwerevq.js → index-2sc36smx.js} +1 -1
- package/dist/cli/{index-dd258pfn.js → index-35ythzj4.js} +4 -4
- package/dist/cli/{index-dmnvgc03.js → index-46zge5zc.js} +4 -4
- package/dist/cli/{index-9qbn3chx.js → index-6p6m98bb.js} +1 -1
- package/dist/cli/{index-txr48a64.js → index-6yb7fhah.js} +38 -38
- package/dist/cli/{index-03ng9y76.js → index-71b12k03.js} +7 -7
- package/dist/cli/{index-wx43mc8h.js → index-8q8783g0.js} +1 -1
- package/dist/cli/{index-z11watrb.js → index-8xabhfwr.js} +2 -2
- package/dist/cli/{index-br33a6v7.js → index-99h4ez5x.js} +3 -3
- package/dist/cli/{index-vktygb4k.js → index-9bdz8cbx.js} +2 -2
- package/dist/cli/{index-cjekszvy.js → index-9c2t70wh.js} +3 -3
- package/dist/cli/{index-ykaaejka.js → index-9czp2dcg.js} +3 -3
- package/dist/cli/{index-9f7y0rym.js → index-akg9rdt1.js} +36 -36
- package/dist/cli/{index-85npnq5t.js → index-aq962xjf.js} +4 -4
- package/dist/cli/{index-h83221w1.js → index-d3rjvm9e.js} +3 -3
- package/dist/cli/{index-3b71hf2k.js → index-fce5drxa.js} +2 -2
- package/dist/cli/{index-0cdkb7e8.js → index-g1avjt26.js} +4 -4
- package/dist/cli/{index-5nwfz9bn.js → index-hh7pa3yk.js} +1 -1
- package/dist/cli/{index-4ak3ewt2.js → index-hshx5znv.js} +3 -3
- package/dist/cli/{index-ar33mkxc.js → index-jp7qd7r4.js} +4 -4
- package/dist/cli/{index-w5p9crxx.js → index-jy33tgeb.js} +4 -4
- package/dist/cli/{index-jc2ndtdt.js → index-k8sarme1.js} +1 -1
- package/dist/cli/{index-p746x44z.js → index-mv2ptr24.js} +4 -4
- package/dist/cli/{index-hq7mfqe5.js → index-q9kefh33.js} +1 -1
- package/dist/cli/{index-4m7cywkf.js → index-qkhssaay.js} +90 -77
- package/dist/cli/{index-3jn6155r.js → index-s0r30djy.js} +1 -1
- package/dist/cli/{index-1tgkj4mf.js → index-sqkz9hyj.js} +2 -2
- package/dist/cli/{index-4zran0jk.js → index-twb3f4tk.js} +1 -1
- package/dist/cli/{index-dmdg2zay.js → index-wrdktgpy.js} +2 -2
- package/dist/cli/{index-bjh6cw86.js → index-xhgq58e1.js} +4 -4
- package/dist/cli/{index-d95b3yce.js → index-yn5r962a.js} +6 -6
- package/dist/cli/{index-bstjg81q.js → index-zfbxfm2m.js} +33 -33
- package/dist/cli/index.js +37 -37
- package/dist/cli/{knowledge-escalator-c65r55bv.js → knowledge-escalator-h4wqey95.js} +13 -13
- package/dist/cli/{knowledge-events-exc94dr2.js → knowledge-events-jdj0kg0x.js} +11 -11
- package/dist/cli/{knowledge-link-kgt3zx0c.js → knowledge-link-h4pdcnya.js} +4 -4
- package/dist/cli/{knowledge-store-b2qm637m.js → knowledge-store-9pkka657.js} +5 -5
- package/dist/cli/{knowledge-validator-44pn1xrn.js → knowledge-validator-2hh4838s.js} +7 -7
- package/dist/cli/{mcp-6qjt8ey7.js → mcp-dr2qg42d.js} +1 -1
- package/dist/cli/{model-preflight-dh9dadg8.js → model-preflight-t6megn5m.js} +80 -36
- package/dist/cli/{pending-delegations-vcqw78d8.js → pending-delegations-96j63y3v.js} +7 -7
- package/dist/cli/{pr-subscriptions-2vp2sxjb.js → pr-subscriptions-qrc475pd.js} +7 -7
- package/dist/cli/{pr-workflow-gate-cy24tc3c.js → pr-workflow-gate-1hf06vw7.js} +36 -36
- package/dist/cli/{runner-zeqpd2c2.js → runner-4hfmp1ag.js} +5 -5
- package/dist/cli/{scan-cursor-3hyz0qnh.js → scan-cursor-wfa7239s.js} +6 -6
- package/dist/cli/{schema-4s2nnpqt.js → schema-v3z4wgje.js} +2 -2
- package/dist/cli/{scope-persistence-1bvaeene.js → scope-persistence-k2zq1h9h.js} +12 -12
- package/dist/cli/{server-zb4j57w6.js → server-qk8e60ah.js} +36 -36
- package/dist/cli/{skill-generator-fqh79jr7.js → skill-generator-q6jzjcer.js} +15 -15
- package/dist/cli/{snapshot-coordination-init-v50k6v2v.js → snapshot-coordination-init-h8cqcmve.js} +36 -36
- package/dist/cli/{speckit-checkoff-mcxxpmy4.js → speckit-checkoff-mh45c204.js} +4 -4
- package/dist/cli/{telemetry-eq1cwq2x.js → telemetry-kvhe94gs.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-fk6spbrf.js → worktree-collision-ownership-hm5y77hr.js} +7 -7
- package/dist/cli/{worktree-isolation-ht89tqrc.js → worktree-isolation-tdst4qs1.js} +36 -36
- package/dist/host/v2/events.d.ts +19 -1
- package/dist/host/v2/model-apply.d.ts +39 -0
- package/dist/host/v2/setup.d.ts +0 -35
- package/dist/index.js +12 -12
- package/dist/models/task-model-routing.d.ts +8 -0
- package/dist/services/model-preflight.d.ts +24 -0
- package/dist/utils/provider-error-classification.d.ts +30 -4
- package/package.json +1 -1
|
@@ -33,37 +33,37 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-hshx5znv.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-mv2ptr24.js";
|
|
39
|
+
import"./index-16f28gya.js";
|
|
40
40
|
import"./index-m9zzj4ee.js";
|
|
41
41
|
import"./index-7hr5m7yp.js";
|
|
42
42
|
import"./index-2s7dvzff.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-xhgq58e1.js";
|
|
44
|
+
import"./index-q9kefh33.js";
|
|
45
45
|
import"./index-rtry5xyf.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-99h4ez5x.js";
|
|
47
47
|
import"./index-kbkk7vnh.js";
|
|
48
48
|
import"./index-0725jpp7.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-1xa8wq76.js";
|
|
50
|
+
import"./index-yn5r962a.js";
|
|
51
51
|
import"./index-vzm6zre7.js";
|
|
52
52
|
import"./index-ae75rja9.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
53
|
+
import"./index-8q8783g0.js";
|
|
54
|
+
import"./index-hh7pa3yk.js";
|
|
55
|
+
import"./index-twb3f4tk.js";
|
|
56
56
|
import"./index-t7hmqgjy.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-d3rjvm9e.js";
|
|
58
58
|
import"./index-fzpt2djt.js";
|
|
59
59
|
import"./index-ejhxgyvm.js";
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
61
|
import"./index-p2tqzwh6.js";
|
|
62
62
|
import"./index-gx2vp8gx.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-6p6m98bb.js";
|
|
64
64
|
import"./index-zxdawwc7.js";
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
65
|
+
import"./index-1r5k2b4v.js";
|
|
66
|
+
import"./index-zfbxfm2m.js";
|
|
67
67
|
import"./index-bk5tah7q.js";
|
|
68
68
|
import"./index-gknz3bv1.js";
|
|
69
69
|
import"./index-zpsr8rpc.js";
|
package/dist/cli/{snapshot-coordination-init-v50k6v2v.js → snapshot-coordination-init-h8cqcmve.js}
RENAMED
|
@@ -8,75 +8,75 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
11
|
+
} from "./index-qkhssaay.js";
|
|
12
|
+
import"./index-jy33tgeb.js";
|
|
13
|
+
import"./index-9c2t70wh.js";
|
|
14
|
+
import"./index-06c2j365.js";
|
|
15
15
|
import"./index-vx8a8w3b.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-k8sarme1.js";
|
|
17
|
+
import"./index-8xabhfwr.js";
|
|
18
18
|
import"./index-txdagbh7.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-15836xvt.js";
|
|
20
20
|
import"./index-rdec0y3z.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
21
|
+
import"./index-s0r30djy.js";
|
|
22
|
+
import"./index-jp7qd7r4.js";
|
|
23
|
+
import"./index-hshx5znv.js";
|
|
24
|
+
import"./index-1cz2j033.js";
|
|
25
25
|
import"./index-kaqdzhj3.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-9czp2dcg.js";
|
|
27
27
|
import"./index-cjapb4hy.js";
|
|
28
28
|
import"./index-f6exny9m.js";
|
|
29
29
|
import"./index-pt7h91zc.js";
|
|
30
30
|
import"./index-q7sjgr1y.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-aq962xjf.js";
|
|
32
|
+
import"./index-71b12k03.js";
|
|
33
33
|
import"./index-6b295cas.js";
|
|
34
34
|
import"./index-9nyqt3kb.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-0bf26e0h.js";
|
|
36
36
|
import"./index-zsrtt42s.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-2sc36smx.js";
|
|
38
|
+
import"./index-0gdyd1mx.js";
|
|
39
|
+
import"./index-sqkz9hyj.js";
|
|
40
40
|
import"./index-g4fs6z4e.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-g1avjt26.js";
|
|
42
|
+
import"./index-mv2ptr24.js";
|
|
43
|
+
import"./index-16f28gya.js";
|
|
44
44
|
import"./index-m9zzj4ee.js";
|
|
45
45
|
import"./index-7hr5m7yp.js";
|
|
46
46
|
import"./index-2s7dvzff.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-xhgq58e1.js";
|
|
48
|
+
import"./index-q9kefh33.js";
|
|
49
49
|
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-99h4ez5x.js";
|
|
51
51
|
import"./index-kbkk7vnh.js";
|
|
52
52
|
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
53
|
+
import"./index-9bdz8cbx.js";
|
|
54
|
+
import"./index-46zge5zc.js";
|
|
55
|
+
import"./index-wrdktgpy.js";
|
|
56
56
|
import"./index-x1eh2636.js";
|
|
57
57
|
import"./index-ntda6tje.js";
|
|
58
58
|
import"./index-9tvjwv01.js";
|
|
59
59
|
import"./index-ry16d01s.js";
|
|
60
60
|
import"./index-rdm3px0g.js";
|
|
61
61
|
import"./index-7pmbnjvj.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
62
|
+
import"./index-1xa8wq76.js";
|
|
63
|
+
import"./index-yn5r962a.js";
|
|
64
64
|
import"./index-vzm6zre7.js";
|
|
65
65
|
import"./index-ae75rja9.js";
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
66
|
+
import"./index-8q8783g0.js";
|
|
67
|
+
import"./index-hh7pa3yk.js";
|
|
68
|
+
import"./index-twb3f4tk.js";
|
|
69
69
|
import"./index-t7hmqgjy.js";
|
|
70
|
-
import"./index-
|
|
70
|
+
import"./index-d3rjvm9e.js";
|
|
71
71
|
import"./index-fzpt2djt.js";
|
|
72
72
|
import"./index-ejhxgyvm.js";
|
|
73
73
|
import"./index-7g4c7s5r.js";
|
|
74
74
|
import"./index-p2tqzwh6.js";
|
|
75
75
|
import"./index-gx2vp8gx.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-6p6m98bb.js";
|
|
77
77
|
import"./index-zxdawwc7.js";
|
|
78
|
-
import"./index-
|
|
79
|
-
import"./index-
|
|
78
|
+
import"./index-1r5k2b4v.js";
|
|
79
|
+
import"./index-zfbxfm2m.js";
|
|
80
80
|
import"./index-bk5tah7q.js";
|
|
81
81
|
import"./index-gknz3bv1.js";
|
|
82
82
|
import"./index-zpsr8rpc.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
parseSpeckitTasksContent,
|
|
8
8
|
propagateSpeckitCheckoff,
|
|
9
9
|
writeSpeckitCheckoffLedger
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-2sc36smx.js";
|
|
11
11
|
import"./index-ejhxgyvm.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
13
|
import"./index-p2tqzwh6.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-6p6m98bb.js";
|
|
15
15
|
import"./index-zxdawwc7.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-1r5k2b4v.js";
|
|
17
|
+
import"./index-zfbxfm2m.js";
|
|
18
18
|
import"./index-bk5tah7q.js";
|
|
19
19
|
import"./index-gknz3bv1.js";
|
|
20
20
|
import"./index-zpsr8rpc.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-g1avjt26.js";
|
|
17
17
|
import"./index-7hr5m7yp.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
19
|
import"./index-x1eh2636.js";
|
|
@@ -22,15 +22,15 @@ import"./index-9tvjwv01.js";
|
|
|
22
22
|
import"./index-ry16d01s.js";
|
|
23
23
|
import"./index-rdm3px0g.js";
|
|
24
24
|
import"./index-7pmbnjvj.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
25
|
+
import"./index-1xa8wq76.js";
|
|
26
|
+
import"./index-yn5r962a.js";
|
|
27
27
|
import"./index-vzm6zre7.js";
|
|
28
28
|
import"./index-ae75rja9.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-8q8783g0.js";
|
|
30
|
+
import"./index-hh7pa3yk.js";
|
|
31
|
+
import"./index-twb3f4tk.js";
|
|
32
32
|
import"./index-t7hmqgjy.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-d3rjvm9e.js";
|
|
34
34
|
import {
|
|
35
35
|
canonicalRootKeyFresh
|
|
36
36
|
} from "./index-fzpt2djt.js";
|
|
@@ -21,77 +21,77 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
24
|
+
} from "./index-qkhssaay.js";
|
|
25
|
+
import"./index-jy33tgeb.js";
|
|
26
|
+
import"./index-9c2t70wh.js";
|
|
27
|
+
import"./index-06c2j365.js";
|
|
28
28
|
import"./index-vx8a8w3b.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-k8sarme1.js";
|
|
30
|
+
import"./index-8xabhfwr.js";
|
|
31
31
|
import"./index-txdagbh7.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-15836xvt.js";
|
|
33
33
|
import"./index-rdec0y3z.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
34
|
+
import"./index-s0r30djy.js";
|
|
35
|
+
import"./index-jp7qd7r4.js";
|
|
36
|
+
import"./index-hshx5znv.js";
|
|
37
|
+
import"./index-1cz2j033.js";
|
|
38
38
|
import"./index-kaqdzhj3.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-9czp2dcg.js";
|
|
40
40
|
import"./index-cjapb4hy.js";
|
|
41
41
|
import"./index-f6exny9m.js";
|
|
42
42
|
import"./index-pt7h91zc.js";
|
|
43
43
|
import"./index-q7sjgr1y.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-aq962xjf.js";
|
|
45
|
+
import"./index-71b12k03.js";
|
|
46
46
|
import"./index-6b295cas.js";
|
|
47
47
|
import"./index-9nyqt3kb.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-0bf26e0h.js";
|
|
49
49
|
import"./index-zsrtt42s.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
50
|
+
import"./index-2sc36smx.js";
|
|
51
|
+
import"./index-0gdyd1mx.js";
|
|
52
|
+
import"./index-sqkz9hyj.js";
|
|
53
53
|
import"./index-g4fs6z4e.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-g1avjt26.js";
|
|
55
|
+
import"./index-mv2ptr24.js";
|
|
56
|
+
import"./index-16f28gya.js";
|
|
57
57
|
import"./index-m9zzj4ee.js";
|
|
58
58
|
import"./index-7hr5m7yp.js";
|
|
59
59
|
import"./index-2s7dvzff.js";
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
60
|
+
import"./index-xhgq58e1.js";
|
|
61
|
+
import"./index-q9kefh33.js";
|
|
62
62
|
import"./index-rtry5xyf.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveWorktreeIsolationConfig
|
|
65
|
-
} from "./index-
|
|
65
|
+
} from "./index-99h4ez5x.js";
|
|
66
66
|
import"./index-kbkk7vnh.js";
|
|
67
67
|
import"./index-0725jpp7.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
68
|
+
import"./index-9bdz8cbx.js";
|
|
69
|
+
import"./index-46zge5zc.js";
|
|
70
|
+
import"./index-wrdktgpy.js";
|
|
71
71
|
import"./index-x1eh2636.js";
|
|
72
72
|
import"./index-ntda6tje.js";
|
|
73
73
|
import"./index-9tvjwv01.js";
|
|
74
74
|
import"./index-ry16d01s.js";
|
|
75
75
|
import"./index-rdm3px0g.js";
|
|
76
76
|
import"./index-7pmbnjvj.js";
|
|
77
|
-
import"./index-
|
|
78
|
-
import"./index-
|
|
77
|
+
import"./index-1xa8wq76.js";
|
|
78
|
+
import"./index-yn5r962a.js";
|
|
79
79
|
import"./index-vzm6zre7.js";
|
|
80
80
|
import"./index-ae75rja9.js";
|
|
81
|
-
import"./index-
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
81
|
+
import"./index-8q8783g0.js";
|
|
82
|
+
import"./index-hh7pa3yk.js";
|
|
83
|
+
import"./index-twb3f4tk.js";
|
|
84
84
|
import"./index-t7hmqgjy.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-d3rjvm9e.js";
|
|
86
86
|
import"./index-fzpt2djt.js";
|
|
87
87
|
import"./index-ejhxgyvm.js";
|
|
88
88
|
import"./index-7g4c7s5r.js";
|
|
89
89
|
import"./index-p2tqzwh6.js";
|
|
90
90
|
import"./index-gx2vp8gx.js";
|
|
91
|
-
import"./index-
|
|
91
|
+
import"./index-6p6m98bb.js";
|
|
92
92
|
import"./index-zxdawwc7.js";
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
93
|
+
import"./index-1r5k2b4v.js";
|
|
94
|
+
import"./index-zfbxfm2m.js";
|
|
95
95
|
import"./index-bk5tah7q.js";
|
|
96
96
|
import"./index-gknz3bv1.js";
|
|
97
97
|
import"./index-zpsr8rpc.js";
|
package/dist/host/v2/events.d.ts
CHANGED
|
@@ -12,14 +12,22 @@
|
|
|
12
12
|
* ------------------------+-------------------------------------------
|
|
13
13
|
* session.idle → { type: 'session.idle', properties }
|
|
14
14
|
* session.status.updated → { type: 'session.idle', properties } (state watch)
|
|
15
|
+
* session.status → { type: 'session.status', properties } (type-preserving; #3022)
|
|
15
16
|
* session.text.delta → { type: 'message.part.updated', properties }
|
|
16
17
|
* session.text.ended → { type: 'message.updated', properties }
|
|
17
18
|
* session.tool.called → { type: 'message.part.updated', properties }
|
|
18
19
|
* session.tool.success → { type: 'message.updated', properties }
|
|
19
20
|
* session.tool.failed → { type: 'message.updated', properties }
|
|
20
21
|
* session.execution.failed → { type: 'session.error', properties }
|
|
22
|
+
* session.error → { type: 'session.error', properties } (SDK dialect; #3022)
|
|
21
23
|
* session.deleted / session.created → same-name v1 types
|
|
22
24
|
*
|
|
25
|
+
* Payload dialect (#3022 D3 live capture): plugin-stream envelopes carry the
|
|
26
|
+
* payload under `data` (live 2.0.21 emits `session.execution.failed` with
|
|
27
|
+
* `data:{sessionID, error:{...}}`); the @opencode-ai/sdk SSE/REST dialect
|
|
28
|
+
* carries it under `properties` with the error event named `session.error`.
|
|
29
|
+
* Both names and both payload keys are accepted.
|
|
30
|
+
*
|
|
23
31
|
* Unmapped event types are counted in a bounded debug log, never silently
|
|
24
32
|
* assumed. This module is named deferred-/startDeferred- per the C6 await
|
|
25
33
|
* convention (its awaits live in deferred-named helpers).
|
|
@@ -32,7 +40,17 @@ interface MappedEvent {
|
|
|
32
40
|
/** Map a v2 event envelope onto the v1 handler input (or undefined). */
|
|
33
41
|
export declare function mapV2EventToV1(envelope: V2EventEnvelope): MappedEvent | undefined;
|
|
34
42
|
/**
|
|
35
|
-
*
|
|
43
|
+
* Seed v1 session identity from identity-bearing v2 envelopes (issue #3022 D1).
|
|
44
|
+
*
|
|
45
|
+
* Live capture (d3/run2.log): `session.created` and `session.agent.selected`
|
|
46
|
+
* carry `data.agent`. This runs PUMP-SIDE (not as mapper case labels — those
|
|
47
|
+
* names are in neither the SDK union nor the mapper's legacy allowlist, and
|
|
48
|
+
* Branch B of the v1 session.error arm resolves identity through
|
|
49
|
+
* `recordSessionChatAgent`'s map, the same bounded store the v1 chat boundary
|
|
50
|
+
* writes). Fail-open by construction: non-string fields are ignored.
|
|
51
|
+
*/
|
|
52
|
+
export declare function seedSessionIdentityFromEnvelope(envelope: V2EventEnvelope): void;
|
|
53
|
+
/** Start the detached event pump. Returns a stop function. Named per the C6
|
|
36
54
|
* convention (deferred).
|
|
37
55
|
*/
|
|
38
56
|
export declare function startDeferredEventPump(ctx: V2PluginContext, hooks: V1HooksSubset): () => void;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* v2 runtime agent-model application (issue #3022, AC3).
|
|
3
|
+
*
|
|
4
|
+
* The v1 fallback loop closes through `output.message.model` at the
|
|
5
|
+
* chat.message boundary — a surface the v2 SessionPrompt event does not carry
|
|
6
|
+
* (docs/host/v2-hook-inventory.md row 13). The v2-native equivalent is
|
|
7
|
+
* rewriting the agent's `model` reference through the host-provided
|
|
8
|
+
* `ctx.agent.transform` entry: the AgentDraft editor is callback-scoped
|
|
9
|
+
* (src/host/v2/agents-commands.ts registers through the same primitive), so
|
|
10
|
+
* the apply re-invokes the stored transform surface at advance time.
|
|
11
|
+
*
|
|
12
|
+
* KEYING CONTRACT (plan-critic round 2): the v2 AgentEditor is keyed by the
|
|
13
|
+
* EXACT REGISTERED agent name (multi-swarm configs register `local_coder`
|
|
14
|
+
* etc.), and `editor.update(id, fn)` is create-or-update — callers MUST pass
|
|
15
|
+
* the registration key (`routeModel.exactAgentName`), never the bare
|
|
16
|
+
* prefix-stripped role, or a phantom bare-name agent would be created.
|
|
17
|
+
*
|
|
18
|
+
* Everything here is fail-open: with no registered surface (v1 hosts, or a v2
|
|
19
|
+
* host without the agent domain) the apply is a logged no-op.
|
|
20
|
+
*/
|
|
21
|
+
import type { V2PluginContext } from './types';
|
|
22
|
+
/**
|
|
23
|
+
* Remember the v2 agent transform surface for later model rewrites. Called
|
|
24
|
+
* once from setup after agent registration; cleared on cleanup.
|
|
25
|
+
*/
|
|
26
|
+
export declare function registerV2AgentTransformSurface(ctx: V2PluginContext): void;
|
|
27
|
+
/**
|
|
28
|
+
* Drop the registered surface and dispose every held apply registration
|
|
29
|
+
* (v2 cleanup). Best-effort: disposal failure is logged, never thrown.
|
|
30
|
+
*/
|
|
31
|
+
export declare function clearV2AgentTransformSurface(): void;
|
|
32
|
+
/** True when a v2 apply surface is registered (test/diagnostic seam). */
|
|
33
|
+
export declare function hasV2AgentTransformSurface(): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Rewrite one registered agent's model to `modelString` ('provider/model').
|
|
36
|
+
* Returns true when a surface existed and the transform completed within the
|
|
37
|
+
* budget; false (logged, non-fatal) otherwise. No-op on v1 hosts.
|
|
38
|
+
*/
|
|
39
|
+
export declare function applyV2AgentModelOverride(agentName: string, modelString: string): Promise<boolean>;
|
package/dist/host/v2/setup.d.ts
CHANGED
|
@@ -1,38 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OpenCode 2 (v2 plugin API) setup entrypoint — issue #3004 / #2910.
|
|
3
|
-
*
|
|
4
|
-
* The v2 host validates the plugin's default export against
|
|
5
|
-
* `{ id, setup | effect }` (sst/opencode v2 line, packages/core/src/plugin/
|
|
6
|
-
* module.ts). The v1 `server()` path stays byte-stable for OpenCode 1 hosts;
|
|
7
|
-
* this module is what `setup(ctx)` runs on OpenCode 2 hosts.
|
|
8
|
-
*
|
|
9
|
-
* Architecture (ADR-0003): the adapter reuses the SAME initialization core and
|
|
10
|
-
* the SAME v1 hook set — it only TRANSLATES registration surfaces:
|
|
11
|
-
*
|
|
12
|
-
* - tools: `hooks.tool` map → `ctx.tool.transform(editor.add)` (one source,
|
|
13
|
-
* `buildPluginToolObject`; no parallel name list — enforced by
|
|
14
|
-
* scripts/check-tool-registration.ts);
|
|
15
|
-
* - agents + commands: the v1 `config` hook is invoked against a synthetic
|
|
16
|
-
* `opencodeConfig` object, making the config hook itself the shared
|
|
17
|
-
* builder (auto-select promotions and the command table are reused
|
|
18
|
-
* verbatim — zero extraction from src/index.ts);
|
|
19
|
-
* - guidance: the v1 messages/system transform chains run against a
|
|
20
|
-
* translated session event; the #2526 USER-role guidance carriers the
|
|
21
|
-
* messages chain materializes are re-homed into `event.system` (v2 renders
|
|
22
|
-
* system natively — the user→system transport delta is recorded in
|
|
23
|
-
* docs/host/v2-hook-inventory.md);
|
|
24
|
-
* - lifecycle: tool execute.before/after, compaction, prompt hooks and the
|
|
25
|
-
* event subscription are wired with payload translation; `setup` returns
|
|
26
|
-
* a single Cleanup that disposes every Registration and runs the v1
|
|
27
|
-
* dispose teardown.
|
|
28
|
-
*
|
|
29
|
-
* Init boundedness (AGENTS.md invariant 1): every `await` in src/host/** is
|
|
30
|
-
* either on the same physical line as a `withTimeout(` call or inside a
|
|
31
|
-
* function named deferred-…/cleanup-… (the frozen C6 source-scan convention).
|
|
32
|
-
* The shared initialization wrapper (`deps.runInit`) is injected by
|
|
33
|
-
* src/index.ts so no module cycle is created and the FATAL-fail surface stays
|
|
34
|
-
* with the v1 wrapper.
|
|
35
|
-
*/
|
|
36
1
|
import type { V1HooksSubset, V2PluginContext } from './types';
|
|
37
2
|
/** Dependencies injected from src/index.ts (avoids an index↔host cycle). */
|
|
38
3
|
export interface V2SetupDependencies {
|