Files
airship/packages/core
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
..