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.
Files changed (83) hide show
  1. package/.opencode/skills/engineering-conventions/SKILL.md +20 -0
  2. package/.opencode/skills/execute/SKILL.md +2 -2
  3. package/dist/cli/{coder-settlement-66mqw0xt.js → coder-settlement-hny3vh3e.js} +9 -9
  4. package/dist/cli/{config-doctor-nkx61b9e.js → config-doctor-00ex0s3k.js} +2 -2
  5. package/dist/cli/{core-b3db7gf6.js → core-03tedwzg.js} +1 -1
  6. package/dist/cli/{curation-policy-vn3m5nq2.js → curation-policy-z0a5akng.js} +6 -6
  7. package/dist/cli/{curator-llm-factory-c4y1mrr5.js → curator-llm-factory-24bfn7h1.js} +31 -31
  8. package/dist/cli/{curator-w4ntvkz5.js → curator-n81nzdw8.js} +31 -31
  9. package/dist/cli/{evidence-summary-service-vadgnzk6.js → evidence-summary-service-nz7y1w2a.js} +13 -13
  10. package/dist/cli/{gate-evidence-0chatz5e.js → gate-evidence-dxafmzrn.js} +6 -6
  11. package/dist/cli/guardrail-explain-b3k9xrx9.js +67 -0
  12. package/dist/cli/{guardrail-log-t3c9g8tc.js → guardrail-log-t8c7acxg.js} +5 -5
  13. package/dist/cli/{guardrail-reset-wvdb5sv5.js → guardrail-reset-0ft2gf03.js} +31 -31
  14. package/dist/cli/{hive-promoter-mfq3ee0n.js → hive-promoter-brq9cx7c.js} +31 -31
  15. package/dist/cli/{index-nwkr6tvv.js → index-0zerbq1v.js} +1 -1
  16. package/dist/cli/{index-h52hs4e9.js → index-1e9rzhmr.js} +2 -2
  17. package/dist/cli/{index-b1tenv2s.js → index-1xcve0gc.js} +7 -1
  18. package/dist/cli/{index-8jnzp5ct.js → index-200myvdx.js} +2 -2
  19. package/dist/cli/{index-mc9qgkwd.js → index-6sheh3yp.js} +3 -3
  20. package/dist/cli/{index-k4arrwrz.js → index-7tjamatf.js} +8 -8
  21. package/dist/cli/{index-vywbn766.js → index-8ahjx7vt.js} +4 -4
  22. package/dist/cli/{index-pvzaryhr.js → index-8gh97gkz.js} +1 -1
  23. package/dist/cli/{index-3e8600a7.js → index-9ev0bbqh.js} +883 -252
  24. package/dist/cli/{index-xagq35tf.js → index-av3gnekk.js} +1 -1
  25. package/dist/cli/{index-k48kgm6z.js → index-b2dh37cf.js} +5 -5
  26. package/dist/cli/{index-ynjy98vv.js → index-b5s1n149.js} +5 -5
  27. package/dist/cli/{index-erdsawqz.js → index-bmst1sje.js} +6 -6
  28. package/dist/cli/{index-e2s08v0q.js → index-caqjwnak.js} +2 -2
  29. package/dist/cli/{index-tcbjjppb.js → index-dgt8z19x.js} +1 -1
  30. package/dist/cli/{index-6e6qxf5q.js → index-e1jcdpdg.js} +1 -1
  31. package/dist/cli/{index-gprxjmm7.js → index-ebz97mks.js} +3 -1
  32. package/dist/cli/{index-pfnj5pvs.js → index-egc8d995.js} +1 -1
  33. package/dist/cli/{index-we3nf5as.js → index-eh1gh043.js} +4 -4
  34. package/dist/cli/{index-z54qw70y.js → index-jd7mz4yg.js} +1 -1
  35. package/dist/cli/{index-8kfbdrxa.js → index-k7kvrwbj.js} +33 -33
  36. package/dist/cli/{index-7s1hmrfh.js → index-ky2r092m.js} +2 -2
  37. package/dist/cli/{index-xmz69g65.js → index-m0gfzxw1.js} +2 -2
  38. package/dist/cli/{index-ghjs1n7k.js → index-mcan50mx.js} +4 -4
  39. package/dist/cli/{index-04yrxg0z.js → index-nmp47dmm.js} +2 -2
  40. package/dist/cli/{index-9vt2hknx.js → index-p2m1skjz.js} +1 -1
  41. package/dist/cli/{index-h1g8w4v0.js → index-prknc0xn.js} +129 -44
  42. package/dist/cli/{index-zcmwwp1x.js → index-q8yma345.js} +2 -2
  43. package/dist/cli/{index-35grv4jg.js → index-qypnqmcj.js} +7 -7
  44. package/dist/cli/{index-1sdb57jv.js → index-rq461prn.js} +6 -6
  45. package/dist/cli/{index-b82tq895.js → index-v7wm4mw8.js} +3 -3
  46. package/dist/cli/{index-5zgf140g.js → index-vq4d1h7t.js} +1 -1
  47. package/dist/cli/{index-8fqb0ynp.js → index-w1rhyqw2.js} +1 -1
  48. package/dist/cli/{index-hte1e31d.js → index-wzc6vzq6.js} +2 -2
  49. package/dist/cli/{index-fcp41snp.js → index-y55hqgcj.js} +4 -4
  50. package/dist/cli/index.js +31 -31
  51. package/dist/cli/{knowledge-escalator-x85t1e66.js → knowledge-escalator-rxagfxnk.js} +12 -12
  52. package/dist/cli/{knowledge-events-bwx99mxc.js → knowledge-events-ymwdv799.js} +10 -10
  53. package/dist/cli/{knowledge-link-cj2abbae.js → knowledge-link-n1825n09.js} +5 -5
  54. package/dist/cli/{knowledge-store-21m81zsa.js → knowledge-store-nxm4xvvq.js} +6 -6
  55. package/dist/cli/{knowledge-validator-yxcadg1p.js → knowledge-validator-gtmq35k8.js} +8 -8
  56. package/dist/cli/{pending-delegations-b8qka5nf.js → pending-delegations-zdgazhdf.js} +3 -3
  57. package/dist/cli/{pr-review-reentry-authorization-wv3ck5kh.js → pr-review-reentry-authorization-jgzb0pma.js} +31 -31
  58. package/dist/cli/{pr-subscriptions-j9j70bmd.js → pr-subscriptions-pxv24d5k.js} +4 -4
  59. package/dist/cli/{runner-sj5sf36c.js → runner-fzgkhx6a.js} +6 -6
  60. package/dist/cli/{scan-cursor-m3w0tapb.js → scan-cursor-fasdj7kj.js} +7 -7
  61. package/dist/cli/{schema-0b0dqn28.js → schema-3x28z3rp.js} +1 -1
  62. package/dist/cli/{scope-persistence-199f7yqc.js → scope-persistence-p8dnxfhx.js} +8 -8
  63. package/dist/cli/{skill-generator-a2ekcbe2.js → skill-generator-6tjyffgd.js} +14 -14
  64. package/dist/cli/{telemetry-r8e8zey7.js → telemetry-3rh94wv3.js} +1 -1
  65. package/dist/cli/{worktree-collision-ownership-5qaab3q7.js → worktree-collision-ownership-3bbn1n2r.js} +5 -5
  66. package/dist/cli/{worktree-isolation-esesc842.js → worktree-isolation-1470tnxc.js} +31 -31
  67. package/dist/config/evidence-schema.d.ts +51 -0
  68. package/dist/config/schema.d.ts +20 -0
  69. package/dist/evaluation/contracts.d.ts +5 -5
  70. package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +2 -0
  71. package/dist/evaluation/model-dispatcher.d.ts +2 -2
  72. package/dist/index.js +191 -191
  73. package/dist/observability/catalog.d.ts +5 -3
  74. package/dist/review/contracts.d.ts +2 -1
  75. package/dist/review/evidence.d.ts +12 -0
  76. package/dist/services/cost-accounting.d.ts +100 -0
  77. package/dist/services/status-service.d.ts +12 -0
  78. package/dist/telemetry.d.ts +1 -1
  79. package/dist/tools/sast-baseline.d.ts +120 -3
  80. package/dist/tools/sast-scan.d.ts +25 -1
  81. package/opencode-swarm.schema.json +40 -0
  82. package/package.json +1 -1
  83. 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-3e8600a7.js";
