opencode-swarm 7.176.2 → 7.177.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 (101) hide show
  1. package/.opencode/skills/writing-tests/SKILL.md +1 -1
  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/architect.d.ts +1 -1
  5. package/dist/background/delegation-lifecycle.d.ts +1 -0
  6. package/dist/cli/{coder-settlement-q81p8cdw.js → coder-settlement-c0kysest.js} +12 -12
  7. package/dist/cli/{config-doctor-g8yj2ax5.js → config-doctor-bqwse4pd.js} +3 -3
  8. package/dist/cli/{core-qhsd6kh4.js → core-e6vtme4x.js} +4 -4
  9. package/dist/cli/{curation-policy-62k3tfy2.js → curation-policy-d8s9w1z8.js} +5 -5
  10. package/dist/cli/{curator-33h6tpkm.js → curator-2xb1d80j.js} +37 -37
  11. package/dist/cli/{curator-drift-j1ggdamr.js → curator-drift-4m984tvy.js} +4 -4
  12. package/dist/cli/curator-llm-factory-fywmb8jh.js +72 -0
  13. package/dist/cli/{evidence-summary-service-h58msp28.js → evidence-summary-service-9yxm6jkq.js} +16 -16
  14. package/dist/cli/{gate-evidence-2mzqng35.js → gate-evidence-43bnst3v.js} +7 -7
  15. package/dist/cli/guardrail-explain-gm69b76w.js +73 -0
  16. package/dist/cli/{guardrail-log-8pm5hfaf.js → guardrail-log-j7cj3rjy.js} +8 -8
  17. package/dist/cli/{guardrail-reset-qygfp430.js → guardrail-reset-jcsyfvf4.js} +37 -37
  18. package/dist/cli/{hive-promoter-1921z8af.js → hive-promoter-hc0r0z9h.js} +37 -37
  19. package/dist/cli/{index-30dx8h76.js → index-1042jnb9.js} +2 -2
  20. package/dist/cli/{index-p2r8cejw.js → index-1bq6hkw5.js} +1 -1
  21. package/dist/cli/{index-68nc7zev.js → index-2jtmevrr.js} +68 -47
  22. package/dist/cli/{index-tfvtf8z5.js → index-4ygb35m1.js} +11 -11
  23. package/dist/cli/{index-yss54mb9.js → index-5d2avnj9.js} +2 -2
  24. package/dist/cli/{index-gq1qbzsw.js → index-634pjhe4.js} +7 -7
  25. package/dist/cli/{index-3gmfzg4w.js → index-67amf4my.js} +3 -3
  26. package/dist/cli/{index-nmrcgs2v.js → index-7c24bb1r.js} +2 -2
  27. package/dist/cli/{index-b6xgqf81.js → index-7nsvszwn.js} +2 -2
  28. package/dist/cli/{index-hc00tn5a.js → index-7ntcak58.js} +7 -7
  29. package/dist/cli/{index-ycb3h9gp.js → index-822hhbkc.js} +8 -8
  30. package/dist/cli/{index-pa9gk6qe.js → index-bc4x76z7.js} +37 -37
  31. package/dist/cli/{index-pgtrsc2t.js → index-bqmxxbrw.js} +7 -7
  32. package/dist/cli/{index-yg3aqync.js → index-cv191ybt.js} +8 -8
  33. package/dist/cli/{index-6kn88mce.js → index-drgt81xf.js} +6 -6
  34. package/dist/cli/{index-1d28c88a.js → index-e48h8m73.js} +3 -2
  35. package/dist/cli/{index-fsrfamds.js → index-eefz8ghz.js} +1 -1
  36. package/dist/cli/{index-bh07vpsw.js → index-en0p0hqp.js} +1 -1
  37. package/dist/cli/{index-ytg10jza.js → index-epsy1rh1.js} +39 -39
  38. package/dist/cli/{index-gaa1h7rv.js → index-exhm2ztr.js} +1 -1
  39. package/dist/cli/{index-yj8hn89a.js → index-eya03h5m.js} +7 -7
  40. package/dist/cli/{index-vqhpemaw.js → index-fgv6qp10.js} +4 -4
  41. package/dist/cli/{index-g364gm8a.js → index-fnq5ac3f.js} +4 -4
  42. package/dist/cli/{index-psvgm17t.js → index-fnw6zfh0.js} +1 -1
  43. package/dist/cli/{index-bsw3v6fa.js → index-hp5eet6g.js} +4 -4
  44. package/dist/cli/{index-mezy2tc7.js → index-j82xdrqp.js} +4 -4
  45. package/dist/cli/{index-d3mzw88v.js → index-k330631a.js} +5 -5
  46. package/dist/cli/{index-36gm5wzh.js → index-k6bjkqw8.js} +1 -1
  47. package/dist/cli/{index-pedvpj59.js → index-m0cdjvtv.js} +1 -1
  48. package/dist/cli/{index-5frh43fj.js → index-n7nzwz0q.js} +4 -0
  49. package/dist/cli/{index-7yms2y29.js → index-qgf5xexz.js} +4 -4
  50. package/dist/cli/{index-fwjenx4w.js → index-t2nf57mv.js} +4 -3
  51. package/dist/cli/{index-dp0zm7mj.js → index-t6q73twc.js} +2 -2
  52. package/dist/cli/{index-swhxs3n7.js → index-tbswvz8s.js} +2 -2
  53. package/dist/cli/{index-25aq56s9.js → index-tj0sdxg9.js} +2 -2
  54. package/dist/cli/{index-mw5k6s43.js → index-v2he8xfj.js} +2 -2
  55. package/dist/cli/{index-02sbqp2j.js → index-vfp9hjgv.js} +1 -1
  56. package/dist/cli/{index-agwajtws.js → index-wemtrnch.js} +1 -1
  57. package/dist/cli/{index-nxgbfgmc.js → index-xnednxvm.js} +1 -1
  58. package/dist/cli/{index-kc9jbsxh.js → index-yepxmq4f.js} +893 -786
  59. package/dist/cli/{index-g4m0t1y4.js → index-yhaxn5r7.js} +1 -1
  60. package/dist/cli/{index-z7f3z7t0.js → index-yrs4wwfq.js} +4 -4
  61. package/dist/cli/index.js +38 -38
  62. package/dist/cli/{knowledge-escalator-m88njezt.js → knowledge-escalator-j4jcpver.js} +13 -13
  63. package/dist/cli/{knowledge-events-ncwzpmne.js → knowledge-events-fcpzfp2m.js} +11 -11
  64. package/dist/cli/{knowledge-link-1n4kjc0c.js → knowledge-link-9z3fha35.js} +4 -4
  65. package/dist/cli/{knowledge-store-qsebf29s.js → knowledge-store-6evy197p.js} +5 -5
  66. package/dist/cli/{knowledge-validator-c345kv1x.js → knowledge-validator-s28b1ddg.js} +7 -7
  67. package/dist/cli/{mcp-0wqnyca5.js → mcp-9kqsnehc.js} +1 -1
  68. package/dist/cli/{model-preflight-gk1jysa8.js → model-preflight-1pp1a4yf.js} +1 -1
  69. package/dist/cli/{pending-delegations-fry2r78r.js → pending-delegations-e15f26e0.js} +11 -11
  70. package/dist/cli/{pr-subscriptions-sd3fyt8p.js → pr-subscriptions-mqv51zvm.js} +11 -11
  71. package/dist/cli/{pr-workflow-gate-c84n5x8x.js → pr-workflow-gate-fj31btdv.js} +37 -37
  72. package/dist/cli/{runner-91q995mh.js → runner-yhfmejzb.js} +5 -5
  73. package/dist/cli/{scan-cursor-ptg9wsmv.js → scan-cursor-tpnq7e56.js} +6 -6
  74. package/dist/cli/{schema-dwxscxbv.js → schema-1wwcyaxp.js} +2 -2
  75. package/dist/cli/{scope-persistence-effvw96s.js → scope-persistence-332nvn9b.js} +15 -15
  76. package/dist/cli/{server-91c44cv8.js → server-19bpfaps.js} +37 -37
  77. package/dist/cli/{skill-generator-kv7b5ync.js → skill-generator-gn1k4yxj.js} +15 -15
  78. package/dist/cli/{snapshot-coordination-init-1kxmhy02.js → snapshot-coordination-init-6ztt4v99.js} +37 -37
  79. package/dist/cli/{telemetry-1cfatyt0.js → telemetry-w774xb8g.js} +1 -1
  80. package/dist/cli/{workspace-snapshot-f81xc1vd.js → workspace-snapshot-9gqna7gq.js} +3 -3
  81. package/dist/cli/{worktree-collision-ownership-esshj9p9.js → worktree-collision-ownership-q2ydb0ph.js} +12 -12
  82. package/dist/cli/{worktree-isolation-gvy7b6nq.js → worktree-isolation-fsqe1qdv.js} +37 -37
  83. package/dist/events/core-events.d.ts +1 -1
  84. package/dist/full-auto/state.d.ts +37 -2
  85. package/dist/hooks/delegation-gate.d.ts +26 -0
  86. package/dist/index.js +261 -262
  87. package/dist/observability/catalog.d.ts +2 -2
  88. package/dist/prm/escalation.d.ts +42 -1
  89. package/dist/prm/index.d.ts +4 -0
  90. package/dist/prm/types.d.ts +36 -0
  91. package/dist/state.d.ts +8 -1
  92. package/dist/telemetry.d.ts +17 -0
  93. package/dist/tools/approve-retry-sounding-board.d.ts +5 -0
  94. package/dist/tools/index.d.ts +1 -0
  95. package/dist/tools/manifest.d.ts +1 -0
  96. package/dist/tools/repo-map.d.ts +1 -0
  97. package/dist/tools/tool-metadata.d.ts +4 -0
  98. package/dist/types/events.d.ts +20 -2
  99. package/package.json +2 -1
  100. package/dist/cli/curator-llm-factory-bvck3388.js +0 -72
  101. package/dist/cli/guardrail-explain-vs575z3y.js +0 -73
