Files
openwork/apps/server/package.json
ben 9365e7d397 feat(app): add incremental React session path (#1362)
* feat(server): add workspace session read APIs

Expose workspace-scoped session list, detail, message, and snapshot reads so the client can fetch session data without depending on activation choreography.

* feat(app): route mounted session reads through OpenWork APIs

Use the new workspace-scoped session read endpoints for mounted OpenWork clients so the current frontend stops depending on direct session proxy reads for list, detail, message, and todo loading.

* feat(app): add React read-only session transcript

Introduce a feature-gated React island for the session transcript so we can replace the session surface incrementally while keeping the Solid shell intact.

* feat(app): add React session composer surface

Extend the feature-gated React session island to own its draft, prompt send, stop flow, and snapshot polling so the session body can evolve independently from the Solid composer.

* feat(app): add React session transition model

Keep the React session surface stable during session switches by tracking rendered vs intended session state and exposing a developer debug panel for render-source and transition inspection.

* docs(prd): add React migration plan to repo

Copy the incremental React adoption PRD into the OpenWork repo so the migration plan lives next to the implementation and PR branch.

* docs(prd): sync full React migration plan

Replace the shortened repo copy with the full incremental React adoption PRD so the implementation branch and product plan stay in sync.

* feat(desktop): add React session launch modes

Add dedicated Tauri dev and debug-build entrypoints for the React session path and honor a build-time React session flag before local storage so the alternate shell is easy to launch and reproduce.

* fix(app): fall back to legacy mounted session reads

Keep the new app working against older OpenWork servers by falling back to the original mounted OpenCode session reads when the workspace-scoped session read APIs are unavailable.
2026-04-05 16:46:06 -07:00

58 lines
1.5 KiB
JSON

{
"name": "openwork-server",
"version": "0.11.202",
"description": "Filesystem-backed API for OpenWork remote clients",
"type": "module",
"bin": {
"openwork-server": "bin/openwork-server.mjs"
},
"scripts": {
"dev": "OPENWORK_DEV_MODE=1 bun src/cli.ts",
"test": "bun test",
"build": "tsc -p tsconfig.json",
"build:bin": "bun build --compile src/cli.ts --outfile dist/bin/openwork-server",
"build:bin:all": "bun ./script/build.ts --outdir dist/bin --target bun-darwin-arm64 --target bun-darwin-x64 --target bun-linux-x64 --target bun-linux-arm64 --target bun-windows-x64",
"start": "bun dist/cli.js",
"typecheck": "tsc -p tsconfig.json --noEmit",
"prepublishOnly": "pnpm build:bin"
},
"files": [
"bin",
"dist",
"README.md"
],
"repository": {
"type": "git",
"url": "git+https://github.com/different-ai/openwork.git",
"directory": "apps/server"
},
"homepage": "https://github.com/different-ai/openwork/tree/dev/apps/server",
"bugs": {
"url": "https://github.com/different-ai/openwork/issues"
},
"keywords": [
"openwork",
"server",
"opencode",
"headless",
"cli"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"dependencies": {
"jsonc-parser": "^3.2.1",
"minimatch": "^10.0.1",
"yaml": "^2.6.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/minimatch": "^5.1.2",
"bun-types": "^1.3.6",
"typescript": "^5.6.3"
},
"packageManager": "pnpm@10.27.0"
}