opencode-swarm 7.169.0 → 7.170.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.
Files changed (67) 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/ci/evaluate.d.ts +100 -0
  5. package/dist/ci/index.d.ts +13 -0
  6. package/dist/ci/quality-checks.d.ts +58 -0
  7. package/dist/ci/report.d.ts +21 -0
  8. package/dist/ci/runtime.d.ts +81 -0
  9. package/dist/cli/{capability-probe-faqefhah.js → capability-probe-pdwwz8gs.js} +1 -1
  10. package/dist/cli/{coder-settlement-fd6ba876.js → coder-settlement-65zx1bet.js} +3 -3
  11. package/dist/cli/{config-doctor-zeppqwwx.js → config-doctor-c30rss1c.js} +2 -2
  12. package/dist/cli/{core-fj1afc31.js → core-8wkbr1tr.js} +1 -1
  13. package/dist/cli/{curator-llm-factory-4t773tmz.js → curator-llm-factory-jkjqasfs.js} +20 -20
  14. package/dist/cli/{curator-emftndv0.js → curator-pckzk1q4.js} +20 -20
  15. package/dist/cli/{evidence-summary-service-51b69jc3.js → evidence-summary-service-4ydcapke.js} +7 -7
  16. package/dist/cli/{gate-evidence-53s161wb.js → gate-evidence-xwqfky3m.js} +2 -2
  17. package/dist/cli/{guardrail-explain-mhx8gt8q.js → guardrail-explain-fe2veh2s.js} +21 -21
  18. package/dist/cli/{guardrail-log-xg6hrdsq.js → guardrail-log-z38j69bx.js} +3 -3
  19. package/dist/cli/{guardrail-reset-fgv5kt5x.js → guardrail-reset-mmnzt4mz.js} +20 -20
  20. package/dist/cli/{hive-promoter-41zygtgx.js → hive-promoter-68hrw1y1.js} +20 -20
  21. package/dist/cli/{index-sxcfszbe.js → index-06rbdzqn.js} +1 -1
  22. package/dist/cli/{index-ksybszed.js → index-0xprxg95.js} +1 -1
  23. package/dist/cli/{index-2znfa537.js → index-31sqcdsd.js} +1 -1
  24. package/dist/cli/{index-p6xsgk4r.js → index-3axdtaf0.js} +2 -2
  25. package/dist/cli/{index-nwv3e3kc.js → index-3eh2n3dx.js} +1 -1
  26. package/dist/cli/{index-zapc8vj4.js → index-3p3y55xg.js} +4 -4
  27. package/dist/cli/{index-yj24ny5k.js → index-4wc5gfgm.js} +1 -1
  28. package/dist/cli/{index-wwr67xc0.js → index-59fcfpkh.js} +1 -1
  29. package/dist/cli/{index-sb1s03y9.js → index-5bbem0ey.js} +3 -3
  30. package/dist/cli/{index-q1r1cfww.js → index-76qm2c2y.js} +37 -26
  31. package/dist/cli/{index-0vgs5r39.js → index-8w1mrvbd.js} +3 -3
  32. package/dist/cli/{index-c7kr7tnk.js → index-9xk97bcf.js} +3 -3
  33. package/dist/cli/{index-3zcds757.js → index-j144fgk8.js} +3370 -2498
  34. package/dist/cli/{index-s96dpjsk.js → index-mjn6aqqk.js} +2 -2
  35. package/dist/cli/{index-1cbjemgh.js → index-n0d5hrs4.js} +2 -2
  36. package/dist/cli/{index-dd48vt27.js → index-p6fj7qz7.js} +3 -3
  37. package/dist/cli/{index-83m0y4cj.js → index-pw00xcj0.js} +3 -3
  38. package/dist/cli/{index-55fkkjec.js → index-r1z8nrb6.js} +5 -5
  39. package/dist/cli/{index-76ng6vmq.js → index-ssx8087p.js} +4 -4
  40. package/dist/cli/{index-exf0j569.js → index-t73888m0.js} +1 -1
  41. package/dist/cli/{index-3bfzpzsb.js → index-td6xrw55.js} +1 -1
  42. package/dist/cli/{index-8x9keek6.js → index-xztkjj3c.js} +28 -22
  43. package/dist/cli/{index-egkc2bpv.js → index-ye43mdfm.js} +1 -1
  44. package/dist/cli/{index-e4dxf5cr.js → index-z5vas8c3.js} +20 -20
  45. package/dist/cli/{index-5reh1bjz.js → index-zw3hkzch.js} +1 -1
  46. package/dist/cli/index.js +25 -20
  47. package/dist/cli/{knowledge-escalator-07s44av0.js → knowledge-escalator-pz2faktx.js} +6 -6
  48. package/dist/cli/{knowledge-events-j2n1569p.js → knowledge-events-s6s8qedx.js} +4 -4
  49. package/dist/cli/{knowledge-store-85metj89.js → knowledge-store-dgv3xw3h.js} +1 -1
  50. package/dist/cli/{knowledge-validator-63k1xzcc.js → knowledge-validator-22qppdyv.js} +2 -2
  51. package/dist/cli/{pending-delegations-dckmjymn.js → pending-delegations-4r21nf9d.js} +2 -2
  52. package/dist/cli/{pr-subscriptions-pyh73me6.js → pr-subscriptions-d52xy3zd.js} +1 -1
  53. package/dist/cli/{pr-workflow-gate-k1r4rjw4.js → pr-workflow-gate-0de81kzw.js} +20 -20
  54. package/dist/cli/{scan-cursor-k6egg4n0.js → scan-cursor-ahbbejab.js} +2 -2
  55. package/dist/cli/{schema-vdrtpggt.js → schema-17h2hcw9.js} +1 -1
  56. package/dist/cli/{scope-persistence-h1mmww19.js → scope-persistence-gcn3zm5e.js} +5 -5
  57. package/dist/cli/{skill-generator-pmn6gmvk.js → skill-generator-hkqr5qs7.js} +7 -7
  58. package/dist/cli/{snapshot-coordination-init-rspykgd0.js → snapshot-coordination-init-ms36zxv6.js} +20 -20
  59. package/dist/cli/{worktree-collision-ownership-x84dzzzc.js → worktree-collision-ownership-7v7gg511.js} +2 -2
  60. package/dist/cli/{worktree-isolation-nw9pakkx.js → worktree-isolation-nanamt25.js} +20 -20
  61. package/dist/commands/ci.d.ts +40 -0
  62. package/dist/commands/index.d.ts +1 -0
  63. package/dist/commands/registry.d.ts +8 -0
  64. package/dist/hooks/gate-denial-tracker.d.ts +18 -14
  65. package/dist/index.js +436 -434
  66. package/dist/sandbox/macos/sandbox-exec-executor.d.ts +48 -11
  67. package/package.json +1 -1
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-3bfzpzsb.js";
5
+ } from "./index-td6xrw55.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-yj24ny5k.js";
8
+ } from "./index-4wc5gfgm.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-3zcds757.js";
17
+ } from "./index-j144fgk8.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-zw3hkzch.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-s96dpjsk.js";
5
+ } from "./index-mjn6aqqk.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -44,7 +44,7 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-3bfzpzsb.js";
47
+ } from "./index-td6xrw55.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
50
  import {
@@ -70,7 +70,7 @@ import {
70
70
  TurboConfigSchema,
71
71
  WorktreeIsolationConfigSchema,
72
72
  resolveAutoReviewConfig
73
- } from "./index-yj24ny5k.js";
73
+ } from "./index-4wc5gfgm.js";
74
74
  import {
75
75
  ALL_AGENT_NAMES,
76
76
  ALL_SUBAGENT_NAMES,
@@ -22,11 +22,11 @@ import {
22
22
  TaskStatusSchema,
23
23
  init_loader,
24
24
  loadPluginConfig
25
- } from "./index-3bfzpzsb.js";
25
+ } from "./index-td6xrw55.js";
26
26
  import {
27
27
  init_package,
28
28
  package_default
29
- } from "./index-yj24ny5k.js";
29
+ } from "./index-4wc5gfgm.js";
30
30
  import {
31
31
  criticalWarn,
32
32
  init_logger,
@@ -2005,4 +2005,4 @@ var _internals = {
2005
2005
  randomUUID: () => crypto.randomUUID()
2006
2006
  };
2007
2007
 
2008
- export { renderPlanningProfileDirective, resolvePlanningProfile, normalizeExecutionProfileForHash, LedgerStaleWriterError, computePlanLedgerHash, computePlanStructureHash, computeCurrentPlanHash, ledgerExists, getLatestLedgerSeq, readLedgerEvents, initLedger, readPlanEpochIdentity, getOrAdoptPlanEpochUnderLock, appendLedgerEvent, takeSnapshotWithRetry, takeSnapshotEvent, replaceTruncatedLedgerWithRecoveryRoot, clearPlanLedgerForReset, replacePlanLedgerWithRoot, replayFromLedger, peekPlanFromLedger, replayFromLedgerWithStatus, readLedgerEventsWithIntegrity, loadLastApprovedPlan };
2008
+ export { renderPlanningProfileDirective, resolvePlanningProfile, normalizeExecutionProfileForHash, LedgerStaleWriterError, computePlanLedgerHash, computePlanStructureHash, computeCurrentPlanHash, ledgerExists, getLatestLedgerSeq, readLedgerEvents, initLedger, readPlanEpochIdentity, getOrAdoptPlanEpochUnderLock, appendLedgerEvent, takeSnapshotWithRetry, takeSnapshotEvent, replaceTruncatedLedgerWithRecoveryRoot, clearPlanLedgerForReset, replacePlanLedgerWithRoot, replayFromLedger, peekPlanFromLedger, replayFromLedgerWithStatus, readLedgerEventsWithIntegrity, loadLastApprovedPlan, loadLastPlanCriticApprovedSnapshot };
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-0vgs5r39.js";
6
+ } from "./index-8w1mrvbd.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-ssx8087p.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-22qppdyv.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-17h2hcw9.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-p6fj7qz7.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -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-s6s8qedx.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-22qppdyv.js");
810
+ const { KnowledgeConfigSchema } = await import("./schema-17h2hcw9.js");
811
811
  let config;
