Skip to content

Support full-access profile for websocket transport#86

Open
Yehonal wants to merge 1 commit into
pwrdrvr:mainfrom
Yehonal:feat/websocket-full-access-profile
Open

Support full-access profile for websocket transport#86
Yehonal wants to merge 1 commit into
pwrdrvr:mainfrom
Yehonal:feat/websocket-full-access-profile

Conversation

@Yehonal
Copy link
Copy Markdown

@Yehonal Yehonal commented Apr 7, 2026

Summary

  • allow the plugin to expose a full-access profile when using websocket transport
  • keep the existing stdio behavior unchanged

Why

Today buildFullAccessPluginSettings() returns null for any non-stdio transport. That means websocket-backed deployments can never switch a bound thread into Full Access / YOLO mode, even when the remote Codex app-server is intentionally configured for full access.

In our deployment this blocked /cas_status --yolo entirely for websocket mode, despite the remote Codex app-server already running with:

  • approval_policy=never
  • sandbox_mode=danger-full-access

What this changes

For transport === "websocket", reuse the same plugin settings to create the additional full-access profile instead of returning null.

This is intentionally minimal:

  • no change to stdio handling
  • no change to defaults
  • websocket full-access remains opt-in in practice, because the remote server must still actually be configured to run that way

Notes

This PR only addresses profile availability in the plugin. It does not try to solve unrelated MCP/auth issues in remote environments.

@Yehonal
Copy link
Copy Markdown
Author

Yehonal commented Apr 12, 2026

@huntharo

@Yehonal Yehonal force-pushed the feat/websocket-full-access-profile branch from 70abd87 to f336d73 Compare April 21, 2026 17:32
@Yehonal Yehonal force-pushed the feat/websocket-full-access-profile branch from f336d73 to b3a0c3b Compare April 24, 2026 14:03
@Yehonal
Copy link
Copy Markdown
Author

Yehonal commented Apr 30, 2026

Superseded by integration/yehonal-cas-stack reconciliation; closing this PR to avoid duplicate history.

@Yehonal Yehonal closed this Apr 30, 2026
@Yehonal Yehonal deleted the feat/websocket-full-access-profile branch April 30, 2026 05:49
@Yehonal Yehonal restored the feat/websocket-full-access-profile branch April 30, 2026 15:53
@Yehonal Yehonal reopened this Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant