opencode-swarm 7.142.0 → 7.143.0

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 (75) hide show
  1. package/.opencode/skills/execute/SKILL.md +1 -1
  2. package/.opencode/skills/phase-wrap/SKILL.md +2 -2
  3. package/dist/cli/{config-doctor-7xqerhnw.js → config-doctor-t1r5qwxk.js} +2 -2
  4. package/dist/cli/{core-nwmpg9t8.js → core-e30p4vz9.js} +1 -1
  5. package/dist/cli/{curation-policy-bzk13bj2.js → curation-policy-pkb2eeb1.js} +6 -6
  6. package/dist/cli/{curator-3wsaz7ay.js → curator-ctasdmmq.js} +29 -29
  7. package/dist/cli/curator-drift-49p3jnte.js +1 -1
  8. package/dist/cli/{curator-llm-factory-kbkddqk2.js → curator-llm-factory-y9xg7k6k.js} +29 -29
  9. package/dist/cli/{evidence-summary-service-wwfvpvxq.js → evidence-summary-service-7bmg5r8y.js} +13 -11
  10. package/dist/cli/{gate-evidence-3mazsjrq.js → gate-evidence-1v0cj4c6.js} +9 -5
  11. package/dist/cli/{guardrail-explain-rmz1yjzw.js → guardrail-explain-6x9psbwz.js} +30 -30
  12. package/dist/cli/{guardrail-log-8m4dnkgd.js → guardrail-log-pma4m8vr.js} +4 -4
  13. package/dist/cli/{hive-promoter-ss8dm52r.js → hive-promoter-g16grej1.js} +29 -29
  14. package/dist/cli/{index-kkxt9g8d.js → index-15h4dpsn.js} +3 -3
  15. package/dist/cli/{index-ae0j9qpc.js → index-1g473508.js} +31 -31
  16. package/dist/cli/{index-67vxmh1v.js → index-28jr28fg.js} +9 -9
  17. package/dist/cli/{index-vwyamc2d.js → index-2n8y67b4.js} +2 -2
  18. package/dist/cli/{index-ad93kz8m.js → index-336ra397.js} +1 -1
  19. package/dist/cli/{index-8g5aa1s7.js → index-6texwk9p.js} +2 -2
  20. package/dist/cli/{index-520ev2d7.js → index-7c4bxgdh.js} +1 -1
  21. package/dist/cli/{index-99eftm6b.js → index-82m5kwtd.js} +1 -1
  22. package/dist/cli/{index-mbeqw4cb.js → index-96h1v2jw.js} +1 -1
  23. package/dist/cli/{index-eytxcbm8.js → index-9v53ez3a.js} +6 -6
  24. package/dist/cli/{index-em1kfnss.js → index-erfnw81g.js} +3 -3
  25. package/dist/cli/index-fhxh447f.js +1372 -0
  26. package/dist/cli/{index-z7eeq0tt.js → index-fprxtq3q.js} +137 -36
  27. package/dist/cli/{index-e4y7mfp0.js → index-g0pbvfhw.js} +1 -1
  28. package/dist/cli/{index-hncahn40.js → index-htmsm37t.js} +5 -5
  29. package/dist/cli/{index-bd2h7r2w.js → index-k31en0ja.js} +3 -3
  30. package/dist/cli/{index-0dvx8f03.js → index-k92cagmt.js} +2 -2
  31. package/dist/cli/{index-26ynh10w.js → index-keskta0w.js} +9 -9
  32. package/dist/cli/{index-tzbd5050.js → index-kxpz3ncd.js} +4 -4
  33. package/dist/cli/{index-56knmbwf.js → index-m4v9kab1.js} +2615 -2048
  34. package/dist/cli/{index-2p3h7det.js → index-n96ay8w4.js} +1 -1
  35. package/dist/cli/{index-v8f3wa0e.js → index-q8st0mtw.js} +1 -1
  36. package/dist/cli/{index-sh3r66tt.js → index-r0tn9kpa.js} +1 -1
  37. package/dist/cli/{index-338zfvff.js → index-s2rcz51a.js} +1 -1
  38. package/dist/cli/{index-hgydkvty.js → index-s89y08tk.js} +2 -2
  39. package/dist/cli/{index-amepv9dh.js → index-sb16w4wj.js} +212 -10
  40. package/dist/cli/{index-ycd63sz3.js → index-tq5s07ta.js} +1 -1
  41. package/dist/cli/{index-gcn7tsr3.js → index-w7x7qxz2.js} +1 -1
  42. package/dist/cli/{index-7c5xtcfm.js → index-x6qq39e9.js} +3 -3
  43. package/dist/cli/{index-78p6nvcv.js → index-y9h2vqf6.js} +1 -1
  44. package/dist/cli/index.js +29 -29
  45. package/dist/cli/{knowledge-escalator-w235g6ce.js → knowledge-escalator-1b2hmcgn.js} +12 -12
  46. package/dist/cli/{knowledge-events-amn94djz.js → knowledge-events-vx4fqjzb.js} +10 -10
  47. package/dist/cli/{knowledge-link-xned4jbm.js → knowledge-link-fn5j3r4q.js} +5 -5
  48. package/dist/cli/{knowledge-store-3vb855ta.js → knowledge-store-t2qyr4yr.js} +6 -6
  49. package/dist/cli/{knowledge-validator-a8c185hw.js → knowledge-validator-c7871bjc.js} +8 -8
  50. package/dist/cli/{pending-delegations-8ccjby4b.js → pending-delegations-0hb97ps1.js} +4 -4
  51. package/dist/cli/{pr-subscriptions-gn7r3bg7.js → pr-subscriptions-b63t252j.js} +4 -4
  52. package/dist/cli/{runner-rhgkhy5e.js → runner-hrg7h2h4.js} +6 -6
  53. package/dist/cli/{scan-cursor-vjbjm140.js → scan-cursor-pnbpfjjc.js} +7 -7
  54. package/dist/cli/{schema-dd8mzm6k.js → schema-47xpcghn.js} +1 -1
  55. package/dist/cli/{scope-persistence-8j8d4874.js → scope-persistence-wxx1jpfw.js} +6 -6
  56. package/dist/cli/{skill-generator-a4apb7c2.js → skill-generator-s456hfta.js} +14 -14
  57. package/dist/cli/{telemetry-k9nxy24s.js → telemetry-xyfb5vm8.js} +1 -1
  58. package/dist/cli/{worktree-collision-ownership-183jk2dv.js → worktree-collision-ownership-ymdxetnn.js} +4 -4
  59. package/dist/cli/{worktree-isolation-j71zz7g9.js → worktree-isolation-d0xgp705.js} +29 -29
  60. package/dist/commands/close.d.ts +20 -2
  61. package/dist/gate-evidence.d.ts +24 -1
  62. package/dist/hooks/delegation-gate.d.ts +65 -0
  63. package/dist/index.js +462 -458
  64. package/dist/plan/ledger.d.ts +31 -1
  65. package/dist/plan/manager.d.ts +1 -0
  66. package/dist/state.d.ts +1 -1
  67. package/dist/workflow/close-terminal.d.ts +22 -0
  68. package/dist/workflow/coder-settlement.d.ts +0 -23
  69. package/dist/workflow/task-repair.d.ts +1 -0
  70. package/dist/workflow/task-terminal.d.ts +18 -23
  71. package/dist/workflow/workflow-wal-file.d.ts +20 -0
  72. package/dist/workflow/workflow-wal-schema.d.ts +67 -0
  73. package/dist/worktree/merge.d.ts +17 -0
  74. package/package.json +1 -1
  75. package/dist/cli/index-h2vpk15y.js +0 -623
@@ -6,30 +6,10 @@ import {
6
6
  EvaluationRunV1Schema,
7
7
  GateAuditResultV1Schema,
8
8
  getProtectedEvaluationRunIds
9
- } from "./index-0dvx8f03.js";
9
+ } from "./index-k92cagmt.js";
10
10
  import {
11
11
  readEffectiveSpecSync
12
12
  } from "./index-9ss2m4rs.js";
13
- import {
14
- LedgerStaleWriterError,
15
- appendLedgerEvent,
16
- computeCurrentPlanHash,
17
- computePlanHash,
18
- derivePlanId,
19
- derivePlanIdentityHash,
20
- getLatestLedgerSeq,
21
- initLedger,
22
- ledgerExists,
23
- loadLastApprovedPlan,
24
- normalizeExecutionProfileForHash,
25
- readLedgerEvents,
26
- readLedgerEventsWithIntegrity,
27
- replaceTruncatedLedgerWithRecoveryRoot,
28
- replayFromLedger,
29
- replayFromLedgerWithStatus,
30
- takeSnapshotEvent,
31
- takeSnapshotWithRetry
32
- } from "./index-amepv9dh.js";
33
13
  import {
34
14
  getWorktreeMergeFailure
35
15
  } from "./index-zsrtt42s.js";