@@ -1,17 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-swhxs3n7.js";
4
+ } from "./index-tbswvz8s.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-68nc7zev.js";
7
+ } from "./index-2jtmevrr.js";
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-1d28c88a.js";
11
+ } from "./index-e48h8m73.js";
12
12
  import {
13
13
  init_constants
14
- } from "./index-5frh43fj.js";
14
+ } from "./index-n7nzwz0q.js";
15
15
  import {
16
16
  getPathFlavor,
17
17
  init_path_identity,
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-mezy2tc7.js";
5
+ } from "./index-j82xdrqp.js";
6
6
  import {
7
7
  validateSwarmPath
8
- } from "./index-gaa1h7rv.js";
8
+ } from "./index-exhm2ztr.js";
9
9
  import {
10
10
  bunSpawn,
11
11
  classifySpawnFailure
@@ -15,10 +15,10 @@ import {
15
15
  atomicWriteFile,
16
16
  taskEvidencePath,
17
17
  withTaskEvidenceLock
18
- } from "./index-25aq56s9.js";
18
+ } from "./index-tj0sdxg9.js";
19
19
  import {
20
20
  telemetry
21
- } from "./index-68nc7zev.js";
21
+ } from "./index-2jtmevrr.js";
22
22
  import {
23
23
  init_git_executable,
24
24
  resolveGitExecutable
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-vqhpemaw.js";
7
+ } from "./index-fgv6qp10.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-3gmfzg4w.js";
5
+ } from "./index-67amf4my.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-pedvpj59.js";
47
+ } from "./index-m0cdjvtv.js";
48
48
  import"./index-zz7gzw57.js";
