@gkorepanov/ccodex 0.4.19 → 0.4.20

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 (335) hide show
  1. package/README.md +2 -2
  2. package/config/compatibility.json +5 -5
  3. package/dist/claude/modelCatalog.d.ts +4 -0
  4. package/dist/claude/modelCatalog.js +14 -0
  5. package/dist/claude/modelCatalog.js.map +1 -1
  6. package/dist/claude/modelSelection.d.ts +14 -0
  7. package/dist/claude/modelSelection.js +26 -0
  8. package/dist/claude/modelSelection.js.map +1 -1
  9. package/dist/claude/resultClassifier.js +4 -1
  10. package/dist/claude/resultClassifier.js.map +1 -1
  11. package/dist/claude/service.d.ts +26 -2
  12. package/dist/claude/service.js +150 -67
  13. package/dist/claude/service.js.map +1 -1
  14. package/dist/claude/session/codexRollout.js +40 -1
  15. package/dist/claude/session/codexRollout.js.map +1 -1
  16. package/dist/claude/session/commands.d.ts +8 -1
  17. package/dist/claude/session/providerRuntimeFactory.js +13 -2
  18. package/dist/claude/session/providerRuntimeFactory.js.map +1 -1
  19. package/dist/claude/session/session.js +40 -14
  20. package/dist/claude/session/session.js.map +1 -1
  21. package/dist/claude/toolMapper.js +1 -1
  22. package/dist/claude/toolMapper.js.map +1 -1
  23. package/dist/codex/generated/ClientRequest.d.ts +117 -1
  24. package/dist/codex/generated/ImageGenerationFailure.d.ts +5 -0
  25. package/dist/codex/generated/ImageGenerationFailure.js +3 -0
  26. package/dist/codex/generated/ImageGenerationFailure.js.map +1 -0
  27. package/dist/codex/generated/ImageGenerationItem.d.ts +3 -0
  28. package/dist/codex/generated/InitializeCapabilities.d.ts +10 -1
  29. package/dist/codex/generated/PathUri.d.ts +4 -3
  30. package/dist/codex/generated/PlanType.d.ts +1 -1
  31. package/dist/codex/generated/ResponseItem.d.ts +1 -0
  32. package/dist/codex/generated/ResponseItemRuntimeSchema.js +2 -2
  33. package/dist/codex/generated/ResponseItemRuntimeSchema.js.map +1 -1
  34. package/dist/codex/generated/ReviewDecision.d.ts +1 -1
  35. package/dist/codex/generated/ServerNotification.d.ts +20 -0
  36. package/dist/codex/generated/ServerNotificationEnvelope.d.ts +20 -0
  37. package/dist/codex/generated/index.d.ts +1 -0
  38. package/dist/codex/generated/index.js.map +1 -1
  39. package/dist/codex/generated/v2/AccountLoginCompletedNotification.d.ts +2 -0
  40. package/dist/codex/generated/v2/AgentMessageDelivery.d.ts +1 -0
  41. package/dist/codex/generated/v2/AgentMessageDelivery.js +3 -0
  42. package/dist/codex/generated/v2/AgentMessageDelivery.js.map +1 -0
  43. package/dist/codex/generated/v2/AppsReadParams.d.ts +4 -0
  44. package/dist/codex/generated/v2/AutoReviewRequirements.d.ts +4 -0
  45. package/dist/codex/generated/v2/AutoReviewRequirements.js +3 -0
  46. package/dist/codex/generated/v2/AutoReviewRequirements.js.map +1 -0
  47. package/dist/codex/generated/v2/AwsCredentialType.d.ts +1 -0
  48. package/dist/codex/generated/v2/AwsCredentialType.js +3 -0
  49. package/dist/codex/generated/v2/AwsCredentialType.js.map +1 -0
  50. package/dist/codex/generated/v2/BedrockAwsProfile.d.ts +4 -0
  51. package/dist/codex/generated/v2/BedrockAwsProfile.js +3 -0
  52. package/dist/codex/generated/v2/BedrockAwsProfile.js.map +1 -0
  53. package/dist/codex/generated/v2/BedrockDiscoverParams.d.ts +1 -0
  54. package/dist/codex/generated/v2/BedrockDiscoverParams.js +3 -0
  55. package/dist/codex/generated/v2/BedrockDiscoverParams.js.map +1 -0
  56. package/dist/codex/generated/v2/BedrockDiscoverResponse.d.ts +6 -0
  57. package/dist/codex/generated/v2/BedrockDiscoverResponse.js +3 -0
  58. package/dist/codex/generated/v2/BedrockDiscoverResponse.js.map +1 -0
  59. package/dist/codex/generated/v2/BedrockEnvironmentCredential.d.ts +5 -0
  60. package/dist/codex/generated/v2/BedrockEnvironmentCredential.js +3 -0
  61. package/dist/codex/generated/v2/BedrockEnvironmentCredential.js.map +1 -0
  62. package/dist/codex/generated/v2/BedrockSetupParams.d.ts +16 -0
  63. package/dist/codex/generated/v2/BedrockSetupParams.js +3 -0
  64. package/dist/codex/generated/v2/BedrockSetupParams.js.map +1 -0
  65. package/dist/codex/generated/v2/BedrockSetupResponse.d.ts +1 -0
  66. package/dist/codex/generated/v2/BedrockSetupResponse.js +3 -0
  67. package/dist/codex/generated/v2/BedrockSetupResponse.js.map +1 -0
  68. package/dist/codex/generated/v2/CliAuthCredentialsStoreMode.d.ts +1 -0
  69. package/dist/codex/generated/v2/CliAuthCredentialsStoreMode.js +3 -0
  70. package/dist/codex/generated/v2/CliAuthCredentialsStoreMode.js.map +1 -0
  71. package/dist/codex/generated/v2/CodexErrorInfo.d.ts +1 -1
  72. package/dist/codex/generated/v2/CommandAction.d.ts +2 -2
  73. package/dist/codex/generated/v2/ConfigLayerSource.d.ts +6 -0
  74. package/dist/codex/generated/v2/ConfigRequirements.d.ts +5 -0
  75. package/dist/codex/generated/v2/ConfiguredHookHandler.d.ts +10 -0
  76. package/dist/codex/generated/v2/DesktopOnboardingEntrypoint.d.ts +1 -0
  77. package/dist/codex/generated/v2/DesktopOnboardingEntrypoint.js +3 -0
  78. package/dist/codex/generated/v2/DesktopOnboardingEntrypoint.js.map +1 -0
  79. package/dist/codex/generated/v2/ExternalAgentConfigDetectResponse.d.ts +2 -0
  80. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordParams.d.ts +2 -2
  81. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.d.ts +11 -0
  82. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.js +3 -0
  83. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.js.map +1 -0
  84. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.d.ts +8 -0
  85. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.js +3 -0
  86. package/dist/codex/generated/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.js.map +1 -0
  87. package/dist/codex/generated/v2/ExternalAgentConfigImportItemTypeSuccess.d.ts +4 -0
  88. package/dist/codex/generated/v2/ExternalAgentDetectedConnectorCandidate.d.ts +6 -0
  89. package/dist/codex/generated/v2/ExternalAgentDetectedConnectorCandidate.js +3 -0
  90. package/dist/codex/generated/v2/ExternalAgentDetectedConnectorCandidate.js.map +1 -0
  91. package/dist/codex/generated/v2/ExternalAgentDetectedConnectorSource.d.ts +1 -0
  92. package/dist/codex/generated/v2/ExternalAgentDetectedConnectorSource.js +3 -0
  93. package/dist/codex/generated/v2/ExternalAgentDetectedConnectorSource.js.map +1 -0
  94. package/dist/codex/generated/v2/GetAccountTokenUsageParams.d.ts +6 -0
  95. package/dist/codex/generated/v2/GetAccountTokenUsageParams.js +3 -0
  96. package/dist/codex/generated/v2/GetAccountTokenUsageParams.js.map +1 -0
  97. package/dist/codex/generated/v2/GetAccountTokenUsageResponse.d.ts +5 -0
  98. package/dist/codex/generated/v2/HookHandlerType.d.ts +1 -1
  99. package/dist/codex/generated/v2/HookMetadata.d.ts +13 -4
  100. package/dist/codex/generated/v2/McpAuthStatus.d.ts +1 -1
  101. package/dist/codex/generated/v2/McpResourceReadParams.d.ts +5 -0
  102. package/dist/codex/generated/v2/McpResourceReadResponse.d.ts +4 -0
  103. package/dist/codex/generated/v2/McpServerOauthClientRegistration.d.ts +1 -0
  104. package/dist/codex/generated/v2/McpServerOauthClientRegistration.js +3 -0
  105. package/dist/codex/generated/v2/McpServerOauthClientRegistration.js.map +1 -0
  106. package/dist/codex/generated/v2/McpServerOauthLoginParams.d.ts +5 -0
  107. package/dist/codex/generated/v2/McpServerStatus.d.ts +1 -0
  108. package/dist/codex/generated/v2/Model.d.ts +6 -0
  109. package/dist/codex/generated/v2/ModelUpgradeInfo.d.ts +4 -0
  110. package/dist/codex/generated/v2/MultiAgentVersion.d.ts +4 -0
  111. package/dist/codex/generated/v2/MultiAgentVersion.js +3 -0
  112. package/dist/codex/generated/v2/MultiAgentVersion.js.map +1 -0
  113. package/dist/codex/generated/v2/PluginDisabledReason.d.ts +1 -0
  114. package/dist/codex/generated/v2/PluginDisabledReason.js +3 -0
  115. package/dist/codex/generated/v2/PluginDisabledReason.js.map +1 -0
  116. package/dist/codex/generated/v2/PluginInstallParams.d.ts +4 -0
  117. package/dist/codex/generated/v2/PluginSearchParams.d.ts +9 -0
  118. package/dist/codex/generated/v2/PluginSearchParams.js +3 -0
  119. package/dist/codex/generated/v2/PluginSearchParams.js.map +1 -0
  120. package/dist/codex/generated/v2/PluginSearchResponse.d.ts +5 -0
  121. package/dist/codex/generated/v2/PluginSearchResponse.js +3 -0
  122. package/dist/codex/generated/v2/PluginSearchResponse.js.map +1 -0
  123. package/dist/codex/generated/v2/PluginSearchResult.d.ts +7 -0
  124. package/dist/codex/generated/v2/PluginSearchResult.js +3 -0
  125. package/dist/codex/generated/v2/PluginSearchResult.js.map +1 -0
  126. package/dist/codex/generated/v2/PluginSearchScope.d.ts +1 -0
  127. package/dist/codex/generated/v2/PluginSearchScope.js +3 -0
  128. package/dist/codex/generated/v2/PluginSearchScope.js.map +1 -0
  129. package/dist/codex/generated/v2/PluginSummary.d.ts +13 -0
  130. package/dist/codex/generated/v2/Project.d.ts +12 -0
  131. package/dist/codex/generated/v2/Project.js +3 -0
  132. package/dist/codex/generated/v2/Project.js.map +1 -0
  133. package/dist/codex/generated/v2/ProjectChangeType.d.ts +1 -0
  134. package/dist/codex/generated/v2/ProjectChangeType.js +3 -0
  135. package/dist/codex/generated/v2/ProjectChangeType.js.map +1 -0
  136. package/dist/codex/generated/v2/ProjectChangedNotification.d.ts +5 -0
  137. package/dist/codex/generated/v2/ProjectChangedNotification.js +3 -0
  138. package/dist/codex/generated/v2/ProjectChangedNotification.js.map +1 -0
  139. package/dist/codex/generated/v2/ProjectCreateParams.d.ts +9 -0
  140. package/dist/codex/generated/v2/ProjectCreateParams.js +3 -0
  141. package/dist/codex/generated/v2/ProjectCreateParams.js.map +1 -0
  142. package/dist/codex/generated/v2/ProjectCreateResponse.d.ts +4 -0
  143. package/dist/codex/generated/v2/ProjectCreateResponse.js +3 -0
  144. package/dist/codex/generated/v2/ProjectCreateResponse.js.map +1 -0
  145. package/dist/codex/generated/v2/ProjectDeleteParams.d.ts +3 -0
  146. package/dist/codex/generated/v2/ProjectDeleteParams.js +3 -0
  147. package/dist/codex/generated/v2/ProjectDeleteParams.js.map +1 -0
  148. package/dist/codex/generated/v2/ProjectDeleteResponse.d.ts +1 -0
  149. package/dist/codex/generated/v2/ProjectDeleteResponse.js +3 -0
  150. package/dist/codex/generated/v2/ProjectDeleteResponse.js.map +1 -0
  151. package/dist/codex/generated/v2/ProjectImportParams.d.ts +10 -0
  152. package/dist/codex/generated/v2/ProjectImportParams.js +3 -0
  153. package/dist/codex/generated/v2/ProjectImportParams.js.map +1 -0
  154. package/dist/codex/generated/v2/ProjectImportResponse.d.ts +4 -0
  155. package/dist/codex/generated/v2/ProjectImportResponse.js +3 -0
  156. package/dist/codex/generated/v2/ProjectImportResponse.js.map +1 -0
  157. package/dist/codex/generated/v2/ProjectListParams.d.ts +4 -0
  158. package/dist/codex/generated/v2/ProjectListParams.js +3 -0
  159. package/dist/codex/generated/v2/ProjectListParams.js.map +1 -0
  160. package/dist/codex/generated/v2/ProjectListResponse.d.ts +5 -0
  161. package/dist/codex/generated/v2/ProjectListResponse.js +3 -0
  162. package/dist/codex/generated/v2/ProjectListResponse.js.map +1 -0
  163. package/dist/codex/generated/v2/ProjectMoveParams.d.ts +4 -0
  164. package/dist/codex/generated/v2/ProjectMoveParams.js +3 -0
  165. package/dist/codex/generated/v2/ProjectMoveParams.js.map +1 -0
  166. package/dist/codex/generated/v2/ProjectMoveResponse.d.ts +1 -0
  167. package/dist/codex/generated/v2/ProjectMoveResponse.js +3 -0
  168. package/dist/codex/generated/v2/ProjectMoveResponse.js.map +1 -0
  169. package/dist/codex/generated/v2/ProjectReadParams.d.ts +3 -0
  170. package/dist/codex/generated/v2/ProjectReadParams.js +3 -0
  171. package/dist/codex/generated/v2/ProjectReadParams.js.map +1 -0
  172. package/dist/codex/generated/v2/ProjectReadResponse.d.ts +4 -0
  173. package/dist/codex/generated/v2/ProjectReadResponse.js +3 -0
  174. package/dist/codex/generated/v2/ProjectReadResponse.js.map +1 -0
  175. package/dist/codex/generated/v2/ProjectRoot.d.ts +4 -0
  176. package/dist/codex/generated/v2/ProjectRoot.js +3 -0
  177. package/dist/codex/generated/v2/ProjectRoot.js.map +1 -0
  178. package/dist/codex/generated/v2/ProjectUpdateParams.d.ts +9 -0
  179. package/dist/codex/generated/v2/ProjectUpdateParams.js +3 -0
  180. package/dist/codex/generated/v2/ProjectUpdateParams.js.map +1 -0
  181. package/dist/codex/generated/v2/ProjectUpdateResponse.d.ts +4 -0
  182. package/dist/codex/generated/v2/ProjectUpdateResponse.js +3 -0
  183. package/dist/codex/generated/v2/ProjectUpdateResponse.js.map +1 -0
  184. package/dist/codex/generated/v2/QueuedSubmission.d.ts +6 -0
  185. package/dist/codex/generated/v2/QueuedSubmission.js +3 -0
  186. package/dist/codex/generated/v2/QueuedSubmission.js.map +1 -0
  187. package/dist/codex/generated/v2/ServerDiagnosticsGauge.d.ts +4 -0
  188. package/dist/codex/generated/v2/ServerDiagnosticsGauge.js +3 -0
  189. package/dist/codex/generated/v2/ServerDiagnosticsGauge.js.map +1 -0
  190. package/dist/codex/generated/v2/ServerDiagnosticsParams.d.ts +1 -0
  191. package/dist/codex/generated/v2/ServerDiagnosticsParams.js +3 -0
  192. package/dist/codex/generated/v2/ServerDiagnosticsParams.js.map +1 -0
  193. package/dist/codex/generated/v2/ServerDiagnosticsProcess.d.ts +5 -0
  194. package/dist/codex/generated/v2/ServerDiagnosticsProcess.js +3 -0
  195. package/dist/codex/generated/v2/ServerDiagnosticsProcess.js.map +1 -0
  196. package/dist/codex/generated/v2/ServerDiagnosticsResponse.d.ts +6 -0
  197. package/dist/codex/generated/v2/ServerDiagnosticsResponse.js +3 -0
  198. package/dist/codex/generated/v2/ServerDiagnosticsResponse.js.map +1 -0
  199. package/dist/codex/generated/v2/StrictReviewRequiredNotification.d.ts +8 -0
  200. package/dist/codex/generated/v2/StrictReviewRequiredNotification.js +3 -0
  201. package/dist/codex/generated/v2/StrictReviewRequiredNotification.js.map +1 -0
  202. package/dist/codex/generated/v2/Thread.d.ts +11 -2
  203. package/dist/codex/generated/v2/ThreadBackgroundTerminal.d.ts +2 -2
  204. package/dist/codex/generated/v2/ThreadItem.d.ts +3 -0
  205. package/dist/codex/generated/v2/ThreadListParams.d.ts +8 -2
  206. package/dist/codex/generated/v2/ThreadMetadataUpdateParams.d.ts +5 -4
  207. package/dist/codex/generated/v2/ThreadProjectUpdatedNotification.d.ts +4 -0
  208. package/dist/codex/generated/v2/ThreadProjectUpdatedNotification.js +3 -0
  209. package/dist/codex/generated/v2/ThreadProjectUpdatedNotification.js.map +1 -0
  210. package/dist/codex/generated/v2/ThreadQueueAddParams.d.ts +6 -0
  211. package/dist/codex/generated/v2/ThreadQueueAddParams.js +3 -0
  212. package/dist/codex/generated/v2/ThreadQueueAddParams.js.map +1 -0
  213. package/dist/codex/generated/v2/ThreadQueueAddResponse.d.ts +4 -0
  214. package/dist/codex/generated/v2/ThreadQueueAddResponse.js +3 -0
  215. package/dist/codex/generated/v2/ThreadQueueAddResponse.js.map +1 -0
  216. package/dist/codex/generated/v2/ThreadQueueChangedNotification.d.ts +3 -0
  217. package/dist/codex/generated/v2/ThreadQueueChangedNotification.js +3 -0
  218. package/dist/codex/generated/v2/ThreadQueueChangedNotification.js.map +1 -0
  219. package/dist/codex/generated/v2/ThreadQueueDeleteParams.d.ts +4 -0
  220. package/dist/codex/generated/v2/ThreadQueueDeleteParams.js +3 -0
  221. package/dist/codex/generated/v2/ThreadQueueDeleteParams.js.map +1 -0
  222. package/dist/codex/generated/v2/ThreadQueueDeleteResponse.d.ts +3 -0
  223. package/dist/codex/generated/v2/ThreadQueueDeleteResponse.js +3 -0
  224. package/dist/codex/generated/v2/ThreadQueueDeleteResponse.js.map +1 -0
  225. package/dist/codex/generated/v2/ThreadQueueListParams.d.ts +11 -0
  226. package/dist/codex/generated/v2/ThreadQueueListParams.js +3 -0
  227. package/dist/codex/generated/v2/ThreadQueueListParams.js.map +1 -0
  228. package/dist/codex/generated/v2/ThreadQueueListResponse.d.ts +8 -0
  229. package/dist/codex/generated/v2/ThreadQueueListResponse.js +3 -0
  230. package/dist/codex/generated/v2/ThreadQueueListResponse.js.map +1 -0
  231. package/dist/codex/generated/v2/ThreadQueueReorderParams.d.ts +4 -0
  232. package/dist/codex/generated/v2/ThreadQueueReorderParams.js +3 -0
  233. package/dist/codex/generated/v2/ThreadQueueReorderParams.js.map +1 -0
  234. package/dist/codex/generated/v2/ThreadQueueReorderResponse.d.ts +1 -0
  235. package/dist/codex/generated/v2/ThreadQueueReorderResponse.js +3 -0
  236. package/dist/codex/generated/v2/ThreadQueueReorderResponse.js.map +1 -0
  237. package/dist/codex/generated/v2/ThreadQueueStartParams.d.ts +4 -0
  238. package/dist/codex/generated/v2/ThreadQueueStartParams.js +3 -0
  239. package/dist/codex/generated/v2/ThreadQueueStartParams.js.map +1 -0
  240. package/dist/codex/generated/v2/ThreadQueueStartResponse.d.ts +4 -0
  241. package/dist/codex/generated/v2/ThreadQueueStartResponse.js +3 -0
  242. package/dist/codex/generated/v2/ThreadQueueStartResponse.js.map +1 -0
  243. package/dist/codex/generated/v2/ThreadQueueUpdateParams.d.ts +6 -0
  244. package/dist/codex/generated/v2/ThreadQueueUpdateParams.js +3 -0
  245. package/dist/codex/generated/v2/ThreadQueueUpdateParams.js.map +1 -0
  246. package/dist/codex/generated/v2/ThreadQueueUpdateResponse.d.ts +4 -0
  247. package/dist/codex/generated/v2/ThreadQueueUpdateResponse.js +3 -0
  248. package/dist/codex/generated/v2/ThreadQueueUpdateResponse.js.map +1 -0
  249. package/dist/codex/generated/v2/ThreadRealtimeStartParams.d.ts +13 -0
  250. package/dist/codex/generated/v2/ThreadResumeResponse.d.ts +4 -4
  251. package/dist/codex/generated/v2/ThreadRevertParams.d.ts +12 -0
  252. package/dist/codex/generated/v2/ThreadRevertParams.js +3 -0
  253. package/dist/codex/generated/v2/ThreadRevertParams.js.map +1 -0
  254. package/dist/codex/generated/v2/ThreadRevertResponse.d.ts +22 -0
  255. package/dist/codex/generated/v2/ThreadRevertResponse.js +3 -0
  256. package/dist/codex/generated/v2/ThreadRevertResponse.js.map +1 -0
  257. package/dist/codex/generated/v2/ThreadRevertedNotification.d.ts +3 -0
  258. package/dist/codex/generated/v2/ThreadRevertedNotification.js +3 -0
  259. package/dist/codex/generated/v2/ThreadRevertedNotification.js.map +1 -0
  260. package/dist/codex/generated/v2/ThreadSearchParams.d.ts +2 -2
  261. package/dist/codex/generated/v2/ThreadSearchSortKey.d.ts +1 -0
  262. package/dist/codex/generated/v2/ThreadSearchSortKey.js +3 -0
  263. package/dist/codex/generated/v2/ThreadSearchSortKey.js.map +1 -0
  264. package/dist/codex/generated/v2/ThreadSection.d.ts +18 -0
  265. package/dist/codex/generated/v2/ThreadSection.js +3 -0
  266. package/dist/codex/generated/v2/ThreadSection.js.map +1 -0
  267. package/dist/codex/generated/v2/ThreadSectionAppearance.d.ts +7 -0
  268. package/dist/codex/generated/v2/ThreadSectionAppearance.js +3 -0
  269. package/dist/codex/generated/v2/ThreadSectionAppearance.js.map +1 -0
  270. package/dist/codex/generated/v2/ThreadSectionCreateParams.d.ts +11 -0
  271. package/dist/codex/generated/v2/ThreadSectionCreateParams.js +3 -0
  272. package/dist/codex/generated/v2/ThreadSectionCreateParams.js.map +1 -0
  273. package/dist/codex/generated/v2/ThreadSectionCreateResponse.d.ts +7 -0
  274. package/dist/codex/generated/v2/ThreadSectionCreateResponse.js +3 -0
  275. package/dist/codex/generated/v2/ThreadSectionCreateResponse.js.map +1 -0
  276. package/dist/codex/generated/v2/ThreadSectionDeleteParams.d.ts +9 -0
  277. package/dist/codex/generated/v2/ThreadSectionDeleteParams.js +3 -0
  278. package/dist/codex/generated/v2/ThreadSectionDeleteParams.js.map +1 -0
  279. package/dist/codex/generated/v2/ThreadSectionDeleteResponse.d.ts +4 -0
  280. package/dist/codex/generated/v2/ThreadSectionDeleteResponse.js +3 -0
  281. package/dist/codex/generated/v2/ThreadSectionDeleteResponse.js.map +1 -0
  282. package/dist/codex/generated/v2/ThreadSectionListParams.d.ts +13 -0
  283. package/dist/codex/generated/v2/ThreadSectionListParams.js +3 -0
  284. package/dist/codex/generated/v2/ThreadSectionListParams.js.map +1 -0
  285. package/dist/codex/generated/v2/ThreadSectionListResponse.d.ts +11 -0
  286. package/dist/codex/generated/v2/ThreadSectionListResponse.js +3 -0
  287. package/dist/codex/generated/v2/ThreadSectionListResponse.js.map +1 -0
  288. package/dist/codex/generated/v2/ThreadSectionMoveParams.d.ts +17 -0
  289. package/dist/codex/generated/v2/ThreadSectionMoveParams.js +3 -0
  290. package/dist/codex/generated/v2/ThreadSectionMoveParams.js.map +1 -0
  291. package/dist/codex/generated/v2/ThreadSectionMoveResponse.d.ts +1 -0
  292. package/dist/codex/generated/v2/ThreadSectionMoveResponse.js +3 -0
  293. package/dist/codex/generated/v2/ThreadSectionMoveResponse.js.map +1 -0
  294. package/dist/codex/generated/v2/ThreadSectionUpdateParams.d.ts +18 -0
  295. package/dist/codex/generated/v2/ThreadSectionUpdateParams.js +3 -0
  296. package/dist/codex/generated/v2/ThreadSectionUpdateParams.js.map +1 -0
  297. package/dist/codex/generated/v2/ThreadSectionUpdateResponse.d.ts +7 -0
  298. package/dist/codex/generated/v2/ThreadSectionUpdateResponse.js +3 -0
  299. package/dist/codex/generated/v2/ThreadSectionUpdateResponse.js.map +1 -0
  300. package/dist/codex/generated/v2/ThreadSortKey.d.ts +1 -1
  301. package/dist/codex/generated/v2/ThreadStartParams.d.ts +5 -0
  302. package/dist/codex/generated/v2/ThreadUsage.d.ts +7 -0
  303. package/dist/codex/generated/v2/ThreadUsage.js +3 -0
  304. package/dist/codex/generated/v2/ThreadUsage.js.map +1 -0
  305. package/dist/codex/generated/v2/ThreadUsageBreakdownGroup.d.ts +11 -0
  306. package/dist/codex/generated/v2/ThreadUsageBreakdownGroup.js +3 -0
  307. package/dist/codex/generated/v2/ThreadUsageBreakdownGroup.js.map +1 -0
  308. package/dist/codex/generated/v2/ToolRequestUserInputParams.d.ts +4 -0
  309. package/dist/codex/generated/v2/index.d.ts +79 -0
  310. package/dist/daemon/probe.js +1 -1
  311. package/dist/gateway/clientConnection.js +45 -17
  312. package/dist/gateway/clientConnection.js.map +1 -1
  313. package/dist/gateway/stockRpc.d.ts +2 -0
  314. package/dist/gateway/stockRpc.js +13 -0
  315. package/dist/gateway/stockRpc.js.map +1 -1
  316. package/dist/gateway/threadList.js +7 -2
  317. package/dist/gateway/threadList.js.map +1 -1
  318. package/dist/gateway/transientNotice.js +3 -1
  319. package/dist/gateway/transientNotice.js.map +1 -1
  320. package/dist/handoff/lineageStore.d.ts +2 -8
  321. package/dist/handoff/lineageStore.js +2 -8
  322. package/dist/handoff/lineageStore.js.map +1 -1
  323. package/dist/handoff/providerEpochs.js +4 -5
  324. package/dist/handoff/providerEpochs.js.map +1 -1
  325. package/dist/handoff/service.d.ts +6 -1
  326. package/dist/handoff/service.js +42 -28
  327. package/dist/handoff/service.js.map +1 -1
  328. package/dist/runtime/dependencies.js +1 -1
  329. package/dist/store/sqliteStore.js +3 -1
  330. package/dist/store/sqliteStore.js.map +1 -1
  331. package/dist/store/threadFilter.js +11 -2
  332. package/dist/store/threadFilter.js.map +1 -1
  333. package/legal/THIRD_PARTY_NOTICES.md +234 -240
  334. package/package.json +6 -6
  335. package/skills/workforce/SKILL.md +51 -24