812
812
  try {
813
- const { loadPluginConfigWithMeta } = await import("./index-dd48vt27.js");
813
+ const { loadPluginConfigWithMeta } = await import("./index-p6fj7qz7.js");
814
814
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
815
815
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
816
816
  } catch {
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-5reh1bjz.js";
7
+ } from "./index-zw3hkzch.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -14,7 +14,7 @@ import {
14
14
  PluginConfigSchema,
15
15
  init_schema,
16
16
  resolveExternalSkillsConfig
17
- } from "./index-yj24ny5k.js";
17
+ } from "./index-4wc5gfgm.js";
18
18
  import {
19
19
  exports_external,
20
20
  init_zod
@@ -1,12 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-1cbjemgh.js";
4
+ } from "./index-n0d5hrs4.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-exf0j569.js";
7
+ } from "./index-t73888m0.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
+ DEFAULT_CI_DEADLINE_MS,
10
11
  SWARM_COMMAND_TOOL_ALLOWLIST,
11
12
  SWARM_COMMAND_TOOL_COMMANDS,
12
13
  VALID_COMMANDS,
@@ -14,6 +15,7 @@ import {
14
15
  canonicalCommandKey,
15
16
  classifySwarmCommandChatFallbackUse,
16
17
  classifySwarmCommandToolUse,
18
+ createSignalCancellation,
17
19
  executeSwarmCommand,
18
20
  formatCommandNotFound,
19
21
  handleAcknowledgeSpecDriftCommand,
@@ -30,6 +32,7 @@ import {
30
32
  handleBlueprintValidateCommand,
31
33
  handleBrainstormCommand,
32
34
  handleCheckpointCommand,
35
+ handleCiCommand,
33
36
  handleCiSimulateCommand,
34
37
  handleClarifyCommand,
35
38
  handleCloseCommand,
@@ -94,43 +97,43 @@ import {
94
97
  handleWriteRetroCommand,
95
98
  normalizeSwarmCommandInput,
96
99
  resolveCommand
97
- } from "./index-3zcds757.js";
100
+ } from "./index-j144fgk8.js";
98
101
  import"./index-5400m33a.js";
99
102
  import"./index-7h01bkm6.js";
100
- import"./index-5reh1bjz.js";
103
+ import"./index-zw3hkzch.js";
101
104
  import"./index-cgpwjctj.js";
102
- import"./index-egkc2bpv.js";
103
- import"./index-zapc8vj4.js";
105
+ import"./index-ye43mdfm.js";
106
+ import"./index-3p3y55xg.js";
104
107
  import"./index-xnpjwc4h.js";
105
108
  import"./index-txdagbh7.js";
106
109
  import"./index-9br68j86.js";
107
110
  import"./index-cw912re7.js";
108
- import"./index-c7kr7tnk.js";
109
- import"./index-55fkkjec.js";
110
- import"./index-nwv3e3kc.js";
111
+ import"./index-9xk97bcf.js";
112
+ import"./index-r1z8nrb6.js";
113
+ import"./index-3eh2n3dx.js";
111
114
  import"./index-fyfbpz4f.js";
112
115
  import"./index-gfbggp8k.js";
113
116
  import"./index-0hgmsyfp.js";
114
117
  import"./index-zsrtt42s.js";
115
- import"./index-sb1s03y9.js";
118
+ import"./index-5bbem0ey.js";
116
119
  import"./index-fhh02gwx.js";
117
120
  import"./index-nyn01yrz.js";
118
121
  import"./index-b43rt5ph.js";
119
122
  import"./index-q7sjgr1y.js";
120
- import"./index-sxcfszbe.js";
121
- import"./index-wwr67xc0.js";
122
- import"./index-ksybszed.js";
123
- import"./index-0vgs5r39.js";
123
+ import"./index-06rbdzqn.js";
124
+ import"./index-59fcfpkh.js";
125
+ import"./index-0xprxg95.js";
126
+ import"./index-8w1mrvbd.js";
124
127
  import"./index-b3pmzbh1.js";
125
128
  import"./index-2s7dvzff.js";
126
- import"./index-2znfa537.js";
129
+ import"./index-31sqcdsd.js";
127
130
  import"./index-bm5xrfnx.js";
128
131
  import"./index-rtry5xyf.js";
129
- import"./index-s96dpjsk.js";
132
+ import"./index-mjn6aqqk.js";
130
133
  import"./index-3qf1vxtb.js";
131
134
  import"./index-n832052r.js";
132
- import"./index-p6xsgk4r.js";
133
- import"./index-83m0y4cj.js";
135
+ import"./index-3axdtaf0.js";
136
+ import"./index-pw00xcj0.js";
134
137
  import"./index-fgp96k3r.js";
135
138
  import"./index-br3mvbsa.js";
136
139
  import"./index-bernkwgf.js";
@@ -138,7 +141,7 @@ import"./index-dvbf6fpn.js";
138
141
  import"./index-rdm3px0g.js";
139
142
  import"./index-ry16d01s.js";
140
143
  import"./index-5qt9yf5w.js";
141
- import"./index-76ng6vmq.js";
144
+ import"./index-ssx8087p.js";
142
145
  import"./index-vzm6zre7.js";
143
146
  import"./index-ae75rja9.js";
144
147
  import"./index-9ttqbhvw.js";
@@ -148,13 +151,13 @@ import"./index-nprdr0sm.js";
148
151
  import"./index-nbdmdyke.js";
149
152
  import"./index-1xnse449.js";
150
153
  import"./index-ee6ydtfe.js";
151
- import"./index-3bfzpzsb.js";
154
+ import"./index-td6xrw55.js";
152
155
  import"./index-0mhftbpp.js";
153
156
  import"./index-a1w58b47.js";
154
157
  import {
155
158
  init_schema,
156
159
  stripKnownSwarmPrefix
157
- } from "./index-yj24ny5k.js";
160
+ } from "./index-4wc5gfgm.js";
158
161
  import {
159
162
  AGENT_TOOL_MAP,
160
163
  ORCHESTRATOR_NAME,
@@ -163,7 +166,7 @@ import {
163
166
  import"./index-bk5tah7q.js";
164
167
  import"./index-bpmtbmy9.js";
165
168
  import"./index-zpsr8rpc.js";
166
- import"./index-q1r1cfww.js";
169
+ import"./index-76qm2c2y.js";
167
170
  import"./index-yzjaj53h.js";
168
171
  import"./index-zgwm4ryv.js";
169
172
  import"./index-a76rekgs.js";
@@ -490,6 +493,7 @@ export {
490
493
  handleCloseCommand,
491
494
  handleClarifyCommand,
492
495
  handleCiSimulateCommand,
496
+ handleCiCommand,
493
497
  handleCheckpointCommand,
494
498
  handleBrainstormCommand,
495
499
  handleBlueprintValidateCommand,
@@ -507,6 +511,7 @@ export {
507
511
  formatCommandNotFound,
508
512
  executeSwarmCommand,
509
513
  createSwarmCommandHandler,
514
+ createSignalCancellation,
510
515
  classifySwarmCommandToolUse,
511
516
  classifySwarmCommandChatFallbackUse,
512
517
  buildHelpText,
@@ -514,6 +519,7 @@ export {
514
519
  VALID_COMMANDS,
515
520
  SWARM_COMMAND_TOOL_COMMANDS,
516
521
  SWARM_COMMAND_TOOL_ALLOWLIST,
522
+ DEFAULT_CI_DEADLINE_MS,
517
523
  COMMAND_REGISTRY,
518
524
  COMMAND_NAME_SET,
519
525
  COMMAND_NAMES
@@ -12,7 +12,7 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-yj24ny5k.js";
15
+ } from "./index-4wc5gfgm.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-j144fgk8.js";
26
26
  import"./index-5400m33a.js";
27
27
  import"./index-7h01bkm6.js";
28
- import"./index-5reh1bjz.js";
28
+ import"./index-zw3hkzch.js";
29
29
  import"./index-cgpwjctj.js";
30
- import"./index-egkc2bpv.js";
31
- import"./index-zapc8vj4.js";
30
+ import"./index-ye43mdfm.js";
31
+ import"./index-3p3y55xg.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-9xk97bcf.js";
37
+ import"./index-r1z8nrb6.js";
38
+ import"./index-3eh2n3dx.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-5bbem0ey.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-06rbdzqn.js";
51
+ import"./index-59fcfpkh.js";
52
+ import"./index-0xprxg95.js";
53
+ import"./index-8w1mrvbd.js";
54
54
  import"./index-b3pmzbh1.js";
55
55
  import"./index-2s7dvzff.js";
56
- import"./index-2znfa537.js";
56
+ import"./index-31sqcdsd.js";
57
57
  import"./index-bm5xrfnx.js";
58
58
  import"./index-rtry5xyf.js";
59
- import"./index-s96dpjsk.js";
59
+ import"./index-mjn6aqqk.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-3axdtaf0.js";
63
+ import"./index-pw00xcj0.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-ssx8087p.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-td6xrw55.js";
82
82
  import"./index-0mhftbpp.js";
83
83
  import"./index-a1w58b47.js";
84
- import"./index-yj24ny5k.js";
84
+ import"./index-4wc5gfgm.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";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-yj24ny5k.js";
11
+ } from "./index-4wc5gfgm.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-sxt7fgcw.js";
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-j144fgk8.js";
17
17
  import"./index-5400m33a.js";
18
18
  import"./index-7h01bkm6.js";
19
- import"./index-5reh1bjz.js";
19
+ import"./index-zw3hkzch.js";
20
20
  import"./index-cgpwjctj.js";
21
- import"./index-egkc2bpv.js";
22
- import"./index-zapc8vj4.js";
21
+ import"./index-ye43mdfm.js";
22
+ import"./index-3p3y55xg.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-9xk97bcf.js";
28
+ import"./index-r1z8nrb6.js";
29
+ import"./index-3eh2n3dx.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-5bbem0ey.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-06rbdzqn.js";
40
+ import"./index-59fcfpkh.js";
41
+ import"./index-0xprxg95.js";
42
+ import"./index-8w1mrvbd.js";
43
43
  import"./index-b3pmzbh1.js";
44
44
  import"./index-2s7dvzff.js";
45
- import"./index-2znfa537.js";
45
+ import"./index-31sqcdsd.js";
46
46
  import"./index-bm5xrfnx.js";
47
47
  import"./index-rtry5xyf.js";
48
- import"./index-s96dpjsk.js";
48
+ import"./index-mjn6aqqk.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-3axdtaf0.js";
52
+ import"./index-pw00xcj0.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-ssx8087p.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-td6xrw55.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-4wc5gfgm.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-r1z8nrb6.js";
13
+ import"./index-8w1mrvbd.js";
14
14
  import"./index-b3pmzbh1.js";
15
15
  import"./index-2s7dvzff.js";
16
- import"./index-s96dpjsk.js";
16
+ import"./index-mjn6aqqk.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-ssx8087p.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-td6xrw55.js";
31
31
  import"./index-0mhftbpp.js";
32
32
  import"./index-a1w58b47.js";
33
- import"./index-yj24ny5k.js";
33
+ import"./index-4wc5gfgm.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-8w1mrvbd.js";
33
33
  import"./index-b3pmzbh1.js";
34
34
  import"./index-2s7dvzff.js";
35
- import"./index-s96dpjsk.js";
35
+ import"./index-mjn6aqqk.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-td6xrw55.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
- import"./index-yj24ny5k.js";
50
+ import"./index-4wc5gfgm.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-ssx8087p.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-31sqcdsd.js";
27
27
  import"./index-bm5xrfnx.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-76ng6vmq.js";
29
+ import"./index-ssx8087p.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-0xprxg95.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-ssx8087p.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-ssx8087p.js";
32
32
  import"./index-vzm6zre7.js";
33
33
  import"./index-ae75rja9.js";
34
34
  import"./index-9ttqbhvw.js";