opencode-swarm 7.135.2 → 7.135.4

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 (77) hide show
  1. package/.opencode/skills/critic-gate/SKILL.md +10 -0
  2. package/dist/agents/explorer.d.ts +1 -1
  3. package/dist/agents/index.d.ts +12 -0
  4. package/dist/cli/{config-doctor-pj3yvxdb.js → config-doctor-fgmemknc.js} +3 -2
  5. package/dist/cli/{core-4va9z2ng.js → core-4z1s2ak1.js} +3 -2
  6. package/dist/cli/{curation-policy-b2caf3v3.js → curation-policy-frs28q57.js} +3 -3
  7. package/dist/cli/{curator-drift-2ta83hss.js → curator-drift-jpap6hv4.js} +2 -2
  8. package/dist/cli/{curator-llm-factory-9983528d.js → curator-llm-factory-pr59p535.js} +25 -24
  9. package/dist/cli/{curator-r1s2mwf2.js → curator-psq8m2j7.js} +25 -24
  10. package/dist/cli/{dispatch-wtk6dxky.js → dispatch-b1fge4xk.js} +2 -2
  11. package/dist/cli/{evidence-summary-service-feby8ny0.js → evidence-summary-service-w006jnpg.js} +5 -5
  12. package/dist/cli/{explorer-15gqzxh8.js → explorer-swjc297z.js} +1 -1
  13. package/dist/cli/{gate-evidence-84b03mb4.js → gate-evidence-aenyz6vt.js} +2 -2
  14. package/dist/cli/{guardrail-explain-pwxvg5n0.js → guardrail-explain-ws45zchy.js} +26 -25
  15. package/dist/cli/{guardrail-log-yzpz8b7t.js → guardrail-log-gbzek1pz.js} +5 -4
  16. package/dist/cli/{hive-promoter-586dhndj.js → hive-promoter-gdbg4nyd.js} +25 -24
  17. package/dist/cli/index-3jcyn8g6.js +1219 -0
  18. package/dist/cli/{index-hdy2nd5h.js → index-45t7w06b.js} +4 -4
  19. package/dist/cli/{index-hvrrq3f3.js → index-4g3nq4sh.js} +1 -1
  20. package/dist/cli/{index-02cqjna3.js → index-5s1q6xcw.js} +4 -4
  21. package/dist/cli/{index-340chr1e.js → index-66w4jjg6.js} +10124 -10005
  22. package/dist/cli/{index-dg1njnms.js → index-6mjf4vr1.js} +1 -1
  23. package/dist/cli/{index-9c3gf2wd.js → index-ajehqzvn.js} +6 -4
  24. package/dist/cli/{index-2pxk6qg4.js → index-b34vbxmx.js} +4 -2
  25. package/dist/cli/{index-d5psymdk.js → index-c9ddxv4k.js} +57 -8
  26. package/dist/cli/{index-j0kte6gd.js → index-cg413zhk.js} +8 -1210
  27. package/dist/cli/{index-7pnvf04s.js → index-cggqh2dz.js} +10 -10
  28. package/dist/cli/{index-bs4m85v1.js → index-cgqekdja.js} +2 -2
  29. package/dist/cli/{index-j92ser8n.js → index-ck9rx6j1.js} +5 -3
  30. package/dist/cli/{index-jgkjxpdh.js → index-fx7bn93y.js} +2 -2
  31. package/dist/cli/{index-qqkw794p.js → index-g86vfxnk.js} +3 -3
  32. package/dist/cli/{index-3m7kpnqf.js → index-jsp8r6f9.js} +1 -1
  33. package/dist/cli/{index-8gw8p7yh.js → index-mysdsqtk.js} +21 -4
  34. package/dist/cli/{index-3xbx305x.js → index-tcn457d5.js} +1 -1
  35. package/dist/cli/{index-ckdva4rs.js → index-tegdwx34.js} +5 -5
  36. package/dist/cli/{index-b0eva00y.js → index-vh39nxpx.js} +1 -1
  37. package/dist/cli/{index-73dfyfhq.js → index-x20cgr2q.js} +1 -1
  38. package/dist/cli/{index-cwdy5vw9.js → index-xfeg0c0c.js} +31 -29
  39. package/dist/cli/{index-g3meqrsg.js → index-ys04j1np.js} +12 -10
  40. package/dist/cli/index.js +28 -26
  41. package/dist/cli/{knowledge-escalator-w7by1m8m.js → knowledge-escalator-0060q7we.js} +4 -4
  42. package/dist/cli/{knowledge-events-n8xxsay3.js → knowledge-events-yh2qwa6k.js} +6 -2
  43. package/dist/cli/knowledge-link-mm1w967j.js +1 -1
  44. package/dist/cli/{knowledge-store-xzmvfnx3.js → knowledge-store-geqaez58.js} +2 -2
  45. package/dist/cli/{knowledge-validator-5q1amsq6.js → knowledge-validator-4zq4vm7t.js} +5 -5
  46. package/dist/cli/{pending-delegations-mt5gs1bt.js → pending-delegations-qajsxct0.js} +4 -4
  47. package/dist/cli/{pr-subscriptions-v5xd3j6d.js → pr-subscriptions-qhr41epq.js} +4 -4
  48. package/dist/cli/{scan-cursor-1q1zmt4b.js → scan-cursor-nk2rybhq.js} +3 -3
  49. package/dist/cli/{schema-8mtsfspm.js → schema-th3tx32c.js} +2 -1
  50. package/dist/cli/scope-persistence-h2fpgxww.js +2 -2
  51. package/dist/cli/{skill-generator-54xbjgak.js → skill-generator-1947bbkn.js} +6 -6
  52. package/dist/cli/{worktree-collision-ownership-15hymf1y.js → worktree-collision-ownership-13btcj9g.js} +5 -5
  53. package/dist/commands/approve-plan-critic.d.ts +21 -0
  54. package/dist/commands/registry.d.ts +8 -0
  55. package/dist/config/cache-paths.d.ts +48 -0
  56. package/dist/config/constants.d.ts +18 -0
  57. package/dist/config/host-path.d.ts +95 -0
  58. package/dist/config/lane-context.d.ts +117 -0
  59. package/dist/config/lane-permissions.d.ts +277 -0
  60. package/dist/config/schema.d.ts +10 -0
  61. package/dist/config/swarm-branch.d.ts +130 -0
  62. package/dist/hooks/curator-postmortem.d.ts +8 -0
  63. package/dist/hooks/delegate-ack-collector.d.ts +21 -0
  64. package/dist/hooks/delegation-gate.d.ts +42 -1
  65. package/dist/hooks/knowledge-events.d.ts +33 -1
  66. package/dist/hooks/skill-propagation-gate.d.ts +10 -0
  67. package/dist/index.js +225 -212
  68. package/dist/memory/schema.d.ts +4 -4
  69. package/dist/services/knowledge-diagnostics.d.ts +2 -0
  70. package/dist/tools/approve-plan-critic.d.ts +5 -0
  71. package/dist/tools/index.d.ts +1 -0
  72. package/dist/tools/manifest.d.ts +1 -0
  73. package/dist/tools/tool-metadata.d.ts +4 -0
  74. package/package.json +1 -1
  75. package/dist/cli/{index-bfd4xfpp.js → index-4qzeef9h.js} +3 -3
  76. package/dist/cli/{index-ryqnn3nv.js → index-mrtms113.js} +3 -3
  77. package/dist/cli/{index-m0ynxkaa.js → index-vm4xw9z3.js} +3 -3
@@ -7,7 +7,7 @@ import {
7
7
  readTaskEvidence,
8
8
  readTaskEvidenceRaw,
9
9
  sanitizeTaskId
10
- } from "./index-ryqnn3nv.js";
10
+ } from "./index-mrtms113.js";
11
11
  import {
12
12
  atomicWriteFile
13
13
  } from "./index-ey29aap6.js";
@@ -48,32 +48,32 @@ import {
48
48
  import {
49
49
  readSwarmFileAsync,
50
50
  validateSwarmPath
51
- } from "./index-bfd4xfpp.js";
51
+ } from "./index-4qzeef9h.js";
52
52
  import {
53
53
  readCachedParsedFile
54
54
  } from "./index-fsrp8wp3.js";
55
55
  import {
56
56
  withEvidenceLock
57
57
  } from "./index-09b9zncg.js";
58
- import {
59
- emit
60
- } from "./index-7a2hm51h.js";
61
58
  import {
62
59
  ZodError,
63
60
  exports_external,
64
61
  init_zod
65
62
  } from "./index-bpmtbmy9.js";
66
63
  import {
67
- criticalWarn,
68
- error,
69
- init_logger,
70
- warn
71
- } from "./index-zgwm4ryv.js";
64
+ emit
65
+ } from "./index-7a2hm51h.js";
72
66
  import {
73
67
  bunHash,
74
68
  bunWrite,
75
69
  mergeEnvForChild
76
70
  } from "./index-y111zefa.js";
