Build x64 sidecars with Bun baseline targets so Control Chrome and server sidecars run on CPUs without AVX. Sanitize inherited Bun/Node DNS result-order flags and set a safe Bun DNS order before spawning OpenCode and sidecar processes to prevent startup exits.
- Allow to download OpenCode from OPENCODE_GITHUB_REPO (defaults to anomalyco/opencode).\n- Fix PreRelease/Release builds when OPENCODE_VERSION points at a fork tag.
- Replace loadSessions/refreshSidebarWorkspaceSessions with local store
removal in deleteSessionById to prevent reconcile() from wiping
unrelated sessions
- Remove loadSessionsWithReady calls from sendPrompt to eliminate the
same race condition on message send
- Inject new sessions directly into store and sidebar in
createSessionAndOpen instead of relying on server round-trip
- Make applySessionAgent auto-create a session when none is selected
- Add shell:true to bun spawns in prepare-sidecar.mjs for Windows
Co-authored-by: = <=>
* fix(headless): align openwrk compile path with OpenTUI Solid
Use the upstream @opentui/solid build plugin and preload/tsconfig wiring so compiled openwrk binaries keep TUI runtime compatibility instead of emitting broken React runtime behavior.
* ci: run openwrk checks on feature branch pushes
Trigger CI for fix/openwrk-react-shim and add an openwrk binary build job so bundling regressions are caught before merging to dev.
* ci: relax binary validation to runtime smoke
Use openwrk --version/--help checks instead of grepping embedded strings so the branch CI validates bundling without false failures from defensive error text.
* fix(desktop): build openwrk sidecar via headless build script
Route desktop sidecar preparation through packages/headless/script/build.ts so OpenTUI plugin settings are applied consistently and Linux CI no longer compiles openwrk with incompatible JSX defaults.
Tauri externalBin expects per-target files like sidecars/versions.json-<triple> when bundling. Write that alongside versions.json so Linux/Windows release builds don't fail.
Reuse an existing Vite dev server instead of failing on busy ports, avoid Node 25 top-level await exit, and ensure opencode sidecar tracks latest when unpinned.
Stop pinning OpenCode in package metadata and resolve the latest release during sidecar bundling/runtime, while still allowing OPENCODE_VERSION to pin for reproducible builds.
- Add openwrk to externalBin in tauri.conf.json
- Update prepare-sidecar.mjs to build openwrk binary alongside other sidecars
- Add --allow-external flag when spawning openwrk daemon to allow custom opencode-bin path
Fixes 'Failed to start openwrk: No such file or directory' error when using
Openwrk orchestrator mode.
* feat(headless): align sidecar bundle parity
Build headless sidecars from the same sources as desktop and record manifest checks so version integrity stays consistent across runtimes.
* feat(owpenbot): hot-set telegram token
Expose a health REST endpoint to update the Telegram token at runtime, wire the app to call it, and keep status reporting in sync without restarts.
* feat: host mode prefers OpenWork server for skills/plugins management
- Add hostToken support to OpenWork server client (X-OpenWork-Host-Token header)
- Add includeGlobal query param to listSkills and listPlugins
- Host mode now uses OpenWork server first for:
- refreshSkills (with includeGlobal for global skills)
- refreshPlugins (project scope)
- addPlugin (project scope)
- installSkillCreator
- Falls back to local filesystem if OpenWork server unavailable
- Fix missing WorkspaceInfo import in dashboard.tsx
* feat: add server binary build script and prefer opencode.jsonc
- Add packages/server/script/build.ts for compiling standalone server binary
- Add build:bin and build:bin:all scripts to server package.json
- Update workspace-files.ts to prefer opencode.jsonc over opencode.json
* fix: compile openwork-server as standalone binary on all platforms
Replace shell launcher script with bun build --compile to create
a standalone binary that doesn't require Bun at runtime.
* feat: host mode uses OpenWork server for commands, MCP, and default model
- Prefer OpenWork server for command save/delete/list in host mode
- Use OpenWork server for Notion MCP setup and MCP refresh/connect when available
- Resolve host workspace id via OpenWork server in host mode
- Fetch host capabilities and pass host token to server client
- Read/write default model via OpenWork server when connected
* fix: rebuild openwork-server sidecar reliably
- Use bun build CLI for compiled server binary
- Detect and replace stub launcher before building
* fix: create target-specific openwork-server sidecar
- Copy compiled openwork-server to platform triple name
- Regenerate stub targets when needed
* feat: add OpenWork host orchestration
* fix: resolve host startup errors
* fix: run openwork server sidecar with bun
* feat: default to OpenCode direct
* feat: move status into bottom bar
* feat: auto-start OpenWork server sidecar
* refactor: simplify openwork server host pairing
* chore: prep openwork server sidecar for dev
* chore: allow web CORS in dev