opencode-swarm 7.176.2 → 7.177.1
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/.opencode/skills/writing-tests/SKILL.md +1 -1
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/agents/architect.d.ts +1 -1
- package/dist/background/delegation-lifecycle.d.ts +1 -0
- package/dist/cli/{coder-settlement-q81p8cdw.js → coder-settlement-c0kysest.js} +12 -12
- package/dist/cli/{config-doctor-g8yj2ax5.js → config-doctor-bqwse4pd.js} +3 -3
- package/dist/cli/{core-qhsd6kh4.js → core-e6vtme4x.js} +4 -4
- package/dist/cli/{curation-policy-62k3tfy2.js → curation-policy-d8s9w1z8.js} +5 -5
- package/dist/cli/{curator-33h6tpkm.js → curator-2xb1d80j.js} +37 -37
- package/dist/cli/{curator-drift-j1ggdamr.js → curator-drift-4m984tvy.js} +4 -4
- package/dist/cli/curator-llm-factory-fywmb8jh.js +72 -0
- package/dist/cli/{evidence-summary-service-h58msp28.js → evidence-summary-service-9yxm6jkq.js} +16 -16
- package/dist/cli/{gate-evidence-2mzqng35.js → gate-evidence-43bnst3v.js} +7 -7
- package/dist/cli/guardrail-explain-gm69b76w.js +73 -0
- package/dist/cli/{guardrail-log-8pm5hfaf.js → guardrail-log-j7cj3rjy.js} +8 -8
- package/dist/cli/{guardrail-reset-qygfp430.js → guardrail-reset-jcsyfvf4.js} +37 -37
- package/dist/cli/{hive-promoter-1921z8af.js → hive-promoter-hc0r0z9h.js} +37 -37
- package/dist/cli/{index-30dx8h76.js → index-1042jnb9.js} +2 -2
- package/dist/cli/{index-p2r8cejw.js → index-1bq6hkw5.js} +1 -1
- package/dist/cli/{index-68nc7zev.js → index-2jtmevrr.js} +68 -47
- package/dist/cli/{index-tfvtf8z5.js → index-4ygb35m1.js} +11 -11
- package/dist/cli/{index-yss54mb9.js → index-5d2avnj9.js} +2 -2
- package/dist/cli/{index-gq1qbzsw.js → index-634pjhe4.js} +7 -7
- package/dist/cli/{index-3gmfzg4w.js → index-67amf4my.js} +3 -3
- package/dist/cli/{index-nmrcgs2v.js → index-7c24bb1r.js} +2 -2
- package/dist/cli/{index-b6xgqf81.js → index-7nsvszwn.js} +2 -2
- package/dist/cli/{index-hc00tn5a.js → index-7ntcak58.js} +7 -7
- package/dist/cli/{index-ycb3h9gp.js → index-822hhbkc.js} +8 -8
- package/dist/cli/{index-pa9gk6qe.js → index-bc4x76z7.js} +37 -37
- package/dist/cli/{index-pgtrsc2t.js → index-bqmxxbrw.js} +7 -7
- package/dist/cli/{index-yg3aqync.js → index-cv191ybt.js} +8 -8
- package/dist/cli/{index-6kn88mce.js → index-drgt81xf.js} +6 -6
- package/dist/cli/{index-1d28c88a.js → index-e48h8m73.js} +3 -2
- package/dist/cli/{index-fsrfamds.js → index-eefz8ghz.js} +1 -1
- package/dist/cli/{index-bh07vpsw.js → index-en0p0hqp.js} +1 -1
- package/dist/cli/{index-ytg10jza.js → index-epsy1rh1.js} +39 -39
- package/dist/cli/{index-gaa1h7rv.js → index-exhm2ztr.js} +1 -1
- package/dist/cli/{index-yj8hn89a.js → index-eya03h5m.js} +7 -7
- package/dist/cli/{index-vqhpemaw.js → index-fgv6qp10.js} +4 -4
- package/dist/cli/{index-g364gm8a.js → index-fnq5ac3f.js} +4 -4
- package/dist/cli/{index-psvgm17t.js → index-fnw6zfh0.js} +1 -1
- package/dist/cli/{index-bsw3v6fa.js → index-hp5eet6g.js} +4 -4
- package/dist/cli/{index-mezy2tc7.js → index-j82xdrqp.js} +4 -4
- package/dist/cli/{index-d3mzw88v.js → index-k330631a.js} +5 -5
- package/dist/cli/{index-36gm5wzh.js → index-k6bjkqw8.js} +1 -1
- package/dist/cli/{index-pedvpj59.js → index-m0cdjvtv.js} +1 -1
- package/dist/cli/{index-5frh43fj.js → index-n7nzwz0q.js} +4 -0
- package/dist/cli/{index-7yms2y29.js → index-qgf5xexz.js} +4 -4
- package/dist/cli/{index-fwjenx4w.js → index-t2nf57mv.js} +4 -3
- package/dist/cli/{index-dp0zm7mj.js → index-t6q73twc.js} +2 -2
- package/dist/cli/{index-swhxs3n7.js → index-tbswvz8s.js} +2 -2
- package/dist/cli/{index-25aq56s9.js → index-tj0sdxg9.js} +2 -2
- package/dist/cli/{index-mw5k6s43.js → index-v2he8xfj.js} +2 -2
- package/dist/cli/{index-02sbqp2j.js → index-vfp9hjgv.js} +1 -1
- package/dist/cli/{index-agwajtws.js → index-wemtrnch.js} +1 -1
- package/dist/cli/{index-nxgbfgmc.js → index-xnednxvm.js} +1 -1
- package/dist/cli/{index-kc9jbsxh.js → index-yepxmq4f.js} +893 -786
- package/dist/cli/{index-g4m0t1y4.js → index-yhaxn5r7.js} +1 -1
- package/dist/cli/{index-z7f3z7t0.js → index-yrs4wwfq.js} +4 -4
- package/dist/cli/index.js +38 -38
- package/dist/cli/{knowledge-escalator-m88njezt.js → knowledge-escalator-j4jcpver.js} +13 -13
- package/dist/cli/{knowledge-events-ncwzpmne.js → knowledge-events-fcpzfp2m.js} +11 -11
- package/dist/cli/{knowledge-link-1n4kjc0c.js → knowledge-link-9z3fha35.js} +4 -4
- package/dist/cli/{knowledge-store-qsebf29s.js → knowledge-store-6evy197p.js} +5 -5
- package/dist/cli/{knowledge-validator-c345kv1x.js → knowledge-validator-s28b1ddg.js} +7 -7
- package/dist/cli/{mcp-0wqnyca5.js → mcp-9kqsnehc.js} +1 -1
- package/dist/cli/{model-preflight-gk1jysa8.js → model-preflight-1pp1a4yf.js} +1 -1
- package/dist/cli/{pending-delegations-fry2r78r.js → pending-delegations-e15f26e0.js} +11 -11
- package/dist/cli/{pr-subscriptions-sd3fyt8p.js → pr-subscriptions-mqv51zvm.js} +11 -11
- package/dist/cli/{pr-workflow-gate-c84n5x8x.js → pr-workflow-gate-fj31btdv.js} +37 -37
- package/dist/cli/{runner-91q995mh.js → runner-yhfmejzb.js} +5 -5
- package/dist/cli/{scan-cursor-ptg9wsmv.js → scan-cursor-tpnq7e56.js} +6 -6
- package/dist/cli/{schema-dwxscxbv.js → schema-1wwcyaxp.js} +2 -2
- package/dist/cli/{scope-persistence-effvw96s.js → scope-persistence-332nvn9b.js} +15 -15
- package/dist/cli/{server-91c44cv8.js → server-19bpfaps.js} +37 -37
- package/dist/cli/{skill-generator-kv7b5ync.js → skill-generator-gn1k4yxj.js} +15 -15
- package/dist/cli/{snapshot-coordination-init-1kxmhy02.js → snapshot-coordination-init-6ztt4v99.js} +37 -37
- package/dist/cli/{telemetry-1cfatyt0.js → telemetry-w774xb8g.js} +1 -1
- package/dist/cli/{workspace-snapshot-f81xc1vd.js → workspace-snapshot-9gqna7gq.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-esshj9p9.js → worktree-collision-ownership-q2ydb0ph.js} +12 -12
- package/dist/cli/{worktree-isolation-gvy7b6nq.js → worktree-isolation-fsqe1qdv.js} +37 -37
- package/dist/events/core-events.d.ts +1 -1
- package/dist/full-auto/state.d.ts +37 -2
- package/dist/hooks/delegation-gate.d.ts +26 -0
- package/dist/index.js +261 -262
- package/dist/observability/catalog.d.ts +2 -2
- package/dist/prm/escalation.d.ts +42 -1
- package/dist/prm/index.d.ts +4 -0
- package/dist/prm/types.d.ts +36 -0
- package/dist/state.d.ts +8 -1
- package/dist/telemetry.d.ts +17 -0
- package/dist/tools/approve-retry-sounding-board.d.ts +5 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/repo-map.d.ts +1 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/dist/types/events.d.ts +20 -2
- package/package.json +2 -1
- package/dist/cli/curator-llm-factory-bvck3388.js +0 -72
- package/dist/cli/guardrail-explain-vs575z3y.js +0 -73
|
@@ -21,22 +21,22 @@ import {
|
|
|
21
21
|
readSynonymMap,
|
|
22
22
|
redactSecrets,
|
|
23
23
|
symbols
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-yepxmq4f.js";
|
|
25
25
|
import {
|
|
26
26
|
getProfileForFile
|
|
27
27
|
} from "./index-hnvmj9wx.js";
|
|
28
28
|
import {
|
|
29
29
|
pLimit
|
|
30
|
-
} from "./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
30
|
+
} from "./index-vfp9hjgv.js";
|
|
31
|
+
import"./index-fgv6qp10.js";
|
|
32
|
+
import"./index-eefz8ghz.js";
|
|
33
|
+
import"./index-1042jnb9.js";
|
|
34
34
|
import {
|
|
35
35
|
_internals,
|
|
36
36
|
loadPlanJsonOnly,
|
|
37
37
|
saveEvidence
|
|
38
|
-
} from "./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
} from "./index-4ygb35m1.js";
|
|
39
|
+
import"./index-k6bjkqw8.js";
|
|
40
40
|
import"./index-txdagbh7.js";
|
|
41
41
|
import"./index-n1tcj1q7.js";
|
|
42
42
|
import {
|
|
@@ -44,47 +44,47 @@ import {
|
|
|
44
44
|
isCanonicalPathWithinRoot,
|
|
45
45
|
validateTargetWithinRoot
|
|
46
46
|
} from "./index-fpbcxykc.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-qgf5xexz.js";
|
|
48
|
+
import"./index-k330631a.js";
|
|
49
|
+
import"./index-7c24bb1r.js";
|
|
50
50
|
import"./index-fyfbpz4f.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-eya03h5m.js";
|
|
52
52
|
import"./index-549wxbe1.js";
|
|
53
53
|
import"./index-zsrtt42s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
54
|
+
import"./index-822hhbkc.js";
|
|
55
|
+
import"./index-5d2avnj9.js";
|
|
56
|
+
import"./index-7nsvszwn.js";
|
|
57
57
|
import {
|
|
58
58
|
getLanguageForExtension,
|
|
59
59
|
getParserForFile
|
|
60
60
|
} from "./index-pt7h91zc.js";
|
|
61
61
|
import"./index-q7sjgr1y.js";
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
62
|
+
import"./index-fnq5ac3f.js";
|
|
63
|
+
import"./index-j82xdrqp.js";
|
|
64
|
+
import"./index-bqmxxbrw.js";
|
|
65
65
|
import {
|
|
66
66
|
effectiveRetrievalOutcomes,
|
|
67
67
|
newTraceId,
|
|
68
68
|
readAuthoritativeKnowledgeCounterRollups,
|
|
69
69
|
recordKnowledgeEvent
|
|
70
|
-
} from "./index-
|
|
71
|
-
import"./index-
|
|
70
|
+
} from "./index-cv191ybt.js";
|
|
71
|
+
import"./index-exhm2ztr.js";
|
|
72
72
|
import"./index-2s7dvzff.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-yrs4wwfq.js";
|
|
74
|
+
import"./index-wemtrnch.js";
|
|
75
75
|
import"./index-rtry5xyf.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-67amf4my.js";
|
|
77
77
|
import"./index-frcemc0b.js";
|
|
78
78
|
import"./index-wrt875kh.js";
|
|
79
|
-
import"./index-
|
|
80
|
-
import"./index-
|
|
81
|
-
import"./index-
|
|
82
|
-
import"./index-
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
79
|
+
import"./index-7ntcak58.js";
|
|
80
|
+
import"./index-drgt81xf.js";
|
|
81
|
+
import"./index-t2nf57mv.js";
|
|
82
|
+
import"./index-v2he8xfj.js";
|
|
83
|
+
import"./index-1bq6hkw5.js";
|
|
84
|
+
import"./index-xnednxvm.js";
|
|
85
85
|
import"./index-rdm3px0g.js";
|
|
86
86
|
import"./index-ry16d01s.js";
|
|
87
|
-
import"./index-
|
|
87
|
+
import"./index-tbswvz8s.js";
|
|
88
88
|
import {
|
|
89
89
|
computeOutcomeSignal,
|
|
90
90
|
jaccardBigram,
|
|
@@ -94,14 +94,14 @@ import {
|
|
|
94
94
|
resolveHiveKnowledgePath,
|
|
95
95
|
resolveSwarmKnowledgePath,
|
|
96
96
|
wordBigrams
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-634pjhe4.js";
|
|
98
98
|
import"./index-vzm6zre7.js";
|
|
99
99
|
import"./index-ae75rja9.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
100
|
+
import"./index-en0p0hqp.js";
|
|
101
|
+
import"./index-tj0sdxg9.js";
|
|
102
102
|
import"./index-7g4c7s5r.js";
|
|
103
|
-
import"./index-
|
|
104
|
-
import"./index-
|
|
103
|
+
import"./index-2jtmevrr.js";
|
|
104
|
+
import"./index-yhaxn5r7.js";
|
|
105
105
|
import"./index-1xnse449.js";
|
|
106
106
|
import {
|
|
107
107
|
escapeRegex
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
import {
|
|
110
110
|
loadGateOverrides,
|
|
111
111
|
loadPluginConfigWithMeta
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-m0cdjvtv.js";
|
|
113
113
|
import {
|
|
114
114
|
init_git_executable,
|
|
115
115
|
resolveGitExecutableAsync
|
|
@@ -119,11 +119,11 @@ import {
|
|
|
119
119
|
KnowledgeConfigSchema,
|
|
120
120
|
init_schema,
|
|
121
121
|
stripKnownSwarmPrefix
|
|
122
|
-
} from "./index-
|
|
122
|
+
} from "./index-e48h8m73.js";
|
|
123
123
|
import {
|
|
124
124
|
TOOL_METADATA,
|
|
125
125
|
init_tool_metadata
|
|
126
|
-
} from "./index-
|
|
126
|
+
} from "./index-n7nzwz0q.js";
|
|
127
127
|
import {
|
|
128
128
|
init_knowledge_types,
|
|
129
129
|
isActiveStatus
|
|
@@ -33,33 +33,33 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-qgf5xexz.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-cv191ybt.js";
|
|
39
|
+
import"./index-exhm2ztr.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-yrs4wwfq.js";
|
|
42
|
+
import"./index-wemtrnch.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-67amf4my.js";
|
|
45
45
|
import"./index-frcemc0b.js";
|
|
46
46
|
import"./index-wrt875kh.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
47
|
+
import"./index-tbswvz8s.js";
|
|
48
|
+
import"./index-634pjhe4.js";
|
|
49
49
|
import"./index-vzm6zre7.js";
|
|
50
50
|
import"./index-ae75rja9.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-en0p0hqp.js";
|
|
52
|
+
import"./index-tj0sdxg9.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-2jtmevrr.js";
|
|
55
|
+
import"./index-yhaxn5r7.js";
|
|
56
56
|
import"./index-1xnse449.js";
|
|
57
57
|
import"./index-c1ggtmpm.js";
|
|
58
|
-
import"./index-
|
|
58
|
+
import"./index-m0cdjvtv.js";
|
|
59
59
|
import"./index-zz7gzw57.js";
|
|
60
60
|
import"./index-4ddpvd5c.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-e48h8m73.js";
|
|
62
|
+
import"./index-n7nzwz0q.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
64
|
import"./index-gknz3bv1.js";
|
|
65
65
|
import"./index-zpsr8rpc.js";
|
package/dist/cli/{snapshot-coordination-init-1kxmhy02.js → snapshot-coordination-init-6ztt4v99.js}
RENAMED
|
@@ -8,65 +8,65 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-yepxmq4f.js";
|
|
12
12
|
import"./index-hnvmj9wx.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
13
|
+
import"./index-vfp9hjgv.js";
|
|
14
|
+
import"./index-fgv6qp10.js";
|
|
15
|
+
import"./index-eefz8ghz.js";
|
|
16
|
+
import"./index-1042jnb9.js";
|
|
17
|
+
import"./index-4ygb35m1.js";
|
|
18
|
+
import"./index-k6bjkqw8.js";
|
|
19
19
|
import"./index-txdagbh7.js";
|
|
20
20
|
import"./index-n1tcj1q7.js";
|
|
21
21
|
import"./index-fpbcxykc.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-qgf5xexz.js";
|
|
23
|
+
import"./index-k330631a.js";
|
|
24
|
+
import"./index-7c24bb1r.js";
|
|
25
25
|
import"./index-fyfbpz4f.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-eya03h5m.js";
|
|
27
27
|
import"./index-549wxbe1.js";
|
|
28
28
|
import"./index-zsrtt42s.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-822hhbkc.js";
|
|
30
|
+
import"./index-5d2avnj9.js";
|
|
31
|
+
import"./index-7nsvszwn.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-
|
|
34
|
+
import"./index-fnq5ac3f.js";
|
|
35
|
+
import"./index-j82xdrqp.js";
|
|
36
|
+
import"./index-bqmxxbrw.js";
|
|
37
|
+
import"./index-cv191ybt.js";
|
|
38
|
+
import"./index-exhm2ztr.js";
|
|
39
39
|
import"./index-2s7dvzff.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-yrs4wwfq.js";
|
|
41
|
+
import"./index-wemtrnch.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-67amf4my.js";
|
|
44
44
|
import"./index-frcemc0b.js";
|
|
45
45
|
import"./index-wrt875kh.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
46
|
+
import"./index-7ntcak58.js";
|
|
47
|
+
import"./index-drgt81xf.js";
|
|
48
|
+
import"./index-t2nf57mv.js";
|
|
49
|
+
import"./index-v2he8xfj.js";
|
|
50
|
+
import"./index-1bq6hkw5.js";
|
|
51
|
+
import"./index-xnednxvm.js";
|
|
52
52
|
import"./index-rdm3px0g.js";
|
|
53
53
|
import"./index-ry16d01s.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-tbswvz8s.js";
|
|
55
|
+
import"./index-634pjhe4.js";
|
|
56
56
|
import"./index-vzm6zre7.js";
|
|
57
57
|
import"./index-ae75rja9.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-en0p0hqp.js";
|
|
59
|
+
import"./index-tj0sdxg9.js";
|
|
60
60
|
import"./index-7g4c7s5r.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-2jtmevrr.js";
|
|
62
|
+
import"./index-yhaxn5r7.js";
|
|
63
63
|
import"./index-1xnse449.js";
|
|
64
64
|
import"./index-c1ggtmpm.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-m0cdjvtv.js";
|
|
66
66
|
import"./index-zz7gzw57.js";
|
|
67
67
|
import"./index-4ddpvd5c.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-e48h8m73.js";
|
|
69
|
+
import"./index-n7nzwz0q.js";
|
|
70
70
|
import"./index-bk5tah7q.js";
|
|
71
71
|
import"./index-gknz3bv1.js";
|
|
72
72
|
import"./index-zpsr8rpc.js";
|
|
@@ -45,10 +45,10 @@ import {
|
|
|
45
45
|
shouldSkipSnapshot,
|
|
46
46
|
switchPrFeedbackTrackingCandidateAsync,
|
|
47
47
|
workspaceSnapshotMatches
|
|
48
|
-
} from "./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
} from "./index-5d2avnj9.js";
|
|
49
|
+
import"./index-exhm2ztr.js";
|
|
50
50
|
import"./index-2s7dvzff.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-yhaxn5r7.js";
|
|
52
52
|
import"./index-1xnse449.js";
|
|
53
53
|
import"./index-c1ggtmpm.js";
|
|
54
54
|
import"./index-zz7gzw57.js";
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
10
10
|
removeWorktreeProvisioningOwner,
|
|
11
11
|
scanWorktreeProvisioningOwnersForRecovery
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-7nsvszwn.js";
|
|
13
13
|
import {
|
|
14
14
|
scanDelegationFallbacksForRecovery,
|
|
15
15
|
scanDelegationsForRecovery
|
|
16
|
-
} from "./index-
|
|
17
|
-
import"./index-
|
|
16
|
+
} from "./index-bqmxxbrw.js";
|
|
17
|
+
import"./index-exhm2ztr.js";
|
|
18
18
|
import"./index-2s7dvzff.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-v2he8xfj.js";
|
|
20
|
+
import"./index-1bq6hkw5.js";
|
|
21
|
+
import"./index-xnednxvm.js";
|
|
22
22
|
import"./index-rdm3px0g.js";
|
|
23
23
|
import"./index-ry16d01s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-tbswvz8s.js";
|
|
25
|
+
import"./index-634pjhe4.js";
|
|
26
26
|
import"./index-vzm6zre7.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-en0p0hqp.js";
|
|
29
|
+
import"./index-tj0sdxg9.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-2jtmevrr.js";
|
|
32
|
+
import"./index-yhaxn5r7.js";
|
|
33
33
|
import {
|
|
34
34
|
canonicalRootKeyFresh
|
|
35
35
|
} from "./index-1xnse449.js";
|
|
@@ -21,67 +21,67 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-yepxmq4f.js";
|
|
25
25
|
import"./index-hnvmj9wx.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
26
|
+
import"./index-vfp9hjgv.js";
|
|
27
|
+
import"./index-fgv6qp10.js";
|
|
28
|
+
import"./index-eefz8ghz.js";
|
|
29
|
+
import"./index-1042jnb9.js";
|
|
30
|
+
import"./index-4ygb35m1.js";
|
|
31
|
+
import"./index-k6bjkqw8.js";
|
|
32
32
|
import"./index-txdagbh7.js";
|
|
33
33
|
import"./index-n1tcj1q7.js";
|
|
34
34
|
import"./index-fpbcxykc.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
35
|
+
import"./index-qgf5xexz.js";
|
|
36
|
+
import"./index-k330631a.js";
|
|
37
|
+
import"./index-7c24bb1r.js";
|
|
38
38
|
import"./index-fyfbpz4f.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-eya03h5m.js";
|
|
40
40
|
import"./index-549wxbe1.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-822hhbkc.js";
|
|
43
|
+
import"./index-5d2avnj9.js";
|
|
44
|
+
import"./index-7nsvszwn.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-
|
|
47
|
+
import"./index-fnq5ac3f.js";
|
|
48
|
+
import"./index-j82xdrqp.js";
|
|
49
|
+
import"./index-bqmxxbrw.js";
|
|
50
|
+
import"./index-cv191ybt.js";
|
|
51
|
+
import"./index-exhm2ztr.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-yrs4wwfq.js";
|
|
54
|
+
import"./index-wemtrnch.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveWorktreeIsolationConfig
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-67amf4my.js";
|
|
59
59
|
import"./index-frcemc0b.js";
|
|
60
60
|
import"./index-wrt875kh.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
63
|
-
import"./index-
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
66
|
-
import"./index-
|
|
61
|
+
import"./index-7ntcak58.js";
|
|
62
|
+
import"./index-drgt81xf.js";
|
|
63
|
+
import"./index-t2nf57mv.js";
|
|
64
|
+
import"./index-v2he8xfj.js";
|
|
65
|
+
import"./index-1bq6hkw5.js";
|
|
66
|
+
import"./index-xnednxvm.js";
|
|
67
67
|
import"./index-rdm3px0g.js";
|
|
68
68
|
import"./index-ry16d01s.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-tbswvz8s.js";
|
|
70
|
+
import"./index-634pjhe4.js";
|
|
71
71
|
import"./index-vzm6zre7.js";
|
|
72
72
|
import"./index-ae75rja9.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-en0p0hqp.js";
|
|
74
|
+
import"./index-tj0sdxg9.js";
|
|
75
75
|
import"./index-7g4c7s5r.js";
|
|
76
|
-
import"./index-
|
|
77
|
-
import"./index-
|
|
76
|
+
import"./index-2jtmevrr.js";
|
|
77
|
+
import"./index-yhaxn5r7.js";
|
|
78
78
|
import"./index-1xnse449.js";
|
|
79
79
|
import"./index-c1ggtmpm.js";
|
|
80
|
-
import"./index-
|
|
80
|
+
import"./index-m0cdjvtv.js";
|
|
81
81
|
import"./index-zz7gzw57.js";
|
|
82
82
|
import"./index-4ddpvd5c.js";
|
|
83
|
-
import"./index-
|
|
84
|
-
import"./index-
|
|
83
|
+
import"./index-e48h8m73.js";
|
|
84
|
+
import"./index-n7nzwz0q.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
86
|
import"./index-gknz3bv1.js";
|
|
87
87
|
import"./index-zpsr8rpc.js";
|
|
@@ -70,7 +70,7 @@ export interface CoreEventLimits {
|
|
|
70
70
|
maxLineBytes: number;
|
|
71
71
|
}
|
|
72
72
|
export declare const CORE_EVENT_LIMITS: CoreEventLimits;
|
|
73
|
-
export type CoderRetryEscalationAction = 'sounding_board_consultation' | 'simplification' | 'user_escalation';
|
|
73
|
+
export type CoderRetryEscalationAction = 'sounding_board_consultation' | 'simplification' | 'user_escalation' | 'sounding_board_manual_approval';
|
|
74
74
|
/** Size-bounded folded aggregate persisted in the manifest header. FOLDED-ONLY:
|
|
75
75
|
* events compacted/cut away from the retained window. Retained events are NOT
|
|
76
76
|
* in here. Lifetime totals = folded + retained. */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
type StateLockFile = {
|
|
2
|
+
lockSync: (file: string, options?: {
|
|
3
|
+
stale?: number;
|
|
4
|
+
realpath?: boolean;
|
|
5
|
+
}) => () => void;
|
|
6
|
+
};
|
|
1
7
|
export type FullAutoStatus = 'idle' | 'running' | 'paused' | 'terminated';
|
|
2
8
|
export interface FullAutoDenialRecord {
|
|
3
9
|
timestamp: string;
|
|
@@ -81,6 +87,23 @@ export interface FullAutoConfigShape {
|
|
|
81
87
|
on_limit?: 'pause' | 'terminate';
|
|
82
88
|
};
|
|
83
89
|
}
|
|
90
|
+
export type FullAutoStateLockErrorCategory = 'contention' | 'configuration' | 'storage';
|
|
91
|
+
/**
|
|
92
|
+
* Typed failure for acquiring or releasing the Full-Auto state lock.
|
|
93
|
+
*
|
|
94
|
+
* The callback is never invoked for these failures. Persistence errors thrown
|
|
95
|
+
* by the callback retain their existing error shape so callers can distinguish
|
|
96
|
+
* lock failures from read/write failures.
|
|
97
|
+
*/
|
|
98
|
+
export declare class FullAutoStateLockError extends Error {
|
|
99
|
+
readonly category: FullAutoStateLockErrorCategory;
|
|
100
|
+
readonly cause: unknown;
|
|
101
|
+
readonly code: `FULL_AUTO_STATE_LOCK_${Uppercase<FullAutoStateLockErrorCategory>}`;
|
|
102
|
+
constructor(category: FullAutoStateLockErrorCategory, message: string, cause?: unknown);
|
|
103
|
+
}
|
|
104
|
+
export declare function isFullAutoStateLockError(error: unknown): error is FullAutoStateLockError;
|
|
105
|
+
/** Mark a session paused in-process when an observer cannot acquire state. */
|
|
106
|
+
export declare function markFullAutoStateLockFailure(directory: string, sessionID: string, reason?: string): void;
|
|
84
107
|
export declare class FullAutoStateUnreadableError extends Error {
|
|
85
108
|
constructor(reason: string);
|
|
86
109
|
}
|
|
@@ -88,7 +111,8 @@ export declare function isFullAutoStateUnreadable(): {
|
|
|
88
111
|
unreadable: boolean;
|
|
89
112
|
reason: string;
|
|
90
113
|
};
|
|
91
|
-
|
|
114
|
+
/** Always read the canonical file for a locked read-modify-write operation. */
|
|
115
|
+
declare function readPersistedForMutation(directory: string): FullAutoPersistedState;
|
|
92
116
|
/**
|
|
93
117
|
* Atomically persist Full-Auto durable state.
|
|
94
118
|
*
|
|
@@ -130,6 +154,16 @@ export declare function terminateFullAutoRun(directory: string, sessionID: strin
|
|
|
130
154
|
export declare function isFullAutoRunActive(directory: string, sessionID: string): boolean;
|
|
131
155
|
export type FullAutoCounterKey = keyof FullAutoCounters;
|
|
132
156
|
export declare function incrementFullAutoCounter(directory: string, sessionID: string, counter: FullAutoCounterKey, delta?: number): FullAutoRunState | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Record a subagent return and, for an accepted severe envelope, pause the
|
|
159
|
+
* run in the same locked read-modify-write. This prevents a successful
|
|
160
|
+
* counter write from being separated from the safety pause by a second lock
|
|
161
|
+
* acquisition.
|
|
162
|
+
*/
|
|
163
|
+
export declare function recordFullAutoSubagentOutcome(directory: string, sessionID: string, options: {
|
|
164
|
+
severe: boolean;
|
|
165
|
+
pauseReason?: string;
|
|
166
|
+
}): FullAutoRunState | undefined;
|
|
133
167
|
/**
|
|
134
168
|
* Increment the consecutive-oversight-failure counter.
|
|
135
169
|
* Returns the new value after incrementing.
|
|
@@ -183,7 +217,8 @@ export declare function shouldPauseForDenials(state: FullAutoRunState, config: F
|
|
|
183
217
|
* Test-only DI seam — same rationale as `src/state.ts:_internals`.
|
|
184
218
|
*/
|
|
185
219
|
export declare const _internals: {
|
|
186
|
-
readPersisted: typeof
|
|
220
|
+
readPersisted: typeof readPersistedForMutation;
|
|
187
221
|
writePersisted: typeof writePersisted;
|
|
222
|
+
lockfile: StateLockFile;
|
|
188
223
|
};
|
|
189
224
|
export {};
|
|
@@ -418,6 +418,32 @@ export declare function forceRecordPlanCriticApproval(directory: string, session
|
|
|
418
418
|
reason?: string;
|
|
419
419
|
userConfirmed: boolean;
|
|
420
420
|
}>;
|
|
421
|
+
/**
|
|
422
|
+
* Issue #2703: architect-facing manual recovery for the coder retry circuit
|
|
423
|
+
* breaker's critic_sounding_board gate. `enforceCoderRetryEscalation` blocks
|
|
424
|
+
* every coder dispatch for a task until durable evidence
|
|
425
|
+
* `gates.critic_sounding_board` exists, but the only foreground writer is the
|
|
426
|
+
* toolAfter auto-recorder, whose conjunctive preconditions (verdict parse via
|
|
427
|
+
* the plan-critic rubric, dispatch-time task attribution, launch-generation
|
|
428
|
+
* binding, non-terminal output state) can each miss on a legitimate APPROVED
|
|
429
|
+
* verdict — leaving the gate blocked across sessions and resets with no
|
|
430
|
+
* recovery path (unlike the plan-critic gate's approve_plan_critic, issue
|
|
431
|
+
* #2012). This helper writes the exact evidence the mechanical recorder would
|
|
432
|
+
* have written. It records evidence ONLY: it never emits
|
|
433
|
+
* sounding_board_consultation / simplification / user_escalation, so it cannot
|
|
434
|
+
* fabricate or skip the escalation protocol — a durable consultation for the
|
|
435
|
+
* task's CURRENT retry epoch must already exist.
|
|
436
|
+
*/
|
|
437
|
+
export declare function forceRecordRetrySoundingBoardApproval(directory: string, sessionID: string, options: {
|
|
438
|
+
taskId: string;
|
|
439
|
+
reason?: string;
|
|
440
|
+
}): Promise<{
|
|
441
|
+
taskId: string;
|
|
442
|
+
generation: number;
|
|
443
|
+
retryEpoch: number;
|
|
444
|
+
recordedAt: string;
|
|
445
|
+
auditEventRecorded: boolean;
|
|
446
|
+
}>;
|
|
421
447
|
/**
|
|
422
448
|
* Builds a cause-specific diagnostic for `prepareCoderScope`'s SCOPE_NOT_DECLARED
|
|
423
449
|
* throw when `resolveDelegatedPlanTaskId` returns null. Re-runs extraction with
|