71
+ import {
72
+ criticalWarn,
73
+ error,
74
+ init_logger,
75
+ warn
76
+ } from "./index-zgwm4ryv.js";
77
77
  import {
78
78
  __esm,
79
79
  __export,
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-340chr1e.js";
15
+ } from "./index-66w4jjg6.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-2pxk6qg4.js";
22
+ } from "./index-b34vbxmx.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -1,14 +1,16 @@
1
1
  // @bun
2
2
  import {
3
- ALL_AGENT_NAMES,
4
3
  FALLBACK_MODELS_MAX,
5
4
  GATE_CONFIG_KNOWN_SECTION_KEYS,
6
5
  GateConfigSchema,
7
6
  PluginConfigSchema,
8
- init_constants,
9
7
  init_schema,
10
8
  stripKnownSwarmPrefix
11
- } from "./index-j0kte6gd.js";
9
+ } from "./index-cg413zhk.js";
10
+ import {
11
+ ALL_AGENT_NAMES,
12
+ init_constants
13
+ } from "./index-3jcyn8g6.js";
12
14
  import {
13
15
  log
14
16
  } from "./index-zgwm4ryv.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-3m7kpnqf.js";
4
+ } from "./index-jsp8r6f9.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-02cqjna3.js";
12
+ } from "./index-5s1q6xcw.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-dzyjb33e.js";
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-jgkjxpdh.js";
5
+ } from "./index-fx7bn93y.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-02cqjna3.js";
12
+ } from "./index-5s1q6xcw.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-8gw8p7yh.js";
16
+ } from "./index-mysdsqtk.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-rtry5xyf.js";
5
5
  import {
6
6
  readKnowledgeEvents
7
- } from "./index-8gw8p7yh.js";
7
+ } from "./index-mysdsqtk.js";
8
8
  import {
9
9
  isLinked,
10
10
  readLinkPointer,
@@ -66,7 +66,13 @@ function withDefaults(event) {
66
66
  };
67
67
  }
