[Bug]: omo-ai beta.23+ shared host hides TUI cache hit, cost, Goal, and resumed state
Prerequisites
- This issue is written in English.
- Existing OMO issues were searched for duplicates.
- The latest
omo-aibeta was tested. - The regression was compared against the last known-good beta and traced to its upstream change.
Bug Description
omo-ai 5.0.0-0.beta.23 and 5.0.0-0.beta.24 start Senpi's shared interactive host by default. In that path, the TUI no longer receives all state owned by the remote session.
The following user-visible information disappears or stops updating:
- prompt cache hit rate (
CH...%); - cumulative cost;
- Goal footer status (
Pursuing goal ...); - resumed-session transcript/footer state in some resume flows.
5.0.0-0.beta.22 did not exhibit this behavior.
Regression Range
| OMO version | Senpi dependency | Result |
|---|---|---|
5.0.0-0.beta.22 |
2026.8.26-2 |
Good: local interactive runtime |
5.0.0-0.beta.23 |
2026.8.27 |
Bad: shared host enabled by default |
5.0.0-0.beta.24 |
2026.8.28 |
Bad: issue remains |
The upstream behavior was introduced by:
- https://github.com/code-yeongyu/senpi/commit/785a27a7102dbdbfeca69e906235d103e045e394
- comparison: https://github.com/code-yeongyu/senpi/compare/v2026.8.26-2...v2026.8.27
Steps to Reproduce
- Install
[email protected]. - Start an interactive OMO/Senpi session.
- Complete one or more model turns that report non-zero usage and cache reads.
- Create an active Goal with
/goal <objective>or the Goal tool. - Resume the session and inspect the transcript/footer.
- Observe that cost/cache hit do not update and Goal/resumed state can be absent.
- Start the same session with
DISABLE_SHARED_HOST=1. - Observe that the local runtime renders the usage and Goal status correctly.
Expected Behavior
The shared-host path must have feature parity with the local interactive runtime:
- footer usage must reflect the authoritative remote session;
- extension UI requests such as
setStatusmust reach the local TUI; - switching/resuming a session must rebuild transcript and footer state from the authoritative session;
- existing OMO Goal UI must remain visible.
Actual Behavior
The remote proxy mirrors selected model/stream/message state but leaves the footer reading the local sessionManager.
FooterComponent reads:
this.session.sessionManager.getUsageTotals()The shared-host proxy updates local.agent.state.messages, but it does not synchronize or proxy sessionManager.getUsageTotals(). The remote Goal extension emits extension_ui_request with method: "setStatus", but the interactive proxy has no handler that applies this request to the local TUI.
As a result, the remote session works while its UI state is stale or missing.
Why Existing Tests Missed It
The shared-host regression tests construct their runtime with:
resourceLoaderOptions: {
noExtensions: true,
noSkills: true,
noPromptTemplates: true,
noThemes: true,
}They verify remote prompt round-trips, liveness, durable session IDs, fallback, and selected state fields. They do not render FooterComponent, assert usage totals, load Goal, or handle extension UI requests.
Suggested Fix
Short-term OMO mitigation:
- keep the local interactive runtime as the default for
omo-ai, or setDISABLE_SHARED_HOST=1, until shared-host TUI parity is verified; - retain shared host behind an explicit opt-in.
Long-term upstream fix:
- expose authoritative usage totals/session metadata over the RPC state or proxy;
- route
RpcExtensionUIRequestmethods, especiallysetStatus, intoInteractiveMode; - rebuild authoritative transcript/footer state after switch/resume;
- add an end-to-end TUI test covering cache hit, cost, Goal status, and resume.
Environment
omo 5.0.0-0.beta.24 (engine: senpi 2026.8.28)
Node.js 24.14.0
Linux 6.18.33.2-microsoft-standard-WSL2 x86_64Workaround Confirmed
Disabling the shared host restores the expected TUI behavior:
DISABLE_SHARED_HOST=1 omoSource: code-yeongyu/oh-my-openagent