Files
opencode-manager/package.json
T
Chris Scott 617962f2dd feat: directory files upload system, deferred restart model, cache invalidation consolidation, and misc improvements (#281)
* feat: show variant label on model picker and add folder upload for agents/commands

- Replace three-dot variant menu trigger with selected variant label
- Add POST /api/settings/opencode-directory-files/install endpoint
- Upload agents/commands markdown folders into .config/opencode/{agents,commands}/
- Reload OpenCode server after upload so files are picked up

* fix: revalidate branch/git caches when mobile sheet opens and on vcs.branch.updated SSE

- add shared invalidateRepoGitCaches() helper for consistent invalidation
- revalidate repo list when mobile repo quick-switch sheet opens
- revalidate current repo when mobile More drawer opens
- revalidate repo/git caches when Source Control dialog opens
- handle vcs.branch.updated SSE event with optimistic cache update
- use helper in branch create/switch mutations in useGit and BranchesTab

* style: make variant selector look more like a button with chevron and compact sizing

* refactor: consolidate settings editors, add folder upload support, and clean up unused code

* refactor: consolidate settings editors, add folder upload support, and clean up unused code

* feat: add opencode-directory-files listing service and consolidate settings editors

* fix: distinguish scroll from tap in suggestion popups on touch devices

* refactor: consolidate settings editors and add DirectoryFilesList component

* refactor: target repo status cache updates only to affected batch entries

* refactor: streamline settings, git hooks, and query invalidation logic
2026-06-20 00:40:36 -04:00

45 lines
1.9 KiB
JSON

{
"name": "opencode-manager",
"version": "0.14.0",
"private": false,
"type": "module",
"packageManager": "pnpm@10.28.1",
"scripts": {
"predev": "bash scripts/setup-dev.sh",
"dev": "concurrently \"pnpm:dev:backend\" \"pnpm:dev:frontend\"",
"dev:backend": "NODE_ENV=development bun --watch backend/src/index.ts",
"dev:frontend": "pnpm --filter frontend dev",
"start": "concurrently \"pnpm:start:backend\" \"pnpm:start:frontend\"",
"start:backend": "bun run backend/dist/index.js",
"start:frontend": "pnpm --filter frontend preview",
"build": "pnpm run build:backend && pnpm run build:frontend",
"build:backend": "pnpm --filter backend build",
"build:frontend": "pnpm --filter frontend build",
"typecheck": "pnpm run typecheck:frontend && pnpm run typecheck:backend",
"typecheck:frontend": "pnpm --filter frontend typecheck",
"typecheck:backend": "pnpm --filter backend typecheck",
"test": "pnpm run test:backend && pnpm run test:frontend",
"test:frontend": "pnpm --filter frontend exec vitest run",
"test:backend": "pnpm --filter backend run test",
"lint": "pnpm run lint:frontend && pnpm run lint:backend",
"lint:frontend": "pnpm --filter frontend lint",
"lint:backend": "pnpm --filter backend lint",
"lint:fix": "pnpm run lint:frontend -- --fix && pnpm run lint:backend -- --fix",
"generate:openapi": "bun scripts/generate-openapi.ts",
"test:cli": "pnpm --filter @opencode-manager/ocm-cli test",
"typecheck:cli": "pnpm --filter @opencode-manager/ocm-cli typecheck",
"docker:build": "docker-compose build",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down -v",
"docker:logs": "docker-compose logs -f",
"docker:restart": "docker-compose restart"
},
"devDependencies": {
"concurrently": "^9.1.0"
},
"dependencies": {
"@radix-ui/react-tooltip": "^1.2.8",
"class-variance-authority": "^0.7.1"
}
}