opencode-swarm 7.169.0 → 7.170.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.
Files changed (71) hide show
  1. package/README.md +1 -0
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/agents/reviewer-directive-compliance.d.ts +23 -7
  5. package/dist/ci/evaluate.d.ts +100 -0
  6. package/dist/ci/index.d.ts +13 -0
  7. package/dist/ci/quality-checks.d.ts +58 -0
  8. package/dist/ci/report.d.ts +21 -0
  9. package/dist/ci/runtime.d.ts +81 -0
  10. package/dist/cli/{capability-probe-faqefhah.js → capability-probe-pdwwz8gs.js} +1 -1
  11. package/dist/cli/{coder-settlement-fd6ba876.js → coder-settlement-g1n2dk0a.js} +3 -3
  12. package/dist/cli/{config-doctor-zeppqwwx.js → config-doctor-7v7hvdgw.js} +2 -2
  13. package/dist/cli/{core-fj1afc31.js → core-mz3rae1q.js} +1 -1
  14. package/dist/cli/{curator-llm-factory-4t773tmz.js → curator-llm-factory-xaetdtgf.js} +20 -20
  15. package/dist/cli/{curator-emftndv0.js → curator-x28dw2mf.js} +20 -20
  16. package/dist/cli/{evidence-summary-service-51b69jc3.js → evidence-summary-service-kd22mp04.js} +7 -7
  17. package/dist/cli/{gate-evidence-53s161wb.js → gate-evidence-9snb217d.js} +2 -2
  18. package/dist/cli/{guardrail-explain-mhx8gt8q.js → guardrail-explain-11zswj2c.js} +21 -21
  19. package/dist/cli/{guardrail-log-xg6hrdsq.js → guardrail-log-ykwrswvw.js} +3 -3
  20. package/dist/cli/{guardrail-reset-fgv5kt5x.js → guardrail-reset-7affkkeq.js} +20 -20
  21. package/dist/cli/{hive-promoter-41zygtgx.js → hive-promoter-sfzrcn03.js} +20 -20
  22. package/dist/cli/{index-83m0y4cj.js → index-0hjtck07.js} +3 -3
  23. package/dist/cli/{index-q1r1cfww.js → index-76qm2c2y.js} +37 -26
  24. package/dist/cli/{index-8x9keek6.js → index-8b2aqj41.js} +28 -22
  25. package/dist/cli/{index-c7kr7tnk.js → index-987ga2vy.js} +3 -3
  26. package/dist/cli/{index-yj24ny5k.js → index-9z0dc1t5.js} +1 -1
  27. package/dist/cli/{index-dd48vt27.js → index-as43fjha.js} +3 -3
  28. package/dist/cli/{index-exf0j569.js → index-bqscvndc.js} +1 -1
  29. package/dist/cli/{index-3zcds757.js → index-bswpngg6.js} +3372 -2500
  30. package/dist/cli/{index-sb1s03y9.js → index-d6q0g0nd.js} +3 -3
  31. package/dist/cli/{index-2znfa537.js → index-ensg0pt6.js} +1 -1
  32. package/dist/cli/{index-sxcfszbe.js → index-g0qsftdd.js} +1 -1
  33. package/dist/cli/{index-3bfzpzsb.js → index-hp729z5v.js} +1 -1
  34. package/dist/cli/{index-1cbjemgh.js → index-hzav6zra.js} +2 -2
  35. package/dist/cli/{index-ksybszed.js → index-knh5z9gb.js} +1 -1
  36. package/dist/cli/{index-5reh1bjz.js → index-krzb4zkx.js} +1 -1
  37. package/dist/cli/{index-76ng6vmq.js → index-q5q42mf3.js} +4 -4
  38. package/dist/cli/{index-0vgs5r39.js → index-qv1y6f8r.js} +3 -3
  39. package/dist/cli/{index-egkc2bpv.js → index-r1yqx3h9.js} +1 -1
  40. package/dist/cli/{index-e4dxf5cr.js → index-rkc1a0ym.js} +20 -20
  41. package/dist/cli/{index-s96dpjsk.js → index-rp0dpvd2.js} +2 -2
  42. package/dist/cli/{index-zapc8vj4.js → index-rwdfk03c.js} +4 -4
  43. package/dist/cli/{index-wwr67xc0.js → index-tz3jzz2t.js} +1 -1
  44. package/dist/cli/{index-55fkkjec.js → index-v5gsvtvs.js} +5 -5
  45. package/dist/cli/{index-nwv3e3kc.js → index-wc34rqj0.js} +1 -1
  46. package/dist/cli/{index-p6xsgk4r.js → index-z970hmyt.js} +2 -2
  47. package/dist/cli/index.js +25 -20
  48. package/dist/cli/{knowledge-escalator-07s44av0.js → knowledge-escalator-s0y3m4sn.js} +6 -6
  49. package/dist/cli/{knowledge-events-j2n1569p.js → knowledge-events-w7vjypwy.js} +4 -4
  50. package/dist/cli/{knowledge-store-85metj89.js → knowledge-store-bc2v557f.js} +1 -1
  51. package/dist/cli/{knowledge-validator-63k1xzcc.js → knowledge-validator-adaamxzg.js} +2 -2
  52. package/dist/cli/{pending-delegations-dckmjymn.js → pending-delegations-fzjr7p7f.js} +2 -2
  53. package/dist/cli/{pr-subscriptions-pyh73me6.js → pr-subscriptions-tfwf461r.js} +1 -1
  54. package/dist/cli/{pr-workflow-gate-k1r4rjw4.js → pr-workflow-gate-heajnnkw.js} +20 -20
  55. package/dist/cli/{scan-cursor-k6egg4n0.js → scan-cursor-512cqk7t.js} +2 -2
  56. package/dist/cli/{schema-vdrtpggt.js → schema-z9kd66wf.js} +1 -1
  57. package/dist/cli/{scope-persistence-h1mmww19.js → scope-persistence-8cpqcwg7.js} +5 -5
  58. package/dist/cli/{skill-generator-pmn6gmvk.js → skill-generator-1efdbkqh.js} +7 -7
  59. package/dist/cli/{snapshot-coordination-init-rspykgd0.js → snapshot-coordination-init-fsf8h4d3.js} +20 -20
  60. package/dist/cli/{worktree-collision-ownership-x84dzzzc.js → worktree-collision-ownership-zdpeepe4.js} +2 -2
  61. package/dist/cli/{worktree-isolation-nw9pakkx.js → worktree-isolation-zswrjstb.js} +20 -20
  62. package/dist/commands/ci.d.ts +40 -0
  63. package/dist/commands/index.d.ts +1 -0
  64. package/dist/commands/registry.d.ts +8 -0
  65. package/dist/hooks/gate-denial-tracker.d.ts +18 -14
  66. package/dist/hooks/phase-complete-directive-gate.d.ts +13 -0
  67. package/dist/hooks/phase-directives.d.ts +31 -2
  68. package/dist/hooks/reviewer-verdict-parser.d.ts +6 -1
  69. package/dist/index.js +449 -439
  70. package/dist/sandbox/macos/sandbox-exec-executor.d.ts +48 -11
  71. package/package.json +1 -1