11
- import"./index-z54qw70y.js";
12
- import"./index-04yrxg0z.js";
13
- import"./index-6e6qxf5q.js";
14
- import"./index-k4arrwrz.js";
15
- import"./index-7s1hmrfh.js";
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-fcp41snp.js";
20
- import"./index-k48kgm6z.js";
21
- import"./index-xmz69g65.js";
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-mc9qgkwd.js";
25
+ import"./index-6sheh3yp.js";
26
26
  import"./index-zsrtt42s.js";
27
- import"./index-1sdb57jv.js";
27
+ import"./index-rq461prn.js";
28
28
  import"./index-3f7hqtgg.js";
29
- import"./index-8fqb0ynp.js";
30
- import"./index-vywbn766.js";
31
- import"./index-pfnj5pvs.js";
29
+ import"./index-w1rhyqw2.js";
30
+ import"./index-8ahjx7vt.js";
31
+ import"./index-egc8d995.js";
32
32
  import"./index-rtry5xyf.js";
33
- import"./index-we3nf5as.js";
34
- import"./index-pvzaryhr.js";
35
- import"./index-e2s08v0q.js";
33
+ import"./index-eh1gh043.js";
34
+ import"./index-8gh97gkz.js";
35
+ import"./index-caqjwnak.js";
36
36
  import"./index-ddszzne4.js";
