2026-02-16 13:31:58 -06:00
|
|
|
{
|
2026-03-03 08:45:26 -06:00
|
|
|
"name": "@paperclipai/server",
|
2026-03-12 13:09:22 -05:00
|
|
|
"version": "0.3.1",
|
2026-02-16 13:31:58 -06:00
|
|
|
"type": "module",
|
2026-03-03 14:46:16 -06:00
|
|
|
"exports": {
|
|
|
|
|
".": "./src/index.ts"
|
|
|
|
|
},
|
|
|
|
|
"publishConfig": {
|
|
|
|
|
"access": "public",
|
|
|
|
|
"exports": {
|
|
|
|
|
".": {
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"import": "./dist/index.js"
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"main": "./dist/index.js",
|
|
|
|
|
"types": "./dist/index.d.ts"
|
|
|
|
|
},
|
|
|
|
|
"files": [
|
2026-03-03 15:45:45 -06:00
|
|
|
"dist",
|
2026-03-03 16:06:12 -06:00
|
|
|
"ui-dist",
|
|
|
|
|
"skills"
|
2026-03-03 14:46:16 -06:00
|
|
|
],
|
2026-02-16 13:31:58 -06:00
|
|
|
"scripts": {
|
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": "tsx src/index.ts",
|
2026-03-10 01:43:45 +09:00
|
|
|
"dev:watch": "cross-env PAPERCLIP_MIGRATION_PROMPT=never tsx watch --ignore ../ui/node_modules --ignore ../ui/.vite --ignore ../ui/dist src/index.ts",
|
2026-03-09 07:21:33 -05:00
|
|
|
"prepare:ui-dist": "bash ../scripts/prepare-server-ui-dist.sh",
|
2026-02-16 13:31:58 -06:00
|
|
|
"build": "tsc",
|
2026-03-09 07:21:33 -05:00
|
|
|
"prepack": "pnpm run prepare:ui-dist",
|
|
|
|
|
"postpack": "rm -rf ui-dist",
|
2026-03-03 14:46:16 -06:00
|
|
|
"clean": "rm -rf dist",
|
2026-02-16 13:31:58 -06:00
|
|
|
"start": "node dist/index.js",
|
2026-03-13 16:22:34 -05:00
|
|
|
"typecheck": "pnpm --filter @paperclipai/plugin-sdk build && tsc --noEmit"
|
2026-02-16 13:31:58 -06:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2026-03-03 11:22:18 -06:00
|
|
|
"@aws-sdk/client-s3": "^3.888.0",
|
2026-03-03 08:45:26 -06:00
|
|
|
"@paperclipai/adapter-claude-local": "workspace:*",
|
|
|
|
|
"@paperclipai/adapter-codex-local": "workspace:*",
|
2026-03-05 06:31:22 -06:00
|
|
|
"@paperclipai/adapter-cursor-local": "workspace:*",
|
2026-03-08 16:43:34 +05:30
|
|
|
"@paperclipai/adapter-gemini-local": "workspace:*",
|
2026-03-07 12:37:15 -05:00
|
|
|
"@paperclipai/adapter-openclaw-gateway": "workspace:*",
|
2026-03-04 16:48:54 -06:00
|
|
|
"@paperclipai/adapter-opencode-local": "workspace:*",
|
2026-03-06 18:29:38 -08:00
|
|
|
"@paperclipai/adapter-pi-local": "workspace:*",
|
2026-03-13 20:26:27 -07:00
|
|
|
"hermes-paperclip-adapter": "0.1.1",
|
2026-03-03 08:45:26 -06:00
|
|
|
"@paperclipai/adapter-utils": "workspace:*",
|
|
|
|
|
"@paperclipai/db": "workspace:*",
|
2026-03-13 16:22:34 -05:00
|
|
|
"@paperclipai/plugin-sdk": "workspace:*",
|
2026-03-03 08:45:26 -06:00
|
|
|
"@paperclipai/shared": "workspace:*",
|
2026-03-13 16:22:34 -05:00
|
|
|
"ajv": "^8.18.0",
|
|
|
|
|
"ajv-formats": "^3.0.1",
|
2026-03-04 10:02:23 -06:00
|
|
|
"better-auth": "1.4.18",
|
2026-03-14 12:07:04 -05:00
|
|
|
"chokidar": "^4.0.3",
|
2026-02-18 11:45:43 -06:00
|
|
|
"detect-port": "^2.1.0",
|
2026-02-19 09:09:40 -06:00
|
|
|
"dotenv": "^17.0.1",
|
2026-02-16 13:31:58 -06:00
|
|
|
"drizzle-orm": "^0.38.4",
|
2026-03-04 14:46:03 -06:00
|
|
|
"embedded-postgres": "^18.1.0-beta.16",
|
2026-02-16 13:31:58 -06:00
|
|
|
"express": "^5.1.0",
|
2026-02-20 10:31:56 -06:00
|
|
|
"multer": "^2.0.2",
|
2026-03-03 11:22:18 -06:00
|
|
|
"open": "^11.0.0",
|
2026-02-16 13:31:58 -06:00
|
|
|
"pino": "^9.6.0",
|
|
|
|
|
"pino-http": "^10.4.0",
|
2026-02-19 09:09:40 -06:00
|
|
|
"pino-pretty": "^13.1.3",
|
2026-02-17 12:24:43 -06:00
|
|
|
"ws": "^8.19.0",
|
2026-02-16 13:31:58 -06:00
|
|
|
"zod": "^3.24.2"
|
|
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/express": "^5.0.0",
|
|
|
|
|
"@types/express-serve-static-core": "^5.0.0",
|
2026-02-20 10:31:56 -06:00
|
|
|
"@types/multer": "^2.0.0",
|
2026-03-05 14:24:00 -03:00
|
|
|
"@types/node": "^24.6.0",
|
2026-02-16 13:31:58 -06:00
|
|
|
"@types/supertest": "^6.0.2",
|
2026-03-05 12:39:37 -03:00
|
|
|
"@types/ws": "^8.18.1",
|
2026-03-09 22:08:50 +09:00
|
|
|
"cross-env": "^10.1.0",
|
2026-02-16 13:31:58 -06:00
|
|
|
"supertest": "^7.0.0",
|
|
|
|
|
"tsx": "^4.19.2",
|
|
|
|
|
"typescript": "^5.7.3",
|
2026-02-18 11:45:43 -06:00
|
|
|
"vite": "^6.1.0",
|
2026-02-16 13:31:58 -06:00
|
|
|
"vitest": "^3.0.5"
|
|
|
|
|
}
|
|
|
|
|
}
|