@@ -14,7 +14,7 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-sxcfszbe.js";
17
+ } from "./index-g0qsftdd.js";
18
18
  import {
19
19
  validateSwarmPath
20
20
  } from "./index-b3pmzbh1.js";
@@ -489,7 +489,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
489
489
  awaitingMergeByCallID,
490
490
  cleanupStandardWorktreeForCallId,
491
491
  standardWorktreeByCallID
492
- } = await import("./worktree-isolation-nw9pakkx.js");
492
+ } = await import("./worktree-isolation-zswrjstb.js");
493
493
  standardWorktreeByCallID.delete(descriptor.callID);
494
494
  if (hasResidue)
495
495
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -613,7 +613,7 @@ async function recoverCoderSettlement(directory, taskId) {
613
613
  awaitingMergeByCallID,
614
614
  finishStandardWorktreeDispatch,
615
615
  standardWorktreeByCallID
616
- } = await import("./worktree-isolation-nw9pakkx.js");
616
+ } = await import("./worktree-isolation-zswrjstb.js");
617
617
  const descriptor = wal.worktree;
618
618
  const reconstructedDispatch = {
619
619
  callID: descriptor.callID,
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-76ng6vmq.js";
12
+ } from "./index-q5q42mf3.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-9ttqbhvw.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-wwr67xc0.js";
5
+ } from "./index-tz3jzz2t.js";
6
6
  import {
7
7
  validateSwarmPath
8
8
  } from "./index-b3pmzbh1.js";
