opencode-swarm 7.164.7 → 7.164.9
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 +2 -2
- package/dist/cli/{coder-settlement-p8wwmtnn.js → coder-settlement-8wxdx3ge.js} +8 -8
- package/dist/cli/{config-doctor-wxf488mw.js → config-doctor-zqbzjqsk.js} +2 -2
- package/dist/cli/{core-671ybpbt.js → core-6b997gee.js} +1 -1
- package/dist/cli/{curation-policy-de7emfqc.js → curation-policy-w829da9a.js} +5 -5
- package/dist/cli/{curator-drift-nvxv8xkk.js → curator-drift-5sykmtf5.js} +3 -3
- package/dist/cli/{curator-eaz5rj6k.js → curator-hvet3ccp.js} +32 -32
- package/dist/cli/{curator-llm-factory-swzyfnh6.js → curator-llm-factory-mqyj4d2w.js} +32 -32
- package/dist/cli/{evidence-summary-service-deqsc8hj.js → evidence-summary-service-zefetqqa.js} +14 -14
- package/dist/cli/{gate-evidence-mafg71qb.js → gate-evidence-8ex11125.js} +5 -5
- package/dist/cli/guardrail-explain-mk9z5n76.js +69 -0
- package/dist/cli/{guardrail-log-k3w9dq6x.js → guardrail-log-jf1sj1zc.js} +6 -6
- package/dist/cli/{guardrail-reset-ae2step4.js → guardrail-reset-0062066m.js} +32 -32
- package/dist/cli/{hive-promoter-a4cs5sbr.js → hive-promoter-8nr61bhn.js} +32 -32
- package/dist/cli/{index-wgqeqy68.js → index-0rpfwzkw.js} +2 -2
- package/dist/cli/{index-9qkytpwa.js → index-18z6gf3a.js} +8 -8
- package/dist/cli/{index-y75xd50f.js → index-1afqzpj4.js} +5 -5
- package/dist/cli/{index-9ydhzegh.js → index-1anz3srx.js} +1 -1
- package/dist/cli/{index-2czt53wz.js → index-2bgr671r.js} +1 -1
- package/dist/cli/{index-h3k3rgyr.js → index-3qeznjj9.js} +4 -4
- package/dist/cli/{index-jkwfajh1.js → index-41m7f0xj.js} +3 -3
- package/dist/cli/{index-46yrz972.js → index-5kstr2ga.js} +2 -2
- package/dist/cli/{index-93znbdam.js → index-7fyjv3f2.js} +1 -1
- package/dist/cli/{index-4vx89ymn.js → index-7tme4v2x.js} +5 -5
- package/dist/cli/{index-8ntf8jnj.js → index-83bewmqd.js} +3 -3
- package/dist/cli/{index-8ck1jkhd.js → index-8m3w7sr7.js} +3 -3
- package/dist/cli/{index-3kgg2n6z.js → index-8nsknkgs.js} +1 -1
- package/dist/cli/{index-x3qzt684.js → index-bv90qkyw.js} +1 -1
- package/dist/cli/{index-gm65h7bh.js → index-g1rnq3pg.js} +3 -3
- package/dist/cli/{index-63enf73z.js → index-h933exaw.js} +8 -8
- package/dist/cli/{index-zg8tvjb0.js → index-hwqxp3kr.js} +39 -35
- package/dist/cli/{index-xy59dnvq.js → index-jpfktfb7.js} +1 -1
- package/dist/cli/{index-bvjwmmdc.js → index-mh57gjsd.js} +70 -69
- package/dist/cli/{index-zaab1wz9.js → index-n4fzmqz8.js} +3 -1
- package/dist/cli/{index-rey1tzcw.js → index-nj2gap5p.js} +6 -6
- package/dist/cli/{index-x2t2tbm2.js → index-nnetagj1.js} +2 -2
- package/dist/cli/{index-mr3h3sm5.js → index-pkga8b4j.js} +1 -1
- package/dist/cli/{index-ry4mwbc2.js → index-prmwcpqn.js} +1 -1
- package/dist/cli/{index-xc3q62ev.js → index-pxzx4wxb.js} +1 -1
- package/dist/cli/{index-fq1wfsmw.js → index-qkzyfnmc.js} +4 -4
- package/dist/cli/{index-1ekzd5wf.js → index-qxvdwx79.js} +3 -3
- package/dist/cli/{index-388sxv1b.js → index-rgj5zmms.js} +4 -4
- package/dist/cli/{index-zg34ngdf.js → index-s6ejwhew.js} +1 -1
- package/dist/cli/{index-0zjwnbze.js → index-sdhshera.js} +1 -1
- package/dist/cli/{index-3sv8t7ca.js → index-sf24zdbp.js} +2 -2
- package/dist/cli/{index-581bcqp9.js → index-teq4xzkh.js} +2 -2
- package/dist/cli/{index-yzn1fm9a.js → index-vjef4fy9.js} +1 -1
- package/dist/cli/{index-c4j9sjcs.js → index-vsxq8b54.js} +3 -3
- package/dist/cli/{index-v1fj9exz.js → index-wnw2rt73.js} +3 -3
- package/dist/cli/{index-kvq1e82k.js → index-ww6zm5hr.js} +3 -3
- package/dist/cli/index.js +32 -32
- package/dist/cli/{knowledge-escalator-t532h2ym.js → knowledge-escalator-p60t5809.js} +11 -11
- package/dist/cli/{knowledge-events-hdtc0cxe.js → knowledge-events-90k35k0w.js} +9 -9
- package/dist/cli/{knowledge-link-hhnmc4g1.js → knowledge-link-kbbp0rhh.js} +4 -4
- package/dist/cli/{knowledge-store-45jadhmb.js → knowledge-store-rqkyw5zp.js} +5 -5
- package/dist/cli/{knowledge-validator-5e6qbq6h.js → knowledge-validator-5zqwvnvr.js} +7 -7
- package/dist/cli/{pending-delegations-z0crvst3.js → pending-delegations-jdztm7v1.js} +4 -4
- package/dist/cli/{pr-subscriptions-73fs8y3n.js → pr-subscriptions-7am85psn.js} +4 -4
- package/dist/cli/{pr-workflow-gate-rpdts7wy.js → pr-workflow-gate-2rqn6eat.js} +32 -32
- package/dist/cli/{runner-5qqh83e2.js → runner-59cbgcdy.js} +5 -5
- package/dist/cli/{scan-cursor-t75qznf3.js → scan-cursor-9bm4zfx2.js} +6 -6
- package/dist/cli/{schema-8dfjsrk6.js → schema-4yjk7z24.js} +1 -1
- package/dist/cli/{scope-persistence-zfmz4sws.js → scope-persistence-s2ayj1c3.js} +8 -8
- package/dist/cli/{skill-generator-psdb10jw.js → skill-generator-bddg7mx1.js} +13 -13
- package/dist/cli/{sqlite-loader-8zefc142.js → sqlite-loader-xrnf6bq8.js} +1 -1
- package/dist/cli/{telemetry-85gxedng.js → telemetry-mbqqamsj.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-xrqssqzd.js → worktree-collision-ownership-84j7w373.js} +4 -4
- package/dist/cli/{worktree-isolation-s9m3bgah.js → worktree-isolation-s0d3qtpv.js} +32 -32
- package/dist/commands/index.d.ts +1 -0
- package/dist/db/driver-parity.d.ts +12 -0
- package/dist/full-auto/policy.d.ts +12 -0
- package/dist/index.js +7 -7
- package/opencode-swarm.schema.json +2 -2
- package/package.json +1 -1
- package/dist/cli/guardrail-explain-ygq7cx9w.js +0 -69
|
@@ -23,23 +23,23 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-qkzyfnmc.js";
|
|
27
|
+
import"./index-wnw2rt73.js";
|
|
28
28
|
import"./index-ry16d01s.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-sf24zdbp.js";
|
|
30
30
|
import"./index-556ja8an.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-jpfktfb7.js";
|
|
32
|
+
import"./index-8m3w7sr7.js";
|
|
33
33
|
import"./index-9e6fdz2h.js";
|
|
34
34
|
import"./index-4rhhvd1a.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-1anz3srx.js";
|
|
36
36
|
import"./index-8psybzzf.js";
|
|
37
37
|
import"./index-zjygnfay.js";
|
|
38
38
|
import"./index-bk5tah7q.js";
|
|
39
39
|
import"./index-7qefgq4j.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-2bgr671r.js";
|
|
41
41
|
import"./index-t1qzjhnj.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-ww6zm5hr.js";
|
|
43
43
|
import"./index-7g4c7s5r.js";
|
|
44
44
|
import"./index-bpmtbmy9.js";
|
|
45
45
|
import"./index-zgwm4ryv.js";
|
|
@@ -33,34 +33,34 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-g1rnq3pg.js";
|
|
37
|
+
import"./index-3qeznjj9.js";
|
|
38
|
+
import"./index-sdhshera.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-nj2gap5p.js";
|
|
42
|
+
import"./index-h933exaw.js";
|
|
43
|
+
import"./index-5kstr2ga.js";
|
|
44
44
|
import"./index-zg9d392c.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-8tqqmsav.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-jpfktfb7.js";
|
|
50
|
+
import"./index-8m3w7sr7.js";
|
|
51
51
|
import"./index-9e6fdz2h.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
|
-
import"./index-
|
|
53
|
+
import"./index-1anz3srx.js";
|
|
54
54
|
import"./index-8psybzzf.js";
|
|
55
55
|
import"./index-zjygnfay.js";
|
|
56
56
|
import"./index-ae75rja9.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-7fyjv3f2.js";
|
|
58
|
+
import"./index-pkga8b4j.js";
|
|
59
59
|
import"./index-bk5tah7q.js";
|
|
60
60
|
import"./index-7qefgq4j.js";
|
|
61
|
-
import"./index-
|
|
61
|
+
import"./index-2bgr671r.js";
|
|
62
62
|
import"./index-t1qzjhnj.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-ww6zm5hr.js";
|
|
64
64
|
import"./index-7g4c7s5r.js";
|
|
65
65
|
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-zgwm4ryv.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-qxvdwx79.js";
|
|
14
14
|
import"./index-8tqqmsav.js";
|
|
15
15
|
import"./index-z6xqpmqg.js";
|
|
16
16
|
import {
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
resolveGitExecutable
|
|
22
22
|
} from "./index-9e6fdz2h.js";
|
|
23
23
|
import"./index-4rhhvd1a.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-1anz3srx.js";
|
|
25
25
|
import"./index-zjygnfay.js";
|
|
26
26
|
import {
|
|
27
27
|
canonicalRootKeyFresh
|
|
28
28
|
} from "./index-7qefgq4j.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-2bgr671r.js";
|
|
30
30
|
import"./index-t1qzjhnj.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-ww6zm5hr.js";
|
|
32
32
|
import"./index-7g4c7s5r.js";
|
|
33
33
|
import"./index-bpmtbmy9.js";
|
|
34
34
|
import"./index-zgwm4ryv.js";
|
|
@@ -21,66 +21,66 @@ 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-mh57gjsd.js";
|
|
25
|
+
import"./index-vjef4fy9.js";
|
|
26
|
+
import"./index-41m7f0xj.js";
|
|
27
|
+
import"./index-8nsknkgs.js";
|
|
28
|
+
import"./index-18z6gf3a.js";
|
|
29
|
+
import"./index-0rpfwzkw.js";
|
|
30
30
|
import"./index-txdagbh7.js";
|
|
31
31
|
import"./index-cw912re7.js";
|
|
32
32
|
import"./index-3146wmgv.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-g1rnq3pg.js";
|
|
34
|
+
import"./index-7tme4v2x.js";
|
|
35
|
+
import"./index-teq4xzkh.js";
|
|
36
36
|
import"./index-70ha9e09.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
37
|
+
import"./index-s6ejwhew.js";
|
|
38
|
+
import"./index-bv90qkyw.js";
|
|
39
|
+
import"./index-n4fzmqz8.js";
|
|
40
|
+
import"./index-83bewmqd.js";
|
|
41
41
|
import"./index-zsrtt42s.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-1afqzpj4.js";
|
|
43
43
|
import"./index-w3gtqey0.js";
|
|
44
44
|
import"./index-sxxh4ams.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
45
|
+
import"./index-3qeznjj9.js";
|
|
46
|
+
import"./index-sdhshera.js";
|
|
47
47
|
import"./index-rtry5xyf.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
48
|
+
import"./index-rgj5zmms.js";
|
|
49
|
+
import"./index-pxzx4wxb.js";
|
|
50
|
+
import"./index-qxvdwx79.js";
|
|
51
|
+
import"./index-qkzyfnmc.js";
|
|
52
|
+
import"./index-wnw2rt73.js";
|
|
53
53
|
import"./index-ry16d01s.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-sf24zdbp.js";
|
|
55
55
|
import"./index-556ja8an.js";
|
|
56
56
|
import"./index-4fwbbad3.js";
|
|
57
57
|
import"./index-b43rt5ph.js";
|
|
58
58
|
import"./index-q7sjgr1y.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
59
|
+
import"./index-nj2gap5p.js";
|
|
60
|
+
import"./index-h933exaw.js";
|
|
61
61
|
import {
|
|
62
62
|
resolveWorktreeIsolationConfig
|
|
63
|
-
} from "./index-
|
|
63
|
+
} from "./index-5kstr2ga.js";
|
|
64
64
|
import"./index-zg9d392c.js";
|
|
65
65
|
import"./index-n832052r.js";
|
|
66
66
|
import"./index-8tqqmsav.js";
|
|
67
67
|
import"./index-z6xqpmqg.js";
|
|
68
68
|
import"./index-r3mvsbtq.js";
|
|
69
|
-
import"./index-
|
|
70
|
-
import"./index-
|
|
69
|
+
import"./index-jpfktfb7.js";
|
|
70
|
+
import"./index-8m3w7sr7.js";
|
|
71
71
|
import"./index-9e6fdz2h.js";
|
|
72
72
|
import"./index-4rhhvd1a.js";
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-1anz3srx.js";
|
|
74
74
|
import"./index-8psybzzf.js";
|
|
75
75
|
import"./index-zjygnfay.js";
|
|
76
76
|
import"./index-ae75rja9.js";
|
|
77
|
-
import"./index-
|
|
78
|
-
import"./index-
|
|
77
|
+
import"./index-7fyjv3f2.js";
|
|
78
|
+
import"./index-pkga8b4j.js";
|
|
79
79
|
import"./index-bk5tah7q.js";
|
|
80
80
|
import"./index-7qefgq4j.js";
|
|
81
|
-
import"./index-
|
|
81
|
+
import"./index-2bgr671r.js";
|
|
82
82
|
import"./index-t1qzjhnj.js";
|
|
83
|
-
import"./index-
|
|
83
|
+
import"./index-ww6zm5hr.js";
|
|
84
84
|
import"./index-7g4c7s5r.js";
|
|
85
85
|
import"./index-bpmtbmy9.js";
|
|
86
86
|
import"./index-zgwm4ryv.js";
|
package/dist/commands/index.d.ts
CHANGED
|
@@ -91,4 +91,5 @@ export declare function createSwarmCommandHandler(directory: string, agents: Rec
|
|
|
91
91
|
}) => Promise<void>;
|
|
92
92
|
export declare function agentHasSwarmCommandTool(activeAgentName: string | undefined, agents: Record<string, AgentDefinition>, registeredAgents?: Record<string, {
|
|
93
93
|
tools?: Record<string, boolean>;
|
|
94
|
+
permission?: Record<string, unknown>;
|
|
94
95
|
}>): boolean;
|
|
@@ -14,6 +14,18 @@
|
|
|
14
14
|
* many values as the statement has placeholders. `node:sqlite` rejects a
|
|
15
15
|
* mismatched count (`SQLITE_RANGE`); `bun:sqlite` tolerates some lax forms.
|
|
16
16
|
* Portable code never relies on the lax form.
|
|
17
|
+
* - NO-BINDINGS run() RETURNS A Changes-SHAPED OBJECT (#2539): bun:sqlite's
|
|
18
|
+
* run() always returns `{ changes, lastInsertRowid }`; the node adapter
|
|
19
|
+
* rebuilds it from connection-level counters after exec(). `.changes` is
|
|
20
|
+
* pinned for single-statement DML only (the form production code reads).
|
|
21
|
+
* The SHAPE is pinned for every form (cases 4/4b/4c). Three value deltas
|
|
22
|
+
* are deliberately NOT pinned because the drivers genuinely diverge and no
|
|
23
|
+
* production reader exists: multi-statement strings (bun SUMS `.changes`
|
|
24
|
+
* across statements, changes() reports the last one), non-DML statements
|
|
25
|
+
* (bun reports 0, changes() keeps the previous DML's count), and
|
|
26
|
+
* trigger-amplified DML (bun's run() INCLUDES trigger-fired rows while
|
|
27
|
+
* SQL changes() — what the adapter probe reads — EXCLUDES them; live-probed:
|
|
28
|
+
* 1 direct + 1 trigger row → bun {changes: 2}, adapter 1).
|
|
17
29
|
* - Multi-statement strings only through the no-parameter `run(sql)` path
|
|
18
30
|
* (which routes to `exec` on both drivers).
|
|
19
31
|
* - Transaction + SAVEPOINT nesting round trip.
|
|
@@ -93,6 +93,7 @@ export declare function classifyCommandRisk(command: string, _cwd: string, _cont
|
|
|
93
93
|
decision: 'allow' | 'deny' | 'escalate_critic';
|
|
94
94
|
reason: string;
|
|
95
95
|
};
|
|
96
|
+
declare function resolveAgentCapabilityTools(roleName: string, pluginConfig: FullAutoClassifierInput['pluginConfig']): string[];
|
|
96
97
|
export declare function classifyFullAutoToolAction(input: FullAutoClassifierInput): FullAutoDecision;
|
|
97
98
|
export interface StructuredDenial {
|
|
98
99
|
full_auto_denial: true;
|
|
@@ -105,3 +106,14 @@ export interface StructuredDenial {
|
|
|
105
106
|
export declare function buildStructuredDenial(decision: Extract<FullAutoDecision, {
|
|
106
107
|
action: 'deny';
|
|
107
108
|
}>, tool?: string): StructuredDenial;
|
|
109
|
+
/**
|
|
110
|
+
* Tier-0 test seam (see the writing-tests skill): pure functions with no
|
|
111
|
+
* external dependencies, exposed for direct testing. `resolveAgentCapabilityTools`
|
|
112
|
+
* is the full-auto policy's parallel derivation of each role's effective tool
|
|
113
|
+
* allow-list; tests pin it against getAgentConfigs' emission (issue #2528
|
|
114
|
+
* anti-drift — the two derivations must stay input-identical).
|
|
115
|
+
*/
|
|
116
|
+
export declare const _test_exports: {
|
|
117
|
+
resolveAgentCapabilityTools: typeof resolveAgentCapabilityTools;
|
|
118
|
+
};
|
|
119
|
+
export {};
|