37
- import"./index-ynjy98vv.js";
38
- import"./index-b82tq895.js";
39
- import"./index-nwkr6tvv.js";
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-erdsawqz.js";
47
- import"./index-35grv4jg.js";
48
- import"./index-hte1e31d.js";
49
- import"./index-gprxjmm7.js";
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-tcbjjppb.js";
55
- import"./index-b1tenv2s.js";
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-5zgf140g.js";
62
- import"./index-h52hs4e9.js";
61
+ import"./index-vq4d1h7t.js";
62
+ import"./index-1e9rzhmr.js";
63
63
  import"./index-bk5tah7q.js";
64
- import"./index-zcmwwp1x.js";
65
- import"./index-xagq35tf.js";
64
+ import"./index-q8yma345.js";
65
+ import"./index-av3gnekk.js";
66
66
  import"./index-ed5ykebp.js";
67
- import"./index-h1g8w4v0.js";
67
+ import"./index-prknc0xn.js";
68
68
  import"./index-7g4c7s5r.js";
69
69
  import"./index-bpmtbmy9.js";
70
70
  import"./index-zgwm4ryv.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  telemetry
4
- } from "./index-h1g8w4v0.js";
4
+ } from "./index-prknc0xn.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFileAnyRoot
4
- } from "./index-zcmwwp1x.js";
4
+ } from "./index-q8yma345.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-xagq35tf.js";
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.0",
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-3e8600a7.js";
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-04yrxg0z.js";
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-zcmwwp1x.js";
7
+ } from "./index-q8yma345.js";
8
8
  import {
9
9
  withEvidenceLock
10
- } from "./index-xagq35tf.js";
10
+ } from "./index-av3gnekk.js";
11
11
  import {
12
12
  telemetry
13
- } from "./index-h1g8w4v0.js";
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-7s1hmrfh.js";
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-we3nf5as.js";
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-b82tq895.js";
46
+ } from "./index-v7wm4mw8.js";
47
47
  import {
48
48
  appendCoreEventSync
49
- } from "./index-nwkr6tvv.js";
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-gprxjmm7.js";
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-tcbjjppb.js";
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-xagq35tf.js";
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-h1g8w4v0.js";
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-pfnj5pvs.js";
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-erdsawqz.js";
12
+ } from "./index-bmst1sje.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-5zgf140g.js";
15
+ } from "./index-vq4d1h7t.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-h52hs4e9.js";
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-199f7yqc.js");
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) => {