Skip to content

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

@torarnv

Description

@torarnv

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions