opencode-swarm 7.167.1 → 7.167.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 (105) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/agents/project-context.d.ts +12 -8
  4. package/dist/cli/{coder-settlement-2ye4s5xr.js → coder-settlement-jy9rad28.js} +16 -16
  5. package/dist/cli/{config-doctor-b0k8eyd6.js → config-doctor-p66vnpy3.js} +3 -3
  6. package/dist/cli/{core-xgzgjk8s.js → core-tw0wtntz.js} +4 -4
  7. package/dist/cli/{curation-policy-bvxf5pxv.js → curation-policy-ndp27v0c.js} +7 -7
  8. package/dist/cli/{curator-jpvzrxcv.js → curator-5nzde80g.js} +45 -45
  9. package/dist/cli/{curator-drift-20m2ab5w.js → curator-drift-gb651hcw.js} +8 -8
  10. package/dist/cli/curator-llm-factory-xy96x5x8.js +71 -0
  11. package/dist/cli/{dispatch-tmb929w8.js → dispatch-8ks9dyk5.js} +244 -70
  12. package/dist/cli/{evidence-summary-service-74az43cb.js → evidence-summary-service-bzpfaypy.js} +22 -22
  13. package/dist/cli/{explorer-zvk5kbcb.js → explorer-2cv64zfj.js} +1 -1
  14. package/dist/cli/{gate-evidence-f26h2gn3.js → gate-evidence-wa8cj8h6.js} +11 -11
  15. package/dist/cli/guardrail-explain-1ef5he6j.js +72 -0
  16. package/dist/cli/{guardrail-log-pnye3xw8.js → guardrail-log-7dv73e0q.js} +9 -9
  17. package/dist/cli/{guardrail-reset-0da7q8ap.js → guardrail-reset-1kng6y8x.js} +44 -44
  18. package/dist/cli/hive-promoter-87kk2pg5.js +86 -0
  19. package/dist/cli/{index-fmzz6aw7.js → index-09gv90d7.js} +4 -4
  20. package/dist/cli/{index-9e6fdz2h.js → index-0mhftbpp.js} +1 -1
  21. package/dist/cli/{index-t8tw1bhs.js → index-0q839sg6.js} +2 -2
  22. package/dist/cli/{index-9bhzbwa4.js → index-18rfc7qv.js} +9 -9
  23. package/dist/cli/{index-7qefgq4j.js → index-1xnse449.js} +11 -1
  24. package/dist/cli/index-25xeyjfx.js +116 -0
  25. package/dist/cli/{index-87agfprq.js → index-2b1hd1fx.js} +2 -2
  26. package/dist/cli/{index-bv8ha57q.js → index-3r6k6qa7.js} +6 -6
  27. package/dist/cli/{index-69y9p6dh.js → index-3ws11dq0.js} +2 -2
  28. package/dist/cli/{index-eretcr6t.js → index-5sjq3shs.js} +11 -11
  29. package/dist/cli/{index-8x4zwk0t.js → index-65s0vgb1.js} +47 -47
  30. package/dist/cli/{index-es13aqdb.js → index-79234evf.js} +1 -1
  31. package/dist/cli/{index-5bd84nxc.js → index-83r0v5tn.js} +1 -1
  32. package/dist/cli/{index-sahf5yz3.js → index-8vbahc4c.js} +1 -1
  33. package/dist/cli/{index-6d4dc99f.js → index-962qme08.js} +1 -1
  34. package/dist/cli/{index-9ss2m4rs.js → index-9br68j86.js} +1 -1
  35. package/dist/cli/{index-4rhhvd1a.js → index-a1w58b47.js} +1 -1
  36. package/dist/cli/{index-qyr17fbz.js → index-arqv4psy.js} +16 -16
  37. package/dist/cli/{index-qtd3hrk8.js → index-ce8p9t28.js} +5 -5
  38. package/dist/cli/{index-q265ytw6.js → index-dme7wvwg.js} +4 -4
  39. package/dist/cli/{index-54vzqy47.js → index-ehq2vtkq.js} +6 -6
  40. package/dist/cli/{index-1aex5zd9.js → index-f8cc92g7.js} +2 -2
  41. package/dist/cli/{index-bzdc4b7t.js → index-f91fhch0.js} +6 -6
  42. package/dist/cli/{index-70ha9e09.js → index-fyfbpz4f.js} +1 -1
  43. package/dist/cli/{index-75f9jj3h.js → index-g409c7ke.js} +2 -2
  44. package/dist/cli/{index-0tc0pcmh.js → index-g5m43paw.js} +37 -2
  45. package/dist/cli/{index-9wv6a3jx.js → index-gmjg65tm.js} +2 -2
  46. package/dist/cli/{index-qd726agw.js → index-gs12223x.js} +3 -3
  47. package/dist/cli/{index-rk10x4zr.js → index-hhkm64wh.js} +5 -5
  48. package/dist/cli/{index-mgc3c483.js → index-jhd3pmd1.js} +10 -10
  49. package/dist/cli/{index-m3tx1q9v.js → index-k73ehxa1.js} +1 -1
  50. package/dist/cli/{index-z5gdgdkp.js → index-m3z83nhs.js} +12 -12
  51. package/dist/cli/{index-251vrmge.js → index-m7cwnt9r.js} +4 -4
  52. package/dist/cli/{index-3nm1b3t2.js → index-mtepgqan.js} +8 -8
  53. package/dist/cli/{index-79wnzc8q.js → index-pdcperq5.js} +3 -3
  54. package/dist/cli/{index-bf6zx8cq.js → index-rrne6g2m.js} +2 -2
  55. package/dist/cli/{index-hdsg7yf6.js → index-s7a9dqtb.js} +3 -3
  56. package/dist/cli/{index-f8xk5q5j.js → index-shrf0wt3.js} +4 -4
  57. package/dist/cli/{index-zwsbegc1.js → index-sjkg2hc4.js} +7 -7
  58. package/dist/cli/{index-qww0h314.js → index-syedr4e3.js} +1 -1
  59. package/dist/cli/{index-f6zgz02s.js → index-tcj8v6my.js} +3 -3
  60. package/dist/cli/{index-2w0beg3s.js → index-vgpedapd.js} +5 -5
  61. package/dist/cli/{index-emwezg3y.js → index-wjet7x0a.js} +3 -3
  62. package/dist/cli/{index-m21x1bkx.js → index-x7pm61wk.js} +2 -0
  63. package/dist/cli/{index-32bxwzw0.js → index-y1sj2e1n.js} +92719 -90312
  64. package/dist/cli/{index-qd619x3r.js → index-z6we1abx.js} +2 -2
  65. package/dist/cli/{index-fenasyvr.js → index-z7z3g5wt.js} +62 -12
  66. package/dist/cli/index.js +44 -44
  67. package/dist/cli/{knowledge-escalator-p2a8xh8x.js → knowledge-escalator-5e4zxan5.js} +17 -17
  68. package/dist/cli/{knowledge-events-jmh28m8d.js → knowledge-events-abzm5vfh.js} +15 -15
  69. package/dist/cli/{knowledge-link-w1fwqts4.js → knowledge-link-9ga6hyd5.js} +6 -6
  70. package/dist/cli/{knowledge-store-8gmabtsn.js → knowledge-store-q4a92eq7.js} +7 -7
  71. package/dist/cli/{knowledge-validator-yk579vs4.js → knowledge-validator-pn3m5r41.js} +9 -9
  72. package/dist/cli/{model-preflight-b3b5pgsc.js → model-preflight-mw895vgt.js} +1 -1
  73. package/dist/cli/{pending-delegations-nw7ph53z.js → pending-delegations-3z0xjppd.js} +14 -14
  74. package/dist/cli/{pr-subscriptions-9815fxbc.js → pr-subscriptions-h7mwnp62.js} +14 -14
  75. package/dist/cli/{pr-workflow-gate-98a7b6py.js → pr-workflow-gate-fec04fa0.js} +44 -44
  76. package/dist/cli/{runner-nmrjv7te.js → runner-d9833azt.js} +7 -7
  77. package/dist/cli/{scan-cursor-6zcs0frg.js → scan-cursor-ymfvzdkz.js} +10 -10
  78. package/dist/cli/{schema-warvhy9h.js → schema-chc4aez6.js} +2 -2
  79. package/dist/cli/{scope-persistence-c2ck77cv.js → scope-persistence-3xnr59y8.js} +20 -20
  80. package/dist/cli/{skill-generator-jamm1cna.js → skill-generator-3mvaghxk.js} +19 -19
  81. package/dist/cli/{snapshot-coordination-init-st0xsn3f.js → snapshot-coordination-init-arnc77r9.js} +44 -44
  82. package/dist/cli/{telemetry-ce0tx41h.js → telemetry-g9pppt9e.js} +2 -2
  83. package/dist/cli/{workspace-snapshot-0kxj2grt.js → workspace-snapshot-hvsjtepd.js} +6 -6
  84. package/dist/cli/{worktree-collision-ownership-qra7r8pw.js → worktree-collision-ownership-vj8anvb7.js} +17 -17
  85. package/dist/cli/{worktree-isolation-yr9gnf64.js → worktree-isolation-mt7z75hz.js} +45 -45
  86. package/dist/commands/close/align-stage.d.ts +10 -0
  87. package/dist/commands/close/archive-stage.d.ts +34 -0
  88. package/dist/commands/close/clean-stage.d.ts +2 -0
  89. package/dist/commands/close/constants.d.ts +122 -0
  90. package/dist/commands/close/context.d.ts +129 -0
  91. package/dist/commands/close/db-helpers.d.ts +10 -0
  92. package/dist/commands/close/dry-run.d.ts +12 -0
  93. package/dist/commands/close/finalize-stage.d.ts +44 -0
  94. package/dist/commands/close/fs-helpers.d.ts +17 -0
  95. package/dist/commands/close/internals.d.ts +55 -0
  96. package/dist/commands/close/orchestrator.d.ts +32 -0
  97. package/dist/commands/close/wiring.d.ts +2 -0
  98. package/dist/commands/close.d.ts +10 -402
  99. package/dist/index.js +485 -485
  100. package/dist/lang/dispatch.d.ts +6 -6
  101. package/dist/utils/canonical-root.d.ts +19 -0
  102. package/package.json +1 -1
  103. package/dist/cli/curator-llm-factory-zeb0pe2j.js +0 -71
  104. package/dist/cli/guardrail-explain-5vhveypz.js +0 -72
  105. package/dist/cli/hive-promoter-2vj54xc4.js +0 -86
