diff --git a/package-lock.json b/package-lock.json index 9253561c..53fd0a8e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "Apache-2.0", "dependencies": { "@agentclientprotocol/sdk": "^1.3.0", - "@openai/codex": "^0.146.1", + "@openai/codex": "^0.147.0", "diff": "^9.0.0", "open": "^11.0.0", "vscode-jsonrpc": "^9.0.1", @@ -929,9 +929,9 @@ } }, "node_modules/@openai/codex": { - "version": "0.146.1", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1.tgz", - "integrity": "sha512-f51R56E/G15soLhf5l5pWUiM+mGHK0NdLozOtzjRoAa+bA20hgWrkyxE/fpwCnuGQM6XNdktHYtK9xQ7bPIbTA==", + "version": "0.147.0", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0.tgz", + "integrity": "sha512-EQLEXecAG2ptxI7UpBMo2TR/ga5596/c/OsYF/0LoUDh5JANZ7IoGqlzBEWbuEVQ76JePIbtTW/ihCkp1a7Z3w==", "license": "Apache-2.0", "bin": { "codex": "bin/codex.js" @@ -940,19 +940,19 @@ "node": ">=16" }, "optionalDependencies": { - "@openai/codex-darwin-arm64": "npm:@openai/codex@0.146.1-darwin-arm64", - "@openai/codex-darwin-x64": "npm:@openai/codex@0.146.1-darwin-x64", - "@openai/codex-linux-arm64": "npm:@openai/codex@0.146.1-linux-arm64", - "@openai/codex-linux-x64": "npm:@openai/codex@0.146.1-linux-x64", - "@openai/codex-win32-arm64": "npm:@openai/codex@0.146.1-win32-arm64", - "@openai/codex-win32-x64": "npm:@openai/codex@0.146.1-win32-x64" + "@openai/codex-darwin-arm64": "npm:@openai/codex@0.147.0-darwin-arm64", + "@openai/codex-darwin-x64": "npm:@openai/codex@0.147.0-darwin-x64", + "@openai/codex-linux-arm64": "npm:@openai/codex@0.147.0-linux-arm64", + "@openai/codex-linux-x64": "npm:@openai/codex@0.147.0-linux-x64", + "@openai/codex-win32-arm64": "npm:@openai/codex@0.147.0-win32-arm64", + "@openai/codex-win32-x64": "npm:@openai/codex@0.147.0-win32-x64" } }, "node_modules/@openai/codex-darwin-arm64": { "name": "@openai/codex", - "version": "0.146.1-darwin-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1-darwin-arm64.tgz", - "integrity": "sha512-zvXxiGRuKCOoFQyh7lRC2SHwomM2VNzHralyeP+i6fxLjQ5grpmnfJpnLs54+GkK7K5nEpkj7chqjlKbMELgZw==", + "version": "0.147.0-darwin-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0-darwin-arm64.tgz", + "integrity": "sha512-BEUVkiOW7kLcRyrMLfAr/h9wF8sRVJyZDy6OHtVn6QGDXiv3BvAZVTY1Pu9xF7KdIdkYXbp4uayN0aDQQaAUJw==", "cpu": [ "arm64" ], @@ -967,9 +967,9 @@ }, "node_modules/@openai/codex-darwin-x64": { "name": "@openai/codex", - "version": "0.146.1-darwin-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1-darwin-x64.tgz", - "integrity": "sha512-XQbemMBWH37hVL2vkoP+t//QyUmMjDRksf8YHmhAzHmt2oTTo8xyzH76LLFqMPCNpTdG755T8ZCbkpM0X2NJwA==", + "version": "0.147.0-darwin-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0-darwin-x64.tgz", + "integrity": "sha512-Tb8McE5SvJIH0Vs5R6sq7u+quiC931yan2KOOl6km1OdZ82+Wi7eF5XrSFPs5CF7xCgoIK4Vs+byMbT5hN+ZUw==", "cpu": [ "x64" ], @@ -984,9 +984,9 @@ }, "node_modules/@openai/codex-linux-arm64": { "name": "@openai/codex", - "version": "0.146.1-linux-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1-linux-arm64.tgz", - "integrity": "sha512-2LhK2axFZKe6BbhlzGXCpVkSva1TikFYJIq6x7+xu0AdfmY855EV5lQ7lwFpjJfM5gAJqxcycttvE1ODoSoLaA==", + "version": "0.147.0-linux-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0-linux-arm64.tgz", + "integrity": "sha512-SLC1JXw2TYfr/c3HhrJubyyLelq7vTOLWVmiThFA+z0+WgzCPmaseJ/kzDD3Gge/TO7fCnnj7UcPmC0d2c8XAg==", "cpu": [ "arm64" ], @@ -1001,9 +1001,9 @@ }, "node_modules/@openai/codex-linux-x64": { "name": "@openai/codex", - "version": "0.146.1-linux-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1-linux-x64.tgz", - "integrity": "sha512-XPWpWzJgGK1ygsUBMXgskEkr+uTVj/XOnnCP2UE9tQUXTWYRYElz7QW1YS3bxkN6Kev4CJQKbdJopVwh+0E/TQ==", + "version": "0.147.0-linux-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0-linux-x64.tgz", + "integrity": "sha512-0W9MBxPpWW0cSkNqrTDN2jR7rzzT7oNMhQY5446lT2Lw5cz5yhDTck4Va9rjkQEm+HlFzP/dmEMSZbXfJsINmw==", "cpu": [ "x64" ], @@ -1018,9 +1018,9 @@ }, "node_modules/@openai/codex-win32-arm64": { "name": "@openai/codex", - "version": "0.146.1-win32-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1-win32-arm64.tgz", - "integrity": "sha512-3UJf8sKefCbUgPPcgQRiCaKn9AsItuPl0ZL6erHWzT6UIemrdjt2WHiTNOw/7tVJRnUsG4A1LUrK2to9/SkwXA==", + "version": "0.147.0-win32-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0-win32-arm64.tgz", + "integrity": "sha512-e2ZstJ8zT8Rm1nvR7CUVO+Gr3cTChE41+VfOzGhynzDXEoW0wfbjUQbc2bWbh1arG94LMm4y3dqBtUIbSrfeGA==", "cpu": [ "arm64" ], @@ -1035,9 +1035,9 @@ }, "node_modules/@openai/codex-win32-x64": { "name": "@openai/codex", - "version": "0.146.1-win32-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.146.1-win32-x64.tgz", - "integrity": "sha512-FfiNJysKpHkJ08Kn+571r701dgoZVZjqNUxrEZ/JJyu5hIzNTs4XBllAX6ynHkF8G9NebPEtaJz72zxbol/JPg==", + "version": "0.147.0-win32-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.147.0-win32-x64.tgz", + "integrity": "sha512-oT7Ss5fAPf2fiWE9QNURqZcQGAAawSVxmIUdgPzckq4KFZAM+pRz9JbM4Rr498CjtbNgTOjWvDJ+DXvIBSfOPA==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 86eaddfe..210801c6 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ }, "dependencies": { "@agentclientprotocol/sdk": "^1.3.0", - "@openai/codex": "^0.146.1", + "@openai/codex": "^0.147.0", "diff": "^9.0.0", "open": "^11.0.0", "vscode-jsonrpc": "^9.0.1", diff --git a/src/CodexAcpClient.ts b/src/CodexAcpClient.ts index 0a2baa46..8a3973f2 100644 --- a/src/CodexAcpClient.ts +++ b/src/CodexAcpClient.ts @@ -20,9 +20,9 @@ import type {Disposable} from "vscode-jsonrpc"; import type { ClientInfo, ReasoningEffort, - ServiceTier, ServerNotification } from "./app-server"; +import type {ServiceTier} from "./app-server/ServiceTier"; import type {JsonValue} from "./app-server/serde_json/JsonValue"; import {ModelId} from "./ModelId"; import {AgentMode} from "./AgentMode"; diff --git a/src/CodexEventHandler.ts b/src/CodexEventHandler.ts index b3dabf77..8ce4a45a 100644 --- a/src/CodexEventHandler.ts +++ b/src/CodexEventHandler.ts @@ -30,7 +30,7 @@ import type { TurnPlanUpdatedNotification, WarningNotification } from "./app-server/v2"; -import type { McpStartupCompleteEvent } from "./app-server"; +import type { McpStartupCompleteEvent } from "./app-server/McpStartupCompleteEvent"; import {toTokenCount} from "./TokenCount"; import { commandExecutionUsesTerminalOutput, diff --git a/src/FastModeConfig.ts b/src/FastModeConfig.ts index 8e681c24..021a20a1 100644 --- a/src/FastModeConfig.ts +++ b/src/FastModeConfig.ts @@ -1,6 +1,6 @@ import type {SessionConfigOption} from "@agentclientprotocol/sdk"; import type * as acp from "@agentclientprotocol/sdk"; -import type {ServiceTier} from "./app-server"; +import type {ServiceTier} from "./app-server/ServiceTier"; import type {Model} from "./app-server/v2"; export const FAST_MODE_CONFIG_ID = "fast-mode"; diff --git a/src/__tests__/CodexACPAgent/CodexAcpClient.test.ts b/src/__tests__/CodexACPAgent/CodexAcpClient.test.ts index dfbc1bcc..8bc3fbf8 100644 --- a/src/__tests__/CodexACPAgent/CodexAcpClient.test.ts +++ b/src/__tests__/CodexACPAgent/CodexAcpClient.test.ts @@ -2880,7 +2880,10 @@ describe('ACP server test', { timeout: 40_000 }, () => { fixture.clearAcpConnectionDump(); const prompt: acp.ContentBlock[] = [{ type: "text", text: "/logout " }]; await codexAcpAgent.prompt({sessionId: newSessionResponse.sessionId, prompt: prompt }); - await expect(fixture.getAcpConnectionDump(["sessionId"])).toMatchFileSnapshot("data/command-logout.json"); + const logoutEvent = fixture.getAcpConnectionEvents(["sessionId"]).find(event => + event.args[0]?.update?.sessionUpdate === "agent_message_chunk" + ); + await expect(JSON.stringify(logoutEvent, null, 2)).toMatchFileSnapshot("data/command-logout.json"); }); it('clears active session auth state when logout command signs out', async () => { diff --git a/src/__tests__/CodexACPAgent/command-action-events.test.ts b/src/__tests__/CodexACPAgent/command-action-events.test.ts index 671faba6..658a9976 100644 --- a/src/__tests__/CodexACPAgent/command-action-events.test.ts +++ b/src/__tests__/CodexACPAgent/command-action-events.test.ts @@ -305,6 +305,7 @@ describe('CodexEventHandler - command action events', () => { status: "inProgress", arguments: { argument: "example"}, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: null, @@ -336,6 +337,7 @@ describe('CodexEventHandler - command action events', () => { status: "inProgress", arguments: { file_path: ".ai/local.md", mode: "slice", start_line: 1, max_lines: 200 }, appContext: null, + readOnlyHint: true, pluginId: null, result: null, error: null, @@ -366,6 +368,7 @@ describe('CodexEventHandler - command action events', () => { status: "failed", arguments: { file_path: ".ai/local.md", mode: "slice", start_line: 1, max_lines: 200 }, appContext: null, + readOnlyHint: true, pluginId: null, result: null, error: { @@ -401,6 +404,7 @@ describe('CodexEventHandler - command action events', () => { status: "inProgress", arguments: { argument: "example" }, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: null, @@ -440,6 +444,7 @@ describe('CodexEventHandler - command action events', () => { status: "failed", arguments: { argument: "example" }, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: { diff --git a/src/__tests__/CodexACPAgent/elicitation-events.test.ts b/src/__tests__/CodexACPAgent/elicitation-events.test.ts index 57513621..054c0cda 100644 --- a/src/__tests__/CodexACPAgent/elicitation-events.test.ts +++ b/src/__tests__/CodexACPAgent/elicitation-events.test.ts @@ -287,6 +287,7 @@ describe('Elicitation Events', () => { status: "inProgress", arguments: { argument: "example" }, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: null, @@ -467,6 +468,7 @@ describe('Elicitation Events', () => { status: "inProgress", arguments: { argument: "example" }, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: null, @@ -488,6 +490,7 @@ describe('Elicitation Events', () => { status: "completed", arguments: { argument: "example" }, appContext: null, + readOnlyHint: null, pluginId: null, result: { content: [], structuredContent: null, _meta: null }, error: null, @@ -537,6 +540,7 @@ describe('Elicitation Events', () => { status: "inProgress", arguments: { argument: "example" }, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: null, @@ -696,6 +700,7 @@ describe('Elicitation Events', () => { turnId: 'turn-1', itemId: 'request-user-input-1', autoResolutionMs: 60000, + isBlocking: true, questions: [ { id: 'next_step', @@ -776,6 +781,7 @@ describe('Elicitation Events', () => { turnId: 'turn-1', itemId: 'request-user-input-1', autoResolutionMs: null, + isBlocking: true, questions: [{ id: 'next_step', header: 'Next step', @@ -811,6 +817,7 @@ describe('Elicitation Events', () => { turnId: 'turn-1', itemId: 'request-user-input-1', autoResolutionMs: 1, + isBlocking: true, questions: [{ id: 'next_step', header: 'Next step', @@ -846,6 +853,7 @@ describe('Elicitation Events', () => { turnId: 'turn-1', itemId: 'request-user-input-1', autoResolutionMs: null, + isBlocking: true, questions: [{ id: 'next_step', header: 'Next step', diff --git a/src/__tests__/CodexACPAgent/list-sessions.test.ts b/src/__tests__/CodexACPAgent/list-sessions.test.ts index 89d21c07..bf9f68c4 100644 --- a/src/__tests__/CodexACPAgent/list-sessions.test.ts +++ b/src/__tests__/CodexACPAgent/list-sessions.test.ts @@ -28,7 +28,8 @@ describe("CodexACPAgent - list sessions", () => { path: null, cwd: "/repo/project", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, @@ -52,7 +53,8 @@ describe("CodexACPAgent - list sessions", () => { path: null, cwd: "/repo/other", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, @@ -115,7 +117,8 @@ describe("CodexACPAgent - list sessions", () => { path: null, cwd: "/repo/project", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, @@ -192,7 +195,8 @@ describe("CodexACPAgent - list sessions", () => { path: null, cwd: "/repo/project", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, diff --git a/src/__tests__/CodexACPAgent/load-session.test.ts b/src/__tests__/CodexACPAgent/load-session.test.ts index 7ac47bc6..c1ed9cfb 100644 --- a/src/__tests__/CodexACPAgent/load-session.test.ts +++ b/src/__tests__/CodexACPAgent/load-session.test.ts @@ -63,7 +63,8 @@ describe("CodexACPAgent - loadSession", () => { path: null, cwd: "/test/project", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, @@ -136,6 +137,7 @@ describe("CodexACPAgent - loadSession", () => { status: "completed", arguments: {}, appContext: null, + readOnlyHint: null, pluginId: null, result: null, error: null, @@ -285,7 +287,8 @@ describe("CodexACPAgent - loadSession", () => { path: null, cwd: "/test/project", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, @@ -497,7 +500,8 @@ describe("CodexACPAgent - loadSession", () => { path: rolloutPath, cwd: "/test/project", cliVersion: "0.139.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "vscode", agentNickname: null, agentRole: null, @@ -630,7 +634,8 @@ describe("CodexACPAgent - loadSession", () => { path: null, cwd: "/test/project", cliVersion: "0.0.0", - isPinned: false, + section: null, + sectionEnteredAt: null, source: "cli", agentNickname: null, agentRole: null, diff --git a/src/app-server/ClientRequest.ts b/src/app-server/ClientRequest.ts index b67f518a..d746912e 100644 --- a/src/app-server/ClientRequest.ts +++ b/src/app-server/ClientRequest.ts @@ -78,6 +78,11 @@ import type { ThreadMetadataUpdateParams } from "./v2/ThreadMetadataUpdateParams import type { ThreadReadParams } from "./v2/ThreadReadParams"; import type { ThreadResumeParams } from "./v2/ThreadResumeParams"; import type { ThreadRollbackParams } from "./v2/ThreadRollbackParams"; +import type { ThreadSectionCreateParams } from "./v2/ThreadSectionCreateParams"; +import type { ThreadSectionDeleteParams } from "./v2/ThreadSectionDeleteParams"; +import type { ThreadSectionListParams } from "./v2/ThreadSectionListParams"; +import type { ThreadSectionMoveParams } from "./v2/ThreadSectionMoveParams"; +import type { ThreadSectionUpdateParams } from "./v2/ThreadSectionUpdateParams"; import type { ThreadSetNameParams } from "./v2/ThreadSetNameParams"; import type { ThreadShellCommandParams } from "./v2/ThreadShellCommandParams"; import type { ThreadStartParams } from "./v2/ThreadStartParams"; @@ -91,4 +96,4 @@ import type { WindowsSandboxSetupStartParams } from "./v2/WindowsSandboxSetupSta /** * Request from the client to the server. */ -export type ClientRequest ={ "method": "initialize", id: RequestId, params: InitializeParams, } | { "method": "thread/start", id: RequestId, params: ThreadStartParams, } | { "method": "thread/resume", id: RequestId, params: ThreadResumeParams, } | { "method": "thread/fork", id: RequestId, params: ThreadForkParams, } | { "method": "thread/archive", id: RequestId, params: ThreadArchiveParams, } | { "method": "thread/delete", id: RequestId, params: ThreadDeleteParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/goal/set", id: RequestId, params: ThreadGoalSetParams, } | { "method": "thread/goal/get", id: RequestId, params: ThreadGoalGetParams, } | { "method": "thread/goal/clear", id: RequestId, params: ThreadGoalClearParams, } | { "method": "thread/metadata/update", id: RequestId, params: ThreadMetadataUpdateParams, } | { "method": "thread/unarchive", id: RequestId, params: ThreadUnarchiveParams, } | { "method": "thread/compact/start", id: RequestId, params: ThreadCompactStartParams, } | { "method": "thread/shellCommand", id: RequestId, params: ThreadShellCommandParams, } | { "method": "thread/approveGuardianDeniedAction", id: RequestId, params: ThreadApproveGuardianDeniedActionParams, } | { "method": "thread/rollback", id: RequestId, params: ThreadRollbackParams, } | { "method": "thread/list", id: RequestId, params: ThreadListParams, } | { "method": "thread/loaded/list", id: RequestId, params: ThreadLoadedListParams, } | { "method": "thread/read", id: RequestId, params: ThreadReadParams, } | { "method": "thread/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "skills/extraRoots/set", id: RequestId, params: SkillsExtraRootsSetParams, } | { "method": "hooks/list", id: RequestId, params: HooksListParams, } | { "method": "marketplace/add", id: RequestId, params: MarketplaceAddParams, } | { "method": "marketplace/remove", id: RequestId, params: MarketplaceRemoveParams, } | { "method": "marketplace/upgrade", id: RequestId, params: MarketplaceUpgradeParams, } | { "method": "plugin/list", id: RequestId, params: PluginListParams, } | { "method": "plugin/installed", id: RequestId, params: PluginInstalledParams, } | { "method": "plugin/read", id: RequestId, params: PluginReadParams, } | { "method": "plugin/skill/read", id: RequestId, params: PluginSkillReadParams, } | { "method": "plugin/share/save", id: RequestId, params: PluginShareSaveParams, } | { "method": "plugin/share/updateTargets", id: RequestId, params: PluginShareUpdateTargetsParams, } | { "method": "plugin/share/list", id: RequestId, params: PluginShareListParams, } | { "method": "plugin/share/checkout", id: RequestId, params: PluginShareCheckoutParams, } | { "method": "plugin/share/delete", id: RequestId, params: PluginShareDeleteParams, } | { "method": "app/read", id: RequestId, params: AppsReadParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "app/installed", id: RequestId, params: AppsInstalledParams, } | { "method": "fs/readFile", id: RequestId, params: FsReadFileParams, } | { "method": "fs/writeFile", id: RequestId, params: FsWriteFileParams, } | { "method": "fs/createDirectory", id: RequestId, params: FsCreateDirectoryParams, } | { "method": "fs/getMetadata", id: RequestId, params: FsGetMetadataParams, } | { "method": "fs/readDirectory", id: RequestId, params: FsReadDirectoryParams, } | { "method": "fs/remove", id: RequestId, params: FsRemoveParams, } | { "method": "fs/copy", id: RequestId, params: FsCopyParams, } | { "method": "fs/watch", id: RequestId, params: FsWatchParams, } | { "method": "fs/unwatch", id: RequestId, params: FsUnwatchParams, } | { "method": "skills/config/write", id: RequestId, params: SkillsConfigWriteParams, } | { "method": "plugin/install", id: RequestId, params: PluginInstallParams, } | { "method": "plugin/uninstall", id: RequestId, params: PluginUninstallParams, } | { "method": "turn/start", id: RequestId, params: TurnStartParams, } | { "method": "turn/steer", id: RequestId, params: TurnSteerParams, } | { "method": "turn/interrupt", id: RequestId, params: TurnInterruptParams, } | { "method": "review/start", id: RequestId, params: ReviewStartParams, } | { "method": "model/list", id: RequestId, params: ModelListParams, } | { "method": "modelProvider/capabilities/read", id: RequestId, params: ModelProviderCapabilitiesReadParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "permissionProfile/list", id: RequestId, params: PermissionProfileListParams, } | { "method": "experimentalFeature/enablement/set", id: RequestId, params: ExperimentalFeatureEnablementSetParams, } | { "method": "mcpServer/oauth/login", id: RequestId, params: McpServerOauthLoginParams, } | { "method": "config/mcpServer/reload", id: RequestId, params: undefined, } | { "method": "mcpServerStatus/list", id: RequestId, params: ListMcpServerStatusParams, } | { "method": "mcpServer/resource/read", id: RequestId, params: McpResourceReadParams, } | { "method": "mcpServer/tool/call", id: RequestId, params: McpServerToolCallParams, } | { "method": "windowsSandbox/setupStart", id: RequestId, params: WindowsSandboxSetupStartParams, } | { "method": "windowsSandbox/readiness", id: RequestId, params: undefined, } | { "method": "account/login/start", id: RequestId, params: LoginAccountParams, } | { "method": "account/login/cancel", id: RequestId, params: CancelLoginAccountParams, } | { "method": "account/logout", id: RequestId, params: undefined, } | { "method": "account/rateLimits/read", id: RequestId, params: undefined, } | { "method": "account/rateLimitResetCredit/consume", id: RequestId, params: ConsumeAccountRateLimitResetCreditParams, } | { "method": "account/usage/read", id: RequestId, params: undefined, } | { "method": "account/workspaceMessages/read", id: RequestId, params: undefined, } | { "method": "account/sendAddCreditsNudgeEmail", id: RequestId, params: SendAddCreditsNudgeEmailParams, } | { "method": "feedback/upload", id: RequestId, params: FeedbackUploadParams, } | { "method": "command/exec", id: RequestId, params: CommandExecParams, } | { "method": "command/exec/write", id: RequestId, params: CommandExecWriteParams, } | { "method": "command/exec/terminate", id: RequestId, params: CommandExecTerminateParams, } | { "method": "command/exec/resize", id: RequestId, params: CommandExecResizeParams, } | { "method": "config/read", id: RequestId, params: ConfigReadParams, } | { "method": "externalAgentConfig/detect", id: RequestId, params: ExternalAgentConfigDetectParams, } | { "method": "externalAgentConfig/import", id: RequestId, params: ExternalAgentConfigImportParams, } | { "method": "externalAgentConfig/import/recordHistory", id: RequestId, params: ExternalAgentConfigImportHistoryRecordParams, } | { "method": "externalAgentConfig/import/readHistories", id: RequestId, params: undefined, } | { "method": "config/value/write", id: RequestId, params: ConfigValueWriteParams, } | { "method": "config/batchWrite", id: RequestId, params: ConfigBatchWriteParams, } | { "method": "configRequirements/read", id: RequestId, params: undefined, } | { "method": "account/read", id: RequestId, params: GetAccountParams, } | { "method": "getConversationSummary", id: RequestId, params: GetConversationSummaryParams, } | { "method": "gitDiffToRemote", id: RequestId, params: GitDiffToRemoteParams, } | { "method": "getAuthStatus", id: RequestId, params: GetAuthStatusParams, } | { "method": "fuzzyFileSearch", id: RequestId, params: FuzzyFileSearchParams, }; +export type ClientRequest ={ "method": "initialize", id: RequestId, params: InitializeParams, } | { "method": "thread/start", id: RequestId, params: ThreadStartParams, } | { "method": "thread/resume", id: RequestId, params: ThreadResumeParams, } | { "method": "thread/fork", id: RequestId, params: ThreadForkParams, } | { "method": "thread/archive", id: RequestId, params: ThreadArchiveParams, } | { "method": "thread/delete", id: RequestId, params: ThreadDeleteParams, } | { "method": "thread/unsubscribe", id: RequestId, params: ThreadUnsubscribeParams, } | { "method": "thread/name/set", id: RequestId, params: ThreadSetNameParams, } | { "method": "thread/goal/set", id: RequestId, params: ThreadGoalSetParams, } | { "method": "thread/goal/get", id: RequestId, params: ThreadGoalGetParams, } | { "method": "thread/goal/clear", id: RequestId, params: ThreadGoalClearParams, } | { "method": "thread/metadata/update", id: RequestId, params: ThreadMetadataUpdateParams, } | { "method": "thread/section/move", id: RequestId, params: ThreadSectionMoveParams, } | { "method": "thread/unarchive", id: RequestId, params: ThreadUnarchiveParams, } | { "method": "thread/compact/start", id: RequestId, params: ThreadCompactStartParams, } | { "method": "thread/shellCommand", id: RequestId, params: ThreadShellCommandParams, } | { "method": "thread/approveGuardianDeniedAction", id: RequestId, params: ThreadApproveGuardianDeniedActionParams, } | { "method": "thread/rollback", id: RequestId, params: ThreadRollbackParams, } | { "method": "thread/list", id: RequestId, params: ThreadListParams, } | { "method": "threadSection/list", id: RequestId, params: ThreadSectionListParams, } | { "method": "threadSection/create", id: RequestId, params: ThreadSectionCreateParams, } | { "method": "threadSection/update", id: RequestId, params: ThreadSectionUpdateParams, } | { "method": "threadSection/delete", id: RequestId, params: ThreadSectionDeleteParams, } | { "method": "thread/loaded/list", id: RequestId, params: ThreadLoadedListParams, } | { "method": "thread/read", id: RequestId, params: ThreadReadParams, } | { "method": "thread/inject_items", id: RequestId, params: ThreadInjectItemsParams, } | { "method": "skills/list", id: RequestId, params: SkillsListParams, } | { "method": "skills/extraRoots/set", id: RequestId, params: SkillsExtraRootsSetParams, } | { "method": "hooks/list", id: RequestId, params: HooksListParams, } | { "method": "marketplace/add", id: RequestId, params: MarketplaceAddParams, } | { "method": "marketplace/remove", id: RequestId, params: MarketplaceRemoveParams, } | { "method": "marketplace/upgrade", id: RequestId, params: MarketplaceUpgradeParams, } | { "method": "plugin/list", id: RequestId, params: PluginListParams, } | { "method": "plugin/installed", id: RequestId, params: PluginInstalledParams, } | { "method": "plugin/read", id: RequestId, params: PluginReadParams, } | { "method": "plugin/skill/read", id: RequestId, params: PluginSkillReadParams, } | { "method": "plugin/share/save", id: RequestId, params: PluginShareSaveParams, } | { "method": "plugin/share/updateTargets", id: RequestId, params: PluginShareUpdateTargetsParams, } | { "method": "plugin/share/list", id: RequestId, params: PluginShareListParams, } | { "method": "plugin/share/checkout", id: RequestId, params: PluginShareCheckoutParams, } | { "method": "plugin/share/delete", id: RequestId, params: PluginShareDeleteParams, } | { "method": "app/read", id: RequestId, params: AppsReadParams, } | { "method": "app/list", id: RequestId, params: AppsListParams, } | { "method": "app/installed", id: RequestId, params: AppsInstalledParams, } | { "method": "fs/readFile", id: RequestId, params: FsReadFileParams, } | { "method": "fs/writeFile", id: RequestId, params: FsWriteFileParams, } | { "method": "fs/createDirectory", id: RequestId, params: FsCreateDirectoryParams, } | { "method": "fs/getMetadata", id: RequestId, params: FsGetMetadataParams, } | { "method": "fs/readDirectory", id: RequestId, params: FsReadDirectoryParams, } | { "method": "fs/remove", id: RequestId, params: FsRemoveParams, } | { "method": "fs/copy", id: RequestId, params: FsCopyParams, } | { "method": "fs/watch", id: RequestId, params: FsWatchParams, } | { "method": "fs/unwatch", id: RequestId, params: FsUnwatchParams, } | { "method": "skills/config/write", id: RequestId, params: SkillsConfigWriteParams, } | { "method": "plugin/install", id: RequestId, params: PluginInstallParams, } | { "method": "plugin/uninstall", id: RequestId, params: PluginUninstallParams, } | { "method": "turn/start", id: RequestId, params: TurnStartParams, } | { "method": "turn/steer", id: RequestId, params: TurnSteerParams, } | { "method": "turn/interrupt", id: RequestId, params: TurnInterruptParams, } | { "method": "review/start", id: RequestId, params: ReviewStartParams, } | { "method": "model/list", id: RequestId, params: ModelListParams, } | { "method": "modelProvider/capabilities/read", id: RequestId, params: ModelProviderCapabilitiesReadParams, } | { "method": "experimentalFeature/list", id: RequestId, params: ExperimentalFeatureListParams, } | { "method": "permissionProfile/list", id: RequestId, params: PermissionProfileListParams, } | { "method": "experimentalFeature/enablement/set", id: RequestId, params: ExperimentalFeatureEnablementSetParams, } | { "method": "mcpServer/oauth/login", id: RequestId, params: McpServerOauthLoginParams, } | { "method": "config/mcpServer/reload", id: RequestId, params: undefined, } | { "method": "mcpServerStatus/list", id: RequestId, params: ListMcpServerStatusParams, } | { "method": "mcpServer/resource/read", id: RequestId, params: McpResourceReadParams, } | { "method": "mcpServer/tool/call", id: RequestId, params: McpServerToolCallParams, } | { "method": "windowsSandbox/setupStart", id: RequestId, params: WindowsSandboxSetupStartParams, } | { "method": "windowsSandbox/readiness", id: RequestId, params: undefined, } | { "method": "account/login/start", id: RequestId, params: LoginAccountParams, } | { "method": "account/login/cancel", id: RequestId, params: CancelLoginAccountParams, } | { "method": "account/logout", id: RequestId, params: undefined, } | { "method": "account/rateLimits/read", id: RequestId, params: undefined, } | { "method": "account/rateLimitResetCredit/consume", id: RequestId, params: ConsumeAccountRateLimitResetCreditParams, } | { "method": "account/usage/read", id: RequestId, params: undefined, } | { "method": "account/workspaceMessages/read", id: RequestId, params: undefined, } | { "method": "account/sendAddCreditsNudgeEmail", id: RequestId, params: SendAddCreditsNudgeEmailParams, } | { "method": "feedback/upload", id: RequestId, params: FeedbackUploadParams, } | { "method": "command/exec", id: RequestId, params: CommandExecParams, } | { "method": "command/exec/write", id: RequestId, params: CommandExecWriteParams, } | { "method": "command/exec/terminate", id: RequestId, params: CommandExecTerminateParams, } | { "method": "command/exec/resize", id: RequestId, params: CommandExecResizeParams, } | { "method": "config/read", id: RequestId, params: ConfigReadParams, } | { "method": "externalAgentConfig/detect", id: RequestId, params: ExternalAgentConfigDetectParams, } | { "method": "externalAgentConfig/import", id: RequestId, params: ExternalAgentConfigImportParams, } | { "method": "externalAgentConfig/import/recordHistory", id: RequestId, params: ExternalAgentConfigImportHistoryRecordParams, } | { "method": "externalAgentConfig/import/readHistories", id: RequestId, params: undefined, } | { "method": "config/value/write", id: RequestId, params: ConfigValueWriteParams, } | { "method": "config/batchWrite", id: RequestId, params: ConfigBatchWriteParams, } | { "method": "configRequirements/read", id: RequestId, params: undefined, } | { "method": "account/read", id: RequestId, params: GetAccountParams, } | { "method": "getConversationSummary", id: RequestId, params: GetConversationSummaryParams, } | { "method": "gitDiffToRemote", id: RequestId, params: GitDiffToRemoteParams, } | { "method": "getAuthStatus", id: RequestId, params: GetAuthStatusParams, } | { "method": "fuzzyFileSearch", id: RequestId, params: FuzzyFileSearchParams, }; diff --git a/src/app-server/ImageGenerationItem.ts b/src/app-server/ImageGenerationItem.ts index 26cd6285..78d98c82 100644 --- a/src/app-server/ImageGenerationItem.ts +++ b/src/app-server/ImageGenerationItem.ts @@ -3,4 +3,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { AbsolutePathBuf } from "./AbsolutePathBuf"; -export type ImageGenerationItem = { id: string, status: string, revisedPrompt: string | null, result: string, savedPath?: AbsolutePathBuf, }; +export type ImageGenerationItem = { id: string, status: string, revisedPrompt: string | null, result: string, transparentBackground?: boolean, savedPath?: AbsolutePathBuf, }; diff --git a/src/app-server/InitializeCapabilities.ts b/src/app-server/InitializeCapabilities.ts index dcc4dffb..6b4afd16 100644 --- a/src/app-server/InitializeCapabilities.ts +++ b/src/app-server/InitializeCapabilities.ts @@ -1,6 +1,7 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { JsonValue } from "./serde_json/JsonValue"; /** * Client-declared capabilities negotiated during initialize. @@ -15,11 +16,17 @@ experimentalApi: boolean, */ requestAttestation: boolean, /** - * Allow downstream MCP servers to request OpenAI extended form elicitations. + * Legacy opt-in for the `openai/form` MCP extension. + * + * New clients should declare `openai/form` in [`Self::extensions`]. */ mcpServerOpenaiFormElicitation?: boolean, /** * Exact notification method names that should be suppressed for this * connection (for example `thread/started`). */ -optOutNotificationMethods?: Array | null, }; +optOutNotificationMethods?: Array | null, +/** + * MCP extension settings declared by the app-server client. + */ +extensions?: { [key in string]?: JsonValue } | null, }; diff --git a/src/app-server/PathUri.ts b/src/app-server/PathUri.ts index b3923cfd..ba11296e 100644 --- a/src/app-server/PathUri.ts +++ b/src/app-server/PathUri.ts @@ -18,9 +18,10 @@ * * Like [VS Code resources], path operations use `/` URI separators on every * host. Lexical path operations preserve a URL authority without interpreting - * Windows drive or UNC roots from path text. Native path normalization, - * filesystem aliases, symlinks, case sensitivity, and Unicode normalization - * are not resolved. + * Windows drive or UNC roots from path text. Windows path equality and hashing + * ignore ASCII case, while POSIX paths remain case-sensitive. Native path + * normalization, filesystem aliases, symlinks, and Unicode normalization are + * not resolved. * * Serde represents a `PathUri` as its canonical URI string. Deserialization * accepts only valid `file:` URI strings. These strings round-trip through diff --git a/src/app-server/PlanType.ts b/src/app-server/PlanType.ts index 96853281..88174d04 100644 --- a/src/app-server/PlanType.ts +++ b/src/app-server/PlanType.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "unknown"; +export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "unknown"; diff --git a/src/app-server/ResponseItem.ts b/src/app-server/ResponseItem.ts index 2758941b..9e7d0dcc 100644 --- a/src/app-server/ResponseItem.ts +++ b/src/app-server/ResponseItem.ts @@ -21,4 +21,4 @@ id?: ResponseItemId, /** * Set when using the Responses API. */ -call_id: string | null, status: LocalShellStatus, action: LocalShellAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call", id?: ResponseItemId, name: string, namespace?: string, arguments: string, call_id: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_call", id?: ResponseItemId, call_id: string | null, status?: string, execution: string, arguments: unknown, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call_output", id?: ResponseItemId, call_id: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call", id?: ResponseItemId, status?: string, call_id: string, name: string, namespace?: string, input: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call_output", id?: ResponseItemId, call_id: string, name?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_output", id?: ResponseItemId, call_id: string | null, status: string, execution: string, tools: unknown[], internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "web_search_call", id?: ResponseItemId, status?: string, action?: WebSearchAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "image_generation_call", id?: ResponseItemId, status: string, revised_prompt?: string, result: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction", id?: ResponseItemId, encrypted_content: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction_trigger", } | { "type": "context_compaction", id?: ResponseItemId, encrypted_content?: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "other" }; +call_id: string | null, status: LocalShellStatus, action: LocalShellAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call", id?: ResponseItemId, name: string, namespace?: string, arguments: string, encrypted_function_args?: Array, call_id: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_call", id?: ResponseItemId, call_id: string | null, status?: string, execution: string, arguments: unknown, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "function_call_output", id?: ResponseItemId, call_id: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call", id?: ResponseItemId, status?: string, call_id: string, name: string, namespace?: string, input: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "custom_tool_call_output", id?: ResponseItemId, call_id: string, name?: string, output: FunctionCallOutputBody, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "tool_search_output", id?: ResponseItemId, call_id: string | null, status: string, execution: string, tools: unknown[], internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "web_search_call", id?: ResponseItemId, status?: string, action?: WebSearchAction, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "image_generation_call", id?: ResponseItemId, status: string, revised_prompt?: string, result: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction", id?: ResponseItemId, encrypted_content: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "compaction_trigger", } | { "type": "context_compaction", id?: ResponseItemId, encrypted_content?: string, internal_chat_message_metadata_passthrough?: InternalChatMessageMetadataPassthrough, } | { "type": "other" }; diff --git a/src/app-server/index.ts b/src/app-server/index.ts index 9853c093..8080f942 100644 --- a/src/app-server/index.ts +++ b/src/app-server/index.ts @@ -1,100 +1,28 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! export type { AbsolutePathBuf } from "./AbsolutePathBuf"; -export type { AddConversationListenerParams } from "./AddConversationListenerParams"; -export type { AddConversationSubscriptionResponse } from "./AddConversationSubscriptionResponse"; -export type { AgentMessageContent } from "./AgentMessageContent"; -export type { AgentMessageContentDeltaEvent } from "./AgentMessageContentDeltaEvent"; -export type { AgentMessageDeltaEvent } from "./AgentMessageDeltaEvent"; -export type { AgentMessageEvent } from "./AgentMessageEvent"; export type { AgentMessageInputContent } from "./AgentMessageInputContent"; -export type { AgentMessageItem } from "./AgentMessageItem"; export type { AgentPath } from "./AgentPath"; -export type { AgentReasoningDeltaEvent } from "./AgentReasoningDeltaEvent"; -export type { AgentReasoningEvent } from "./AgentReasoningEvent"; -export type { AgentReasoningRawContentDeltaEvent } from "./AgentReasoningRawContentDeltaEvent"; -export type { AgentReasoningRawContentEvent } from "./AgentReasoningRawContentEvent"; -export type { AgentReasoningSectionBreakEvent } from "./AgentReasoningSectionBreakEvent"; -export type { AgentStatus } from "./AgentStatus"; -export type { AmazonBedrockCredentialSource } from "./AmazonBedrockCredentialSource"; -export type { Annotations } from "./Annotations"; -export type { ApiPathString } from "./ApiPathString"; export type { ApplyPatchApprovalParams } from "./ApplyPatchApprovalParams"; -export type { ApplyPatchApprovalRequestEvent } from "./ApplyPatchApprovalRequestEvent"; export type { ApplyPatchApprovalResponse } from "./ApplyPatchApprovalResponse"; -export type { ArchiveConversationParams } from "./ArchiveConversationParams"; -export type { ArchiveConversationResponse } from "./ArchiveConversationResponse"; -export type { AskForApproval } from "./AskForApproval"; -export type { AudioContent } from "./AudioContent"; export type { AuthMode } from "./AuthMode"; -export type { AuthStatusChangeNotification } from "./AuthStatusChangeNotification"; export type { AutoCompactTokenLimitScope } from "./AutoCompactTokenLimitScope"; -export type { BackgroundEventEvent } from "./BackgroundEventEvent"; -export type { BlobResourceContents } from "./BlobResourceContents"; -export type { ByteRange } from "./ByteRange"; -export type { CallToolResult } from "./CallToolResult"; -export type { CancelLoginChatGptParams } from "./CancelLoginChatGptParams"; -export type { CancelLoginChatGptResponse } from "./CancelLoginChatGptResponse"; export type { ClientInfo } from "./ClientInfo"; export type { ClientNotification } from "./ClientNotification"; export type { ClientRequest } from "./ClientRequest"; -export type { CodexErrorInfo } from "./CodexErrorInfo"; export type { CodexResponseHandoffMode } from "./CodexResponseHandoffMode"; -export type { CollabAgentInteractionBeginEvent } from "./CollabAgentInteractionBeginEvent"; -export type { CollabAgentInteractionEndEvent } from "./CollabAgentInteractionEndEvent"; -export type { CollabAgentRef } from "./CollabAgentRef"; -export type { CollabAgentSpawnBeginEvent } from "./CollabAgentSpawnBeginEvent"; -export type { CollabAgentSpawnEndEvent } from "./CollabAgentSpawnEndEvent"; -export type { CollabAgentStatusEntry } from "./CollabAgentStatusEntry"; -export type { CollabCloseBeginEvent } from "./CollabCloseBeginEvent"; -export type { CollabCloseEndEvent } from "./CollabCloseEndEvent"; -export type { CollabResumeBeginEvent } from "./CollabResumeBeginEvent"; -export type { CollabResumeEndEvent } from "./CollabResumeEndEvent"; -export type { CollabWaitingBeginEvent } from "./CollabWaitingBeginEvent"; -export type { CollabWaitingEndEvent } from "./CollabWaitingEndEvent"; export type { CollaborationMode } from "./CollaborationMode"; -export type { CollaborationModeMask } from "./CollaborationModeMask"; -export type { ContentBlock } from "./ContentBlock"; export type { ContentItem } from "./ContentItem"; -export type { ContextCompactedEvent } from "./ContextCompactedEvent"; -export type { ContextCompactionItem } from "./ContextCompactionItem"; export type { ConversationGitInfo } from "./ConversationGitInfo"; -export type { ConversationId } from "./ConversationId"; export type { ConversationSummary } from "./ConversationSummary"; export type { ConversationTextRole } from "./ConversationTextRole"; -export type { CreditsSnapshot } from "./CreditsSnapshot"; -export type { CustomPrompt } from "./CustomPrompt"; -export type { DeprecationNoticeEvent } from "./DeprecationNoticeEvent"; -export type { DynamicToolCallOutputContentItem } from "./DynamicToolCallOutputContentItem"; -export type { DynamicToolCallRequest } from "./DynamicToolCallRequest"; -export type { DynamicToolCallResponseEvent } from "./DynamicToolCallResponseEvent"; -export type { ElicitationRequest } from "./ElicitationRequest"; -export type { ElicitationRequestEvent } from "./ElicitationRequestEvent"; -export type { EmbeddedResource } from "./EmbeddedResource"; -export type { EmbeddedResourceResource } from "./EmbeddedResourceResource"; -export type { ErrorEvent } from "./ErrorEvent"; -export type { ExecApprovalRequestEvent } from "./ExecApprovalRequestEvent"; -export type { ExecApprovalRequestSkillMetadata } from "./ExecApprovalRequestSkillMetadata"; export type { ExecCommandApprovalParams } from "./ExecCommandApprovalParams"; export type { ExecCommandApprovalResponse } from "./ExecCommandApprovalResponse"; -export type { ExecCommandBeginEvent } from "./ExecCommandBeginEvent"; -export type { ExecCommandEndEvent } from "./ExecCommandEndEvent"; -export type { ExecCommandOutputDeltaEvent } from "./ExecCommandOutputDeltaEvent"; -export type { ExecCommandSource } from "./ExecCommandSource"; -export type { ExecCommandStatus } from "./ExecCommandStatus"; -export type { ExecOneOffCommandParams } from "./ExecOneOffCommandParams"; -export type { ExecOneOffCommandResponse } from "./ExecOneOffCommandResponse"; -export type { ExecOutputStream } from "./ExecOutputStream"; export type { ExecPolicyAmendment } from "./ExecPolicyAmendment"; -export type { ExitedReviewModeEvent } from "./ExitedReviewModeEvent"; export type { FileChange } from "./FileChange"; -export type { FileSystemPermissions } from "./FileSystemPermissions"; export type { ForcedLoginMethod } from "./ForcedLoginMethod"; -export type { ForkConversationParams } from "./ForkConversationParams"; -export type { ForkConversationResponse } from "./ForkConversationResponse"; export type { FunctionCallOutputBody } from "./FunctionCallOutputBody"; export type { FunctionCallOutputContentItem } from "./FunctionCallOutputContentItem"; -export type { FunctionCallOutputPayload } from "./FunctionCallOutputPayload"; export type { FuzzyFileSearchMatchType } from "./FuzzyFileSearchMatchType"; export type { FuzzyFileSearchParams } from "./FuzzyFileSearchParams"; export type { FuzzyFileSearchResponse } from "./FuzzyFileSearchResponse"; @@ -105,218 +33,59 @@ export type { GetAuthStatusParams } from "./GetAuthStatusParams"; export type { GetAuthStatusResponse } from "./GetAuthStatusResponse"; export type { GetConversationSummaryParams } from "./GetConversationSummaryParams"; export type { GetConversationSummaryResponse } from "./GetConversationSummaryResponse"; -export type { GetHistoryEntryResponseEvent } from "./GetHistoryEntryResponseEvent"; -export type { GetUserAgentResponse } from "./GetUserAgentResponse"; -export type { GetUserSavedConfigResponse } from "./GetUserSavedConfigResponse"; -export type { GhostCommit } from "./GhostCommit"; export type { GitDiffToRemoteParams } from "./GitDiffToRemoteParams"; export type { GitDiffToRemoteResponse } from "./GitDiffToRemoteResponse"; export type { GitSha } from "./GitSha"; -export type { HistoryEntry } from "./HistoryEntry"; -export type { HookCompletedEvent } from "./HookCompletedEvent"; -export type { HookEventName } from "./HookEventName"; -export type { HookExecutionMode } from "./HookExecutionMode"; -export type { HookHandlerType } from "./HookHandlerType"; -export type { HookOutputEntry } from "./HookOutputEntry"; -export type { HookOutputEntryKind } from "./HookOutputEntryKind"; -export type { HookRunStatus } from "./HookRunStatus"; -export type { HookRunSummary } from "./HookRunSummary"; -export type { HookScope } from "./HookScope"; -export type { HookStartedEvent } from "./HookStartedEvent"; -export type { ImageContent } from "./ImageContent"; export type { ImageDetail } from "./ImageDetail"; -export type { ImageGenerationBeginEvent } from "./ImageGenerationBeginEvent"; -export type { ImageGenerationEndEvent } from "./ImageGenerationEndEvent"; export type { ImageGenerationItem } from "./ImageGenerationItem"; export type { InitializeCapabilities } from "./InitializeCapabilities"; export type { InitializeParams } from "./InitializeParams"; export type { InitializeResponse } from "./InitializeResponse"; -export type { InputItem } from "./InputItem"; export type { InputModality } from "./InputModality"; export type { InternalChatMessageMetadataPassthrough } from "./InternalChatMessageMetadataPassthrough"; export type { InternalSessionSource } from "./InternalSessionSource"; -export type { InterruptConversationParams } from "./InterruptConversationParams"; -export type { InterruptConversationResponse } from "./InterruptConversationResponse"; -export type { ItemCompletedEvent } from "./ItemCompletedEvent"; -export type { ItemStartedEvent } from "./ItemStartedEvent"; export type { LegacyAppPathString } from "./LegacyAppPathString"; -export type { ListConversationsParams } from "./ListConversationsParams"; -export type { ListConversationsResponse } from "./ListConversationsResponse"; -export type { ListCustomPromptsResponseEvent } from "./ListCustomPromptsResponseEvent"; -export type { ListRemoteSkillsResponseEvent } from "./ListRemoteSkillsResponseEvent"; -export type { ListSkillsResponseEvent } from "./ListSkillsResponseEvent"; export type { LocalShellAction } from "./LocalShellAction"; export type { LocalShellExecAction } from "./LocalShellExecAction"; export type { LocalShellStatus } from "./LocalShellStatus"; -export type { LoginApiKeyParams } from "./LoginApiKeyParams"; -export type { LoginApiKeyResponse } from "./LoginApiKeyResponse"; -export type { LoginChatGptCompleteNotification } from "./LoginChatGptCompleteNotification"; -export type { LoginChatGptResponse } from "./LoginChatGptResponse"; -export type { LogoutChatGptResponse } from "./LogoutChatGptResponse"; -export type { MacOsAutomationPermission } from "./MacOsAutomationPermission"; -export type { MacOsAutomationValue } from "./MacOsAutomationValue"; -export type { MacOsPermissions } from "./MacOsPermissions"; -export type { MacOsPreferencesPermission } from "./MacOsPreferencesPermission"; -export type { MacOsPreferencesValue } from "./MacOsPreferencesValue"; -export type { MacOsSeatbeltProfileExtensions } from "./MacOsSeatbeltProfileExtensions"; -export type { McpAuthStatus } from "./McpAuthStatus"; -export type { McpInvocation } from "./McpInvocation"; -export type { McpListToolsResponseEvent } from "./McpListToolsResponseEvent"; export type { McpServerInfo } from "./McpServerInfo"; -export type { McpStartupCompleteEvent } from "./McpStartupCompleteEvent"; -export type { McpStartupFailure } from "./McpStartupFailure"; -export type { McpStartupStatus } from "./McpStartupStatus"; -export type { McpStartupUpdateEvent } from "./McpStartupUpdateEvent"; -export type { McpToolCallBeginEvent } from "./McpToolCallBeginEvent"; -export type { McpToolCallEndEvent } from "./McpToolCallEndEvent"; export type { MessagePhase } from "./MessagePhase"; export type { ModeKind } from "./ModeKind"; -export type { ModelRerouteEvent } from "./ModelRerouteEvent"; -export type { ModelRerouteReason } from "./ModelRerouteReason"; export type { MultiAgentMode } from "./MultiAgentMode"; -export type { NetworkAccess } from "./NetworkAccess"; -export type { NetworkApprovalContext } from "./NetworkApprovalContext"; -export type { NetworkApprovalProtocol } from "./NetworkApprovalProtocol"; -export type { NetworkPermissions } from "./NetworkPermissions"; export type { NetworkPolicyAmendment } from "./NetworkPolicyAmendment"; export type { NetworkPolicyRuleAction } from "./NetworkPolicyRuleAction"; -export type { NewConversationParams } from "./NewConversationParams"; -export type { NewConversationResponse } from "./NewConversationResponse"; export type { ParsedCommand } from "./ParsedCommand"; -export type { PatchApplyBeginEvent } from "./PatchApplyBeginEvent"; -export type { PatchApplyEndEvent } from "./PatchApplyEndEvent"; -export type { PatchApplyStatus } from "./PatchApplyStatus"; export type { PathUri } from "./PathUri"; -export type { PermissionProfile } from "./PermissionProfile"; export type { Personality } from "./Personality"; -export type { PlanDeltaEvent } from "./PlanDeltaEvent"; -export type { PlanItem } from "./PlanItem"; -export type { PlanItemArg } from "./PlanItemArg"; export type { PlanType } from "./PlanType"; -export type { Profile } from "./Profile"; -export type { RateLimitSnapshot } from "./RateLimitSnapshot"; -export type { RateLimitWindow } from "./RateLimitWindow"; -export type { RawResponseItemEvent } from "./RawResponseItemEvent"; -export type { ReadOnlyAccess } from "./ReadOnlyAccess"; -export type { RealtimeAudioFrame } from "./RealtimeAudioFrame"; -export type { RealtimeConversationArchitecture } from "./RealtimeConversationArchitecture"; -export type { RealtimeConversationClosedEvent } from "./RealtimeConversationClosedEvent"; -export type { RealtimeConversationRealtimeEvent } from "./RealtimeConversationRealtimeEvent"; -export type { RealtimeConversationStartedEvent } from "./RealtimeConversationStartedEvent"; export type { RealtimeConversationVersion } from "./RealtimeConversationVersion"; -export type { RealtimeEvent } from "./RealtimeEvent"; -export type { RealtimeHandoffMessage } from "./RealtimeHandoffMessage"; -export type { RealtimeHandoffRequested } from "./RealtimeHandoffRequested"; export type { RealtimeOutputModality } from "./RealtimeOutputModality"; -export type { RealtimeTranscriptDelta } from "./RealtimeTranscriptDelta"; -export type { RealtimeTranscriptEntry } from "./RealtimeTranscriptEntry"; export type { RealtimeVoice } from "./RealtimeVoice"; export type { RealtimeVoicesList } from "./RealtimeVoicesList"; -export type { ReasoningContentDeltaEvent } from "./ReasoningContentDeltaEvent"; export type { ReasoningEffort } from "./ReasoningEffort"; -export type { ReasoningItem } from "./ReasoningItem"; export type { ReasoningItemContent } from "./ReasoningItemContent"; export type { ReasoningItemReasoningSummary } from "./ReasoningItemReasoningSummary"; -export type { ReasoningRawContentDeltaEvent } from "./ReasoningRawContentDeltaEvent"; export type { ReasoningSummary } from "./ReasoningSummary"; -export type { RejectConfig } from "./RejectConfig"; -export type { RemoteSkillDownloadedEvent } from "./RemoteSkillDownloadedEvent"; -export type { RemoteSkillSummary } from "./RemoteSkillSummary"; -export type { RemoveConversationListenerParams } from "./RemoveConversationListenerParams"; -export type { RemoveConversationSubscriptionResponse } from "./RemoveConversationSubscriptionResponse"; export type { RequestId } from "./RequestId"; -export type { RequestPermissionsEvent } from "./RequestPermissionsEvent"; -export type { RequestUserInputEvent } from "./RequestUserInputEvent"; -export type { RequestUserInputQuestion } from "./RequestUserInputQuestion"; -export type { RequestUserInputQuestionOption } from "./RequestUserInputQuestionOption"; export type { Resource } from "./Resource"; export type { ResourceContent } from "./ResourceContent"; -export type { ResourceLink } from "./ResourceLink"; export type { ResourceTemplate } from "./ResourceTemplate"; export type { ResponseItem } from "./ResponseItem"; export type { ResponseItemId } from "./ResponseItemId"; -export type { ResponseItemMetadata } from "./ResponseItemMetadata"; -export type { ResumeConversationParams } from "./ResumeConversationParams"; -export type { ResumeConversationResponse } from "./ResumeConversationResponse"; -export type { ReviewCodeLocation } from "./ReviewCodeLocation"; export type { ReviewDecision } from "./ReviewDecision"; -export type { ReviewFinding } from "./ReviewFinding"; -export type { ReviewLineRange } from "./ReviewLineRange"; -export type { ReviewOutputEvent } from "./ReviewOutputEvent"; -export type { ReviewRequest } from "./ReviewRequest"; -export type { ReviewTarget } from "./ReviewTarget"; -export type { Role } from "./Role"; -export type { SandboxCommandAssessment } from "./SandboxCommandAssessment"; -export type { SandboxMode } from "./SandboxMode"; -export type { SandboxPolicy } from "./SandboxPolicy"; -export type { SandboxRiskLevel } from "./SandboxRiskLevel"; -export type { SandboxSettings } from "./SandboxSettings"; -export type { SendUserMessageParams } from "./SendUserMessageParams"; -export type { SendUserMessageResponse } from "./SendUserMessageResponse"; -export type { SendUserTurnParams } from "./SendUserTurnParams"; -export type { SendUserTurnResponse } from "./SendUserTurnResponse"; export type { ServerNotification } from "./ServerNotification"; export type { ServerNotificationEnvelope } from "./ServerNotificationEnvelope"; export type { ServerRequest } from "./ServerRequest"; -export type { ServiceTier } from "./ServiceTier"; -export type { SessionConfiguredEvent } from "./SessionConfiguredEvent"; -export type { SessionConfiguredNotification } from "./SessionConfiguredNotification"; -export type { SessionNetworkProxyRuntime } from "./SessionNetworkProxyRuntime"; export type { SessionSource } from "./SessionSource"; -export type { SetDefaultModelParams } from "./SetDefaultModelParams"; -export type { SetDefaultModelResponse } from "./SetDefaultModelResponse"; export type { Settings } from "./Settings"; -export type { SkillDependencies } from "./SkillDependencies"; -export type { SkillErrorInfo } from "./SkillErrorInfo"; -export type { SkillInterface } from "./SkillInterface"; -export type { SkillMetadata } from "./SkillMetadata"; -export type { SkillRequestApprovalEvent } from "./SkillRequestApprovalEvent"; -export type { SkillScope } from "./SkillScope"; -export type { SkillToolDependency } from "./SkillToolDependency"; -export type { SkillsListEntry } from "./SkillsListEntry"; export type { SleepItem } from "./SleepItem"; -export type { StepStatus } from "./StepStatus"; -export type { StreamErrorEvent } from "./StreamErrorEvent"; export type { SubAgentSource } from "./SubAgentSource"; -export type { TaskCompleteEvent } from "./TaskCompleteEvent"; -export type { TaskStartedEvent } from "./TaskStartedEvent"; -export type { TerminalInteractionEvent } from "./TerminalInteractionEvent"; -export type { TextContent } from "./TextContent"; -export type { TextElement } from "./TextElement"; -export type { TextResourceContents } from "./TextResourceContents"; export type { ThreadId } from "./ThreadId"; export type { ThreadMemoryMode } from "./ThreadMemoryMode"; -export type { ThreadNameUpdatedEvent } from "./ThreadNameUpdatedEvent"; -export type { ThreadRolledBackEvent } from "./ThreadRolledBackEvent"; -export type { TokenCountEvent } from "./TokenCountEvent"; -export type { TokenUsage } from "./TokenUsage"; -export type { TokenUsageInfo } from "./TokenUsageInfo"; export type { Tool } from "./Tool"; -export type { ToolAnnotations } from "./ToolAnnotations"; -export type { ToolInputSchema } from "./ToolInputSchema"; -export type { ToolOutputSchema } from "./ToolOutputSchema"; -export type { Tools } from "./Tools"; -export type { TurnAbortReason } from "./TurnAbortReason"; -export type { TurnAbortedEvent } from "./TurnAbortedEvent"; -export type { TurnCompleteEvent } from "./TurnCompleteEvent"; -export type { TurnDiffEvent } from "./TurnDiffEvent"; -export type { TurnItem } from "./TurnItem"; -export type { TurnStartedEvent } from "./TurnStartedEvent"; -export type { UndoCompletedEvent } from "./UndoCompletedEvent"; -export type { UndoStartedEvent } from "./UndoStartedEvent"; -export type { UpdatePlanArgs } from "./UpdatePlanArgs"; -export type { UserInfoResponse } from "./UserInfoResponse"; -export type { UserInput } from "./UserInput"; -export type { UserMessageEvent } from "./UserMessageEvent"; -export type { UserMessageItem } from "./UserMessageItem"; -export type { UserSavedConfig } from "./UserSavedConfig"; export type { Verbosity } from "./Verbosity"; -export type { ViewImageToolCallEvent } from "./ViewImageToolCallEvent"; -export type { WarningEvent } from "./WarningEvent"; export type { WebSearchAction } from "./WebSearchAction"; -export type { WebSearchBeginEvent } from "./WebSearchBeginEvent"; export type { WebSearchContextSize } from "./WebSearchContextSize"; -export type { WebSearchEndEvent } from "./WebSearchEndEvent"; export type { WebSearchItem } from "./WebSearchItem"; export type { WebSearchLocation } from "./WebSearchLocation"; export type { WebSearchMode } from "./WebSearchMode"; diff --git a/src/app-server/v2/AccountLoginCompletedNotification.ts b/src/app-server/v2/AccountLoginCompletedNotification.ts index 587237b2..65e251eb 100644 --- a/src/app-server/v2/AccountLoginCompletedNotification.ts +++ b/src/app-server/v2/AccountLoginCompletedNotification.ts @@ -1,5 +1,6 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { DesktopOnboardingEntrypoint } from "./DesktopOnboardingEntrypoint"; -export type AccountLoginCompletedNotification = { loginId: string | null, success: boolean, error: string | null, }; +export type AccountLoginCompletedNotification = { loginId: string | null, success: boolean, error: string | null, onboardingEntrypoint: DesktopOnboardingEntrypoint | null, }; diff --git a/src/app-server/v2/CommandAction.ts b/src/app-server/v2/CommandAction.ts index a17fb06a..91c92c9c 100644 --- a/src/app-server/v2/CommandAction.ts +++ b/src/app-server/v2/CommandAction.ts @@ -1,6 +1,6 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { AbsolutePathBuf } from "../AbsolutePathBuf"; +import type { LegacyAppPathString } from "../LegacyAppPathString"; -export type CommandAction = { "type": "read", command: string, name: string, path: AbsolutePathBuf, } | { "type": "listFiles", command: string, path: string | null, } | { "type": "search", command: string, query: string | null, path: string | null, } | { "type": "unknown", command: string, }; +export type CommandAction = { "type": "read", command: string, name: string, path: LegacyAppPathString, } | { "type": "listFiles", command: string, path: string | null, } | { "type": "search", command: string, query: string | null, path: string | null, } | { "type": "unknown", command: string, }; diff --git a/src/app-server/v2/DesktopOnboardingEntrypoint.ts b/src/app-server/v2/DesktopOnboardingEntrypoint.ts new file mode 100644 index 00000000..75a73210 --- /dev/null +++ b/src/app-server/v2/DesktopOnboardingEntrypoint.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type DesktopOnboardingEntrypoint = "life_sciences"; diff --git a/src/app-server/v2/ExternalAgentConfigDetectResponse.ts b/src/app-server/v2/ExternalAgentConfigDetectResponse.ts index f220e3b6..5df7e69c 100644 --- a/src/app-server/v2/ExternalAgentConfigDetectResponse.ts +++ b/src/app-server/v2/ExternalAgentConfigDetectResponse.ts @@ -2,5 +2,6 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigrationItem"; +import type { ExternalAgentDetectedConnectorCandidate } from "./ExternalAgentDetectedConnectorCandidate"; -export type ExternalAgentConfigDetectResponse = { items: Array, }; +export type ExternalAgentConfigDetectResponse = { items: Array, connectors: Array, }; diff --git a/src/app-server/v2/ExternalAgentConfigImportHistoryRecordParams.ts b/src/app-server/v2/ExternalAgentConfigImportHistoryRecordParams.ts index 71a20b65..379c1e11 100644 --- a/src/app-server/v2/ExternalAgentConfigImportHistoryRecordParams.ts +++ b/src/app-server/v2/ExternalAgentConfigImportHistoryRecordParams.ts @@ -1,7 +1,7 @@ // GENERATED CODE! DO NOT MODIFY BY HAND! // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -import type { ExternalAgentConfigImportTypeResult } from "./ExternalAgentConfigImportTypeResult"; +import type { ExternalAgentConfigImportHistoryRecordTypeResultParams } from "./ExternalAgentConfigImportHistoryRecordTypeResultParams"; export type ExternalAgentConfigImportHistoryRecordParams = { /** @@ -11,4 +11,4 @@ providerId: string, /** * Completed results grouped by imported item type. */ -itemTypeResults: Array, }; +itemTypeResults: Array, }; diff --git a/src/app-server/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts b/src/app-server/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts new file mode 100644 index 00000000..a2f475d3 --- /dev/null +++ b/src/app-server/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts @@ -0,0 +1,10 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; + +export type ExternalAgentConfigImportHistoryRecordSuccessParams = { itemType: ExternalAgentConfigMigrationItemType, cwd: string | null, source: string | null, target: string | null, +/** + * Original title for an imported session, when available. + */ +title?: string | null, }; diff --git a/src/app-server/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts b/src/app-server/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts new file mode 100644 index 00000000..6a5d053f --- /dev/null +++ b/src/app-server/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ExternalAgentConfigImportHistoryRecordSuccessParams } from "./ExternalAgentConfigImportHistoryRecordSuccessParams"; +import type { ExternalAgentConfigImportItemTypeFailure } from "./ExternalAgentConfigImportItemTypeFailure"; +import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; + +export type ExternalAgentConfigImportHistoryRecordTypeResultParams = { itemType: ExternalAgentConfigMigrationItemType, successes: Array, failures: Array, }; diff --git a/src/app-server/v2/ExternalAgentConfigImportItemTypeSuccess.ts b/src/app-server/v2/ExternalAgentConfigImportItemTypeSuccess.ts index d94ad4a9..51423139 100644 --- a/src/app-server/v2/ExternalAgentConfigImportItemTypeSuccess.ts +++ b/src/app-server/v2/ExternalAgentConfigImportItemTypeSuccess.ts @@ -3,4 +3,8 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; -export type ExternalAgentConfigImportItemTypeSuccess = { itemType: ExternalAgentConfigMigrationItemType, cwd: string | null, source: string | null, target: string | null, }; +export type ExternalAgentConfigImportItemTypeSuccess = { itemType: ExternalAgentConfigMigrationItemType, cwd: string | null, source: string | null, target: string | null, +/** + * Original title for an imported session; null for other item types. + */ +title: string | null, }; diff --git a/src/app-server/v2/ExternalAgentDetectedConnectorCandidate.ts b/src/app-server/v2/ExternalAgentDetectedConnectorCandidate.ts new file mode 100644 index 00000000..d1932d7d --- /dev/null +++ b/src/app-server/v2/ExternalAgentDetectedConnectorCandidate.ts @@ -0,0 +1,6 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ExternalAgentDetectedConnectorSource } from "./ExternalAgentDetectedConnectorSource"; + +export type ExternalAgentDetectedConnectorCandidate = { name: string, sessionCount: number, source: ExternalAgentDetectedConnectorSource, }; diff --git a/src/app-server/v2/ExternalAgentDetectedConnectorSource.ts b/src/app-server/v2/ExternalAgentDetectedConnectorSource.ts new file mode 100644 index 00000000..c4c608c4 --- /dev/null +++ b/src/app-server/v2/ExternalAgentDetectedConnectorSource.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ExternalAgentDetectedConnectorSource = "remoteMcpServersConfig" | "sessionToolUse"; diff --git a/src/app-server/v2/McpAuthStatus.ts b/src/app-server/v2/McpAuthStatus.ts index 6903a123..67d1233d 100644 --- a/src/app-server/v2/McpAuthStatus.ts +++ b/src/app-server/v2/McpAuthStatus.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type McpAuthStatus = "unsupported" | "notLoggedIn" | "bearerToken" | "oAuth"; +export type McpAuthStatus = "unknown" | "unsupported" | "notLoggedIn" | "bearerToken" | "oAuth"; diff --git a/src/app-server/v2/PluginDisabledReason.ts b/src/app-server/v2/PluginDisabledReason.ts new file mode 100644 index 00000000..01799dde --- /dev/null +++ b/src/app-server/v2/PluginDisabledReason.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type PluginDisabledReason = "disabled_by_admin" | "plan_not_eligible" | "required_app_unavailable" | "unknown"; diff --git a/src/app-server/v2/PluginSearchResult.ts b/src/app-server/v2/PluginSearchResult.ts new file mode 100644 index 00000000..94a2895e --- /dev/null +++ b/src/app-server/v2/PluginSearchResult.ts @@ -0,0 +1,7 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { AbsolutePathBuf } from "../AbsolutePathBuf"; +import type { PluginSummary } from "./PluginSummary"; + +export type PluginSearchResult = { plugin: PluginSummary, marketplaceName: string, marketplacePath: AbsolutePathBuf | null, }; diff --git a/src/app-server/v2/PluginSearchScope.ts b/src/app-server/v2/PluginSearchScope.ts new file mode 100644 index 00000000..0def10bd --- /dev/null +++ b/src/app-server/v2/PluginSearchScope.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type PluginSearchScope = "global" | "workspace" | "personal"; diff --git a/src/app-server/v2/PluginSummary.ts b/src/app-server/v2/PluginSummary.ts index b02eba16..6dedc1ba 100644 --- a/src/app-server/v2/PluginSummary.ts +++ b/src/app-server/v2/PluginSummary.ts @@ -3,6 +3,7 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { PluginAuthPolicy } from "./PluginAuthPolicy"; import type { PluginAvailability } from "./PluginAvailability"; +import type { PluginDisabledReason } from "./PluginDisabledReason"; import type { PluginInstallPolicy } from "./PluginInstallPolicy"; import type { PluginInstallPolicySource } from "./PluginInstallPolicySource"; import type { PluginInterface } from "./PluginInterface"; @@ -25,8 +26,20 @@ localVersion: string | null, name: string, /** * Remote sharing context associated with this plugin when available. */ -shareContext: PluginShareContext | null, source: PluginSource, installed: boolean, enabled: boolean, installPolicy: PluginInstallPolicy, installPolicySource: PluginInstallPolicySource | null, mustShowInstallationInterstitial: boolean | null, authPolicy: PluginAuthPolicy, +shareContext: PluginShareContext | null, source: PluginSource, installed: boolean, +/** + * Unix timestamp in seconds when the remote plugin was installed, when available. + */ +installedAt: number | null, enabled: boolean, installPolicy: PluginInstallPolicy, installPolicySource: PluginInstallPolicySource | null, mustShowInstallationInterstitial: boolean | null, authPolicy: PluginAuthPolicy, /** * Availability state for installing and using the plugin. */ -availability: PluginAvailability, interface: PluginInterface | null, keywords: Array, }; +availability: PluginAvailability, +/** + * Why the remote plugin is unavailable, when provided by plugin-service. + */ +disabledReason: PluginDisabledReason | null, +/** + * Raw plugin-service plan identifiers eligible to install the plugin. + */ +eligiblePlanTypes: Array | null, interface: PluginInterface | null, keywords: Array, }; diff --git a/src/app-server/v2/Thread.ts b/src/app-server/v2/Thread.ts index 1944cbd6..cad1d946 100644 --- a/src/app-server/v2/Thread.ts +++ b/src/app-server/v2/Thread.ts @@ -4,6 +4,7 @@ import type { AbsolutePathBuf } from "../AbsolutePathBuf"; import type { GitInfo } from "./GitInfo"; import type { SessionSource } from "./SessionSource"; +import type { ThreadSection } from "./ThreadSection"; import type { ThreadSource } from "./ThreadSource"; import type { ThreadStatus } from "./ThreadStatus"; import type { Turn } from "./Turn"; @@ -27,9 +28,12 @@ preview: string, /** * Whether the thread is ephemeral and should not be materialized on disk. */ ephemeral: boolean, /** - * Whether the thread has been pinned by the user. + * The independently persisted section selected for this thread, if any. */ -isPinned: boolean, /** +section: ThreadSection | null, /** + * Unix timestamp in seconds when the thread entered its current section. + */ +sectionEnteredAt: number | null, /** * Model provider used for this thread (for example, 'openai'). */ modelProvider: string, /** diff --git a/src/app-server/v2/ThreadItem.ts b/src/app-server/v2/ThreadItem.ts index 0a8ab885..f7932106 100644 --- a/src/app-server/v2/ThreadItem.ts +++ b/src/app-server/v2/ThreadItem.ts @@ -69,7 +69,7 @@ durationMs: number | null, } | { "type": "fileChange", id: string, changes: Arra /** * Deprecated: use `appContext.resourceUri` instead. */ -mcpAppResourceUri?: string, pluginId: string | null, result: McpToolCallResult | null, error: McpToolCallError | null, +mcpAppResourceUri?: string, pluginId: string | null, readOnlyHint: boolean | null, result: McpToolCallResult | null, error: McpToolCallError | null, /** * The duration of the MCP tool call in milliseconds. */ diff --git a/src/app-server/v2/ThreadListParams.ts b/src/app-server/v2/ThreadListParams.ts index 7d611ddc..3bff76e2 100644 --- a/src/app-server/v2/ThreadListParams.ts +++ b/src/app-server/v2/ThreadListParams.ts @@ -30,9 +30,10 @@ sourceKinds?: Array | null, /** * If false or null, only non-archived threads are returned. */ archived?: boolean | null, /** - * Optional pinned filter; when set, only threads matching this value are returned. + * Omit to include every section, set to `null` for unsectioned threads, + * or provide a section ID to return only threads in that section. */ -isPinned?: boolean | null, /** +sectionId?: string | null, /** * Optional cwd filter or filters; when set, only threads whose session cwd * exactly matches one of these paths are returned. */ diff --git a/src/app-server/v2/ThreadMetadataUpdateParams.ts b/src/app-server/v2/ThreadMetadataUpdateParams.ts index 4e670e84..bec4bc12 100644 --- a/src/app-server/v2/ThreadMetadataUpdateParams.ts +++ b/src/app-server/v2/ThreadMetadataUpdateParams.ts @@ -9,8 +9,4 @@ export type ThreadMetadataUpdateParams = { threadId: string, * Omit a field to leave it unchanged, set it to `null` to clear it, or * provide a string to replace the stored value. */ -gitInfo?: ThreadMetadataGitInfoUpdateParams | null, -/** - * Patch whether this thread is pinned. Omit to leave the stored value unchanged. - */ -isPinned?: boolean | null, }; +gitInfo?: ThreadMetadataGitInfoUpdateParams | null, }; diff --git a/src/app-server/v2/ThreadSearchSortKey.ts b/src/app-server/v2/ThreadSearchSortKey.ts new file mode 100644 index 00000000..4abf2713 --- /dev/null +++ b/src/app-server/v2/ThreadSearchSortKey.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadSearchSortKey = "created_at" | "updated_at" | "recency_at"; diff --git a/src/app-server/v2/ThreadSection.ts b/src/app-server/v2/ThreadSection.ts new file mode 100644 index 00000000..ee5bc7e2 --- /dev/null +++ b/src/app-server/v2/ThreadSection.ts @@ -0,0 +1,16 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * An independently persisted, user-visible thread section. + */ +export type ThreadSection = { +/** + * Opaque UUIDv7 identity that remains stable when the section is renamed. + */ +id: string, +/** + * The current user-visible section name. + */ +name: string, }; diff --git a/src/app-server/v2/ThreadSectionCreateParams.ts b/src/app-server/v2/ThreadSectionCreateParams.ts new file mode 100644 index 00000000..f9b1cffc --- /dev/null +++ b/src/app-server/v2/ThreadSectionCreateParams.ts @@ -0,0 +1,12 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for creating an independently persisted thread section. + */ +export type ThreadSectionCreateParams = { +/** + * The user-visible name of the section. + */ +name: string, }; diff --git a/src/app-server/v2/ThreadSectionCreateResponse.ts b/src/app-server/v2/ThreadSectionCreateResponse.ts new file mode 100644 index 00000000..ef51ca03 --- /dev/null +++ b/src/app-server/v2/ThreadSectionCreateResponse.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSection } from "./ThreadSection"; + +/** + * The independently persisted section created by the server. + */ +export type ThreadSectionCreateResponse = { section: ThreadSection, }; diff --git a/src/app-server/v2/ThreadSectionDeleteParams.ts b/src/app-server/v2/ThreadSectionDeleteParams.ts new file mode 100644 index 00000000..2cb21bcd --- /dev/null +++ b/src/app-server/v2/ThreadSectionDeleteParams.ts @@ -0,0 +1,12 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for deleting an independently persisted thread section. + */ +export type ThreadSectionDeleteParams = { +/** + * The stable, server-generated identity of the section to delete. + */ +sectionId: string, }; diff --git a/src/app-server/v2/ThreadSectionDeleteResponse.ts b/src/app-server/v2/ThreadSectionDeleteResponse.ts new file mode 100644 index 00000000..0ad58d01 --- /dev/null +++ b/src/app-server/v2/ThreadSectionDeleteResponse.ts @@ -0,0 +1,8 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Successful deletion does not return additional section data. + */ +export type ThreadSectionDeleteResponse = Record; diff --git a/src/app-server/v2/ThreadSectionListParams.ts b/src/app-server/v2/ThreadSectionListParams.ts new file mode 100644 index 00000000..57a28c79 --- /dev/null +++ b/src/app-server/v2/ThreadSectionListParams.ts @@ -0,0 +1,16 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for listing independently persisted thread sections. + */ +export type ThreadSectionListParams = { +/** + * Opaque pagination cursor returned by a previous call. + */ +cursor?: string | null, +/** + * Maximum number of sections to return. + */ +limit?: number | null, }; diff --git a/src/app-server/v2/ThreadSectionListResponse.ts b/src/app-server/v2/ThreadSectionListResponse.ts new file mode 100644 index 00000000..08bebabf --- /dev/null +++ b/src/app-server/v2/ThreadSectionListResponse.ts @@ -0,0 +1,13 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSection } from "./ThreadSection"; + +/** + * One page of independently persisted thread sections. + */ +export type ThreadSectionListResponse = { data: Array, +/** + * Opaque cursor for the next page, or `null` when no sections remain. + */ +nextCursor: string | null, }; diff --git a/src/app-server/v2/ThreadSectionMoveParams.ts b/src/app-server/v2/ThreadSectionMoveParams.ts new file mode 100644 index 00000000..b3b70cb6 --- /dev/null +++ b/src/app-server/v2/ThreadSectionMoveParams.ts @@ -0,0 +1,20 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for moving a thread within a server-owned section ordering. + */ +export type ThreadSectionMoveParams = { +/** + * Thread to move into, within, or out of a section. + */ +threadId: string, +/** + * Destination section, or `null` to remove the thread from its section. + */ +sectionId: string | null, +/** + * Existing thread to insert before; omission or null appends to the section. + */ +beforeThreadId?: string | null, }; diff --git a/src/app-server/v2/ThreadSectionMoveResponse.ts b/src/app-server/v2/ThreadSectionMoveResponse.ts new file mode 100644 index 00000000..e9e0f439 --- /dev/null +++ b/src/app-server/v2/ThreadSectionMoveResponse.ts @@ -0,0 +1,5 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +export type ThreadSectionMoveResponse = Record; diff --git a/src/app-server/v2/ThreadSectionUpdateParams.ts b/src/app-server/v2/ThreadSectionUpdateParams.ts new file mode 100644 index 00000000..4134f238 --- /dev/null +++ b/src/app-server/v2/ThreadSectionUpdateParams.ts @@ -0,0 +1,16 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. + +/** + * Parameters for updating an independently persisted thread section. + */ +export type ThreadSectionUpdateParams = { +/** + * The stable, server-generated identity of the section to update. + */ +sectionId: string, +/** + * The updated user-visible name of the section. + */ +name: string, }; diff --git a/src/app-server/v2/ThreadSectionUpdateResponse.ts b/src/app-server/v2/ThreadSectionUpdateResponse.ts new file mode 100644 index 00000000..54f4c156 --- /dev/null +++ b/src/app-server/v2/ThreadSectionUpdateResponse.ts @@ -0,0 +1,9 @@ +// GENERATED CODE! DO NOT MODIFY BY HAND! + +// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. +import type { ThreadSection } from "./ThreadSection"; + +/** + * The independently persisted section after its name is updated. + */ +export type ThreadSectionUpdateResponse = { section: ThreadSection, }; diff --git a/src/app-server/v2/ThreadSortKey.ts b/src/app-server/v2/ThreadSortKey.ts index d93f1c47..21eae4e7 100644 --- a/src/app-server/v2/ThreadSortKey.ts +++ b/src/app-server/v2/ThreadSortKey.ts @@ -2,4 +2,4 @@ // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. -export type ThreadSortKey = "created_at" | "updated_at" | "recency_at"; +export type ThreadSortKey = "created_at" | "updated_at" | "recency_at" | "section_position"; diff --git a/src/app-server/v2/ToolRequestUserInputParams.ts b/src/app-server/v2/ToolRequestUserInputParams.ts index 73ff8b67..135389ff 100644 --- a/src/app-server/v2/ToolRequestUserInputParams.ts +++ b/src/app-server/v2/ToolRequestUserInputParams.ts @@ -6,4 +6,8 @@ import type { ToolRequestUserInputQuestion } from "./ToolRequestUserInputQuestio /** * EXPERIMENTAL. Params sent with a request_user_input event. */ -export type ToolRequestUserInputParams = { threadId: string, turnId: string, itemId: string, questions: Array, autoResolutionMs: number | null, }; +export type ToolRequestUserInputParams = { threadId: string, turnId: string, itemId: string, questions: Array, isBlocking: boolean, +/** + * @deprecated Use `isBlocking` to decide whether the request should block. + */ +autoResolutionMs: number | null, }; diff --git a/src/app-server/v2/index.ts b/src/app-server/v2/index.ts index c0ed4177..7f553685 100644 --- a/src/app-server/v2/index.ts +++ b/src/app-server/v2/index.ts @@ -7,19 +7,16 @@ export type { AccountTokenUsageDailyBucket } from "./AccountTokenUsageDailyBucke export type { AccountTokenUsageSummary } from "./AccountTokenUsageSummary"; export type { AccountUpdatedNotification } from "./AccountUpdatedNotification"; export type { ActivePermissionProfile } from "./ActivePermissionProfile"; -export type { ActivePermissionProfileModification } from "./ActivePermissionProfileModification"; export type { AddCreditsNudgeCreditType } from "./AddCreditsNudgeCreditType"; export type { AddCreditsNudgeEmailStatus } from "./AddCreditsNudgeEmailStatus"; export type { AdditionalContextEntry } from "./AdditionalContextEntry"; export type { AdditionalContextKind } from "./AdditionalContextKind"; export type { AdditionalFileSystemPermissions } from "./AdditionalFileSystemPermissions"; -export type { AdditionalMacOsPermissions } from "./AdditionalMacOsPermissions"; export type { AdditionalNetworkPermissions } from "./AdditionalNetworkPermissions"; export type { AdditionalPermissionProfile } from "./AdditionalPermissionProfile"; export type { AgentMessageDeltaNotification } from "./AgentMessageDeltaNotification"; export type { AnalyticsConfig } from "./AnalyticsConfig"; export type { AppBranding } from "./AppBranding"; -export type { AppDisabledReason } from "./AppDisabledReason"; export type { AppInfo } from "./AppInfo"; export type { AppListUpdatedNotification } from "./AppListUpdatedNotification"; export type { AppMetadata } from "./AppMetadata"; @@ -31,7 +28,6 @@ export type { AppTemplateUnavailableReason } from "./AppTemplateUnavailableReaso export type { AppToolApproval } from "./AppToolApproval"; export type { AppToolSummary } from "./AppToolSummary"; export type { AppToolsConfig } from "./AppToolsConfig"; -export type { ApprovalDecision } from "./ApprovalDecision"; export type { ApprovalsReviewer } from "./ApprovalsReviewer"; export type { AppsConfig } from "./AppsConfig"; export type { AppsDefaultConfig } from "./AppsDefaultConfig"; @@ -74,21 +70,17 @@ export type { CommandExecWriteParams } from "./CommandExecWriteParams"; export type { CommandExecWriteResponse } from "./CommandExecWriteResponse"; export type { CommandExecutionApprovalDecision } from "./CommandExecutionApprovalDecision"; export type { CommandExecutionOutputDeltaNotification } from "./CommandExecutionOutputDeltaNotification"; -export type { CommandExecutionRequestAcceptSettings } from "./CommandExecutionRequestAcceptSettings"; export type { CommandExecutionRequestApprovalParams } from "./CommandExecutionRequestApprovalParams"; export type { CommandExecutionRequestApprovalResponse } from "./CommandExecutionRequestApprovalResponse"; -export type { CommandExecutionRequestApprovalSkillMetadata } from "./CommandExecutionRequestApprovalSkillMetadata"; export type { CommandExecutionSource } from "./CommandExecutionSource"; export type { CommandExecutionStatus } from "./CommandExecutionStatus"; export type { CommandMigration } from "./CommandMigration"; -export type { CommandRiskLevel } from "./CommandRiskLevel"; export type { ComputerUseRequirements } from "./ComputerUseRequirements"; export type { Config } from "./Config"; export type { ConfigBatchWriteParams } from "./ConfigBatchWriteParams"; export type { ConfigEdit } from "./ConfigEdit"; export type { ConfigLayer } from "./ConfigLayer"; export type { ConfigLayerMetadata } from "./ConfigLayerMetadata"; -export type { ConfigLayerName } from "./ConfigLayerName"; export type { ConfigLayerSource } from "./ConfigLayerSource"; export type { ConfigReadParams } from "./ConfigReadParams"; export type { ConfigReadResponse } from "./ConfigReadResponse"; @@ -106,16 +98,7 @@ export type { ConsumeAccountRateLimitResetCreditResponse } from "./ConsumeAccoun export type { ContextCompactedNotification } from "./ContextCompactedNotification"; export type { CreditsSnapshot } from "./CreditsSnapshot"; export type { DeprecationNoticeNotification } from "./DeprecationNoticeNotification"; -export type { DeviceKeyAlgorithm } from "./DeviceKeyAlgorithm"; -export type { DeviceKeyCreateParams } from "./DeviceKeyCreateParams"; -export type { DeviceKeyCreateResponse } from "./DeviceKeyCreateResponse"; -export type { DeviceKeyProtectionClass } from "./DeviceKeyProtectionClass"; -export type { DeviceKeyProtectionPolicy } from "./DeviceKeyProtectionPolicy"; -export type { DeviceKeyPublicParams } from "./DeviceKeyPublicParams"; -export type { DeviceKeyPublicResponse } from "./DeviceKeyPublicResponse"; -export type { DeviceKeySignParams } from "./DeviceKeySignParams"; -export type { DeviceKeySignPayload } from "./DeviceKeySignPayload"; -export type { DeviceKeySignResponse } from "./DeviceKeySignResponse"; +export type { DesktopOnboardingEntrypoint } from "./DesktopOnboardingEntrypoint"; export type { DynamicToolCallOutputContentItem } from "./DynamicToolCallOutputContentItem"; export type { DynamicToolCallParams } from "./DynamicToolCallParams"; export type { DynamicToolCallResponse } from "./DynamicToolCallResponse"; @@ -140,6 +123,8 @@ export type { ExternalAgentConfigImportHistoriesReadResponse } from "./ExternalA export type { ExternalAgentConfigImportHistory } from "./ExternalAgentConfigImportHistory"; export type { ExternalAgentConfigImportHistoryRecordParams } from "./ExternalAgentConfigImportHistoryRecordParams"; export type { ExternalAgentConfigImportHistoryRecordResponse } from "./ExternalAgentConfigImportHistoryRecordResponse"; +export type { ExternalAgentConfigImportHistoryRecordSuccessParams } from "./ExternalAgentConfigImportHistoryRecordSuccessParams"; +export type { ExternalAgentConfigImportHistoryRecordTypeResultParams } from "./ExternalAgentConfigImportHistoryRecordTypeResultParams"; export type { ExternalAgentConfigImportItemTypeFailure } from "./ExternalAgentConfigImportItemTypeFailure"; export type { ExternalAgentConfigImportItemTypeSuccess } from "./ExternalAgentConfigImportItemTypeSuccess"; export type { ExternalAgentConfigImportParams } from "./ExternalAgentConfigImportParams"; @@ -148,6 +133,8 @@ export type { ExternalAgentConfigImportResponse } from "./ExternalAgentConfigImp export type { ExternalAgentConfigImportTypeResult } from "./ExternalAgentConfigImportTypeResult"; export type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigrationItem"; export type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType"; +export type { ExternalAgentDetectedConnectorCandidate } from "./ExternalAgentDetectedConnectorCandidate"; +export type { ExternalAgentDetectedConnectorSource } from "./ExternalAgentDetectedConnectorSource"; export type { ExternalAgentImportedConnectorCandidate } from "./ExternalAgentImportedConnectorCandidate"; export type { ExternalAgentImportedConnectorSource } from "./ExternalAgentImportedConnectorSource"; export type { FeedbackRequirements } from "./FeedbackRequirements"; @@ -190,7 +177,6 @@ export type { GetAccountResponse } from "./GetAccountResponse"; export type { GetAccountTokenUsageResponse } from "./GetAccountTokenUsageResponse"; export type { GetWorkspaceMessagesResponse } from "./GetWorkspaceMessagesResponse"; export type { GitInfo } from "./GitInfo"; -export type { GrantedMacOsPermissions } from "./GrantedMacOsPermissions"; export type { GrantedPermissionProfile } from "./GrantedPermissionProfile"; export type { GuardianApprovalReview } from "./GuardianApprovalReview"; export type { GuardianApprovalReviewAction } from "./GuardianApprovalReviewAction"; @@ -199,7 +185,6 @@ export type { GuardianCommandSource } from "./GuardianCommandSource"; export type { GuardianRiskLevel } from "./GuardianRiskLevel"; export type { GuardianUserAuthorization } from "./GuardianUserAuthorization"; export type { GuardianWarningNotification } from "./GuardianWarningNotification"; -export type { HazelnutScope } from "./HazelnutScope"; export type { HookCompletedNotification } from "./HookCompletedNotification"; export type { HookErrorInfo } from "./HookErrorInfo"; export type { HookEventName } from "./HookEventName"; @@ -226,8 +211,6 @@ export type { ItemGuardianApprovalReviewStartedNotification } from "./ItemGuardi export type { ItemStartedNotification } from "./ItemStartedNotification"; export type { ListMcpServerStatusParams } from "./ListMcpServerStatusParams"; export type { ListMcpServerStatusResponse } from "./ListMcpServerStatusResponse"; -export type { ListMcpServersParams } from "./ListMcpServersParams"; -export type { ListMcpServersResponse } from "./ListMcpServersResponse"; export type { LoginAccountParams } from "./LoginAccountParams"; export type { LoginAccountResponse } from "./LoginAccountResponse"; export type { LoginAppBrand } from "./LoginAppBrand"; @@ -267,7 +250,6 @@ export type { McpElicitationUntitledMultiSelectEnumSchema } from "./McpElicitati export type { McpElicitationUntitledSingleSelectEnumSchema } from "./McpElicitationUntitledSingleSelectEnumSchema"; export type { McpResourceReadParams } from "./McpResourceReadParams"; export type { McpResourceReadResponse } from "./McpResourceReadResponse"; -export type { McpServer } from "./McpServer"; export type { McpServerElicitationAction } from "./McpServerElicitationAction"; export type { McpServerElicitationRequestParams } from "./McpServerElicitationRequestParams"; export type { McpServerElicitationRequestResponse } from "./McpServerElicitationRequestResponse"; @@ -320,13 +302,8 @@ export type { OverriddenMetadata } from "./OverriddenMetadata"; export type { PatchApplyStatus } from "./PatchApplyStatus"; export type { PatchChangeKind } from "./PatchChangeKind"; export type { PermissionGrantScope } from "./PermissionGrantScope"; -export type { PermissionProfile } from "./PermissionProfile"; -export type { PermissionProfileFileSystemPermissions } from "./PermissionProfileFileSystemPermissions"; export type { PermissionProfileListParams } from "./PermissionProfileListParams"; export type { PermissionProfileListResponse } from "./PermissionProfileListResponse"; -export type { PermissionProfileModificationParams } from "./PermissionProfileModificationParams"; -export type { PermissionProfileNetworkPermissions } from "./PermissionProfileNetworkPermissions"; -export type { PermissionProfileSelectionParams } from "./PermissionProfileSelectionParams"; export type { PermissionProfileSummary } from "./PermissionProfileSummary"; export type { PermissionsRequestApprovalParams } from "./PermissionsRequestApprovalParams"; export type { PermissionsRequestApprovalResponse } from "./PermissionsRequestApprovalResponse"; @@ -334,6 +311,7 @@ export type { PlanDeltaNotification } from "./PlanDeltaNotification"; export type { PluginAuthPolicy } from "./PluginAuthPolicy"; export type { PluginAvailability } from "./PluginAvailability"; export type { PluginDetail } from "./PluginDetail"; +export type { PluginDisabledReason } from "./PluginDisabledReason"; export type { PluginHookSummary } from "./PluginHookSummary"; export type { PluginInstallParams } from "./PluginInstallParams"; export type { PluginInstallPolicy } from "./PluginInstallPolicy"; @@ -348,6 +326,8 @@ export type { PluginListResponse } from "./PluginListResponse"; export type { PluginMarketplaceEntry } from "./PluginMarketplaceEntry"; export type { PluginReadParams } from "./PluginReadParams"; export type { PluginReadResponse } from "./PluginReadResponse"; +export type { PluginSearchResult } from "./PluginSearchResult"; +export type { PluginSearchScope } from "./PluginSearchScope"; export type { PluginShareCheckoutParams } from "./PluginShareCheckoutParams"; export type { PluginShareCheckoutResponse } from "./PluginShareCheckoutResponse"; export type { PluginShareContext } from "./PluginShareContext"; @@ -378,8 +358,6 @@ export type { ProcessExitedNotification } from "./ProcessExitedNotification"; export type { ProcessOutputDeltaNotification } from "./ProcessOutputDeltaNotification"; export type { ProcessOutputStream } from "./ProcessOutputStream"; export type { ProcessTerminalSize } from "./ProcessTerminalSize"; -export type { ProductSurface } from "./ProductSurface"; -export type { ProfileV2 } from "./ProfileV2"; export type { RateLimitReachedType } from "./RateLimitReachedType"; export type { RateLimitResetCredit } from "./RateLimitResetCredit"; export type { RateLimitResetCreditStatus } from "./RateLimitResetCreditStatus"; @@ -389,25 +367,20 @@ export type { RateLimitSnapshot } from "./RateLimitSnapshot"; export type { RateLimitWindow } from "./RateLimitWindow"; export type { RawResponseCompletedNotification } from "./RawResponseCompletedNotification"; export type { RawResponseItemCompletedNotification } from "./RawResponseItemCompletedNotification"; -export type { ReadOnlyAccess } from "./ReadOnlyAccess"; export type { ReasoningEffortOption } from "./ReasoningEffortOption"; export type { ReasoningSummaryPartAddedNotification } from "./ReasoningSummaryPartAddedNotification"; export type { ReasoningSummaryTextDeltaNotification } from "./ReasoningSummaryTextDeltaNotification"; export type { ReasoningTextDeltaNotification } from "./ReasoningTextDeltaNotification"; -export type { RemoteControlClientConnectionAudience } from "./RemoteControlClientConnectionAudience"; -export type { RemoteControlClientEnrollmentAudience } from "./RemoteControlClientEnrollmentAudience"; export type { RemoteControlConnectionStatus } from "./RemoteControlConnectionStatus"; export type { RemoteControlDisableParams } from "./RemoteControlDisableParams"; export type { RemoteControlEnableParams } from "./RemoteControlEnableParams"; export type { RemoteControlStatusChangedNotification } from "./RemoteControlStatusChangedNotification"; -export type { RemoteSkillSummary } from "./RemoteSkillSummary"; export type { RequestPermissionProfile } from "./RequestPermissionProfile"; export type { ResidencyRequirement } from "./ResidencyRequirement"; export type { ReviewDelivery } from "./ReviewDelivery"; export type { ReviewStartParams } from "./ReviewStartParams"; export type { ReviewStartResponse } from "./ReviewStartResponse"; export type { ReviewTarget } from "./ReviewTarget"; -export type { SandboxCommandAssessment } from "./SandboxCommandAssessment"; export type { SandboxMode } from "./SandboxMode"; export type { SandboxPolicy } from "./SandboxPolicy"; export type { SandboxWorkspaceWrite } from "./SandboxWorkspaceWrite"; @@ -420,14 +393,11 @@ export type { SendAddCreditsNudgeEmailResponse } from "./SendAddCreditsNudgeEmai export type { ServerRequestResolvedNotification } from "./ServerRequestResolvedNotification"; export type { SessionMigration } from "./SessionMigration"; export type { SessionSource } from "./SessionSource"; -export type { SkillApprovalDecision } from "./SkillApprovalDecision"; export type { SkillDependencies } from "./SkillDependencies"; export type { SkillErrorInfo } from "./SkillErrorInfo"; export type { SkillInterface } from "./SkillInterface"; export type { SkillMetadata } from "./SkillMetadata"; export type { SkillMigration } from "./SkillMigration"; -export type { SkillRequestApprovalParams } from "./SkillRequestApprovalParams"; -export type { SkillRequestApprovalResponse } from "./SkillRequestApprovalResponse"; export type { SkillScope } from "./SkillScope"; export type { SkillSummary } from "./SkillSummary"; export type { SkillToolDependency } from "./SkillToolDependency"; @@ -437,13 +407,8 @@ export type { SkillsConfigWriteResponse } from "./SkillsConfigWriteResponse"; export type { SkillsExtraRootsSetParams } from "./SkillsExtraRootsSetParams"; export type { SkillsExtraRootsSetResponse } from "./SkillsExtraRootsSetResponse"; export type { SkillsListEntry } from "./SkillsListEntry"; -export type { SkillsListExtraRootsForCwd } from "./SkillsListExtraRootsForCwd"; export type { SkillsListParams } from "./SkillsListParams"; export type { SkillsListResponse } from "./SkillsListResponse"; -export type { SkillsRemoteReadParams } from "./SkillsRemoteReadParams"; -export type { SkillsRemoteReadResponse } from "./SkillsRemoteReadResponse"; -export type { SkillsRemoteWriteParams } from "./SkillsRemoteWriteParams"; -export type { SkillsRemoteWriteResponse } from "./SkillsRemoteWriteResponse"; export type { SortDirection } from "./SortDirection"; export type { SpendControlLimitSnapshot } from "./SpendControlLimitSnapshot"; export type { SubAgentActivityKind } from "./SubAgentActivityKind"; @@ -460,8 +425,6 @@ export type { ThreadArchiveParams } from "./ThreadArchiveParams"; export type { ThreadArchiveResponse } from "./ThreadArchiveResponse"; export type { ThreadArchivedNotification } from "./ThreadArchivedNotification"; export type { ThreadClosedNotification } from "./ThreadClosedNotification"; -export type { ThreadCompactParams } from "./ThreadCompactParams"; -export type { ThreadCompactResponse } from "./ThreadCompactResponse"; export type { ThreadCompactStartParams } from "./ThreadCompactStartParams"; export type { ThreadCompactStartResponse } from "./ThreadCompactStartResponse"; export type { ThreadDeleteParams } from "./ThreadDeleteParams"; @@ -506,13 +469,24 @@ export type { ThreadRealtimeStartTransport } from "./ThreadRealtimeStartTranspor export type { ThreadRealtimeStartedNotification } from "./ThreadRealtimeStartedNotification"; export type { ThreadRealtimeTranscriptDeltaNotification } from "./ThreadRealtimeTranscriptDeltaNotification"; export type { ThreadRealtimeTranscriptDoneNotification } from "./ThreadRealtimeTranscriptDoneNotification"; -export type { ThreadRealtimeTranscriptUpdatedNotification } from "./ThreadRealtimeTranscriptUpdatedNotification"; export type { ThreadResumeInitialTurnsPageParams } from "./ThreadResumeInitialTurnsPageParams"; export type { ThreadResumeParams } from "./ThreadResumeParams"; export type { ThreadResumeResponse } from "./ThreadResumeResponse"; export type { ThreadRollbackParams } from "./ThreadRollbackParams"; export type { ThreadRollbackResponse } from "./ThreadRollbackResponse"; export type { ThreadSearchResult } from "./ThreadSearchResult"; +export type { ThreadSearchSortKey } from "./ThreadSearchSortKey"; +export type { ThreadSection } from "./ThreadSection"; +export type { ThreadSectionCreateParams } from "./ThreadSectionCreateParams"; +export type { ThreadSectionCreateResponse } from "./ThreadSectionCreateResponse"; +export type { ThreadSectionDeleteParams } from "./ThreadSectionDeleteParams"; +export type { ThreadSectionDeleteResponse } from "./ThreadSectionDeleteResponse"; +export type { ThreadSectionListParams } from "./ThreadSectionListParams"; +export type { ThreadSectionListResponse } from "./ThreadSectionListResponse"; +export type { ThreadSectionMoveParams } from "./ThreadSectionMoveParams"; +export type { ThreadSectionMoveResponse } from "./ThreadSectionMoveResponse"; +export type { ThreadSectionUpdateParams } from "./ThreadSectionUpdateParams"; +export type { ThreadSectionUpdateResponse } from "./ThreadSectionUpdateResponse"; export type { ThreadSetNameParams } from "./ThreadSetNameParams"; export type { ThreadSetNameResponse } from "./ThreadSetNameResponse"; export type { ThreadSettings } from "./ThreadSettings";