mirror of
https://github.com/different-ai/openwork
synced 2026-05-05 06:42:03 +02:00
* feat(desktop): electron 1:1 port alongside Tauri, fix workspace-create visibility Adds an Electron shell that mirrors the Tauri desktop runtime (bridge, dialogs, deep links, runtime supervision for openwork-server / opencode / opencode-router / orchestrator, packaging via electron-builder). Tauri dev/build scripts remain the default; Electron runs via dev:electron and package:electron. Also fixes the "workspace I just created is invisible until I restart the app" bug: the React routes only wrote to desktop-side state, so the running openwork-server never learned about the new workspace and the sidebar (which is populated from the server list) dropped it. The create flow now also calls openworkClient.createLocalWorkspace so POST /workspaces/local registers the workspace at runtime. Other small fixes included: - Clears the "OpenWork server Disconnected" flash caused by React 18 StrictMode double-invoking the connection stores' start/dispose pair. - Real app icon wired into Electron (dock + BrowserWindow + builder). - Fix a latent rm-import bug in runtime.mjs that silently skipped orchestrator auth cleanup. - Locale copy updated to say "OpenWork desktop app" instead of "Tauri app". - Adds description/author to apps/desktop/package.json to silence electron-builder warnings. * docs(prds): Tauri → Electron migration plan Describes how we'll cut every current Tauri user over to the Electron build via the existing Tauri updater (one last migration release that downloads + launches the Electron installer), how we unify app identity so Electron reads the same userData Tauri wrote (zero-copy data migration), and how ongoing auto-updates switch to electron-updater publishing to the same GitHub releases. --------- Co-authored-by: Benjamin Shafii <benjamin@openworklabs.com>
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "@openwork/story-book",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^6.0.1",
|
|
"vite-plugin-solid": "^2.11.0"
|
|
},
|
|
"packageManager": "pnpm@10.27.0",
|
|
"dependencies": {
|
|
"@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",
|
|
"@opencode-ai/sdk": "^1.4.9",
|
|
"@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/solid-virtual": "^3.13.19",
|
|
"fuzzysort": "^3.1.0",
|
|
"jsonc-parser": "^3.2.1",
|
|
"lucide-solid": "^0.562.0",
|
|
"marked": "^17.0.1",
|
|
"solid-js": "^1.9.0"
|
|
}
|
|
}
|