@@ -1,36 +1,36 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-sahf5yz3.js";
4
+ } from "./index-8vbahc4c.js";
5
5
  import {
6
6
  observeReceiptTransition
7
- } from "./index-qd726agw.js";
7
+ } from "./index-gs12223x.js";
8
8
  import {
9
9
  resolveHiveEventsPath
10
10
  } from "./index-ae75rja9.js";
11
11
  import {
12
12
  resolveKnowledgeStoreDir
13
- } from "./index-t8tw1bhs.js";
13
+ } from "./index-0q839sg6.js";
14
14
  import {
15
15
  assertProjectRoot,
16
16
  atomicWriteFile
17
- } from "./index-2w0beg3s.js";
17
+ } from "./index-vgpedapd.js";
18
+ import {
19
+ require_proper_lockfile
20
+ } from "./index-7g4c7s5r.js";
18
21
  import {
19
22
  emit
20
- } from "./index-f6zgz02s.js";
23
+ } from "./index-tcj8v6my.js";
21
24
  import {
22
25
  canonicalRootKey
23
- } from "./index-7qefgq4j.js";
24
- import {
25
- require_proper_lockfile
26
- } from "./index-7g4c7s5r.js";
26
+ } from "./index-1xnse449.js";
27
27
  import {
28
28
  loadPluginConfigWithMeta
29
- } from "./index-emwezg3y.js";
29
+ } from "./index-wjet7x0a.js";
30
30
  import {
31
31
  KnowledgeConfigSchema,
32
32
  init_schema
33
- } from "./index-87agfprq.js";
33
+ } from "./index-2b1hd1fx.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-8gmabtsn.js");
2816
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-q4a92eq7.js");
2817
2817
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2818
2818
  }
