Nayan 3124d02b48 feat(core): add the claude backend on the agent sdk
Leans on the Agent SDK rather than hand-rolling a subprocess, which buys most of
this adapter outright:

- query() streaming-input loop — typed SDKMessages, native image input, cancel
  through an AbortController
- includePartialMessages — token-level streaming into the overlay
- PreToolUse hooks — robust before/after diff capture at the point of the write
- createSdkMcpServer + tool() — a get_element_context tool exposing the selection
- outputFormat with a JSON schema — a typed { summary, filesChanged, followUps }
- enableFileCheckpointing + rewindFiles — native undo
2026-07-30 09:24:00 +05:30
S
Description
No description provided
MIT
6.2 MiB
Languages
TypeScript 93.9%
CSS 3%
JavaScript 2.3%
Shell 0.5%
Makefile 0.3%