(text)
| 83 | } |
| 84 | |
| 85 | function setCode(text) { |
| 86 | if (!editorView) return; |
| 87 | editorView.dispatch({ changes: { from: 0, to: editorView.state.doc.length, insert: text } }); |
| 88 | } |
| 89 | |
| 90 | // Allow optional external drivers (e.g., AI bridge) to read/write code or run queries. |
| 91 | const runQuery = (queryText) => { |
no outgoing calls
no test coverage detected