2819
2819
  return {
@@ -1,21 +1,21 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-sahf5yz3.js";
4
+ } from "./index-8vbahc4c.js";
5
5
  import {
6
6
  bunSpawn
7
7
  } from "./index-p612v1mv.js";
8
8
  import {
9
9
  atomicWriteSwarmFile
10
- } from "./index-m21x1bkx.js";
10
+ } from "./index-x7pm61wk.js";
11
11
  import {
12
12
  canonicalRootKey,
13
13
  sameProjectRoot
14
- } from "./index-7qefgq4j.js";
14
+ } from "./index-1xnse449.js";
15
15
  import {
16
16
  init_git_executable,
17
17
  resolveGitExecutable
18
- } from "./index-9e6fdz2h.js";
18
+ } from "./index-0mhftbpp.js";
19
19
 
20
20
  // src/background/workspace-snapshot.ts
21
21
  import * as child_process from "child_process";
@@ -1,35 +1,35 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-sahf5yz3.js";
4
+ } from "./index-8vbahc4c.js";
5
5
  import {
6
6
  deleteCoordinationState,
7
7
  importCoordinationOnce,
8
8
  listCoordinationStates,
9
9
  transitionCoordinationState,
10
10
  withCoordinationTransaction
11
- } from "./index-6d4dc99f.js";
11
+ } from "./index-962qme08.js";
12
12
  import {
13
13
  getProjectDb,
14
14
  projectDbExists
15
- } from "./index-rk10x4zr.js";
15
+ } from "./index-hhkm64wh.js";
16
16
  import {
17
17
  observeStoreHealth
18
- } from "./index-qd726agw.js";
18
+ } from "./index-gs12223x.js";
19
19
  import {
20
20
  withEvidenceLock
21
- } from "./index-2w0beg3s.js";
21
+ } from "./index-vgpedapd.js";
22
22
  import {
23
23
  atomicWriteSwarmFileSync
24
- } from "./index-m21x1bkx.js";
24
+ } from "./index-x7pm61wk.js";
25
25
  import {
26
26
  telemetry
27
- } from "./index-f6zgz02s.js";
27
+ } from "./index-tcj8v6my.js";
28
28
  import {
29
29
  canonicalRootKey,
30
30
  canonicalRootKeyFresh,
31
31
  sameProjectRoot
32
- } from "./index-7qefgq4j.js";
32
+ } from "./index-1xnse449.js";
33
33
  import {
34
34
  exports_external,
35
35
  init_zod
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-9bhzbwa4.js";
5
+ } from "./index-18rfc7qv.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
- } from "./index-t8tw1bhs.js";
8
+ } from "./index-0q839sg6.js";
9
9
  import {
10
10
  init_git_executable,
11
11
  resolveGitExecutableAsync
12
- } from "./index-9e6fdz2h.js";
12
+ } from "./index-0mhftbpp.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -12,13 +12,13 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-87agfprq.js";
15
+ } from "./index-2b1hd1fx.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
18
  TOOL_NAME_SET,
