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>
30 lines
696 B
JSON
30 lines
696 B
JSON
{
|
|
"name": "@paperclip/cli",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"bin": {
|
|
"paperclip": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"dev": "tsx src/index.ts",
|
|
"build": "tsc",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@clack/prompts": "^0.10.0",
|
|
"@paperclip/adapter-claude-local": "workspace:*",
|
|
"@paperclip/adapter-codex-local": "workspace:*",
|
|
"@paperclip/adapter-utils": "workspace:*",
|
|
"@paperclip/db": "workspace:*",
|
|
"@paperclip/shared": "workspace:*",
|
|
"commander": "^13.1.0",
|
|
"picocolors": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.12.0",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|