Files
openwork/apps/app/package.json
ben 7bb7e5241d chore(deps): pin opencode CLI + SDK to v1.4.9 (#1471)
* chore(deps): pin opencode CLI and SDK to v1.4.9

- Bump constants.json opencodeVersion v1.2.27 -> v1.4.9 (CI source of
  truth consumed by ci-tests, build-desktop, alpha/prerelease/release
  workflows, and opencode-agents).
- Bump @opencode-ai/sdk across app, story-book, orchestrator,
  opencode-router, server-v2, and refresh the lockfile so all workspaces
  resolve to 1.4.9.

* refactor(app): adapt to @opencode-ai/sdk 1.4.9 type changes

- Move Model.reasoning reads to Model.capabilities.reasoning in
  model-config.ts and model-behavior.ts (SDK flattened capabilities).
- Simplify utils/providers.ts to a pass-through; Provider now carries
  source/options and Model.cost reshapes to {input, output, cache,
  experimentalOver200K}, which the mapper no longer needs to translate.
- Cast session.todo() result to TodoItem[] (SDK Todo has no id).
- Update server-v2 test fixtures from 1.2.27 to 1.4.9.
2026-04-17 11:35:09 -07:00

87 lines
3.3 KiB
JSON

{
"name": "@openwork/app",
"private": true,
"version": "0.11.207",
"type": "module",
"scripts": {
"dev": "OPENWORK_DEV_MODE=1 vite",
"dev:windows": "vite",
"prebuild": "pnpm --dir ../../packages/ui build",
"build": "vite build",
"dev:web": "OPENWORK_DEV_MODE=1 vite",
"prebuild:web": "pnpm --dir ../../packages/ui build",
"build:web": "vite build",
"preview": "vite preview",
"pretypecheck": "pnpm --dir ../../packages/ui build",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test:health": "node scripts/health.mjs",
"test:mention-send": "node scripts/mention-send.mjs",
"test:sessions": "node scripts/sessions.mjs",
"test:refactor": "pnpm typecheck && pnpm test:health && pnpm test:sessions",
"test:events": "node scripts/events.mjs",
"test:todos": "node scripts/todos.mjs",
"test:permissions": "node scripts/permissions.mjs",
"test:dev-log": "bun scripts/dev-log.ts",
"test:session-error-recovery": "bun scripts/session-error-recovery.ts",
"test:session-scope": "bun scripts/session-scope.ts",
"test:session-switch": "node scripts/session-switch.mjs",
"test:fs-engine": "node scripts/fs-engine.mjs",
"test:local-file-path": "node scripts/local-file-path.mjs",
"test:browser-entry": "node scripts/browser-entry.mjs",
"test:e2e": "pnpm test:local-file-path && node scripts/e2e.mjs && node scripts/session-switch.mjs && node scripts/fs-engine.mjs && node scripts/browser-entry.mjs",
"bump:patch": "node scripts/bump-version.mjs patch",
"bump:minor": "node scripts/bump-version.mjs minor",
"bump:major": "node scripts/bump-version.mjs major",
"bump:set": "node scripts/bump-version.mjs --set"
},
"dependencies": {
"@ai-sdk/react": "^3.0.148",
"@codemirror/commands": "^6.8.0",
"@codemirror/lang-markdown": "^6.3.3",
"@codemirror/language": "^6.11.0",
"@codemirror/state": "^6.5.2",
"@codemirror/view": "^6.38.0",
"@lexical/react": "^0.35.0",
"@opencode-ai/sdk": "^1.4.9",
"@openwork/ui": "workspace:*",
"@radix-ui/colors": "^3.0.0",
"@solid-primitives/event-bus": "^1.1.2",
"@solid-primitives/storage": "^4.3.3",
"@solidjs/router": "^0.15.4",
"@tanstack/react-query": "^5.90.3",
"@tanstack/solid-virtual": "^3.13.19",
"@tauri-apps/api": "^2.0.0",
"@tauri-apps/plugin-deep-link": "^2.4.7",
"@tauri-apps/plugin-dialog": "~2.6.0",
"@tauri-apps/plugin-http": "~2.5.6",
"@tauri-apps/plugin-opener": "^2.5.3",
"@tauri-apps/plugin-process": "~2.3.1",
"@tauri-apps/plugin-updater": "~2.9.0",
"ai": "^6.0.146",
"fuzzysort": "^3.1.0",
"jsonc-parser": "^3.2.1",
"lucide-solid": "^0.562.0",
"lexical": "^0.35.0",
"marked": "^17.0.1",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"solid-js": "^1.9.0",
"streamdown": "^2.5.0"
},
"devDependencies": {
"@solid-devtools/overlay": "^0.33.5",
"@tailwindcss/vite": "^4.1.18",
"@types/react": "^19.2.2",
"@types/react-dom": "^19.2.2",
"@vitejs/plugin-react": "^5.0.4",
"solid-devtools": "^0.34.5",
"tailwindcss": "^4.1.18",
"typescript": "^5.6.3",
"vite": "^6.0.1",
"vite-plugin-solid": "^2.11.0"
},
"packageManager": "pnpm@10.27.0"
}