@@ -14,7 +14,7 @@ import {
14
14
  PluginConfigSchema,
15
15
  init_schema,
16
16
  resolveExternalSkillsConfig
17
- } from "./index-yj24ny5k.js";
17
+ } from "./index-9z0dc1t5.js";
18
18
  import {
19
19
  exports_external,
20
20
  init_zod
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-3zcds757.js";
17
+ } from "./index-bswpngg6.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-5reh1bjz.js";
24
+ } from "./index-krzb4zkx.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -4524,7 +4524,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4524
4524
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4525
4525
  if (candidates.length === 0)
4526
4526
  return 0;
4527
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-fd6ba876.js");
4527
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-g1n2dk0a.js");
4528
4528
  let transferred = 0;
4529
4529
  for (const record of candidates) {
4530
4530
  try {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-yj24ny5k.js";
11
+ } from "./index-9z0dc1t5.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-sxt7fgcw.js";
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
739
739
  const {
740
740
  readAuthoritativeKnowledgeCounterRollups,
741
741
  effectiveRetrievalOutcomes
742
- } = await import("./knowledge-events-j2n1569p.js");
742
+ } = await import("./knowledge-events-w7vjypwy.js");
743
743
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
744
744
  const flagIds = new Set;
745
745
  for (const e of atFloor) {
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
806
806
  });
807
807
  }
808
808
  if (action === "quarantine" && toQuarantine.length > 0) {
809
- const { quarantineEntry } = await import("./knowledge-validator-63k1xzcc.js");
810
- const { KnowledgeConfigSchema } = await import("./schema-vdrtpggt.js");
809
+ const { quarantineEntry } = await import("./knowledge-validator-adaamxzg.js");
810
+ const { KnowledgeConfigSchema } = await import("./schema-z9kd66wf.js");
811
811
  let config;
812
812
  try {
813
- const { loadPluginConfigWithMeta } = await import("./index-dd48vt27.js");
813
+ const { loadPluginConfigWithMeta } = await import("./index-as43fjha.js");
814
814
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
815
815
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
816
816
  } catch {
@@ -26,11 +26,11 @@ import {
26
26
  } from "./index-1xnse449.js";
27
27
  import {
28
28
  loadPluginConfigWithMeta
29
- } from "./index-3bfzpzsb.js";
29
+ } from "./index-hp729z5v.js";
30
30
  import {
31
31
  KnowledgeConfigSchema,
32
32
  init_schema
33
- } from "./index-yj24ny5k.js";
33
+ } from "./index-9z0dc1t5.js";
34
34
  import {
35
35
  init_logger,
36
36
  warn
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2813
2813
  }
2814
2814
  let bumps = 0;
2815
2815
  if (deltas.length > 0) {
2816
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-85metj89.js");
2816
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-bc2v557f.js");
2817
2817
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2818
2818
  }
2819
2819
  return {
@@ -12,7 +12,7 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-yj24ny5k.js";
15
+ } from "./index-9z0dc1t5.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
18
  TOOL_NAME_SET,
@@ -22,45 +22,45 @@ import {
22
22
  resolveFallbackModel,
23
23
  resolvePrimaryAgentNames,
24
24
  stripSwarmPrefix
25
- } from "./index-3zcds757.js";
25
+ } from "./index-bswpngg6.js";
26
26
  import"./index-5400m33a.js";
27
27
  import"./index-7h01bkm6.js";
28
- import"./index-5reh1bjz.js";
28
+ import"./index-krzb4zkx.js";
29
29
  import"./index-cgpwjctj.js";
30
- import"./index-egkc2bpv.js";
31
- import"./index-zapc8vj4.js";
30
+ import"./index-r1yqx3h9.js";
31
+ import"./index-rwdfk03c.js";
32
32
  import"./index-xnpjwc4h.js";
33
33
  import"./index-txdagbh7.js";
34
34
  import"./index-9br68j86.js";
35
35
  import"./index-cw912re7.js";
36
- import"./index-c7kr7tnk.js";
37
- import"./index-55fkkjec.js";
38
- import"./index-nwv3e3kc.js";
36
+ import"./index-987ga2vy.js";
37
+ import"./index-v5gsvtvs.js";
38
+ import"./index-wc34rqj0.js";
39
39
  import {
40
40
  createExplorerAgent
41
41
  } from "./index-fyfbpz4f.js";
42
42
  import"./index-gfbggp8k.js";
43
43
  import"./index-0hgmsyfp.js";
44
44
  import"./index-zsrtt42s.js";
45
- import"./index-sb1s03y9.js";
45
+ import"./index-d6q0g0nd.js";
46
46
  import"./index-fhh02gwx.js";
47
47
  import"./index-nyn01yrz.js";
48
48
  import"./index-b43rt5ph.js";
49
49
  import"./index-q7sjgr1y.js";
50
- import"./index-sxcfszbe.js";
51
- import"./index-wwr67xc0.js";
52
- import"./index-ksybszed.js";
53
- import"./index-0vgs5r39.js";
50
+ import"./index-g0qsftdd.js";
51
+ import"./index-tz3jzz2t.js";
52
+ import"./index-knh5z9gb.js";
53
+ import"./index-qv1y6f8r.js";
54
54
  import"./index-b3pmzbh1.js";
55
55
  import"./index-2s7dvzff.js";
56
- import"./index-2znfa537.js";
56
+ import"./index-ensg0pt6.js";
57
57
  import"./index-bm5xrfnx.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-s96dpjsk.js";
59
+ import"./index-rp0dpvd2.js";
60
60
  import"./index-3qf1vxtb.js";
61
61
  import"./index-n832052r.js";
62
- import"./index-p6xsgk4r.js";
63
- import"./index-83m0y4cj.js";
62
+ import"./index-z970hmyt.js";
63
+ import"./index-0hjtck07.js";
64
64
  import"./index-fgp96k3r.js";
65
65
  import"./index-br3mvbsa.js";
66
66
  import"./index-bernkwgf.js";
@@ -68,7 +68,7 @@ import"./index-dvbf6fpn.js";
68
68
  import"./index-rdm3px0g.js";
69
69
  import"./index-ry16d01s.js";
70
70
  import"./index-5qt9yf5w.js";
71
- import"./index-76ng6vmq.js";
71
+ import"./index-q5q42mf3.js";
72
72
  import"./index-vzm6zre7.js";
73
73
  import"./index-ae75rja9.js";
74
74
  import"./index-9ttqbhvw.js";
@@ -78,15 +78,15 @@ import"./index-nprdr0sm.js";
78
78
  import"./index-nbdmdyke.js";
79
79
  import"./index-1xnse449.js";
80
80
  import"./index-ee6ydtfe.js";
81
- import"./index-3bfzpzsb.js";
81
+ import"./index-hp729z5v.js";
82
82
  import"./index-0mhftbpp.js";
83
83
  import"./index-a1w58b47.js";
84
- import"./index-yj24ny5k.js";
84
+ import"./index-9z0dc1t5.js";
85
85
  import"./index-sxt7fgcw.js";
86
86
  import"./index-bk5tah7q.js";
87
87
  import"./index-bpmtbmy9.js";
88
88
  import"./index-zpsr8rpc.js";
89
- import"./index-q1r1cfww.js";
89
+ import"./index-76qm2c2y.js";
90
90
  import"./index-yzjaj53h.js";
91
91
  import"./index-zgwm4ryv.js";
92
92
  import"./index-a76rekgs.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-3bfzpzsb.js";
5
+ } from "./index-hp729z5v.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-yj24ny5k.js";
8
+ } from "./index-9z0dc1t5.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-sxcfszbe.js";
26
+ } from "./index-g0qsftdd.js";
27
27
  import {
28
28
  estimateCharsForTokens,
29
29
  estimateTokens,
@@ -58,7 +58,7 @@ import {
58
58
  replayFromLedgerWithStatus,
59
59
  takeSnapshotEvent,
60
60
  takeSnapshotWithRetry
61
- } from "./index-83m0y4cj.js";
61
+ } from "./index-0hjtck07.js";
62
62
  import {
63
63
  appendCoreEventSync
64
64
  } from "./index-fgp96k3r.js";
@@ -94,7 +94,7 @@ import {
94
94
  } from "./index-1xnse449.js";
