opencode-swarm 7.152.1 → 7.153.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/swarm-pr-review/SKILL.md +10 -10
- package/dist/cli/{capability-probe-va4kk8vg.js → capability-probe-5wa7mcp6.js} +3 -2
- package/dist/cli/{config-doctor-bbqmye7a.js → config-doctor-7s7xga6f.js} +3 -3
- package/dist/cli/{core-fh4e6ex0.js → core-vkpy14vv.js} +2 -2
- package/dist/cli/{curation-policy-nem98yc9.js → curation-policy-xy7tm4ad.js} +4 -4
- package/dist/cli/{curator-909s9dvs.js → curator-6freqnhf.js} +25 -26
- package/dist/cli/{curator-llm-factory-462rysph.js → curator-llm-factory-q5cjk7mt.js} +25 -26
- package/dist/cli/{evidence-summary-service-kqw4y0yr.js → evidence-summary-service-engtgjww.js} +11 -11
- package/dist/cli/{gate-evidence-ycts62pj.js → gate-evidence-6bzzz8kq.js} +5 -5
- package/dist/cli/{guardrail-explain-7620hasq.js → guardrail-explain-vsck39dh.js} +26 -27
- package/dist/cli/{guardrail-log-e1tmdxxa.js → guardrail-log-0dn8m3k6.js} +4 -4
- package/dist/cli/{guardrail-reset-gdnaxxvb.js → guardrail-reset-6e2vyfn9.js} +25 -26
- package/dist/cli/{hive-promoter-d0xydg6r.js → hive-promoter-021abs6z.js} +25 -26
- package/dist/cli/{index-mken64yj.js → index-0n7nm9e8.js} +1 -1
- package/dist/cli/{index-pvrap7xg.js → index-1yfpw7w0.js} +1 -1
- package/dist/cli/{index-2e1294d1.js → index-3z2f1cy8.js} +16 -10
- package/dist/cli/{index-n0vc5b5t.js → index-3z5jtyan.js} +14 -6
- package/dist/cli/{index-85gkedsf.js → index-4fwbbad3.js} +521 -15
- package/dist/cli/{index-nd8tkb3g.js → index-4gn111h3.js} +5 -5
- package/dist/cli/{index-rq6aetkv.js → index-5w915x8b.js} +4 -4
- package/dist/cli/{index-q77e475x.js → index-5x67858f.js} +3 -3
- package/dist/cli/{index-k3d919yf.js → index-6v77adf7.js} +84 -23
- package/dist/cli/{index-0tfgn5x0.js → index-77xy577c.js} +6 -6
- package/dist/cli/{index-02ajc6d1.js → index-7q56f3se.js} +2 -2
- package/dist/cli/{index-xyfdmrv7.js → index-80ekaf5b.js} +1 -1
- package/dist/cli/{index-sg2sx2q7.js → index-95qra69h.js} +3826 -2018
- package/dist/cli/{index-73pmnsjg.js → index-9gjbe4e4.js} +1 -1
- package/dist/cli/{index-z8s2asdk.js → index-9vdh4kdx.js} +22 -150
- package/dist/cli/{index-z9fyd0d6.js → index-babtfqa0.js} +2 -2
- package/dist/cli/{index-4tvvh7pn.js → index-dh1gk5c5.js} +29 -28
- package/dist/cli/{index-3djxegsc.js → index-e2hs0bh7.js} +1 -1
- package/dist/cli/{index-qqrdmaxq.js → index-eajfs7v4.js} +2 -2
- package/dist/cli/{index-26vyr198.js → index-eqh3t8eh.js} +6 -6
- package/dist/cli/{index-29vd7v3e.js → index-g0m6kypc.js} +1 -1
- package/dist/cli/{index-96m8ckpq.js → index-hexhzq5j.js} +4 -4
- package/dist/cli/{index-ryecg2st.js → index-hkmgzesw.js} +3 -3
- package/dist/cli/{index-x6803sxh.js → index-hw49515c.js} +2 -2
- package/dist/cli/{index-7fh82sm1.js → index-k2ydsqs7.js} +2 -2
- package/dist/cli/{index-cpg98bh1.js → index-myt57pht.js} +1 -1
- package/dist/cli/{index-79g6edht.js → index-qgfnd206.js} +1 -1
- package/dist/cli/{index-44xdtqz8.js → index-x6zy6veh.js} +1 -1
- package/dist/cli/{index-dn6yt0xg.js → index-xv881ahz.js} +5 -5
- package/dist/cli/index.js +25 -26
- package/dist/cli/{knowledge-escalator-4egcr928.js → knowledge-escalator-79zbhpz5.js} +10 -10
- package/dist/cli/{knowledge-events-kdyv4jzn.js → knowledge-events-79cak7eb.js} +8 -8
- package/dist/cli/{knowledge-link-h8cwj7af.js → knowledge-link-40zsr5ja.js} +3 -3
- package/dist/cli/{knowledge-store-dq3cvg53.js → knowledge-store-w29aw5w0.js} +4 -4
- package/dist/cli/{knowledge-validator-4bhtden9.js → knowledge-validator-qsecnt2d.js} +6 -6
- package/dist/cli/{model-preflight-7ea00h34.js → model-preflight-b95w8wxy.js} +1 -1
- package/dist/cli/{runner-w81n9js3.js → runner-fbgsxs74.js} +4 -4
- package/dist/cli/{scan-cursor-2eezv81a.js → scan-cursor-1r3pcdqp.js} +5 -5
- package/dist/cli/{schema-v4qcqhek.js → schema-19qsv6fw.js} +2 -2
- package/dist/cli/{scope-persistence-y2r227r0.js → scope-persistence-ypcrvqtt.js} +6 -6
- package/dist/cli/{skill-generator-hhzxvb3h.js → skill-generator-wpp9kpa0.js} +12 -12
- package/dist/cli/{worktree-isolation-ve338ez6.js → worktree-isolation-wcry8qnn.js} +25 -26
- package/dist/commands/approve-write.d.ts +1 -0
- package/dist/commands/index.d.ts +1 -0
- package/dist/commands/registry.d.ts +7 -0
- package/dist/config/schema.d.ts +39 -4
- package/dist/consensus/contracts.d.ts +14 -0
- package/dist/hooks/full-auto-permission.d.ts +7 -0
- package/dist/hooks/guardrails/index.d.ts +2 -1
- package/dist/hooks/guardrails/tool-before.d.ts +4 -0
- package/dist/hooks/pr-workflow-gate.d.ts +12 -0
- package/dist/hooks/scope-guard.d.ts +1 -3
- package/dist/index.js +624 -606
- package/dist/learning/provenance.d.ts +9 -0
- package/dist/sandbox/capability-probe.d.ts +40 -1
- package/dist/sandbox/executor.d.ts +26 -1
- package/dist/sandbox/linux/bubblewrap-executor.d.ts +3 -1
- package/dist/sandbox/macos/sandbox-exec-executor.d.ts +3 -1
- package/dist/sandbox/skip-state.d.ts +24 -0
- package/dist/sandbox/win32/native-sandbox-executor.d.ts +5 -1
- package/dist/security/command-classifier.d.ts +22 -0
- package/dist/security/protected-input-integrity.d.ts +19 -0
- package/dist/security/protected-path-policy.d.ts +9 -0
- package/dist/security/write-authority.d.ts +46 -0
- package/dist/services/diagnose-service.d.ts +1 -1
- package/dist/services/skill-generator.d.ts +2 -0
- package/dist/services/skill-improver.d.ts +69 -0
- package/dist/tools/dispatch-lanes.d.ts +47 -0
- package/dist/tools/repo-graph/query.d.ts +2 -1
- package/dist/tools/repo-graph/types.d.ts +64 -0
- package/dist/tools/repo-graph.d.ts +1 -1
- package/dist/tools/skill-improve.d.ts +7 -0
- package/package.json +1 -1
- package/dist/cli/index-3g0xk6tk.js +0 -219
package/dist/cli/index.js
CHANGED
|
@@ -11,64 +11,63 @@ import {
|
|
|
11
11
|
readCachePackageVersion,
|
|
12
12
|
resolveCommand,
|
|
13
13
|
safeRealpathSync
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
14
|
+
} from "./index-95qra69h.js";
|
|
15
|
+
import"./index-x6zy6veh.js";
|
|
16
|
+
import"./index-6v77adf7.js";
|
|
17
|
+
import"./index-hw49515c.js";
|
|
18
|
+
import"./index-eqh3t8eh.js";
|
|
19
|
+
import"./index-9gjbe4e4.js";
|
|
20
20
|
import"./index-134d35c1.js";
|
|
21
21
|
import"./index-nj6rmyeh.js";
|
|
22
22
|
import"./index-y8552snf.js";
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
23
|
+
import"./index-4gn111h3.js";
|
|
24
|
+
import"./index-7q56f3se.js";
|
|
25
25
|
import"./index-70ha9e09.js";
|
|
26
26
|
import"./index-c8s9a3zh.js";
|
|
27
27
|
import"./index-9ss2m4rs.js";
|
|
28
28
|
import"./index-vnn7qq8c.js";
|
|
29
29
|
import"./index-0q2mjxp2.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
30
|
+
import"./index-3z2f1cy8.js";
|
|
31
|
+
import"./index-5w915x8b.js";
|
|
32
|
+
import"./index-1yfpw7w0.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
34
|
import"./index-zsrtt42s.js";
|
|
35
35
|
import"./index-z4bg1hv8.js";
|
|
36
36
|
import"./index-fxvgaeq4.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
37
|
+
import"./index-babtfqa0.js";
|
|
38
|
+
import"./index-eajfs7v4.js";
|
|
39
|
+
import"./index-5x67858f.js";
|
|
40
|
+
import"./index-80ekaf5b.js";
|
|
41
41
|
import"./index-6zkm4p7p.js";
|
|
42
42
|
import"./index-556ja8an.js";
|
|
43
43
|
import"./index-b43rt5ph.js";
|
|
44
44
|
import"./index-q7sjgr1y.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-ryecg2st.js";
|
|
45
|
+
import"./index-4fwbbad3.js";
|
|
46
|
+
import"./index-77xy577c.js";
|
|
47
|
+
import"./index-xv881ahz.js";
|
|
48
|
+
import"./index-hkmgzesw.js";
|
|
50
49
|
import"./index-gprxjmm7.js";
|
|
51
50
|
import"./index-n832052r.js";
|
|
52
51
|
import"./index-4cgee5vh.js";
|
|
53
52
|
import"./index-z6xqpmqg.js";
|
|
54
53
|
import"./index-r3mvsbtq.js";
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-e2hs0bh7.js";
|
|
56
55
|
import {
|
|
57
56
|
init_package,
|
|
58
57
|
package_default
|
|
59
|
-
} from "./index-
|
|
58
|
+
} from "./index-3z5jtyan.js";
|
|
60
59
|
import {
|
|
61
60
|
DEFAULT_AGENT_CONFIGS,
|
|
62
61
|
init_constants
|
|
63
|
-
} from "./index-
|
|
62
|
+
} from "./index-myt57pht.js";
|
|
64
63
|
import"./index-9e6fdz2h.js";
|
|
65
64
|
import"./index-4rhhvd1a.js";
|
|
66
65
|
import"./index-zjygnfay.js";
|
|
67
66
|
import"./index-ae75rja9.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
67
|
+
import"./index-qgfnd206.js";
|
|
68
|
+
import"./index-0n7nm9e8.js";
|
|
70
69
|
import"./index-bk5tah7q.js";
|
|
71
|
-
import"./index-
|
|
70
|
+
import"./index-k2ydsqs7.js";
|
|
72
71
|
import"./index-txbd25bc.js";
|
|
73
72
|
import"./index-aw492hpn.js";
|
|
74
73
|
import"./index-7g4c7s5r.js";
|
|
@@ -9,26 +9,26 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
12
|
+
} from "./index-4gn111h3.js";
|
|
13
|
+
import"./index-77xy577c.js";
|
|
14
|
+
import"./index-xv881ahz.js";
|
|
15
|
+
import"./index-hkmgzesw.js";
|
|
16
16
|
import"./index-gprxjmm7.js";
|
|
17
17
|
import"./index-n832052r.js";
|
|
18
18
|
import"./index-4cgee5vh.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
21
|
+
import"./index-e2hs0bh7.js";
|
|
22
|
+
import"./index-3z5jtyan.js";
|
|
23
|
+
import"./index-myt57pht.js";
|
|
24
24
|
import"./index-9e6fdz2h.js";
|
|
25
25
|
import"./index-4rhhvd1a.js";
|
|
26
26
|
import"./index-zjygnfay.js";
|
|
27
27
|
import"./index-ae75rja9.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
import"./index-qgfnd206.js";
|
|
29
|
+
import"./index-0n7nm9e8.js";
|
|
30
30
|
import"./index-bk5tah7q.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-k2ydsqs7.js";
|
|
32
32
|
import"./index-txbd25bc.js";
|
|
33
33
|
import"./index-aw492hpn.js";
|
|
34
34
|
import"./index-7g4c7s5r.js";
|
|
@@ -29,24 +29,24 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-xv881ahz.js";
|
|
33
|
+
import"./index-hkmgzesw.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
36
|
import"./index-4cgee5vh.js";
|
|
37
37
|
import"./index-z6xqpmqg.js";
|
|
38
38
|
import"./index-r3mvsbtq.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
39
|
+
import"./index-e2hs0bh7.js";
|
|
40
|
+
import"./index-3z5jtyan.js";
|
|
41
|
+
import"./index-myt57pht.js";
|
|
42
42
|
import"./index-9e6fdz2h.js";
|
|
43
43
|
import"./index-4rhhvd1a.js";
|
|
44
44
|
import"./index-zjygnfay.js";
|
|
45
45
|
import"./index-ae75rja9.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-qgfnd206.js";
|
|
47
|
+
import"./index-0n7nm9e8.js";
|
|
48
48
|
import"./index-bk5tah7q.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-k2ydsqs7.js";
|
|
50
50
|
import"./index-txbd25bc.js";
|
|
51
51
|
import"./index-aw492hpn.js";
|
|
52
52
|
import"./index-7g4c7s5r.js";
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
} from "./index-qgfnd206.js";
|
|
16
|
+
import"./index-0n7nm9e8.js";
|
|
17
|
+
import"./index-k2ydsqs7.js";
|
|
18
18
|
import"./index-txbd25bc.js";
|
|
19
19
|
import"./index-aw492hpn.js";
|
|
20
20
|
import"./index-7g4c7s5r.js";
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
transactKnowledge,
|
|
43
43
|
transactKnowledgeWithCas,
|
|
44
44
|
wordBigrams
|
|
45
|
-
} from "./index-
|
|
45
|
+
} from "./index-77xy577c.js";
|
|
46
46
|
import {
|
|
47
47
|
resolveHiveDataDir
|
|
48
48
|
} from "./index-ae75rja9.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-qgfnd206.js";
|
|
50
|
+
import"./index-0n7nm9e8.js";
|
|
51
51
|
import"./index-bk5tah7q.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-k2ydsqs7.js";
|
|
53
53
|
import"./index-txbd25bc.js";
|
|
54
54
|
import"./index-aw492hpn.js";
|
|
55
55
|
import"./index-7g4c7s5r.js";
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-5w915x8b.js";
|
|
27
|
+
import"./index-1yfpw7w0.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-77xy577c.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-qgfnd206.js";
|
|
32
|
+
import"./index-0n7nm9e8.js";
|
|
33
33
|
import"./index-bk5tah7q.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-k2ydsqs7.js";
|
|
35
35
|
import"./index-txbd25bc.js";
|
|
36
36
|
import"./index-aw492hpn.js";
|
|
37
37
|
import"./index-7g4c7s5r.js";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-x6zy6veh.js";
|
|
7
|
+
import"./index-9gjbe4e4.js";
|
|
8
8
|
import"./index-y8552snf.js";
|
|
9
9
|
import"./index-r3mvsbtq.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-0n7nm9e8.js";
|
|
11
|
+
import"./index-k2ydsqs7.js";
|
|
12
12
|
import"./index-txbd25bc.js";
|
|
13
13
|
import"./index-aw492hpn.js";
|
|
14
14
|
import"./index-7g4c7s5r.js";
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-7q56f3se.js";
|
|
8
|
+
import"./index-77xy577c.js";
|
|
9
9
|
import"./index-9e6fdz2h.js";
|
|
10
10
|
import"./index-4rhhvd1a.js";
|
|
11
11
|
import"./index-ae75rja9.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
12
|
+
import"./index-qgfnd206.js";
|
|
13
|
+
import"./index-0n7nm9e8.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-k2ydsqs7.js";
|
|
16
16
|
import"./index-txbd25bc.js";
|
|
17
17
|
import"./index-aw492hpn.js";
|
|
18
18
|
import"./index-7g4c7s5r.js";
|
|
@@ -99,8 +99,8 @@ import {
|
|
|
99
99
|
resolveGeneratedAgentRole,
|
|
100
100
|
resolveGuardrailsConfig,
|
|
101
101
|
stripKnownSwarmPrefix
|
|
102
|
-
} from "./index-
|
|
103
|
-
import"./index-
|
|
102
|
+
} from "./index-3z5jtyan.js";
|
|
103
|
+
import"./index-myt57pht.js";
|
|
104
104
|
import"./index-zjygnfay.js";
|
|
105
105
|
import"./index-bk5tah7q.js";
|
|
106
106
|
import"./index-bpmtbmy9.js";
|
|
@@ -23,18 +23,18 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-5x67858f.js";
|
|
27
|
+
import"./index-80ekaf5b.js";
|
|
28
28
|
import"./index-6zkm4p7p.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
30
|
+
import"./index-e2hs0bh7.js";
|
|
31
|
+
import"./index-3z5jtyan.js";
|
|
32
|
+
import"./index-myt57pht.js";
|
|
33
33
|
import"./index-9e6fdz2h.js";
|
|
34
34
|
import"./index-4rhhvd1a.js";
|
|
35
35
|
import"./index-zjygnfay.js";
|
|
36
36
|
import"./index-bk5tah7q.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-k2ydsqs7.js";
|
|
38
38
|
import"./index-txbd25bc.js";
|
|
39
39
|
import"./index-aw492hpn.js";
|
|
40
40
|
import"./index-7g4c7s5r.js";
|
|
@@ -33,30 +33,30 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-3z2f1cy8.js";
|
|
37
|
+
import"./index-5w915x8b.js";
|
|
38
|
+
import"./index-1yfpw7w0.js";
|
|
39
39
|
import"./index-rtry5xyf.js";
|
|
40
40
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
41
|
+
import"./index-77xy577c.js";
|
|
42
|
+
import"./index-xv881ahz.js";
|
|
43
|
+
import"./index-hkmgzesw.js";
|
|
44
44
|
import"./index-gprxjmm7.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-4cgee5vh.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-e2hs0bh7.js";
|
|
50
|
+
import"./index-3z5jtyan.js";
|
|
51
|
+
import"./index-myt57pht.js";
|
|
52
52
|
import"./index-9e6fdz2h.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
54
|
import"./index-zjygnfay.js";
|
|
55
55
|
import"./index-ae75rja9.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
56
|
+
import"./index-qgfnd206.js";
|
|
57
|
+
import"./index-0n7nm9e8.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-k2ydsqs7.js";
|
|
60
60
|
import"./index-txbd25bc.js";
|
|
61
61
|
import"./index-aw492hpn.js";
|
|
62
62
|
import"./index-7g4c7s5r.js";
|
|
@@ -21,60 +21,59 @@ 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-
|
|
24
|
+
} from "./index-95qra69h.js";
|
|
25
|
+
import"./index-x6zy6veh.js";
|
|
26
|
+
import"./index-6v77adf7.js";
|
|
27
|
+
import"./index-hw49515c.js";
|
|
28
|
+
import"./index-eqh3t8eh.js";
|
|
29
|
+
import"./index-9gjbe4e4.js";
|
|
30
30
|
import"./index-134d35c1.js";
|
|
31
31
|
import"./index-nj6rmyeh.js";
|
|
32
32
|
import"./index-y8552snf.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-4gn111h3.js";
|
|
34
|
+
import"./index-7q56f3se.js";
|
|
35
35
|
import"./index-70ha9e09.js";
|
|
36
36
|
import"./index-c8s9a3zh.js";
|
|
37
37
|
import"./index-9ss2m4rs.js";
|
|
38
38
|
import"./index-vnn7qq8c.js";
|
|
39
39
|
import"./index-0q2mjxp2.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-3z2f1cy8.js";
|
|
41
|
+
import"./index-5w915x8b.js";
|
|
42
|
+
import"./index-1yfpw7w0.js";
|
|
43
43
|
import"./index-rtry5xyf.js";
|
|
44
44
|
import"./index-zsrtt42s.js";
|
|
45
45
|
import"./index-z4bg1hv8.js";
|
|
46
46
|
import"./index-fxvgaeq4.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
47
|
+
import"./index-babtfqa0.js";
|
|
48
|
+
import"./index-eajfs7v4.js";
|
|
49
|
+
import"./index-5x67858f.js";
|
|
50
|
+
import"./index-80ekaf5b.js";
|
|
51
51
|
import"./index-6zkm4p7p.js";
|
|
52
52
|
import"./index-556ja8an.js";
|
|
53
53
|
import"./index-b43rt5ph.js";
|
|
54
54
|
import"./index-q7sjgr1y.js";
|
|
55
|
-
import"./index-
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-dn6yt0xg.js";
|
|
55
|
+
import"./index-4fwbbad3.js";
|
|
56
|
+
import"./index-77xy577c.js";
|
|
57
|
+
import"./index-xv881ahz.js";
|
|
59
58
|
import {
|
|
60
59
|
resolveWorktreeIsolationConfig
|
|
61
|
-
} from "./index-
|
|
60
|
+
} from "./index-hkmgzesw.js";
|
|
62
61
|
import"./index-gprxjmm7.js";
|
|
63
62
|
import"./index-n832052r.js";
|
|
64
63
|
import"./index-4cgee5vh.js";
|
|
65
64
|
import"./index-z6xqpmqg.js";
|
|
66
65
|
import"./index-r3mvsbtq.js";
|
|
67
|
-
import"./index-
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
66
|
+
import"./index-e2hs0bh7.js";
|
|
67
|
+
import"./index-3z5jtyan.js";
|
|
68
|
+
import"./index-myt57pht.js";
|
|
70
69
|
import"./index-9e6fdz2h.js";
|
|
71
70
|
import"./index-4rhhvd1a.js";
|
|
72
71
|
import"./index-zjygnfay.js";
|
|
73
72
|
import"./index-ae75rja9.js";
|
|
74
|
-
import"./index-
|
|
75
|
-
import"./index-
|
|
73
|
+
import"./index-qgfnd206.js";
|
|
74
|
+
import"./index-0n7nm9e8.js";
|
|
76
75
|
import"./index-bk5tah7q.js";
|
|
77
|
-
import"./index-
|
|
76
|
+
import"./index-k2ydsqs7.js";
|
|
78
77
|
import"./index-txbd25bc.js";
|
|
79
78
|
import"./index-aw492hpn.js";
|
|
80
79
|
import"./index-7g4c7s5r.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function handleApproveWriteCommand(directory: string, args: string[], sessionID: string): Promise<string>;
|
package/dist/commands/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type { ReviewAgentModelRegistry } from '../review/runtime.js';
|
|
|
6
6
|
export { handleAcknowledgeSpecDriftCommand } from './acknowledge-spec-drift';
|
|
7
7
|
export { handleAgentsCommand } from './agents';
|
|
8
8
|
export { handleAnalyzeCommand } from './analyze';
|
|
9
|
+
export { handleApproveWriteCommand } from './approve-write';
|
|
9
10
|
export { handleArchiveCommand } from './archive';
|
|
10
11
|
export { handleAutoProceedCommand } from './auto-proceed';
|
|
11
12
|
export { handleBenchmarkCommand } from './benchmark';
|
|
@@ -80,6 +80,13 @@ export declare const COMMAND_REGISTRY: {
|
|
|
80
80
|
readonly category: "diagnostics";
|
|
81
81
|
readonly toolPolicy: "restricted";
|
|
82
82
|
};
|
|
83
|
+
readonly 'approve-write': {
|
|
84
|
+
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
85
|
+
readonly description: "Issue a one-shot session/action/candidate/hash-bound write approval";
|
|
86
|
+
readonly args: "<target-session-id> skill_improve <candidate-id> <candidate-content-hash> [--generation <n>] [--allowed-path-digest <sha256>]";
|
|
87
|
+
readonly category: "utility";
|
|
88
|
+
readonly toolPolicy: "human-only";
|
|
89
|
+
};
|
|
83
90
|
readonly status: {
|
|
84
91
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
85
92
|
readonly description: "Show current swarm state (plus background-work health when hooks.background_subagents is enabled)";
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -555,11 +555,25 @@ export declare const GuardrailsConfigSchema: z.ZodObject<{
|
|
|
555
555
|
execution_stall_stop_calls: z.ZodDefault<z.ZodNumber>;
|
|
556
556
|
execution_stall_episode_minutes: z.ZodDefault<z.ZodNumber>;
|
|
557
557
|
sandbox_macos_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
558
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
559
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
560
|
+
advisory: "advisory";
|
|
561
|
+
required: "required";
|
|
562
|
+
}>>;
|
|
563
|
+
require_filesystem: z.ZodDefault<z.ZodBoolean>;
|
|
564
|
+
require_network: z.ZodDefault<z.ZodBoolean>;
|
|
565
|
+
require_process: z.ZodDefault<z.ZodBoolean>;
|
|
566
|
+
network_mode: z.ZodDefault<z.ZodEnum<{
|
|
567
|
+
on: "on";
|
|
568
|
+
off: "off";
|
|
569
|
+
}>>;
|
|
570
|
+
network_allowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
571
|
+
writable_roots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
572
|
+
}, z.core.$strip>>;
|
|
558
573
|
}, z.core.$strip>;
|
|
559
574
|
export type GuardrailsConfig = z.infer<typeof GuardrailsConfigSchema>;
|
|
560
575
|
export declare const WatchdogConfigSchema: z.ZodObject<{
|
|
561
576
|
scope_guard: z.ZodDefault<z.ZodBoolean>;
|
|
562
|
-
skip_in_turbo: z.ZodDefault<z.ZodBoolean>;
|
|
563
577
|
delegation_ledger: z.ZodDefault<z.ZodBoolean>;
|
|
564
578
|
}, z.core.$strip>;
|
|
565
579
|
export type WatchdogConfig = z.infer<typeof WatchdogConfigSchema>;
|
|
@@ -1281,9 +1295,9 @@ export declare const WorktreeIsolationConfigSchema: z.ZodObject<{
|
|
|
1281
1295
|
copy: "copy";
|
|
1282
1296
|
}>>;
|
|
1283
1297
|
lane_permissions: z.ZodDefault<z.ZodEnum<{
|
|
1298
|
+
off: "off";
|
|
1284
1299
|
scoped_allow: "scoped_allow";
|
|
1285
1300
|
deny: "deny";
|
|
1286
|
-
off: "off";
|
|
1287
1301
|
}>>;
|
|
1288
1302
|
serialization_release_after_dispatches: z.ZodDefault<z.ZodNumber>;
|
|
1289
1303
|
serialization_release_after_ms: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1742,6 +1756,13 @@ export interface PrReviewResilienceConfig {
|
|
|
1742
1756
|
correlated_failure_threshold: number;
|
|
1743
1757
|
max_retry_attempts_after_initial: number;
|
|
1744
1758
|
}
|
|
1759
|
+
/**
|
|
1760
|
+
* Issue #2381: staged PR-review resilience defaults OFF while the #2380 repair
|
|
1761
|
+
* program is incomplete. Tier M/L base waves therefore use the legacy one-wave
|
|
1762
|
+
* dispatch unless a project explicitly opts in with `enabled: true`, which
|
|
1763
|
+
* remains fully honored. The tracker re-enables this by default only after its
|
|
1764
|
+
* host/OS/depth validation matrix is green.
|
|
1765
|
+
*/
|
|
1745
1766
|
export declare const DEFAULT_PR_REVIEW_RESILIENCE_CONFIG: PrReviewResilienceConfig;
|
|
1746
1767
|
export declare const PrReviewResilienceConfigSchema: z.ZodObject<{
|
|
1747
1768
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1960,10 +1981,24 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1960
1981
|
execution_stall_stop_calls: z.ZodDefault<z.ZodNumber>;
|
|
1961
1982
|
execution_stall_episode_minutes: z.ZodDefault<z.ZodNumber>;
|
|
1962
1983
|
sandbox_macos_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1984
|
+
sandbox: z.ZodOptional<z.ZodObject<{
|
|
1985
|
+
mode: z.ZodDefault<z.ZodEnum<{
|
|
1986
|
+
advisory: "advisory";
|
|
1987
|
+
required: "required";
|
|
1988
|
+
}>>;
|
|
1989
|
+
require_filesystem: z.ZodDefault<z.ZodBoolean>;
|
|
1990
|
+
require_network: z.ZodDefault<z.ZodBoolean>;
|
|
1991
|
+
require_process: z.ZodDefault<z.ZodBoolean>;
|
|
1992
|
+
network_mode: z.ZodDefault<z.ZodEnum<{
|
|
1993
|
+
on: "on";
|
|
1994
|
+
off: "off";
|
|
1995
|
+
}>>;
|
|
1996
|
+
network_allowlist: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1997
|
+
writable_roots: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1998
|
+
}, z.core.$strip>>;
|
|
1963
1999
|
}, z.core.$strip>>;
|
|
1964
2000
|
watchdog: z.ZodOptional<z.ZodObject<{
|
|
1965
2001
|
scope_guard: z.ZodDefault<z.ZodBoolean>;
|
|
1966
|
-
skip_in_turbo: z.ZodDefault<z.ZodBoolean>;
|
|
1967
2002
|
delegation_ledger: z.ZodDefault<z.ZodBoolean>;
|
|
1968
2003
|
}, z.core.$strip>>;
|
|
1969
2004
|
self_review: z.ZodOptional<z.ZodObject<{
|
|
@@ -2594,9 +2629,9 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
2594
2629
|
copy: "copy";
|
|
2595
2630
|
}>>;
|
|
2596
2631
|
lane_permissions: z.ZodDefault<z.ZodEnum<{
|
|
2632
|
+
off: "off";
|
|
2597
2633
|
scoped_allow: "scoped_allow";
|
|
2598
2634
|
deny: "deny";
|
|
2599
|
-
off: "off";
|
|
2600
2635
|
}>>;
|
|
2601
2636
|
serialization_release_after_dispatches: z.ZodDefault<z.ZodNumber>;
|
|
2602
2637
|
serialization_release_after_ms: z.ZodDefault<z.ZodNumber>;
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* without forcing consumers to read Zod inference to learn the shape.
|
|
13
13
|
*/
|
|
14
14
|
import { z } from 'zod';
|
|
15
|
+
import type { WriteAuthorityOrigin } from '../security/write-authority.js';
|
|
15
16
|
/** Upper bound on any single reference list. Keeps a report bounded on disk. */
|
|
16
17
|
export declare const MAX_CONSENSUS_REFS = 200;
|
|
17
18
|
/**
|
|
@@ -234,6 +235,7 @@ export interface ProposedSkillChangeProvenance {
|
|
|
234
235
|
writeOrigin: {
|
|
235
236
|
sessionId?: string;
|
|
236
237
|
agentRole?: string;
|
|
238
|
+
authority?: WriteAuthorityOrigin;
|
|
237
239
|
producedAt: string;
|
|
238
240
|
};
|
|
239
241
|
}
|
|
@@ -258,6 +260,12 @@ export declare const ProposedSkillChangeSchema: z.ZodObject<{
|
|
|
258
260
|
writeOrigin: z.ZodObject<{
|
|
259
261
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
260
262
|
agentRole: z.ZodOptional<z.ZodString>;
|
|
263
|
+
authority: z.ZodOptional<z.ZodEnum<{
|
|
264
|
+
critic_approved: "critic_approved";
|
|
265
|
+
autonomous: "autonomous";
|
|
266
|
+
optimizer_proposed: "optimizer_proposed";
|
|
267
|
+
human_approved: "human_approved";
|
|
268
|
+
}>>;
|
|
261
269
|
producedAt: z.ZodISODateTime;
|
|
262
270
|
}, z.core.$strict>;
|
|
263
271
|
}, z.core.$strict>;
|
|
@@ -420,6 +428,12 @@ export declare const ConsensusReportV1Schema: z.ZodObject<{
|
|
|
420
428
|
writeOrigin: z.ZodObject<{
|
|
421
429
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
422
430
|
agentRole: z.ZodOptional<z.ZodString>;
|
|
431
|
+
authority: z.ZodOptional<z.ZodEnum<{
|
|
432
|
+
critic_approved: "critic_approved";
|
|
433
|
+
autonomous: "autonomous";
|
|
434
|
+
optimizer_proposed: "optimizer_proposed";
|
|
435
|
+
human_approved: "human_approved";
|
|
436
|
+
}>>;
|
|
423
437
|
producedAt: z.ZodISODateTime;
|
|
424
438
|
}, z.core.$strict>;
|
|
425
439
|
}, z.core.$strict>;
|
|
@@ -24,6 +24,13 @@
|
|
|
24
24
|
* or terminate per `full_auto.denials.on_limit`.
|
|
25
25
|
*/
|
|
26
26
|
import type { PluginConfig } from '../config';
|
|
27
|
+
import { assessSandboxEnforcement } from '../sandbox/executor';
|
|
28
|
+
import { clearSandboxWrapOutcome, readSandboxWrapOutcome } from '../sandbox/skip-state';
|
|
29
|
+
export declare const _internals: {
|
|
30
|
+
assessSandboxEnforcement: typeof assessSandboxEnforcement;
|
|
31
|
+
readSandboxWrapOutcome: typeof readSandboxWrapOutcome;
|
|
32
|
+
clearSandboxWrapOutcome: typeof clearSandboxWrapOutcome;
|
|
33
|
+
};
|
|
27
34
|
export interface FullAutoPermissionHookOptions {
|
|
28
35
|
config: PluginConfig;
|
|
29
36
|
directory: string;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { extractSwarmIdFromAgentName, getSwarmAgents, resolveFallbackModel } from '../../agents/index';
|
|
10
10
|
import { type AuthorityConfig, type GuardrailsConfig } from '../../config/schema';
|
|
11
|
-
import { getExecutor } from '../../sandbox/executor';
|
|
11
|
+
import { assessSandboxEnforcement, getExecutor } from '../../sandbox/executor';
|
|
12
12
|
import { dcCheckJunctionCreation } from './destructive-command';
|
|
13
13
|
import { getMostRecentAssistantText, getProviderFailureFingerprint, isTransientProviderFailureText } from './messages-transform';
|
|
14
14
|
export declare const _internals: {
|
|
@@ -21,6 +21,7 @@ export declare const _internals: {
|
|
|
21
21
|
dcCheckJunctionCreation: typeof dcCheckJunctionCreation;
|
|
22
22
|
extractErrorSignal: typeof extractErrorSignal;
|
|
23
23
|
getSandboxExecutor: typeof getExecutor;
|
|
24
|
+
assessSandboxEnforcement: typeof assessSandboxEnforcement;
|
|
24
25
|
/** Test-only compatibility for legacy direct-after hook tests. */
|
|
25
26
|
allowUncorrelatedGateReceipts: boolean;
|
|
26
27
|
MAX_PENDING_GATE_RECEIPTS_PER_SESSION: number;
|
|
@@ -38,6 +38,8 @@ export interface ToolBeforeContext {
|
|
|
38
38
|
worktreeBaseDirOverrides?: string[];
|
|
39
39
|
/** Sandbox executor getter seam for tests and platform-specific overrides. */
|
|
40
40
|
getSandboxExecutor: typeof import('../../sandbox/executor').getExecutor;
|
|
41
|
+
/** Sandbox capability assessment seam for deterministic cross-platform tests. */
|
|
42
|
+
assessSandboxEnforcement: typeof import('../../sandbox/executor').assessSandboxEnforcement;
|
|
41
43
|
/** Hold exact child-write provenance until the matching after-hook succeeds. */
|
|
42
44
|
rememberReviewerScopeWrite?: (input: {
|
|
43
45
|
callID: string;
|
|
@@ -49,6 +51,8 @@ export interface ToolBeforeContext {
|
|
|
49
51
|
/** Snapshot an exact authorized write for success-only lease renewal. */
|
|
50
52
|
rememberScopeLeaseCandidate?: (input: ScopeLeaseCandidateInput) => void;
|
|
51
53
|
}
|
|
54
|
+
/** @internal test seam */
|
|
55
|
+
export declare function _resetSandboxUnavailableWarningState(): void;
|
|
52
56
|
/**
|
|
53
57
|
* Creates a toolBefore handler with the given shared context.
|
|
54
58
|
*
|