Skip to content

Add a read-only/no-tools mode, cycled via command mode - #490

Open
shellicar wants to merge 2 commits into
mainfrom
feature/read-only-mode
Open

Add a read-only/no-tools mode, cycled via command mode#490
shellicar wants to merge 2 commits into
mainfrom
feature/read-only-mode

Conversation

@shellicar

Copy link
Copy Markdown
Owner

Summary

  • A new command-mode key (o) cycles a session mode: normal, read-only, no-tools.
  • Read-only offers only tools with no write/delete/escalate effect; no-tools offers none. A narrowed tool is absent from the model's tool list, not denied after being offered.
  • The model is told when its available tools change, as a persisted reminder distinct from the read/delete/escalate/write scope.
  • The status line shows the active mode when it isn't normal.
  • Two tools (Ref, and the history search/read tools) are reclassified as having no filesystem effect, so read-only mode still allows them.

@shellicar shellicar added enhancement New feature or request pkg: claude-sdk The agent SDK pkg: claude-sdk-tools The SDK tools package pkg: claude-sdk-cli The new SDK-based CLI labels Jul 28, 2026
@shellicar
shellicar requested a review from bananabot9000 July 28, 2026 13:32
@shellicar shellicar self-assigned this Jul 28, 2026
@shellicar shellicar added this to the 1.0 milestone Jul 28, 2026
@shellicar
shellicar marked this pull request as ready for review July 28, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pkg: claude-sdk The agent SDK pkg: claude-sdk-cli The new SDK-based CLI pkg: claude-sdk-tools The SDK tools package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant