Files
opencode-manager/backend/package.json
T
Chris Scott b9236f7f20 feat(worktree): worktree tabs, server env vars, and multi-directory SSE (#240)
* loop: worktree-tabs-2 completed after 4 iterations

* loop: server-env-vars completed after 7 iterations

* feat(worktree): add worktree tabs and server env vars settings

* refactor(worktree): multi-directory SSE support and workspace chip row

* feat(workspace): collapsible workspace manager and sibling filtering

* feat(workspace): workspace creation endpoint, refactored workspace manager, and tests

* refactor(frontend): unify workspace label and remove dead code

- extract shared workspaceLabel helper into api/repos and reuse in
  WorkspaceManager and RepoDetail directoryLabels
- remove unused useSessions hook and subscribeToDirectory subscription
- drop redundant frontend workspace dedup now guaranteed by backend
- align WorktreeTabs empty-state test with create-workspace button
2026-05-30 19:44:07 -04:00

50 lines
1.7 KiB
JSON

{
"name": "backend",
"module": "index.ts",
"type": "module",
"private": true,
"scripts": {
"dev": "bun --watch-path src --watch src/index.ts",
"start": "bun src/index.ts",
"build": "bun build src/index.ts --outdir=dist --target=bun",
"typecheck": "tsc --noEmit",
"test": "pnpm run test:bun && pnpm run test:vitest",
"test:bun": "bun test test/services/assistant-mode.test.ts test/services/internal-token.test.ts test/auth/internal-token-middleware.test.ts test/routes/internal-schedules.test.ts test/routes/internal-notifications.test.ts test/routes/internal-settings.test.ts test/routes/internal-repos.test.ts src/db/model-state.test.ts src/routes/providers.test.ts src/routes/repos.test.ts",
"test:vitest": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest --watch",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix"
},
"dependencies": {
"@better-auth/passkey": "^1.4.17",
"@hono/node-server": "^1.19.5",
"@opencode-manager/shared": "workspace:*",
"archiver": "^7.0.1",
"better-auth": "^1.4.17",
"croner": "^10.0.1",
"eventsource": "^4.1.0",
"hono": "^4.11.7",
"jsonc-parser": "^3.3.1",
"web-push": "^3.6.7",
"zod": "^4.1.12"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@types/archiver": "^7.0.0",
"@types/better-sqlite3": "^7.6.13",
"@types/bun": "latest",
"@types/eventsource": "^3.0.0",
"@types/web-push": "^3.6.4",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"better-sqlite3": "^12.9.0",
"eslint": "^9.39.1",
"typescript-eslint": "^8.45.0",
"vitest": "^3.2.4"
},
"peerDependencies": {
"typescript": "^5"
}
}