opencode-swarm 7.158.1 → 7.159.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/cli/{coder-settlement-nrtcjr0h.js → coder-settlement-d89tqam8.js} +9 -9
- package/dist/cli/{config-doctor-hs0x10ty.js → config-doctor-8zawz3qh.js} +2 -2
- package/dist/cli/{core-a42bexs1.js → core-pp64ys5v.js} +1 -1
- package/dist/cli/{curation-policy-vn3m5nq2.js → curation-policy-2gq8307w.js} +6 -6
- package/dist/cli/{curator-llm-factory-21vqqvn3.js → curator-llm-factory-m3yw6sn5.js} +30 -30
- package/dist/cli/{curator-yawrnk3t.js → curator-mpqpbr0r.js} +30 -30
- package/dist/cli/{evidence-summary-service-kmc92b95.js → evidence-summary-service-qaq1eba9.js} +12 -12
- package/dist/cli/{gate-evidence-6tzhdxb2.js → gate-evidence-r0c71n04.js} +6 -6
- package/dist/cli/{guardrail-explain-7xrdp18c.js → guardrail-explain-5z64w3ah.js} +31 -31
- package/dist/cli/{guardrail-log-f16sdc3p.js → guardrail-log-f9nf687y.js} +5 -5
- package/dist/cli/{guardrail-reset-0ks08s0t.js → guardrail-reset-yjwk20rb.js} +30 -30
- package/dist/cli/{hive-promoter-d661k3qq.js → hive-promoter-zjtgbh4w.js} +30 -30
- package/dist/cli/{index-nwkr6tvv.js → index-0zerbq1v.js} +1 -1
- package/dist/cli/{index-mc9qgkwd.js → index-1qpagg2t.js} +3 -3
- package/dist/cli/{index-tc14d2zy.js → index-29wav1x0.js} +4 -4
- package/dist/cli/{index-ygxb3jw4.js → index-2z00wqvb.js} +3 -3
- package/dist/cli/{index-4wy9kzjg.js → index-36sgq7n9.js} +32 -32
- package/dist/cli/{index-xzhk2hav.js → index-3rcqxbwt.js} +1 -1
- package/dist/cli/{index-6x9jq0cd.js → index-3scbg6n2.js} +2 -2
- package/dist/cli/{index-zy60xd05.js → index-4k9pqbxw.js} +2 -2
- package/dist/cli/{index-mfv7mfgg.js → index-4nc9npx5.js} +2 -2
- package/dist/cli/{index-pfnj5pvs.js → index-54pkyasv.js} +1 -1
- package/dist/cli/{index-86vvhe8m.js → index-60mzwj91.js} +15 -1
- package/dist/cli/{index-8fqb0ynp.js → index-6z53bew2.js} +1 -1
- package/dist/cli/{index-jz216dhj.js → index-7yg4ypyg.js} +26 -2
- package/dist/cli/{index-ac8rwjsg.js → index-86dvzyac.js} +785 -235
- package/dist/cli/{index-tppnfxkm.js → index-8819vcke.js} +4 -4
- package/dist/cli/{index-ff8xjr1c.js → index-9fphcxes.js} +2 -2
- package/dist/cli/{index-hrrzxz3q.js → index-9yxyc1gb.js} +6 -6
- package/dist/cli/{index-zcmwwp1x.js → index-a5w29k1t.js} +1 -1
- package/dist/cli/{index-xagq35tf.js → index-av3gnekk.js} +1 -1
- package/dist/cli/{index-xscjecyq.js → index-bea260ta.js} +6 -6
- package/dist/cli/{index-dr2tfawg.js → index-bz7ayg01.js} +5 -5
- package/dist/cli/{index-7qvfkgyk.js → index-f3yphmk6.js} +7 -7
- package/dist/cli/{index-5zgf140g.js → index-g6d8xam2.js} +1 -1
- package/dist/cli/{index-azx50qge.js → index-gkw7kq6z.js} +5 -5
- package/dist/cli/{index-203fqkqk.js → index-k6y6btb6.js} +3 -3
- package/dist/cli/{index-h1g8w4v0.js → index-prknc0xn.js} +129 -44
- package/dist/cli/{index-z54qw70y.js → index-tvz43tea.js} +1 -1
- package/dist/cli/{index-h52hs4e9.js → index-v3jy0tc6.js} +2 -2
- package/dist/cli/{index-t8g88esk.js → index-ve3v09kq.js} +1 -1
- package/dist/cli/{index-mt6qjp4c.js → index-wae55z9w.js} +81 -72
- package/dist/cli/{index-nphnjeh8.js → index-wttqayp1.js} +2 -2
- package/dist/cli/{index-5erwyk1b.js → index-yw26j0q7.js} +7 -7
- package/dist/cli/{index-2j07670d.js → index-zmc8mm7v.js} +4 -4
- package/dist/cli/{index-7s1hmrfh.js → index-zxkv8x5n.js} +2 -2
- package/dist/cli/index.js +38 -46
- package/dist/cli/{knowledge-escalator-9py5r6c9.js → knowledge-escalator-585m4927.js} +11 -11
- package/dist/cli/{knowledge-events-vcbece74.js → knowledge-events-ssegqfmy.js} +9 -9
- package/dist/cli/{knowledge-link-cj2abbae.js → knowledge-link-a9fafeb3.js} +5 -5
- package/dist/cli/{knowledge-store-0rdfjv20.js → knowledge-store-nznky6cv.js} +6 -6
- package/dist/cli/{knowledge-validator-nwjnjgf5.js → knowledge-validator-3byea8gp.js} +8 -8
- package/dist/cli/{pending-delegations-ht1vgaze.js → pending-delegations-qrjq3s29.js} +3 -3
- package/dist/cli/{pr-review-reentry-authorization-857b9rvv.js → pr-review-reentry-authorization-w8ja0m2p.js} +30 -30
- package/dist/cli/{pr-subscriptions-j9j70bmd.js → pr-subscriptions-fvmey1x6.js} +4 -4
- package/dist/cli/{runner-sj5sf36c.js → runner-atbehryj.js} +6 -6
- package/dist/cli/{scan-cursor-59yj7tp9.js → scan-cursor-kv9scb2v.js} +7 -7
- package/dist/cli/{schema-8a7fyp87.js → schema-a7f88yc3.js} +1 -1
- package/dist/cli/{scope-persistence-prdxtcr3.js → scope-persistence-x6de46s4.js} +8 -8
- package/dist/cli/{skill-generator-v2jkgp63.js → skill-generator-vwcrfrw3.js} +13 -13
- package/dist/cli/{telemetry-r8e8zey7.js → telemetry-3rh94wv3.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-6x03w8h7.js → worktree-collision-ownership-7kf9mm5z.js} +5 -5
- package/dist/cli/{worktree-isolation-s0setq2a.js → worktree-isolation-6zh5bxrd.js} +30 -30
- package/dist/commands/close.d.ts +2 -0
- package/dist/config/loader.d.ts +3 -0
- package/dist/config/project-init.d.ts +11 -7
- package/dist/config/schema.d.ts +21 -0
- package/dist/evaluation/contracts.d.ts +5 -5
- package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +2 -0
- package/dist/evaluation/model-dispatcher.d.ts +2 -2
- package/dist/index.js +478 -475
- package/dist/observability/catalog.d.ts +5 -3
- package/dist/review/contracts.d.ts +2 -1
- package/dist/review/evidence.d.ts +12 -0
- package/dist/services/cost-accounting.d.ts +100 -0
- package/dist/services/status-service.d.ts +12 -0
- package/dist/telemetry.d.ts +1 -1
- package/dist/tools/repo-graph/query.d.ts +1 -0
- package/dist/tools/repo-graph/symbol-query.d.ts +47 -0
- package/dist/tools/repo-graph/types.d.ts +267 -1
- package/dist/tools/repo-graph.d.ts +3 -1
- package/opencode-swarm.schema.json +5200 -0
- package/package.json +4 -2
|
@@ -64,15 +64,15 @@ import {
|
|
|
64
64
|
sweepStaleDelegations,
|
|
65
65
|
updateCoderSettlement,
|
|
66
66
|
writeDelegationFallback
|
|
67
|
-
} from "./index-
|
|
67
|
+
} from "./index-4k9pqbxw.js";
|
|
68
68
|
import"./index-ddszzne4.js";
|
|
69
69
|
import"./index-dtn0pne5.js";
|
|
70
70
|
import"./index-z6xqpmqg.js";
|
|
71
71
|
import"./index-r3mvsbtq.js";
|
|
72
72
|
import"./index-zjygnfay.js";
|
|
73
|
-
import"./index-
|
|
73
|
+
import"./index-av3gnekk.js";
|
|
74
74
|
import"./index-ed5ykebp.js";
|
|
75
|
-
import"./index-
|
|
75
|
+
import"./index-prknc0xn.js";
|
|
76
76
|
import"./index-7g4c7s5r.js";
|
|
77
77
|
import"./index-bpmtbmy9.js";
|
|
78
78
|
import"./index-zgwm4ryv.js";
|
|
@@ -3,43 +3,43 @@ import {
|
|
|
3
3
|
PrReviewRunIdSchema,
|
|
4
4
|
prWorkflowSessionFileStem,
|
|
5
5
|
readPrReviewReentryBindingContext
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
6
|
+
} from "./index-86dvzyac.js";
|
|
7
|
+
import"./index-tvz43tea.js";
|
|
8
|
+
import"./index-9fphcxes.js";
|
|
9
|
+
import"./index-60mzwj91.js";
|
|
10
|
+
import"./index-f3yphmk6.js";
|
|
11
|
+
import"./index-zxkv8x5n.js";
|
|
12
12
|
import"./index-txdagbh7.js";
|
|
13
13
|
import"./index-134d35c1.js";
|
|
14
14
|
import"./index-nj6rmyeh.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-29wav1x0.js";
|
|
16
|
+
import"./index-gkw7kq6z.js";
|
|
17
|
+
import"./index-4nc9npx5.js";
|
|
18
18
|
import"./index-70ha9e09.js";
|
|
19
19
|
import"./index-c8s9a3zh.js";
|
|
20
20
|
import"./index-9ss2m4rs.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-1qpagg2t.js";
|
|
22
22
|
import"./index-zsrtt42s.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-9yxyc1gb.js";
|
|
24
24
|
import"./index-3f7hqtgg.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
25
|
+
import"./index-6z53bew2.js";
|
|
26
|
+
import"./index-8819vcke.js";
|
|
27
|
+
import"./index-54pkyasv.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-zmc8mm7v.js";
|
|
30
|
+
import"./index-ve3v09kq.js";
|
|
31
|
+
import"./index-4k9pqbxw.js";
|
|
32
32
|
import"./index-ddszzne4.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-bz7ayg01.js";
|
|
34
|
+
import"./index-k6y6btb6.js";
|
|
35
|
+
import"./index-0zerbq1v.js";
|
|
36
36
|
import"./index-556ja8an.js";
|
|
37
37
|
import"./index-4fwbbad3.js";
|
|
38
38
|
import"./index-b43rt5ph.js";
|
|
39
39
|
import"./index-q7sjgr1y.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
40
|
+
import"./index-bea260ta.js";
|
|
41
|
+
import"./index-yw26j0q7.js";
|
|
42
|
+
import"./index-3scbg6n2.js";
|
|
43
43
|
import"./index-gprxjmm7.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
45
|
import {
|
|
@@ -47,20 +47,20 @@ import {
|
|
|
47
47
|
} from "./index-dtn0pne5.js";
|
|
48
48
|
import"./index-z6xqpmqg.js";
|
|
49
49
|
import"./index-r3mvsbtq.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-7yg4ypyg.js";
|
|
51
|
+
import"./index-wae55z9w.js";
|
|
52
52
|
import"./index-9e6fdz2h.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
54
|
import"./index-yt75r1er.js";
|
|
55
55
|
import"./index-zjygnfay.js";
|
|
56
56
|
import"./index-ae75rja9.js";
|
|
57
|
-
import"./index-
|
|
58
|
-
import"./index-
|
|
57
|
+
import"./index-g6d8xam2.js";
|
|
58
|
+
import"./index-v3jy0tc6.js";
|
|
59
59
|
import"./index-bk5tah7q.js";
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
60
|
+
import"./index-a5w29k1t.js";
|
|
61
|
+
import"./index-av3gnekk.js";
|
|
62
62
|
import"./index-ed5ykebp.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-prknc0xn.js";
|
|
64
64
|
import {
|
|
65
65
|
require_proper_lockfile
|
|
66
66
|
} from "./index-7g4c7s5r.js";
|
|
@@ -14,15 +14,15 @@ import {
|
|
|
14
14
|
sweepStale,
|
|
15
15
|
unsubscribe,
|
|
16
16
|
updateSnapshot
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-1qpagg2t.js";
|
|
18
18
|
import"./index-dtn0pne5.js";
|
|
19
19
|
import"./index-z6xqpmqg.js";
|
|
20
20
|
import"./index-r3mvsbtq.js";
|
|
21
21
|
import"./index-zjygnfay.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-a5w29k1t.js";
|
|
23
|
+
import"./index-av3gnekk.js";
|
|
24
24
|
import"./index-ed5ykebp.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-prknc0xn.js";
|
|
26
26
|
import"./index-7g4c7s5r.js";
|
|
27
27
|
import"./index-bpmtbmy9.js";
|
|
28
28
|
import"./index-zgwm4ryv.js";
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
_internals,
|
|
4
4
|
createModelEvaluationExecutor,
|
|
5
5
|
runEvaluation
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-tvz43tea.js";
|
|
7
|
+
import"./index-zxkv8x5n.js";
|
|
8
8
|
import"./index-txdagbh7.js";
|
|
9
9
|
import"./index-r3mvsbtq.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
import"./index-v3jy0tc6.js";
|
|
11
|
+
import"./index-a5w29k1t.js";
|
|
12
|
+
import"./index-av3gnekk.js";
|
|
13
13
|
import"./index-ed5ykebp.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-prknc0xn.js";
|
|
15
15
|
import"./index-7g4c7s5r.js";
|
|
16
16
|
import"./index-bpmtbmy9.js";
|
|
17
17
|
import"./index-zgwm4ryv.js";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-4nc9npx5.js";
|
|
8
|
+
import"./index-bea260ta.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-g6d8xam2.js";
|
|
13
|
+
import"./index-v3jy0tc6.js";
|
|
14
14
|
import"./index-bk5tah7q.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
import"./index-a5w29k1t.js";
|
|
16
|
+
import"./index-av3gnekk.js";
|
|
17
17
|
import"./index-ed5ykebp.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-prknc0xn.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
20
|
import"./index-bpmtbmy9.js";
|
|
21
21
|
import"./index-zgwm4ryv.js";
|
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
resolveGeneratedAgentRole,
|
|
102
102
|
resolveGuardrailsConfig,
|
|
103
103
|
stripKnownSwarmPrefix
|
|
104
|
-
} from "./index-
|
|
104
|
+
} from "./index-wae55z9w.js";
|
|
105
105
|
import"./index-yt75r1er.js";
|
|
106
106
|
import"./index-zjygnfay.js";
|
|
107
107
|
import"./index-bk5tah7q.js";
|
|
@@ -23,21 +23,21 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
} from "./index-bz7ayg01.js";
|
|
27
|
+
import"./index-k6y6btb6.js";
|
|
28
|
+
import"./index-0zerbq1v.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-7yg4ypyg.js";
|
|
31
|
+
import"./index-wae55z9w.js";
|
|
32
32
|
import"./index-9e6fdz2h.js";
|
|
33
33
|
import"./index-4rhhvd1a.js";
|
|
34
34
|
import"./index-yt75r1er.js";
|
|
35
35
|
import"./index-zjygnfay.js";
|
|
36
36
|
import"./index-bk5tah7q.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-a5w29k1t.js";
|
|
38
|
+
import"./index-av3gnekk.js";
|
|
39
39
|
import"./index-ed5ykebp.js";
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-prknc0xn.js";
|
|
41
41
|
import"./index-7g4c7s5r.js";
|
|
42
42
|
import"./index-bpmtbmy9.js";
|
|
43
43
|
import"./index-zgwm4ryv.js";
|
|
@@ -33,33 +33,33 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-29wav1x0.js";
|
|
37
|
+
import"./index-8819vcke.js";
|
|
38
|
+
import"./index-54pkyasv.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-bea260ta.js";
|
|
42
|
+
import"./index-yw26j0q7.js";
|
|
43
|
+
import"./index-3scbg6n2.js";
|
|
44
44
|
import"./index-gprxjmm7.js";
|
|
45
45
|
import"./index-n832052r.js";
|
|
46
46
|
import"./index-dtn0pne5.js";
|
|
47
47
|
import"./index-z6xqpmqg.js";
|
|
48
48
|
import"./index-r3mvsbtq.js";
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
49
|
+
import"./index-7yg4ypyg.js";
|
|
50
|
+
import"./index-wae55z9w.js";
|
|
51
51
|
import"./index-9e6fdz2h.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
53
|
import"./index-yt75r1er.js";
|
|
54
54
|
import"./index-zjygnfay.js";
|
|
55
55
|
import"./index-ae75rja9.js";
|
|
56
|
-
import"./index-
|
|
57
|
-
import"./index-
|
|
56
|
+
import"./index-g6d8xam2.js";
|
|
57
|
+
import"./index-v3jy0tc6.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
59
|
+
import"./index-a5w29k1t.js";
|
|
60
|
+
import"./index-av3gnekk.js";
|
|
61
61
|
import"./index-ed5ykebp.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-prknc0xn.js";
|
|
63
63
|
import"./index-7g4c7s5r.js";
|
|
64
64
|
import"./index-bpmtbmy9.js";
|
|
65
65
|
import"./index-zgwm4ryv.js";
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
WORKTREE_PROVISIONING_OWNER_LEASE_MS,
|
|
7
7
|
removeWorktreeProvisioningOwner,
|
|
8
8
|
scanWorktreeProvisioningOwnersForRecovery
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-6z53bew2.js";
|
|
10
10
|
import {
|
|
11
11
|
scanDelegationFallbacksForRecovery,
|
|
12
12
|
scanDelegationsForRecovery
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-4k9pqbxw.js";
|
|
14
14
|
import"./index-ddszzne4.js";
|
|
15
15
|
import"./index-dtn0pne5.js";
|
|
16
16
|
import"./index-z6xqpmqg.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
} from "./index-9e6fdz2h.js";
|
|
24
24
|
import"./index-4rhhvd1a.js";
|
|
25
25
|
import"./index-zjygnfay.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
import"./index-a5w29k1t.js";
|
|
27
|
+
import"./index-av3gnekk.js";
|
|
28
28
|
import"./index-ed5ykebp.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-prknc0xn.js";
|
|
30
30
|
import"./index-7g4c7s5r.js";
|
|
31
31
|
import"./index-bpmtbmy9.js";
|
|
32
32
|
import"./index-zgwm4ryv.js";
|
|
@@ -21,64 +21,64 @@ 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-86dvzyac.js";
|
|
25
|
+
import"./index-tvz43tea.js";
|
|
26
|
+
import"./index-9fphcxes.js";
|
|
27
|
+
import"./index-60mzwj91.js";
|
|
28
|
+
import"./index-f3yphmk6.js";
|
|
29
|
+
import"./index-zxkv8x5n.js";
|
|
30
30
|
import"./index-txdagbh7.js";
|
|
31
31
|
import"./index-134d35c1.js";
|
|
32
32
|
import"./index-nj6rmyeh.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-29wav1x0.js";
|
|
34
|
+
import"./index-gkw7kq6z.js";
|
|
35
|
+
import"./index-4nc9npx5.js";
|
|
36
36
|
import"./index-70ha9e09.js";
|
|
37
37
|
import"./index-c8s9a3zh.js";
|
|
38
38
|
import"./index-9ss2m4rs.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-1qpagg2t.js";
|
|
40
40
|
import"./index-zsrtt42s.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-9yxyc1gb.js";
|
|
42
42
|
import"./index-3f7hqtgg.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
43
|
+
import"./index-6z53bew2.js";
|
|
44
|
+
import"./index-8819vcke.js";
|
|
45
|
+
import"./index-54pkyasv.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
47
|
+
import"./index-zmc8mm7v.js";
|
|
48
|
+
import"./index-ve3v09kq.js";
|
|
49
|
+
import"./index-4k9pqbxw.js";
|
|
50
50
|
import"./index-ddszzne4.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
53
|
-
import"./index-
|
|
51
|
+
import"./index-bz7ayg01.js";
|
|
52
|
+
import"./index-k6y6btb6.js";
|
|
53
|
+
import"./index-0zerbq1v.js";
|
|
54
54
|
import"./index-556ja8an.js";
|
|
55
55
|
import"./index-4fwbbad3.js";
|
|
56
56
|
import"./index-b43rt5ph.js";
|
|
57
57
|
import"./index-q7sjgr1y.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-bea260ta.js";
|
|
59
|
+
import"./index-yw26j0q7.js";
|
|
60
60
|
import {
|
|
61
61
|
resolveWorktreeIsolationConfig
|
|
62
|
-
} from "./index-
|
|
62
|
+
} from "./index-3scbg6n2.js";
|
|
63
63
|
import"./index-gprxjmm7.js";
|
|
64
64
|
import"./index-n832052r.js";
|
|
65
65
|
import"./index-dtn0pne5.js";
|
|
66
66
|
import"./index-z6xqpmqg.js";
|
|
67
67
|
import"./index-r3mvsbtq.js";
|
|
68
|
-
import"./index-
|
|
69
|
-
import"./index-
|
|
68
|
+
import"./index-7yg4ypyg.js";
|
|
69
|
+
import"./index-wae55z9w.js";
|
|
70
70
|
import"./index-9e6fdz2h.js";
|
|
71
71
|
import"./index-4rhhvd1a.js";
|
|
72
72
|
import"./index-yt75r1er.js";
|
|
73
73
|
import"./index-zjygnfay.js";
|
|
74
74
|
import"./index-ae75rja9.js";
|
|
75
|
-
import"./index-
|
|
76
|
-
import"./index-
|
|
75
|
+
import"./index-g6d8xam2.js";
|
|
76
|
+
import"./index-v3jy0tc6.js";
|
|
77
77
|
import"./index-bk5tah7q.js";
|
|
78
|
-
import"./index-
|
|
79
|
-
import"./index-
|
|
78
|
+
import"./index-a5w29k1t.js";
|
|
79
|
+
import"./index-av3gnekk.js";
|
|
80
80
|
import"./index-ed5ykebp.js";
|
|
81
|
-
import"./index-
|
|
81
|
+
import"./index-prknc0xn.js";
|
|
82
82
|
import"./index-7g4c7s5r.js";
|
|
83
83
|
import"./index-bpmtbmy9.js";
|
|
84
84
|
import"./index-zgwm4ryv.js";
|
package/dist/commands/close.d.ts
CHANGED
|
@@ -146,6 +146,7 @@ export interface CloseStageContext {
|
|
|
146
146
|
archiveSuffix: string;
|
|
147
147
|
args: string[];
|
|
148
148
|
}
|
|
149
|
+
declare function archiveCloseSummary(ctx: Pick<CloseStageContext, 'archiveStageFailed' | 'archiveDir' | 'warnings'>, closeSummaryPath: string, summaryWritten: boolean): Promise<void>;
|
|
149
150
|
declare function countSessionKnowledgeEntries(entries: CloseKnowledgeEntry[], sessionStart: string | undefined, fallbackCount: number): number;
|
|
150
151
|
/**
|
|
151
152
|
* Backward-compatible wrapper that returns only the copied count.
|
|
@@ -296,6 +297,7 @@ export declare const _internals: {
|
|
|
296
297
|
runFinalizeRewardSweep: typeof runFinalizeRewardSweep;
|
|
297
298
|
acquireFinalizeLock: typeof acquireFinalizeLock;
|
|
298
299
|
runArchiveStage: typeof runArchiveStage;
|
|
300
|
+
archiveCloseSummary: typeof archiveCloseSummary;
|
|
299
301
|
runArchiveEvidenceRetention: typeof runArchiveEvidenceRetention;
|
|
300
302
|
runCleanStage: typeof runCleanStage;
|
|
301
303
|
runAlignStage: typeof runAlignStage;
|
package/dist/config/loader.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { z } from 'zod';
|
|
2
2
|
import { type PluginConfig } from './schema';
|
|
3
3
|
export declare const MAX_CONFIG_FILE_BYTES = 102400;
|
|
4
|
+
export declare const _internals: {
|
|
5
|
+
resetUnknownTopLevelKeyWarning(): void;
|
|
6
|
+
};
|
|
4
7
|
export { deepMerge, MAX_MERGE_DEPTH } from '../utils/merge';
|
|
5
8
|
/**
|
|
6
9
|
* Flatten a ZodError into a compact, single-line, human-readable summary that
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
2
|
+
* Absolute `$schema` reference written into config files this plugin authors
|
|
3
|
+
* (issue #1663) so editors get validation/autocomplete from the shipped
|
|
4
|
+
* opencode-swarm.schema.json. Version-pinned on purpose: the schema validating
|
|
5
|
+
* a config file should be the one shipped by the plugin version that authored
|
|
6
|
+
* it, and unpkg serves every published version. A relative path is unusable
|
|
7
|
+
* because these config files live in the user's project/home directory,
|
|
8
|
+
* outside the installed package. This is a DIFFERENT convention from the
|
|
9
|
+
* unversioned canonical URL (CONFIG_SCHEMA_CANONICAL_URL in
|
|
10
|
+
* scripts/generate-config-schema.ts) used as the artifact's `$id` and in
|
|
11
|
+
* docs — both resolve to the same file in every published package.
|
|
8
12
|
*/
|
|
9
|
-
export declare
|
|
13
|
+
export declare const CONFIG_SCHEMA_REF: string;
|
|
10
14
|
/**
|
|
11
15
|
* Writes .swarm/config.example.json on first plugin init for a given project.
|
|
12
16
|
* Creates .swarm/ if it does not yet exist. Non-fatal: all errors are silently
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -146,6 +146,16 @@ export declare const ModelPricingConfigSchema: z.ZodObject<{
|
|
|
146
146
|
}, z.core.$strip>;
|
|
147
147
|
export type ModelPricingConfig = z.infer<typeof ModelPricingConfigSchema>;
|
|
148
148
|
export declare const PricingConfigSchema: z.ZodObject<{
|
|
149
|
+
currency: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USD">>>;
|
|
150
|
+
version: z.ZodOptional<z.ZodString>;
|
|
151
|
+
effective_at: z.ZodOptional<z.ZodString>;
|
|
152
|
+
billing_basis: z.ZodOptional<z.ZodEnum<{
|
|
153
|
+
token: "token";
|
|
154
|
+
request: "request";
|
|
155
|
+
subscription: "subscription";
|
|
156
|
+
}>>;
|
|
157
|
+
reported_cost_currency: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLiteral<"USD">>>>;
|
|
158
|
+
subscription_unbilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
149
159
|
models: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
150
160
|
input_per_million: z.ZodNumber;
|
|
151
161
|
output_per_million: z.ZodNumber;
|
|
@@ -1804,6 +1814,7 @@ export declare const PrReviewResilienceConfigSchema: z.ZodObject<{
|
|
|
1804
1814
|
circuit_open_duration_ms: z.ZodDefault<z.ZodNumber>;
|
|
1805
1815
|
}, z.core.$strict>;
|
|
1806
1816
|
export declare const PluginConfigSchema: z.ZodObject<{
|
|
1817
|
+
$schema: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
1807
1818
|
config_format_version: z.ZodDefault<z.ZodNumber>;
|
|
1808
1819
|
agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1809
1820
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -1973,6 +1984,16 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1973
1984
|
tool_output_mask_threshold: z.ZodDefault<z.ZodNumber>;
|
|
1974
1985
|
}, z.core.$strip>>;
|
|
1975
1986
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
1987
|
+
currency: z.ZodDefault<z.ZodOptional<z.ZodLiteral<"USD">>>;
|
|
1988
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1989
|
+
effective_at: z.ZodOptional<z.ZodString>;
|
|
1990
|
+
billing_basis: z.ZodOptional<z.ZodEnum<{
|
|
1991
|
+
token: "token";
|
|
1992
|
+
request: "request";
|
|
1993
|
+
subscription: "subscription";
|
|
1994
|
+
}>>;
|
|
1995
|
+
reported_cost_currency: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodLiteral<"USD">>>>;
|
|
1996
|
+
subscription_unbilled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1976
1997
|
models: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1977
1998
|
input_per_million: z.ZodNumber;
|
|
1978
1999
|
output_per_million: z.ZodNumber;
|
|
@@ -95,12 +95,12 @@ export declare const EvaluationCandidateV1Schema: z.ZodObject<{
|
|
|
95
95
|
}, z.core.$strict>;
|
|
96
96
|
export type EvaluationCandidateV1 = z.infer<typeof EvaluationCandidateV1Schema>;
|
|
97
97
|
export declare const EvaluationOutcomeSchema: z.ZodEnum<{
|
|
98
|
+
malformed: "malformed";
|
|
98
99
|
timeout: "timeout";
|
|
99
100
|
cancelled: "cancelled";
|
|
100
101
|
unsupported: "unsupported";
|
|
101
102
|
scored: "scored";
|
|
102
103
|
infrastructure_failure: "infrastructure_failure";
|
|
103
|
-
malformed: "malformed";
|
|
104
104
|
integrity_failure: "integrity_failure";
|
|
105
105
|
}>;
|
|
106
106
|
export type EvaluationOutcome = z.infer<typeof EvaluationOutcomeSchema>;
|
|
@@ -113,12 +113,12 @@ export declare const EvaluationResultV1Schema: z.ZodObject<{
|
|
|
113
113
|
candidateId: z.ZodString;
|
|
114
114
|
seed: z.ZodString;
|
|
115
115
|
outcome: z.ZodEnum<{
|
|
116
|
+
malformed: "malformed";
|
|
116
117
|
timeout: "timeout";
|
|
117
118
|
cancelled: "cancelled";
|
|
118
119
|
unsupported: "unsupported";
|
|
119
120
|
scored: "scored";
|
|
120
121
|
infrastructure_failure: "infrastructure_failure";
|
|
121
|
-
malformed: "malformed";
|
|
122
122
|
integrity_failure: "integrity_failure";
|
|
123
123
|
}>;
|
|
124
124
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -160,8 +160,8 @@ export declare const EvaluationRunV1Schema: z.ZodObject<{
|
|
|
160
160
|
createdAt: z.ZodISODateTime;
|
|
161
161
|
status: z.ZodEnum<{
|
|
162
162
|
complete: "complete";
|
|
163
|
-
cancelled: "cancelled";
|
|
164
163
|
inconclusive: "inconclusive";
|
|
164
|
+
cancelled: "cancelled";
|
|
165
165
|
}>;
|
|
166
166
|
baseline: z.ZodObject<{
|
|
167
167
|
v: z.ZodLiteral<1>;
|
|
@@ -227,12 +227,12 @@ export declare const EvaluationRunV1Schema: z.ZodObject<{
|
|
|
227
227
|
candidateId: z.ZodString;
|
|
228
228
|
seed: z.ZodString;
|
|
229
229
|
outcome: z.ZodEnum<{
|
|
230
|
+
malformed: "malformed";
|
|
230
231
|
timeout: "timeout";
|
|
231
232
|
cancelled: "cancelled";
|
|
232
233
|
unsupported: "unsupported";
|
|
233
234
|
scored: "scored";
|
|
234
235
|
infrastructure_failure: "infrastructure_failure";
|
|
235
|
-
malformed: "malformed";
|
|
236
236
|
integrity_failure: "integrity_failure";
|
|
237
237
|
}>;
|
|
238
238
|
score: z.ZodOptional<z.ZodNumber>;
|
|
@@ -415,8 +415,8 @@ export declare const GateAuditResultV1Schema: z.ZodObject<{
|
|
|
415
415
|
createdAt: z.ZodISODateTime;
|
|
416
416
|
status: z.ZodEnum<{
|
|
417
417
|
complete: "complete";
|
|
418
|
-
cancelled: "cancelled";
|
|
419
418
|
inconclusive: "inconclusive";
|
|
419
|
+
cancelled: "cancelled";
|
|
420
420
|
}>;
|
|
421
421
|
cells: z.ZodArray<z.ZodObject<{
|
|
422
422
|
v: z.ZodLiteral<1>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { OpencodeClient } from '@opencode-ai/sdk';
|
|
2
2
|
import type { DelegationCostFields } from '../services/cost-accounting.js';
|
|
3
|
+
import { type PricingConfig } from '../services/cost-accounting.js';
|
|
3
4
|
import { log } from '../utils/logger.js';
|
|
4
5
|
import type { ModelOverride } from '../utils/model-dispatch-fallback.js';
|
|
5
6
|
export declare const DEFAULT_EPHEMERAL_TIMEOUT_MS = 120000;
|
|
@@ -44,6 +45,7 @@ export type EphemeralAgentDispatchRequest = {
|
|
|
44
45
|
promptByteLimit?: number;
|
|
45
46
|
responseByteLimit?: number;
|
|
46
47
|
abortSignal?: AbortSignal;
|
|
48
|
+
pricing?: PricingConfig;
|
|
47
49
|
};
|
|
48
50
|
export type EphemeralAgentDispatchResult = {
|
|
49
51
|
status: 'completed' | 'timeout' | 'cancelled' | 'error';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Agent, OpencodeClient } from '@opencode-ai/sdk';
|
|
2
|
-
import type { DelegationCostFields } from '../services/cost-accounting.js';
|
|
2
|
+
import type { DelegationCostFields, PricingConfig } from '../services/cost-accounting.js';
|
|
3
3
|
import { _internals as ephemeralDispatcherInternals } from './ephemeral-agent-dispatcher.js';
|
|
4
4
|
export type EvaluationModelDispatchRequest = {
|
|
5
5
|
/**
|
|
@@ -52,4 +52,4 @@ export declare const _internals: {
|
|
|
52
52
|
boundedDelete: typeof ephemeralDispatcherInternals.boundedDelete;
|
|
53
53
|
log: typeof ephemeralDispatcherInternals.log;
|
|
54
54
|
};
|
|
55
|
-
export declare function createEvaluationModelDispatcher(client: OpencodeClient): EvaluationModelDispatcher;
|
|
55
|
+
export declare function createEvaluationModelDispatcher(client: OpencodeClient, pricing?: PricingConfig): EvaluationModelDispatcher;
|