* test(#2697): failing-first regression for context-monitor spawn not hoisted behind toggle * fix(#2697): skip the context-monitor spawn in-process when context_warnings disabled * test(#2697): patch spawnSync before require (plugin destructures at load time) * test(#2697): establish session before asserting on context-monitor spawn (review) * docs(changeset): #2697 context-monitor spawn skipped when context_warnings disabled * docs(changeset): backfill #2697 PR number to 2824
467 B
467 B
type, pr
| type | pr |
|---|---|
| Fixed | 2824 |
OpenCode/Kilo no longer spawn the context-monitor subprocess on every tool call when context warnings are disabled — the adapter now reads the existing hooks.context_warnings toggle in-process and skips the child-process spawn entirely when it is set to false, instead of paying a Node boot per tool call only to read the flag and exit inside the child. Behavior is unchanged when the toggle is absent or enabled (the default).