@gkorepanov/ccodex 0.4.9 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/config/compatibility.json +3 -3
- package/dist/claude/goalTools.js +1 -1
- package/dist/claude/goalTools.js.map +1 -1
- package/dist/claude/hookMapper.d.ts +1 -0
- package/dist/claude/hookMapper.js +1 -0
- package/dist/claude/hookMapper.js.map +1 -1
- package/dist/claude/inputMapper.js +4 -1
- package/dist/claude/inputMapper.js.map +1 -1
- package/dist/claude/rateLimits.d.ts +1 -0
- package/dist/claude/rateLimits.js +2 -1
- package/dist/claude/rateLimits.js.map +1 -1
- package/dist/claude/service.d.ts +13 -1
- package/dist/claude/service.js +152 -19
- package/dist/claude/service.js.map +1 -1
- package/dist/claude/session/commands.d.ts +3 -0
- package/dist/claude/session/goalState.js +9 -0
- package/dist/claude/session/goalState.js.map +1 -1
- package/dist/claude/session/repository.d.ts +1 -1
- package/dist/claude/session/repository.js +2 -2
- package/dist/claude/session/repository.js.map +1 -1
- package/dist/claude/session/scopeState.js +3 -1
- package/dist/claude/session/scopeState.js.map +1 -1
- package/dist/claude/session/session.js +13 -2
- package/dist/claude/session/session.js.map +1 -1
- package/dist/claude/session/usage.js +1 -0
- package/dist/claude/session/usage.js.map +1 -1
- package/dist/claude/toolMapper.js +2 -2
- package/dist/claude/toolMapper.js.map +1 -1
- package/dist/codex/generated/ClientRequest.d.ts +20 -0
- package/dist/codex/generated/CodexResponseHandoffMode.d.ts +1 -0
- package/dist/codex/generated/CodexResponseHandoffMode.js +3 -0
- package/dist/codex/generated/CodexResponseHandoffMode.js.map +1 -0
- package/dist/codex/generated/ContentItem.d.ts +3 -0
- package/dist/codex/generated/FunctionCallOutputContentItem.d.ts +3 -0
- package/dist/codex/generated/InputModality.d.ts +1 -1
- package/dist/codex/generated/LegacyAppPathString.d.ts +7 -6
- package/dist/codex/generated/RealtimeConversationVersion.d.ts +1 -1
- package/dist/codex/generated/ResponseItem.d.ts +15 -14
- package/dist/codex/generated/ResponseItemId.d.ts +5 -0
- package/dist/codex/generated/ResponseItemId.js +3 -0
- package/dist/codex/generated/ResponseItemId.js.map +1 -0
- package/dist/codex/generated/ResponseItemRuntimeSchema.js +2 -2
- package/dist/codex/generated/ResponseItemRuntimeSchema.js.map +1 -1
- package/dist/codex/generated/ReviewDecision.d.ts +5 -1
- package/dist/codex/generated/ServerNotification.d.ts +11 -0
- package/dist/codex/generated/ServerNotificationEnvelope.d.ts +302 -0
- package/dist/codex/generated/ServerNotificationEnvelope.js +3 -0
- package/dist/codex/generated/ServerNotificationEnvelope.js.map +1 -0
- package/dist/codex/generated/SleepItem.d.ts +7 -0
- package/dist/codex/generated/SleepItem.js +3 -0
- package/dist/codex/generated/SleepItem.js.map +1 -0
- package/dist/codex/generated/WebSearchItem.d.ts +8 -0
- package/dist/codex/generated/index.d.ts +4 -1
- package/dist/codex/generated/index.js.map +1 -1
- package/dist/codex/generated/v2/Account.d.ts +1 -2
- package/dist/codex/generated/v2/AppToolSummary.d.ts +8 -0
- package/dist/codex/generated/v2/AppToolSummary.js +3 -0
- package/dist/codex/generated/v2/AppToolSummary.js.map +1 -0
- package/dist/codex/generated/v2/AppsInstalledParams.d.ts +14 -0
- package/dist/codex/generated/v2/AppsInstalledParams.js +3 -0
- package/dist/codex/generated/v2/AppsInstalledParams.js.map +1 -0
- package/dist/codex/generated/v2/AppsInstalledResponse.d.ts +7 -0
- package/dist/codex/generated/v2/AppsInstalledResponse.js +3 -0
- package/dist/codex/generated/v2/AppsInstalledResponse.js.map +1 -0
- package/dist/codex/generated/v2/AppsReadParams.d.ts +14 -0
- package/dist/codex/generated/v2/AppsReadParams.js +3 -0
- package/dist/codex/generated/v2/AppsReadParams.js.map +1 -0
- package/dist/codex/generated/v2/AppsReadResponse.d.ts +8 -0
- package/dist/codex/generated/v2/AppsReadResponse.js +3 -0
- package/dist/codex/generated/v2/AppsReadResponse.js.map +1 -0
- package/dist/codex/generated/v2/ConfiguredHookHandler.d.ts +7 -0
- package/dist/codex/generated/v2/ConnectorMetadata.d.ts +15 -0
- package/dist/codex/generated/v2/ConnectorMetadata.js +3 -0
- package/dist/codex/generated/v2/ConnectorMetadata.js.map +1 -0
- package/dist/codex/generated/v2/DynamicToolCallOutputContentItem.d.ts +3 -0
- package/dist/codex/generated/v2/EnvironmentConnectionNotification.d.ts +4 -0
- package/dist/codex/generated/v2/EnvironmentConnectionNotification.js +3 -0
- package/dist/codex/generated/v2/EnvironmentConnectionNotification.js.map +1 -0
- package/dist/codex/generated/v2/EnvironmentStatusKind.d.ts +7 -0
- package/dist/codex/generated/v2/EnvironmentStatusKind.js +3 -0
- package/dist/codex/generated/v2/EnvironmentStatusKind.js.map +1 -0
- package/dist/codex/generated/v2/EnvironmentStatusParams.d.ts +9 -0
- package/dist/codex/generated/v2/EnvironmentStatusParams.js +3 -0
- package/dist/codex/generated/v2/EnvironmentStatusParams.js.map +1 -0
- package/dist/codex/generated/v2/EnvironmentStatusResponse.d.ts +14 -0
- package/dist/codex/generated/v2/EnvironmentStatusResponse.js +3 -0
- package/dist/codex/generated/v2/EnvironmentStatusResponse.js.map +1 -0
- package/dist/codex/generated/v2/ExternalAgentConfigDetectParams.d.ts +9 -0
- package/dist/codex/generated/v2/ExternalAgentConfigImportHistoriesReadResponse.d.ts +2 -0
- package/dist/codex/generated/v2/ExternalAgentConfigImportItemTypeFailure.d.ts +1 -0
- package/dist/codex/generated/v2/ExternalAgentConfigImportParams.d.ts +6 -1
- package/dist/codex/generated/v2/ExternalAgentConfigMigrationItemType.d.ts +1 -1
- package/dist/codex/generated/v2/ExternalAgentImportedConnectorCandidate.d.ts +6 -0
- package/dist/codex/generated/v2/ExternalAgentImportedConnectorCandidate.js +3 -0
- package/dist/codex/generated/v2/ExternalAgentImportedConnectorCandidate.js.map +1 -0
- package/dist/codex/generated/v2/ExternalAgentImportedConnectorSource.d.ts +1 -0
- package/dist/codex/generated/v2/ExternalAgentImportedConnectorSource.js +3 -0
- package/dist/codex/generated/v2/ExternalAgentImportedConnectorSource.js.map +1 -0
- package/dist/codex/generated/v2/FileSystemSpecialPath.d.ts +3 -2
- package/dist/codex/generated/v2/HookEventName.d.ts +1 -1
- package/dist/codex/generated/v2/HookMetadata.d.ts +5 -0
- package/dist/codex/generated/v2/InstalledApp.d.ts +21 -0
- package/dist/codex/generated/v2/InstalledApp.js +3 -0
- package/dist/codex/generated/v2/InstalledApp.js.map +1 -0
- package/dist/codex/generated/v2/LoginAccountParams.d.ts +4 -0
- package/dist/codex/generated/v2/LoginAccountResponse.d.ts +2 -0
- package/dist/codex/generated/v2/ManagedHooksRequirements.d.ts +1 -0
- package/dist/codex/generated/v2/McpToolCallAppContext.d.ts +0 -1
- package/dist/codex/generated/v2/MigrationDetails.d.ts +1 -0
- package/dist/codex/generated/v2/PluginDetail.d.ts +2 -0
- package/dist/codex/generated/v2/PluginShareUpdateDiscoverability.d.ts +1 -1
- package/dist/codex/generated/v2/PluginSummary.d.ts +1 -0
- package/dist/codex/generated/v2/RateLimitSnapshot.d.ts +4 -0
- package/dist/codex/generated/v2/RawResponseCompletedNotification.d.ts +11 -0
- package/dist/codex/generated/v2/RawResponseCompletedNotification.js +3 -0
- package/dist/codex/generated/v2/RawResponseCompletedNotification.js.map +1 -0
- package/dist/codex/generated/v2/ScheduledTaskSchedule.d.ts +16 -0
- package/dist/codex/generated/v2/ScheduledTaskSchedule.js +3 -0
- package/dist/codex/generated/v2/ScheduledTaskSchedule.js.map +1 -0
- package/dist/codex/generated/v2/ScheduledTaskSummary.d.ts +7 -0
- package/dist/codex/generated/v2/ScheduledTaskSummary.js +3 -0
- package/dist/codex/generated/v2/ScheduledTaskSummary.js.map +1 -0
- package/dist/codex/generated/v2/ScheduledTaskWeekday.d.ts +1 -0
- package/dist/codex/generated/v2/ScheduledTaskWeekday.js +3 -0
- package/dist/codex/generated/v2/ScheduledTaskWeekday.js.map +1 -0
- package/dist/codex/generated/v2/Thread.d.ts +5 -0
- package/dist/codex/generated/v2/ThreadForkParams.d.ts +11 -0
- package/dist/codex/generated/v2/ThreadItem.d.ts +2 -3
- package/dist/codex/generated/v2/ThreadItemEntry.d.ts +8 -0
- package/dist/codex/generated/v2/ThreadItemEntry.js +3 -0
- package/dist/codex/generated/v2/ThreadItemEntry.js.map +1 -0
- package/dist/codex/generated/v2/ThreadItemsListResponse.d.ts +2 -2
- package/dist/codex/generated/v2/ThreadRealtimeInitialItem.d.ts +8 -0
- package/dist/codex/generated/v2/ThreadRealtimeInitialItem.js +3 -0
- package/dist/codex/generated/v2/ThreadRealtimeInitialItem.js.map +1 -0
- package/dist/codex/generated/v2/ThreadRealtimeStartParams.d.ts +11 -4
- package/dist/codex/generated/v2/ThreadResumeResponse.d.ts +14 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrence.d.ts +17 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrence.js +3 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrence.js.map +1 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrencesParams.d.ts +19 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrencesParams.js +3 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrencesParams.js.map +1 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrencesResponse.d.ts +11 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrencesResponse.js +3 -0
- package/dist/codex/generated/v2/ThreadSearchOccurrencesResponse.js.map +1 -0
- package/dist/codex/generated/v2/ThreadSearchTextRange.d.ts +13 -0
- package/dist/codex/generated/v2/ThreadSearchTextRange.js +3 -0
- package/dist/codex/generated/v2/ThreadSearchTextRange.js.map +1 -0
- package/dist/codex/generated/v2/TokenUsageBreakdown.d.ts +1 -0
- package/dist/codex/generated/v2/TurnEnvironmentParams.d.ts +4 -0
- package/dist/codex/generated/v2/UserInput.d.ts +6 -0
- package/dist/codex/generated/v2/index.d.ts +23 -0
- package/dist/daemon/daemon.js +5 -20
- package/dist/daemon/daemon.js.map +1 -1
- package/dist/daemon/probe.js +1 -1
- package/dist/daemon/settings.d.ts +6 -0
- package/dist/daemon/settings.js +23 -0
- package/dist/daemon/settings.js.map +1 -0
- package/dist/gateway/clientConnection.d.ts +3 -2
- package/dist/gateway/clientConnection.js +41 -44
- package/dist/gateway/clientConnection.js.map +1 -1
- package/dist/gateway/logicalThreadProjection.d.ts +5 -0
- package/dist/gateway/logicalThreadProjection.js +58 -1
- package/dist/gateway/logicalThreadProjection.js.map +1 -1
- package/dist/gateway/remoteControlController.d.ts +29 -0
- package/dist/gateway/remoteControlController.js +78 -0
- package/dist/gateway/remoteControlController.js.map +1 -0
- package/dist/gateway/remoteControlHub.js +2 -1
- package/dist/gateway/remoteControlHub.js.map +1 -1
- package/dist/gateway/remoteControlMode.js +2 -12
- package/dist/gateway/remoteControlMode.js.map +1 -1
- package/dist/gateway/server.js +42 -15
- package/dist/gateway/server.js.map +1 -1
- package/dist/gateway/subscriptions.d.ts +9 -2
- package/dist/gateway/subscriptions.js +40 -9
- package/dist/gateway/subscriptions.js.map +1 -1
- package/dist/gateway/threadList.d.ts +25 -0
- package/dist/gateway/threadList.js +112 -26
- package/dist/gateway/threadList.js.map +1 -1
- package/dist/handoff/lineageStore.d.ts +101 -0
- package/dist/handoff/lineageStore.js +502 -0
- package/dist/handoff/lineageStore.js.map +1 -0
- package/dist/handoff/providerEpochs.d.ts +19 -5
- package/dist/handoff/providerEpochs.js +119 -41
- package/dist/handoff/providerEpochs.js.map +1 -1
- package/dist/handoff/service.d.ts +16 -2
- package/dist/handoff/service.js +500 -139
- package/dist/handoff/service.js.map +1 -1
- package/dist/handoff/startupMigration.d.ts +22 -0
- package/dist/handoff/startupMigration.js +52 -0
- package/dist/handoff/startupMigration.js.map +1 -0
- package/dist/handoff/store.d.ts +10 -0
- package/dist/handoff/store.js +141 -28
- package/dist/handoff/store.js.map +1 -1
- package/dist/runtime/dependencies.js +1 -1
- package/dist/store/HybridStore.d.ts +3 -1
- package/dist/store/HybridStore.js.map +1 -1
- package/dist/store/memoryStore.d.ts +3 -2
- package/dist/store/memoryStore.js +18 -4
- package/dist/store/memoryStore.js.map +1 -1
- package/dist/store/sqliteStore.d.ts +1 -2
- package/dist/store/sqliteStore.js +57 -24
- package/dist/store/sqliteStore.js.map +1 -1
- package/legal/LICENSES.md +1 -1
- package/legal/THIRD_PARTY_NOTICES.md +136 -124
- package/package.json +5 -5
- package/dist/codex/generated/AmazonBedrockCredentialSource.d.ts +0 -1
- package/dist/codex/generated/AmazonBedrockCredentialSource.js +0 -3
- package/dist/codex/generated/AmazonBedrockCredentialSource.js.map +0 -1
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { ExternalAgentConfigImportHistory } from "./ExternalAgentConfigImportHistory";
|
|
2
|
+
import type { ExternalAgentImportedConnectorCandidate } from "./ExternalAgentImportedConnectorCandidate";
|
|
2
3
|
export type ExternalAgentConfigImportHistoriesReadResponse = {
|
|
3
4
|
data: Array<ExternalAgentConfigImportHistory>;
|
|
5
|
+
connectors: Array<ExternalAgentImportedConnectorCandidate>;
|
|
4
6
|
};
|
|
@@ -2,6 +2,7 @@ import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfig
|
|
|
2
2
|
export type ExternalAgentConfigImportItemTypeFailure = {
|
|
3
3
|
itemType: ExternalAgentConfigMigrationItemType;
|
|
4
4
|
errorType: string | null;
|
|
5
|
+
subErrorType: string | null;
|
|
5
6
|
failureStage: string;
|
|
6
7
|
message: string;
|
|
7
8
|
cwd: string | null;
|
|
@@ -2,7 +2,12 @@ import type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigr
|
|
|
2
2
|
export type ExternalAgentConfigImportParams = {
|
|
3
3
|
migrationItems: Array<ExternalAgentConfigMigrationItem>;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Optional identifier for the product that initiated the import.
|
|
6
6
|
*/
|
|
7
7
|
source?: string | null;
|
|
8
|
+
/**
|
|
9
|
+
* Migration-source selector used to produce the migration items. Pass the same value to
|
|
10
|
+
* detection and import; missing or unrecognized values use the default source.
|
|
11
|
+
*/
|
|
12
|
+
migrationSource?: string | null;
|
|
8
13
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ExternalAgentConfigMigrationItemType = "AGENTS_MD" | "CONFIG" | "SKILLS" | "PLUGINS" | "MCP_SERVER_CONFIG" | "SUBAGENTS" | "HOOKS" | "COMMANDS" | "SESSIONS";
|
|
1
|
+
export type ExternalAgentConfigMigrationItemType = "AGENTS_MD" | "CONFIG" | "SKILLS" | "PLUGINS" | "MCP_SERVER_CONFIG" | "SUBAGENTS" | "HOOKS" | "COMMANDS" | "MEMORY" | "SESSIONS";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalAgentImportedConnectorCandidate.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ExternalAgentImportedConnectorCandidate.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ExternalAgentImportedConnectorSource = "remoteMcpServersConfig";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalAgentImportedConnectorSource.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ExternalAgentImportedConnectorSource.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import type { LegacyAppPathString } from "../LegacyAppPathString";
|
|
1
2
|
export type FileSystemSpecialPath = {
|
|
2
3
|
"kind": "root";
|
|
3
4
|
} | {
|
|
4
5
|
"kind": "minimal";
|
|
5
6
|
} | {
|
|
6
7
|
"kind": "project_roots";
|
|
7
|
-
subpath:
|
|
8
|
+
subpath: LegacyAppPathString | null;
|
|
8
9
|
} | {
|
|
9
10
|
"kind": "tmpdir";
|
|
10
11
|
} | {
|
|
@@ -12,5 +13,5 @@ export type FileSystemSpecialPath = {
|
|
|
12
13
|
} | {
|
|
13
14
|
"kind": "unknown";
|
|
14
15
|
path: string;
|
|
15
|
-
subpath:
|
|
16
|
+
subpath: LegacyAppPathString | null;
|
|
16
17
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type HookEventName = "preToolUse" | "permissionRequest" | "postToolUse" | "preCompact" | "postCompact" | "sessionStart" | "userPromptSubmit" | "subagentStart" | "subagentStop" | "stop";
|
|
1
|
+
export type HookEventName = "preToolUse" | "permissionRequest" | "postToolUse" | "preCompact" | "postCompact" | "sessionStart" | "sessionEnd" | "userPromptSubmit" | "subagentStart" | "subagentStop" | "stop";
|
|
@@ -11,6 +11,11 @@ export type HookMetadata = {
|
|
|
11
11
|
command: string | null;
|
|
12
12
|
timeoutSec: bigint;
|
|
13
13
|
statusMessage: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Configured `additionalContext` spill threshold.
|
|
16
|
+
* `null` uses 2,500 tokens; `0` disables spilling.
|
|
17
|
+
*/
|
|
18
|
+
additionalContextLimit: number | null;
|
|
14
19
|
sourcePath: AbsolutePathBuf;
|
|
15
20
|
source: HookSource;
|
|
16
21
|
pluginId: string | null;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Installed connector runtime state.
|
|
3
|
+
*/
|
|
4
|
+
export type InstalledApp = {
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Best-effort name carried by the runtime tool catalog. Canonical app metadata remains owned
|
|
8
|
+
* by `app/read`.
|
|
9
|
+
*/
|
|
10
|
+
runtimeName: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* Effective enabled state after applying global, workspace, local, and managed configuration
|
|
13
|
+
* at read time.
|
|
14
|
+
*/
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Whether the connector is enabled and has a non-synthetic, model-visible tool allowed by
|
|
18
|
+
* effective MCP and app/tool policy in the committed runtime snapshot.
|
|
19
|
+
*/
|
|
20
|
+
callable: boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InstalledApp.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/InstalledApp.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -8,6 +8,7 @@ export type ManagedHooksRequirements = {
|
|
|
8
8
|
PreCompact: Array<ConfiguredHookMatcherGroup>;
|
|
9
9
|
PostCompact: Array<ConfiguredHookMatcherGroup>;
|
|
10
10
|
SessionStart: Array<ConfiguredHookMatcherGroup>;
|
|
11
|
+
SessionEnd: Array<ConfiguredHookMatcherGroup>;
|
|
11
12
|
UserPromptSubmit: Array<ConfiguredHookMatcherGroup>;
|
|
12
13
|
SubagentStart: Array<ConfiguredHookMatcherGroup>;
|
|
13
14
|
SubagentStop: Array<ConfiguredHookMatcherGroup>;
|
|
@@ -3,6 +3,7 @@ import type { AppSummary } from "./AppSummary";
|
|
|
3
3
|
import type { AppTemplateSummary } from "./AppTemplateSummary";
|
|
4
4
|
import type { PluginHookSummary } from "./PluginHookSummary";
|
|
5
5
|
import type { PluginSummary } from "./PluginSummary";
|
|
6
|
+
import type { ScheduledTaskSummary } from "./ScheduledTaskSummary";
|
|
6
7
|
import type { SkillSummary } from "./SkillSummary";
|
|
7
8
|
export type PluginDetail = {
|
|
8
9
|
marketplaceName: string;
|
|
@@ -15,4 +16,5 @@ export type PluginDetail = {
|
|
|
15
16
|
apps: Array<AppSummary>;
|
|
16
17
|
appTemplates: Array<AppTemplateSummary>;
|
|
17
18
|
mcpServers: Array<string>;
|
|
19
|
+
scheduledTasks: Array<ScheduledTaskSummary> | null;
|
|
18
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type PluginShareUpdateDiscoverability = "UNLISTED" | "PRIVATE";
|
|
1
|
+
export type PluginShareUpdateDiscoverability = "UNLISTED" | "PRIVATE" | "LISTED";
|
|
@@ -29,6 +29,7 @@ export type PluginSummary = {
|
|
|
29
29
|
enabled: boolean;
|
|
30
30
|
installPolicy: PluginInstallPolicy;
|
|
31
31
|
installPolicySource: PluginInstallPolicySource | null;
|
|
32
|
+
mustShowInstallationInterstitial: boolean | null;
|
|
32
33
|
authPolicy: PluginAuthPolicy;
|
|
33
34
|
/**
|
|
34
35
|
* Availability state for installing and using the plugin.
|
|
@@ -10,6 +10,10 @@ export type RateLimitSnapshot = {
|
|
|
10
10
|
secondary: RateLimitWindow | null;
|
|
11
11
|
credits: CreditsSnapshot | null;
|
|
12
12
|
individualLimit: SpendControlLimitSnapshot | null;
|
|
13
|
+
/**
|
|
14
|
+
* Backend-reported spend-control state. `None` is unavailable, not a sparse-update recovery.
|
|
15
|
+
*/
|
|
16
|
+
spendControlReached: boolean | null;
|
|
13
17
|
planType: PlanType | null;
|
|
14
18
|
rateLimitReachedType: RateLimitReachedType | null;
|
|
15
19
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { TokenUsageBreakdown } from "./TokenUsageBreakdown";
|
|
2
|
+
/**
|
|
3
|
+
* Internal-only notification containing the exact usage from one upstream
|
|
4
|
+
* Responses API completion.
|
|
5
|
+
*/
|
|
6
|
+
export type RawResponseCompletedNotification = {
|
|
7
|
+
threadId: string;
|
|
8
|
+
turnId: string;
|
|
9
|
+
responseId: string;
|
|
10
|
+
usage: TokenUsageBreakdown | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RawResponseCompletedNotification.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/RawResponseCompletedNotification.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ScheduledTaskWeekday } from "./ScheduledTaskWeekday";
|
|
2
|
+
export type ScheduledTaskSchedule = {
|
|
3
|
+
"type": "hourly";
|
|
4
|
+
intervalHours: number;
|
|
5
|
+
days: Array<ScheduledTaskWeekday> | null;
|
|
6
|
+
} | {
|
|
7
|
+
"type": "daily";
|
|
8
|
+
time: string;
|
|
9
|
+
} | {
|
|
10
|
+
"type": "weekdays";
|
|
11
|
+
time: string;
|
|
12
|
+
} | {
|
|
13
|
+
"type": "weekly";
|
|
14
|
+
days: Array<ScheduledTaskWeekday>;
|
|
15
|
+
time: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskSchedule.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ScheduledTaskSchedule.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskSummary.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ScheduledTaskSummary.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ScheduledTaskWeekday = "MO" | "TU" | "WE" | "TH" | "FR" | "SA" | "SU";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskWeekday.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ScheduledTaskWeekday.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -75,6 +75,11 @@ export type Thread = {
|
|
|
75
75
|
* Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.).
|
|
76
76
|
*/
|
|
77
77
|
source: SessionSource;
|
|
78
|
+
/**
|
|
79
|
+
* Whether the app server accepts direct turn input for this loaded thread.
|
|
80
|
+
* `None` means the capability is unavailable, such as for an unloaded stored thread.
|
|
81
|
+
*/
|
|
82
|
+
canAcceptDirectInput: boolean | null;
|
|
78
83
|
/**
|
|
79
84
|
* Optional analytics source classification for this thread.
|
|
80
85
|
*/
|
|
@@ -23,6 +23,11 @@ export type ThreadForkParams = {
|
|
|
23
23
|
* The referenced turn cannot be in progress.
|
|
24
24
|
*/
|
|
25
25
|
lastTurnId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Optional turn id to fork before, excluding that turn and all later turns.
|
|
28
|
+
* Cannot be combined with `last_turn_id`.
|
|
29
|
+
*/
|
|
30
|
+
beforeTurnId?: string | null;
|
|
26
31
|
/**
|
|
27
32
|
* [UNSTABLE] Specify the rollout path to fork from.
|
|
28
33
|
* If specified, the thread_id param will be ignored.
|
|
@@ -67,4 +72,10 @@ export type ThreadForkParams = {
|
|
|
67
72
|
* `thread/turns/list` immediately after forking.
|
|
68
73
|
*/
|
|
69
74
|
excludeTurns?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* When true, carry the source thread's current goal into the fork without
|
|
77
|
+
* starting its initial automatic continuation. The next explicit turn owns
|
|
78
|
+
* the goal lifecycle, and normal automatic continuation resumes after it.
|
|
79
|
+
*/
|
|
80
|
+
deferGoalContinuation?: boolean;
|
|
70
81
|
};
|
|
@@ -2,6 +2,7 @@ import type { ImageGenerationItem } from "../ImageGenerationItem";
|
|
|
2
2
|
import type { LegacyAppPathString } from "../LegacyAppPathString";
|
|
3
3
|
import type { MessagePhase } from "../MessagePhase";
|
|
4
4
|
import type { ReasoningEffort } from "../ReasoningEffort";
|
|
5
|
+
import type { SleepItem } from "../SleepItem";
|
|
5
6
|
import type { WebSearchItem } from "../WebSearchItem";
|
|
6
7
|
import type { JsonValue } from "../serde_json/JsonValue";
|
|
7
8
|
import type { CollabAgentState } from "./CollabAgentState";
|
|
@@ -173,9 +174,7 @@ export type ThreadItem = {
|
|
|
173
174
|
path: LegacyAppPathString;
|
|
174
175
|
} | {
|
|
175
176
|
"type": "sleep";
|
|
176
|
-
|
|
177
|
-
durationMs: number;
|
|
178
|
-
} | {
|
|
177
|
+
} & SleepItem | {
|
|
179
178
|
"type": "imageGeneration";
|
|
180
179
|
} & ImageGenerationItem | {
|
|
181
180
|
"type": "enteredReviewMode";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreadItemEntry.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ThreadItemEntry.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ThreadItemEntry } from "./ThreadItemEntry";
|
|
2
2
|
export type ThreadItemsListResponse = {
|
|
3
|
-
data: Array<
|
|
3
|
+
data: Array<ThreadItemEntry>;
|
|
4
4
|
/**
|
|
5
5
|
* Opaque cursor to pass to the next call to continue after the last item.
|
|
6
6
|
* if None, there are no more items to return.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreadRealtimeInitialItem.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ThreadRealtimeInitialItem.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import type { CodexResponseHandoffMode } from "../CodexResponseHandoffMode";
|
|
1
2
|
import type { RealtimeConversationVersion } from "../RealtimeConversationVersion";
|
|
2
3
|
import type { RealtimeOutputModality } from "../RealtimeOutputModality";
|
|
3
4
|
import type { RealtimeVoice } from "../RealtimeVoice";
|
|
5
|
+
import type { ThreadRealtimeInitialItem } from "./ThreadRealtimeInitialItem";
|
|
4
6
|
import type { ThreadRealtimeStartTransport } from "./ThreadRealtimeStartTransport";
|
|
5
7
|
/**
|
|
6
8
|
* EXPERIMENTAL - start a thread-scoped realtime session.
|
|
@@ -26,11 +28,10 @@ export type ThreadRealtimeStartParams = {
|
|
|
26
28
|
*/
|
|
27
29
|
codexResponseItemPrefix?: string | null;
|
|
28
30
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* sent without the prefix.
|
|
31
|
+
* Selects how automatic Codex responses are routed in Frameless Bidi sessions. Omitted values
|
|
32
|
+
* default to `thinking`. Realtime V1 and V2 ignore this setting.
|
|
32
33
|
*/
|
|
33
|
-
|
|
34
|
+
codexResponseHandoffMode?: CodexResponseHandoffMode | null;
|
|
34
35
|
/**
|
|
35
36
|
* Overrides the configured realtime model for this session only.
|
|
36
37
|
*/
|
|
@@ -44,6 +45,12 @@ export type ThreadRealtimeStartParams = {
|
|
|
44
45
|
* Set to false to start without Codex's startup context. Omitted or null includes it.
|
|
45
46
|
*/
|
|
46
47
|
includeStartupContext?: boolean | null;
|
|
48
|
+
/**
|
|
49
|
+
* Adds complete role-bearing text items to the initial Frameless Bidi session history.
|
|
50
|
+
* This is only supported by realtime V3 and is sent during session startup. Requests are
|
|
51
|
+
* limited to 128 items and 8,192 estimated text tokens in total.
|
|
52
|
+
*/
|
|
53
|
+
initialItems?: Array<ThreadRealtimeInitialItem> | null;
|
|
47
54
|
prompt?: string | null | null;
|
|
48
55
|
realtimeSessionId?: string | null;
|
|
49
56
|
transport?: ThreadRealtimeStartTransport | null;
|
|
@@ -47,4 +47,18 @@ export type ThreadResumeResponse = {
|
|
|
47
47
|
* `thread/turns/list` page returned when requested by `initialTurnsPage`.
|
|
48
48
|
*/
|
|
49
49
|
initialTurnsPage: TurnsPage | null;
|
|
50
|
+
/**
|
|
51
|
+
* Opaque head cursor for hydrating paginated turns backwards.
|
|
52
|
+
*
|
|
53
|
+
* Pass this as `cursor` to `thread/turns/list` with
|
|
54
|
+
* `sortDirection: "desc"`. The first page includes the cursor's head turn.
|
|
55
|
+
*/
|
|
56
|
+
turnsBackwardsCursor: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Opaque head cursor for hydrating paginated items backwards.
|
|
59
|
+
*
|
|
60
|
+
* Pass this as `cursor` to `thread/items/list` with
|
|
61
|
+
* `sortDirection: "desc"`. The first page includes the cursor's head item.
|
|
62
|
+
*/
|
|
63
|
+
itemsBackwardsCursor: string | null;
|
|
50
64
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ThreadSearchTextRange } from "./ThreadSearchTextRange";
|
|
2
|
+
/**
|
|
3
|
+
* One visible message occurrence returned by [`ThreadSearchOccurrencesResponse`].
|
|
4
|
+
*/
|
|
5
|
+
export type ThreadSearchOccurrence = {
|
|
6
|
+
turnId: string;
|
|
7
|
+
itemId: string;
|
|
8
|
+
snippet: string;
|
|
9
|
+
/**
|
|
10
|
+
* Match range within `snippet`, in UTF-16 code units.
|
|
11
|
+
*/
|
|
12
|
+
snippetMatchRange: ThreadSearchTextRange;
|
|
13
|
+
/**
|
|
14
|
+
* Opaque inclusive cursor accepted by `thread/turns/list` for this turn.
|
|
15
|
+
*/
|
|
16
|
+
turnCursor: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreadSearchOccurrence.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ThreadSearchOccurrence.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Parameters for searching visible message occurrences within one paginated thread.
|
|
3
|
+
*/
|
|
4
|
+
export type ThreadSearchOccurrencesParams = {
|
|
5
|
+
threadId: string;
|
|
6
|
+
/**
|
|
7
|
+
* Case-insensitive literal substring to find in visible user messages and final assistant
|
|
8
|
+
* messages.
|
|
9
|
+
*/
|
|
10
|
+
searchTerm: string;
|
|
11
|
+
/**
|
|
12
|
+
* Opaque cursor returned by a previous call for the same thread and search term.
|
|
13
|
+
*/
|
|
14
|
+
cursor?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* Optional occurrence page size.
|
|
17
|
+
*/
|
|
18
|
+
limit?: number | null;
|
|
19
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreadSearchOccurrencesParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ThreadSearchOccurrencesParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ThreadSearchOccurrence } from "./ThreadSearchOccurrence";
|
|
2
|
+
export type ThreadSearchOccurrencesResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Occurrences in chronological message order.
|
|
5
|
+
*/
|
|
6
|
+
data: Array<ThreadSearchOccurrence>;
|
|
7
|
+
/**
|
|
8
|
+
* Opaque cursor to continue after the last returned occurrence.
|
|
9
|
+
*/
|
|
10
|
+
nextCursor: string | null;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreadSearchOccurrencesResponse.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ThreadSearchOccurrencesResponse.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreadSearchTextRange.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ThreadSearchTextRange.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
|
|
@@ -2,4 +2,8 @@ import type { LegacyAppPathString } from "../LegacyAppPathString";
|
|
|
2
2
|
export type TurnEnvironmentParams = {
|
|
3
3
|
environmentId: string;
|
|
4
4
|
cwd: LegacyAppPathString;
|
|
5
|
+
/**
|
|
6
|
+
* Environment-native runtime workspace roots. Omitted defaults to `cwd`.
|
|
7
|
+
*/
|
|
8
|
+
runtimeWorkspaceRoots?: Array<LegacyAppPathString> | null;
|
|
5
9
|
};
|