2026-02-16 13:31:35 -06:00
|
|
|
{
|
|
|
|
|
"name": "paperclip",
|
|
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
|
|
|
|
"scripts": {
|
2026-02-18 11:45:43 -06:00
|
|
|
"dev": "PAPERCLIP_UI_DEV_MIDDLEWARE=true pnpm --filter @paperclip/server dev",
|
Implement agent hiring, approval workflows, config revisions, LLM reflection, and sidebar badges
Agent management: hire endpoint with permission gates and pending_approval status,
config revision tracking with rollback, agent duplicate route, permission CRUD.
Block pending_approval agents from auth, heartbeat, and assignments.
Approvals: revision request/resubmit flow, approval comments CRUD, issue-approval
linking, auto-wake agents on approval decisions with context snapshot.
Costs: per-agent breakdown, period filtering (month/week/day/all), cost by agent
list endpoint.
Adapters: agentConfigurationDoc on all adapters, /llms/agent-configuration.txt
reflection routes. Inject PAPERCLIP_APPROVAL_ID, PAPERCLIP_APPROVAL_STATUS,
PAPERCLIP_LINKED_ISSUE_IDS into adapter environments.
Sidebar badges endpoint for pending approval/inbox counts. Dashboard and company
settings extensions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 13:02:41 -06:00
|
|
|
"dev:watch": "PAPERCLIP_UI_DEV_MIDDLEWARE=true PAPERCLIP_MIGRATION_PROMPT=never pnpm --filter @paperclip/server dev:watch",
|
2026-02-16 13:31:35 -06:00
|
|
|
"dev:server": "pnpm --filter @paperclip/server dev",
|
|
|
|
|
"dev:ui": "pnpm --filter @paperclip/ui dev",
|
|
|
|
|
"build": "pnpm -r build",
|
|
|
|
|
"typecheck": "pnpm -r typecheck",
|
|
|
|
|
"test": "vitest",
|
|
|
|
|
"test:run": "vitest run",
|
|
|
|
|
"db:generate": "pnpm --filter @paperclip/db generate",
|
2026-02-17 13:39:47 -06:00
|
|
|
"db:migrate": "pnpm --filter @paperclip/db migrate",
|
2026-02-19 13:11:26 -06:00
|
|
|
"db:backup": "./scripts/backup-db.sh",
|
2026-02-18 13:02:12 -06:00
|
|
|
"paperclip": "node cli/node_modules/tsx/dist/cli.mjs cli/src/index.ts"
|
2026-02-16 13:31:35 -06:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"typescript": "^5.7.3",
|
|
|
|
|
"vitest": "^3.0.5"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": ">=20"
|
|
|
|
|
},
|
|
|
|
|
"packageManager": "pnpm@9.15.4"
|
|
|
|
|
}
|