opencode-swarm 7.160.2 → 7.161.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 (86) hide show
  1. package/.opencode/skills/critic-gate/SKILL.md +2 -1
  2. package/.opencode/skills/execute/SKILL.md +1 -1
  3. package/dist/background/delegation-lifecycle.d.ts +374 -0
  4. package/dist/background/pending-delegations.d.ts +6 -0
  5. package/dist/cli/{coder-settlement-gzar5ypz.js → coder-settlement-2jteb5vy.js} +9 -9
  6. package/dist/cli/{config-doctor-ancn1sj7.js → config-doctor-1yn317qf.js} +3 -3
  7. package/dist/cli/{core-bhmqtxev.js → core-k687jrr3.js} +2 -2
  8. package/dist/cli/{curation-policy-47przjwg.js → curation-policy-ej9xc0cd.js} +5 -5
  9. package/dist/cli/{curator-llm-factory-6mw01jx1.js → curator-llm-factory-m1ke17eq.js} +31 -31
  10. package/dist/cli/{curator-sgmynbpm.js → curator-q017rjfk.js} +31 -31
  11. package/dist/cli/{evidence-summary-service-1pcfsqhv.js → evidence-summary-service-6jzfa547.js} +14 -14
  12. package/dist/cli/{gate-evidence-w0kjqmew.js → gate-evidence-j6nskaka.js} +6 -6
  13. package/dist/cli/{guardrail-explain-k99eje1y.js → guardrail-explain-xw3ma90f.js} +32 -32
  14. package/dist/cli/{guardrail-log-md5gcpk7.js → guardrail-log-etmzhbge.js} +7 -7
  15. package/dist/cli/{guardrail-reset-3385eqmq.js → guardrail-reset-z9fkxksy.js} +31 -31
  16. package/dist/cli/{hive-promoter-r0ekyn5m.js → hive-promoter-dmwjya83.js} +31 -31
  17. package/dist/cli/{index-vv760pbg.js → index-1j532307.js} +2 -2
  18. package/dist/cli/{index-2123hwbj.js → index-29f9te70.js} +4 -4
  19. package/dist/cli/{index-4dcz9fpn.js → index-32avgbyq.js} +4 -4
  20. package/dist/cli/{index-xsd7y4hp.js → index-4p6x3xxy.js} +4 -4
  21. package/dist/cli/{index-7h2armwf.js → index-7619tk9a.js} +2 -2
  22. package/dist/cli/{index-zbnf26br.js → index-7d79mj06.js} +8 -8
  23. package/dist/cli/{index-am5bz6mf.js → index-88wb0z9r.js} +2 -2
  24. package/dist/cli/{index-k0qy284k.js → index-9kp3cp5n.js} +5 -5
  25. package/dist/cli/{index-c9zp4xwc.js → index-9xd073d4.js} +1 -1
  26. package/dist/cli/{index-xtwny1ae.js → index-bn78ywnb.js} +2 -2
  27. package/dist/cli/{index-kqzba6ex.js → index-c1geyan9.js} +2 -2
  28. package/dist/cli/{index-prv20xq6.js → index-c6zyqgpq.js} +1 -1
  29. package/dist/cli/{index-war2dt6a.js → index-cbcfpgz9.js} +6 -6
  30. package/dist/cli/{index-s7w6ntw6.js → index-cs9w1hfs.js} +82 -80
  31. package/dist/cli/{index-7ezv5j23.js → index-d8st72j7.js} +1 -1
  32. package/dist/cli/{index-nk498mx6.js → index-dq41vsf9.js} +2 -2
  33. package/dist/cli/{index-vsy942dt.js → index-e0re84cx.js} +33 -33
  34. package/dist/cli/{index-717pmdce.js → index-epjvntnm.js} +1 -1
  35. package/dist/cli/{index-znf683sm.js → index-f5axf6vq.js} +1 -1
  36. package/dist/cli/{index-dke4wzkn.js → index-fx3em0dr.js} +17 -1
  37. package/dist/cli/{index-5th50g17.js → index-hq57ytm5.js} +3 -3
  38. package/dist/cli/{index-3a35tt6a.js → index-hvfsz7e3.js} +8 -8
  39. package/dist/cli/{index-xkmzsfg5.js → index-jm21vbyp.js} +3 -3
  40. package/dist/cli/{index-yd6y4qr7.js → index-k4xey4kh.js} +1 -1
  41. package/dist/cli/{index-mmr96pwr.js → index-k55td019.js} +1 -1
  42. package/dist/cli/{index-yp81ebrx.js → index-nm0cpfrv.js} +4 -4
  43. package/dist/cli/{index-b5adxpy6.js → index-nqbqkx4c.js} +1 -1
  44. package/dist/cli/{index-4d8cq6e1.js → index-qd9mrd7e.js} +5 -5
  45. package/dist/cli/{index-6scakreq.js → index-rracnf2y.js} +2 -2
  46. package/dist/cli/{index-j3ss86kf.js → index-s33ee2w3.js} +1 -1
  47. package/dist/cli/{index-497a3hhj.js → index-y14mwbk8.js} +3 -3
  48. package/dist/cli/{index-re338hf1.js → index-yhadrxka.js} +3 -3
  49. package/dist/cli/{index-k50kxd3w.js → index-za42r41w.js} +7 -4
  50. package/dist/cli/{index-q8hm27yj.js → index-zg9d392c.js} +4 -1
  51. package/dist/cli/{index-5xfx5sbw.js → index-zhdfqz89.js} +5 -5
  52. package/dist/cli/index.js +31 -31
  53. package/dist/cli/{knowledge-escalator-saekqp8t.js → knowledge-escalator-cqyxfjfh.js} +13 -13
  54. package/dist/cli/{knowledge-events-ej8yz3yq.js → knowledge-events-g707awjf.js} +11 -11
  55. package/dist/cli/{knowledge-link-xezm8hr3.js → knowledge-link-8knefv8x.js} +4 -4
  56. package/dist/cli/{knowledge-store-3jamj5n4.js → knowledge-store-byhv66xq.js} +5 -5
  57. package/dist/cli/{knowledge-validator-26w2mvqv.js → knowledge-validator-qfkr8eje.js} +7 -7
  58. package/dist/cli/{model-preflight-yqqchzjn.js → model-preflight-c3mc8njg.js} +1 -1
  59. package/dist/cli/{pending-delegations-7xak7g59.js → pending-delegations-n3baz9m3.js} +6 -4
  60. package/dist/cli/{pr-review-reentry-authorization-v97q63q4.js → pr-review-reentry-authorization-ttctn8xv.js} +31 -31
  61. package/dist/cli/{pr-subscriptions-asjevc5p.js → pr-subscriptions-3zwthnan.js} +4 -4
  62. package/dist/cli/{runner-wsdcy2d6.js → runner-fzgkd6m1.js} +5 -5
  63. package/dist/cli/{scan-cursor-1agr50f8.js → scan-cursor-fbtgyeft.js} +6 -6
  64. package/dist/cli/{schema-z0ygrqgy.js → schema-xb7d31wq.js} +2 -2
  65. package/dist/cli/{scope-persistence-tncg38by.js → scope-persistence-5npzdfjf.js} +9 -9
  66. package/dist/cli/{skill-generator-jq20a09m.js → skill-generator-k1e7nee3.js} +15 -15
  67. package/dist/cli/{telemetry-gpr9s3sm.js → telemetry-cmbjv240.js} +1 -1
  68. package/dist/cli/{worktree-collision-ownership-b9cp9zvw.js → worktree-collision-ownership-jfam09nj.js} +4 -4
  69. package/dist/cli/{worktree-isolation-dzyxf8hn.js → worktree-isolation-avp3yxcs.js} +31 -31
  70. package/dist/config/evidence-schema.d.ts +11 -2
  71. package/dist/config/schema.d.ts +7 -7
  72. package/dist/hooks/delegate-ack-collector.d.ts +74 -0
  73. package/dist/hooks/delegation-gate.d.ts +4 -1
  74. package/dist/hooks/knowledge-injector.d.ts +12 -1
  75. package/dist/index.js +98 -98
  76. package/dist/learning/admission.d.ts +2 -2
  77. package/dist/memory/schema.d.ts +3 -3
  78. package/dist/observability/catalog.d.ts +2 -2
  79. package/dist/prm/types.d.ts +9 -0
  80. package/dist/telemetry.d.ts +9 -1
  81. package/dist/tools/placeholder-scan.d.ts +5 -3
  82. package/dist/tools/repo-graph/retrieval-router.d.ts +57 -0
  83. package/dist/tools/repo-graph.d.ts +2 -0
  84. package/dist/tools/repo-map.d.ts +202 -0
  85. package/dist/tools/search.d.ts +2 -2
  86. package/package.json +1 -1