@@ -33,6 +33,7 @@ import type { ModelVerificationNotification } from "./v2/ModelVerificationNotifi
33
33
  import type { PlanDeltaNotification } from "./v2/PlanDeltaNotification";
34
34
  import type { ProcessExitedNotification } from "./v2/ProcessExitedNotification";
35
35
  import type { ProcessOutputDeltaNotification } from "./v2/ProcessOutputDeltaNotification";
36
+ import type { ProjectChangedNotification } from "./v2/ProjectChangedNotification";
36
37
  import type { RawResponseCompletedNotification } from "./v2/RawResponseCompletedNotification";
37
38
  import type { RawResponseItemCompletedNotification } from "./v2/RawResponseItemCompletedNotification";
38
39
  import type { ReasoningSummaryPartAddedNotification } from "./v2/ReasoningSummaryPartAddedNotification";
@@ -41,6 +42,7 @@ import type { ReasoningTextDeltaNotification } from "./v2/ReasoningTextDeltaNoti
41
42
  import type { RemoteControlStatusChangedNotification } from "./v2/RemoteControlStatusChangedNotification";
42
43
  import type { ServerRequestResolvedNotification } from "./v2/ServerRequestResolvedNotification";
43
44
  import type { SkillsChangedNotification } from "./v2/SkillsChangedNotification";