49
49
  import"./index-4ddpvd5c.js";
50
50
  import {
@@ -71,7 +71,7 @@ import {
71
71
  TurboConfigSchema,
72
72
  WorktreeIsolationConfigSchema,
73
73
  resolveAutoReviewConfig
74
- } from "./index-1d28c88a.js";
74
+ } from "./index-e48h8m73.js";
75
75
  import {
76
76
  ALL_AGENT_NAMES,
77
77
  ALL_SUBAGENT_NAMES,
@@ -81,7 +81,7 @@ import {
81
81
  QA_AGENTS,
82
82
  isQAAgent,
83
83
  isSubagent
84
- } from "./index-5frh43fj.js";
84
+ } from "./index-n7nzwz0q.js";
85
85
  import"./index-bk5tah7q.js";
86
86
  import"./index-gknz3bv1.js";
87
87
  import"./index-zpsr8rpc.js";
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-gaa1h7rv.js";
4
+ } from "./index-exhm2ztr.js";
5
5
  import {
6
6
  bunSpawn
7
7
  } from "./index-2s7dvzff.js";
8
8
  import {
9
9
  atomicWriteSwarmFileSync
10
- } from "./index-g4m0t1y4.js";
10
+ } from "./index-yhaxn5r7.js";
11
11
  import {
12
12
  canonicalRootKeyFresh
13
13
  } from "./index-1xnse449.js";
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  SWARM_WORKTREE_DIR_NAME,
24
24
  init_constants
