co-mono/packages/coding-agent/src/core/extensions
Kao Félix 6a3d6fe944
feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351)
Add pasteToEditor(text) method that pastes text into the editor via
bracketed paste sequences, triggering paste handling (including collapse
for large content). Unlike setEditorText which directly replaces content,
pasteToEditor routes through handleInput on the active editor component.

- Add pasteToEditor to ExtensionUIContext interface
- Add handleInput to EditorComponent interface (was missing, all
  concrete implementations already had it)
- Implement in interactive mode via bracketed paste sequence
- Add fallback in RPC mode (delegates to setEditorText)
- Document in extensions.md
2026-02-07 15:55:08 +01:00
..
index.ts feat(coding-agent): add ExtensionAPI.getCommands() 2026-02-03 12:18:52 +01:00
loader.ts feat(coding-agent): add ExtensionAPI.getCommands() 2026-02-03 12:18:52 +01:00
runner.ts feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351) 2026-02-07 15:55:08 +01:00
types.ts feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351) 2026-02-07 15:55:08 +01:00
wrapper.ts fix(coding-agent): chain tool_result extension patches 2026-02-06 11:49:08 +01:00