Skip to content

feat: add read-only plan mode - #696

Closed
Radiummm wants to merge 1 commit into
agegr:mainfrom
Radiummm:feat/plan-mode
Closed

feat: add read-only plan mode#696
Radiummm wants to merge 1 commit into
agegr:mainfrom
Radiummm:feat/plan-mode

Conversation

@Radiummm

@Radiummm Radiummm commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a built-in /plan extension and toolbar toggle
  • persist plan mode per session and restore the previous tool selection on exit
  • expose only known read-only exploration tools while planning
  • block direct shell commands and unknown extension tools from bypassing plan mode
  • add English, Simplified Chinese, and Traditional Chinese labels

Tests

  • node --experimental-strip-types --test lib/plan-mode-extension.test.mjs
  • node_modules/.bin/tsc --noEmit
  • npm run lint
  • npm test (846 passed)

@agegr

agegr commented Sep 5, 2026

Copy link
Copy Markdown
Owner

The existing read-only tool preset covers the main use case, so we are closing this PR to avoid adding a separate mode and state management. Any stricter read-only restrictions should build on the existing preset.

@agegr agegr closed this Sep 5, 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.

2 participants