Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: : Cannot set permission mode to bypassPermissions because the session was not launched with --dangerously-skip-permissions #1818

Closedtorarnv(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

Open first project, wrote first prompt, got:

Provider turn start failed - ProviderAdapterRequestError: Provider adapter request failed (claudeAgent) for turn/setPermissionMode: Cannot set permission mode to bypassPermissions because the session was not launched with --dangerously-skip-permissions at toRequestError$1 (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/index.mjs:12166:9) at catch (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/index.mjs:13608:22) at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/internal/effect.js:695:103 at ~effect/Utils/internal (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/Utils.js:69:12) at file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/effect/dist/internal/effect.js:695:84 at process.processTicksAndRejections (node:internal/process/task_queues:103:5) at sendTurn (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/apps/server/dist/index.mjs:16046:38) at sendTurn (definition) (Alpha) { [cause]: Error: Cannot set permission mode to bypassPermissions because the session was not launched with --dangerously-skip-permissions at Object.handler (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs:60:4087) at lX.readMessages (file:///Applications/T3%20Code%20(Alpha).app/Contents/Resources/app.asar/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs:58:13389) at process.processTicksAndRejections (node:internal/process/task_queues:103:5) }

Expected behavior

All working

Actual behavior

Error

Impact

Blocks work completely

Version or commit

No response

Environment

No response

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

  1. torarnv(GitHub profile, opens in a new tab) added labelsneeds-triage

  2. It's the same for me. I'm creating a fix and regression test for it.

  3. maria-rcks closed this

Sign in to join this conversation.