45
+ import type { StrictReviewRequiredNotification } from "./v2/StrictReviewRequiredNotification";
44
46
  import type { TerminalInteractionNotification } from "./v2/TerminalInteractionNotification";
45
47
  import type { ThreadArchivedNotification } from "./v2/ThreadArchivedNotification";
46
48
  import type { ThreadClosedNotification } from "./v2/ThreadClosedNotification";
@@ -48,6 +50,8 @@ import type { ThreadDeletedNotification } from "./v2/ThreadDeletedNotification";
48
50
  import type { ThreadGoalClearedNotification } from "./v2/ThreadGoalClearedNotification";
49
51
  import type { ThreadGoalUpdatedNotification } from "./v2/ThreadGoalUpdatedNotification";
50
52
  import type { ThreadNameUpdatedNotification } from "./v2/ThreadNameUpdatedNotification";
53
+ import type { ThreadProjectUpdatedNotification } from "./v2/ThreadProjectUpdatedNotification";
54
+ import type { ThreadQueueChangedNotification } from "./v2/ThreadQueueChangedNotification";
51
55
  import type { ThreadRealtimeClosedNotification } from "./v2/ThreadRealtimeClosedNotification";
52
56
  import type { ThreadRealtimeErrorNotification } from "./v2/ThreadRealtimeErrorNotification";