25
- } from "./index-5frh43fj.js";
25
+ } from "./index-n7nzwz0q.js";
26
26
  import {
27
27
  init_logger,
28
28
  log
@@ -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-effvw96s.js");
247
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-332nvn9b.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-yg3aqync.js";
6
+ } from "./index-cv191ybt.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-gq1qbzsw.js";
14
+ } from "./index-634pjhe4.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-c345kv1x.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-s28b1ddg.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-dwxscxbv.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-bsw3v6fa.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-1wwcyaxp.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-hp5eet6g.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -11,7 +11,7 @@ import {
11
11
  assertProjectRoot,
12
12
  atomicWriteFile,
13
13
  withEvidenceLock
14
- } from "./index-25aq56s9.js";
14
+ } from "./index-tj0sdxg9.js";
15
15
  import {
16
16
  exports_external,
17
17
  init_zod
@@ -14,7 +14,7 @@ import {
14
14
  PluginConfigSchema,
15
15
  init_schema,
16
16
  resolveExternalSkillsConfig
17
- } from "./index-1d28c88a.js";
17
+ } from "./index-e48h8m73.js";
18
18
  import {
19
19
  exports_external,
20
20
  init_zod
@@ -257,6 +257,10 @@ var init_tool_metadata = __esm(() => {
257
257
  description: "record a MANUAL plan_critic_gate approval snapshot to unblock the ratchet-tighter critic_pre_plan execution gate when the critic already returned APPROVED but the mechanical recorder failed to persist it (issue #2012), or as the sanctioned recovery for a bookkeeping-grade hashed-field repair under the critic-gate PLAN FREEZE rule (the reason must state which case applies)",
258
258
  agents: ["architect"]
259
259
  },
260
+ approve_retry_sounding_board: {
261
+ description: "record a MANUAL critic_sounding_board gate entry to unblock the coder retry circuit-breaker gate when the sounding board returned APPROVED but the mechanical recorder missed it (issue #2703)",
262
+ agents: ["architect"]
263
+ },
260
264
  prepare_pr_workflow_checkout: {
261
265
  description: "prepare an auditable PR workflow checkout or restore its exact original branch/HEAD and preserved stash after terminal cleanup",
262
266
  agents: ["architect"]
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-yg3aqync.js";
8
+ } from "./index-cv191ybt.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-z7f3z7t0.js";
12
+ } from "./index-yrs4wwfq.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-gq1qbzsw.js";
19
+ } from "./index-634pjhe4.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  atomicWriteFileAnyRoot,
26
26
  atomicWriteSwarmFile