@@ -38,7 +18,7 @@ import {
38
18
  readTaskEvidence,
39
19
  readTaskEvidenceRaw,
40
20
  sanitizeTaskId
41
- } from "./index-h2vpk15y.js";
21
+ } from "./index-fhxh447f.js";
42
22
  import {
43
23
  _internals,
44
24
  buildDefaultPolicy,
@@ -50,37 +30,57 @@ import {
50
30
  readSwarmFileAsync,
51
31
  validateSwarmPath
52
32
  } from "./index-k46me75h.js";
33
+ import {
34
+ invalidateCachedArtifact,
35
+ readCachedParsedFile
36
+ } from "./index-ed5ykebp.js";
37
+ import {
38
+ EVIDENCE_MAX_JSON_BYTES,
39
+ EvidenceBundleSchema,
40
+ EvidenceSchema
41
+ } from "./index-gprxjmm7.js";
42
+ import {
43
+ LedgerStaleWriterError,
44
+ appendLedgerEvent,
45
+ computeCurrentPlanHash,
46
+ computePlanHash,
47
+ derivePlanId,
48
+ derivePlanIdentityHash,
49
+ getLatestLedgerSeq,
50
+ initLedger,
51
+ ledgerExists,
52
+ loadLastApprovedPlan,
53
+ normalizeExecutionProfileForHash,
54
+ readLedgerEvents,
55
+ readLedgerEventsWithIntegrity,
56
+ replaceTruncatedLedgerWithRecoveryRoot,
57
+ replayFromLedger,
58
+ replayFromLedgerWithStatus,
59
+ takeSnapshotEvent,
60
+ takeSnapshotWithRetry
61
+ } from "./index-sb16w4wj.js";
53
62
  import {
54
63
  assertProjectRoot,
55
64
  tryAcquireLock,
56
65
  withEvidenceLock
57
- } from "./index-bd2h7r2w.js";
66
+ } from "./index-k31en0ja.js";
58
67
  import {
59
- invalidateCachedArtifact,
60
- readCachedParsedFile
61
- } from "./index-ed5ykebp.js";
68
+ emit
69
+ } from "./index-s2rcz51a.js";
62
70
  import {
63
71
  bunHash,
64
72
  bunWrite,
65
73
  mergeEnvForChild
66
74
  } from "./index-4nt52yr9.js";
67
- import {
68
- EVIDENCE_MAX_JSON_BYTES,
69
- EvidenceBundleSchema,
70
- EvidenceSchema
71
- } from "./index-gprxjmm7.js";
72
75
  import {
73
76
  PlanSchema
74
- } from "./index-ad93kz8m.js";
77
+ } from "./index-336ra397.js";
75
78
  import {
76
79
  criticalWarn,
77
80
  error,
78
81
  init_logger,
79
82
  warn
80
83
  } from "./index-zgwm4ryv.js";
