opencode-swarm 7.159.0 → 7.159.2
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/engineering-conventions/SKILL.md +20 -0
- package/.opencode/skills/execute/SKILL.md +2 -2
- package/dist/cli/{coder-settlement-66mqw0xt.js → coder-settlement-hny3vh3e.js} +9 -9
- package/dist/cli/{config-doctor-nkx61b9e.js → config-doctor-00ex0s3k.js} +2 -2
- package/dist/cli/{core-b3db7gf6.js → core-03tedwzg.js} +1 -1
- package/dist/cli/{curation-policy-vn3m5nq2.js → curation-policy-z0a5akng.js} +6 -6
- package/dist/cli/{curator-llm-factory-c4y1mrr5.js → curator-llm-factory-24bfn7h1.js} +31 -31
- package/dist/cli/{curator-w4ntvkz5.js → curator-n81nzdw8.js} +31 -31
- package/dist/cli/{evidence-summary-service-vadgnzk6.js → evidence-summary-service-nz7y1w2a.js} +13 -13
- package/dist/cli/{gate-evidence-0chatz5e.js → gate-evidence-dxafmzrn.js} +6 -6
- package/dist/cli/guardrail-explain-b3k9xrx9.js +67 -0
- package/dist/cli/{guardrail-log-t3c9g8tc.js → guardrail-log-t8c7acxg.js} +5 -5
- package/dist/cli/{guardrail-reset-wvdb5sv5.js → guardrail-reset-0ft2gf03.js} +31 -31
- package/dist/cli/{hive-promoter-mfq3ee0n.js → hive-promoter-brq9cx7c.js} +31 -31
- package/dist/cli/{index-nwkr6tvv.js → index-0zerbq1v.js} +1 -1
- package/dist/cli/{index-h52hs4e9.js → index-1e9rzhmr.js} +2 -2
- package/dist/cli/{index-b1tenv2s.js → index-1xcve0gc.js} +7 -1
- package/dist/cli/{index-8jnzp5ct.js → index-200myvdx.js} +2 -2
- package/dist/cli/{index-mc9qgkwd.js → index-6sheh3yp.js} +3 -3
- package/dist/cli/{index-k4arrwrz.js → index-7tjamatf.js} +8 -8
- package/dist/cli/{index-vywbn766.js → index-8ahjx7vt.js} +4 -4
- package/dist/cli/{index-pvzaryhr.js → index-8gh97gkz.js} +1 -1
- package/dist/cli/{index-3e8600a7.js → index-9ev0bbqh.js} +883 -252
- package/dist/cli/{index-xagq35tf.js → index-av3gnekk.js} +1 -1
- package/dist/cli/{index-k48kgm6z.js → index-b2dh37cf.js} +5 -5
- package/dist/cli/{index-ynjy98vv.js → index-b5s1n149.js} +5 -5
- package/dist/cli/{index-erdsawqz.js → index-bmst1sje.js} +6 -6
- package/dist/cli/{index-e2s08v0q.js → index-caqjwnak.js} +2 -2
- package/dist/cli/{index-tcbjjppb.js → index-dgt8z19x.js} +1 -1
- package/dist/cli/{index-6e6qxf5q.js → index-e1jcdpdg.js} +1 -1
- package/dist/cli/{index-gprxjmm7.js → index-ebz97mks.js} +3 -1
- package/dist/cli/{index-pfnj5pvs.js → index-egc8d995.js} +1 -1
- package/dist/cli/{index-we3nf5as.js → index-eh1gh043.js} +4 -4
- package/dist/cli/{index-z54qw70y.js → index-jd7mz4yg.js} +1 -1
- package/dist/cli/{index-8kfbdrxa.js → index-k7kvrwbj.js} +33 -33
- package/dist/cli/{index-7s1hmrfh.js → index-ky2r092m.js} +2 -2
- package/dist/cli/{index-xmz69g65.js → index-m0gfzxw1.js} +2 -2
- package/dist/cli/{index-ghjs1n7k.js → index-mcan50mx.js} +4 -4
- package/dist/cli/{index-04yrxg0z.js → index-nmp47dmm.js} +2 -2
- package/dist/cli/{index-9vt2hknx.js → index-p2m1skjz.js} +1 -1
- package/dist/cli/{index-h1g8w4v0.js → index-prknc0xn.js} +129 -44
- package/dist/cli/{index-zcmwwp1x.js → index-q8yma345.js} +2 -2
- package/dist/cli/{index-35grv4jg.js → index-qypnqmcj.js} +7 -7
- package/dist/cli/{index-1sdb57jv.js → index-rq461prn.js} +6 -6
- package/dist/cli/{index-b82tq895.js → index-v7wm4mw8.js} +3 -3
- package/dist/cli/{index-5zgf140g.js → index-vq4d1h7t.js} +1 -1
- package/dist/cli/{index-8fqb0ynp.js → index-w1rhyqw2.js} +1 -1
- package/dist/cli/{index-hte1e31d.js → index-wzc6vzq6.js} +2 -2
- package/dist/cli/{index-fcp41snp.js → index-y55hqgcj.js} +4 -4
- package/dist/cli/index.js +31 -31
- package/dist/cli/{knowledge-escalator-x85t1e66.js → knowledge-escalator-rxagfxnk.js} +12 -12
- package/dist/cli/{knowledge-events-bwx99mxc.js → knowledge-events-ymwdv799.js} +10 -10
- package/dist/cli/{knowledge-link-cj2abbae.js → knowledge-link-n1825n09.js} +5 -5
- package/dist/cli/{knowledge-store-21m81zsa.js → knowledge-store-nxm4xvvq.js} +6 -6
- package/dist/cli/{knowledge-validator-yxcadg1p.js → knowledge-validator-gtmq35k8.js} +8 -8
- package/dist/cli/{pending-delegations-b8qka5nf.js → pending-delegations-zdgazhdf.js} +3 -3
- package/dist/cli/{pr-review-reentry-authorization-wv3ck5kh.js → pr-review-reentry-authorization-jgzb0pma.js} +31 -31
- package/dist/cli/{pr-subscriptions-j9j70bmd.js → pr-subscriptions-pxv24d5k.js} +4 -4
- package/dist/cli/{runner-sj5sf36c.js → runner-fzgkhx6a.js} +6 -6
- package/dist/cli/{scan-cursor-m3w0tapb.js → scan-cursor-fasdj7kj.js} +7 -7
- package/dist/cli/{schema-0b0dqn28.js → schema-3x28z3rp.js} +1 -1
- package/dist/cli/{scope-persistence-199f7yqc.js → scope-persistence-p8dnxfhx.js} +8 -8
- package/dist/cli/{skill-generator-a2ekcbe2.js → skill-generator-6tjyffgd.js} +14 -14
- package/dist/cli/{telemetry-r8e8zey7.js → telemetry-3rh94wv3.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-5qaab3q7.js → worktree-collision-ownership-3bbn1n2r.js} +5 -5
- package/dist/cli/{worktree-isolation-esesc842.js → worktree-isolation-1470tnxc.js} +31 -31
- package/dist/config/evidence-schema.d.ts +51 -0
- package/dist/config/schema.d.ts +20 -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 +191 -191
- 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/sast-baseline.d.ts +120 -3
- package/dist/tools/sast-scan.d.ts +25 -1
- package/opencode-swarm.schema.json +40 -0
- package/package.json +1 -1
- package/dist/cli/guardrail-explain-ax2qmsp4.js +0 -67
|
@@ -7,64 +7,64 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
10
|
+
} from "./index-9ev0bbqh.js";
|
|
11
|
+
import"./index-jd7mz4yg.js";
|
|
12
|
+
import"./index-nmp47dmm.js";
|
|
13
|
+
import"./index-e1jcdpdg.js";
|
|
14
|
+
import"./index-7tjamatf.js";
|
|
15
|
+
import"./index-ky2r092m.js";
|
|
16
16
|
import"./index-txdagbh7.js";
|
|
17
17
|
import"./index-134d35c1.js";
|
|
18
18
|
import"./index-nj6rmyeh.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-y55hqgcj.js";
|
|
20
|
+
import"./index-b2dh37cf.js";
|
|
21
|
+
import"./index-m0gfzxw1.js";
|
|
22
22
|
import"./index-70ha9e09.js";
|
|
23
23
|
import"./index-c8s9a3zh.js";
|
|
24
24
|
import"./index-9ss2m4rs.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-6sheh3yp.js";
|
|
26
26
|
import"./index-zsrtt42s.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-rq461prn.js";
|
|
28
28
|
import"./index-3f7hqtgg.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
29
|
+
import"./index-w1rhyqw2.js";
|
|
30
|
+
import"./index-8ahjx7vt.js";
|
|
31
|
+
import"./index-egc8d995.js";
|
|
32
32
|
import"./index-rtry5xyf.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-eh1gh043.js";
|
|
34
|
+
import"./index-8gh97gkz.js";
|
|
35
|
+
import"./index-caqjwnak.js";
|
|
36
36
|
import"./index-ddszzne4.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
37
|
+
import"./index-b5s1n149.js";
|
|
38
|
+
import"./index-v7wm4mw8.js";
|
|
39
|
+
import"./index-0zerbq1v.js";
|
|
40
40
|
import"./index-556ja8an.js";
|
|
41
41
|
import"./index-4fwbbad3.js";
|
|
42
42
|
import"./index-b43rt5ph.js";
|
|
43
43
|
import"./index-q7sjgr1y.js";
|
|
44
44
|
import {
|
|
45
45
|
resolveHiveKnowledgePath
|
|
46
|
-
} from "./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
46
|
+
} from "./index-bmst1sje.js";
|
|
47
|
+
import"./index-qypnqmcj.js";
|
|
48
|
+
import"./index-wzc6vzq6.js";
|
|
49
|
+
import"./index-ebz97mks.js";
|
|
50
50
|
import"./index-n832052r.js";
|
|
51
51
|
import"./index-dtn0pne5.js";
|
|
52
52
|
import"./index-z6xqpmqg.js";
|
|
53
53
|
import"./index-r3mvsbtq.js";
|
|
54
|
-
import"./index-
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-dgt8z19x.js";
|
|
55
|
+
import"./index-1xcve0gc.js";
|
|
56
56
|
import"./index-9e6fdz2h.js";
|
|
57
57
|
import"./index-4rhhvd1a.js";
|
|
58
58
|
import"./index-yt75r1er.js";
|
|
59
59
|
import"./index-zjygnfay.js";
|
|
60
60
|
import"./index-ae75rja9.js";
|
|
61
|
-
import"./index-
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-vq4d1h7t.js";
|
|
62
|
+
import"./index-1e9rzhmr.js";
|
|
63
63
|
import"./index-bk5tah7q.js";
|
|
64
|
-
import"./index-
|
|
65
|
-
import"./index-
|
|
64
|
+
import"./index-q8yma345.js";
|
|
65
|
+
import"./index-av3gnekk.js";
|
|
66
66
|
import"./index-ed5ykebp.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-prknc0xn.js";
|
|
68
68
|
import"./index-7g4c7s5r.js";
|
|
69
69
|
import"./index-bpmtbmy9.js";
|
|
70
70
|
import"./index-zgwm4ryv.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
atomicWriteFileAnyRoot
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-q8yma345.js";
|
|
5
5
|
import {
|
|
6
6
|
withEvidenceLock
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-av3gnekk.js";
|
|
8
8
|
|
|
9
9
|
// src/evidence/task-file.ts
|
|
10
10
|
import * as path from "path";
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.159.
|
|
24
|
+
version: "7.159.2",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -360,6 +360,12 @@ var init_schema = __esm(() => {
|
|
|
360
360
|
cache_per_million: exports_external.number().min(0).optional()
|
|
361
361
|
});
|
|
362
362
|
PricingConfigSchema = exports_external.object({
|
|
363
|
+
currency: exports_external.literal("USD").optional().default("USD"),
|
|
364
|
+
version: exports_external.string().min(1).max(128).optional(),
|
|
365
|
+
effective_at: exports_external.string().datetime().optional(),
|
|
366
|
+
billing_basis: exports_external.enum(["token", "request", "subscription"]).optional(),
|
|
367
|
+
reported_cost_currency: exports_external.record(exports_external.string().min(1).max(128), exports_external.literal("USD")).optional().default({}),
|
|
368
|
+
subscription_unbilled: exports_external.boolean().optional().default(false),
|
|
363
369
|
models: exports_external.record(exports_external.string().min(1), ModelPricingConfigSchema).optional().default({})
|
|
364
370
|
});
|
|
365
371
|
HooksConfigSchema = exports_external.object({
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
detectWindowsWrites,
|
|
15
15
|
getSharedClassifierGuardrailBlock,
|
|
16
16
|
resolveWriteTargets
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-9ev0bbqh.js";
|
|
18
18
|
import {
|
|
19
19
|
checkFileAuthority,
|
|
20
20
|
classifyFile,
|
|
21
21
|
isInDeclaredScope,
|
|
22
22
|
redactPath,
|
|
23
23
|
redactShellCommand
|
|
24
|
-
} from "./index-
|
|
24
|
+
} from "./index-nmp47dmm.js";
|
|
25
25
|
|
|
26
26
|
// src/services/guardrail-explain-service.ts
|
|
27
27
|
import path from "path";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./index-dtn0pne5.js";
|
|
5
5
|
import {
|
|
6
6
|
atomicWriteSwarmFileSync
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-q8yma345.js";
|
|
8
8
|
import {
|
|
9
9
|
withEvidenceLock
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-av3gnekk.js";
|
|
11
11
|
import {
|
|
12
12
|
telemetry
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-prknc0xn.js";
|
|
14
14
|
import {
|
|
15
15
|
exports_external,
|
|
16
16
|
init_zod
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-ky2r092m.js";
|
|
7
7
|
import {
|
|
8
8
|
loadDatabaseCtor
|
|
9
9
|
} from "./index-134d35c1.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-eh1gh043.js";
|
|
27
27
|
import {
|
|
28
28
|
LedgerStaleWriterError,
|
|
29
29
|
appendLedgerEvent,
|
|
@@ -43,10 +43,10 @@ import {
|
|
|
43
43
|
replayFromLedgerWithStatus,
|
|
44
44
|
takeSnapshotEvent,
|
|
45
45
|
takeSnapshotWithRetry
|
|
46
|
-
} from "./index-
|
|
46
|
+
} from "./index-v7wm4mw8.js";
|
|
47
47
|
import {
|
|
48
48
|
appendCoreEventSync
|
|
49
|
-
} from "./index-
|
|
49
|
+
} from "./index-0zerbq1v.js";
|
|
50
50
|
import {
|
|
51
51
|
init_executor,
|
|
52
52
|
isUntrustedEnvKey,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
EVIDENCE_MAX_JSON_BYTES,
|
|
57
57
|
EvidenceBundleSchema,
|
|
58
58
|
EvidenceSchema
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-ebz97mks.js";
|
|
60
60
|
import {
|
|
61
61
|
estimateCharsForTokens,
|
|
62
62
|
estimateTokens,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
} from "./index-r3mvsbtq.js";
|
|
71
71
|
import {
|
|
72
72
|
PlanSchema
|
|
73
|
-
} from "./index-
|
|
73
|
+
} from "./index-dgt8z19x.js";
|
|
74
74
|
import {
|
|
75
75
|
GIT_BINARY_ENV_VAR,
|
|
76
76
|
describeGitResolution,
|
|
@@ -81,14 +81,14 @@ import {
|
|
|
81
81
|
assertProjectRoot,
|
|
82
82
|
tryAcquireLock,
|
|
83
83
|
withEvidenceLock
|
|
84
|
-
} from "./index-
|
|
84
|
+
} from "./index-av3gnekk.js";
|
|
85
85
|
import {
|
|
86
86
|
invalidateCachedArtifact,
|
|
87
87
|
readCachedParsedFile
|
|
88
88
|
} from "./index-ed5ykebp.js";
|
|
89
89
|
import {
|
|
90
90
|
emit
|
|
91
|
-
} from "./index-
|
|
91
|
+
} from "./index-prknc0xn.js";
|
|
92
92
|
import {
|
|
93
93
|
ZodError,
|
|
94
94
|
init_zod
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-egc8d995.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bmst1sje.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-vq4d1h7t.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-1e9rzhmr.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-p8dnxfhx.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|