mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 11:40:39 +09:00
Extract claude-local and codex-local adapter code from cli/server/ui into packages/adapters/ and packages/adapter-utils/. CLI, server, and UI now import shared adapter logic instead of duplicating it. Removes ~1100 lines of duplicated code across packages. Register new packages in pnpm workspace. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7 lines
237 B
TypeScript
7 lines
237 B
TypeScript
import type { CLIAdapterModule } from "@paperclip/adapter-utils";
|
|
import { printHttpStdoutEvent } from "./format-event.js";
|
|
|
|
export const httpCLIAdapter: CLIAdapterModule = {
|
|
type: "http",
|
|
formatStdoutEvent: printHttpStdoutEvent,
|
|
};
|