mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 03:30:39 +09:00
Move adapter implementations into shared workspace packages
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>
This commit is contained in:
parent
47ccd946b6
commit
631c859b89
49 changed files with 656 additions and 381 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import type { UIAdapterModule } from "../types";
|
||||
import { parseCodexStdoutLine } from "./parse-stdout";
|
||||
import { parseCodexStdoutLine } from "@paperclip/adapter-codex-local/ui";
|
||||
import { CodexLocalConfigFields } from "./config-fields";
|
||||
import { buildCodexLocalConfig } from "./build-config";
|
||||
import { buildCodexLocalConfig } from "@paperclip/adapter-codex-local/ui";
|
||||
|
||||
export const codexLocalUIAdapter: UIAdapterModule = {
|
||||
type: "codex_local",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue