@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.
Files changed (211) hide show
  1. package/README.md +1 -1
  2. package/config/compatibility.json +3 -3
  3. package/dist/claude/goalTools.js +1 -1
  4. package/dist/claude/goalTools.js.map +1 -1
  5. package/dist/claude/hookMapper.d.ts +1 -0
  6. package/dist/claude/hookMapper.js +1 -0
  7. package/dist/claude/hookMapper.js.map +1 -1
  8. package/dist/claude/inputMapper.js +4 -1
  9. package/dist/claude/inputMapper.js.map +1 -1
  10. package/dist/claude/rateLimits.d.ts +1 -0
  11. package/dist/claude/rateLimits.js +2 -1
  12. package/dist/claude/rateLimits.js.map +1 -1
  13. package/dist/claude/service.d.ts +13 -1
  14. package/dist/claude/service.js +152 -19
  15. package/dist/claude/service.js.map +1 -1
  16. package/dist/claude/session/commands.d.ts +3 -0
  17. package/dist/claude/session/goalState.js +9 -0
  18. package/dist/claude/session/goalState.js.map +1 -1
  19. package/dist/claude/session/repository.d.ts +1 -1
  20. package/dist/claude/session/repository.js +2 -2
  21. package/dist/claude/session/repository.js.map +1 -1
  22. package/dist/claude/session/scopeState.js +3 -1
  23. package/dist/claude/session/scopeState.js.map +1 -1
  24. package/dist/claude/session/session.js +13 -2
  25. package/dist/claude/session/session.js.map +1 -1
  26. package/dist/claude/session/usage.js +1 -0
  27. package/dist/claude/session/usage.js.map +1 -1
  28. package/dist/claude/toolMapper.js +2 -2
  29. package/dist/claude/toolMapper.js.map +1 -1
  30. package/dist/codex/generated/ClientRequest.d.ts +20 -0
  31. package/dist/codex/generated/CodexResponseHandoffMode.d.ts +1 -0
  32. package/dist/codex/generated/CodexResponseHandoffMode.js +3 -0
  33. package/dist/codex/generated/CodexResponseHandoffMode.js.map +1 -0
  34. package/dist/codex/generated/ContentItem.d.ts +3 -0
  35. package/dist/codex/generated/FunctionCallOutputContentItem.d.ts +3 -0
  36. package/dist/codex/generated/InputModality.d.ts +1 -1
  37. package/dist/codex/generated/LegacyAppPathString.d.ts +7 -6
  38. package/dist/codex/generated/RealtimeConversationVersion.d.ts +1 -1
  39. package/dist/codex/generated/ResponseItem.d.ts +15 -14
  40. package/dist/codex/generated/ResponseItemId.d.ts +5 -0
  41. package/dist/codex/generated/ResponseItemId.js +3 -0
  42. package/dist/codex/generated/ResponseItemId.js.map +1 -0
  43. package/dist/codex/generated/ResponseItemRuntimeSchema.js +2 -2
  44. package/dist/codex/generated/ResponseItemRuntimeSchema.js.map +1 -1
  45. package/dist/codex/generated/ReviewDecision.d.ts +5 -1
  46. package/dist/codex/generated/ServerNotification.d.ts +11 -0
  47. package/dist/codex/generated/ServerNotificationEnvelope.d.ts +302 -0
  48. package/dist/codex/generated/ServerNotificationEnvelope.js +3 -0
  49. package/dist/codex/generated/ServerNotificationEnvelope.js.map +1 -0
  50. package/dist/codex/generated/SleepItem.d.ts +7 -0
  51. package/dist/codex/generated/SleepItem.js +3 -0
  52. package/dist/codex/generated/SleepItem.js.map +1 -0
  53. package/dist/codex/generated/WebSearchItem.d.ts +8 -0
  54. package/dist/codex/generated/index.d.ts +4 -1
  55. package/dist/codex/generated/index.js.map +1 -1
  56. package/dist/codex/generated/v2/Account.d.ts +1 -2
  57. package/dist/codex/generated/v2/AppToolSummary.d.ts +8 -0
  58. package/dist/codex/generated/v2/AppToolSummary.js +3 -0
  59. package/dist/codex/generated/v2/AppToolSummary.js.map +1 -0
  60. package/dist/codex/generated/v2/AppsInstalledParams.d.ts +14 -0
  61. package/dist/codex/generated/v2/AppsInstalledParams.js +3 -0
  62. package/dist/codex/generated/v2/AppsInstalledParams.js.map +1 -0
  63. package/dist/codex/generated/v2/AppsInstalledResponse.d.ts +7 -0
  64. package/dist/codex/generated/v2/AppsInstalledResponse.js +3 -0
  65. package/dist/codex/generated/v2/AppsInstalledResponse.js.map +1 -0
  66. package/dist/codex/generated/v2/AppsReadParams.d.ts +14 -0
  67. package/dist/codex/generated/v2/AppsReadParams.js +3 -0
  68. package/dist/codex/generated/v2/AppsReadParams.js.map +1 -0
  69. package/dist/codex/generated/v2/AppsReadResponse.d.ts +8 -0
  70. package/dist/codex/generated/v2/AppsReadResponse.js +3 -0
  71. package/dist/codex/generated/v2/AppsReadResponse.js.map +1 -0
  72. package/dist/codex/generated/v2/ConfiguredHookHandler.d.ts +7 -0
  73. package/dist/codex/generated/v2/ConnectorMetadata.d.ts +15 -0
  74. package/dist/codex/generated/v2/ConnectorMetadata.js +3 -0
  75. package/dist/codex/generated/v2/ConnectorMetadata.js.map +1 -0
  76. package/dist/codex/generated/v2/DynamicToolCallOutputContentItem.d.ts +3 -0
  77. package/dist/codex/generated/v2/EnvironmentConnectionNotification.d.ts +4 -0
  78. package/dist/codex/generated/v2/EnvironmentConnectionNotification.js +3 -0
  79. package/dist/codex/generated/v2/EnvironmentConnectionNotification.js.map +1 -0
  80. package/dist/codex/generated/v2/EnvironmentStatusKind.d.ts +7 -0
  81. package/dist/codex/generated/v2/EnvironmentStatusKind.js +3 -0
  82. package/dist/codex/generated/v2/EnvironmentStatusKind.js.map +1 -0
  83. package/dist/codex/generated/v2/EnvironmentStatusParams.d.ts +9 -0
  84. package/dist/codex/generated/v2/EnvironmentStatusParams.js +3 -0
  85. package/dist/codex/generated/v2/EnvironmentStatusParams.js.map +1 -0
  86. package/dist/codex/generated/v2/EnvironmentStatusResponse.d.ts +14 -0
  87. package/dist/codex/generated/v2/EnvironmentStatusResponse.js +3 -0
  88. package/dist/codex/generated/v2/EnvironmentStatusResponse.js.map +1 -0
  89. package/dist/codex/generated/v2/ExternalAgentConfigDetectParams.d.ts +9 -0
  90. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoriesReadResponse.d.ts +2 -0
  91. package/dist/codex/generated/v2/ExternalAgentConfigImportItemTypeFailure.d.ts +1 -0
  92. package/dist/codex/generated/v2/ExternalAgentConfigImportParams.d.ts +6 -1
  93. package/dist/codex/generated/v2/ExternalAgentConfigMigrationItemType.d.ts +1 -1
  94. package/dist/codex/generated/v2/ExternalAgentImportedConnectorCandidate.d.ts +6 -0
  95. package/dist/codex/generated/v2/ExternalAgentImportedConnectorCandidate.js +3 -0
  96. package/dist/codex/generated/v2/ExternalAgentImportedConnectorCandidate.js.map +1 -0
  97. package/dist/codex/generated/v2/ExternalAgentImportedConnectorSource.d.ts +1 -0
  98. package/dist/codex/generated/v2/ExternalAgentImportedConnectorSource.js +3 -0
  99. package/dist/codex/generated/v2/ExternalAgentImportedConnectorSource.js.map +1 -0
  100. package/dist/codex/generated/v2/FileSystemSpecialPath.d.ts +3 -2
  101. package/dist/codex/generated/v2/HookEventName.d.ts +1 -1
  102. package/dist/codex/generated/v2/HookMetadata.d.ts +5 -0
  103. package/dist/codex/generated/v2/InstalledApp.d.ts +21 -0
  104. package/dist/codex/generated/v2/InstalledApp.js +3 -0
  105. package/dist/codex/generated/v2/InstalledApp.js.map +1 -0
  106. package/dist/codex/generated/v2/LoginAccountParams.d.ts +4 -0
  107. package/dist/codex/generated/v2/LoginAccountResponse.d.ts +2 -0
  108. package/dist/codex/generated/v2/ManagedHooksRequirements.d.ts +1 -0
  109. package/dist/codex/generated/v2/McpToolCallAppContext.d.ts +0 -1
  110. package/dist/codex/generated/v2/MigrationDetails.d.ts +1 -0
  111. package/dist/codex/generated/v2/PluginDetail.d.ts +2 -0
  112. package/dist/codex/generated/v2/PluginShareUpdateDiscoverability.d.ts +1 -1
  113. package/dist/codex/generated/v2/PluginSummary.d.ts +1 -0
  114. package/dist/codex/generated/v2/RateLimitSnapshot.d.ts +4 -0
  115. package/dist/codex/generated/v2/RawResponseCompletedNotification.d.ts +11 -0
  116. package/dist/codex/generated/v2/RawResponseCompletedNotification.js +3 -0
  117. package/dist/codex/generated/v2/RawResponseCompletedNotification.js.map +1 -0
  118. package/dist/codex/generated/v2/ScheduledTaskSchedule.d.ts +16 -0
  119. package/dist/codex/generated/v2/ScheduledTaskSchedule.js +3 -0
  120. package/dist/codex/generated/v2/ScheduledTaskSchedule.js.map +1 -0
  121. package/dist/codex/generated/v2/ScheduledTaskSummary.d.ts +7 -0
  122. package/dist/codex/generated/v2/ScheduledTaskSummary.js +3 -0
  123. package/dist/codex/generated/v2/ScheduledTaskSummary.js.map +1 -0
  124. package/dist/codex/generated/v2/ScheduledTaskWeekday.d.ts +1 -0
  125. package/dist/codex/generated/v2/ScheduledTaskWeekday.js +3 -0
  126. package/dist/codex/generated/v2/ScheduledTaskWeekday.js.map +1 -0
  127. package/dist/codex/generated/v2/Thread.d.ts +5 -0
  128. package/dist/codex/generated/v2/ThreadForkParams.d.ts +11 -0
  129. package/dist/codex/generated/v2/ThreadItem.d.ts +2 -3
  130. package/dist/codex/generated/v2/ThreadItemEntry.d.ts +8 -0
  131. package/dist/codex/generated/v2/ThreadItemEntry.js +3 -0
  132. package/dist/codex/generated/v2/ThreadItemEntry.js.map +1 -0
  133. package/dist/codex/generated/v2/ThreadItemsListResponse.d.ts +2 -2
  134. package/dist/codex/generated/v2/ThreadRealtimeInitialItem.d.ts +8 -0
  135. package/dist/codex/generated/v2/ThreadRealtimeInitialItem.js +3 -0
  136. package/dist/codex/generated/v2/ThreadRealtimeInitialItem.js.map +1 -0
  137. package/dist/codex/generated/v2/ThreadRealtimeStartParams.d.ts +11 -4
  138. package/dist/codex/generated/v2/ThreadResumeResponse.d.ts +14 -0
  139. package/dist/codex/generated/v2/ThreadSearchOccurrence.d.ts +17 -0
  140. package/dist/codex/generated/v2/ThreadSearchOccurrence.js +3 -0
  141. package/dist/codex/generated/v2/ThreadSearchOccurrence.js.map +1 -0
  142. package/dist/codex/generated/v2/ThreadSearchOccurrencesParams.d.ts +19 -0
  143. package/dist/codex/generated/v2/ThreadSearchOccurrencesParams.js +3 -0
  144. package/dist/codex/generated/v2/ThreadSearchOccurrencesParams.js.map +1 -0
  145. package/dist/codex/generated/v2/ThreadSearchOccurrencesResponse.d.ts +11 -0
  146. package/dist/codex/generated/v2/ThreadSearchOccurrencesResponse.js +3 -0
  147. package/dist/codex/generated/v2/ThreadSearchOccurrencesResponse.js.map +1 -0
  148. package/dist/codex/generated/v2/ThreadSearchTextRange.d.ts +13 -0
  149. package/dist/codex/generated/v2/ThreadSearchTextRange.js +3 -0
  150. package/dist/codex/generated/v2/ThreadSearchTextRange.js.map +1 -0
  151. package/dist/codex/generated/v2/TokenUsageBreakdown.d.ts +1 -0
  152. package/dist/codex/generated/v2/TurnEnvironmentParams.d.ts +4 -0
  153. package/dist/codex/generated/v2/UserInput.d.ts +6 -0
  154. package/dist/codex/generated/v2/index.d.ts +23 -0
  155. package/dist/daemon/daemon.js +5 -20
  156. package/dist/daemon/daemon.js.map +1 -1
  157. package/dist/daemon/probe.js +1 -1
  158. package/dist/daemon/settings.d.ts +6 -0
  159. package/dist/daemon/settings.js +23 -0
  160. package/dist/daemon/settings.js.map +1 -0
  161. package/dist/gateway/clientConnection.d.ts +3 -2
  162. package/dist/gateway/clientConnection.js +41 -44
  163. package/dist/gateway/clientConnection.js.map +1 -1
  164. package/dist/gateway/logicalThreadProjection.d.ts +5 -0
  165. package/dist/gateway/logicalThreadProjection.js +58 -1
  166. package/dist/gateway/logicalThreadProjection.js.map +1 -1
  167. package/dist/gateway/remoteControlController.d.ts +29 -0
  168. package/dist/gateway/remoteControlController.js +78 -0
  169. package/dist/gateway/remoteControlController.js.map +1 -0
  170. package/dist/gateway/remoteControlHub.js +2 -1
  171. package/dist/gateway/remoteControlHub.js.map +1 -1
  172. package/dist/gateway/remoteControlMode.js +2 -12
  173. package/dist/gateway/remoteControlMode.js.map +1 -1
  174. package/dist/gateway/server.js +42 -15
  175. package/dist/gateway/server.js.map +1 -1
  176. package/dist/gateway/subscriptions.d.ts +9 -2
  177. package/dist/gateway/subscriptions.js +40 -9
  178. package/dist/gateway/subscriptions.js.map +1 -1
  179. package/dist/gateway/threadList.d.ts +25 -0
  180. package/dist/gateway/threadList.js +112 -26
  181. package/dist/gateway/threadList.js.map +1 -1
  182. package/dist/handoff/lineageStore.d.ts +101 -0
  183. package/dist/handoff/lineageStore.js +502 -0
  184. package/dist/handoff/lineageStore.js.map +1 -0
  185. package/dist/handoff/providerEpochs.d.ts +19 -5
  186. package/dist/handoff/providerEpochs.js +119 -41
  187. package/dist/handoff/providerEpochs.js.map +1 -1
  188. package/dist/handoff/service.d.ts +16 -2
  189. package/dist/handoff/service.js +500 -139
  190. package/dist/handoff/service.js.map +1 -1
  191. package/dist/handoff/startupMigration.d.ts +22 -0
  192. package/dist/handoff/startupMigration.js +52 -0
  193. package/dist/handoff/startupMigration.js.map +1 -0
  194. package/dist/handoff/store.d.ts +10 -0
  195. package/dist/handoff/store.js +141 -28
  196. package/dist/handoff/store.js.map +1 -1
  197. package/dist/runtime/dependencies.js +1 -1
  198. package/dist/store/HybridStore.d.ts +3 -1
  199. package/dist/store/HybridStore.js.map +1 -1
  200. package/dist/store/memoryStore.d.ts +3 -2
  201. package/dist/store/memoryStore.js +18 -4
  202. package/dist/store/memoryStore.js.map +1 -1
  203. package/dist/store/sqliteStore.d.ts +1 -2
  204. package/dist/store/sqliteStore.js +57 -24
  205. package/dist/store/sqliteStore.js.map +1 -1
  206. package/legal/LICENSES.md +1 -1
  207. package/legal/THIRD_PARTY_NOTICES.md +136 -124
  208. package/package.json +5 -5
  209. package/dist/codex/generated/AmazonBedrockCredentialSource.d.ts +0 -1
  210. package/dist/codex/generated/AmazonBedrockCredentialSource.js +0 -3
  211. package/dist/codex/generated/AmazonBedrockCredentialSource.js.map +0 -1
