opencode-swarm 7.140.2 → 7.140.3

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 (34) hide show
  1. package/dist/cli/{config-doctor-shc0n4q1.js → config-doctor-fnmfd35x.js} +2 -2
  2. package/dist/cli/{curation-policy-7n6t8he4.js → curation-policy-d52h4g8t.js} +2 -2
  3. package/dist/cli/{curator-zp5qq24c.js → curator-3zpdqt9r.js} +12 -12
  4. package/dist/cli/{curator-llm-factory-pr4bdfqw.js → curator-llm-factory-2h0xb62t.js} +12 -12
  5. package/dist/cli/{guardrail-explain-thddj6jv.js → guardrail-explain-yktan15c.js} +13 -13
  6. package/dist/cli/{guardrail-log-w8fmxe1x.js → guardrail-log-82da8y5a.js} +3 -3
  7. package/dist/cli/{hive-promoter-0yg3gxg6.js → hive-promoter-af5yaxvt.js} +12 -12
  8. package/dist/cli/{index-bmmzfrc7.js → index-7d5jseea.js} +1 -1
  9. package/dist/cli/{index-9txca231.js → index-7kdd75se.js} +3 -3
  10. package/dist/cli/{index-0tevsq1a.js → index-8bnzzv3b.js} +1 -1
  11. package/dist/cli/{index-1j5my2qy.js → index-8n4c3vec.js} +2 -2
  12. package/dist/cli/{index-y98ngs4g.js → index-95bj4kaw.js} +2 -2
  13. package/dist/cli/{index-yt3vz0e1.js → index-gtbmabws.js} +1 -1
  14. package/dist/cli/{index-vjqe1z2w.js → index-j1xmren9.js} +2 -2
  15. package/dist/cli/{index-z6md3t8m.js → index-jvk119ck.js} +5 -5
  16. package/dist/cli/{index-jfp1bgt1.js → index-n8jncheh.js} +1 -1
  17. package/dist/cli/{index-t59cdg48.js → index-p9dsb0tw.js} +1 -1
  18. package/dist/cli/{index-7ax0bkqh.js → index-pg7n141e.js} +1 -1
  19. package/dist/cli/{index-4rje8dc0.js → index-pj9h75cc.js} +14 -14
  20. package/dist/cli/{index-n831qq2v.js → index-q1q8b85k.js} +36 -36
  21. package/dist/cli/{index-325zmfyj.js → index-qksjaxpd.js} +4 -4
  22. package/dist/cli/{index-x6mtyj6q.js → index-wf35ka4z.js} +1 -1
  23. package/dist/cli/{index-chx92bes.js → index-xz8f1n1a.js} +1 -1
  24. package/dist/cli/index.js +12 -12
  25. package/dist/cli/{knowledge-escalator-58tw74js.js → knowledge-escalator-7q59skqg.js} +3 -3
  26. package/dist/cli/{knowledge-events-knr0pfq4.js → knowledge-events-3nwfdpq7.js} +1 -1
  27. package/dist/cli/{knowledge-store-e2srcd89.js → knowledge-store-0d83rhh3.js} +1 -1
  28. package/dist/cli/{knowledge-validator-1dtj02q8.js → knowledge-validator-6mfx91a2.js} +4 -4
  29. package/dist/cli/{scan-cursor-7tqsvbp8.js → scan-cursor-rc8q12ss.js} +2 -2
  30. package/dist/cli/{schema-b046zss2.js → schema-n9eaxp3a.js} +1 -1
  31. package/dist/cli/{skill-generator-bvph9d98.js → skill-generator-q7c6vadg.js} +5 -5
  32. package/dist/hooks/compaction-customizer.d.ts +8 -0
  33. package/dist/index.js +5 -5
  34. package/package.json +1 -1
@@ -16,13 +16,13 @@ import {
16
16
  } from "./index-1m1ksyqt.js";
