opencode-swarm 7.176.1 → 7.177.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/.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/background/delegation-lifecycle.d.ts +1 -0
- package/dist/cli/{coder-settlement-cctwqn8q.js → coder-settlement-pm07553t.js} +11 -11
- package/dist/cli/{config-doctor-f2j4t2qg.js → config-doctor-3mwx2rwq.js} +2 -2
- package/dist/cli/{core-j1wef1b1.js → core-ty985ae1.js} +3 -3
- package/dist/cli/{curation-policy-62k3tfy2.js → curation-policy-d8s9w1z8.js} +5 -5
- package/dist/cli/{curator-drift-j1ggdamr.js → curator-drift-4m984tvy.js} +4 -4
- package/dist/cli/curator-llm-factory-zbs6hm60.js +72 -0
- package/dist/cli/{curator-9bkavyx7.js → curator-pch7ww87.js} +36 -36
- package/dist/cli/{evidence-summary-service-vp1gnmw8.js → evidence-summary-service-cxed89n3.js} +15 -15
- package/dist/cli/{gate-evidence-wfc2ypwe.js → gate-evidence-ymye7yew.js} +6 -6
- package/dist/cli/guardrail-explain-1zy8c3vn.js +73 -0
- package/dist/cli/{guardrail-log-cw6kst05.js → guardrail-log-pgggycf9.js} +7 -7
- package/dist/cli/{guardrail-reset-vs77rj7q.js → guardrail-reset-aghymhr5.js} +36 -36
- package/dist/cli/{hive-promoter-f9zx73na.js → hive-promoter-3dp8qbqc.js} +36 -36
- package/dist/cli/{index-k4r7m6vz.js → index-0z5s71kn.js} +38 -38
- 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-9xp8cgh3.js → index-4chr4gbq.js} +8 -8
- package/dist/cli/{index-yss54mb9.js → index-5d2avnj9.js} +2 -2
- package/dist/cli/{index-drdcsxdc.js → index-5w51tawb.js} +7 -7
- package/dist/cli/{index-zwvrrwwb.js → index-73arkdgf.js} +2 -1
- package/dist/cli/{index-axzmpwsp.js → index-7bvzssz0.js} +3 -3
- package/dist/cli/{index-b6xgqf81.js → index-7nsvszwn.js} +2 -2
- package/dist/cli/{index-39g9ktkw.js → index-8dy3qf4q.js} +5 -5
- package/dist/cli/{index-8q6ax18j.js → index-9ftc8saz.js} +1 -1
- package/dist/cli/{index-xj3j4v3r.js → index-by7xpk8f.js} +3 -3
- package/dist/cli/{index-3ac47c51.js → index-ebmep9me.js} +890 -783
- package/dist/cli/{index-fsrfamds.js → index-eefz8ghz.js} +1 -1
- package/dist/cli/{index-sdcybkes.js → index-ef2fa774.js} +7 -7
- package/dist/cli/{index-bh07vpsw.js → index-en0p0hqp.js} +1 -1
- 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-85qk65a0.js → index-fnmt1ema.js} +3 -3
- package/dist/cli/{index-stz507bw.js → index-gwnbprzk.js} +4 -4
- package/dist/cli/{index-cj66fbmz.js → index-hxdswvtv.js} +7 -7
- package/dist/cli/{index-36gm5wzh.js → index-k6bjkqw8.js} +1 -1
- package/dist/cli/{index-dzqarb47.js → index-mcq6xs4k.js} +4 -4
- package/dist/cli/{index-3mrdcdsw.js → index-nzz58tbs.js} +2 -2
- package/dist/cli/{index-faqr1jkr.js → index-q1jterxw.js} +2 -2
- package/dist/cli/{index-r7fz80tj.js → index-r18n5f17.js} +4 -4
- package/dist/cli/{index-wa6ryk62.js → index-rgapg88w.js} +1 -1
- package/dist/cli/{index-qr5ryazn.js → index-rz4gpt3n.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-bmzmxewc.js → index-tzxk6ct7.js} +36 -36
- 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-af37hks1.js → index-w7aedfce.js} +8 -8
- 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-g4m0t1y4.js → index-yhaxn5r7.js} +1 -1
- package/dist/cli/{index-fwjenx4w.js → index-z8j7jqxt.js} +2 -2
- package/dist/cli/{index-ekw3p6a9.js → index-zbq9091c.js} +11 -11
- package/dist/cli/{index-9rpw0edg.js → index-zwam9stk.js} +6 -6
- package/dist/cli/{index-9kqtzj67.js → index-zzr7f594.js} +1 -1
- package/dist/cli/index.js +37 -37
- package/dist/cli/{knowledge-escalator-znzksqjb.js → knowledge-escalator-praedffr.js} +12 -12
- package/dist/cli/{knowledge-events-n77sysfe.js → knowledge-events-sn5gs5q9.js} +10 -10
- package/dist/cli/{knowledge-link-1n4kjc0c.js → knowledge-link-9z3fha35.js} +4 -4
- package/dist/cli/{knowledge-store-qv2n3q7j.js → knowledge-store-838sgd97.js} +5 -5
- package/dist/cli/{knowledge-validator-ed7y0c3r.js → knowledge-validator-bsxgarqv.js} +7 -7
- package/dist/cli/{mcp-xpxfwpjq.js → mcp-skh29erk.js} +1 -1
- package/dist/cli/{pending-delegations-d1m7ebsd.js → pending-delegations-6zr5es4b.js} +11 -11
- package/dist/cli/{pr-subscriptions-8v66558d.js → pr-subscriptions-x2rr3gva.js} +11 -11
- package/dist/cli/{pr-workflow-gate-bx7x5cyh.js → pr-workflow-gate-jx30c9vz.js} +36 -36
- package/dist/cli/{runner-91q995mh.js → runner-yhfmejzb.js} +5 -5
- package/dist/cli/{scan-cursor-9vp5c7dk.js → scan-cursor-6h85e2g0.js} +6 -6
- package/dist/cli/{schema-e0b6nwh6.js → schema-8h1b602y.js} +1 -1
- package/dist/cli/{scope-persistence-dd6cwhhc.js → scope-persistence-rb99xjr0.js} +14 -14
- package/dist/cli/{server-6xqhb2xr.js → server-kdjc5aw8.js} +36 -36
- package/dist/cli/{skill-generator-k9gvpdq5.js → skill-generator-nz7wjabh.js} +14 -14
- package/dist/cli/{snapshot-coordination-init-8a0cqgzy.js → snapshot-coordination-init-hexx2msp.js} +36 -36
- 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-msxze6pq.js → worktree-collision-ownership-ecwj3ehp.js} +12 -12
- package/dist/cli/{worktree-isolation-1fxsq65k.js → worktree-isolation-0x9fx30v.js} +36 -36
- package/dist/evidence/phase-participation.d.ts +17 -0
- package/dist/full-auto/state.d.ts +37 -2
- package/dist/index.js +259 -260
- 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/phase-complete.d.ts +40 -0
- package/dist/tools/repo-map.d.ts +1 -0
- package/dist/types/events.d.ts +15 -1
- package/package.json +2 -1
- package/dist/cli/curator-llm-factory-rdmbyw36.js +0 -72
- package/dist/cli/guardrail-explain-271bxeve.js +0 -73
|
@@ -23,29 +23,29 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
26
|
+
} from "./index-5w51tawb.js";
|
|
27
|
+
import"./index-zwam9stk.js";
|
|
28
|
+
import"./index-z8j7jqxt.js";
|
|
29
|
+
import"./index-v2he8xfj.js";
|
|
30
|
+
import"./index-1bq6hkw5.js";
|
|
31
|
+
import"./index-xnednxvm.js";
|
|
32
32
|
import"./index-rdm3px0g.js";
|
|
33
33
|
import"./index-ry16d01s.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-tbswvz8s.js";
|
|
35
|
+
import"./index-hxdswvtv.js";
|
|
36
36
|
import"./index-vzm6zre7.js";
|
|
37
37
|
import"./index-ae75rja9.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-en0p0hqp.js";
|
|
39
|
+
import"./index-tj0sdxg9.js";
|
|
40
40
|
import"./index-7g4c7s5r.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-2jtmevrr.js";
|
|
42
|
+
import"./index-yhaxn5r7.js";
|
|
43
43
|
import"./index-1xnse449.js";
|
|
44
44
|
import"./index-c1ggtmpm.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-zzr7f594.js";
|
|
46
46
|
import"./index-zz7gzw57.js";
|
|
47
47
|
import"./index-4ddpvd5c.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-73arkdgf.js";
|
|
49
49
|
import"./index-5frh43fj.js";
|
|
50
50
|
import"./index-bk5tah7q.js";
|
|
51
51
|
import"./index-gknz3bv1.js";
|
|
@@ -21,22 +21,22 @@ import {
|
|
|
21
21
|
readSynonymMap,
|
|
22
22
|
redactSecrets,
|
|
23
23
|
symbols
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-ebmep9me.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-by7xpk8f.js";
|
|
32
|
+
import"./index-eefz8ghz.js";
|
|
33
|
+
import"./index-rgapg88w.js";
|
|
34
34
|
import {
|
|
35
35
|
_internals,
|
|
36
36
|
loadPlanJsonOnly,
|
|
37
37
|
saveEvidence
|
|
38
|
-
} from "./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
} from "./index-zbq9091c.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-mcq6xs4k.js";
|
|
48
|
+
import"./index-8dy3qf4q.js";
|
|
49
|
+
import"./index-nzz58tbs.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-4chr4gbq.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-r18n5f17.js";
|
|
63
|
+
import"./index-fnmt1ema.js";
|
|
64
|
+
import"./index-ef2fa774.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-w7aedfce.js";
|
|
71
|
+
import"./index-exhm2ztr.js";
|
|
72
72
|
import"./index-2s7dvzff.js";
|
|
73
|
-
import"./index-
|
|
74
|
-
import"./index-
|
|
73
|
+
import"./index-gwnbprzk.js";
|
|
74
|
+
import"./index-wemtrnch.js";
|
|
75
75
|
import"./index-rtry5xyf.js";
|
|
76
|
-
import"./index-
|
|
76
|
+
import"./index-rz4gpt3n.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-5w51tawb.js";
|
|
80
|
+
import"./index-zwam9stk.js";
|
|
81
|
+
import"./index-z8j7jqxt.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-hxdswvtv.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-zzr7f594.js";
|
|
113
113
|
import {
|
|
114
114
|
init_git_executable,
|
|
115
115
|
resolveGitExecutableAsync
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
KnowledgeConfigSchema,
|
|
120
120
|
init_schema,
|
|
121
121
|
stripKnownSwarmPrefix
|
|
122
|
-
} from "./index-
|
|
122
|
+
} from "./index-73arkdgf.js";
|
|
123
123
|
import {
|
|
124
124
|
TOOL_METADATA,
|
|
125
125
|
init_tool_metadata
|
|
@@ -33,32 +33,32 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-mcq6xs4k.js";
|
|
37
37
|
import"./index-q7sjgr1y.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-w7aedfce.js";
|
|
39
|
+
import"./index-exhm2ztr.js";
|
|
40
40
|
import"./index-2s7dvzff.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-gwnbprzk.js";
|
|
42
|
+
import"./index-wemtrnch.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-rz4gpt3n.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-hxdswvtv.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-zzr7f594.js";
|
|
59
59
|
import"./index-zz7gzw57.js";
|
|
60
60
|
import"./index-4ddpvd5c.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-73arkdgf.js";
|
|
62
62
|
import"./index-5frh43fj.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
64
|
import"./index-gknz3bv1.js";
|
package/dist/cli/{snapshot-coordination-init-8a0cqgzy.js → snapshot-coordination-init-hexx2msp.js}
RENAMED
|
@@ -8,64 +8,64 @@ import {
|
|
|
8
8
|
markSnapshotCoordinationClosing,
|
|
9
9
|
retrySnapshotCoordinationInitialization,
|
|
10
10
|
startSnapshotCoordinationInitialization
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-ebmep9me.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-by7xpk8f.js";
|
|
15
|
+
import"./index-eefz8ghz.js";
|
|
16
|
+
import"./index-rgapg88w.js";
|
|
17
|
+
import"./index-zbq9091c.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-mcq6xs4k.js";
|
|
23
|
+
import"./index-8dy3qf4q.js";
|
|
24
|
+
import"./index-nzz58tbs.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-4chr4gbq.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-r18n5f17.js";
|
|
35
|
+
import"./index-fnmt1ema.js";
|
|
36
|
+
import"./index-ef2fa774.js";
|
|
37
|
+
import"./index-w7aedfce.js";
|
|
38
|
+
import"./index-exhm2ztr.js";
|
|
39
39
|
import"./index-2s7dvzff.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-gwnbprzk.js";
|
|
41
|
+
import"./index-wemtrnch.js";
|
|
42
42
|
import"./index-rtry5xyf.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-rz4gpt3n.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-5w51tawb.js";
|
|
47
|
+
import"./index-zwam9stk.js";
|
|
48
|
+
import"./index-z8j7jqxt.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-hxdswvtv.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-zzr7f594.js";
|
|
66
66
|
import"./index-zz7gzw57.js";
|
|
67
67
|
import"./index-4ddpvd5c.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-73arkdgf.js";
|
|
69
69
|
import"./index-5frh43fj.js";
|
|
70
70
|
import"./index-bk5tah7q.js";
|
|
71
71
|
import"./index-gknz3bv1.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-ef2fa774.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-hxdswvtv.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,66 +21,66 @@ import {
|
|
|
21
21
|
sanitizeWorktreeTaskId,
|
|
22
22
|
standardWorktreeByCallID,
|
|
23
23
|
standardWorktreeSerializationSessions
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-ebmep9me.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-by7xpk8f.js";
|
|
28
|
+
import"./index-eefz8ghz.js";
|
|
29
|
+
import"./index-rgapg88w.js";
|
|
30
|
+
import"./index-zbq9091c.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-mcq6xs4k.js";
|
|
36
|
+
import"./index-8dy3qf4q.js";
|
|
37
|
+
import"./index-nzz58tbs.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-4chr4gbq.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-r18n5f17.js";
|
|
48
|
+
import"./index-fnmt1ema.js";
|
|
49
|
+
import"./index-ef2fa774.js";
|
|
50
|
+
import"./index-w7aedfce.js";
|
|
51
|
+
import"./index-exhm2ztr.js";
|
|
52
52
|
import"./index-2s7dvzff.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-gwnbprzk.js";
|
|
54
|
+
import"./index-wemtrnch.js";
|
|
55
55
|
import"./index-rtry5xyf.js";
|
|
56
56
|
import {
|
|
57
57
|
resolveWorktreeIsolationConfig
|
|
58
|
-
} from "./index-
|
|
58
|
+
} from "./index-rz4gpt3n.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-5w51tawb.js";
|
|
62
|
+
import"./index-zwam9stk.js";
|
|
63
|
+
import"./index-z8j7jqxt.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-hxdswvtv.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-zzr7f594.js";
|
|
81
81
|
import"./index-zz7gzw57.js";
|
|
82
82
|
import"./index-4ddpvd5c.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-73arkdgf.js";
|
|
84
84
|
import"./index-5frh43fj.js";
|
|
85
85
|
import"./index-bk5tah7q.js";
|
|
86
86
|
import"./index-gknz3bv1.js";
|
|
@@ -41,4 +41,21 @@ export declare function completeBackgroundPhaseParticipation(input: {
|
|
|
41
41
|
resultText: string;
|
|
42
42
|
}): Promise<boolean>;
|
|
43
43
|
export declare function readPhaseParticipation(directory: string, plan: Plan, phase: number, role: string): Promise<ParticipationReadResult>;
|
|
44
|
+
/**
|
|
45
|
+
* Re-stamp receipts that were tagged with the plan's static `current_phase`
|
|
46
|
+
* cursor (issue #2702) to the phase whose completion is being recorded. Called
|
|
47
|
+
* from the phase_complete success path so a cursor-mistagged receipt, once it
|
|
48
|
+
* has satisfied the completing phase's gate, cannot also satisfy a later
|
|
49
|
+
* phase — per-phase docs participation stays enforced. Idempotent: a second
|
|
50
|
+
* run finds nothing left cursor-tagged.
|
|
51
|
+
*
|
|
52
|
+
* A lock-free pre-read skips the evidence lock when nothing is cursor-tagged —
|
|
53
|
+
* the common completion — so callers never contend the store lock for a no-op.
|
|
54
|
+
* If a writer lands a cursor-tagged receipt between the pre-read and the
|
|
55
|
+
* decision, the receipt simply stays cursor-tagged: the gate's cursor
|
|
56
|
+
* tolerance still matches it at the next completion, which rebinds then.
|
|
57
|
+
*/
|
|
58
|
+
export declare function rebindCursorTaggedReceipts(directory: string, plan: Plan, phase: number, role: string): Promise<{
|
|
59
|
+
rebound: number;
|
|
60
|
+
}>;
|
|
44
61
|
export declare function resetPhaseParticipationForTests(): void;
|
|
@@ -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 {};
|