OpenWork 0.18.54 fails before persisting user message in SessionPrompt.createUserMessage, while OpenCode CLI succeeds
Author: gitrhino11Created Sep 28, 2026Updated Sep 28, 2026
Environment
- OpenWork Desktop: 0.18.54
- Bundled OpenCode sidecar: 1.18.30
- Bundled
@opencode-ai/sdk: 1.18.18 - System OpenCode CLI: 1.17.11
- macOS 26.5.2 (25F84), arm64
- Workspace: local SuiteDash repository using project OmO plugin 4.19.4
Reproduction
- Open the existing local workspace in OpenWork.
- Create a new task with
Reply with only: ok. - Submit.
Expected
The user message is persisted, the session starts, and the model replies ok.
Actual
OpenWork displays UnknownError with a stack through SessionPrompt.createUserMessage and SessionPrompt.prompt.
A session is created, but a read-only check of the local OpenCode database shows no message row for that session and zero model tokens. OpenWork's server returns HTTP 204 for the async prompt request, then the bundled OpenCode runtime logs:
ERROR ... message="prompt_async failed" sessionID=ses_f162a5784ffemiP8E0vrbSZtwN cause="Cause([Die(UnknownError: UnknownError)])"The UI stack excerpt is:
UnknownError: UnknownError
at <anonymous> (/$bunfs/root/chunk-jsvjjq7j.js:1142:2068)
at SessionPrompt.createUserMessage (/$bunfs/root/chunk-jsvjjq7j.js:1142:9959)
at SessionPrompt.createUserMessage (definition) (/$bunfs/root/chunk-jsvjjq7j.js:1142:1826)
at SessionPrompt.prompt (/$bunfs/root/chunk-mjh4q85p.js:4:13569)
at SessionPrompt.prompt (definition) (/$bunfs/root/chunk-jsvjjq7j.js:1142:9844)
at SessionHttpApi.prom…No model stream starts, and no access-approval prompt appears.
Control
In the same workspace, immediately before the OpenWork attempt:
opencode run --print-logs "Reply with only: ok"succeeds with Sisyphus on opencode-go/kimi-k3 and returns ok.
A separate read-only OmO librarian delegation also succeeds through the OpenCode CLI.
Additional observations
- The OpenWork bundle contains OpenCode 1.18.30 and
@opencode-ai/sdk1.18.18. - This version gap may be relevant, but the exact cause is not established.
- The in-app browser was not involved.
- No live SuiteDash changes were made.
- Related engine/SDK qualification work: #2781.
- OpenCode issue anomalyco/opencode#38471 reports a similar
UnknownErroratSessionPrompt.createUserMessage, but its root cause was a specific database-schema mismatch in a different version arrangement, so it does not appear to be the same defect.
Source: different-ai/openwork