17
17
  import {
18
18
  stableCanonicalStringify
19
- } from "./index-x6mtyj6q.js";
19
+ } from "./index-wf35ka4z.js";
20
20
  import {
21
21
  detectStraySwarmDirs,
22
22
  readDoctorArtifact,
23
23
  removeStraySwarmDir,
24
24
  runConfigDoctor
25
- } from "./index-chx92bes.js";
25
+ } from "./index-xz8f1n1a.js";
26
26
  import {
27
27
  MAX_TRANSIENT_RETRIES,
28
28
  archiveEvidence,
@@ -122,15 +122,15 @@ import {
122
122
  retireSkill,
123
123
  selectCandidateEntries,
124
124
  syncBundledProjectSkillsIfMissingAsync
125
- } from "./index-9txca231.js";
125
+ } from "./index-7kdd75se.js";
126
126
  import {
127
127
  readRecentEscalations
128
- } from "./index-z6md3t8m.js";
128
+ } from "./index-jvk119ck.js";
129
129
  import {
130
130
  alreadyCuratedThisGeneration,
131
131
  claimNextScanBatch,
132
132
  resolveCohortId
133
- } from "./index-yt3vz0e1.js";
133
+ } from "./index-gtbmabws.js";
134
134
  import {
135
135
  CURATOR_INIT_PROMPT,
136
136
  CURATOR_PHASE_PROMPT,
@@ -222,11 +222,11 @@ import {
222
222
  validateActionableFields,
223
223
  validateLesson,
224
224
  validateSkillPath
225
- } from "./index-1j5my2qy.js";
225
+ } from "./index-8n4c3vec.js";
226
226
  import {
227
227
  authorizeCuration,
228
228
  buildConfigFingerprintInput
229
- } from "./index-t59cdg48.js";
229
+ } from "./index-p9dsb0tw.js";
230
230
  import {
231
231
  cohortConfigFingerprint
232
232
  } from "./index-rtry5xyf.js";
@@ -259,7 +259,7 @@ import {
259
259
  transactFile,
260
260
  transactKnowledge,
261
261
  wordBigrams
262
- } from "./index-325zmfyj.js";
262
+ } from "./index-qksjaxpd.js";
263
263
  import {
264
264
  MAX_EVENT_LOG_ENTRIES,
265
265
  _internals,
@@ -269,7 +269,7 @@ import {
269
269
  recordHiveKnowledgeEvent,
270
270
  recordKnowledgeEvent,
271
271
  resolveKnowledgeEventsPath
272
- } from "./index-jfp1bgt1.js";
272
+ } from "./index-n8jncheh.js";
273
273
  import {
274
274
  resolveHiveDataDir,
275
275
  resolveHiveEventsPath,
@@ -313,7 +313,7 @@ import {
313
313
  init_loader,
314
314
  loadPluginConfig,
315
315
  loadPluginConfigWithMeta
316
- } from "./index-0tevsq1a.js";
316
+ } from "./index-8bnzzv3b.js";
317
317
  import {
318
318
  RetrospectiveEvidenceSchema
319
319
  } from "./index-gprxjmm7.js";
@@ -345,7 +345,7 @@ import {
345
345
  package_default,
346
346
  resolveAutoReviewConfig,
347
347
  stripKnownSwarmPrefix
348
- } from "./index-bmmzfrc7.js";
348
+ } from "./index-7d5jseea.js";
349
349
  import {
350
350
  AGENT_TOOL_MAP,
351
351
  ALL_AGENT_NAMES,
@@ -22270,7 +22270,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
22270
22270
  };
22271
22271
  }
22272
22272
  async function sweepActiveNearDuplicates(directory, options = {}) {
22273
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vjqe1z2w.js");
22273
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-j1xmren9.js");
22274
22274
  const { config } = loadPluginConfigWithMeta2(directory);
22275
22275
  const sweepConfig = config.learning?.dedup_sweep;
22276
22276
  if (sweepConfig?.enabled === false)
@@ -23354,7 +23354,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
23354
23354
  }
23355
23355
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
23356
23356
  try {
23357
- const skillModule = await import("./skill-generator-bvph9d98.js");
23357
+ const skillModule = await import("./skill-generator-q7c6vadg.js");
23358
23358
  for (const cand of skillCandidates) {
23359
23359
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
23360
23360
  continue;
@@ -23814,7 +23814,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
23814
23814
  } catch {}
23815
23815
  }