68
68
  async function appendKnowledgeEvent(directory, event) {
69
- const populated = withDefaults(event);
69
+ const [populated] = await appendKnowledgeEventsBatch(directory, [event]);
70
+ return populated;
71
+ }
72
+ async function appendKnowledgeEventsBatch(directory, events) {
73
+ if (events.length === 0)
74
+ return [];
75
+ const populated = events.map(withDefaults);
70
76
  const filePath = resolveKnowledgeEventsPath(directory);
71
77
  const dirPath = path.dirname(filePath);
72
78
  await mkdir(dirPath, { recursive: true });
@@ -75,7 +81,8 @@ async function appendKnowledgeEvent(directory, event) {
75
81
  release = await import_proper_lockfile.default.lock(dirPath, {
76
82
  retries: { retries: 200, minTimeout: 10, maxTimeout: 100 }
77
83
  });
78
- await appendFile(filePath, `${JSON.stringify(populated)}
84
+ await appendFile(filePath, `${populated.map((e) => JSON.stringify(e)).join(`
85
+ `)}
79
86
  `, "utf-8");
80
87
  try {
81
88
  const content = await readFile(filePath, "utf-8");
@@ -106,6 +113,14 @@ async function recordKnowledgeEvent(directory, event) {
106
113
  return null;
107
114
  }
108
115
  }
116
+ async function recordKnowledgeEventsBatch(directory, events) {
117
+ try {
118
+ return await appendKnowledgeEventsBatch(directory, events);
119
+ } catch (err) {
120
+ warn(`[knowledge-events] recordKnowledgeEventsBatch failed: ${err instanceof Error ? err.message : String(err)}`);
121
+ return null;
122
+ }
123
+ }
109
124
  async function appendHiveKnowledgeEvent(event) {
110
125
  const populated = withDefaults(event);
111
126
  const filePath = resolveHiveEventsPath2();
@@ -408,6 +423,8 @@ function recomputeCounters(events, legacyRecords = [], baseline = new Map) {
408
423
  break;
409
424
  case "no_relevant":
410
425
  break;
426
+ case "unacknowledged":
427
+ break;
411
428
  case "outcome": {
412
429
  if (!e.knowledge_id)
413
430
  break;
@@ -608,7 +625,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
608
625
  deltas.push({ id, delta });
609
626
  }
610
627
  if (deltas.length > 0) {
611
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-xzmvfnx3.js");
628
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-geqaez58.js");
612
629
  await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
613
630
  }
614
631
  return {
@@ -643,4 +660,4 @@ var _internals = {
643
660
  mergeRollupInto
644
661
  };
645
662
 
646
- export { KNOWLEDGE_EVENT_SCHEMA_VERSION, MAX_EVENT_LOG_ENTRIES, RECEIPT_EVENT_TYPES, resolveKnowledgeEventsPath, resolveKnowledgeCounterBaselinePath, resolveHiveEventsPath2 as resolveHiveEventsPath, resolveLegacyApplicationLogPath, newTraceId, newEventId, appendKnowledgeEvent, recordKnowledgeEvent, appendHiveKnowledgeEvent, recordHiveKnowledgeEvent, readKnowledgeEvents, readHiveKnowledgeEvents, readLegacyApplicationRecords, MAX_VIOLATION_TIMESTAMPS, recomputeCounters, countViolationsInWindow, countEmptyTraceTerminals, countEntryViolationsInWindow, countEntryContradictionsInWindow, readKnowledgeCounterRollups, effectiveRetrievalOutcomes, applyKnowledgeVerdictFeedback, _internals };
663
+ export { KNOWLEDGE_EVENT_SCHEMA_VERSION, MAX_EVENT_LOG_ENTRIES, RECEIPT_EVENT_TYPES, resolveKnowledgeEventsPath, resolveKnowledgeCounterBaselinePath, resolveHiveEventsPath2 as resolveHiveEventsPath, resolveLegacyApplicationLogPath, newTraceId, newEventId, appendKnowledgeEvent, appendKnowledgeEventsBatch, recordKnowledgeEvent, recordKnowledgeEventsBatch, appendHiveKnowledgeEvent, recordHiveKnowledgeEvent, readKnowledgeEvents, readHiveKnowledgeEvents, readLegacyApplicationRecords, MAX_VIOLATION_TIMESTAMPS, recomputeCounters, countViolationsInWindow, countEmptyTraceTerminals, countEntryViolationsInWindow, countEntryContradictionsInWindow, readKnowledgeCounterRollups, effectiveRetrievalOutcomes, applyKnowledgeVerdictFeedback, _internals };
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-bfd4xfpp.js";
4
+ } from "./index-4qzeef9h.js";
5
5
  import {
6
6
  withEvidenceLock
7
7
  } from "./index-09b9zncg.js";
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-02cqjna3.js";
9
+ } from "./index-5s1q6xcw.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-8gw8p7yh.js";
15
+ } from "./index-mysdsqtk.js";
16
16
  import {
17
17
  init_knowledge_types,
18
18
  isActiveStatus
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
190
190
  alreadyInactive: true
191
191
  };
192
192
  }
193
- const { quarantineEntry } = await import("./knowledge-validator-5q1amsq6.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-4zq4vm7t.js");
194
194
  let policyConfig;
195
195
  try {
196
- const { KnowledgeConfigSchema } = await import("./schema-8mtsfspm.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-g3meqrsg.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-th3tx32c.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-ys04j1np.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-02cqjna3.js";
5
+ } from "./index-5s1q6xcw.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-dzyjb33e.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-bfd4xfpp.js";
4
+ } from "./index-4qzeef9h.js";
5
5
 
6
6
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
7
7
  import * as fs from "fs";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-bs4m85v1.js";
4
+ } from "./index-cgqekdja.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-hvrrq3f3.js";
7
+ } from "./index-4g3nq4sh.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -84,61 +84,63 @@ import {
84
84
  handleWriteRetroCommand,
85
85
  normalizeSwarmCommandInput,
86
86
  resolveCommand
87
- } from "./index-340chr1e.js";
88
- import"./index-m0ynxkaa.js";
89
- import"./index-2pxk6qg4.js";
90
- import"./index-j92ser8n.js";
91
- import"./index-7pnvf04s.js";
87
+ } from "./index-66w4jjg6.js";
88
+ import"./index-vm4xw9z3.js";
89
+ import"./index-b34vbxmx.js";
90
+ import"./index-ck9rx6j1.js";
91
+ import"./index-cggqh2dz.js";
92
92
  import"./index-4905hd2m.js";
93
93
  import"./index-134d35c1.js";
94
- import"./index-qqkw794p.js";
95
- import"./index-ckdva4rs.js";
96
- import"./index-b0eva00y.js";
97
- import"./index-dg1njnms.js";
94
+ import"./index-g86vfxnk.js";
95
+ import"./index-tegdwx34.js";
96
+ import"./index-vh39nxpx.js";
97
+ import"./index-6mjf4vr1.js";
98
98
  import"./index-c8s9a3zh.js";
99
99
  import"./index-9ss2m4rs.js";
100
- import"./index-ryqnn3nv.js";
101
- import"./index-3xbx305x.js";
102
- import"./index-jgkjxpdh.js";
103
- import"./index-3m7kpnqf.js";
100
+ import"./index-y6a7gjtj.js";
101
+ import"./index-mrtms113.js";
102
+ import"./index-fx7bn93y.js";
103
+ import"./index-jsp8r6f9.js";
104
104
  import"./index-rtry5xyf.js";
105
- import"./index-02cqjna3.js";
106
- import"./index-8gw8p7yh.js";
105
+ import"./index-5s1q6xcw.js";
106
+ import"./index-mysdsqtk.js";
107
107
  import"./index-ae75rja9.js";
108
108
  import"./index-dzyjb33e.js";
109
109
  import"./index-ey29aap6.js";
110
- import"./index-9c3gf2wd.js";
110
+ import"./index-ajehqzvn.js";
111
111
  import"./index-k5jrywpr.js";
112
112
  import"./index-n832052r.js";
113
113
  import {
114
- AGENT_TOOL_MAP,
115
- ORCHESTRATOR_NAME,
116
- init_constants,
117
114
  init_schema,
118
115
  stripKnownSwarmPrefix
119
- } from "./index-j0kte6gd.js";
116
+ } from "./index-cg413zhk.js";
120
117
  import"./index-bk5tah7q.js";
121
118
  import"./index-8fwhhayc.js";
122
119
  import"./index-q1exe2b3.js";
120
+ import"./index-tcn457d5.js";
123
121
  import"./index-vg3yx648.js";
124
122
  import"./index-wxyxf0bd.js";
125
123
  import"./index-1kz6da87.js";
126
- import"./index-73dfyfhq.js";
124
+ import"./index-x20cgr2q.js";
127
125
  import"./index-b8zgtz81.js";
128
- import"./index-d5psymdk.js";
126
+ import"./index-c9ddxv4k.js";
129
127
  import"./index-4rhhvd1a.js";
130
- import"./index-hdy2nd5h.js";
131
- import"./index-bfd4xfpp.js";
128
+ import {
129
+ AGENT_TOOL_MAP,
130
+ ORCHESTRATOR_NAME,
131
+ init_constants
132
+ } from "./index-3jcyn8g6.js";
133
+ import"./index-45t7w06b.js";
134
+ import"./index-4qzeef9h.js";
132
135
  import"./index-fsrp8wp3.js";
133
136
  import"./index-09b9zncg.js";
134
137
  import"./index-7g4c7s5r.js";
135
- import"./index-7a2hm51h.js";
136
138
  import"./index-bpmtbmy9.js";
139
+ import"./index-7a2hm51h.js";
137
140
  import"./index-z6xqpmqg.js";
138
141
  import"./index-zjygnfay.js";
139
- import"./index-zgwm4ryv.js";
140
- import"./index-y6a7gjtj.js";
141
142
  import"./index-y111zefa.js";
143
+ import"./index-zgwm4ryv.js";
142
144
  import"./index-a76rekgs.js";
143
145
 
144
146
  // src/commands/index.ts
@@ -7,7 +7,7 @@ import {
7
7
  loadPluginConfigWithMeta,
8
8
  loadPluginConfigWithMetaAsync,
9
9
  resolveWorktreeIsolationConfig
10
- } from "./index-9c3gf2wd.js";
10
+ } from "./index-ajehqzvn.js";
11
11
  import {
12
12
  ApprovalEvidenceSchema,
13
13
  BaseEvidenceSchema,
@@ -34,8 +34,6 @@ import {
34
34
  validateSpecContent
35
35
  } from "./index-n832052r.js";
36
36
  import {
37
- ALL_AGENT_NAMES,
38
- ALL_SUBAGENT_NAMES,
39
37
  AUTO_REVIEW_V8_BURN_IN_DECISION,
40
38
  AgentOverrideConfigSchema,
41
39
  ApplyPatchConfigSchema,
@@ -43,26 +41,20 @@ import {
43
41
  AutomationCapabilitiesSchema,
44
42
  AutomationConfigSchema,
45
43
  AutomationModeSchema,
46
- DEFAULT_MODELS,
47
44
  LeanTurboConfigSchema,
48
45
  MemoryConfigSchema,
49
46
  ModelPricingConfigSchema,
50
- ORCHESTRATOR_NAME,
51
- PIPELINE_AGENTS,
52
47
  PhaseCompleteConfigSchema,
53
48
  PipelineConfigSchema,
54
49
  PluginConfigSchema,
55
50
  PricingConfigSchema,
56
- QA_AGENTS,
57
51
  RepoGraphConfigSchema,
58
52
  SkillPropagationConfigSchema,
59
53
  SwarmConfigSchema,
60
54
  TurboConfigSchema,
61
55
  WorktreeIsolationConfigSchema,
62
- isQAAgent,
63
- isSubagent,
64
56
  resolveAutoReviewConfig
65
- } from "./index-j0kte6gd.js";
57
+ } from "./index-cg413zhk.js";
66
58
  import"./index-bk5tah7q.js";
67
59
  import {
68
60
  MigrationStatusSchema,
@@ -74,6 +66,16 @@ import {
74
66
  TaskStatusSchema
75
67
  } from "./index-1kz6da87.js";
76
68
  import"./index-4rhhvd1a.js";
69
+ import {
70
+ ALL_AGENT_NAMES,
71
+ ALL_SUBAGENT_NAMES,
72
+ DEFAULT_MODELS,
73
+ ORCHESTRATOR_NAME,
74
+ PIPELINE_AGENTS,
75
+ QA_AGENTS,
76
+ isQAAgent,
77
+ isSubagent
78
+ } from "./index-3jcyn8g6.js";
77
79
  import"./index-bpmtbmy9.js";
78
80
  import"./index-zjygnfay.js";
79
81
  import"./index-zgwm4ryv.js";
package/dist/cli/index.js CHANGED
@@ -6,60 +6,62 @@ import {
6
6
  getPluginConfigDir,
7
7
  getPluginLockFilePaths,
8
8
  resolveCommand
9
- } from "./index-340chr1e.js";
10
- import"./index-m0ynxkaa.js";
11
- import"./index-2pxk6qg4.js";
12
- import"./index-j92ser8n.js";
13
- import"./index-7pnvf04s.js";
9
+ } from "./index-66w4jjg6.js";
10
+ import"./index-vm4xw9z3.js";
11
+ import"./index-b34vbxmx.js";
12
+ import"./index-ck9rx6j1.js";
13
+ import"./index-cggqh2dz.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
- import"./index-qqkw794p.js";
17
- import"./index-ckdva4rs.js";
18
- import"./index-b0eva00y.js";
19
- import"./index-dg1njnms.js";
16
+ import"./index-g86vfxnk.js";
17
+ import"./index-tegdwx34.js";
18
+ import"./index-vh39nxpx.js";
19
+ import"./index-6mjf4vr1.js";
20
20
  import"./index-c8s9a3zh.js";
21
21
  import"./index-9ss2m4rs.js";
22
- import"./index-ryqnn3nv.js";
23
- import"./index-3xbx305x.js";
24
- import"./index-jgkjxpdh.js";
25
- import"./index-3m7kpnqf.js";
22
+ import"./index-y6a7gjtj.js";
23
+ import"./index-mrtms113.js";
24
+ import"./index-fx7bn93y.js";
25
+ import"./index-jsp8r6f9.js";
26
26
  import"./index-rtry5xyf.js";
27
- import"./index-02cqjna3.js";
28
- import"./index-8gw8p7yh.js";
27
+ import"./index-5s1q6xcw.js";
28
+ import"./index-mysdsqtk.js";
29
29
  import"./index-ae75rja9.js";
30
30
  import"./index-dzyjb33e.js";
31
31
  import"./index-ey29aap6.js";
32
- import"./index-9c3gf2wd.js";
32
+ import"./index-ajehqzvn.js";
33
33
  import"./index-k5jrywpr.js";
34
34
  import"./index-n832052r.js";
35
35
  import {
36
- DEFAULT_AGENT_CONFIGS,
37
- init_constants,
38
36
  init_package,
39
37
  package_default
40
- } from "./index-j0kte6gd.js";
38
+ } from "./index-cg413zhk.js";
41
39
  import"./index-bk5tah7q.js";
42
40
  import"./index-8fwhhayc.js";
43
41
  import"./index-q1exe2b3.js";
42
+ import"./index-tcn457d5.js";
44
43
  import"./index-vg3yx648.js";
45
44
  import"./index-wxyxf0bd.js";
46
45
  import"./index-1kz6da87.js";
47
- import"./index-73dfyfhq.js";
46
+ import"./index-x20cgr2q.js";
48
47
  import"./index-b8zgtz81.js";
49
- import"./index-d5psymdk.js";
48
+ import"./index-c9ddxv4k.js";
50
49
  import"./index-4rhhvd1a.js";
51
- import"./index-hdy2nd5h.js";
52
- import"./index-bfd4xfpp.js";
50
+ import {
51
+ DEFAULT_AGENT_CONFIGS,
52
+ init_constants
53
+ } from "./index-3jcyn8g6.js";
54
+ import"./index-45t7w06b.js";
55
+ import"./index-4qzeef9h.js";
53
56
  import"./index-fsrp8wp3.js";
54
57
  import"./index-09b9zncg.js";
55
58
  import"./index-7g4c7s5r.js";
56
- import"./index-7a2hm51h.js";
57
59
  import"./index-bpmtbmy9.js";
60
+ import"./index-7a2hm51h.js";
58
61
  import"./index-z6xqpmqg.js";
59
62
  import"./index-zjygnfay.js";
60
- import"./index-zgwm4ryv.js";
61
- import"./index-y6a7gjtj.js";
62
63
  import"./index-y111zefa.js";
64
+ import"./index-zgwm4ryv.js";
63
65
  import"./index-a76rekgs.js";
64
66
 
65
67
  // src/cli/index.ts
@@ -8,9 +8,9 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-ckdva4rs.js";
12
- import"./index-02cqjna3.js";
13
- import"./index-8gw8p7yh.js";
11
+ } from "./index-tegdwx34.js";
12
+ import"./index-5s1q6xcw.js";
13
+ import"./index-mysdsqtk.js";
14
14
  import"./index-ae75rja9.js";
15
15
  import"./index-dzyjb33e.js";
16
16
  import"./index-ey29aap6.js";
@@ -19,8 +19,8 @@ import"./index-fsrp8wp3.js";
19
19
  import"./index-09b9zncg.js";
20
20
  import"./index-7g4c7s5r.js";
21
21
  import"./index-7a2hm51h.js";
22
- import"./index-zgwm4ryv.js";
23
22
  import"./index-y111zefa.js";
23
+ import"./index-zgwm4ryv.js";
24
24
  import"./index-a76rekgs.js";
25
25
  export {
26
26
  readRecentEscalations,
@@ -7,6 +7,7 @@ import {
7
7
  _internals,
8
8
  appendHiveKnowledgeEvent,
9
9
  appendKnowledgeEvent,
10
+ appendKnowledgeEventsBatch,
10
11
  applyKnowledgeVerdictFeedback,
11
12
  countEmptyTraceTerminals,
12
13
  countEntryContradictionsInWindow,
@@ -22,11 +23,12 @@ import {
22
23
  recomputeCounters,
23
24
  recordHiveKnowledgeEvent,
24
25
  recordKnowledgeEvent,
26
+ recordKnowledgeEventsBatch,
25
27
  resolveHiveEventsPath,
26
28
  resolveKnowledgeCounterBaselinePath,
27
29
  resolveKnowledgeEventsPath,
28
30
  resolveLegacyApplicationLogPath
29
- } from "./index-8gw8p7yh.js";
31
+ } from "./index-mysdsqtk.js";
30
32
  import"./index-ae75rja9.js";
31
33
  import"./index-dzyjb33e.js";
32
34
  import"./index-ey29aap6.js";
@@ -34,14 +36,15 @@ import"./index-fsrp8wp3.js";
34
36
  import"./index-09b9zncg.js";
35
37
  import"./index-7g4c7s5r.js";
36
38
  import"./index-7a2hm51h.js";
37
- import"./index-zgwm4ryv.js";
38
39
  import"./index-y111zefa.js";
40
+ import"./index-zgwm4ryv.js";
39
41
  import"./index-a76rekgs.js";
40
42
  export {
41
43
  resolveLegacyApplicationLogPath,
42
44
  resolveKnowledgeEventsPath,
43
45
  resolveKnowledgeCounterBaselinePath,
44
46
  resolveHiveEventsPath,
47
+ recordKnowledgeEventsBatch,
45
48
  recordKnowledgeEvent,
46
49
  recordHiveKnowledgeEvent,
47
50
  recomputeCounters,
@@ -57,6 +60,7 @@ export {
57
60
  countEntryContradictionsInWindow,
58
61
  countEmptyTraceTerminals,
59
62
  applyKnowledgeVerdictFeedback,
63
+ appendKnowledgeEventsBatch,
60
64
  appendKnowledgeEvent,
61
65
  appendHiveKnowledgeEvent,
62
66
  _internals,
@@ -18,8 +18,8 @@ import"./index-fsrp8wp3.js";
18
18
  import"./index-09b9zncg.js";
19
19
  import"./index-7g4c7s5r.js";
20
20
  import"./index-7a2hm51h.js";
21
- import"./index-zgwm4ryv.js";
22
21
  import"./index-y111zefa.js";
22
+ import"./index-zgwm4ryv.js";
23
23
  import"./index-a76rekgs.js";
24
24
  export {
25
25
  writeLinkPointer,
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-02cqjna3.js";
44
+ } from "./index-5s1q6xcw.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -52,8 +52,8 @@ import"./index-fsrp8wp3.js";
52
52
  import"./index-09b9zncg.js";
53
53
  import"./index-7g4c7s5r.js";
54
54
  import"./index-7a2hm51h.js";
55
- import"./index-zgwm4ryv.js";
56
55
  import"./index-y111zefa.js";
56
+ import"./index-zgwm4ryv.js";
57
57
  import"./index-a76rekgs.js";
58
58
  export {
59
59
  wordBigrams,
@@ -23,11 +23,11 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-jgkjxpdh.js";
27
- import"./index-3m7kpnqf.js";
26
+ } from "./index-fx7bn93y.js";
27
+ import"./index-jsp8r6f9.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-02cqjna3.js";
30
- import"./index-8gw8p7yh.js";
29
+ import"./index-5s1q6xcw.js";
30
+ import"./index-mysdsqtk.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-dzyjb33e.js";
33
33
  import"./index-ey29aap6.js";
@@ -36,8 +36,8 @@ import"./index-fsrp8wp3.js";
36
36
  import"./index-09b9zncg.js";
37
37
  import"./index-7g4c7s5r.js";
38
38
  import"./index-7a2hm51h.js";
39
- import"./index-zgwm4ryv.js";
40
39
  import"./index-y111zefa.js";
40
+ import"./index-zgwm4ryv.js";
41
41
  import"./index-a76rekgs.js";
42
42
  export {
43
43
  validateSkillPath,
@@ -40,17 +40,17 @@ import {
40
40
  sweepStaleDelegations,
41
41
  updateCoderSettlement,
42
42
  writeDelegationFallback
43
- } from "./index-hdy2nd5h.js";
44
- import"./index-bfd4xfpp.js";
43
+ } from "./index-45t7w06b.js";
44
+ import"./index-4qzeef9h.js";
45
45
  import"./index-fsrp8wp3.js";
46
46
  import"./index-09b9zncg.js";
47
47
  import"./index-7g4c7s5r.js";
48
- import"./index-7a2hm51h.js";
49
48
  import"./index-bpmtbmy9.js";
49
+ import"./index-7a2hm51h.js";
50
50
  import"./index-z6xqpmqg.js";
51
51
  import"./index-zjygnfay.js";
52
- import"./index-zgwm4ryv.js";
53
52
  import"./index-y111zefa.js";
53
+ import"./index-zgwm4ryv.js";
54
54
  import"./index-a76rekgs.js";
55
55
  export {
56
56
  writeDelegationFallback,