{"name":"setMode","slug":"setmode","family":"setting","title":"Settings keys","noun":"settings key","description":"Prompt text, cursor and paste state now live in one shared object; nothing changes for you.","description_source":"entry","described_by":{"version":"2.1.246","anchor":"prompt-input-state-moved-behind-one-shared-draft-object"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.283","builds":0,"mined_builds":126,"first_cited":{"version":"2.1.110","released_at":"2026-04-15 20:40:53","spans":3}},"aliases":[],"entries":[{"version":"2.1.281","anchor":"sdk-permission-responses-can-switch-the-session-mode","heading":"SDK permission responses can switch the session mode","line":"Programs using the SDK can now change the session's permission mode when they allow a tool","released_at":"2026-09-23 17:01:17","reason":"named in this entry, found in this entry's text"},{"version":"2.1.246","anchor":"prompt-input-state-moved-behind-one-shared-draft-object","heading":"Prompt input state moved behind one shared draft object","line":"Prompt text, cursor and paste state now live in one shared object; nothing changes for you.","released_at":"2026-08-25 19:17:34","reason":"found in this entry's text"},{"version":"2.1.163","anchor":"bug-fixes","heading":"","line":null,"released_at":"2026-06-04 17:56:01","reason":"found in this entry's text"},{"version":"2.1.110","anchor":"bypasspermissions-mode-scoping","heading":"bypassPermissions Mode Scoping","line":null,"released_at":"2026-04-15 20:40:53","reason":"found in this entry's text"},{"version":"1.0.93","anchor":"permission-mode-persistence","heading":"Permission Mode Persistence","line":null,"released_at":"2025-08-26 22:22:24","reason":"found in this entry's text"}],"entries_total":5,"docs":[{"source":"api","path":"build-with-claude\/mid-conversation-effort-example","title":"mid-conversation-effort-example","documented":false},{"source":"claude-code","path":"agent-sdk\/configuration","title":"Configure your agent","documented":false},{"source":"claude-code","path":"agent-sdk\/python","title":"Agent SDK reference - Python","documented":false},{"source":"claude-code","path":"agent-sdk\/typescript","title":"Agent SDK reference - TypeScript","documented":false},{"source":"claude-code","path":"hooks","title":"Hooks reference","documented":false},{"source":"claude-code","path":"hooks-guide","title":"Automate actions with hooks","documented":false},{"source":"claude-code","path":"model-config","title":"Model configuration","documented":false}],"docs_total":7,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/setmode","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}