opencode-swarm 7.123.0 → 7.124.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/cli/{config-doctor-3ksh1534.js → config-doctor-53mnpeke.js} +6 -6
- package/dist/cli/{core-cwgb7ev8.js → core-d38hc85b.js} +4 -4
- package/dist/cli/{curation-policy-4j4qce5a.js → curation-policy-ny033330.js} +2 -2
- package/dist/cli/{curator-drift-6b2fjsgr.js → curator-drift-h9a2sjvf.js} +7 -7
- package/dist/cli/curator-llm-factory-e0tjz8qq.js +53 -0
- package/dist/cli/{curator-tkyn9bzz.js → curator-nvn1pdq6.js} +30 -29
- package/dist/cli/{dispatch-07jgc3hn.js → dispatch-f4hj1cj7.js} +3 -3
- package/dist/cli/{evidence-summary-service-96ndczbk.js → evidence-summary-service-9hq7n9k9.js} +12 -12
- package/dist/cli/{gate-evidence-xqks3kk2.js → gate-evidence-cy2te3x8.js} +2 -2
- package/dist/cli/guardrail-explain-d3dd57nf.js +54 -0
- package/dist/cli/guardrail-log-3q2z9axs.js +16 -0
- package/dist/cli/{hive-promoter-y5wsztkc.js → hive-promoter-9gbpepgm.js} +30 -29
- package/dist/cli/index-134d35c1.js +116 -0
- package/dist/cli/{index-cqsak7bf.js → index-13d2g7k9.js} +1 -1
- package/dist/cli/{index-m1abzg93.js → index-1kz6da87.js} +4 -2
- package/dist/cli/{index-22e127jw.js → index-23zsx7dm.js} +5 -3
- package/dist/cli/{index-kzj3fp7c.js → index-2445sx3d.js} +1 -1
- package/dist/cli/{index-ctpgsj84.js → index-2tn5h2zp.js} +1 -1
- package/dist/cli/{index-n2712byd.js → index-2x4maxte.js} +8 -5
- package/dist/cli/{index-6xnxz6z0.js → index-3x761jqv.js} +4 -2
- package/dist/cli/{index-3rr0ese8.js → index-3yyr4ynk.js} +41 -9
- package/dist/cli/{index-7cspygmb.js → index-4rzzzjtg.js} +11 -8
- package/dist/cli/{index-nprawcc0.js → index-6n2jpz7x.js} +1 -1
- package/dist/cli/{index-7g91saha.js → index-8pz0ypxz.js} +38 -31
- package/dist/cli/index-bk5tah7q.js +19 -0
- package/dist/cli/{index-293f68mj.js → index-bpmtbmy9.js} +4680 -4342
- package/dist/cli/index-c6crt5rs.js +2494 -0
- package/dist/cli/{index-19zn67q6.js → index-e19mxn9f.js} +5 -1
- package/dist/cli/{index-hns7xjm7.js → index-eeg04r0x.js} +4 -2
- package/dist/cli/{index-ye3fndsw.js → index-gacm5s2n.js} +9 -5
- package/dist/cli/{index-d6h5hq91.js → index-gnvg72y1.js} +2 -2
- package/dist/cli/{index-17eybc3z.js → index-htbjqftb.js} +1 -1
- package/dist/cli/{index-vcgfqd8f.js → index-k5jrywpr.js} +4 -2
- package/dist/cli/{index-jyrhy4ww.js → index-mkkx1a4f.js} +2435 -1435
- package/dist/cli/{index-gnp9x6se.js → index-n832052r.js} +4 -2
- package/dist/cli/{index-6sgqnvpw.js → index-qd77aft9.js} +2 -2
- package/dist/cli/{index-816rkp4y.js → index-s9mj4rb9.js} +5 -3
- package/dist/cli/{index-q00e4s1s.js → index-tyg0zezw.js} +11 -7
- package/dist/cli/{index-gw3m5fw0.js → index-v2rdhwx8.js} +5 -3
- package/dist/cli/{index-det5jwfk.js → index-v5ecczts.js} +5 -1
- package/dist/cli/{index-2j25br0p.js → index-wqwpzhv1.js} +9 -9
- package/dist/cli/{index-dywekeen.js → index-x2mmnrnx.js} +1 -1
- package/dist/cli/{index-j9kxwshw.js → index-z0m4angq.js} +8 -6
- package/dist/cli/{index-5e4e2hvv.js → index-z6xqpmqg.js} +4 -0
- package/dist/cli/{index-m0bmh3w0.js → index-zjedv2bd.js} +2 -2
- package/dist/cli/{index-p0arc26j.js → index-zjygnfay.js} +7 -2
- package/dist/cli/index.js +33 -30
- package/dist/cli/{knowledge-escalator-dyxsm78k.js → knowledge-escalator-r1s01m3z.js} +4 -4
- package/dist/cli/{knowledge-events-36q6nvae.js → knowledge-events-a9hmxvke.js} +1 -1
- package/dist/cli/{knowledge-store-e07b4s54.js → knowledge-store-jt31br5k.js} +2 -2
- package/dist/cli/{knowledge-validator-sfyf7wn2.js → knowledge-validator-9vrwxr3z.js} +5 -5
- package/dist/cli/{pending-delegations-68cbaqv2.js → pending-delegations-e3bcqj77.js} +7 -5
- package/dist/cli/{pr-subscriptions-x653151h.js → pr-subscriptions-bxpqde8w.js} +5 -5
- package/dist/cli/{scan-cursor-hm0aqqae.js → scan-cursor-bkjtsawg.js} +3 -3
- package/dist/cli/{schema-13bnng2n.js → schema-y3z416z7.js} +7 -4
- package/dist/cli/{scope-persistence-d9erwnvb.js → scope-persistence-habn4q8a.js} +4 -4
- package/dist/cli/{skill-generator-63r20a9k.js → skill-generator-794hyndw.js} +7 -7
- package/dist/cli/sqlite-loader-r1kgt2pq.js +12 -0
- package/dist/commands/memory-link.d.ts +28 -0
- package/dist/commands/registry.d.ts +25 -0
- package/dist/config/schema.d.ts +6 -0
- package/dist/index.js +330 -317
- package/dist/knowledge/family-migration-shared.d.ts +24 -0
- package/dist/knowledge/family-migration.d.ts +5 -0
- package/dist/memory/config.d.ts +11 -0
- package/dist/memory/consolidation-log.d.ts +8 -2
- package/dist/memory/finalize-reward-sweep.d.ts +2 -1
- package/dist/memory/gateway.d.ts +13 -0
- package/dist/memory/index.d.ts +4 -2
- package/dist/memory/local-jsonl-provider.d.ts +25 -1
- package/dist/memory/memory-family-manifest.d.ts +52 -0
- package/dist/memory/memory-family-migration.d.ts +94 -0
- package/dist/memory/memory-link.d.ts +103 -0
- package/dist/memory/provider-pool.d.ts +35 -0
- package/dist/memory/redaction.d.ts +31 -0
- package/dist/memory/schema.d.ts +21 -0
- package/dist/memory/sqlite-provider.d.ts +58 -1
- package/dist/memory/storage-root.d.ts +93 -0
- package/dist/memory/types.d.ts +20 -1
- package/dist/services/knowledge-diagnostics.d.ts +25 -0
- package/dist/services/status-service.d.ts +16 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-mfvd4sqx.js +0 -52
- package/dist/cli/guardrail-explain-4vytbchb.js +0 -53
- package/dist/cli/guardrail-log-z291m4gw.js +0 -16
- package/dist/cli/index-4rhcth7a.js +0 -14
- package/dist/cli/index-wr8qgpz5.js +0 -2463
package/README.md
CHANGED
|
@@ -1144,6 +1144,9 @@ Control how tool outputs are summarized for LLM context.
|
|
|
1144
1144
|
| `/swarm memory evaluate` | Run memory recall evaluation fixtures |
|
|
1145
1145
|
| `/swarm memory import` | Import legacy JSONL memory into SQLite |
|
|
1146
1146
|
| `/swarm memory migrate` | Run the one-time JSONL to SQLite migration |
|
|
1147
|
+
| `/swarm memory link [name]` | Share memory across linked worktrees (requires `memory.link.enabled`) |
|
|
1148
|
+
| `/swarm memory link status` | Show whether memory is cohort-linked (distinct from knowledge link) |
|
|
1149
|
+
| `/swarm memory unlink` | Stop sharing memory; copies cohort family back to local |
|
|
1147
1150
|
| `/swarm concurrency <set|status|reset>` | Manage session-scoped runtime concurrency override |
|
|
1148
1151
|
| `/swarm turbo` | Enable turbo mode for the current session (bypasses QA gates) |
|
|
1149
1152
|
| `/swarm full-auto` | Toggle Full-Auto Mode for the current session [on|off] |
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
15
|
+
} from "./index-v5ecczts.js";
|
|
16
|
+
import"./index-c6crt5rs.js";
|
|
17
|
+
import"./index-bk5tah7q.js";
|
|
18
|
+
import"./index-z6xqpmqg.js";
|
|
19
|
+
import"./index-zjygnfay.js";
|
|
20
20
|
import"./index-zgwm4ryv.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-bpmtbmy9.js";
|
|
22
22
|
import"./index-a76rekgs.js";
|
|
23
23
|
export {
|
|
24
24
|
writeDoctorArtifact,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
resolveWorktreeBaseDir,
|
|
15
15
|
shortenWorktreePath,
|
|
16
16
|
writeLaneProfileToDiskReal
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-v2rdhwx8.js";
|
|
18
|
+
import"./index-gacm5s2n.js";
|
|
19
|
+
import"./index-z6xqpmqg.js";
|
|
20
|
+
import"./index-zjygnfay.js";
|
|
21
21
|
import"./index-zgwm4ryv.js";
|
|
22
22
|
import"./index-qe3v54nb.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
authorizeCuration,
|
|
5
5
|
buildConfigFingerprintInput,
|
|
6
6
|
readCohortConfigFingerprint
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-13d2g7k9.js";
|
|
8
8
|
import"./index-rtry5xyf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-x2mmnrnx.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
11
|
import"./index-q27bajqb.js";
|
|
12
12
|
import"./index-zgwm4ryv.js";
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
} from "./index-c8s9a3zh.js";
|
|
5
5
|
import {
|
|
6
6
|
readEffectiveSpecSync
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
7
|
+
} from "./index-s9mj4rb9.js";
|
|
8
|
+
import"./index-n832052r.js";
|
|
9
|
+
import"./index-gacm5s2n.js";
|
|
10
10
|
import {
|
|
11
11
|
readSwarmFileAsync,
|
|
12
12
|
validateSwarmPath
|
|
13
|
-
} from "./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
13
|
+
} from "./index-2445sx3d.js";
|
|
14
|
+
import"./index-z6xqpmqg.js";
|
|
15
|
+
import"./index-zjygnfay.js";
|
|
16
16
|
import {
|
|
17
17
|
init_logger,
|
|
18
18
|
warn
|
|
19
19
|
} from "./index-zgwm4ryv.js";
|
|
20
20
|
import"./index-fsrp8wp3.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-bpmtbmy9.js";
|
|
22
22
|
import"./index-qe3v54nb.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
24
24
|
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
createCuratorLLMDelegate
|
|
4
|
+
} from "./index-mkkx1a4f.js";
|
|
5
|
+
import"./index-e19mxn9f.js";
|
|
6
|
+
import"./index-v5ecczts.js";
|
|
7
|
+
import"./index-4rzzzjtg.js";
|
|
8
|
+
import"./index-4905hd2m.js";
|
|
9
|
+
import"./index-134d35c1.js";
|
|
10
|
+
import"./index-6n2jpz7x.js";
|
|
11
|
+
import"./index-tyg0zezw.js";
|
|
12
|
+
import"./index-z0m4angq.js";
|
|
13
|
+
import"./index-eeg04r0x.js";
|
|
14
|
+
import"./index-vxv732ex.js";
|
|
15
|
+
import"./index-c8s9a3zh.js";
|
|
16
|
+
import"./index-s9mj4rb9.js";
|
|
17
|
+
import"./index-23zsx7dm.js";
|
|
18
|
+
import"./index-zjedv2bd.js";
|
|
19
|
+
import"./index-13d2g7k9.js";
|
|
20
|
+
import"./index-rtry5xyf.js";
|
|
21
|
+
import"./index-2x4maxte.js";
|
|
22
|
+
import"./index-x2mmnrnx.js";
|
|
23
|
+
import"./index-ae75rja9.js";
|
|
24
|
+
import"./index-q27bajqb.js";
|
|
25
|
+
import"./index-3yyr4ynk.js";
|
|
26
|
+
import"./index-k5jrywpr.js";
|
|
27
|
+
import"./index-n832052r.js";
|
|
28
|
+
import"./index-c6crt5rs.js";
|
|
29
|
+
import"./index-bk5tah7q.js";
|
|
30
|
+
import"./index-8fwhhayc.js";
|
|
31
|
+
import"./index-q1exe2b3.js";
|
|
32
|
+
import"./index-gnvg72y1.js";
|
|
33
|
+
import"./index-2tn5h2zp.js";
|
|
34
|
+
import"./index-1kz6da87.js";
|
|
35
|
+
import"./index-v2rdhwx8.js";
|
|
36
|
+
import"./index-gacm5s2n.js";
|
|
37
|
+
import"./index-2445sx3d.js";
|
|
38
|
+
import"./index-z6xqpmqg.js";
|
|
39
|
+
import"./index-zjygnfay.js";
|
|
40
|
+
import"./index-zgwm4ryv.js";
|
|
41
|
+
import"./index-dqh3zhhc.js";
|
|
42
|
+
import"./index-3x761jqv.js";
|
|
43
|
+
import"./index-7mkpsw6g.js";
|
|
44
|
+
import"./index-fsrp8wp3.js";
|
|
45
|
+
import"./index-76kvm9z5.js";
|
|
46
|
+
import"./index-q2rrv0cy.js";
|
|
47
|
+
import"./index-bpmtbmy9.js";
|
|
48
|
+
import"./index-7g4c7s5r.js";
|
|
49
|
+
import"./index-qe3v54nb.js";
|
|
50
|
+
import"./index-a76rekgs.js";
|
|
51
|
+
export {
|
|
52
|
+
createCuratorLLMDelegate
|
|
53
|
+
};
|
|
@@ -14,49 +14,50 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-mkkx1a4f.js";
|
|
18
|
+
import"./index-e19mxn9f.js";
|
|
19
|
+
import"./index-v5ecczts.js";
|
|
20
|
+
import"./index-4rzzzjtg.js";
|
|
21
21
|
import"./index-4905hd2m.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
22
|
+
import"./index-134d35c1.js";
|
|
23
|
+
import"./index-6n2jpz7x.js";
|
|
24
|
+
import"./index-tyg0zezw.js";
|
|
25
|
+
import"./index-z0m4angq.js";
|
|
26
|
+
import"./index-eeg04r0x.js";
|
|
26
27
|
import"./index-vxv732ex.js";
|
|
27
28
|
import"./index-c8s9a3zh.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-s9mj4rb9.js";
|
|
30
|
+
import"./index-23zsx7dm.js";
|
|
31
|
+
import"./index-zjedv2bd.js";
|
|
32
|
+
import"./index-13d2g7k9.js";
|
|
32
33
|
import"./index-rtry5xyf.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-2x4maxte.js";
|
|
35
|
+
import"./index-x2mmnrnx.js";
|
|
35
36
|
import"./index-ae75rja9.js";
|
|
36
37
|
import"./index-q27bajqb.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
38
|
+
import"./index-3yyr4ynk.js";
|
|
39
|
+
import"./index-k5jrywpr.js";
|
|
40
|
+
import"./index-n832052r.js";
|
|
41
|
+
import"./index-c6crt5rs.js";
|
|
42
|
+
import"./index-bk5tah7q.js";
|
|
42
43
|
import"./index-8fwhhayc.js";
|
|
43
44
|
import"./index-q1exe2b3.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
45
|
+
import"./index-gnvg72y1.js";
|
|
46
|
+
import"./index-2tn5h2zp.js";
|
|
47
|
+
import"./index-1kz6da87.js";
|
|
48
|
+
import"./index-v2rdhwx8.js";
|
|
49
|
+
import"./index-gacm5s2n.js";
|
|
50
|
+
import"./index-2445sx3d.js";
|
|
51
|
+
import"./index-z6xqpmqg.js";
|
|
52
|
+
import"./index-zjygnfay.js";
|
|
52
53
|
import"./index-zgwm4ryv.js";
|
|
53
54
|
import"./index-dqh3zhhc.js";
|
|
54
|
-
import"./index-
|
|
55
|
+
import"./index-3x761jqv.js";
|
|
55
56
|
import"./index-7mkpsw6g.js";
|
|
56
57
|
import"./index-fsrp8wp3.js";
|
|
57
58
|
import"./index-76kvm9z5.js";
|
|
58
59
|
import"./index-q2rrv0cy.js";
|
|
59
|
-
import"./index-
|
|
60
|
+
import"./index-bpmtbmy9.js";
|
|
60
61
|
import"./index-7g4c7s5r.js";
|
|
61
62
|
import"./index-qe3v54nb.js";
|
|
62
63
|
import"./index-a76rekgs.js";
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
defaultTestFilesFor,
|
|
12
12
|
detectProjectLanguages,
|
|
13
13
|
tokenizeCommand
|
|
14
|
-
} from "./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
14
|
+
} from "./index-6n2jpz7x.js";
|
|
15
|
+
import"./index-z6xqpmqg.js";
|
|
16
|
+
import"./index-zjygnfay.js";
|
|
17
17
|
import"./index-zgwm4ryv.js";
|
|
18
18
|
import"./index-qe3v54nb.js";
|
|
19
19
|
import"./index-a76rekgs.js";
|
package/dist/cli/{evidence-summary-service-96ndczbk.js → evidence-summary-service-9hq7n9k9.js}
RENAMED
|
@@ -6,26 +6,26 @@ import {
|
|
|
6
6
|
loadPlanJsonOnly,
|
|
7
7
|
mergeDurableGateEntriesFromEvidence,
|
|
8
8
|
readDurableGateEvidence
|
|
9
|
-
} from "./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
9
|
+
} from "./index-4rzzzjtg.js";
|
|
10
|
+
import"./index-s9mj4rb9.js";
|
|
11
|
+
import"./index-k5jrywpr.js";
|
|
12
|
+
import"./index-n832052r.js";
|
|
13
13
|
import"./index-q1exe2b3.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
14
|
+
import"./index-2tn5h2zp.js";
|
|
15
|
+
import"./index-1kz6da87.js";
|
|
16
|
+
import"./index-gacm5s2n.js";
|
|
17
|
+
import"./index-2445sx3d.js";
|
|
18
|
+
import"./index-z6xqpmqg.js";
|
|
19
|
+
import"./index-zjygnfay.js";
|
|
20
20
|
import {
|
|
21
21
|
log
|
|
22
22
|
} from "./index-zgwm4ryv.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-3x761jqv.js";
|
|
24
24
|
import"./index-7mkpsw6g.js";
|
|
25
25
|
import"./index-fsrp8wp3.js";
|
|
26
26
|
import"./index-76kvm9z5.js";
|
|
27
27
|
import"./index-q2rrv0cy.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-bpmtbmy9.js";
|
|
29
29
|
import"./index-7g4c7s5r.js";
|
|
30
30
|
import"./index-qe3v54nb.js";
|
|
31
31
|
import"./index-a76rekgs.js";
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
readTaskEvidenceRaw,
|
|
10
10
|
recordAgentDispatch,
|
|
11
11
|
recordGateEvidence
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-3x761jqv.js";
|
|
13
13
|
import"./index-7mkpsw6g.js";
|
|
14
14
|
import"./index-fsrp8wp3.js";
|
|
15
15
|
import"./index-76kvm9z5.js";
|
|
16
16
|
import"./index-q2rrv0cy.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-bpmtbmy9.js";
|
|
18
18
|
import"./index-7g4c7s5r.js";
|
|
19
19
|
import"./index-qe3v54nb.js";
|
|
20
20
|
import"./index-a76rekgs.js";
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
handleGuardrailExplain
|
|
4
|
+
} from "./index-qd77aft9.js";
|
|
5
|
+
import"./index-mkkx1a4f.js";
|
|
6
|
+
import"./index-e19mxn9f.js";
|
|
7
|
+
import"./index-v5ecczts.js";
|
|
8
|
+
import"./index-4rzzzjtg.js";
|
|
9
|
+
import"./index-4905hd2m.js";
|
|
10
|
+
import"./index-134d35c1.js";
|
|
11
|
+
import"./index-6n2jpz7x.js";
|
|
12
|
+
import"./index-tyg0zezw.js";
|
|
13
|
+
import"./index-z0m4angq.js";
|
|
14
|
+
import"./index-eeg04r0x.js";
|
|
15
|
+
import"./index-vxv732ex.js";
|
|
16
|
+
import"./index-c8s9a3zh.js";
|
|
17
|
+
import"./index-s9mj4rb9.js";
|
|
18
|
+
import"./index-23zsx7dm.js";
|
|
19
|
+
import"./index-zjedv2bd.js";
|
|
20
|
+
import"./index-13d2g7k9.js";
|
|
21
|
+
import"./index-rtry5xyf.js";
|
|
22
|
+
import"./index-2x4maxte.js";
|
|
23
|
+
import"./index-x2mmnrnx.js";
|
|
24
|
+
import"./index-ae75rja9.js";
|
|
25
|
+
import"./index-q27bajqb.js";
|
|
26
|
+
import"./index-3yyr4ynk.js";
|
|
27
|
+
import"./index-k5jrywpr.js";
|
|
28
|
+
import"./index-n832052r.js";
|
|
29
|
+
import"./index-c6crt5rs.js";
|
|
30
|
+
import"./index-bk5tah7q.js";
|
|
31
|
+
import"./index-8fwhhayc.js";
|
|
32
|
+
import"./index-q1exe2b3.js";
|
|
33
|
+
import"./index-gnvg72y1.js";
|
|
34
|
+
import"./index-2tn5h2zp.js";
|
|
35
|
+
import"./index-1kz6da87.js";
|
|
36
|
+
import"./index-v2rdhwx8.js";
|
|
37
|
+
import"./index-gacm5s2n.js";
|
|
38
|
+
import"./index-2445sx3d.js";
|
|
39
|
+
import"./index-z6xqpmqg.js";
|
|
40
|
+
import"./index-zjygnfay.js";
|
|
41
|
+
import"./index-zgwm4ryv.js";
|
|
42
|
+
import"./index-dqh3zhhc.js";
|
|
43
|
+
import"./index-3x761jqv.js";
|
|
44
|
+
import"./index-7mkpsw6g.js";
|
|
45
|
+
import"./index-fsrp8wp3.js";
|
|
46
|
+
import"./index-76kvm9z5.js";
|
|
47
|
+
import"./index-q2rrv0cy.js";
|
|
48
|
+
import"./index-bpmtbmy9.js";
|
|
49
|
+
import"./index-7g4c7s5r.js";
|
|
50
|
+
import"./index-qe3v54nb.js";
|
|
51
|
+
import"./index-a76rekgs.js";
|
|
52
|
+
export {
|
|
53
|
+
handleGuardrailExplain
|
|
54
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
handleGuardrailLog
|
|
4
|
+
} from "./index-htbjqftb.js";
|
|
5
|
+
import"./index-e19mxn9f.js";
|
|
6
|
+
import"./index-c6crt5rs.js";
|
|
7
|
+
import"./index-bk5tah7q.js";
|
|
8
|
+
import"./index-z6xqpmqg.js";
|
|
9
|
+
import"./index-zjygnfay.js";
|
|
10
|
+
import"./index-zgwm4ryv.js";
|
|
11
|
+
import"./index-bpmtbmy9.js";
|
|
12
|
+
import"./index-qe3v54nb.js";
|
|
13
|
+
import"./index-a76rekgs.js";
|
|
14
|
+
export {
|
|
15
|
+
handleGuardrailLog
|
|
16
|
+
};
|
|
@@ -7,51 +7,52 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-mkkx1a4f.js";
|
|
11
|
+
import"./index-e19mxn9f.js";
|
|
12
|
+
import"./index-v5ecczts.js";
|
|
13
|
+
import"./index-4rzzzjtg.js";
|
|
14
14
|
import"./index-4905hd2m.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
15
|
+
import"./index-134d35c1.js";
|
|
16
|
+
import"./index-6n2jpz7x.js";
|
|
17
|
+
import"./index-tyg0zezw.js";
|
|
18
|
+
import"./index-z0m4angq.js";
|
|
19
|
+
import"./index-eeg04r0x.js";
|
|
19
20
|
import"./index-vxv732ex.js";
|
|
20
21
|
import"./index-c8s9a3zh.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
22
|
+
import"./index-s9mj4rb9.js";
|
|
23
|
+
import"./index-23zsx7dm.js";
|
|
24
|
+
import"./index-zjedv2bd.js";
|
|
25
|
+
import"./index-13d2g7k9.js";
|
|
25
26
|
import"./index-rtry5xyf.js";
|
|
26
27
|
import {
|
|
27
28
|
resolveHiveKnowledgePath
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
29
|
+
} from "./index-2x4maxte.js";
|
|
30
|
+
import"./index-x2mmnrnx.js";
|
|
30
31
|
import"./index-ae75rja9.js";
|
|
31
32
|
import"./index-q27bajqb.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
33
|
+
import"./index-3yyr4ynk.js";
|
|
34
|
+
import"./index-k5jrywpr.js";
|
|
35
|
+
import"./index-n832052r.js";
|
|
36
|
+
import"./index-c6crt5rs.js";
|
|
37
|
+
import"./index-bk5tah7q.js";
|
|
37
38
|
import"./index-8fwhhayc.js";
|
|
38
39
|
import"./index-q1exe2b3.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
40
|
+
import"./index-gnvg72y1.js";
|
|
41
|
+
import"./index-2tn5h2zp.js";
|
|
42
|
+
import"./index-1kz6da87.js";
|
|
43
|
+
import"./index-v2rdhwx8.js";
|
|
44
|
+
import"./index-gacm5s2n.js";
|
|
45
|
+
import"./index-2445sx3d.js";
|
|
46
|
+
import"./index-z6xqpmqg.js";
|
|
47
|
+
import"./index-zjygnfay.js";
|
|
47
48
|
import"./index-zgwm4ryv.js";
|
|
48
49
|
import"./index-dqh3zhhc.js";
|
|
49
|
-
import"./index-
|
|
50
|
+
import"./index-3x761jqv.js";
|
|
50
51
|
import"./index-7mkpsw6g.js";
|
|
51
52
|
import"./index-fsrp8wp3.js";
|
|
52
53
|
import"./index-76kvm9z5.js";
|
|
53
54
|
import"./index-q2rrv0cy.js";
|
|
54
|
-
import"./index-
|
|
55
|
+
import"./index-bpmtbmy9.js";
|
|
55
56
|
import"./index-7g4c7s5r.js";
|
|
56
57
|
import"./index-qe3v54nb.js";
|
|
57
58
|
import"./index-a76rekgs.js";
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
// src/db/sqlite-loader.ts
|
|
3
|
+
import { createRequire } from "module";
|
|
4
|
+
function createNodeDatabaseCtor(DatabaseSyncCtor) {
|
|
5
|
+
|
|
6
|
+
class NodeSqliteDatabase {
|
|
7
|
+
raw;
|
|
8
|
+
stmts = new Map;
|
|
9
|
+
savepointCounter = 0;
|
|
10
|
+
constructor(filename) {
|
|
11
|
+
this.raw = new DatabaseSyncCtor(filename, { allowExtension: true });
|
|
12
|
+
}
|
|
13
|
+
statement(sql) {
|
|
14
|
+
let stmt = this.stmts.get(sql);
|
|
15
|
+
if (!stmt) {
|
|
16
|
+
stmt = this.raw.prepare(sql);
|
|
17
|
+
this.stmts.set(sql, stmt);
|
|
18
|
+
}
|
|
19
|
+
return stmt;
|
|
20
|
+
}
|
|
21
|
+
run(sql, ...rest) {
|
|
22
|
+
if (rest.length === 0) {
|
|
23
|
+
this.raw.exec(sql);
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
const params = rest.length === 1 && Array.isArray(rest[0]) ? rest[0] : rest;
|
|
27
|
+
return this.statement(sql).run(...params);
|
|
28
|
+
}
|
|
29
|
+
query(sql) {
|
|
30
|
+
const stmt = this.statement(sql);
|
|
31
|
+
return {
|
|
32
|
+
get: (...params) => stmt.get(...params),
|
|
33
|
+
all: (...params) => stmt.all(...params),
|
|
34
|
+
iterate: (...params) => stmt.iterate(...params)
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
get inTransaction() {
|
|
38
|
+
return this.raw.isTransaction;
|
|
39
|
+
}
|
|
40
|
+
transaction(fn) {
|
|
41
|
+
return (...args) => {
|
|
42
|
+
if (this.raw.isTransaction) {
|
|
43
|
+
const sp = `swarm_sp_${this.savepointCounter++}`;
|
|
44
|
+
this.raw.exec(`SAVEPOINT ${sp}`);
|
|
45
|
+
try {
|
|
46
|
+
const result = fn(...args);
|
|
47
|
+
this.raw.exec(`RELEASE ${sp}`);
|
|
48
|
+
return result;
|
|
49
|
+
} catch (err) {
|
|
50
|
+
try {
|
|
51
|
+
this.raw.exec(`ROLLBACK TO ${sp}`);
|
|
52
|
+
this.raw.exec(`RELEASE ${sp}`);
|
|
53
|
+
} catch {}
|
|
54
|
+
throw err;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
this.raw.exec("BEGIN");
|
|
58
|
+
try {
|
|
59
|
+
const result = fn(...args);
|
|
60
|
+
this.raw.exec("COMMIT");
|
|
61
|
+
return result;
|
|
62
|
+
} catch (err) {
|
|
63
|
+
try {
|
|
64
|
+
this.raw.exec("ROLLBACK");
|
|
65
|
+
} catch {}
|
|
66
|
+
throw err;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
loadExtension(path) {
|
|
71
|
+
this.raw.enableLoadExtension(true);
|
|
72
|
+
try {
|
|
73
|
+
this.raw.loadExtension(path);
|
|
74
|
+
} finally {
|
|
75
|
+
this.raw.enableLoadExtension(false);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
close() {
|
|
79
|
+
this.stmts.clear();
|
|
80
|
+
this.raw.close();
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return NodeSqliteDatabase;
|
|
84
|
+
}
|
|
85
|
+
var _DatabaseCtor = null;
|
|
86
|
+
var _internals = {
|
|
87
|
+
requireModule(id) {
|
|
88
|
+
return createRequire(import.meta.url)(id);
|
|
89
|
+
},
|
|
90
|
+
reset() {
|
|
91
|
+
_DatabaseCtor = null;
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
function loadDatabaseCtor() {
|
|
95
|
+
if (_DatabaseCtor)
|
|
96
|
+
return _DatabaseCtor;
|
|
97
|
+
let bunError;
|
|
98
|
+
try {
|
|
99
|
+
const mod = _internals.requireModule("bun:sqlite");
|
|
100
|
+
_DatabaseCtor = mod.Database;
|
|
101
|
+
return _DatabaseCtor;
|
|
102
|
+
} catch (err) {
|
|
103
|
+
bunError = err;
|
|
104
|
+
}
|
|
105
|
+
try {
|
|
106
|
+
const mod = _internals.requireModule("node:sqlite");
|
|
107
|
+
_DatabaseCtor = createNodeDatabaseCtor(mod.DatabaseSync);
|
|
108
|
+
return _DatabaseCtor;
|
|
109
|
+
} catch (nodeError) {
|
|
110
|
+
const bunMsg = bunError instanceof Error ? bunError.message : String(bunError);
|
|
111
|
+
const nodeMsg = nodeError instanceof Error ? nodeError.message : String(nodeError);
|
|
112
|
+
throw new Error("opencode-swarm: no SQLite driver available. This build needs Bun " + "(bun:sqlite) or Node.js 22.13+ (node:sqlite). " + `bun:sqlite: ${bunMsg}; node:sqlite: ${nodeMsg}`);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export { createNodeDatabaseCtor, _internals, loadDatabaseCtor };
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
exports_external
|
|
4
|
-
|
|
3
|
+
exports_external,
|
|
4
|
+
init_zod
|
|
5
|
+
} from "./index-bpmtbmy9.js";
|
|
5
6
|
|
|
6
7
|
// src/config/plan-schema.ts
|
|
8
|
+
init_zod();
|
|
7
9
|
var ExecutionProfileSchema = exports_external.object({
|
|
8
10
|
parallelization_enabled: exports_external.boolean().default(false),
|
|
9
11
|
max_concurrent_tasks: exports_external.number().int().min(1).max(64).default(10),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-2445sx3d.js";
|
|
5
5
|
import {
|
|
6
6
|
log
|
|
7
7
|
} from "./index-zgwm4ryv.js";
|
|
@@ -9,10 +9,12 @@ import {
|
|
|
9
9
|
withEvidenceLock
|
|
10
10
|
} from "./index-76kvm9z5.js";
|
|
11
11
|
import {
|
|
12
|
-
exports_external
|
|
13
|
-
|
|
12
|
+
exports_external,
|
|
13
|
+
init_zod
|
|
14
|
+
} from "./index-bpmtbmy9.js";
|
|
14
15
|
|
|
15
16
|
// src/background/pr-subscriptions.ts
|
|
17
|
+
init_zod();
|
|
16
18
|
import * as fs from "fs";
|
|
17
19
|
import * as path from "path";
|
|
18
20
|
var PR_SUBSCRIPTIONS_FILE = "pr-monitor/subscriptions.jsonl";
|