@@ -0,0 +1,302 @@
1
+ import type { FuzzyFileSearchSessionCompletedNotification } from "./FuzzyFileSearchSessionCompletedNotification";
2
+ import type { FuzzyFileSearchSessionUpdatedNotification } from "./FuzzyFileSearchSessionUpdatedNotification";
3
+ import type { AccountLoginCompletedNotification } from "./v2/AccountLoginCompletedNotification";
4
+ import type { AccountRateLimitsUpdatedNotification } from "./v2/AccountRateLimitsUpdatedNotification";
5
+ import type { AccountUpdatedNotification } from "./v2/AccountUpdatedNotification";
6
+ import type { AgentMessageDeltaNotification } from "./v2/AgentMessageDeltaNotification";
7
+ import type { AppListUpdatedNotification } from "./v2/AppListUpdatedNotification";
8
+ import type { CommandExecOutputDeltaNotification } from "./v2/CommandExecOutputDeltaNotification";
9
+ import type { CommandExecutionOutputDeltaNotification } from "./v2/CommandExecutionOutputDeltaNotification";
10
+ import type { ConfigWarningNotification } from "./v2/ConfigWarningNotification";
11
+ import type { ContextCompactedNotification } from "./v2/ContextCompactedNotification";
12
+ import type { DeprecationNoticeNotification } from "./v2/DeprecationNoticeNotification";
13
+ import type { EnvironmentConnectionNotification } from "./v2/EnvironmentConnectionNotification";
14
+ import type { ErrorNotification } from "./v2/ErrorNotification";
15
+ import type { ExternalAgentConfigImportCompletedNotification } from "./v2/ExternalAgentConfigImportCompletedNotification";
16
+ import type { ExternalAgentConfigImportProgressNotification } from "./v2/ExternalAgentConfigImportProgressNotification";
17
+ import type { FileChangeOutputDeltaNotification } from "./v2/FileChangeOutputDeltaNotification";
18
+ import type { FileChangePatchUpdatedNotification } from "./v2/FileChangePatchUpdatedNotification";
19
+ import type { FsChangedNotification } from "./v2/FsChangedNotification";
20
+ import type { GuardianWarningNotification } from "./v2/GuardianWarningNotification";
21
+ import type { HookCompletedNotification } from "./v2/HookCompletedNotification";
22
+ import type { HookStartedNotification } from "./v2/HookStartedNotification";
23
+ import type { ItemCompletedNotification } from "./v2/ItemCompletedNotification";
24
+ import type { ItemGuardianApprovalReviewCompletedNotification } from "./v2/ItemGuardianApprovalReviewCompletedNotification";
25
+ import type { ItemGuardianApprovalReviewStartedNotification } from "./v2/ItemGuardianApprovalReviewStartedNotification";
26
+ import type { ItemStartedNotification } from "./v2/ItemStartedNotification";
27
+ import type { McpServerOauthLoginCompletedNotification } from "./v2/McpServerOauthLoginCompletedNotification";
28
+ import type { McpServerStatusUpdatedNotification } from "./v2/McpServerStatusUpdatedNotification";
29
+ import type { McpToolCallProgressNotification } from "./v2/McpToolCallProgressNotification";
30
+ import type { ModelReroutedNotification } from "./v2/ModelReroutedNotification";
31
+ import type { ModelSafetyBufferingUpdatedNotification } from "./v2/ModelSafetyBufferingUpdatedNotification";
32
+ import type { ModelVerificationNotification } from "./v2/ModelVerificationNotification";
33
+ import type { PlanDeltaNotification } from "./v2/PlanDeltaNotification";
34
+ import type { ProcessExitedNotification } from "./v2/ProcessExitedNotification";
35
+ import type { ProcessOutputDeltaNotification } from "./v2/ProcessOutputDeltaNotification";
36
+ import type { RawResponseCompletedNotification } from "./v2/RawResponseCompletedNotification";
37
+ import type { RawResponseItemCompletedNotification } from "./v2/RawResponseItemCompletedNotification";
38
+ import type { ReasoningSummaryPartAddedNotification } from "./v2/ReasoningSummaryPartAddedNotification";
39
+ import type { ReasoningSummaryTextDeltaNotification } from "./v2/ReasoningSummaryTextDeltaNotification";
40
+ import type { ReasoningTextDeltaNotification } from "./v2/ReasoningTextDeltaNotification";
41
+ import type { RemoteControlStatusChangedNotification } from "./v2/RemoteControlStatusChangedNotification";
42
+ import type { ServerRequestResolvedNotification } from "./v2/ServerRequestResolvedNotification";
43
+ import type { SkillsChangedNotification } from "./v2/SkillsChangedNotification";
44
+ import type { TerminalInteractionNotification } from "./v2/TerminalInteractionNotification";
45
+ import type { ThreadArchivedNotification } from "./v2/ThreadArchivedNotification";
46
+ import type { ThreadClosedNotification } from "./v2/ThreadClosedNotification";
47
+ import type { ThreadDeletedNotification } from "./v2/ThreadDeletedNotification";
48
+ import type { ThreadGoalClearedNotification } from "./v2/ThreadGoalClearedNotification";
49
+ import type { ThreadGoalUpdatedNotification } from "./v2/ThreadGoalUpdatedNotification";
50
+ import type { ThreadNameUpdatedNotification } from "./v2/ThreadNameUpdatedNotification";
51
+ import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification";
52
+ import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification";
53
+ import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification";
54
+ import type { ThreadRealtimeOutputAudioDeltaNotification } from "./v2/ThreadRealtimeOutputAudioDeltaNotification";
55
+ import type { ThreadRealtimeSdpNotification } from "./v2/ThreadRealtimeSdpNotification";
56
+ import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification";
57
+ import type { ThreadRealtimeTranscriptDeltaNotification } from "./v2/ThreadRealtimeTranscriptDeltaNotification";
58
+ import type { ThreadRealtimeTranscriptDoneNotification } from "./v2/ThreadRealtimeTranscriptDoneNotification";
59
+ import type { ThreadSettingsUpdatedNotification } from "./v2/ThreadSettingsUpdatedNotification";
60
+ import type { ThreadStartedNotification } from "./v2/ThreadStartedNotification";
61
+ import type { ThreadStatusChangedNotification } from "./v2/ThreadStatusChangedNotification";
62
+ import type { ThreadTokenUsageUpdatedNotification } from "./v2/ThreadTokenUsageUpdatedNotification";
63
+ import type { ThreadUnarchivedNotification } from "./v2/ThreadUnarchivedNotification";
64
+ import type { TurnCompletedNotification } from "./v2/TurnCompletedNotification";
65
+ import type { TurnDiffUpdatedNotification } from "./v2/TurnDiffUpdatedNotification";
66
+ import type { TurnModerationMetadataNotification } from "./v2/TurnModerationMetadataNotification";
67
+ import type { TurnPlanUpdatedNotification } from "./v2/TurnPlanUpdatedNotification";
68
+ import type { TurnStartedNotification } from "./v2/TurnStartedNotification";
69
+ import type { WarningNotification } from "./v2/WarningNotification";
70
+ import type { WindowsSandboxSetupCompletedNotification } from "./v2/WindowsSandboxSetupCompletedNotification";
71
+ import type { WindowsWorldWritableWarningNotification } from "./v2/WindowsWorldWritableWarningNotification";
72
+ /**
73
+ * Server notification envelope sent over app-server transports.
74
+ *
75
+ * `emitted_at_ms` records when app-server emitted the notification, before it
76
+ * is fanned out to individual connections.
77
+ */
78
+ export type ServerNotificationEnvelope = {
79
+ /**
80
+ * Unix timestamp (in milliseconds) when app-server emitted this notification.
81
+ *
82
+ * Optional so clients can decode notifications from older app-server
83
+ * versions. Current app-server versions always populate it.
84
+ */
85
+ emittedAtMs?: number;
86
+ } & ({
87
+ "method": "error";
88
+ "params": ErrorNotification;
89
+ } | {
90
+ "method": "thread/started";
91
+ "params": ThreadStartedNotification;
92
+ } | {
93
+ "method": "thread/status/changed";
94
+ "params": ThreadStatusChangedNotification;
95
+ } | {
96
+ "method": "thread/archived";
97
+ "params": ThreadArchivedNotification;
98
+ } | {
99
+ "method": "thread/deleted";
100
+ "params": ThreadDeletedNotification;
101
+ } | {
102
+ "method": "thread/unarchived";
103
+ "params": ThreadUnarchivedNotification;
104
+ } | {
105
+ "method": "thread/closed";
106
+ "params": ThreadClosedNotification;
107
+ } | {
108
+ "method": "skills/changed";
109
+ "params": SkillsChangedNotification;
110
+ } | {
111
+ "method": "thread/name/updated";
112
+ "params": ThreadNameUpdatedNotification;
113
+ } | {
114
+ "method": "thread/goal/updated";
115
+ "params": ThreadGoalUpdatedNotification;
116
+ } | {
117
+ "method": "thread/goal/cleared";
118
+ "params": ThreadGoalClearedNotification;
119
+ } | {
120
+ "method": "thread/environment/connected";
121
+ "params": EnvironmentConnectionNotification;
122
+ } | {
123
+ "method": "thread/environment/disconnected";
124
+ "params": EnvironmentConnectionNotification;
125
+ } | {
126
+ "method": "thread/settings/updated";
127
+ "params": ThreadSettingsUpdatedNotification;
128
+ } | {
129
+ "method": "thread/tokenUsage/updated";
130
+ "params": ThreadTokenUsageUpdatedNotification;
131
+ } | {
132
+ "method": "turn/started";
133
+ "params": TurnStartedNotification;
134
+ } | {
135
+ "method": "hook/started";
136
+ "params": HookStartedNotification;
137
+ } | {
138
+ "method": "turn/completed";
139
+ "params": TurnCompletedNotification;
140
+ } | {
141
+ "method": "hook/completed";
142
+ "params": HookCompletedNotification;
143
+ } | {
144
+ "method": "turn/diff/updated";
145
+ "params": TurnDiffUpdatedNotification;
146
+ } | {
147
+ "method": "turn/plan/updated";
148
+ "params": TurnPlanUpdatedNotification;
149
+ } | {
150
+ "method": "item/started";
151
+ "params": ItemStartedNotification;
152
+ } | {
153
+ "method": "item/autoApprovalReview/started";
154
+ "params": ItemGuardianApprovalReviewStartedNotification;
155
+ } | {
156
+ "method": "item/autoApprovalReview/completed";
157
+ "params": ItemGuardianApprovalReviewCompletedNotification;
158
+ } | {
159
+ "method": "item/completed";
160
+ "params": ItemCompletedNotification;
161
+ } | {
162
+ "method": "rawResponseItem/completed";
163
+ "params": RawResponseItemCompletedNotification;
164
+ } | {
165
+ "method": "rawResponse/completed";
166
+ "params": RawResponseCompletedNotification;
167
+ } | {
168
+ "method": "item/agentMessage/delta";
169
+ "params": AgentMessageDeltaNotification;
170
+ } | {
171
+ "method": "item/plan/delta";
172
+ "params": PlanDeltaNotification;
173
+ } | {
174
+ "method": "command/exec/outputDelta";
175
+ "params": CommandExecOutputDeltaNotification;
176
+ } | {
177
+ "method": "process/outputDelta";
178
+ "params": ProcessOutputDeltaNotification;
179
+ } | {
180
+ "method": "process/exited";
181
+ "params": ProcessExitedNotification;
182
+ } | {
183
+ "method": "item/commandExecution/outputDelta";
184
+ "params": CommandExecutionOutputDeltaNotification;
185
+ } | {
186
+ "method": "item/commandExecution/terminalInteraction";
187
+ "params": TerminalInteractionNotification;
188
+ } | {
189
+ "method": "item/fileChange/outputDelta";
190
+ "params": FileChangeOutputDeltaNotification;
191
+ } | {
192
+ "method": "item/fileChange/patchUpdated";
193
+ "params": FileChangePatchUpdatedNotification;
194
+ } | {
195
+ "method": "serverRequest/resolved";
196
+ "params": ServerRequestResolvedNotification;
197
+ } | {
198
+ "method": "item/mcpToolCall/progress";
199
+ "params": McpToolCallProgressNotification;
200
+ } | {
201
+ "method": "mcpServer/oauthLogin/completed";
202
+ "params": McpServerOauthLoginCompletedNotification;
203
+ } | {
204
+ "method": "mcpServer/startupStatus/updated";
205
+ "params": McpServerStatusUpdatedNotification;
206
+ } | {
207
+ "method": "account/updated";
208
+ "params": AccountUpdatedNotification;
209
+ } | {
210
+ "method": "account/rateLimits/updated";
211
+ "params": AccountRateLimitsUpdatedNotification;
212
+ } | {
213
+ "method": "app/list/updated";
214
+ "params": AppListUpdatedNotification;
215
+ } | {
216
+ "method": "remoteControl/status/changed";
217
+ "params": RemoteControlStatusChangedNotification;
218
+ } | {
219
+ "method": "externalAgentConfig/import/progress";
220
+ "params": ExternalAgentConfigImportProgressNotification;
221
+ } | {
222
+ "method": "externalAgentConfig/import/completed";
223
+ "params": ExternalAgentConfigImportCompletedNotification;
224
+ } | {
225
+ "method": "fs/changed";
226
+ "params": FsChangedNotification;
227
+ } | {
228
+ "method": "item/reasoning/summaryTextDelta";
229
+ "params": ReasoningSummaryTextDeltaNotification;
230
+ } | {
231
+ "method": "item/reasoning/summaryPartAdded";
232
+ "params": ReasoningSummaryPartAddedNotification;
233
+ } | {
234
+ "method": "item/reasoning/textDelta";
235
+ "params": ReasoningTextDeltaNotification;
236
+ } | {
237
+ "method": "thread/compacted";
238
+ "params": ContextCompactedNotification;
239
+ } | {
240
+ "method": "model/rerouted";
241
+ "params": ModelReroutedNotification;
242
+ } | {
243
+ "method": "model/verification";
244
+ "params": ModelVerificationNotification;
245
+ } | {
246
+ "method": "turn/moderationMetadata";
247
+ "params": TurnModerationMetadataNotification;
248
+ } | {
249
+ "method": "model/safetyBuffering/updated";
250
+ "params": ModelSafetyBufferingUpdatedNotification;
251
+ } | {
252
+ "method": "warning";
253
+ "params": WarningNotification;
254
+ } | {
255
+ "method": "guardianWarning";
256
+ "params": GuardianWarningNotification;
257
+ } | {
258
+ "method": "deprecationNotice";
259
+ "params": DeprecationNoticeNotification;
260
+ } | {
261
+ "method": "configWarning";
262
+ "params": ConfigWarningNotification;
263
+ } | {
264
+ "method": "fuzzyFileSearch/sessionUpdated";
265
+ "params": FuzzyFileSearchSessionUpdatedNotification;
266
+ } | {
267
+ "method": "fuzzyFileSearch/sessionCompleted";
268
+ "params": FuzzyFileSearchSessionCompletedNotification;
269
+ } | {
270
+ "method": "thread/realtime/started";
271
+ "params": ThreadRealtimeStartedNotification;
272
+ } | {
273
+ "method": "thread/realtime/itemAdded";
274
+ "params": ThreadRealtimeItemAddedNotification;
275
+ } | {
276
+ "method": "thread/realtime/transcript/delta";
277
+ "params": ThreadRealtimeTranscriptDeltaNotification;
278
+ } | {
279
+ "method": "thread/realtime/transcript/done";
280
+ "params": ThreadRealtimeTranscriptDoneNotification;
281
+ } | {
282
+ "method": "thread/realtime/outputAudio/delta";
283
+ "params": ThreadRealtimeOutputAudioDeltaNotification;
284
+ } | {
285
+ "method": "thread/realtime/sdp";
286
+ "params": ThreadRealtimeSdpNotification;
287
+ } | {
288
+ "method": "thread/realtime/error";
289
+ "params": ThreadRealtimeErrorNotification;
290
+ } | {
291
+ "method": "thread/realtime/closed";
292
+ "params": ThreadRealtimeClosedNotification;
293
+ } | {
294
+ "method": "windows/worldWritableWarning";
295
+ "params": WindowsWorldWritableWarningNotification;
296
+ } | {
297
+ "method": "windowsSandbox/setupCompleted";
298
+ "params": WindowsSandboxSetupCompletedNotification;
299
+ } | {
300
+ "method": "account/login/completed";
301
+ "params": AccountLoginCompletedNotification;
302
+ });
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=ServerNotificationEnvelope.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServerNotificationEnvelope.js","sourceRoot":"","sources":["../../../src/codex/generated/ServerNotificationEnvelope.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Display item emitted by the interruptible `clock.sleep` tool.
3
+ */
4
+ export type SleepItem = {
5
+ id: string;
6
+ durationMs: number;
7
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=SleepItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SleepItem.js","sourceRoot":"","sources":["../../../src/codex/generated/SleepItem.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -1,6 +1,14 @@
1
+ import type { JsonValue } from "./serde_json/JsonValue";
1
2
  import type { WebSearchAction } from "./v2/WebSearchAction";
2
3
  export type WebSearchItem = {
3
4
  id: string;
4
5
  query: string;
5
6
  action: WebSearchAction | null;
7
+ /**
8
+ * Structured search results returned out-of-band by standalone web search.
9
+ *
10
+ * These stay as opaque JSON at the extension/app-server boundary so new
11
+ * result fields and result types can pass through without a Codex release.
12
+ */
13
+ results: Array<JsonValue> | null;
6
14
  };
@@ -1,7 +1,6 @@
1
1
  export type { AbsolutePathBuf } from "./AbsolutePathBuf";
2
2
  export type { AgentMessageInputContent } from "./AgentMessageInputContent";
3
3
  export type { AgentPath } from "./AgentPath";
4
- export type { AmazonBedrockCredentialSource } from "./AmazonBedrockCredentialSource";
5
4
  export type { ApplyPatchApprovalParams } from "./ApplyPatchApprovalParams";
6
5
  export type { ApplyPatchApprovalResponse } from "./ApplyPatchApprovalResponse";
7
6
  export type { AuthMode } from "./AuthMode";
@@ -9,6 +8,7 @@ export type { AutoCompactTokenLimitScope } from "./AutoCompactTokenLimitScope";
9
8
  export type { ClientInfo } from "./ClientInfo";
10
9
  export type { ClientNotification } from "./ClientNotification";
11
10
  export type { ClientRequest } from "./ClientRequest";
11
+ export type { CodexResponseHandoffMode } from "./CodexResponseHandoffMode";
12
12
  export type { CollaborationMode } from "./CollaborationMode";
13
13
  export type { ContentItem } from "./ContentItem";
14
14
  export type { ConversationGitInfo } from "./ConversationGitInfo";
@@ -75,11 +75,14 @@ export type { Resource } from "./Resource";
75
75
  export type { ResourceContent } from "./ResourceContent";
76
76
  export type { ResourceTemplate } from "./ResourceTemplate";
77
77
  export type { ResponseItem } from "./ResponseItem";
78
+ export type { ResponseItemId } from "./ResponseItemId";
78
79
  export type { ReviewDecision } from "./ReviewDecision";
79
80
  export type { ServerNotification } from "./ServerNotification";
81
+ export type { ServerNotificationEnvelope } from "./ServerNotificationEnvelope";
80
82
  export type { ServerRequest } from "./ServerRequest";
81
83
  export type { SessionSource } from "./SessionSource";
82
84
  export type { Settings } from "./Settings";
85
+ export type { SleepItem } from "./SleepItem";
83
86
  export type { SubAgentSource } from "./SubAgentSource";
84
87
  export type { ThreadId } from "./ThreadId";
85
88
  export type { ThreadMemoryMode } from "./ThreadMemoryMode";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/codex/generated/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AA+FzC,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/codex/generated/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAkGzC,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC"}
@@ -1,4 +1,3 @@
1
- import type { AmazonBedrockCredentialSource } from "../AmazonBedrockCredentialSource";
2
1
  import type { PlanType } from "../PlanType";
3
2
  export type Account = {
4
3
  "type": "apiKey";
@@ -8,5 +7,5 @@ export type Account = {
8
7
  planType: PlanType;
9
8
  } | {
10
9
  "type": "amazonBedrock";
11
- credentialSource: AmazonBedrockCredentialSource;
10
+ usesCodexManagedCredentials: boolean;
12
11
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * EXPERIMENTAL - metadata returned by app/read.
3
+ */
4
+ export type AppToolSummary = {
5
+ name: string;
6
+ title: string | null;
7
+ description: string;
8
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AppToolSummary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppToolSummary.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AppToolSummary.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Read the committed installed connector runtime snapshot.
3
+ */
4
+ export type AppsInstalledParams = {
5
+ /**
6
+ * Optional loaded thread id used to evaluate effective app configuration.
7
+ */
8
+ threadId?: string | null;
9
+ /**
10
+ * When true and Apps are permitted, refresh and publish the hosted connector runtime tool
11
+ * snapshot first.
12
+ */
13
+ forceRefresh?: boolean;
14
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AppsInstalledParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppsInstalledParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AppsInstalledParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,7 @@
1
+ import type { InstalledApp } from "./InstalledApp";
2
+ /**
3
+ * The installed connectors in one committed runtime snapshot.
4
+ */
5
+ export type AppsInstalledResponse = {
6
+ apps: Array<InstalledApp>;
7
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AppsInstalledResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppsInstalledResponse.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AppsInstalledResponse.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * EXPERIMENTAL - read metadata for specific apps/connectors.
3
+ */
4
+ export type AppsReadParams = {
5
+ /**
6
+ * App ids to read. The server accepts at most 100 ids and deduplicates repeated ids while
7
+ * preserving their first-request order.
8
+ */
9
+ appIds: Array<string>;
10
+ /**
11
+ * When true, include display-only public tool summaries in the returned metadata.
12
+ */
13
+ includeTools?: boolean;
14
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AppsReadParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppsReadParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AppsReadParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,8 @@
1
+ import type { ConnectorMetadata } from "./ConnectorMetadata";
2
+ /**
3
+ * EXPERIMENTAL - app/read response.
4
+ */
5
+ export type AppsReadResponse = {
6
+ apps: Array<ConnectorMetadata>;
7
+ missingAppIds: Array<string>;
8
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AppsReadResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AppsReadResponse.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AppsReadResponse.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -5,6 +5,13 @@ export type ConfiguredHookHandler = {
5
5
  timeoutSec: bigint | null;
6
6
  async: boolean;
7
7
  statusMessage: string | null;
8
+ /**
9
+ * Approximate token threshold for spilling this hook's `additionalContext` to disk.
10
+ * `null` uses 2,500 tokens; `0` disables spilling for this hook. The threshold is
11
+ * evaluated against the original context; a spilled preview also includes recovery
12
+ * metadata.
13
+ */
14
+ additionalContextLimit: number | null;
8
15
  } | {
9
16
  "type": "prompt";
10
17
  } | {
@@ -0,0 +1,15 @@
1
+ import type { AppToolSummary } from "./AppToolSummary";
2
+ /**
3
+ * EXPERIMENTAL - metadata returned by app/read.
4
+ */
5
+ export type ConnectorMetadata = {
6
+ id: string;
7
+ name: string;
8
+ description: string | null;
9
+ iconUrl: string | null;
10
+ iconUrlDark: string | null;
11
+ distributionChannel: string | null;
12
+ installUrl: string | null;
13
+ pluginDisplayNames: Array<string>;
14
+ toolSummaries: Array<AppToolSummary> | null;
15
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=ConnectorMetadata.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConnectorMetadata.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ConnectorMetadata.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -4,4 +4,7 @@ export type DynamicToolCallOutputContentItem = {
4
4
  } | {
5
5
  "type": "inputImage";
6
6
  imageUrl: string;
7
+ } | {
8
+ "type": "inputAudio";
9
+ audioUrl: string;
7
10
  };
@@ -0,0 +1,4 @@
1
+ export type EnvironmentConnectionNotification = {
2
+ threadId: string;
3
+ environmentId: string;
4
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=EnvironmentConnectionNotification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentConnectionNotification.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/EnvironmentConnectionNotification.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Current status observed by app-server without starting or recovering an environment.
3
+ *
4
+ * For a currently ready remote environment, app-server asks the existing
5
+ * exec-server connection for `environment/status` without allowing recovery.
6
+ */
7
+ export type EnvironmentStatusKind = "ready" | "pending" | "disconnected" | "unknown";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=EnvironmentStatusKind.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentStatusKind.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/EnvironmentStatusKind.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Parameters for reading the current status of one configured environment.
3
+ */
4
+ export type EnvironmentStatusParams = {
5
+ /**
6
+ * Environment id to inspect.
7
+ */
8
+ environmentId: string;
9
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=EnvironmentStatusParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentStatusParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/EnvironmentStatusParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,14 @@
1
+ import type { EnvironmentStatusKind } from "./EnvironmentStatusKind";
2
+ /**
3
+ * Current status for the requested environment.
4
+ */
5
+ export type EnvironmentStatusResponse = {
6
+ /**
7
+ * Current status observed without starting or recovering the environment.
8
+ */
9
+ status: EnvironmentStatusKind;
10
+ /**
11
+ * Human-readable detail for `disconnected` and `unknown`; omitted for other statuses.
12
+ */
13
+ error?: string;
14
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=EnvironmentStatusResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentStatusResponse.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/EnvironmentStatusResponse.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -7,4 +7,13 @@ export type ExternalAgentConfigDetectParams = {
7
7
  * Zero or more working directories to include for repo-scoped detection.
8
8
  */
9
9
  cwds?: Array<string> | null;
10
+ /**
11
+ * Deprecated field retained for compatibility. This field is ignored; use `migrationSource`
12
+ * to select the migration source.
13
+ */
14
+ source?: string | null;
15
+ /**
16
+ * Optional migration-source selector. Missing or unrecognized values use the default source.
17
+ */
18
+ migrationSource?: string | null;
10
19
  };