95
95
  import {
96
96
  PlanSchema
97
- } from "./index-3bfzpzsb.js";
97
+ } from "./index-hp729z5v.js";
98
98
  import {
99
99
  GIT_BINARY_ENV_VAR,
100
100
  describeGitResolution,
@@ -109,7 +109,7 @@ import {
109
109
  init_executor,
110
110
  isUntrustedEnvKey,
111
111
  isValidEnvKey
112
- } from "./index-q1r1cfww.js";
112
+ } from "./index-76qm2c2y.js";
113
113
  import {
114
114
  criticalWarn,
115
115
  error,
@@ -244,7 +244,7 @@ var _internals2 = {
244
244
  symlinkSync: fs2.symlinkSync
245
245
  },
246
246
  writeScopeToDisk: async (directory, taskId, files) => {
247
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-h1mmww19.js");
247
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-8cpqcwg7.js");
248
248
  return realWrite(directory, taskId, files);
249
249
  },
250
250
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-0vgs5r39.js";
6
+ } from "./index-qv1y6f8r.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-76ng6vmq.js";
14
+ } from "./index-q5q42mf3.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-63k1xzcc.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-adaamxzg.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-vdrtpggt.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-dd48vt27.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-z9kd66wf.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-as43fjha.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-76ng6vmq.js";
5
+ } from "./index-q5q42mf3.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-9ttqbhvw.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  computePlanStructureHash
4
- } from "./index-83m0y4cj.js";
4
+ } from "./index-0hjtck07.js";
5
5
  import {
6
6
  appendCoreEventSync
7
7
  } from "./index-fgp96k3r.js";
@@ -33,7 +33,7 @@ import {
33
33
  } from "./index-nbdmdyke.js";
34
34
  import {
35
35
  PlanSchema
36
- } from "./index-3bfzpzsb.js";
36
+ } from "./index-hp729z5v.js";
37
37
  import {
38
38
  init_path_identity,
39
39
  unsafePathTextReason
package/dist/cli/index.js CHANGED
@@ -13,43 +13,43 @@ import {
13
13
  readCachePackageVersion,
14
14
  resolveCommand,
15
15
  safeRealpathSync
16
- } from "./index-3zcds757.js";
16
+ } from "./index-bswpngg6.js";
17
17
  import"./index-5400m33a.js";
18
18
  import"./index-7h01bkm6.js";
19
- import"./index-5reh1bjz.js";
19
+ import"./index-krzb4zkx.js";
20
20
  import"./index-cgpwjctj.js";
21
- import"./index-egkc2bpv.js";
22
- import"./index-zapc8vj4.js";
21
+ import"./index-r1yqx3h9.js";
22
+ import"./index-rwdfk03c.js";
23
23
  import"./index-xnpjwc4h.js";
24
24
  import"./index-txdagbh7.js";
25
25
  import"./index-9br68j86.js";
26
26
  import"./index-cw912re7.js";
27
- import"./index-c7kr7tnk.js";
28
- import"./index-55fkkjec.js";
29
- import"./index-nwv3e3kc.js";
27
+ import"./index-987ga2vy.js";
28
+ import"./index-v5gsvtvs.js";
29
+ import"./index-wc34rqj0.js";
30
30
  import"./index-fyfbpz4f.js";
31
31
  import"./index-gfbggp8k.js";
32
32
  import"./index-0hgmsyfp.js";
33
33
  import"./index-zsrtt42s.js";
34
- import"./index-sb1s03y9.js";
34
+ import"./index-d6q0g0nd.js";
35
35
  import"./index-fhh02gwx.js";
36
36
  import"./index-nyn01yrz.js";
37
37
  import"./index-b43rt5ph.js";
38
38
  import"./index-q7sjgr1y.js";
39
- import"./index-sxcfszbe.js";
40
- import"./index-wwr67xc0.js";
41
- import"./index-ksybszed.js";
42
- import"./index-0vgs5r39.js";
39
+ import"./index-g0qsftdd.js";
40
+ import"./index-tz3jzz2t.js";
41
+ import"./index-knh5z9gb.js";
42
+ import"./index-qv1y6f8r.js";
43
43
  import"./index-b3pmzbh1.js";
44
44
  import"./index-2s7dvzff.js";
