opencode-swarm 7.171.1 → 7.172.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/README.md +5 -0
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/delegation-lifecycle.d.ts +21 -5
- package/dist/background/pending-delegations.d.ts +118 -6
- package/dist/cli/ast-diff-f2a1y02y.js +13 -0
- package/dist/cli/{coder-settlement-vxpmxk46.js → coder-settlement-0k46xqk2.js} +14 -14
- package/dist/cli/{config-doctor-vwy3c9g9.js → config-doctor-x41bxjp6.js} +6 -6
- package/dist/cli/{core-2znms60v.js → core-3spww0at.js} +5 -5
- package/dist/cli/{curation-policy-fakrpw5t.js → curation-policy-92qhvewe.js} +7 -7
- package/dist/cli/{curator-drift-r9r8gepb.js → curator-drift-fqvxe2zw.js} +8 -8
- package/dist/cli/{curator-kc80aj6d.js → curator-eyz6gg74.js} +45 -45
- package/dist/cli/curator-llm-factory-jnsjqq99.js +72 -0
- package/dist/cli/{dispatch-hwwj3qrb.js → dispatch-9yqqqfr6.js} +2 -2
- package/dist/cli/{evidence-summary-service-g3gr1pfs.js → evidence-summary-service-kf0vb1hf.js} +22 -22
- package/dist/cli/{gate-evidence-8mwsj2b7.js → gate-evidence-89wvxgs9.js} +9 -9
- package/dist/cli/guardrail-explain-rz4kaqyp.js +73 -0
- package/dist/cli/guardrail-log-kfjk62sz.js +23 -0
- package/dist/cli/{guardrail-reset-v91p8ca6.js → guardrail-reset-d8m1h5sz.js} +45 -45
- package/dist/cli/hive-promoter-0ekf5zp1.js +87 -0
- package/dist/cli/{index-xm0131fx.js → index-0y2ygy5f.js} +154 -37
- package/dist/cli/{index-aa2eyfvr.js → index-12w05bxk.js} +2 -2
- package/dist/cli/{index-95e3a9en.js → index-1s3t3jdc.js} +1 -1
- package/dist/cli/{index-xefajbqv.js → index-1vsmh63p.js} +2734 -1433
- package/dist/cli/{index-3zzyxs7q.js → index-25fa4krx.js} +8 -8
- package/dist/cli/{index-wn9gf91x.js → index-29j9sjbw.js} +3 -3
- package/dist/cli/{index-vs7b2pqm.js → index-2rdj9mdh.js} +4 -4
- package/dist/cli/{index-4sf357vj.js → index-328eg2bb.js} +4 -4
- package/dist/cli/{index-nyn01yrz.js → index-34jdempk.js} +2 -2
- package/dist/cli/{index-d6bs0p6d.js → index-39x78qk0.js} +8 -8
- package/dist/cli/{index-m1j1rth6.js → index-3kqzzwvd.js} +2 -2
- package/dist/cli/{index-5134766r.js → index-53ges0rk.js} +7 -7
- package/dist/cli/{index-7pae558g.js → index-5hambjmn.js} +6 -6
- package/dist/cli/{index-dr1ym009.js → index-63t4m2t5.js} +16 -16
- package/dist/cli/{index-0caqxnby.js → index-677gzqmd.js} +1 -1
- package/dist/cli/{index-b3pmzbh1.js → index-6fb3y9pm.js} +2 -2
- package/dist/cli/{index-s7h6txsk.js → index-6jshhpjw.js} +3 -3
- package/dist/cli/{index-5vgd9st3.js → index-7q1m8rsw.js} +7 -7
- package/dist/cli/{index-3jwamrzw.js → index-8k09fkqj.js} +5 -5
- package/dist/cli/{index-rdjmbeex.js → index-8wnjcav5.js} +4 -4
- package/dist/cli/{index-nbdmdyke.js → index-a2kv054j.js} +1 -1
- package/dist/cli/{index-9dz2ee2g.js → index-br3r0y73.js} +67 -47
- package/dist/cli/{index-ee6ydtfe.js → index-c1ggtmpm.js} +1 -1
- package/dist/cli/{index-evxd1art.js → index-dga9j6s1.js} +2 -2
- package/dist/cli/{index-nfs78aqj.js → index-dpb1xs5m.js} +2 -2
- package/dist/cli/{index-sxt7fgcw.js → index-ecaws78e.js} +1 -1
- package/dist/cli/{index-yqbnsmmv.js → index-efkckdaw.js} +1 -1
- package/dist/cli/{index-cw912re7.js → index-fpbcxykc.js} +1 -1
- package/dist/cli/{index-3qf1vxtb.js → index-frcemc0b.js} +1 -1
- package/dist/cli/{index-bpmtbmy9.js → index-gknz3bv1.js} +1 -1
- package/dist/cli/{index-6mjtptnb.js → index-gmw8a1qa.js} +1 -1
- package/dist/cli/{index-5400m33a.js → index-hnvmj9wx.js} +1 -1
- package/dist/cli/{index-rkj71ej6.js → index-jvg7hvjp.js} +7 -7
- package/dist/cli/{index-g6nen3gt.js → index-k441jgzk.js} +1 -1
- package/dist/cli/{index-6k5aq7b9.js → index-mj07x42s.js} +2 -2
- package/dist/cli/{index-kb66he4e.js → index-nqbmk4b9.js} +1 -1
- package/dist/cli/{index-er6sk4e6.js → index-nyrhz1h1.js} +2 -2
- package/dist/cli/{index-b43rt5ph.js → index-pt7h91zc.js} +19 -1
- package/dist/cli/{ast-diff-b0esr2kf.js → index-qss1s93b.js} +3 -6
- package/dist/cli/{index-cdee25pp.js → index-r08tgb71.js} +2 -2
- package/dist/cli/{index-3jcp3zb6.js → index-s723hx7z.js} +2 -2
- package/dist/cli/{index-2j0pd6sj.js → index-tfmb620d.js} +45 -45
- package/dist/cli/{index-7qqwx64h.js → index-v2fge66b.js} +8 -8
- package/dist/cli/{index-fhh02gwx.js → index-v6msnkz2.js} +2 -2
- package/dist/cli/{index-d5pk5b95.js → index-w1d5nsdc.js} +2 -2
- package/dist/cli/{index-n832052r.js → index-wrt875kh.js} +1 -1
- package/dist/cli/{index-ztxh3nmf.js → index-xn9tm7sr.js} +47 -47
- package/dist/cli/{index-9cp6bhx9.js → index-y8y2bjsy.js} +4 -4
- package/dist/cli/{semantic-classifier-ygqk0me1.js → index-ykamkw55.js} +2 -5
- package/dist/cli/{index-9br68j86.js → index-z2deqhpp.js} +1 -1
- package/dist/cli/{index-8nbzfbjg.js → index-z81mxyhm.js} +5 -5
- package/dist/cli/{index-4rq1d5k5.js → index-zbw6h4xn.js} +4 -3
- package/dist/cli/index.js +53 -47
- package/dist/cli/{knowledge-escalator-4j6xgcvj.js → knowledge-escalator-qtz01ffw.js} +17 -17
- package/dist/cli/{knowledge-events-5ax1g356.js → knowledge-events-8w0mvkzc.js} +15 -15
- package/dist/cli/{knowledge-link-vh9pfnb9.js → knowledge-link-3xp7h4xn.js} +6 -6
- package/dist/cli/{knowledge-store-2nrtfb5x.js → knowledge-store-p5ps09qg.js} +7 -7
- package/dist/cli/{knowledge-validator-efcax8g9.js → knowledge-validator-rc63wfkp.js} +9 -9
- package/dist/cli/mcp-pmfg7wpk.js +78 -0
- package/dist/cli/mcp.d.ts +27 -0
- package/dist/cli/{model-preflight-1ycat9jz.js → model-preflight-2mvdbj0c.js} +1 -1
- package/dist/cli/{pending-delegations-29qj2kya.js → pending-delegations-1sg6g7et.js} +21 -13
- package/dist/cli/{pr-subscriptions-t51vcrvd.js → pr-subscriptions-yd804apk.js} +13 -13
- package/dist/cli/{pr-workflow-gate-03367gvd.js → pr-workflow-gate-pf3ssffq.js} +45 -45
- package/dist/cli/{runner-8m8qhngm.js → runner-rry4z6j2.js} +7 -7
- package/dist/cli/{scan-cursor-nhxpv6tj.js → scan-cursor-j93ek248.js} +8 -8
- package/dist/cli/{schema-ht5hmsce.js → schema-hvptm5hf.js} +3 -3
- package/dist/cli/{scope-persistence-6qebaksv.js → scope-persistence-3tfvswtk.js} +17 -17
- package/dist/cli/semantic-classifier-bjsez0v5.js +8 -0
- package/dist/cli/server-rbvx63t6.js +18129 -0
- package/dist/cli/{skill-generator-tfm4kawf.js → skill-generator-r9wc6xt1.js} +19 -19
- package/dist/cli/snapshot-coordination-init-7w5em40w.js +86 -0
- package/dist/cli/{telemetry-0mz37v3h.js → telemetry-vw919tfm.js} +3 -3
- package/dist/cli/{workspace-snapshot-hkz2wt1c.js → workspace-snapshot-x54wxr6a.js} +4 -4
- package/dist/cli/{worktree-collision-ownership-6mgm8p9g.js → worktree-collision-ownership-yetwf2ch.js} +14 -14
- package/dist/cli/{worktree-isolation-02rr7t21.js → worktree-isolation-sxfj78hv.js} +45 -45
- package/dist/hooks/pr-workflow-gate.d.ts +14 -2
- package/dist/hooks/pr-workflow-session-resolver.d.ts +45 -0
- package/dist/hooks/search-knowledge.d.ts +7 -0
- package/dist/index.js +103 -103
- package/dist/mcp/adapters/knowledge-memory.d.ts +16 -0
- package/dist/mcp/adapters/scope-repo.d.ts +14 -0
- package/dist/mcp/adapters/verification.d.ts +20 -0
- package/dist/mcp/pipeline.d.ts +25 -0
- package/dist/mcp/registry.d.ts +47 -0
- package/dist/mcp/server.d.ts +35 -0
- package/dist/memory/gateway.d.ts +9 -1
- package/dist/observability/catalog.d.ts +4 -3
- package/dist/pr-review/completion.d.ts +12 -0
- package/dist/retention/dir-prune.d.ts +5 -1
- package/dist/telemetry.d.ts +11 -1
- package/dist/tools/dispatch-lanes.d.ts +5 -1
- package/dist/tools/placeholder-scan.d.ts +10 -0
- package/dist/tools/pr-workflow-status.d.ts +6 -0
- package/dist/tools/quality-budget.d.ts +10 -0
- package/dist/tools/repo-map.d.ts +5 -0
- package/dist/tools/sast-scan.d.ts +11 -0
- package/dist/tools/swarm-memory-recall.d.ts +12 -0
- package/dist/tools/syntax-check.d.ts +12 -1
- package/package.json +2 -1
- package/dist/cli/curator-llm-factory-exke3rag.js +0 -72
- package/dist/cli/guardrail-explain-pkbjswtd.js +0 -73
- package/dist/cli/guardrail-log-qx1tpeda.js +0 -23
- package/dist/cli/hive-promoter-02vxb018.js +0 -87
- package/dist/cli/snapshot-coordination-init-zgfjjv9p.js +0 -86
|
@@ -33,35 +33,35 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-y8y2bjsy.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-39x78qk0.js";
|
|
39
|
+
import"./index-6fb3y9pm.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-2rdj9mdh.js";
|
|
42
|
+
import"./index-677gzqmd.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
44
|
+
import"./index-6jshhpjw.js";
|
|
45
|
+
import"./index-frcemc0b.js";
|
|
46
|
+
import"./index-wrt875kh.js";
|
|
47
|
+
import"./index-dpb1xs5m.js";
|
|
48
|
+
import"./index-53ges0rk.js";
|
|
49
49
|
import"./index-vzm6zre7.js";
|
|
50
50
|
import"./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-1s3t3jdc.js";
|
|
52
|
+
import"./index-dga9j6s1.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-br3r0y73.js";
|
|
55
|
+
import"./index-a2kv054j.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-c1ggtmpm.js";
|
|
58
|
+
import"./index-3kqzzwvd.js";
|
|
59
59
|
import"./index-0mhftbpp.js";
|
|
60
60
|
import"./index-a1w58b47.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-zbw6h4xn.js";
|
|
62
|
+
import"./index-ecaws78e.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
|
-
import"./index-
|
|
64
|
+
import"./index-gknz3bv1.js";
|
|
65
65
|
import"./index-zpsr8rpc.js";
|
|
66
66
|
import"./index-zgwm4ryv.js";
|
|
67
67
|
import"./index-a76rekgs.js";
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
_snapshotCoordinationInternals,
|
|
4
|
+
beginSnapshotCoordinationReset,
|
|
5
|
+
closeSnapshotCoordinationInitialization,
|
|
6
|
+
ensureSnapshotCoordinationReady,
|
|
7
|
+
getSnapshotCoordinationStatus,
|
|
8
|
+
markSnapshotCoordinationClosing,
|
|
9
|
+
retrySnapshotCoordinationInitialization,
|
|
10
|
+
startSnapshotCoordinationInitialization
|
|
11
|
+
} from "./index-1vsmh63p.js";
|
|
12
|
+
import"./index-hnvmj9wx.js";
|
|
13
|
+
import"./index-nyrhz1h1.js";
|
|
14
|
+
import"./index-328eg2bb.js";
|
|
15
|
+
import"./index-nqbmk4b9.js";
|
|
16
|
+
import"./index-29j9sjbw.js";
|
|
17
|
+
import"./index-63t4m2t5.js";
|
|
18
|
+
import"./index-s723hx7z.js";
|
|
19
|
+
import"./index-txdagbh7.js";
|
|
20
|
+
import"./index-z2deqhpp.js";
|
|
21
|
+
import"./index-fpbcxykc.js";
|
|
22
|
+
import"./index-y8y2bjsy.js";
|
|
23
|
+
import"./index-z81mxyhm.js";
|
|
24
|
+
import"./index-r08tgb71.js";
|
|
25
|
+
import"./index-fyfbpz4f.js";
|
|
26
|
+
import"./index-v2fge66b.js";
|
|
27
|
+
import"./index-0hgmsyfp.js";
|
|
28
|
+
import"./index-zsrtt42s.js";
|
|
29
|
+
import"./index-25fa4krx.js";
|
|
30
|
+
import"./index-v6msnkz2.js";
|
|
31
|
+
import"./index-34jdempk.js";
|
|
32
|
+
import"./index-pt7h91zc.js";
|
|
33
|
+
import"./index-q7sjgr1y.js";
|
|
34
|
+
import"./index-8k09fkqj.js";
|
|
35
|
+
import"./index-8wnjcav5.js";
|
|
36
|
+
import"./index-0y2ygy5f.js";
|
|
37
|
+
import"./index-39x78qk0.js";
|
|
38
|
+
import"./index-6fb3y9pm.js";
|
|
39
|
+
import"./index-2s7dvzff.js";
|
|
40
|
+
import"./index-2rdj9mdh.js";
|
|
41
|
+
import"./index-677gzqmd.js";
|
|
42
|
+
import"./index-rtry5xyf.js";
|
|
43
|
+
import"./index-6jshhpjw.js";
|
|
44
|
+
import"./index-frcemc0b.js";
|
|
45
|
+
import"./index-wrt875kh.js";
|
|
46
|
+
import"./index-7q1m8rsw.js";
|
|
47
|
+
import"./index-5hambjmn.js";
|
|
48
|
+
import"./index-mj07x42s.js";
|
|
49
|
+
import"./index-12w05bxk.js";
|
|
50
|
+
import"./index-k441jgzk.js";
|
|
51
|
+
import"./index-efkckdaw.js";
|
|
52
|
+
import"./index-rdm3px0g.js";
|
|
53
|
+
import"./index-ry16d01s.js";
|
|
54
|
+
import"./index-dpb1xs5m.js";
|
|
55
|
+
import"./index-53ges0rk.js";
|
|
56
|
+
import"./index-vzm6zre7.js";
|
|
57
|
+
import"./index-ae75rja9.js";
|
|
58
|
+
import"./index-1s3t3jdc.js";
|
|
59
|
+
import"./index-dga9j6s1.js";
|
|
60
|
+
import"./index-7g4c7s5r.js";
|
|
61
|
+
import"./index-br3r0y73.js";
|
|
62
|
+
import"./index-a2kv054j.js";
|
|
63
|
+
import"./index-1xnse449.js";
|
|
64
|
+
import"./index-c1ggtmpm.js";
|
|
65
|
+
import"./index-3kqzzwvd.js";
|
|
66
|
+
import"./index-0mhftbpp.js";
|
|
67
|
+
import"./index-a1w58b47.js";
|
|
68
|
+
import"./index-zbw6h4xn.js";
|
|
69
|
+
import"./index-ecaws78e.js";
|
|
70
|
+
import"./index-bk5tah7q.js";
|
|
71
|
+
import"./index-gknz3bv1.js";
|
|
72
|
+
import"./index-zpsr8rpc.js";
|
|
73
|
+
import"./index-76qm2c2y.js";
|
|
74
|
+
import"./index-yzjaj53h.js";
|
|
75
|
+
import"./index-zgwm4ryv.js";
|
|
76
|
+
import"./index-a76rekgs.js";
|
|
77
|
+
export {
|
|
78
|
+
startSnapshotCoordinationInitialization,
|
|
79
|
+
retrySnapshotCoordinationInitialization,
|
|
80
|
+
markSnapshotCoordinationClosing,
|
|
81
|
+
getSnapshotCoordinationStatus,
|
|
82
|
+
ensureSnapshotCoordinationReady,
|
|
83
|
+
closeSnapshotCoordinationInitialization,
|
|
84
|
+
beginSnapshotCoordinationReset,
|
|
85
|
+
_snapshotCoordinationInternals
|
|
86
|
+
};
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
startHeartbeatTracking,
|
|
15
15
|
stopHeartbeatTracking,
|
|
16
16
|
telemetry
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-br3r0y73.js";
|
|
18
18
|
import"./index-1xnse449.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-c1ggtmpm.js";
|
|
20
|
+
import"./index-gknz3bv1.js";
|
|
21
21
|
import"./index-zpsr8rpc.js";
|
|
22
22
|
import"./index-zgwm4ryv.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
@@ -45,12 +45,12 @@ import {
|
|
|
45
45
|
shouldSkipSnapshot,
|
|
46
46
|
switchPrFeedbackTrackingCandidateAsync,
|
|
47
47
|
workspaceSnapshotMatches
|
|
48
|
-
} from "./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
} from "./index-v6msnkz2.js";
|
|
49
|
+
import"./index-6fb3y9pm.js";
|
|
50
50
|
import"./index-2s7dvzff.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-a2kv054j.js";
|
|
52
52
|
import"./index-1xnse449.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-c1ggtmpm.js";
|
|
54
54
|
import"./index-0mhftbpp.js";
|
|
55
55
|
import"./index-a1w58b47.js";
|
|
56
56
|
import"./index-zpsr8rpc.js";
|
|
@@ -9,35 +9,35 @@ import {
|
|
|
9
9
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
10
10
|
removeWorktreeProvisioningOwner,
|
|
11
11
|
scanWorktreeProvisioningOwnersForRecovery
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-34jdempk.js";
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-0y2ygy5f.js";
|
|
17
|
+
import"./index-6fb3y9pm.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-12w05bxk.js";
|
|
20
|
+
import"./index-k441jgzk.js";
|
|
21
|
+
import"./index-efkckdaw.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-dpb1xs5m.js";
|
|
25
|
+
import"./index-53ges0rk.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-1s3t3jdc.js";
|
|
29
|
+
import"./index-dga9j6s1.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-br3r0y73.js";
|
|
32
|
+
import"./index-a2kv054j.js";
|
|
33
33
|
import {
|
|
34
34
|
canonicalRootKeyFresh
|
|
35
35
|
} from "./index-1xnse449.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-c1ggtmpm.js";
|
|
37
37
|
import"./index-0mhftbpp.js";
|
|
38
38
|
import"./index-a1w58b47.js";
|
|
39
39
|
import"./index-bk5tah7q.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-gknz3bv1.js";
|
|
41
41
|
import"./index-zpsr8rpc.js";
|
|
42
42
|
import"./index-zgwm4ryv.js";
|
|
43
43
|
import"./index-a76rekgs.js";
|
|
@@ -21,69 +21,69 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
24
|
+
} from "./index-1vsmh63p.js";
|
|
25
|
+
import"./index-hnvmj9wx.js";
|
|
26
|
+
import"./index-nyrhz1h1.js";
|
|
27
|
+
import"./index-328eg2bb.js";
|
|
28
|
+
import"./index-nqbmk4b9.js";
|
|
29
|
+
import"./index-29j9sjbw.js";
|
|
30
|
+
import"./index-63t4m2t5.js";
|
|
31
|
+
import"./index-s723hx7z.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
33
|
+
import"./index-z2deqhpp.js";
|
|
34
|
+
import"./index-fpbcxykc.js";
|
|
35
|
+
import"./index-y8y2bjsy.js";
|
|
36
|
+
import"./index-z81mxyhm.js";
|
|
37
|
+
import"./index-r08tgb71.js";
|
|
38
38
|
import"./index-fyfbpz4f.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-v2fge66b.js";
|
|
40
40
|
import"./index-0hgmsyfp.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
42
|
+
import"./index-25fa4krx.js";
|
|
43
|
+
import"./index-v6msnkz2.js";
|
|
44
|
+
import"./index-34jdempk.js";
|
|
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-
|
|
47
|
+
import"./index-8k09fkqj.js";
|
|
48
|
+
import"./index-8wnjcav5.js";
|
|
49
|
+
import"./index-0y2ygy5f.js";
|
|
50
|
+
import"./index-39x78qk0.js";
|
|
51
|
+
import"./index-6fb3y9pm.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-2rdj9mdh.js";
|
|
54
|
+
import"./index-677gzqmd.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveWorktreeIsolationConfig
|
|
58
|
-
} from "./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
58
|
+
} from "./index-6jshhpjw.js";
|
|
59
|
+
import"./index-frcemc0b.js";
|
|
60
|
+
import"./index-wrt875kh.js";
|
|
61
|
+
import"./index-7q1m8rsw.js";
|
|
62
|
+
import"./index-5hambjmn.js";
|
|
63
|
+
import"./index-mj07x42s.js";
|
|
64
|
+
import"./index-12w05bxk.js";
|
|
65
|
+
import"./index-k441jgzk.js";
|
|
66
|
+
import"./index-efkckdaw.js";
|
|
67
67
|
import"./index-rdm3px0g.js";
|
|
68
68
|
import"./index-ry16d01s.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-dpb1xs5m.js";
|
|
70
|
+
import"./index-53ges0rk.js";
|
|
71
71
|
import"./index-vzm6zre7.js";
|
|
72
72
|
import"./index-ae75rja9.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-1s3t3jdc.js";
|
|
74
|
+
import"./index-dga9j6s1.js";
|
|
75
75
|
import"./index-7g4c7s5r.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
76
|
+
import"./index-br3r0y73.js";
|
|
77
|
+
import"./index-a2kv054j.js";
|
|
78
78
|
import"./index-1xnse449.js";
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
79
|
+
import"./index-c1ggtmpm.js";
|
|
80
|
+
import"./index-3kqzzwvd.js";
|
|
81
81
|
import"./index-0mhftbpp.js";
|
|
82
82
|
import"./index-a1w58b47.js";
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
83
|
+
import"./index-zbw6h4xn.js";
|
|
84
|
+
import"./index-ecaws78e.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
|
-
import"./index-
|
|
86
|
+
import"./index-gknz3bv1.js";
|
|
87
87
|
import"./index-zpsr8rpc.js";
|
|
88
88
|
import"./index-76qm2c2y.js";
|
|
89
89
|
import"./index-yzjaj53h.js";
|
|
@@ -2,7 +2,7 @@ import * as fsp from 'node:fs/promises';
|
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { type CandidateSeverity, type FindingsSeverity, type RowFormatFamily } from '../background/candidate-contract.js';
|
|
4
4
|
import { type LaneOutputArtifact } from '../background/lane-output-store.js';
|
|
5
|
-
import { type BackgroundDelegationRecord, type BackgroundDelegationResult, type BackgroundDelegationWorkflowLaneRecovery,
|
|
5
|
+
import { type BackgroundDelegationRecord, type BackgroundDelegationResult, type BackgroundDelegationWorkflowLaneRecovery, sweepStaleDelegations } from '../background/pending-delegations.js';
|
|
6
6
|
import { PR_REVIEW_BASE_DIMENSION_IDS, type PrReviewLaneResultEnvelope, type PrReviewRiskImpact, type PrReviewRiskTag } from '../background/pr-review-contract.js';
|
|
7
7
|
import { type PrReviewInlineTriggerRow } from '../background/pr-review-trigger-contract.js';
|
|
8
8
|
import { type RevisionDigestResult, resolveCommitCountSince, resolveCommitCountSinceAsync, resolveCurrentGitHead, resolveCurrentGitHeadAsync, resolveCurrentLocalHeadRefAsync, resolveCurrentUpstreamPushTarget, resolveCurrentUpstreamPushTargetAsync, resolveCurrentUpstreamRemoteRef, resolveExactRemoteBranchHead, resolveExactRemoteBranchHeadAsync, resolveIsExactSingleChildCommit, resolveIsExactSingleChildCommitAsync, resolveIsWorkingTreeClean, resolveIsWorkingTreeCleanAsync, resolvePrReviewDiffStats, resolvePrReviewDiffStatsAsync, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestDetailed, resolveRemoteRefsContainingHead, resolveRemoteRefsContainingHeadAsync, resolveRemoteUrlIdentity, resolveRemoteUrlIdentityAsync } from '../background/workspace-snapshot.js';
|
|
@@ -804,6 +804,18 @@ export interface PrWorkflowStaleLaneSettlement {
|
|
|
804
804
|
probeRetainedCorrelationIds?: string[];
|
|
805
805
|
/** Set when the probe could not produce evidence; absent when it ran. */
|
|
806
806
|
probeDegradedReason?: PrWorkflowLaneProbeDegradedReason;
|
|
807
|
+
/**
|
|
808
|
+
* Present ONLY when the advisory delegation-store read stayed uncertain
|
|
809
|
+
* after its bounded retry (issue #2511). Every lane count in this
|
|
810
|
+
* settlement is then UNKNOWN, not zero: `openLanes`-gated consumers
|
|
811
|
+
* (`abortPrWorkflow`, `recoverArmedPrWorkflow`,
|
|
812
|
+
* `transitionPrReviewToFeedback`, `completePrWorkflow`) must fail closed
|
|
813
|
+
* on this field instead of reading `openLanes === 0` as an all-clear.
|
|
814
|
+
*/
|
|
815
|
+
uncertainty?: {
|
|
816
|
+
reason: string;
|
|
817
|
+
attempts: number;
|
|
818
|
+
};
|
|
807
819
|
/** Operator-facing disclosure; `undefined` when nothing was settled or retained. */
|
|
808
820
|
disclosure?: string;
|
|
809
821
|
}
|
|
@@ -1703,7 +1715,7 @@ interface ExpectedWorkflowLane {
|
|
|
1703
1715
|
ownedWorkflowLanes?: string[];
|
|
1704
1716
|
}
|
|
1705
1717
|
interface QualifiedBatchRecord {
|
|
1706
|
-
record:
|
|
1718
|
+
record: BackgroundDelegationRecord;
|
|
1707
1719
|
expectedLane: ExpectedWorkflowLane;
|
|
1708
1720
|
expectedWorkflowLane: string;
|
|
1709
1721
|
expectedOwnedLanes: string[];
|
|
@@ -1,6 +1,51 @@
|
|
|
1
1
|
interface ResolverClient {
|
|
2
2
|
session?: unknown;
|
|
3
3
|
}
|
|
4
|
+
/**
|
|
5
|
+
* Typed outcome of the bounded observation walk (issue #2511 workstream D).
|
|
6
|
+
* `gate-owner` carries the caller's gate payload for the resolved owner;
|
|
7
|
+
* `no-gate` means the queried session itself has no parent linkage at the
|
|
8
|
+
* first hop (an ordinary gate-less session, NOT uncertainty); `uncertain`
|
|
9
|
+
* means the delegation chain is missing, cyclic, or depth-exhausted and must
|
|
10
|
+
* be reported as unknown — never as absence.
|
|
11
|
+
*/
|
|
12
|
+
export type PrWorkflowControllerResolution<T> = {
|
|
13
|
+
kind: 'gate-owner';
|
|
14
|
+
sessionID: string;
|
|
15
|
+
gate: T;
|
|
16
|
+
} | {
|
|
17
|
+
kind: 'no-gate';
|
|
18
|
+
sessionID: string;
|
|
19
|
+
} | {
|
|
20
|
+
kind: 'uncertain';
|
|
21
|
+
sessionID: null;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Bounded ancestry walk with typed uncertainty (issue #2511 workstream D).
|
|
25
|
+
*
|
|
26
|
+
* The same identity-resolution machinery the enforcement resolver uses
|
|
27
|
+
* (parent map -> `findByCorrelationId` -> host `session.get`), exposed for
|
|
28
|
+
* observation callers that must distinguish "no gate" from "cannot know".
|
|
29
|
+
* The gate-existence predicate is caller-supplied so status can use its
|
|
30
|
+
* recovery reader while enforcement keeps its strict reader — identity
|
|
31
|
+
* resolution stays shared, gate reading stays role-appropriate.
|
|
32
|
+
*
|
|
33
|
+
* Null-preservation rule: the host `session.get` fallback may resolve ONLY
|
|
34
|
+
* the first hop (the direct-controller case, where the queried session has no
|
|
35
|
+
* durable correlation record). Every later hop must come from durable
|
|
36
|
+
* records; a missing, cyclic, or depth-exhausted non-first hop resolves to
|
|
37
|
+
* `uncertain` BEFORE any host fallback is consulted.
|
|
38
|
+
*/
|
|
39
|
+
export declare function resolvePrWorkflowControllerSession<T>(options: {
|
|
40
|
+
directory: string;
|
|
41
|
+
sessionID: string;
|
|
42
|
+
/** Gate reader; a truthy payload marks its session as the gate owner. */
|
|
43
|
+
readGate: (sessionID: string) => Promise<T | null | undefined>;
|
|
44
|
+
/** Host client whose `session.get` may resolve only the first hop. */
|
|
45
|
+
client?: ResolverClient;
|
|
46
|
+
/** Optional shared parent map (e.g. the enforcement resolver's own map). */
|
|
47
|
+
parents?: Map<string, string>;
|
|
48
|
+
}): Promise<PrWorkflowControllerResolution<T>>;
|
|
4
49
|
/** Resolve a child tool call back to the nearest ancestor owning a durable PR gate. */
|
|
5
50
|
export declare function createPrWorkflowSessionResolver(options: {
|
|
6
51
|
directory: string;
|
|
@@ -58,6 +58,13 @@ export interface SearchKnowledgeParams {
|
|
|
58
58
|
* passes false so an explicit query is not silently role-gated.
|
|
59
59
|
*/
|
|
60
60
|
applyRoleScope?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Skip the receipt-authority rollup read when the receipts-v2 journal does
|
|
63
|
+
* not exist yet (default false). Read-only surfaces (#2499 MCP) set this so
|
|
64
|
+
* a query never materializes the ledger; ranking is unchanged because an
|
|
65
|
+
* absent ledger yields empty rollups anyway.
|
|
66
|
+
*/
|
|
67
|
+
skipLedgerGenesis?: boolean;
|
|
61
68
|
}
|
|
62
69
|
export interface SearchKnowledgeResult {
|
|
63
70
|
trace_id: string;
|