支持单位授权与客户端限制

This commit is contained in:
Codex
2026-06-01 11:58:14 +08:00
parent 28adc8143a
commit c136cc2cc8
36 changed files with 861 additions and 49 deletions

View File

@@ -152,7 +152,7 @@ export const PROCESS_KILL_ESCALATION_TIMEOUT = 5000;
export const ACP_ABORT_TIMEOUT = 15_000;
/** ACP prompt 等待响应超时 (ms) */
export const ACP_PROMPT_TIMEOUT = 60_000;
export const ACP_PROMPT_TIMEOUT = 600_000;
/**
* 用户主动取消会话时,挂在 `Error` 上的 `code`(与 `message` 语言无关)。

View File

@@ -515,6 +515,7 @@ export interface AppAPI {
error?: string;
}>;
getDeviceId: () => Promise<string>;
getPrimaryLocalIp: () => Promise<string | null>;
}
export type PermissionStatus = "granted" | "denied" | "unknown";