81
- import {
82
- emit
83
- } from "./index-338zfvff.js";
84
84
  import {
85
85
  ZodError,
86
86
  init_zod
@@ -3841,6 +3841,107 @@ ${markdown}`;
3841
3841
  } catch {}
3842
3842
  }
3843
3843
  }
3844
+ async function updateTaskStatus(directory, taskId, status, options) {
3845
+ assertProjectRoot(directory);
3846
+ const derivePhaseStatusFromTasks = (tasks) => {
3847
+ if (tasks.length > 0 && tasks.every((task) => task.status === "completed")) {
3848
+ return "complete";
3849
+ }
3850
+ if (tasks.some((task) => task.status === "in_progress")) {
3851
+ return "in_progress";
3852
+ }
3853
+ if (tasks.some((task) => task.status === "blocked")) {
3854
+ return "blocked";
3855
+ }
3856
+ return "pending";
3857
+ };
3858
+ {
3859
+ const currentPlan = await _internals9.loadPlanJsonOnly(directory);
3860
+ if (currentPlan) {
3861
+ const currentTask = currentPlan.phases.flatMap((p) => p.tasks).find((t) => t.id === taskId);
3862
+ const settled = currentTask && currentTask.status !== "pending" && currentTask.status !== "in_progress";
3863
+ const auditedRepair = status === "in_progress" && options?.force === true;
3864
+ if (settled && status !== currentTask.status && !auditedRepair && options?.terminalReconciliation !== true) {
3865
+ warn(`[updateTaskStatus] refusing backward transition of settled task ${taskId} (${currentTask.status}) to ${status} without audited repair`);
3866
+ return currentPlan;
3867
+ }
3868
+ }
3869
+ }
3870
+ const MAX_OUTER_RETRIES = 1;
3871
+ for (let attempt = 0;attempt <= MAX_OUTER_RETRIES; attempt++) {
3872
+ const plan = await _internals9.loadPlan(directory);
3873
+ if (plan === null) {
3874
+ throw new Error(`Plan not found in directory: ${directory}`);
3875
+ }
3876
+ let taskFound = false;
3877
+ const updatedPhases = plan.phases.map((phase) => {
3878
+ const updatedTasks = phase.tasks.map((task) => {
3879
+ if (task.id === taskId) {
3880
+ taskFound = true;
3881
+ return { ...task, status };
3882
+ }
3883
+ return task;
3884
+ });
3885
+ return {
3886
+ ...phase,
3887
+ status: derivePhaseStatusFromTasks(updatedTasks),
3888
+ tasks: updatedTasks
3889
+ };
3890
+ });
3891
+ if (!taskFound) {
3892
+ throw new Error(`Task not found: ${taskId}`);
3893
+ }
3894
+ const updatedPlan = { ...plan, phases: updatedPhases };
3895
+ try {
3896
+ await savePlan(directory, updatedPlan, {
3897
+ preserveCompletedStatuses: false,
3898
+ planLockAlreadyHeld: options?.planLockAlreadyHeld
3899
+ });
3900
+ if (status === "completed" || status === "blocked") {
3901
+ const recordedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
3902
+ try {
3903
+ await _internals9.recordTaskAttempt(directory, {
3904
+ taskId,
3905
+ agent: "plan-status",
3906
+ outcome: status === "completed" ? "pass" : "fail",
3907
+ failureReason: status === "blocked" ? recordedTask?.blocked_reason ?? "task marked blocked (no blocked_reason recorded)" : undefined,
3908
+ fileTargets: recordedTask?.files_touched ?? []
3909
+ });
3910
+ } catch (err) {
3911
+ warn(`[plan/manager] run-memory record for ${taskId} failed: ${err instanceof Error ? err.message : String(err)}`);
3912
+ }
3913
+ }
3914
+ if (status === "completed" && _internals9.isGitRepo(directory) && _internals9.isEpicModeActiveForProject(directory)) {
3915
+ const mergeFailure = _internals9.getWorktreeMergeFailure(taskId);
3916
+ if (mergeFailure) {
3917
+ criticalWarn(`[plan/manager] Rule 2 auto-commit SKIPPED for ${taskId}: worktree merge-back ${mergeFailure.outcome} at stage '${mergeFailure.stage}'. The task's changes are NOT in the main tree, so no completion marker is written (Rule 3 must not treat this task as satisfied). Resolve the preserved worktree, then re-run the task. Detail: ${mergeFailure.message}`);
3918
+ return updatedPlan;
3919
+ }
3920
+ try {
3921
+ let taskDescription;
3922
+ for (const phase of updatedPlan.phases) {
3923
+ const found = phase.tasks.find((t) => t.id === taskId);
3924
+ if (found) {
3925
+ taskDescription = found.description;
3926
+ break;
3927
+ }
3928
+ }
3929
+ const canonicalScope = _internals9.readTaskScopes(directory, taskId);
3930
+ await _internals9.commitTaskCompletion(directory, taskId, taskDescription, canonicalScope ?? undefined);
3931
+ } catch (commitErr) {
3932
+ criticalWarn(`[plan/manager] Rule 2 auto-commit for ${taskId} threw (non-fatal): ${commitErr instanceof Error ? commitErr.message : String(commitErr)}`);
3933
+ }
3934
+ }
3935
+ return updatedPlan;
3936
+ } catch (error2) {
3937
+ if (error2 instanceof PlanConcurrentModificationError && attempt < MAX_OUTER_RETRIES) {
3938
+ continue;
3939
+ }
3940
+ throw error2;
3941
+ }
3942
+ }
3943
+ throw new Error("updateTaskStatus: unexpected loop exit");
3944
+ }
3844
3945
  function derivePlanMarkdown(plan) {
3845
3946
  const statusMap = {
3846
3947
  pending: "PENDING",
@@ -5008,4 +5109,4 @@ function mergeDurableGateEntriesFromEvidence(taskId, entries, evidence) {
5008
5109
  return merged;
5009
5110
  }
5010
5111
 
5011
- export { projectDbExists, getProjectDb, closeProjectDb, buildTaskCompletionDescriptor, ensureTaskCheckpointReceipt, updateTaskCheckpointReceipt, isValidEnvKey, getExecutor, init_executor, MAX_TRANSIENT_RETRIES, isTransientSpawnError, transientBackoff, getGitRepositoryStatus, isGitRepo, getDefaultBaseBranch, detectDefaultRemoteBranch, resetToRemoteBranch, resetToMainAfterMerge, containsPathTraversal, containsControlChars, isStateUnreadable, loadEpicSessionState, isEpicModeActive, enableEpicMode, disableEpicMode, normalizePath, pathsConflict, isGlobalFile, isProtectedPath, readTaskScopes, loadPlanJsonOnly, loadPlan, savePlan, closePlanTerminalState, derivePlanMarkdown, isValidEvidenceType, sanitizeTaskId2 as sanitizeTaskId, validateProjectRoot, saveEvidence, loadEvidence, listEvidenceTaskIds, checkRequirementCoverage, archiveEvidence, readDurableGateEvidence, getDurableGateEvidenceStatus, getDurableGateEvidenceStatusForTask, mergeDurableGateEntriesFromEvidence };
5112
+ export { projectDbExists, getProjectDb, closeProjectDb, buildTaskCompletionDescriptor, ensureTaskCheckpointReceipt, updateTaskCheckpointReceipt, isValidEnvKey, getExecutor, init_executor, MAX_TRANSIENT_RETRIES, isTransientSpawnError, transientBackoff, getGitRepositoryStatus, isGitRepo, getDefaultBaseBranch, detectDefaultRemoteBranch, resetToRemoteBranch, resetToMainAfterMerge, containsPathTraversal, containsControlChars, isStateUnreadable, loadEpicSessionState, isEpicModeActive, enableEpicMode, disableEpicMode, normalizePath, pathsConflict, isGlobalFile, isProtectedPath, readTaskScopes, loadPlanJsonOnly, loadPlan, savePlan, closePlanTerminalState, updateTaskStatus, derivePlanMarkdown, isValidEvidenceType, sanitizeTaskId2 as sanitizeTaskId, validateProjectRoot, saveEvidence, loadEvidence, listEvidenceTaskIds, checkRequirementCoverage, archiveEvidence, readDurableGateEvidence, getDurableGateEvidenceStatus, getDurableGateEvidenceStatusForTask, mergeDurableGateEntriesFromEvidence };
@@ -86,7 +86,7 @@ var _internals = {
86
86
  symlinkSync: fs.symlinkSync
87
87
  },
88
88
  writeScopeToDisk: async (directory, taskId, files) => {
89
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-8j8d4874.js");
89
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-wxx1jpfw.js");
90
90
  return realWrite(directory, taskId, files);
91
91
  },
92
92
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-67vxmh1v.js";
6
+ } from "./index-28jr28fg.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-26ynh10w.js";
14
+ } from "./index-keskta0w.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-a8c185hw.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-c7871bjc.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-dd8mzm6k.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-kkxt9g8d.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-47xpcghn.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-15h4dpsn.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  require_proper_lockfile
4
4
  } from "./index-7g4c7s5r.js";
