2026-02-16 13:31:58 -06:00
|
|
|
{
|
2026-03-03 08:45:26 -06:00
|
|
|
"name": "@paperclipai/server",
|
2026-03-03 15:10:25 -06:00
|
|
|
"version": "0.2.2",
|
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": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
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",
|
|
|
|
|
"dev:watch": "PAPERCLIP_MIGRATION_PROMPT=never tsx watch --ignore ../ui/node_modules --ignore ../ui/.vite --ignore ../ui/dist src/index.ts",
|
2026-02-16 13:31:58 -06:00
|
|
|
"build": "tsc",
|
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",
|
|
|
|
|
"typecheck": "tsc --noEmit"
|
|
|
|
|
},
|
|
|
|
|
"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:*",
|
|
|
|
|
"@paperclipai/adapter-openclaw": "workspace:*",
|
|
|
|
|
"@paperclipai/adapter-utils": "workspace:*",
|
|
|
|
|
"@paperclipai/db": "workspace:*",
|
|
|
|
|
"@paperclipai/shared": "workspace:*",
|
feat: add auth/access foundation - deps, DB schema, shared types, and config
Add Better Auth, drizzle-orm, @dnd-kit, and remark-gfm dependencies.
Introduce DB schema for auth tables (user, session, account, verification),
company memberships, instance user roles, permission grants, invites, and
join requests. Add assigneeUserId to issues. Extend shared config schema
with deployment mode/exposure/auth settings, add access types and validators,
and wire up new API path constants.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 14:40:16 -06:00
|
|
|
"better-auth": "^1.3.8",
|
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",
|
|
|
|
|
"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"
|
|
|
|
|
},
|
2026-02-18 11:45:43 -06:00
|
|
|
"optionalDependencies": {
|
|
|
|
|
"embedded-postgres": "^18.1.0-beta.16"
|
|
|
|
|
},
|
2026-02-16 13:31:58 -06:00
|
|
|
"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-02-16 13:31:58 -06:00
|
|
|
"@types/supertest": "^6.0.2",
|
|
|
|
|
"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"
|
|
|
|
|
}
|
|
|
|
|
}
|