23816
23816
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
23817
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-58tw74js.js");
23817
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-7q59skqg.js");
23818
23818
  for (const { id } of contradictedEntries) {
23819
23819
  try {
23820
23820
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -24633,7 +24633,7 @@ async function runCuratorPostMortem(directory, options = {}) {
24633
24633
  warnings.push("Failed to collect knowledge summary.");
24634
24634
  }
24635
24635
  try {
24636
- const { getScanStatus } = await import("./scan-cursor-7tqsvbp8.js");
24636
+ const { getScanStatus } = await import("./scan-cursor-rc8q12ss.js");
24637
24637
  const scanStatus = await getScanStatus(directory);
24638
24638
  if (scanStatus.remaining_estimate > 0) {
24639
24639
  warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
@@ -24805,9 +24805,9 @@ var _internals28 = {
24805
24805
  verifyPostMortemKnowledgeActions,
24806
24806
  repairPostMortemActions,
24807
24807
  loadDefaultKnowledgeConfig: async (directory) => {
24808
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-b046zss2.js");
24808
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-n9eaxp3a.js");
24809
24809
  try {
24810
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vjqe1z2w.js");
24810
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-j1xmren9.js");
24811
24811
  const loaded = loadPluginConfigWithMeta2(directory);
24812
24812
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
24813
24813
  } catch {
@@ -24815,11 +24815,11 @@ var _internals28 = {
24815
24815
  }
24816
24816
  },
24817
24817
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
24818
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-zp5qq24c.js");
24818
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-3zpdqt9r.js");
24819
24819
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
24820
24820
  },
24821
24821
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
24822
- const { checkHivePromotions } = await import("./hive-promoter-0yg3gxg6.js");
24822
+ const { checkHivePromotions } = await import("./hive-promoter-af5yaxvt.js");
24823
24823
  return checkHivePromotions(entries, knowledgeConfig, directory);
24824
24824
  },
24825
24825
  applyProposalTriage: async (directory, triage) => {
@@ -24828,7 +24828,7 @@ var _internals28 = {
24828
24828
  activateProposal,
24829
24829
  listSkills: listSkills2,
24830
24830
  sanitizeSlug
24831
- } = await import("./skill-generator-bvph9d98.js");
24831
+ } = await import("./skill-generator-q7c6vadg.js");
24832
24832
  const result = {
24833
24833
  approved: [],
24834
24834
  rejected: [],
@@ -26053,9 +26053,9 @@ function hashContent(content) {
26053
26053
  return createHash9("sha1").update(content).digest("hex");
26054
26054
  }
26055
26055
  async function loadConfigForPolicyCurator(directory) {
26056
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-b046zss2.js");
26056
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-n9eaxp3a.js");
26057
26057
  try {
26058
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vjqe1z2w.js");
26058
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-j1xmren9.js");
26059
26059
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
26060
26060
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
26061
26061
  } catch {
@@ -30064,7 +30064,7 @@ async function runFinalizeStage(ctx) {
30064
30064
  }
30065
30065
  }
30066
30066
  try {
30067
- const { CuratorConfigSchema: CCS } = await import("./schema-b046zss2.js");
30067
+ const { CuratorConfigSchema: CCS } = await import("./schema-n9eaxp3a.js");
30068
30068
  const { config: pmLoadedConfig } = _internals39.loadPluginConfigWithMeta(ctx.directory);
30069
30069
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
30070
30070
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -32337,9 +32337,9 @@ var _internals44 = {
32337
32337
  loadPluginConfigWithMeta,
32338
32338
  loadCuratorDeps: async () => {
32339
32339
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
32340
- import("./schema-b046zss2.js"),
32341
- import("./curator-zp5qq24c.js"),
32342
- import("./curator-llm-factory-pr4bdfqw.js")
32340
+ import("./schema-n9eaxp3a.js"),
32341
+ import("./curator-3zpdqt9r.js"),
32342
+ import("./curator-llm-factory-2h0xb62t.js")
32343
32343
  ]);
32344
32344
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
32345
32345
  }
@@ -33244,7 +33244,7 @@ async function computeCurationDiagnostics(directory, entries) {
33244
33244
  let scanCompleted = false;
33245
33245
  let scanRemaining = 0;
33246
33246
  try {
33247
- const { getScanStatus } = await import("./scan-cursor-7tqsvbp8.js");
33247
+ const { getScanStatus } = await import("./scan-cursor-rc8q12ss.js");
33248
33248
  const status = await getScanStatus(directory);
33249
33249
  scanGeneration = status.generation;
33250
33250
  scanCompleted = status.completed;
@@ -33254,17 +33254,17 @@ async function computeCurationDiagnostics(directory, entries) {
33254
33254
  try {
33255
33255
  const { isLinked: isLinked2 } = await import("./knowledge-link-q46k9adx.js");
33256
33256
  if (isLinked2(directory)) {
33257
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-b046zss2.js");
33257
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-n9eaxp3a.js");
33258
33258
  let config;
33259
33259
  try {
33260
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vjqe1z2w.js");
33260
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-j1xmren9.js");
33261
33261
  const loaded = loadPluginConfigWithMeta2(directory);
33262
33262
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
33263
33263
  } catch {
33264
33264
  config = KnowledgeConfigSchema2.parse({});
33265
33265
  }
33266
33266
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
33267
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-7n6t8he4.js");
33267
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-d52h4g8t.js");
33268
33268
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
33269
33269
  const cohortFp = await readCohortConfigFingerprint(directory);
33270
33270
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -34475,7 +34475,7 @@ async function handleDoctorCommand(directory, args) {
34475
34475
  const result = runConfigDoctor(config, directory);
34476
34476
  let output;
34477
34477
  if (enableAutoFix && result.hasAutoFixableIssues) {
34478
- const { runConfigDoctorWithFixes } = await import("./config-doctor-shc0n4q1.js");
34478
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-fnmfd35x.js");
34479
34479
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
34480
34480
  applyLossy: true
34481
34481
  });
@@ -57814,7 +57814,7 @@ function buildDetailedHelp(commandName, entry) {
57814
57814
  async function handleHelpCommand(ctx) {
57815
57815
  const targetCommand = ctx.args.join(" ");
57816
57816
  if (!targetCommand) {
57817
- const { buildHelpText } = await import("./index-4rje8dc0.js");
57817
+ const { buildHelpText } = await import("./index-pj9h75cc.js");
57818
57818
  return buildHelpText();
57819
57819
  }
57820
57820
  const tokens = targetCommand.split(/\s+/);
@@ -57823,7 +57823,7 @@ async function handleHelpCommand(ctx) {
57823
57823
  return _internals18.buildDetailedHelp(resolved.key, resolved.entry);
57824
57824
  }
57825
57825
  const similar = _internals18.findSimilarCommands(targetCommand);
57826
- const { buildHelpText: fullHelp } = await import("./index-4rje8dc0.js");
57826
+ const { buildHelpText: fullHelp } = await import("./index-pj9h75cc.js");
57827
57827
  if (similar.length > 0) {
57828
57828
  return `Command '/swarm ${targetCommand}' not found.
57829
57829
 
@@ -58000,7 +58000,7 @@ var COMMAND_REGISTRY = {
58000
58000
  },
58001
58001
  "guardrail explain": {
58002
58002
  handler: async (ctx) => {
58003
- const { handleGuardrailExplain } = await import("./guardrail-explain-thddj6jv.js");
58003
+ const { handleGuardrailExplain } = await import("./guardrail-explain-yktan15c.js");
58004
58004
  return handleGuardrailExplain(ctx.directory, ctx.args);
58005
58005
  },
58006
58006
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -58010,7 +58010,7 @@ var COMMAND_REGISTRY = {
58010
58010
  },
58011
58011
  "guardrail-explain": {
58012
58012
  handler: async (ctx) => {
58013
- const { handleGuardrailExplain } = await import("./guardrail-explain-thddj6jv.js");
58013
+ const { handleGuardrailExplain } = await import("./guardrail-explain-yktan15c.js");
58014
58014
  return handleGuardrailExplain(ctx.directory, ctx.args);
58015
58015
  },
58016
58016
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -58020,7 +58020,7 @@ var COMMAND_REGISTRY = {
58020
58020
  },
58021
58021
  "guardrail-log": {
58022
58022
  handler: async (ctx) => {
58023
- const { handleGuardrailLog } = await import("./guardrail-log-w8fmxe1x.js");
58023
+ const { handleGuardrailLog } = await import("./guardrail-log-82da8y5a.js");
58024
58024
  return handleGuardrailLog(ctx.directory, ctx.args);
58025
58025
  },
58026
58026
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
702
702
  const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
703
703
  if (atFloor.length === 0 && recovered.length === 0)
704
704
  return;
705
- const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-knr0pfq4.js");
705
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-3nwfdpq7.js");
706
706
  const rollups = await readKnowledgeCounterRollups(directory);
707
707
  const flagIds = new Set;
708
708
  for (const e of atFloor) {
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
769
769
  });
770
770
  }
771
771
  if (action === "quarantine" && toQuarantine.length > 0) {
772
- const { quarantineEntry } = await import("./knowledge-validator-1dtj02q8.js");
773
- const { KnowledgeConfigSchema } = await import("./schema-b046zss2.js");
772
+ const { quarantineEntry } = await import("./knowledge-validator-6mfx91a2.js");
773
+ const { KnowledgeConfigSchema } = await import("./schema-n9eaxp3a.js");
774
774
  let config;
775
775
  try {
776
- const { loadPluginConfigWithMeta } = await import("./index-vjqe1z2w.js");
776
+ const { loadPluginConfigWithMeta } = await import("./index-j1xmren9.js");
777
777
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
778
778
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
779
779
  } catch {
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  init_schema,
17
17
  stripKnownSwarmPrefix
18
- } from "./index-bmmzfrc7.js";
18
+ } from "./index-7d5jseea.js";
19
19
  import {
20
20
  init_constants
21
21
  } from "./index-n408rw7n.js";
@@ -9,7 +9,7 @@ import {
9
9
  PluginConfigSchema,
10
10
  init_schema,
11
11
  stripKnownSwarmPrefix
12
- } from "./index-bmmzfrc7.js";
12
+ } from "./index-7d5jseea.js";
13
13
  import {
14
14
  ALL_AGENT_NAMES,
15
15
  init_constants
package/dist/cli/index.js CHANGED
@@ -6,19 +6,19 @@ import {
6
6
  getPluginConfigDir,
7
7
  getPluginLockFilePaths,
8
8
  resolveCommand
9
- } from "./index-n831qq2v.js";
9
+ } from "./index-q1q8b85k.js";
10
10
  import"./index-41hkt36g.js";
11
11
  import"./index-1m1ksyqt.js";
12
- import"./index-x6mtyj6q.js";
13
- import"./index-chx92bes.js";
12
+ import"./index-wf35ka4z.js";
13
+ import"./index-xz8f1n1a.js";
14
14
  import"./index-brh827g0.js";
15
15
  import"./index-yyyk63kk.js";
16
16
  import"./index-y8552snf.js";
17
17
  import"./index-4905hd2m.js";
18
18
  import"./index-134d35c1.js";
19
- import"./index-9txca231.js";
20
- import"./index-z6md3t8m.js";
21
- import"./index-yt3vz0e1.js";
19
+ import"./index-7kdd75se.js";
20
+ import"./index-jvk119ck.js";
21
+ import"./index-gtbmabws.js";
22
22
  import"./index-v2xrer41.js";
23
23
  import"./index-c8s9a3zh.js";
24
24
  import"./index-9ss2m4rs.js";
@@ -36,11 +36,11 @@ import"./index-74hpm6sh.js";
36
36
  import"./index-n0pja0qs.js";
37
37
  import"./index-8fwhhayc.js";
38
38
  import"./index-q1exe2b3.js";
39
- import"./index-1j5my2qy.js";
40
- import"./index-t59cdg48.js";
39
+ import"./index-8n4c3vec.js";
40
+ import"./index-p9dsb0tw.js";
41
41
  import"./index-rtry5xyf.js";
42
- import"./index-325zmfyj.js";
43
- import"./index-jfp1bgt1.js";
42
+ import"./index-qksjaxpd.js";
43
+ import"./index-n8jncheh.js";
44
44
  import"./index-ae75rja9.js";
45
45
  import"./index-rs1f1bh0.js";
46
46
  import"./index-h2waehqq.js";
@@ -48,7 +48,7 @@ import"./index-ed5ykebp.js";
48
48
  import"./index-hfvxhk4z.js";
49
49
  import"./index-7g4c7s5r.js";
50
50
  import"./index-4nt52yr9.js";
51
- import"./index-0tevsq1a.js";
51
+ import"./index-8bnzzv3b.js";
52
52
  import"./index-gprxjmm7.js";
53
53
  import"./index-n832052r.js";
54
54
  import"./index-d181x9zr.js";
@@ -57,7 +57,7 @@ import"./index-zgwm4ryv.js";
57
57
  import {
58
58
  init_package,
59
59
  package_default
60
- } from "./index-bmmzfrc7.js";
60
+ } from "./index-7d5jseea.js";
61
61
  import {
62
62
  DEFAULT_AGENT_CONFIGS,
63
63
  init_constants
@@ -8,9 +8,9 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-z6md3t8m.js";
12
- import"./index-325zmfyj.js";
13
- import"./index-jfp1bgt1.js";
11
+ } from "./index-jvk119ck.js";
12
+ import"./index-qksjaxpd.js";
13
+ import"./index-n8jncheh.js";
14
14
  import"./index-ae75rja9.js";
15
15
  import"./index-rs1f1bh0.js";
16
16
  import"./index-h2waehqq.js";
@@ -28,7 +28,7 @@ import {
28
28
  resolveKnowledgeCounterBaselinePath,
29
29
  resolveKnowledgeEventsPath,
30
30
  resolveLegacyApplicationLogPath
31
- } from "./index-jfp1bgt1.js";
31
+ } from "./index-n8jncheh.js";
32
32
  import"./index-ae75rja9.js";
33
33
  import"./index-rs1f1bh0.js";
34
34
  import"./index-h2waehqq.js";
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-325zmfyj.js";
44
+ } from "./index-qksjaxpd.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,11 +23,11 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-1j5my2qy.js";
27
- import"./index-t59cdg48.js";
26
+ } from "./index-8n4c3vec.js";
27
+ import"./index-p9dsb0tw.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-325zmfyj.js";
30
- import"./index-jfp1bgt1.js";
29
+ import"./index-qksjaxpd.js";
30
+ import"./index-n8jncheh.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-rs1f1bh0.js";
33
33
  import"./index-h2waehqq.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-yt3vz0e1.js";
8
- import"./index-325zmfyj.js";
7
+ } from "./index-gtbmabws.js";
8
+ import"./index-qksjaxpd.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-rs1f1bh0.js";
11
11
  import"./index-h2waehqq.js";
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-bmmzfrc7.js";
99
+ } from "./index-7d5jseea.js";
100
100
  import"./index-n408rw7n.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -33,12 +33,12 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-9txca231.js";
37
- import"./index-1j5my2qy.js";
38
- import"./index-t59cdg48.js";
36
+ } from "./index-7kdd75se.js";
37
+ import"./index-8n4c3vec.js";
38
+ import"./index-p9dsb0tw.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-325zmfyj.js";
41
- import"./index-jfp1bgt1.js";
40
+ import"./index-qksjaxpd.js";
41
+ import"./index-n8jncheh.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-rs1f1bh0.js";
44
44
  import"./index-h2waehqq.js";
@@ -13,6 +13,14 @@ import type { PluginConfig } from '../config';
13
13
  * (`- [ ] <id>: ... ← CURRENT`), and the legacy `extractIncompleteTasks` path
14
14
  * relays it verbatim whenever plan.md was derived from or hand-written in the
15
15
  * canonical ` ← CURRENT` format, so the strip is applied to both paths.
16
+ *
17
+ * Callers must pass TASK_EXTRACT_PRE_STRIP_CHARS to the extractor so the full
18
+ * marker always fits before this function runs. `(?:\.\.\.)?` is defense-in-depth
19
+ * for hand-authored plan.md lines that end with `← CURRENT...` — the programmatic
20
+ * extractor never appends `...` when TASK_EXTRACT_PRE_STRIP_CHARS is MAX_SAFE_INTEGER.
21
+ *
22
+ * Uses `[^\S\r\n]*` (horizontal whitespace only) to avoid O(n²) regex backtracking
23
+ * across line boundaries that `\s*` would cause on large inputs.
16
24
  */
17
25
  declare function stripTaskActionMarkers(value: string): string;
18
26
  interface CompactionFact {