19
19
  init_constants,
20
20
  init_tool_metadata
21
- } from "./index-0tc0pcmh.js";
21
+ } from "./index-g5m43paw.js";
22
22
  import {
23
23
  log
24
24
  } from "./index-zgwm4ryv.js";
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-emwezg3y.js";
5
+ } from "./index-wjet7x0a.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-87agfprq.js";
8
+ } from "./index-2b1hd1fx.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
12
- } from "./index-0tc0pcmh.js";
12
+ } from "./index-g5m43paw.js";
13
13
 
14
14
  // src/config/index.ts
15
15
  init_constants();
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-qww0h314.js";
4
+ } from "./index-syedr4e3.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-9bhzbwa4.js";
12
+ } from "./index-18rfc7qv.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-t8tw1bhs.js";
15
+ } from "./index-0q839sg6.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-2w0beg3s.js";
18
+ } from "./index-vgpedapd.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-sahf5yz3.js";
4
+ } from "./index-8vbahc4c.js";
5
5
  import {
6
6
  bunWrite
7
7
  } from "./index-p612v1mv.js";
@@ -18,22 +18,22 @@ import {
18
18
  releaseCoordinationLease,
19
19
  transitionCoordinationState,
20
20
  withCoordinationTransaction
21
- } from "./index-6d4dc99f.js";
21
+ } from "./index-962qme08.js";
22
22
  import {
23
23
  getProjectDb,
24
24
  projectDbExists
25
- } from "./index-rk10x4zr.js";
25
+ } from "./index-hhkm64wh.js";
26
26
  import {
27
27
  observeDelegationLedgerPressure
28
- } from "./index-qd726agw.js";
28
+ } from "./index-gs12223x.js";
29
29
  import {
30
30
  EvidenceLockTimeoutError,
31
31
  withEvidenceLock
32
- } from "./index-2w0beg3s.js";
32
+ } from "./index-vgpedapd.js";
33
33
  import {
34
34
  canonicalRootKeyFresh,
35
35
  sameProjectRoot
36
- } from "./index-7qefgq4j.js";
36
+ } from "./index-1xnse449.js";
37
37
  import {
38
38
  exports_external,
39
39
  init_zod
@@ -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-2ye4s5xr.js");
4527
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-jy9rad28.js");
4528
4528
  let transferred = 0;
4529
4529
  for (const record of candidates) {
4530
4530
  try {
@@ -11,7 +11,7 @@ import {
11
11
  readLinkPointer,
12
12
  resolveKnowledgeStoreDir,
13
13
  resolveLinkDir
14
- } from "./index-t8tw1bhs.js";
14
+ } from "./index-0q839sg6.js";
15
15
 
16
16
  // src/knowledge/curation-policy.ts
17
17
  import { readFile as readFile2 } from "fs/promises";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  sameProjectRoot
4
- } from "./index-7qefgq4j.js";
4
+ } from "./index-1xnse449.js";
5
5
  import {
6
6
  exports_external,
7
7
  init_zod
@@ -236,7 +236,7 @@ var CATALOG_SOURCE = [
236
236
  category: "delegation",
237
237
  severity: "info",
238
238
  privacyClass: "pseudonymous",
239
- producer: "src/index.ts:1752",
239
+ producer: "src/index.ts:1755",
240
240
  consumers: NO_CONSUMERS,
241
241
  futureOwnerIssue: ISSUE_SINK,
242
242
  retentionOwnerIssue: ISSUE_COST_RETENTION,
@@ -250,7 +250,7 @@ var CATALOG_SOURCE = [
250
250
  category: "delegation",
251
251
  severity: "notice",
252
252
  privacyClass: "pseudonymous",
253
- producer: "src/index.ts:1772",
253
+ producer: "src/index.ts:1775",
254
254
  consumers: CONSUMER_COST_JOIN,
255
255
  retentionOwnerIssue: ISSUE_COST_RETENTION,
256
256
  requiredWorkflowIds: REQUIRE_SESSION,
@@ -1,13 +1,13 @@
1
1
  // @bun
2
+ import {
3
+ require_proper_lockfile
4
+ } from "./index-7g4c7s5r.js";
2
5
  import {
3
6
  atomicWriteFileAnyRoot
4
- } from "./index-m21x1bkx.js";
7
+ } from "./index-x7pm61wk.js";
5
8
  import {
6
9
  emit
7
- } from "./index-f6zgz02s.js";
8
- import {
9
- require_proper_lockfile
10
- } from "./index-7g4c7s5r.js";
10
+ } from "./index-tcj8v6my.js";
11
11
  import {
12
12
  init_logger,
13
13
  warn
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  GIT_BINARY_ENV_VAR,
4
4
  init_git_executable
5
- } from "./index-9e6fdz2h.js";
5
+ } from "./index-0mhftbpp.js";
6
6
  import {
7
7
  advisoryWarn,
8
8
  init_warning_buffer
9
- } from "./index-4rhhvd1a.js";
9
+ } from "./index-a1w58b47.js";
10
10
  import {
11
11
  ExternalSkillsConfigSchema,
12
12
  GATE_CONFIG_KNOWN_SECTION_KEYS,
@@ -14,7 +14,7 @@ import {
14
14
  PluginConfigSchema,
15
15
  init_schema,
16
16
  resolveExternalSkillsConfig
17
- } from "./index-87agfprq.js";
17
+ } from "./index-2b1hd1fx.js";
18
18
  import {
19
19
  exports_external,
20
20
  init_zod
@@ -447,6 +447,8 @@ function parseTargetBasename(basename) {
447
447
  }
448
448
  var WRITER_CLASSIFICATION = Object.freeze({
449
449
  "src/commands/close.ts": "migrated",
450
+ "src/commands/close/context.ts": "reader-only",
451
+ "src/commands/close/clean-stage.ts": "reader-only",
450
452
  "src/commands/handoff.ts": "migrated",
451
453
  "src/commands/simulate.ts": "migrated",
452
454
  "src/commands/coupling.ts": "migrated",