Skip to content

fix: add Monitor permission and auto defaultMode to settings schema - #369

Merged
nhorton merged 2 commits into
mainfrom
settings-json-schema-update
Apr 13, 2026
Merged

fix: add Monitor permission and auto defaultMode to settings schema#369
nhorton merged 2 commits into
mainfrom
settings-json-schema-update

Conversation

@nhorton

@nhorton nhorton commented Apr 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added Monitor to the permissionRule pattern — it's now a valid tool permission type for streaming events from background scripts
  • Added "auto" to the defaultMode enum with description — auto-approves tool calls with background safety checks
  • Updated vendored schema sync date to 2026-04-13

Test plan

  • JSON schema validates (python3 -c "import json; json.load(open(...))")
  • Verify Monitor permission rules are accepted by Claude Code settings validation
  • Verify "auto" defaultMode is accepted without schema warnings

🤖 Generated with Claude Code

nhorton and others added 2 commits April 13, 2026 14:35
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Monitor is now a permissionable tool (for streaming background script
events) and "auto" is a valid defaultMode (auto-approves with background
safety checks). Both were missing from the vendored SchemaStore schema.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@nhorton
nhorton merged commit 4fc67d2 into main Apr 13, 2026
5 checks passed
@nhorton
nhorton deleted the settings-json-schema-update branch April 13, 2026 21:52
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