agent-afk 5.322.6 → 5.322.8
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.
- package/dist/agent/daemon/schedule-store.strict-load.d.ts +2 -1
- package/dist/agent/subagent.drain.d.ts +1 -1
- package/dist/cli/config.d.ts +1 -0
- package/dist/cli.mjs +388 -388
- package/dist/index.mjs +192 -192
- package/dist/telegram.mjs +204 -204
- package/package.json +1 -1
|
@@ -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
|
|
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
|
|
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;
|
package/dist/cli/config.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export { loadCredential, normalizeOpenAIBaseUrl, _resetOpenAIBaseUrlWarnCache, }
|
|
|
11
11
|
export declare function _resetConfigCache(): void;
|
|
12
12
|
export declare function loadTelegramConfig(): NonNullable<CliConfig['telegram']>;
|
|
13
13
|
export declare function resolveCliPermissionMode(): PermissionMode;
|
|
14
|
+
export declare function getOperatorPermissionMode(): PermissionMode | undefined;
|
|
14
15
|
export declare function resolveAutoResumeOnUsageLimit(): boolean;
|
|
15
16
|
export declare function loadConfig(overrides?: Partial<CliConfig>, cwd?: string): CliConfig;
|
|
16
17
|
export declare function resolvedProviderName(config: CliConfig): BundledProviderName;
|