agent-afk 5.322.5 → 5.322.7

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.
@@ -3,4 +3,5 @@ export declare class UnreadableSchedulesError extends Error {
3
3
  readonly path: string;
4
4
  constructor(path: string, problem: string);
5
5
  }
6
- export declare function loadSchedulesForWrite(storePath: string): ScheduledTaskConfig[];
6
+ export declare function checkEntrySchemaVersions(storePath: string, entries: unknown[], currentVersion: number, throwFn: (path: string, message: string, entryVersion: number) => never): void;
7
+ export declare function loadSchedulesForWrite(storePath: string, currentSchemaVersion: number): ScheduledTaskConfig[];
@@ -3,7 +3,7 @@ import type { AbortGraph } from './abort-graph.js';
3
3
  import { SUBAGENT_DRAIN_TIMEOUT_MS } from './subagent/constants.js';
4
4
  export interface DrainHandle {
5
5
  cancel(): Promise<void>;
6
- readonly _pendingCancellationWrite: Promise<void>;
6
+ readonly _pendingCancellationWrite?: Promise<void>;
7
7
  }
8
8
  export declare function abortAllAndDrainImpl(active: ReadonlyMap<string, DrainHandle>, abortGraph: AbortGraph, rootId: string, reason: unknown, origin: AbortOrigin, timeoutMs: number, rearm: boolean, doRearm: () => void): Promise<{
9
9
  drained: number;