Before submitting
Area
apps/desktop
Steps to reproduce
- start the app
- start the thread in project with codex
- 2-x message will produce this error and even on restart its not possible to continue so you loose the whole thread, i added pictures this time but it happends sometimes also without them
- can be that 2-x message was after 10 or more minutes
Expected behavior
Should just normally resume and accept the message
Actual behavior
just this error message:
ProviderAdapterProcessError: Provider adapter process error (codex) for thread 64b6d081-e1e7-4683-935a-b60023dcb538: Invalid thread/resume payload: Expected { readonly "type": "userMessage", ... } | { readonly "type": "hookPrompt", ... } | { readonly "type": "agentMessage", ... } | { readonly "type": "plan", ... } | {
Impact
Blocks work completely
Version or commit
0.0.27 (a3422a9)
Environment
macOS 15.7.3
Logs or stack traces
ProviderAdapterProcessError: Provider adapter process error (codex) for thread 64b6d081-e1e7-4683-935a-b60023dcb538: Invalid thread/resume payload: Expected { readonly "type": "userMessage", ... } | { readonly "type": "hookPrompt", ... } | { readonly "type": "agentMessage", ... } | { readonly "type": "plan", ... } | { readonly "type": "reasoning", ... } | { readonly "type": "commandExecution", ... } | { readonly "type": "fileChange", ... } | { readonly "type": "mcpToolCall", ... } | { readonly "type": "dynamicToolCall", ... } | { readonly "type": "collabAgentToolCall", ... } | { readonly "type": "webSearch", ... } | { readonly "type": "imageView", ... } | { readonly "type": "imageGeneration", ... } | { readonly "type": "enteredReviewMode", ... } | { readonly "type": "exitedReviewMode", ... } | { readonly "type": "contextCompaction", ... }, got {"type":"subAgentActivity","id":"xxx","kind":"started","agentThreadId":"019f3716-6175-73a1-82b8-84ca4514692b","agentPath":"/root/verify_qa_g_xx"} at ["thread"]["turns"][0]["items"][60] at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:53492:74 at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/internal/effect.js:1310:96 at ~effect/Utils/internal (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/Utils.js:79:12) at startSession (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:67696:59) at startSession (definition) (Alpha) at ensureSessionForThread (Alpha) at ensureSessionForThread (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:67633:40) at processTurnStartRequested (Alpha) at processTurnStartRequested (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:67862:43) at processDomainEvent (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:68051:46) at processDomainEvent (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:68019:36) { [cause]: CodexAppServerRequestError: Invalid thread/resume payload: Expected { readonly "type": "userMessage", ... } | { readonly "type": "hookPrompt", ... } | { readonly "type": "agentMessage", ... } | { readonly "type": "plan", ... } | { readonly "type": "reasoning", ... } | { readonly "type": "commandExecution", ... } | { readonly "type": "fileChange", ... } | { readonly "type": "mcpToolCall", ... } | { readonly "type": "dynamicToolCall", ... } | { readonly "type": "collabAgentToolCall", ... } | { readonly "type": "webSearch", ... } | { readonly "type": "imageView", ... } | { readonly "type": "imageGeneration", ... } | { readonly "type": "enteredReviewMode", ... } | { readonly "type": "exitedReviewMode", ... } | { readonly "type": "contextCompaction", ... }, got {"type":"subAgentActivity","id":"xxx","kind":"started","agentThreadId":"xxx","agentPath":"/root/verify_qa_g_xx"} at ["thread"]["turns"][0]["items"][60] at CodexAppServerRequestError.invalidParams (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:36139:10) at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:51184:108 at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/internal/effect.js:1310:96 at ~effect/Utils/internal (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/Utils.js:79:12) }
Screenshots, recordings, or supporting files
Screenshot 2026-07-06 at 15.52.22.png
Screenshot 2026-07-06 at 15.52.31.png
Workaround
copy the message and use the codex cli to continue works, so context is not completely lost
Before submitting
Area
apps/desktop
Steps to reproduce
Expected behavior
Should just normally resume and accept the message
Actual behavior
just this error message:
ProviderAdapterProcessError: Provider adapter process error (codex) for thread 64b6d081-e1e7-4683-935a-b60023dcb538: Invalid thread/resume payload: Expected { readonly "type": "userMessage", ... } | { readonly "type": "hookPrompt", ... } | { readonly "type": "agentMessage", ... } | { readonly "type": "plan", ... } | {
Impact
Blocks work completely
Version or commit
0.0.27 (a3422a9)
Environment
macOS 15.7.3
Logs or stack traces
ProviderAdapterProcessError: Provider adapter process error (codex) for thread 64b6d081-e1e7-4683-935a-b60023dcb538: Invalid thread/resume payload: Expected { readonly "type": "userMessage", ... } | { readonly "type": "hookPrompt", ... } | { readonly "type": "agentMessage", ... } | { readonly "type": "plan", ... } | { readonly "type": "reasoning", ... } | { readonly "type": "commandExecution", ... } | { readonly "type": "fileChange", ... } | { readonly "type": "mcpToolCall", ... } | { readonly "type": "dynamicToolCall", ... } | { readonly "type": "collabAgentToolCall", ... } | { readonly "type": "webSearch", ... } | { readonly "type": "imageView", ... } | { readonly "type": "imageGeneration", ... } | { readonly "type": "enteredReviewMode", ... } | { readonly "type": "exitedReviewMode", ... } | { readonly "type": "contextCompaction", ... }, got {"type":"subAgentActivity","id":"xxx","kind":"started","agentThreadId":"019f3716-6175-73a1-82b8-84ca4514692b","agentPath":"/root/verify_qa_g_xx"} at ["thread"]["turns"][0]["items"][60] at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:53492:74 at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/internal/effect.js:1310:96 at ~effect/Utils/internal (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/Utils.js:79:12) at startSession (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:67696:59) at startSession (definition) (Alpha) at ensureSessionForThread (Alpha) at ensureSessionForThread (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:67633:40) at processTurnStartRequested (Alpha) at processTurnStartRequested (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:67862:43) at processDomainEvent (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:68051:46) at processDomainEvent (definition) (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:68019:36) { [cause]: CodexAppServerRequestError: Invalid thread/resume payload: Expected { readonly "type": "userMessage", ... } | { readonly "type": "hookPrompt", ... } | { readonly "type": "agentMessage", ... } | { readonly "type": "plan", ... } | { readonly "type": "reasoning", ... } | { readonly "type": "commandExecution", ... } | { readonly "type": "fileChange", ... } | { readonly "type": "mcpToolCall", ... } | { readonly "type": "dynamicToolCall", ... } | { readonly "type": "collabAgentToolCall", ... } | { readonly "type": "webSearch", ... } | { readonly "type": "imageView", ... } | { readonly "type": "imageGeneration", ... } | { readonly "type": "enteredReviewMode", ... } | { readonly "type": "exitedReviewMode", ... } | { readonly "type": "contextCompaction", ... }, got {"type":"subAgentActivity","id":"xxx","kind":"started","agentThreadId":"xxx","agentPath":"/root/verify_qa_g_xx"} at ["thread"]["turns"][0]["items"][60] at CodexAppServerRequestError.invalidParams (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:36139:10) at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/bin.mjs:51184:108 at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/internal/effect.js:1310:96 at ~effect/Utils/internal (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/Utils.js:79:12) }Screenshots, recordings, or supporting files
Screenshot 2026-07-06 at 15.52.22.png
Screenshot 2026-07-06 at 15.52.31.png
Workaround
copy the message and use the codex cli to continue works, so context is not completely lost