45
- import"./index-2znfa537.js";
45
+ import"./index-ensg0pt6.js";
46
46
  import"./index-bm5xrfnx.js";
47
47
  import"./index-rtry5xyf.js";
48
- import"./index-s96dpjsk.js";
48
+ import"./index-rp0dpvd2.js";
49
49
  import"./index-3qf1vxtb.js";
50
50
  import"./index-n832052r.js";
51
- import"./index-p6xsgk4r.js";
52
- import"./index-83m0y4cj.js";
51
+ import"./index-z970hmyt.js";
52
+ import"./index-0hjtck07.js";
53
53
  import"./index-fgp96k3r.js";
54
54
  import"./index-br3mvbsa.js";
55
55
  import"./index-bernkwgf.js";
@@ -57,7 +57,7 @@ import"./index-dvbf6fpn.js";
57
57
  import"./index-rdm3px0g.js";
58
58
  import"./index-ry16d01s.js";
59
59
  import"./index-5qt9yf5w.js";
60
- import"./index-76ng6vmq.js";
60
+ import"./index-q5q42mf3.js";
61
61
  import"./index-vzm6zre7.js";
62
62
  import"./index-ae75rja9.js";
63
63
  import"./index-9ttqbhvw.js";
@@ -67,13 +67,13 @@ import"./index-nprdr0sm.js";
67
67
  import"./index-nbdmdyke.js";
68
68
  import"./index-1xnse449.js";
69
69
  import"./index-ee6ydtfe.js";
70
- import"./index-3bfzpzsb.js";
70
+ import"./index-hp729z5v.js";
71
71
  import"./index-0mhftbpp.js";
72
72
  import"./index-a1w58b47.js";
73
73
  import {
74
74
  init_package,
75
75
  package_default
76
- } from "./index-yj24ny5k.js";
76
+ } from "./index-9z0dc1t5.js";
77
77
  import {
78
78
  DEFAULT_AGENT_CONFIGS,
79
79
  init_constants
@@ -81,7 +81,7 @@ import {
81
81
  import"./index-bk5tah7q.js";
82
82
  import"./index-bpmtbmy9.js";
83
83
  import"./index-zpsr8rpc.js";
84
- import"./index-q1r1cfww.js";
84
+ import"./index-76qm2c2y.js";
85
85
  import"./index-yzjaj53h.js";
86
86
  import"./index-zgwm4ryv.js";
87
87
  import"./index-a76rekgs.js";
@@ -560,6 +560,7 @@ Commands:
560
560
  update Refresh OpenCode's plugin cache so the next start fetches latest from npm
561
561
  uninstall Remove the plugin from OpenCode config
562
562
  run Run a plugin command directly (for use outside OpenCode)
563
+ ci Advisory headless CI: evaluate gate/evidence state read-only (exit 0 only if all gates pass)
563
564
 
564
565
  Options:
565
566
  --clean Also remove config files and custom prompts (with uninstall)
@@ -586,6 +587,7 @@ Examples:
586
587
  bunx opencode-swarm uninstall
587
588
  bunx opencode-swarm uninstall --clean
588
589
  bunx opencode-swarm --help
590
+ bunx opencode-swarm ci # advisory headless CI (exit 0 = all gates pass)
589
591
  bunx opencode-swarm run status
590
592
  bunx opencode-swarm run sync-plan
591
593
  bunx opencode-swarm run knowledge migrate
@@ -617,6 +619,9 @@ async function main() {
617
619
  } else if (command === "run") {
618
620
  const exitCode = await run(args.slice(1));
619
621
  process.exit(exitCode);
622
+ } else if (command === "ci") {
623
+ const exitCode = await run(["ci", ...args.slice(1)]);
624
+ process.exit(exitCode);
620
625
  } else {
621
626
  console.error(`Unknown command: ${command}`);
622
627
  console.error("Run with --help for usage information");
@@ -9,15 +9,15 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-55fkkjec.js";
13
- import"./index-0vgs5r39.js";
12
+ } from "./index-v5gsvtvs.js";
13
+ import"./index-qv1y6f8r.js";
14
14
  import"./index-b3pmzbh1.js";
15
15
  import"./index-2s7dvzff.js";
16
- import"./index-s96dpjsk.js";
16
+ import"./index-rp0dpvd2.js";
17
17
  import"./index-3qf1vxtb.js";
18
18
  import"./index-n832052r.js";
19
19
  import"./index-5qt9yf5w.js";
20
- import"./index-76ng6vmq.js";
20
+ import"./index-q5q42mf3.js";
21
21
  import"./index-vzm6zre7.js";
22
22
  import"./index-ae75rja9.js";
23
23
  import"./index-9ttqbhvw.js";
@@ -27,10 +27,10 @@ import"./index-nprdr0sm.js";
27
27
  import"./index-nbdmdyke.js";
28
28
  import"./index-1xnse449.js";
29
29
  import"./index-ee6ydtfe.js";
30
- import"./index-3bfzpzsb.js";
30
+ import"./index-hp729z5v.js";
31
31
  import"./index-0mhftbpp.js";
32
32
  import"./index-a1w58b47.js";
33
- import"./index-yj24ny5k.js";
33
+ import"./index-9z0dc1t5.js";
34
34
  import"./index-sxt7fgcw.js";
35
35
  import"./index-bk5tah7q.js";
36
36
  import"./index-bpmtbmy9.js";
@@ -29,10 +29,10 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-0vgs5r39.js";
32
+ } from "./index-qv1y6f8r.js";
33
33
  import"./index-b3pmzbh1.js";
34
34
  import"./index-2s7dvzff.js";
35
- import"./index-s96dpjsk.js";
35
+ import"./index-rp0dpvd2.js";
36
36
  import"./index-3qf1vxtb.js";
37
37
  import"./index-n832052r.js";
38
38
  import"./index-5qt9yf5w.js";
@@ -44,10 +44,10 @@ import"./index-nprdr0sm.js";
44
44
  import"./index-nbdmdyke.js";
45
45
  import"./index-1xnse449.js";
46
46
  import"./index-ee6ydtfe.js";
47
- import"./index-3bfzpzsb.js";
47
+ import"./index-hp729z5v.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
- import"./index-yj24ny5k.js";
50
+ import"./index-9z0dc1t5.js";
51
51
  import"./index-sxt7fgcw.js";
52
52
  import"./index-bk5tah7q.js";
53
53
  import"./index-bpmtbmy9.js";
@@ -43,7 +43,7 @@ import {
43
43
  transactKnowledge,
44
44
  transactKnowledgeWithCas,
45
45
  wordBigrams
46
- } from "./index-76ng6vmq.js";
46
+ } from "./index-q5q42mf3.js";
47
47
  import"./index-vzm6zre7.js";