53
57
  import type { ThreadRealtimeItemAddedNotification } from "./v2/ThreadRealtimeItemAddedNotification";
@@ -56,6 +60,7 @@ import type { ThreadRealtimeSdpNotification } from "./v2/ThreadRealtimeSdpNotifi
56
60
  import type { ThreadRealtimeStartedNotification } from "./v2/ThreadRealtimeStartedNotification";
57
61
  import type { ThreadRealtimeTranscriptDeltaNotification } from "./v2/ThreadRealtimeTranscriptDeltaNotification";
58
62
  import type { ThreadRealtimeTranscriptDoneNotification } from "./v2/ThreadRealtimeTranscriptDoneNotification";
63
+ import type { ThreadRevertedNotification } from "./v2/ThreadRevertedNotification";
59
64
  import type { ThreadSettingsUpdatedNotification } from "./v2/ThreadSettingsUpdatedNotification";
60
65
  import type { ThreadStartedNotification } from "./v2/ThreadStartedNotification";
61
66
  import type { ThreadStatusChangedNotification } from "./v2/ThreadStatusChangedNotification";
@@ -104,6 +109,9 @@ export type ServerNotificationEnvelope = {
104
109
  } | {
105
110
  "method": "thread/closed";
106
111
  "params": ThreadClosedNotification;
112
+ } | {
113
+ "method": "thread/reverted";
114
+ "params": ThreadRevertedNotification;
107
115
  } | {
108
116
  "method": "skills/changed";
109
117
  "params": SkillsChangedNotification;
@@ -116,6 +124,15 @@ export type ServerNotificationEnvelope = {
116
124
  } | {
117
125
  "method": "thread/goal/cleared";
118
126
  "params": ThreadGoalClearedNotification;
127
+ } | {
128
+ "method": "thread/queue/changed";
129
+ "params": ThreadQueueChangedNotification;
130
+ } | {
131
+ "method": "project/changed";
132
+ "params": ProjectChangedNotification;
133
+ } | {
134
+ "method": "thread/project/updated";
135
+ "params": ThreadProjectUpdatedNotification;
119
136
  } | {
120
137
  "method": "thread/environment/connected";
121
138
  "params": EnvironmentConnectionNotification;
@@ -155,6 +172,9 @@ export type ServerNotificationEnvelope = {
155
172
  } | {
156
173
  "method": "item/autoApprovalReview/completed";
157
174
  "params": ItemGuardianApprovalReviewCompletedNotification;
175
+ } | {
176
+ "method": "autoApprovalReview/strictReviewRequired";
177
+ "params": StrictReviewRequiredNotification;
158
178
  } | {
159
179
  "method": "item/completed";
160
180
  "params": ItemCompletedNotification;
@@ -41,6 +41,7 @@ export type { GitDiffToRemoteParams } from "./GitDiffToRemoteParams";
41
41
  export type { GitDiffToRemoteResponse } from "./GitDiffToRemoteResponse";
42
42
  export type { GitSha } from "./GitSha";
43
43
  export type { ImageDetail } from "./ImageDetail";
44
+ export type { ImageGenerationFailure } from "./ImageGenerationFailure";
44
45
  export type { ImageGenerationItem } from "./ImageGenerationItem";
45
46
  export type { InitializeCapabilities } from "./InitializeCapabilities";
46
47
  export type { InitializeParams } from "./InitializeParams";
@@ -1 +1 @@
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
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/codex/generated/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AAmGzC,OAAO,KAAK,EAAE,MAAM,MAAM,CAAC"}
@@ -1,5 +1,7 @@
1
+ import type { DesktopOnboardingEntrypoint } from "./DesktopOnboardingEntrypoint";
1
2
  export type AccountLoginCompletedNotification = {
2
3
  loginId: string | null;
3
4
  success: boolean;
4
5
  error: string | null;
6
+ onboardingEntrypoint: DesktopOnboardingEntrypoint | null;
5
7
  };
@@ -0,0 +1 @@
1
+ export type AgentMessageDelivery = "async";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AgentMessageDelivery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentMessageDelivery.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AgentMessageDelivery.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -7,6 +7,10 @@ export type AppsReadParams = {
7
7
  * preserving their first-request order.
8
8
  */
9
9
  appIds: Array<string>;
10
+ /**
11
+ * Optional loaded thread id used to evaluate effective app configuration.
12
+ */
13
+ threadId?: string | null;
10
14
  /**
11
15
  * When true, include display-only public tool summaries in the returned metadata.
12
16
  */
@@ -0,0 +1,4 @@
1
+ export type AutoReviewRequirements = {
2
+ requiredOnModels: Array<string> | null;
3
+ ignoreRules: Array<string> | null;
4
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AutoReviewRequirements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoReviewRequirements.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AutoReviewRequirements.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1 @@
1
+ export type AwsCredentialType = "accessKeys" | "bedrockApiKey";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=AwsCredentialType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AwsCredentialType.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/AwsCredentialType.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,4 @@
1
+ export type BedrockAwsProfile = {
2
+ name: string;
3
+ region: string | null;
4
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=BedrockAwsProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedrockAwsProfile.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BedrockAwsProfile.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1 @@
1
+ export type BedrockDiscoverParams = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=BedrockDiscoverParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedrockDiscoverParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BedrockDiscoverParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,6 @@
1
+ import type { BedrockAwsProfile } from "./BedrockAwsProfile";
2
+ import type { BedrockEnvironmentCredential } from "./BedrockEnvironmentCredential";
3
+ export type BedrockDiscoverResponse = {
4
+ profiles: Array<BedrockAwsProfile>;
5
+ environmentCredentials: Array<BedrockEnvironmentCredential>;
6
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=BedrockDiscoverResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedrockDiscoverResponse.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BedrockDiscoverResponse.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,5 @@
1
+ import type { AwsCredentialType } from "./AwsCredentialType";
2
+ export type BedrockEnvironmentCredential = {
3
+ type: AwsCredentialType;
4
+ region: string | null;
5
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=BedrockEnvironmentCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedrockEnvironmentCredential.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BedrockEnvironmentCredential.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,16 @@
1
+ import type { AwsCredentialType } from "./AwsCredentialType";
2
+ export type BedrockSetupParams = {
3
+ "type": "profile";
4
+ profile: string;
5
+ region: string;
6
+ } | {
7
+ "type": "environment";
8
+ credentialType: AwsCredentialType;
9
+ region: string;
10
+ } | {
11
+ "type": "accessKeys";
12
+ accessKeyId: string;
13
+ secretAccessKey: string;
14
+ sessionToken?: string | null;
15
+ region: string;
16
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=BedrockSetupParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedrockSetupParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BedrockSetupParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1 @@
1
+ export type BedrockSetupResponse = Record<string, never>;
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=BedrockSetupResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BedrockSetupResponse.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/BedrockSetupResponse.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1 @@
1
+ export type CliAuthCredentialsStoreMode = "file" | "keyring" | "auto" | "ephemeral";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=CliAuthCredentialsStoreMode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CliAuthCredentialsStoreMode.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/CliAuthCredentialsStoreMode.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -5,7 +5,7 @@ import type { NonSteerableTurnKind } from "./NonSteerableTurnKind";
5
5
  * When an upstream HTTP status is available (for example, from the Responses API or a provider),
6
6
  * it is forwarded in `httpStatusCode` on the relevant `codexErrorInfo` variant.
7
7
  */
8
- export type CodexErrorInfo = "contextWindowExceeded" | "sessionBudgetExceeded" | "usageLimitExceeded" | "serverOverloaded" | "cyberPolicy" | {
8
+ export type CodexErrorInfo = "contextWindowExceeded" | "sessionBudgetExceeded" | "usageLimitExceeded" | "serverOverloaded" | "cyberPolicy" | "misalignmentPolicyViolation" | {
9
9
  "httpConnectionFailed": {
10
10
  httpStatusCode: number | null;
11
11
  };
@@ -1,9 +1,9 @@
1
- import type { AbsolutePathBuf } from "../AbsolutePathBuf";
1
+ import type { LegacyAppPathString } from "../LegacyAppPathString";
2
2
  export type CommandAction = {
3
3
  "type": "read";
4
4
  command: string;
5
5
  name: string;
6
- path: AbsolutePathBuf;
6
+ path: LegacyAppPathString;
7
7
  } | {
8
8
  "type": "listFiles";
9
9
  command: string;
@@ -1,5 +1,11 @@
1
1
  import type { AbsolutePathBuf } from "../AbsolutePathBuf";
2
2
  export type ConfigLayerSource = {
3
+ "type": "packagedDefaults";
4
+ /**
5
+ * Path to the packaged default configuration file.
6
+ */
7
+ file: AbsolutePathBuf;
8
+ } | {
3
9
  "type": "mdm";
4
10
  domain: string;
5
11
  key: string;
@@ -2,7 +2,9 @@ import type { PathUri } from "../PathUri";
2
2
  import type { WebSearchMode } from "../WebSearchMode";
3
3
  import type { ApprovalsReviewer } from "./ApprovalsReviewer";
4
4
  import type { AskForApproval } from "./AskForApproval";
5
+ import type { AutoReviewRequirements } from "./AutoReviewRequirements";
5
6
  import type { BrowserUseRequirements } from "./BrowserUseRequirements";
7
+ import type { CliAuthCredentialsStoreMode } from "./CliAuthCredentialsStoreMode";
6
8
  import type { ComputerUseRequirements } from "./ComputerUseRequirements";
7
9
  import type { FeedbackRequirements } from "./FeedbackRequirements";
8
10
  import type { ManagedHooksRequirements } from "./ManagedHooksRequirements";
@@ -12,6 +14,8 @@ import type { ResidencyRequirement } from "./ResidencyRequirement";
12
14
  import type { SandboxMode } from "./SandboxMode";
13
15
  import type { WindowsSandboxSetupMode } from "./WindowsSandboxSetupMode";
14
16
  export type ConfigRequirements = {
17
+ cliAuthCredentialsStore: CliAuthCredentialsStoreMode | null;
18
+ chatgptBaseUrl: string | null;
15
19
  allowedApprovalPolicies: Array<AskForApproval> | null;
16
20
  allowedApprovalsReviewers: Array<ApprovalsReviewer> | null;
17
21
  allowedSandboxModes: Array<SandboxMode> | null;
@@ -32,6 +36,7 @@ export type ConfigRequirements = {
32
36
  hooks: ManagedHooksRequirements | null;
33
37
  enforceResidency: ResidencyRequirement | null;
34
38
  network: NetworkRequirements | null;
39
+ autoReview: AutoReviewRequirements | null;
35
40
  models: ModelsRequirements | null;
36
41
  sqliteHome: PathUri | null;
37
42
  logDir: PathUri | null;
@@ -1,3 +1,4 @@
1
+ import type { JsonValue } from "../serde_json/JsonValue";
1
2
  export type ConfiguredHookHandler = {
2
3
  "type": "command";
3
4
  command: string;
@@ -12,6 +13,15 @@ export type ConfiguredHookHandler = {
12
13
  * metadata.
13
14
  */
14
15
  additionalContextLimit: number | null;
16
+ } | {
17
+ "type": "mcp_tool";
18
+ server: string;
19
+ tool: string;
20
+ input: {
21
+ [key in string]?: JsonValue;
22
+ };
23
+ timeoutSec: bigint | null;
24
+ statusMessage: string | null;
15
25
  } | {
16
26
  "type": "prompt";
17
27
  } | {
@@ -0,0 +1 @@
1
+ export type DesktopOnboardingEntrypoint = "life_sciences";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=DesktopOnboardingEntrypoint.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DesktopOnboardingEntrypoint.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/DesktopOnboardingEntrypoint.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -1,4 +1,6 @@
1
1
  import type { ExternalAgentConfigMigrationItem } from "./ExternalAgentConfigMigrationItem";
2
+ import type { ExternalAgentDetectedConnectorCandidate } from "./ExternalAgentDetectedConnectorCandidate";
2
3
  export type ExternalAgentConfigDetectResponse = {
3
4
  items: Array<ExternalAgentConfigMigrationItem>;
5
+ connectors: Array<ExternalAgentDetectedConnectorCandidate>;
4
6
  };
@@ -1,4 +1,4 @@
1
- import type { ExternalAgentConfigImportTypeResult } from "./ExternalAgentConfigImportTypeResult";
1
+ import type { ExternalAgentConfigImportHistoryRecordTypeResultParams } from "./ExternalAgentConfigImportHistoryRecordTypeResultParams";
2
2
  export type ExternalAgentConfigImportHistoryRecordParams = {
3
3
  /**
4
4
  * Opaque provider identifier for the externally completed import.
@@ -7,5 +7,5 @@ export type ExternalAgentConfigImportHistoryRecordParams = {
7
7
  /**
8
8
  * Completed results grouped by imported item type.
9
9
  */
10
- itemTypeResults: Array<ExternalAgentConfigImportTypeResult>;
10
+ itemTypeResults: Array<ExternalAgentConfigImportHistoryRecordTypeResultParams>;
11
11
  };
@@ -0,0 +1,11 @@
1
+ import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType";
2
+ export type ExternalAgentConfigImportHistoryRecordSuccessParams = {
3
+ itemType: ExternalAgentConfigMigrationItemType;
4
+ cwd: string | null;
5
+ source: string | null;
6
+ target: string | null;
7
+ /**
8
+ * Original title for an imported session, when available.
9
+ */
10
+ title?: string | null;
11
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=ExternalAgentConfigImportHistoryRecordSuccessParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalAgentConfigImportHistoryRecordSuccessParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ExternalAgentConfigImportHistoryRecordSuccessParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,8 @@
1
+ import type { ExternalAgentConfigImportHistoryRecordSuccessParams } from "./ExternalAgentConfigImportHistoryRecordSuccessParams";
2
+ import type { ExternalAgentConfigImportItemTypeFailure } from "./ExternalAgentConfigImportItemTypeFailure";
3
+ import type { ExternalAgentConfigMigrationItemType } from "./ExternalAgentConfigMigrationItemType";
4
+ export type ExternalAgentConfigImportHistoryRecordTypeResultParams = {
5
+ itemType: ExternalAgentConfigMigrationItemType;
6
+ successes: Array<ExternalAgentConfigImportHistoryRecordSuccessParams>;
7
+ failures: Array<ExternalAgentConfigImportItemTypeFailure>;
8
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=ExternalAgentConfigImportHistoryRecordTypeResultParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalAgentConfigImportHistoryRecordTypeResultParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ExternalAgentConfigImportHistoryRecordTypeResultParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -4,4 +4,8 @@ export type ExternalAgentConfigImportItemTypeSuccess = {
4
4
  cwd: string | null;
5
5
  source: string | null;
6
6
  target: string | null;
7
+ /**
8
+ * Original title for an imported session; null for other item types.
9
+ */
10
+ title: string | null;
7
11
  };
@@ -0,0 +1,6 @@
1
+ import type { ExternalAgentDetectedConnectorSource } from "./ExternalAgentDetectedConnectorSource";
2
+ export type ExternalAgentDetectedConnectorCandidate = {
3
+ name: string;
4
+ sessionCount: number;
5
+ source: ExternalAgentDetectedConnectorSource;
6
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=ExternalAgentDetectedConnectorCandidate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalAgentDetectedConnectorCandidate.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ExternalAgentDetectedConnectorCandidate.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1 @@
1
+ export type ExternalAgentDetectedConnectorSource = "remoteMcpServersConfig" | "sessionToolUse";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=ExternalAgentDetectedConnectorSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ExternalAgentDetectedConnectorSource.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/ExternalAgentDetectedConnectorSource.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -0,0 +1,6 @@
1
+ export type GetAccountTokenUsageParams = {
2
+ /**
3
+ * When present, read estimated usage for this thread instead of account-wide token activity.
4
+ */
5
+ threadId?: string | null;
6
+ };
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=GetAccountTokenUsageParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetAccountTokenUsageParams.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/GetAccountTokenUsageParams.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -1,6 +1,11 @@
1
1
  import type { AccountTokenUsageDailyBucket } from "./AccountTokenUsageDailyBucket";
2
2
  import type { AccountTokenUsageSummary } from "./AccountTokenUsageSummary";
3
+ import type { ThreadUsage } from "./ThreadUsage";
3
4
  export type GetAccountTokenUsageResponse = {
4
5
  summary: AccountTokenUsageSummary;
5
6
  dailyUsageBuckets: Array<AccountTokenUsageDailyBucket> | null;
7
+ /**
8
+ * Estimated usage when a thread was requested and its billing route is available.
9
+ */
10
+ threadUsage?: ThreadUsage | null;
6
11
  };
@@ -1 +1 @@
1
- export type HookHandlerType = "command" | "prompt" | "agent";
1
+ export type HookHandlerType = "command" | "mcpTool" | "prompt" | "agent";
@@ -1,14 +1,11 @@
1
1
  import type { AbsolutePathBuf } from "../AbsolutePathBuf";
2
2
  import type { HookEventName } from "./HookEventName";
3
- import type { HookHandlerType } from "./HookHandlerType";
4
3
  import type { HookSource } from "./HookSource";
5
4
  import type { HookTrustStatus } from "./HookTrustStatus";
6
5
  export type HookMetadata = {
7
6
  key: string;
8
7
  eventName: HookEventName;
9
- handlerType: HookHandlerType;
10
8
  matcher: string | null;
11
- command: string | null;
12
9
  timeoutSec: bigint;
13
10
  statusMessage: string | null;
14
11
  /**
@@ -24,4 +21,16 @@ export type HookMetadata = {
24
21
  isManaged: boolean;
25
22
  currentHash: string;
26
23
  trustStatus: HookTrustStatus;
27
- };
24
+ } & ({
25
+ "handlerType": "command";
26
+ command: string;
27
+ async: boolean;
28
+ } | {
29
+ "handlerType": "mcpTool";
30
+ server: string;
31
+ tool: string;
32
+ } | {
33
+ "handlerType": "prompt";
34
+ } | {
35
+ "handlerType": "agent";
36
+ });
@@ -1 +1 @@
1
- export type McpAuthStatus = "unsupported" | "notLoggedIn" | "bearerToken" | "oAuth";
1
+ export type McpAuthStatus = "unknown" | "unsupported" | "notLoggedIn" | "bearerToken" | "oAuth";
@@ -1,5 +1,10 @@
1
1
  export type McpResourceReadParams = {
2
2
  threadId?: string | null;
3
+ /**
4
+ * Originating MCP tool call used to select the resource's app.
5
+ */
6
+ originCallId?: string | null;
3
7
  server: string;
4
8
  uri: string;
9
+ connectorId?: string | null;
5
10
  };
@@ -1,4 +1,8 @@
1
1
  import type { ResourceContent } from "../ResourceContent";
2
2
  export type McpResourceReadResponse = {
3
3
  contents: Array<ResourceContent>;
4
+ /**
5
+ * Originating call when the server applied app-specific resource scoping.
6
+ */
7
+ originCallId: string | null;
4
8
  };
@@ -0,0 +1 @@
1
+ export type McpServerOauthClientRegistration = "auto" | "cimd" | "dcr";
@@ -0,0 +1,3 @@
1
+ // GENERATED CODE! DO NOT MODIFY BY HAND!
2
+ export {};
3
+ //# sourceMappingURL=McpServerOauthClientRegistration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"McpServerOauthClientRegistration.js","sourceRoot":"","sources":["../../../../src/codex/generated/v2/McpServerOauthClientRegistration.ts"],"names":[],"mappings":"AAAA,yCAAyC"}
@@ -1,6 +1,11 @@
1
+ import type { McpServerOauthClientRegistration } from "./McpServerOauthClientRegistration";
1
2
  export type McpServerOauthLoginParams = {
2
3
  name: string;
3
4
  threadId?: string | null;
5
+ /**
6
+ * Registration strategy for this login only; omission selects automatic discovery.
7
+ */
8
+ clientRegistration?: McpServerOauthClientRegistration | null;
4
9
  scopes?: Array<string> | null;
5
10
  timeoutSecs?: bigint | null;
6
11
  };
@@ -5,6 +5,7 @@ import type { Tool } from "../Tool";
5
5
  import type { McpAuthStatus } from "./McpAuthStatus";
6
6
  export type McpServerStatus = {
7
7
  name: string;
8
+ pluginId: string | null;
8
9
  serverInfo: McpServerInfo | null;
9
10
  tools: {
10
11
  [key in string]?: Tool;
@@ -3,6 +3,7 @@ import type { ReasoningEffort } from "../ReasoningEffort";
3
3
  import type { ModelAvailabilityNux } from "./ModelAvailabilityNux";
4
4
  import type { ModelServiceTier } from "./ModelServiceTier";
5
5
  import type { ModelUpgradeInfo } from "./ModelUpgradeInfo";
6
+ import type { MultiAgentVersion } from "./MultiAgentVersion";
6
7
  import type { ReasoningEffortOption } from "./ReasoningEffortOption";
7
8
  export type Model = {
8
9
  id: string;
@@ -12,11 +13,16 @@ export type Model = {
12
13
  availabilityNux: ModelAvailabilityNux | null;
13
14
  displayName: string;
14
15
  description: string;
16
+ modelSpecialty: string | null;
15
17
  hidden: boolean;
16
18
  supportedReasoningEfforts: Array<ReasoningEffortOption>;
17
19
  defaultReasoningEffort: ReasoningEffort;
18
20
  inputModalities: Array<InputModality>;
19
21
  supportsPersonality: boolean;
22
+ /**
23
+ * Multi-agent runtime declared by this model, when available.
24
+ */
25
+ multiAgentVersion: MultiAgentVersion | null;
20
26
  /**
21
27
  * Deprecated: use `serviceTiers` instead.
22
28
  */