27
- } from "./index-g4m0t1y4.js";
27
+ } from "./index-yhaxn5r7.js";
28
28
  import {
29
29
  canonicalRootKeyFresh
30
30
  } from "./index-1xnse449.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-swhxs3n7.js";
4
+ } from "./index-tbswvz8s.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-68nc7zev.js";
7
+ } from "./index-2jtmevrr.js";
8
8
  import {
9
9
  init_logger,
10
10
  warn
@@ -43,7 +43,8 @@ var PUBLICATION_TERMINAL_EVENT_TYPES = new Set([
43
43
  var RETRY_ACTIONS = new Set([
44
44
  "sounding_board_consultation",
45
45
  "simplification",
46
- "user_escalation"
46
+ "user_escalation",
47
+ "sounding_board_manual_approval"
47
48
  ]);
48
49
  function authorityKeyFor(event) {
49
50
  switch (event.type) {
@@ -14,14 +14,14 @@ import {
14
14
  detectWindowsWrites,
15
15
  getSharedClassifierGuardrailBlock,
16
16
  resolveWriteTargets
17
- } from "./index-kc9jbsxh.js";
17
+ } from "./index-yepxmq4f.js";
18
18
  import {
19
19
  checkFileAuthority,
20
20
  classifyFile,
21
21
  isInDeclaredScope,
22
22
  redactPath,
23
23
  redactShellCommand
24
- } from "./index-vqhpemaw.js";
24
+ } from "./index-fgv6qp10.js";
25
25
 
26
26
  // src/services/guardrail-explain-service.ts
27
27
  import path from "path";
@@ -3,10 +3,10 @@ import {
3
3
  pseudonymousRef,
4
4
  resolveLineageSalt,
5
5
  telemetry
6
- } from "./index-68nc7zev.js";
6
+ } from "./index-2jtmevrr.js";
7
7
  import {
8
8
  atomicWriteSwarmFile
9
- } from "./index-g4m0t1y4.js";
9
+ } from "./index-yhaxn5r7.js";
10
10
  import {
11
11
  canonicalRootKeyFresh
12
12
  } from "./index-1xnse449.js";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./index-7g4c7s5r.js";
5
5
  import {
6
6
  emit
7
- } from "./index-68nc7zev.js";
7
+ } from "./index-2jtmevrr.js";
8
8
  import {
9
9
  atomicWriteFileAnyRoot
10
- } from "./index-g4m0t1y4.js";
10
+ } from "./index-yhaxn5r7.js";
11
11
  import {
12
12
  init_logger,
13
13
  warn
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-p2r8cejw.js";
5
+ } from "./index-1bq6hkw5.js";
6
6
  import {
7
7
  DURABILITY_CLASSES,
8
8
  getProjectDb,
9
9
  projectDbExists,
10
10
  withImmediateTransaction
11
- } from "./index-nxgbfgmc.js";
11
+ } from "./index-xnednxvm.js";
12
12
  import {
13
13
  init_logger,
14
14
  warn
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-36gm5wzh.js";
12
+ } from "./index-k6bjkqw8.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -11,7 +11,7 @@ import {
11
11
  readLinkPointer,
12
12
  resolveKnowledgeStoreDir,
13
13
  resolveLinkDir
14
- } from "./index-bh07vpsw.js";
14
+ } from "./index-en0p0hqp.js";
15
15
 
16
16
  // src/knowledge/curation-policy.ts
17
17
  import { readFile as readFile2 } from "fs/promises";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-ry16d01s.js";
8
8
  import {
9
9
  atomicWriteSwarmFileSync
10
- } from "./index-g4m0t1y4.js";
10
+ } from "./index-yhaxn5r7.js";
11
11
  import {
12
12
  canonicalRootKeyFresh,
13
13
  lexicalRootAliasKey