48
48
  import {
49
49
  resolveHiveDataDir
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-2znfa537.js";
26
+ } from "./index-ensg0pt6.js";
27
27
  import"./index-bm5xrfnx.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-76ng6vmq.js";
29
+ import"./index-q5q42mf3.js";
30
30
  import"./index-vzm6zre7.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-9ttqbhvw.js";
@@ -67,7 +67,7 @@ import {
67
67
  sweepStaleDelegations,
68
68
  updateCoderSettlement,
69
69
  writeDelegationFallback
70
- } from "./index-ksybszed.js";
70
+ } from "./index-knh5z9gb.js";
71
71
  import"./index-b3pmzbh1.js";
72
72
  import"./index-2s7dvzff.js";
73
73
  import"./index-br3mvbsa.js";
@@ -76,7 +76,7 @@ import"./index-dvbf6fpn.js";
76
76
  import"./index-rdm3px0g.js";
77
77
  import"./index-ry16d01s.js";
78
78
  import"./index-5qt9yf5w.js";
79
- import"./index-76ng6vmq.js";
79
+ import"./index-q5q42mf3.js";
80
80
  import"./index-vzm6zre7.js";
81
81
  import"./index-ae75rja9.js";
82
82
  import"./index-9ttqbhvw.js";
@@ -28,7 +28,7 @@ import"./index-dvbf6fpn.js";
28
28
  import"./index-rdm3px0g.js";
29
29
  import"./index-ry16d01s.js";
30
30
  import"./index-5qt9yf5w.js";
31
- import"./index-76ng6vmq.js";
31
+ import"./index-q5q42mf3.js";
32
32
  import"./index-vzm6zre7.js";
33
33
  import"./index-ae75rja9.js";
34
34
  import"./index-9ttqbhvw.js";