agent-afk 5.260.0 → 5.261.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.
- package/dist/agent/afk-gate-preview.d.ts +4 -0
- package/dist/agent/afk-mode-gate.d.ts +1 -0
- package/dist/agent/types/sdk-types.d.ts +1 -0
- package/dist/cli/update-checker.d.ts +1 -0
- package/dist/cli.mjs +280 -277
- package/dist/index.mjs +115 -115
- package/dist/telegram.mjs +137 -135
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import type { HookHandler } from './hooks.js';
|
|
|
2
2
|
import type { PermissionMode } from './types/sdk-types.js';
|
|
3
3
|
import type { ElicitationRequest, ElicitationResult } from './types/sdk-types.js';
|
|
4
4
|
import type { TraceSink } from './trace/index.js';
|
|
5
|
+
export declare const AFK_HARNESS_SERVER_NAME = "agent-afk";
|
|
5
6
|
export interface AfkModeGateOptions {
|
|
6
7
|
approvalTimeoutMs?: number;
|
|
7
8
|
promptForApproval?: boolean;
|
|
@@ -2,6 +2,7 @@ export interface UpdateInfo {
|
|
|
2
2
|
currentVersion: string;
|
|
3
3
|
latestVersion: string;
|
|
4
4
|
}
|
|
5
|
+
export declare function isMajorUpgrade(current: string, latest: string): boolean;
|
|
5
6
|
export declare function checkForUpdates(updatePolicy: 'notify' | 'auto' | 'off'): UpdateInfo | null;
|
|
6
7
|
export declare function hasUpdateCache(): boolean;
|
|
7
8
|
export declare function coldStartUpdateCheck(updatePolicy: 'notify' | 'auto' | 'off'): Promise<UpdateInfo | null>;
|