- bundle CodeMirror 6 (+ langs/search) via scripts/build-editor.mjs into a generated TS module (inlined into the WebView; no remote code, no asset pipeline) - CodeEditor now renders CodeMirror 6 with line numbers, language modes and a search/replace panel exposed from a toolbar button - npm run build:editor; language mapping by file extension