5
+ import {
6
+ emit
7
+ } from "./index-s2rcz51a.js";
5
8
  import {
6
9
  init_logger,
7
10
  warn
8
11
  } from "./index-zgwm4ryv.js";
9
- import {
10
- emit
11
- } from "./index-338zfvff.js";
12
12
  import {
13
13
  __toESM
14
14
  } from "./index-a76rekgs.js";
@@ -9,11 +9,11 @@ import {
9
9
  } from "./index-y8552snf.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-em1kfnss.js";
12
+ } from "./index-erfnw81g.js";
13
13
  import {
14
14
  assertProjectRoot,
15
15
  withEvidenceLock
16
- } from "./index-bd2h7r2w.js";
16
+ } from "./index-k31en0ja.js";
17
17
  import {
18
18
  exports_external,
19
19
  init_zod
@@ -6,16 +6,16 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-gcn7tsr3.js";
9
+ } from "./index-w7x7qxz2.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-em1kfnss.js";
13
- import {
14
- require_proper_lockfile
15
- } from "./index-7g4c7s5r.js";
12
+ } from "./index-erfnw81g.js";
16
13
  import {
17
14
  readCachedParsedFile
18
15
  } from "./index-ed5ykebp.js";
16
+ import {
17
+ require_proper_lockfile
18
+ } from "./index-7g4c7s5r.js";
19
19
  import {
20
20
  init_logger,
21
21
  log
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
709
709
  const {
710
710
  readAuthoritativeKnowledgeCounterRollups,
711
711
  effectiveRetrievalOutcomes
712
- } = await import("./knowledge-events-amn94djz.js");
712
+ } = await import("./knowledge-events-vx4fqjzb.js");
713
713
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
714
714
  const flagIds = new Set;
715
715
  for (const e of atFloor) {
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
776
776
  });
777
777
  }
778
778
  if (action === "quarantine" && toQuarantine.length > 0) {
779
- const { quarantineEntry } = await import("./knowledge-validator-a8c185hw.js");
780
- const { KnowledgeConfigSchema } = await import("./schema-dd8mzm6k.js");
779
+ const { quarantineEntry } = await import("./knowledge-validator-c7871bjc.js");
780
+ const { KnowledgeConfigSchema } = await import("./schema-47xpcghn.js");
781
781
  let config;
782
782
  try {
783
- const { loadPluginConfigWithMeta } = await import("./index-kkxt9g8d.js");
783
+ const { loadPluginConfigWithMeta } = await import("./index-15h4dpsn.js");
784
784
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
785
785
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
786
786
  } catch {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-ycd63sz3.js";
4
+ } from "./index-tq5s07ta.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-26ynh10w.js";
12
+ } from "./index-keskta0w.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-gcn7tsr3.js";
15
+ } from "./index-w7x7qxz2.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-em1kfnss.js";
18
+ } from "./index-erfnw81g.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";