@@ -3,7 +3,7 @@ import {
3
3
  EvaluationRunV1Schema,
4
4
  GateAuditResultV1Schema,
5
5
  getProtectedEvaluationRunIds
6
- } from "./index-nk498mx6.js";
6
+ } from "./index-dq41vsf9.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-4dcz9fpn.js";
26
+ } from "./index-32avgbyq.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-5th50g17.js";
46
+ } from "./index-hq57ytm5.js";
47
47
  import {
48
48
  appendCoreEventSync
49
- } from "./index-7h2armwf.js";
49
+ } from "./index-7619tk9a.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-q8hm27yj.js";
59
+ } from "./index-zg9d392c.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-717pmdce.js";
73
+ } from "./index-epjvntnm.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-b5adxpy6.js";
84
+ } from "./index-nqbqkx4c.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-dke4wzkn.js";
91
+ } from "./index-fx3em0dr.js";
92
92
  import {
93
93
  ZodError,
94
94
  init_zod
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-war2dt6a.js";
5
+ } from "./index-cbcfpgz9.js";
6
6
  import {
7
7
  init_git_executable,
8
8
  resolveGitExecutableAsync
9
9
  } from "./index-9e6fdz2h.js";
10
10
  import {
11
11
  resolveKnowledgeStoreDir
12
- } from "./index-prv20xq6.js";
12
+ } from "./index-c6zyqgpq.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-xkmzsfg5.js";
5
+ } from "./index-jm21vbyp.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -17,7 +17,7 @@ import {
17
17
  NoteEvidenceSchema,
