opencode-swarm 7.188.3 → 7.188.4
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/cli/{auto-checkpoint-9scxvjvr.js → auto-checkpoint-gp13e1h5.js} +8 -8
- package/dist/cli/{checkpoint-rq5eqyft.js → checkpoint-61vy6pjg.js} +16 -16
- package/dist/cli/{coder-settlement-9rkvamnp.js → coder-settlement-2s4rr23t.js} +12 -12
- package/dist/cli/{config-doctor-ewbdfafa.js → config-doctor-0pjjr594.js} +15 -15
- package/dist/cli/{core-ytxbej6s.js → core-qdn60dm0.js} +3 -3
- package/dist/cli/{curation-policy-n5kzg460.js → curation-policy-2rdbwc6a.js} +6 -6
- package/dist/cli/{curator-60ftt4mg.js → curator-8yqmmn5w.js} +42 -42
- package/dist/cli/{curator-drift-jbjjkkbg.js → curator-drift-n4t27md5.js} +8 -8
- package/dist/cli/curator-llm-factory-30n2fnef.js +82 -0
- package/dist/cli/{doctor-knowledge-receipt-phase-id-f1b7ah16.js → doctor-knowledge-receipt-phase-id-vk9c6t3k.js} +8 -8
- package/dist/cli/{evidence-summary-service-vgtsevph.js → evidence-summary-service-xpdx8se9.js} +19 -19
- package/dist/cli/{gate-evidence-2reyjm1v.js → gate-evidence-px2mexyg.js} +7 -7
- package/dist/cli/guardrail-explain-38hmb1s9.js +83 -0
- package/dist/cli/{guardrail-log-9c078ms0.js → guardrail-log-y61ewh6d.js} +7 -7
- package/dist/cli/{guardrail-reset-h844v5k3.js → guardrail-reset-3arv6rfs.js} +42 -42
- package/dist/cli/{hive-promoter-hndtg0g9.js → hive-promoter-5naewxf9.js} +42 -42
- package/dist/cli/{index-1wfychd6.js → index-0yqa3awy.js} +2 -2
- package/dist/cli/{index-m1qy7f1e.js → index-103gsfn1.js} +1 -1
- package/dist/cli/{index-crkx7tta.js → index-195msz9x.js} +1 -1
- package/dist/cli/{index-r6e8syr3.js → index-1d51nz8d.js} +1 -1
- package/dist/cli/{index-tqdjsvrm.js → index-1e4s8cyt.js} +4 -4
- package/dist/cli/{index-ats43ttc.js → index-2ajapc0r.js} +1 -1
- package/dist/cli/{index-rw8bq18z.js → index-3034m1wv.js} +4 -4
- package/dist/cli/{index-bejxkee0.js → index-4czf0es9.js} +1 -1
- package/dist/cli/{index-1xedjkyy.js → index-4vgvybav.js} +2 -2
- package/dist/cli/{index-bt11gbj8.js → index-4zran0jk.js} +1 -1
- package/dist/cli/{index-gjnt7sfc.js → index-53me7h10.js} +5 -5
- package/dist/cli/{index-nbmvxaa2.js → index-64nkt4ek.js} +1 -1
- package/dist/cli/{index-q2nydddh.js → index-6kckcdd7.js} +3 -3
- package/dist/cli/{index-322afz1z.js → index-6kf62j82.js} +1 -1
- package/dist/cli/{index-p9y1t8tk.js → index-6qtgyzw2.js} +3 -3
- package/dist/cli/{index-9dp2zhvj.js → index-75bm071p.js} +2 -2
- package/dist/cli/{index-9kaerjtj.js → index-8tf5tewn.js} +2 -2
- package/dist/cli/{index-5jm1nkv7.js → index-8zs4v02d.js} +6 -6
- package/dist/cli/{index-jh7s55h1.js → index-94b58ssa.js} +82 -82
- package/dist/cli/{index-7n7775g7.js → index-a5z8eqs0.js} +44 -44
- package/dist/cli/{index-q1ymkdnc.js → index-bqqyxmpk.js} +7 -7
- package/dist/cli/{index-82q5nv5h.js → index-d3p96wkj.js} +6 -6
- package/dist/cli/{index-rszpn3zf.js → index-d74wbpqc.js} +7 -7
- package/dist/cli/{index-2y4v88xp.js → index-dka1ra21.js} +7 -7
- package/dist/cli/{index-63pm3wa2.js → index-fm0yan3t.js} +4 -4
- package/dist/cli/{index-yd36m8y5.js → index-ge4hk20b.js} +2 -2
- package/dist/cli/{index-0vhaejxa.js → index-gmmz119k.js} +1 -1
- package/dist/cli/{index-e3ddxfh4.js → index-gyhj562n.js} +2 -2
- package/dist/cli/{index-qx0npayj.js → index-h83221w1.js} +3 -3
- package/dist/cli/{index-h3sty9qx.js → index-j7pqzxyq.js} +2 -2
- package/dist/cli/{index-a8gvszr2.js → index-jc0jxg7y.js} +2 -2
- package/dist/cli/{index-r06m1jps.js → index-jkz10gm7.js} +1 -1
- package/dist/cli/{index-pah0zema.js → index-ntyc39rv.js} +2 -2
- package/dist/cli/{index-ebhxj1dk.js → index-p8kv9hh6.js} +11 -11
- package/dist/cli/{index-mf19yqss.js → index-qwrx78m5.js} +2 -2
- package/dist/cli/{index-91ajdtc6.js → index-rqheyf9e.js} +4 -4
- package/dist/cli/{index-s51gwkgd.js → index-sh7se0x5.js} +7 -7
- package/dist/cli/{index-vz6cjc6f.js → index-tr6kaa6q.js} +5 -5
- package/dist/cli/{index-cc1vzq4m.js → index-v09x4k5h.js} +1 -1
- package/dist/cli/{index-rysj8e3x.js → index-vx59q2ex.js} +1 -1
- package/dist/cli/{index-jgkcsykf.js → index-wftdsx38.js} +5 -5
- package/dist/cli/{index-pya6v67j.js → index-wsab75et.js} +3 -3
- package/dist/cli/{index-9hag235h.js → index-ww91zjzk.js} +1 -1
- package/dist/cli/{index-685ypb7s.js → index-xn48kjf4.js} +2 -2
- package/dist/cli/{index-vzd1a06e.js → index-yacpp9jq.js} +3 -3
- package/dist/cli/{index-z7k42wpb.js → index-yctaaj1k.js} +5 -5
- package/dist/cli/{index-78vg2tgj.js → index-ywpn0arj.js} +42 -42
- package/dist/cli/index.js +43 -43
- package/dist/cli/{knowledge-escalator-n0k4zjgy.js → knowledge-escalator-2c4svh7n.js} +14 -14
- package/dist/cli/{knowledge-events-ywqkth1n.js → knowledge-events-7zea5hzr.js} +12 -12
- package/dist/cli/{knowledge-link-rv41fqwp.js → knowledge-link-r9nx1eaj.js} +5 -5
- package/dist/cli/{knowledge-store-0svng5s4.js → knowledge-store-rdya1anx.js} +6 -6
- package/dist/cli/{knowledge-validator-s2ddkgxg.js → knowledge-validator-qnc4byyh.js} +8 -8
- package/dist/cli/{mcp-2xhqha8p.js → mcp-z21kvvnf.js} +1 -1
- package/dist/cli/{model-preflight-zz20c518.js → model-preflight-jbg35f6e.js} +42 -42
- package/dist/cli/{pending-delegations-72k8zeye.js → pending-delegations-c1yjybf1.js} +12 -12
- package/dist/cli/{pr-subscriptions-9eftakcv.js → pr-subscriptions-2mngc0jg.js} +12 -12
- package/dist/cli/{pr-workflow-gate-90j60vp7.js → pr-workflow-gate-h4s5w5y0.js} +42 -42
- package/dist/cli/{runner-zhnj544n.js → runner-3ynjanks.js} +6 -6
- package/dist/cli/{scan-cursor-swrnhys8.js → scan-cursor-385k9dkp.js} +7 -7
- package/dist/cli/{schema-g5qw8zv2.js → schema-cp8sqp1b.js} +1 -1
- package/dist/cli/{scope-persistence-nd32ryps.js → scope-persistence-d587cb6v.js} +15 -15
- package/dist/cli/{server-nez5478r.js → server-t0wansfd.js} +51 -43
- package/dist/cli/{skill-generator-tr5femt4.js → skill-generator-f2j1jnqf.js} +16 -16
- package/dist/cli/{snapshot-coordination-init-c82a9gd1.js → snapshot-coordination-init-9gvgq52n.js} +42 -42
- package/dist/cli/{speckit-checkoff-fr3jnnah.js → speckit-checkoff-zw0w6ekx.js} +4 -4
- package/dist/cli/{telemetry-wb54p3hn.js → telemetry-eq1cwq2x.js} +1 -1
- package/dist/cli/{workspace-snapshot-y60ay5eq.js → workspace-snapshot-w60bykdz.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-q0kn3g0k.js → worktree-collision-ownership-0d8xf1d8.js} +13 -13
- package/dist/cli/{worktree-isolation-zz26e66q.js → worktree-isolation-ds8n4a16.js} +42 -42
- package/dist/context-map/capsule-builder.d.ts +14 -1
- package/dist/context-map/persistence.d.ts +9 -0
- package/dist/context-map/post-agent-update.d.ts +74 -0
- package/dist/index.js +11 -11
- package/dist/tools/syntax-check.d.ts +14 -0
- package/dist/types/context-capsule.d.ts +12 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-6r5vkvts.js +0 -82
- package/dist/cli/guardrail-explain-b1ck5ey3.js +0 -83
|
@@ -33,36 +33,36 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-fm0yan3t.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-rqheyf9e.js";
|
|
39
|
+
import"./index-wftdsx38.js";
|
|
40
40
|
import"./index-m9zzj4ee.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-4czf0es9.js";
|
|
42
42
|
import"./index-2s7dvzff.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-3034m1wv.js";
|
|
44
|
+
import"./index-2ajapc0r.js";
|
|
45
45
|
import"./index-rtry5xyf.js";
|
|
46
|
-
import"./index-
|
|
46
|
+
import"./index-j7pqzxyq.js";
|
|
47
47
|
import"./index-kbkk7vnh.js";
|
|
48
48
|
import"./index-0725jpp7.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-8tf5tewn.js";
|
|
50
|
+
import"./index-bqqyxmpk.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-jkz10gm7.js";
|
|
54
|
+
import"./index-gyhj562n.js";
|
|
55
|
+
import"./index-4zran0jk.js";
|
|
56
56
|
import"./index-t7hmqgjy.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-h83221w1.js";
|
|
58
58
|
import"./index-fzpt2djt.js";
|
|
59
59
|
import"./index-ejhxgyvm.js";
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-1d51nz8d.js";
|
|
62
62
|
import"./index-gx2vp8gx.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-6kf62j82.js";
|
|
64
64
|
import"./index-zxdawwc7.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-gmmz119k.js";
|
|
66
66
|
import"./index-bstjg81q.js";
|
|
67
67
|
import"./index-bk5tah7q.js";
|
|
68
68
|
import"./index-gknz3bv1.js";
|
package/dist/cli/{snapshot-coordination-init-c82a9gd1.js → snapshot-coordination-init-9gvgq52n.js}
RENAMED
|
@@ -8,74 +8,74 @@ 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-94b58ssa.js";
|
|
12
|
+
import"./index-yacpp9jq.js";
|
|
13
|
+
import"./index-ntyc39rv.js";
|
|
14
|
+
import"./index-tr6kaa6q.js";
|
|
15
15
|
import"./index-vx8a8w3b.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
import"./index-vx59q2ex.js";
|
|
17
|
+
import"./index-75bm071p.js";
|
|
18
18
|
import"./index-txdagbh7.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-4vgvybav.js";
|
|
20
20
|
import"./index-rdec0y3z.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
21
|
+
import"./index-6qtgyzw2.js";
|
|
22
|
+
import"./index-sh7se0x5.js";
|
|
23
|
+
import"./index-fm0yan3t.js";
|
|
24
|
+
import"./index-8zs4v02d.js";
|
|
25
|
+
import"./index-qwrx78m5.js";
|
|
26
|
+
import"./index-d74wbpqc.js";
|
|
27
27
|
import"./index-cjapb4hy.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-jc0jxg7y.js";
|
|
29
29
|
import"./index-pt7h91zc.js";
|
|
30
30
|
import"./index-q7sjgr1y.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-d3p96wkj.js";
|
|
32
|
+
import"./index-p8kv9hh6.js";
|
|
33
33
|
import"./index-6b295cas.js";
|
|
34
34
|
import"./index-9nyqt3kb.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-195msz9x.js";
|
|
36
36
|
import"./index-zsrtt42s.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-0yqa3awy.js";
|
|
38
|
+
import"./index-1e4s8cyt.js";
|
|
39
|
+
import"./index-6kckcdd7.js";
|
|
40
40
|
import"./index-g4fs6z4e.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-dka1ra21.js";
|
|
42
|
+
import"./index-rqheyf9e.js";
|
|
43
|
+
import"./index-wftdsx38.js";
|
|
44
44
|
import"./index-m9zzj4ee.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-4czf0es9.js";
|
|
46
46
|
import"./index-2s7dvzff.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-3034m1wv.js";
|
|
48
|
+
import"./index-2ajapc0r.js";
|
|
49
49
|
import"./index-rtry5xyf.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-j7pqzxyq.js";
|
|
51
51
|
import"./index-kbkk7vnh.js";
|
|
52
52
|
import"./index-0725jpp7.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
53
|
+
import"./index-53me7h10.js";
|
|
54
|
+
import"./index-yctaaj1k.js";
|
|
55
|
+
import"./index-ge4hk20b.js";
|
|
56
|
+
import"./index-103gsfn1.js";
|
|
57
|
+
import"./index-v09x4k5h.js";
|
|
58
|
+
import"./index-ww91zjzk.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-8tf5tewn.js";
|
|
63
|
+
import"./index-bqqyxmpk.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-jkz10gm7.js";
|
|
67
|
+
import"./index-gyhj562n.js";
|
|
68
|
+
import"./index-4zran0jk.js";
|
|
69
69
|
import"./index-t7hmqgjy.js";
|
|
70
|
-
import"./index-
|
|
70
|
+
import"./index-h83221w1.js";
|
|
71
71
|
import"./index-fzpt2djt.js";
|
|
72
72
|
import"./index-ejhxgyvm.js";
|
|
73
73
|
import"./index-7g4c7s5r.js";
|
|
74
|
-
import"./index-
|
|
74
|
+
import"./index-1d51nz8d.js";
|
|
75
75
|
import"./index-gx2vp8gx.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-6kf62j82.js";
|
|
77
77
|
import"./index-zxdawwc7.js";
|
|
78
|
-
import"./index-
|
|
78
|
+
import"./index-gmmz119k.js";
|
|
79
79
|
import"./index-bstjg81q.js";
|
|
80
80
|
import"./index-bk5tah7q.js";
|
|
81
81
|
import"./index-gknz3bv1.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
parseSpeckitTasksContent,
|
|
8
8
|
propagateSpeckitCheckoff,
|
|
9
9
|
writeSpeckitCheckoffLedger
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-0yqa3awy.js";
|
|
11
11
|
import"./index-ejhxgyvm.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-1d51nz8d.js";
|
|
14
|
+
import"./index-6kf62j82.js";
|
|
15
15
|
import"./index-zxdawwc7.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-gmmz119k.js";
|
|
17
17
|
import"./index-bstjg81q.js";
|
|
18
18
|
import"./index-bk5tah7q.js";
|
|
19
19
|
import"./index-gknz3bv1.js";
|
|
@@ -46,11 +46,11 @@ import {
|
|
|
46
46
|
shouldSkipSnapshot,
|
|
47
47
|
switchPrFeedbackTrackingCandidateAsync,
|
|
48
48
|
workspaceSnapshotMatches
|
|
49
|
-
} from "./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
} from "./index-qwrx78m5.js";
|
|
50
|
+
import"./index-4czf0es9.js";
|
|
51
51
|
import"./index-2s7dvzff.js";
|
|
52
52
|
import"./index-fzpt2djt.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-1d51nz8d.js";
|
|
54
54
|
import"./index-zxdawwc7.js";
|
|
55
55
|
import"./index-zpsr8rpc.js";
|
|
56
56
|
import"./index-zgwm4ryv.js";
|
|
@@ -6,37 +6,37 @@ import {
|
|
|
6
6
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
7
7
|
removeWorktreeProvisioningOwner,
|
|
8
8
|
scanWorktreeProvisioningOwnersForRecovery
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-jc0jxg7y.js";
|
|
10
10
|
import {
|
|
11
11
|
scanWorktreeMergeFailuresForRecovery
|
|
12
12
|
} from "./index-zsrtt42s.js";
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-dka1ra21.js";
|
|
17
|
+
import"./index-4czf0es9.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-103gsfn1.js";
|
|
20
|
+
import"./index-v09x4k5h.js";
|
|
21
|
+
import"./index-ww91zjzk.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-8tf5tewn.js";
|
|
26
|
+
import"./index-bqqyxmpk.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-jkz10gm7.js";
|
|
30
|
+
import"./index-gyhj562n.js";
|
|
31
|
+
import"./index-4zran0jk.js";
|
|
32
32
|
import"./index-t7hmqgjy.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-h83221w1.js";
|
|
34
34
|
import {
|
|
35
35
|
canonicalRootKeyFresh
|
|
36
36
|
} from "./index-fzpt2djt.js";
|
|
37
37
|
import"./index-ejhxgyvm.js";
|
|
38
38
|
import"./index-7g4c7s5r.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-1d51nz8d.js";
|
|
40
40
|
import"./index-zxdawwc7.js";
|
|
41
41
|
import"./index-bk5tah7q.js";
|
|
42
42
|
import"./index-gknz3bv1.js";
|
|
@@ -21,76 +21,76 @@ 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-94b58ssa.js";
|
|
25
|
+
import"./index-yacpp9jq.js";
|
|
26
|
+
import"./index-ntyc39rv.js";
|
|
27
|
+
import"./index-tr6kaa6q.js";
|
|
28
28
|
import"./index-vx8a8w3b.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-vx59q2ex.js";
|
|
30
|
+
import"./index-75bm071p.js";
|
|
31
31
|
import"./index-txdagbh7.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-4vgvybav.js";
|
|
33
33
|
import"./index-rdec0y3z.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
34
|
+
import"./index-6qtgyzw2.js";
|
|
35
|
+
import"./index-sh7se0x5.js";
|
|
36
|
+
import"./index-fm0yan3t.js";
|
|
37
|
+
import"./index-8zs4v02d.js";
|
|
38
|
+
import"./index-qwrx78m5.js";
|
|
39
|
+
import"./index-d74wbpqc.js";
|
|
40
40
|
import"./index-cjapb4hy.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-jc0jxg7y.js";
|
|
42
42
|
import"./index-pt7h91zc.js";
|
|
43
43
|
import"./index-q7sjgr1y.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
44
|
+
import"./index-d3p96wkj.js";
|
|
45
|
+
import"./index-p8kv9hh6.js";
|
|
46
46
|
import"./index-6b295cas.js";
|
|
47
47
|
import"./index-9nyqt3kb.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-195msz9x.js";
|
|
49
49
|
import"./index-zsrtt42s.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
50
|
+
import"./index-0yqa3awy.js";
|
|
51
|
+
import"./index-1e4s8cyt.js";
|
|
52
|
+
import"./index-6kckcdd7.js";
|
|
53
53
|
import"./index-g4fs6z4e.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-dka1ra21.js";
|
|
55
|
+
import"./index-rqheyf9e.js";
|
|
56
|
+
import"./index-wftdsx38.js";
|
|
57
57
|
import"./index-m9zzj4ee.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-4czf0es9.js";
|
|
59
59
|
import"./index-2s7dvzff.js";
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
60
|
+
import"./index-3034m1wv.js";
|
|
61
|
+
import"./index-2ajapc0r.js";
|
|
62
62
|
import"./index-rtry5xyf.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveWorktreeIsolationConfig
|
|
65
|
-
} from "./index-
|
|
65
|
+
} from "./index-j7pqzxyq.js";
|
|
66
66
|
import"./index-kbkk7vnh.js";
|
|
67
67
|
import"./index-0725jpp7.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
72
|
-
import"./index-
|
|
73
|
-
import"./index-
|
|
68
|
+
import"./index-53me7h10.js";
|
|
69
|
+
import"./index-yctaaj1k.js";
|
|
70
|
+
import"./index-ge4hk20b.js";
|
|
71
|
+
import"./index-103gsfn1.js";
|
|
72
|
+
import"./index-v09x4k5h.js";
|
|
73
|
+
import"./index-ww91zjzk.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-8tf5tewn.js";
|
|
78
|
+
import"./index-bqqyxmpk.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-jkz10gm7.js";
|
|
82
|
+
import"./index-gyhj562n.js";
|
|
83
|
+
import"./index-4zran0jk.js";
|
|
84
84
|
import"./index-t7hmqgjy.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-h83221w1.js";
|
|
86
86
|
import"./index-fzpt2djt.js";
|
|
87
87
|
import"./index-ejhxgyvm.js";
|
|
88
88
|
import"./index-7g4c7s5r.js";
|
|
89
|
-
import"./index-
|
|
89
|
+
import"./index-1d51nz8d.js";
|
|
90
90
|
import"./index-gx2vp8gx.js";
|
|
91
|
-
import"./index-
|
|
91
|
+
import"./index-6kf62j82.js";
|
|
92
92
|
import"./index-zxdawwc7.js";
|
|
93
|
-
import"./index-
|
|
93
|
+
import"./index-gmmz119k.js";
|
|
94
94
|
import"./index-bstjg81q.js";
|
|
95
95
|
import"./index-bk5tah7q.js";
|
|
96
96
|
import"./index-gknz3bv1.js";
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
import * as fs from 'node:fs';
|
|
22
22
|
import type { AgentRole, CapsuleDelegationReason, CapsuleMetadata, ContextCapsule, ReadPolicyEntry, RoleProfile } from '../types/context-capsule';
|
|
23
|
-
import type { ContextMap } from '../types/context-map';
|
|
23
|
+
import type { ContextMap, DecisionEntry } from '../types/context-map';
|
|
24
24
|
import { extractFileSummary, isFileStale } from './file-summary';
|
|
25
25
|
import { computeContentHash, createEmptyContextMap, loadContextMap } from './persistence';
|
|
26
26
|
/**
|
|
@@ -108,6 +108,19 @@ export declare const DEFAULT_ROLE_PROFILES: Record<AgentRole, RoleProfile>;
|
|
|
108
108
|
* @returns Array of read policy entries, one per file
|
|
109
109
|
*/
|
|
110
110
|
export declare function buildReadPolicy(files: string[], map: ContextMap, directory: string, invalidateOnHashChange?: boolean, contentCache?: Map<string, string | undefined>): ReadPolicyEntry[];
|
|
111
|
+
/**
|
|
112
|
+
* Maximum number of decisions a critic capsule's Decisions section carries
|
|
113
|
+
* (#3016). Task-scoped decisions are selected first; remaining slots go to
|
|
114
|
+
* the most recent other decisions.
|
|
115
|
+
*/
|
|
116
|
+
export declare const MAX_CAPSULE_DECISIONS = 10;
|
|
117
|
+
/**
|
|
118
|
+
* Select the decisions surfaced in a critic capsule: entries recorded for
|
|
119
|
+
* this task first, then the most recent decisions from other tasks, capped
|
|
120
|
+
* at {@link MAX_CAPSULE_DECISIONS} entries total. When either group exceeds
|
|
121
|
+
* its share, the MOST RECENT entries win (the log is append-order).
|
|
122
|
+
*/
|
|
123
|
+
export declare function selectCapsuleDecisions(decisions: readonly DecisionEntry[], taskId: string): DecisionEntry[];
|
|
111
124
|
/**
|
|
112
125
|
* Build a role-specific Context Capsule for a delegated agent.
|
|
113
126
|
*
|
|
@@ -45,6 +45,15 @@ export declare function createEmptyContextMap(): ContextMap;
|
|
|
45
45
|
* Load the Context Map from `.swarm/context-map.json` in the given directory.
|
|
46
46
|
* Returns `null` if the file doesn't exist or cannot be parsed (corrupt file).
|
|
47
47
|
* Never throws.
|
|
48
|
+
*
|
|
49
|
+
* Structural validation (#3016): every field downstream code iterates or
|
|
50
|
+
* spreads must have the shape the writers produce — `decisions` an array,
|
|
51
|
+
* `files` and `task_history` non-null non-array objects. Absent keys fail
|
|
52
|
+
* closed the same way: every in-repo writer (`createEmptyContextMap`,
|
|
53
|
+
* `saveContextMap`, the append paths) always materializes all three keys, so
|
|
54
|
+
* a map missing or mis-shaping them is foreign or hand-mangled and is
|
|
55
|
+
* replaced by a fresh map rather than silently dropped mid-update or
|
|
56
|
+
* corrupted by spread semantics.
|
|
48
57
|
*/
|
|
49
58
|
export declare function loadContextMap(directory: string): ContextMap | null;
|
|
50
59
|
/**
|
|
@@ -19,6 +19,48 @@ import * as fs from 'node:fs';
|
|
|
19
19
|
import type { ContextMap, DecisionEntry } from '../types/context-map';
|
|
20
20
|
import { extractFileSummary } from './file-summary';
|
|
21
21
|
import { appendDecision, appendTaskHistory, createEmptyContextMap, loadContextMap, saveContextMap } from './persistence';
|
|
22
|
+
/**
|
|
23
|
+
* A decision extracted from `.swarm/context.md`'s `## Decisions` section,
|
|
24
|
+
* ready to be persisted as a `DecisionEntry` by `updateContextMapAfterAgent`.
|
|
25
|
+
*/
|
|
26
|
+
export interface PostAgentDecision {
|
|
27
|
+
/** The decision text (bullet text before the first `: ` separator) */
|
|
28
|
+
decision: string;
|
|
29
|
+
/** Rationale text (after the first `: ` separator; empty when absent) */
|
|
30
|
+
rationale: string;
|
|
31
|
+
/** Phase number when the bullet carried or inherited one, else absent */
|
|
32
|
+
phase?: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Options for {@link extractContextDecisionsFromContextMd}.
|
|
36
|
+
*/
|
|
37
|
+
export interface ExtractContextDecisionsOptions {
|
|
38
|
+
/**
|
|
39
|
+
* Session agent role used to gate the sync. `.swarm/context.md` is
|
|
40
|
+
* architect-maintained (subagents are forbidden from writing it), so when
|
|
41
|
+
* a role is supplied and is not an architect role — bare `'architect'`
|
|
42
|
+
* (`ORCHESTRATOR_NAME`) or a multi-swarm prefixed form ending in
|
|
43
|
+
* `'_architect'` — the sync returns no decisions without reading the file.
|
|
44
|
+
* Omit to extract regardless of role.
|
|
45
|
+
*/
|
|
46
|
+
agent_role?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Maximum number of context.md decisions one sync records. The architect
|
|
50
|
+
* appends newest decisions at the bottom of the file, so the window keeps the
|
|
51
|
+
* MOST RECENT entries; older entries beyond the window are never
|
|
52
|
+
* retroactively recorded.
|
|
53
|
+
*/
|
|
54
|
+
export declare const MAX_CONTEXT_MD_DECISIONS = 50;
|
|
55
|
+
/**
|
|
56
|
+
* Character bound for the context.md content handed to the shared extractor
|
|
57
|
+
* (PR #3023 feedback FB-005). The shared extractor's own cap slices a PREFIX
|
|
58
|
+
* (oldest-first), which would invert the most-recent window for pathological
|
|
59
|
+
* file sizes and silently drop a `## Decisions` heading lying beyond the
|
|
60
|
+
* slice; this module slices from the TAIL instead so the most recent content
|
|
61
|
+
* is what gets scanned.
|
|
62
|
+
*/
|
|
63
|
+
export declare const MAX_CONTEXT_MD_CONTENT_CHARS = 1000000;
|
|
22
64
|
/**
|
|
23
65
|
* Parameters for updating the Context Map after an agent completes a task.
|
|
24
66
|
* Captures all relevant context from the agent's work session so that
|
|
@@ -45,6 +87,7 @@ export interface PostAgentUpdateParams {
|
|
|
45
87
|
decisions?: Array<{
|
|
46
88
|
decision: string;
|
|
47
89
|
rationale: string;
|
|
90
|
+
phase?: number;
|
|
48
91
|
}>;
|
|
49
92
|
/** Project root directory */
|
|
50
93
|
directory: string;
|
|
@@ -64,6 +107,37 @@ export interface PostAgentUpdateParams {
|
|
|
64
107
|
* rather than crashing allocation.
|
|
65
108
|
*/
|
|
66
109
|
export declare function allocateDecisionId(decisions: readonly DecisionEntry[]): string;
|
|
110
|
+
/**
|
|
111
|
+
* Extract decisions from `.swarm/context.md`'s `## Decisions` section.
|
|
112
|
+
*
|
|
113
|
+
* The context file is the repo's decisions-recording convention (architect
|
|
114
|
+
* prompt `src/agents/architect.ts`; shared `## Decisions` grammar parsed by
|
|
115
|
+
* `extractContextDecisions`, the #2493 consolidation). Each bullet
|
|
116
|
+
* `- <decision>: <rationale>` becomes a {@link PostAgentDecision}: the text
|
|
117
|
+
* before the FIRST `: ` is the decision, the remainder the rationale (a
|
|
118
|
+
* rationale may itself contain colons; a bullet without a separator yields an
|
|
119
|
+
* empty rationale). Bullets whose decision text is empty after the
|
|
120
|
+
* extractor's marker stripping are dropped.
|
|
121
|
+
*
|
|
122
|
+
* Bounded: keeps the most recent {@link MAX_CONTEXT_MD_DECISIONS} entries —
|
|
123
|
+
* entries beyond that window are never retroactively recorded.
|
|
124
|
+
*
|
|
125
|
+
* When `options.agent_role` is supplied and is not an architect role, returns
|
|
126
|
+
* `[]` without touching the filesystem (the file is architect-maintained;
|
|
127
|
+
* subagent-only sessions do not adopt its decisions).
|
|
128
|
+
*
|
|
129
|
+
* Never throws — a missing or unreadable file yields `[]`.
|
|
130
|
+
*/
|
|
131
|
+
export declare function extractContextDecisionsFromContextMd(directory: string, options?: ExtractContextDecisionsOptions): PostAgentDecision[];
|
|
132
|
+
/**
|
|
133
|
+
* Upper bound for the PERSISTED decisions log in `.swarm/context-map.json`
|
|
134
|
+
* (PR #3023 feedback FB-002). The log is append-only within this window:
|
|
135
|
+
* after each update the most recent entries are kept and older ones are
|
|
136
|
+
* trimmed at save time, so reworded decision variants cannot grow the file
|
|
137
|
+
* without bound. The capsule read surface is additionally capped by
|
|
138
|
+
* `MAX_CAPSULE_DECISIONS` in the capsule builder.
|
|
139
|
+
*/
|
|
140
|
+
export declare const MAX_PERSISTED_DECISIONS = 200;
|
|
67
141
|
/**
|
|
68
142
|
* Test-only dependency-injection seam. Production code calls through this
|
|
69
143
|
* object so tests can replace the underlying implementations without
|