opencode-swarm 7.183.0 → 7.184.0
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/background/pending-delegations.d.ts +21 -1
- package/dist/cli/{coder-settlement-6m5stw7s.js → coder-settlement-vrc5zxvv.js} +11 -11
- package/dist/cli/{config-doctor-g6r21wdz.js → config-doctor-y0bpap07.js} +7 -3
- package/dist/cli/{core-6dzx3z8q.js → core-7f955h2f.js} +3 -3
- package/dist/cli/{curation-policy-fm7mtvbk.js → curation-policy-fa2h82c4.js} +5 -5
- package/dist/cli/{curator-drift-art0x91j.js → curator-drift-48x02n2m.js} +8 -8
- package/dist/cli/curator-llm-factory-g6at4hn6.js +74 -0
- package/dist/cli/{curator-0xqj2rxm.js → curator-m7enwwz2.js} +38 -38
- package/dist/cli/{evidence-summary-service-h1vb58rd.js → evidence-summary-service-k8a5vkfk.js} +17 -17
- package/dist/cli/{gate-evidence-ps3rg5fh.js → gate-evidence-nktrs0w2.js} +6 -6
- package/dist/cli/guardrail-explain-1ccchxdr.js +75 -0
- package/dist/cli/{guardrail-log-x2gdf8ys.js → guardrail-log-dppv6tgn.js} +7 -7
- package/dist/cli/{guardrail-reset-mwkys4ff.js → guardrail-reset-btzq4ses.js} +38 -38
- package/dist/cli/{hive-promoter-gndjyg7e.js → hive-promoter-yp1baj9z.js} +38 -38
- package/dist/cli/{index-v2rbpcqy.js → index-01wt209s.js} +2 -2
- package/dist/cli/{index-jsdnhdzg.js → index-079xzcxb.js} +38 -38
- package/dist/cli/{index-5cvm6ykc.js → index-08x7gsnf.js} +1 -1
- package/dist/cli/{index-1kpa3an2.js → index-0bpr8vag.js} +2 -2
- package/dist/cli/{index-w670pfv4.js → index-152b9c6m.js} +5 -5
- package/dist/cli/{index-w6hrms7j.js → index-1d6ssjcj.js} +2 -2
- package/dist/cli/{index-29f69hzd.js → index-3fhg7pqf.js} +2 -2
- package/dist/cli/{index-wnkx6gs0.js → index-3rb5gs4w.js} +1 -1
- package/dist/cli/{index-a6np52p4.js → index-46z4c89b.js} +3 -3
- package/dist/cli/{index-4aggsva0.js → index-4gr9pj67.js} +3 -3
- package/dist/cli/{index-wjqc2mnc.js → index-4t0wd9sv.js} +1 -1
- package/dist/cli/{index-kv0k3b60.js → index-51xtrf7g.js} +6 -6
- package/dist/cli/{index-s1y70y0w.js → index-5cve9g2b.js} +1 -1
- package/dist/cli/{index-94pwd45k.js → index-5wk0etp8.js} +4 -4
- package/dist/cli/{index-mewsqwbq.js → index-6b4vkz6q.js} +1 -1
- package/dist/cli/{index-v8ja5zcr.js → index-6h81yvyc.js} +2 -2
- package/dist/cli/{index-3bcmw8pc.js → index-74x26wyj.js} +1 -1
- package/dist/cli/{index-c6zrffwn.js → index-9yvjwfay.js} +141 -83
- package/dist/cli/{index-jf9cvkzr.js → index-ad3yskxy.js} +4 -4
- package/dist/cli/{index-7p6s4yfb.js → index-b5mkznms.js} +1 -1
- package/dist/cli/{index-ybrwvrd4.js → index-bf1726rj.js} +40 -40
- package/dist/cli/{index-30pz2xvj.js → index-e90m050y.js} +7 -7
- package/dist/cli/{index-qws72zbs.js → index-edrgc139.js} +2 -2
- package/dist/cli/{index-tt705bap.js → index-fbhtb6f5.js} +3 -3
- package/dist/cli/{index-brfs5jqw.js → index-fs9y88h1.js} +3 -3
- package/dist/cli/{index-1ex9ecf5.js → index-j40czc9v.js} +4 -4
- package/dist/cli/{index-pvtf7cjg.js → index-me39468k.js} +7 -7
- package/dist/cli/{index-rfggc332.js → index-mn5zzmqx.js} +2 -2
- package/dist/cli/{index-k88thqa0.js → index-njf5pbkm.js} +6 -6
- package/dist/cli/{index-wqg2j647.js → index-nm8ma9xb.js} +19 -10
- package/dist/cli/{index-25m6rekr.js → index-nmh0s6dg.js} +1 -1
- package/dist/cli/{index-nmfnggaa.js → index-nvm6mxep.js} +13 -13
- package/dist/cli/{index-fqc1a1vj.js → index-pq6vr26z.js} +3 -3
- package/dist/cli/{index-0n24h4zb.js → index-qyx53xrz.js} +7 -7
- package/dist/cli/{index-9gehw4xb.js → index-r30xs0wp.js} +80 -2
- package/dist/cli/{index-6nhzekvt.js → index-rwfmx7vn.js} +2 -2
- package/dist/cli/{index-r65yxdv7.js → index-t1swv35d.js} +10 -4
- package/dist/cli/{index-yv5fmjcf.js → index-t26gj2fh.js} +2 -2
- package/dist/cli/{index-r7dqevkc.js → index-v3hpsxvd.js} +1 -1
- package/dist/cli/{index-820e6w22.js → index-w81jmdkt.js} +2 -2
- package/dist/cli/{index-fb0v3e71.js → index-ysr6n4ca.js} +9 -3
- package/dist/cli/{index-6f7tfq3m.js → index-z3b157ew.js} +8 -8
- package/dist/cli/{index-ht88g5mc.js → index-z8smhv7k.js} +1 -1
- package/dist/cli/index.js +39 -39
- package/dist/cli/{knowledge-escalator-gjp71cn2.js → knowledge-escalator-4296y1h2.js} +12 -12
- package/dist/cli/{knowledge-events-d8k9fmkg.js → knowledge-events-31nga9yt.js} +10 -10
- package/dist/cli/{knowledge-link-anzhs41w.js → knowledge-link-ydpvzam8.js} +4 -4
- package/dist/cli/{knowledge-store-sqmwvcjd.js → knowledge-store-0qz3zmq3.js} +5 -5
- package/dist/cli/{knowledge-validator-gjqm2zby.js → knowledge-validator-vndnwdj6.js} +7 -7
- package/dist/cli/{mcp-phvvtsmt.js → mcp-taace90a.js} +1 -1
- package/dist/cli/{model-preflight-ehqa8h7x.js → model-preflight-bv8nvjjx.js} +38 -38
- package/dist/cli/{pending-delegations-mxs88d0x.js → pending-delegations-kwdk8j9d.js} +11 -11
- package/dist/cli/{pr-subscriptions-n3ymnt5w.js → pr-subscriptions-w2fwdpkk.js} +11 -11
- package/dist/cli/{pr-workflow-gate-t8axhfzw.js → pr-workflow-gate-sqjc6jmd.js} +38 -38
- package/dist/cli/{runner-9kd080km.js → runner-r6gxq7m1.js} +5 -5
- package/dist/cli/{scan-cursor-qg4eg6ah.js → scan-cursor-f74b9b4k.js} +6 -6
- package/dist/cli/{schema-73z5xbmd.js → schema-cyet68tw.js} +3 -1
- package/dist/cli/{scope-persistence-b9924hz1.js → scope-persistence-rg8v0r8q.js} +14 -14
- package/dist/cli/{server-jn6xd5bh.js → server-765s4stz.js} +38 -38
- package/dist/cli/{skill-generator-k344y5m2.js → skill-generator-qg5m18k7.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-a8992336.js → snapshot-coordination-init-zzs4bkmj.js} +38 -38
- package/dist/cli/{speckit-checkoff-0tctprtz.js → speckit-checkoff-2bsm6p0c.js} +4 -4
- package/dist/cli/{telemetry-vqyy5nha.js → telemetry-rzvcp2n9.js} +1 -1
- package/dist/cli/{workspace-snapshot-7e9me3q7.js → workspace-snapshot-t22m6gbd.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-6r6jekr9.js → worktree-collision-ownership-qf2shp2n.js} +12 -12
- package/dist/cli/{worktree-isolation-5kw6jnej.js → worktree-isolation-0b0jy6dt.js} +38 -38
- package/dist/commands/doctor.d.ts +5 -0
- package/dist/config/schema.d.ts +15 -0
- package/dist/context/role-filter.d.ts +2 -0
- package/dist/hooks/final-context-accounting.d.ts +3 -2
- package/dist/hooks/host-boundary.d.ts +10 -0
- package/dist/hooks/system-enhancer.d.ts +9 -2
- package/dist/hooks/system-guidance-carrier.d.ts +18 -0
- package/dist/index.js +59 -57
- package/dist/services/config-doctor.d.ts +24 -0
- package/dist/services/injection-budget.d.ts +56 -8
- package/dist/tools/save-plan.d.ts +12 -0
- package/opencode-swarm.schema.json +8 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-grnfsaa2.js +0 -74
- package/dist/cli/guardrail-explain-2sb06877.js +0 -75
package/dist/cli/{snapshot-coordination-init-a8992336.js → snapshot-coordination-init-zzs4bkmj.js}
RENAMED
|
@@ -8,66 +8,66 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
} from "./index-9yvjwfay.js";
|
|
12
|
+
import"./index-pq6vr26z.js";
|
|
13
13
|
import"./index-hamqvzqn.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
14
|
+
import"./index-4t0wd9sv.js";
|
|
15
|
+
import"./index-46z4c89b.js";
|
|
16
|
+
import"./index-r30xs0wp.js";
|
|
17
|
+
import"./index-nvm6mxep.js";
|
|
18
|
+
import"./index-z8smhv7k.js";
|
|
19
19
|
import"./index-txdagbh7.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-6b4vkz6q.js";
|
|
21
21
|
import"./index-6b295cas.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-j40czc9v.js";
|
|
23
|
+
import"./index-152b9c6m.js";
|
|
24
|
+
import"./index-3fhg7pqf.js";
|
|
25
25
|
import"./index-rdec0y3z.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-e90m050y.js";
|
|
27
27
|
import"./index-cjapb4hy.js";
|
|
28
28
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-me39468k.js";
|
|
30
|
+
import"./index-6h81yvyc.js";
|
|
31
|
+
import"./index-0bpr8vag.js";
|
|
32
32
|
import"./index-pt7h91zc.js";
|
|
33
33
|
import"./index-q7sjgr1y.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
34
|
+
import"./index-t26gj2fh.js";
|
|
35
|
+
import"./index-ad3yskxy.js";
|
|
36
|
+
import"./index-4gr9pj67.js";
|
|
37
|
+
import"./index-nm8ma9xb.js";
|
|
38
|
+
import"./index-z3b157ew.js";
|
|
39
|
+
import"./index-nmh0s6dg.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-5wk0etp8.js";
|
|
42
|
+
import"./index-v3hpsxvd.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-edrgc139.js";
|
|
45
45
|
import"./index-frcemc0b.js";
|
|
46
46
|
import"./index-0725jpp7.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
47
|
+
import"./index-njf5pbkm.js";
|
|
48
|
+
import"./index-51xtrf7g.js";
|
|
49
|
+
import"./index-mn5zzmqx.js";
|
|
50
|
+
import"./index-w81jmdkt.js";
|
|
51
|
+
import"./index-3rb5gs4w.js";
|
|
52
|
+
import"./index-08x7gsnf.js";
|
|
53
53
|
import"./index-rdm3px0g.js";
|
|
54
54
|
import"./index-ry16d01s.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
55
|
+
import"./index-1d6ssjcj.js";
|
|
56
|
+
import"./index-qyx53xrz.js";
|
|
57
57
|
import"./index-vzm6zre7.js";
|
|
58
58
|
import"./index-ae75rja9.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
59
|
+
import"./index-74x26wyj.js";
|
|
60
|
+
import"./index-01wt209s.js";
|
|
61
|
+
import"./index-fbhtb6f5.js";
|
|
62
62
|
import"./index-1xnse449.js";
|
|
63
63
|
import"./index-c1ggtmpm.js";
|
|
64
64
|
import"./index-ejhxgyvm.js";
|
|
65
65
|
import"./index-7g4c7s5r.js";
|
|
66
|
-
import"./index-
|
|
66
|
+
import"./index-5cve9g2b.js";
|
|
67
67
|
import"./index-gx2vp8gx.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-t1swv35d.js";
|
|
69
69
|
import"./index-zxdawwc7.js";
|
|
70
|
-
import"./index-
|
|
70
|
+
import"./index-ysr6n4ca.js";
|
|
71
71
|
import"./index-wzec3c4g.js";
|
|
72
72
|
import"./index-bk5tah7q.js";
|
|
73
73
|
import"./index-gknz3bv1.js";
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
parseSpeckitTasksContent,
|
|
8
8
|
propagateSpeckitCheckoff,
|
|
9
9
|
writeSpeckitCheckoffLedger
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-t26gj2fh.js";
|
|
11
11
|
import"./index-ejhxgyvm.js";
|
|
12
12
|
import"./index-7g4c7s5r.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
13
|
+
import"./index-5cve9g2b.js";
|
|
14
|
+
import"./index-t1swv35d.js";
|
|
15
15
|
import"./index-zxdawwc7.js";
|
|
16
|
-
import"./index-
|
|
16
|
+
import"./index-ysr6n4ca.js";
|
|
17
17
|
import"./index-wzec3c4g.js";
|
|
18
18
|
import"./index-bk5tah7q.js";
|
|
19
19
|
import"./index-gknz3bv1.js";
|
|
@@ -45,12 +45,12 @@ import {
|
|
|
45
45
|
shouldSkipSnapshot,
|
|
46
46
|
switchPrFeedbackTrackingCandidateAsync,
|
|
47
47
|
workspaceSnapshotMatches
|
|
48
|
-
} from "./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
} from "./index-6h81yvyc.js";
|
|
49
|
+
import"./index-nmh0s6dg.js";
|
|
50
50
|
import"./index-2s7dvzff.js";
|
|
51
51
|
import"./index-1xnse449.js";
|
|
52
52
|
import"./index-c1ggtmpm.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-5cve9g2b.js";
|
|
54
54
|
import"./index-zxdawwc7.js";
|
|
55
55
|
import"./index-zpsr8rpc.js";
|
|
56
56
|
import"./index-zgwm4ryv.js";
|
|
@@ -9,32 +9,32 @@ import {
|
|
|
9
9
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
10
10
|
removeWorktreeProvisioningOwner,
|
|
11
11
|
scanWorktreeProvisioningOwnersForRecovery
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-0bpr8vag.js";
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-nm8ma9xb.js";
|
|
17
|
+
import"./index-nmh0s6dg.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-w81jmdkt.js";
|
|
20
|
+
import"./index-3rb5gs4w.js";
|
|
21
|
+
import"./index-08x7gsnf.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-1d6ssjcj.js";
|
|
25
|
+
import"./index-qyx53xrz.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
28
|
+
import"./index-74x26wyj.js";
|
|
29
|
+
import"./index-01wt209s.js";
|
|
30
|
+
import"./index-fbhtb6f5.js";
|
|
31
31
|
import {
|
|
32
32
|
canonicalRootKeyFresh
|
|
33
33
|
} from "./index-1xnse449.js";
|
|
34
34
|
import"./index-c1ggtmpm.js";
|
|
35
35
|
import"./index-ejhxgyvm.js";
|
|
36
36
|
import"./index-7g4c7s5r.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-5cve9g2b.js";
|
|
38
38
|
import"./index-zxdawwc7.js";
|
|
39
39
|
import"./index-bk5tah7q.js";
|
|
40
40
|
import"./index-gknz3bv1.js";
|
|
@@ -21,68 +21,68 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
} from "./index-9yvjwfay.js";
|
|
25
|
+
import"./index-pq6vr26z.js";
|
|
26
26
|
import"./index-hamqvzqn.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
27
|
+
import"./index-4t0wd9sv.js";
|
|
28
|
+
import"./index-46z4c89b.js";
|
|
29
|
+
import"./index-r30xs0wp.js";
|
|
30
|
+
import"./index-nvm6mxep.js";
|
|
31
|
+
import"./index-z8smhv7k.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-6b4vkz6q.js";
|
|
34
34
|
import"./index-6b295cas.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-j40czc9v.js";
|
|
36
|
+
import"./index-152b9c6m.js";
|
|
37
|
+
import"./index-3fhg7pqf.js";
|
|
38
38
|
import"./index-rdec0y3z.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-e90m050y.js";
|
|
40
40
|
import"./index-cjapb4hy.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-me39468k.js";
|
|
43
|
+
import"./index-6h81yvyc.js";
|
|
44
|
+
import"./index-0bpr8vag.js";
|
|
45
45
|
import"./index-pt7h91zc.js";
|
|
46
46
|
import"./index-q7sjgr1y.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
47
|
+
import"./index-t26gj2fh.js";
|
|
48
|
+
import"./index-ad3yskxy.js";
|
|
49
|
+
import"./index-4gr9pj67.js";
|
|
50
|
+
import"./index-nm8ma9xb.js";
|
|
51
|
+
import"./index-z3b157ew.js";
|
|
52
|
+
import"./index-nmh0s6dg.js";
|
|
53
53
|
import"./index-2s7dvzff.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-5wk0etp8.js";
|
|
55
|
+
import"./index-v3hpsxvd.js";
|
|
56
56
|
import"./index-rtry5xyf.js";
|
|
57
57
|
import {
|
|
58
58
|
resolveWorktreeIsolationConfig
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-edrgc139.js";
|
|
60
60
|
import"./index-frcemc0b.js";
|
|
61
61
|
import"./index-0725jpp7.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
67
|
-
import"./index-
|
|
62
|
+
import"./index-njf5pbkm.js";
|
|
63
|
+
import"./index-51xtrf7g.js";
|
|
64
|
+
import"./index-mn5zzmqx.js";
|
|
65
|
+
import"./index-w81jmdkt.js";
|
|
66
|
+
import"./index-3rb5gs4w.js";
|
|
67
|
+
import"./index-08x7gsnf.js";
|
|
68
68
|
import"./index-rdm3px0g.js";
|
|
69
69
|
import"./index-ry16d01s.js";
|
|
70
|
-
import"./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
import"./index-1d6ssjcj.js";
|
|
71
|
+
import"./index-qyx53xrz.js";
|
|
72
72
|
import"./index-vzm6zre7.js";
|
|
73
73
|
import"./index-ae75rja9.js";
|
|
74
|
-
import"./index-
|
|
75
|
-
import"./index-
|
|
76
|
-
import"./index-
|
|
74
|
+
import"./index-74x26wyj.js";
|
|
75
|
+
import"./index-01wt209s.js";
|
|
76
|
+
import"./index-fbhtb6f5.js";
|
|
77
77
|
import"./index-1xnse449.js";
|
|
78
78
|
import"./index-c1ggtmpm.js";
|
|
79
79
|
import"./index-ejhxgyvm.js";
|
|
80
80
|
import"./index-7g4c7s5r.js";
|
|
81
|
-
import"./index-
|
|
81
|
+
import"./index-5cve9g2b.js";
|
|
82
82
|
import"./index-gx2vp8gx.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-t1swv35d.js";
|
|
84
84
|
import"./index-zxdawwc7.js";
|
|
85
|
-
import"./index-
|
|
85
|
+
import"./index-ysr6n4ca.js";
|
|
86
86
|
import"./index-wzec3c4g.js";
|
|
87
87
|
import"./index-bk5tah7q.js";
|
|
88
88
|
import"./index-gknz3bv1.js";
|
|
@@ -5,6 +5,11 @@ import { type ConfigDoctorResult } from '../services/config-doctor';
|
|
|
5
5
|
* Exported for unit testing of the BLOCKING footer enforcement path.
|
|
6
6
|
*/
|
|
7
7
|
export declare function formatToolDoctorMarkdown(result: ConfigDoctorResult): string;
|
|
8
|
+
/**
|
|
9
|
+
* Format config doctor result as markdown for command output.
|
|
10
|
+
* Exported for the #2504 "Defaults changes (v8)" section coverage test.
|
|
11
|
+
*/
|
|
12
|
+
export declare function formatDoctorMarkdown(result: ConfigDoctorResult): string;
|
|
8
13
|
/**
|
|
9
14
|
* Handle /swarm config doctor command.
|
|
10
15
|
* Maps to: config doctor service (runConfigDoctor)
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -472,7 +472,18 @@ export declare const AUTO_REVIEW_V8_BURN_IN_DECISION: AutoReviewBurnInDecision;
|
|
|
472
472
|
export interface AutoReviewReleaseContext {
|
|
473
473
|
packageVersion?: string;
|
|
474
474
|
burnInDecision?: AutoReviewBurnInDecision;
|
|
475
|
+
/** Defaults profile (#2504): 'conservative' pins the pre-flip (v7) defaults and wins over the release gate. */
|
|
476
|
+
preset?: string;
|
|
475
477
|
}
|
|
478
|
+
/**
|
|
479
|
+
* Lowest-precedence base layer applied by buildConfigWithMeta when
|
|
480
|
+
* `preset === 'conservative'` (#2504): the frozen v7 values for every
|
|
481
|
+
* config-level flipped surface. Extend ONLY alongside a governed flip entry in
|
|
482
|
+
* the DEFAULT_FLIPS table (src/services/config-doctor.ts) and the inventory
|
|
483
|
+
* (docs/defaults-governance.md); every key here is overridable by an explicit
|
|
484
|
+
* user/project key.
|
|
485
|
+
*/
|
|
486
|
+
export declare const CONSERVATIVE_PRESET_BASE: Readonly<Record<string, unknown>>;
|
|
476
487
|
export declare const AutoReviewConfigSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
|
|
477
488
|
enabled: z.ZodBoolean;
|
|
478
489
|
trigger: z.ZodDefault<z.ZodEnum<{
|
|
@@ -2027,6 +2038,10 @@ export declare const DEFAULT_PR_REVIEW_LEGACY_TRANSCRIPT_COMPATIBILITY = false;
|
|
|
2027
2038
|
export declare const PluginConfigSchema: z.ZodObject<{
|
|
2028
2039
|
$schema: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
2029
2040
|
config_format_version: z.ZodDefault<z.ZodNumber>;
|
|
2041
|
+
preset: z.ZodOptional<z.ZodEnum<{
|
|
2042
|
+
default: "default";
|
|
2043
|
+
conservative: "conservative";
|
|
2044
|
+
}>>;
|
|
2030
2045
|
agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2031
2046
|
model: z.ZodOptional<z.ZodString>;
|
|
2032
2047
|
variant: z.ZodOptional<z.ZodString>;
|
|
@@ -40,6 +40,8 @@ export declare function filterByRole(entries: ContextEntry[], targetRole: string
|
|
|
40
40
|
export declare function createRoleFilterSystemHook(getActiveAgentName: (sessionID: string) => string | undefined): {
|
|
41
41
|
'experimental.chat.system.transform': (input: {
|
|
42
42
|
sessionID?: string;
|
|
43
|
+
agent?: string;
|
|
44
|
+
expectedGeneration?: number;
|
|
43
45
|
}, output: {
|
|
44
46
|
system?: string[];
|
|
45
47
|
}) => Promise<void>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* Final context accounting (#2107 §3).
|
|
3
3
|
*
|
|
4
4
|
* ONE final accounting step, run after every injector has contributed and after
|
|
5
|
-
* `materializeSystemGuidanceInPlace`
|
|
6
|
-
* the
|
|
5
|
+
* `materializeSystemGuidanceInPlace` and the terminal carrier partition (issue
|
|
6
|
+
* #2526/#2759) — the last structure-mutating handlers in the
|
|
7
|
+
* `experimental.chat.messages.transform` chain. It measures the actual
|
|
7
8
|
* final model-visible surface exactly once:
|
|
8
9
|
*
|
|
9
10
|
* - `output.messages` (post-consolidation; carries every messages-chain
|
|
@@ -81,6 +81,16 @@ export interface MessageArrayLike {
|
|
|
81
81
|
info?: MessageInfoLike;
|
|
82
82
|
}>;
|
|
83
83
|
}
|
|
84
|
+
/**
|
|
85
|
+
* True only for a session-bound architect request.
|
|
86
|
+
*
|
|
87
|
+
* The host invokes `messages.transform` before `system.transform`, so this
|
|
88
|
+
* predicate is shared by both surfaces to ensure the architect enhancer and
|
|
89
|
+
* command banner have exactly one delivery owner. Sessionless system calls
|
|
90
|
+
* (for example native agent generation) deliberately return false and retain
|
|
91
|
+
* their existing system-surface behavior.
|
|
92
|
+
*/
|
|
93
|
+
export declare function isSessionBoundArchitect(sessionID: string | undefined, agent?: string): boolean;
|
|
84
94
|
/**
|
|
85
95
|
* Resolve the active agent for a sessionID.
|
|
86
96
|
*
|
|
@@ -34,7 +34,10 @@ export declare function buildSpecDriftAdvisory(args: {
|
|
|
34
34
|
}): string;
|
|
35
35
|
declare function maybeAppendSpecDriftAdvisory(output: {
|
|
36
36
|
system: string[];
|
|
37
|
-
|
|
37
|
+
deliveryBudgetReceipts?: InjectionBudgetReceipt[];
|
|
38
|
+
}, directory: string, plan: RuntimePlan | null, sessionId?: string, surface?: SystemEnhancerSurface, expectedGeneration?: number): void;
|
|
39
|
+
import { type InjectionBudgetReceipt } from '../services/injection-budget.js';
|
|
40
|
+
export type SystemEnhancerSurface = 'system' | 'messages';
|
|
38
41
|
/**
|
|
39
42
|
* Build a retrospective injection string for the architect system message.
|
|
40
43
|
* Tier 1: direct phase-scoped lookup for same-plan previous phase.
|
|
@@ -66,7 +69,11 @@ export declare function cancelDeferredMaintenanceScans(directory: string): void;
|
|
|
66
69
|
/**
|
|
67
70
|
* Creates the experimental.chat.system.transform hook for system enhancement.
|
|
68
71
|
*/
|
|
69
|
-
export declare function createSystemEnhancerHook(config: PluginConfig, directory: string
|
|
72
|
+
export declare function createSystemEnhancerHook(config: PluginConfig, directory: string, options?: {
|
|
73
|
+
surface?: SystemEnhancerSurface;
|
|
74
|
+
deferRealtimeLearningNudgeState?: boolean;
|
|
75
|
+
reservedEnvelopeTokens?: number;
|
|
76
|
+
}): Record<string, unknown>;
|
|
70
77
|
/**
|
|
71
78
|
* Architect operational mode derived from plan state.
|
|
72
79
|
*/
|
|
@@ -52,6 +52,13 @@ export declare function guidanceCarrierId(kind: string): string;
|
|
|
52
52
|
* Embedded fence markup is neutralized (see {@link neutralizeFenceMarkup}).
|
|
53
53
|
*/
|
|
54
54
|
export declare function fenceGuidanceText(kind: string, text: string): string | null;
|
|
55
|
+
/**
|
|
56
|
+
* Conservative fixed token reservation for the provenance envelope around a
|
|
57
|
+
* non-empty carrier body. The messages-surface architect adapter reserves this
|
|
58
|
+
* before enhancer candidate admission; the actual emitted envelope is booked
|
|
59
|
+
* separately after host-render validation.
|
|
60
|
+
*/
|
|
61
|
+
export declare function guidanceCarrierEnvelopeTokens(kind: string): number;
|
|
55
62
|
/**
|
|
56
63
|
* True for a guidance carrier entry (role user + id prefix — no text
|
|
57
64
|
* sniffing). Accepts `unknown` so every consumer's local message type can be
|
|
@@ -98,6 +105,17 @@ export declare function prependGuidanceText(carrier: GuidanceMessage, kind: stri
|
|
|
98
105
|
export declare function insertGuidanceCarrier(messages: GuidanceMessage[], kind: string, text: string, atIndex: number, extraInfo?: Record<string, unknown>): GuidanceMessage | null;
|
|
99
106
|
/** Push a filled carrier at the end. Returns the appended entry or null (empty text). */
|
|
100
107
|
export declare function appendGuidanceCarrier(messages: GuidanceMessage[], kind: string, text: string, extraInfo?: Record<string, unknown>): GuidanceMessage | null;
|
|
108
|
+
/**
|
|
109
|
+
* Move every guidance carrier to the end of `messages` in place.
|
|
110
|
+
*
|
|
111
|
+
* The producer chain intentionally keeps `ensureGuidanceCarrier`'s historical
|
|
112
|
+
* front insertion semantics: several downstream consumers inspect the last
|
|
113
|
+
* real user message and must not see a carrier while they are still running.
|
|
114
|
+
* This terminal partition is therefore the one request-boundary relocation,
|
|
115
|
+
* after all those consumers have finished. Both partitions retain their input
|
|
116
|
+
* order and every entry keeps its original object identity.
|
|
117
|
+
*/
|
|
118
|
+
export declare function moveGuidanceCarriersToEnd(messages: GuidanceMessage[]): void;
|
|
101
119
|
/**
|
|
102
120
|
* Host-render SHAPE predicate: the entry is in the exact shape the pinned host
|
|
103
121
|
* renders into the model request (user branch of toModelMessagesEffect).
|