{"version":"2.1.269","anchor":"new-hidden-cli-subcommands-for-the-vs-code-extension-to-edit","canonical_anchor":"new-hidden-cli-subcommands-for-the-vs-code-extension-to-edit","heading":"New hidden CLI subcommands for the VS Code extension to edit hooks, permission rules and memory settings","tier":"internal","area":"VS Code Extension","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269\/e\/new-hidden-cli-subcommands-for-the-vs-code-extension-to-edit","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.269","markdown":"### New hidden CLI subcommands for the VS Code extension to edit hooks, permission rules and memory settings\n\nThree new hidden commands let the VS Code extension edit hooks, permission rules and memory settings\n\n**What**\n\nThree new hidden CLI subcommands were added: `edit-hook`, `edit-permission-rules`, and `edit-memory-settings`. Each reads a single edit, formatted as JSON, from standard input and applies it. They are described as being used internally by the VS Code extension rather than something you'd run yourself from a terminal.\n\n**Why**\n\nThis gives the VS Code extension a direct way to change hooks (scripts that run automatically at certain points), permission rules, and memory settings without going through the interactive CLI, which supports editing these settings from within the editor.\n\n- Area: VS Code Extension\n- Names: `edit-hook`, `edit-permission-rules`, `edit-memory-settings`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5"}