18
18
  ReviewEvidenceSchema,
19
19
  TestEvidenceSchema
20
- } from "./index-q8hm27yj.js";
20
+ } from "./index-zg9d392c.js";
21
21
  import {
22
22
  DeltaSpecSchema,
23
23
  ObligationSchema,
@@ -42,7 +42,7 @@ import {
42
42
  loadPluginConfig,
43
43
  loadPluginConfigWithMeta,
44
44
  loadPluginConfigWithMetaAsync
45
- } from "./index-717pmdce.js";
45
+ } from "./index-epjvntnm.js";
46
46
  import {
47
47
  AUTO_REVIEW_V8_BURN_IN_DECISION,
48
48
  AgentOverrideConfigSchema,
@@ -64,7 +64,7 @@ import {
64
64
  TurboConfigSchema,
65
65
  WorktreeIsolationConfigSchema,
66
66
  resolveAutoReviewConfig
67
- } from "./index-6scakreq.js";
67
+ } from "./index-rracnf2y.js";
68
68
  import"./index-9e6fdz2h.js";
69
69
  import"./index-4rhhvd1a.js";
70
70
  import {
@@ -76,7 +76,7 @@ import {
76
76
  QA_AGENTS,
77
77
  isQAAgent,
78
78
  isSubagent
79
- } from "./index-c9zp4xwc.js";
79
+ } from "./index-9xd073d4.js";
80
80
  import"./index-zjygnfay.js";
81
81
  import"./index-bk5tah7q.js";
82
82
  import"./index-bpmtbmy9.js";
@@ -248,7 +248,7 @@ var init_tool_metadata = __esm(() => {
248
248
  prWorkflow: { modes: ["PR_REVIEW"], capability: "validate" }
249
249
  },
250
250
  approve_plan_critic: {
251
- 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)",
251
+ 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)",
252
252
  agents: ["architect"]
253
253
  },
254
254
  prepare_pr_workflow_checkout: {
@@ -6,11 +6,11 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-6scakreq.js";
9
+ } from "./index-rracnf2y.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
13
- } from "./index-c9zp4xwc.js";
13
+ } from "./index-9xd073d4.js";
14
14
  import {
15
15
  log
16
16
  } from "./index-zgwm4ryv.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  SWARM_WORKTREE_DIR_NAME,
15
15
  init_constants
16
- } from "./index-c9zp4xwc.js";
16
+ } from "./index-9xd073d4.js";
17
17
  import {
18
18
  log
19
19
  } from "./index-zgwm4ryv.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-tncg38by.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-5npzdfjf.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-7ezv5j23.js";
4
+ } from "./index-d8st72j7.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn
@@ -6,10 +6,10 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-prv20xq6.js";
9
+ } from "./index-c6zyqgpq.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-7ezv5j23.js";
12
+ } from "./index-d8st72j7.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-ej8yz3yq.js");
716
+ } = await import("./knowledge-events-g707awjf.js");
717
717
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
718
718
  const flagIds = new Set;
719
719
  for (const e of atFloor) {
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
780
780
  });
781
781
  }
782
782
  if (action === "quarantine" && toQuarantine.length > 0) {
783
- const { quarantineEntry } = await import("./knowledge-validator-26w2mvqv.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-z0ygrqgy.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-qfkr8eje.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-xb7d31wq.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-k0qy284k.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-9kp3cp5n.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {