opencode/packages/schema/test
Simon Klee c1bd7d8456
feat(core): report Session execution status on Session.Info
Every view that shows a Session today joins it against the
/session/active snapshot and the execution event stream to learn whether
it is running. Put the answer on the Session itself: Session.Info gains
status, "running" while SessionExecution in this process owns a busy
period for the Session and "idle" otherwise.

Core's Session facade attaches status wherever it returns a Session, so
HTTP responses and plugins both see it. It snapshots the running set
before reading rows, so a read never pairs "idle" with a row from before
the terminal commit.

Status is process-local and must not be persisted. The previous shape is
now Session.Persisted: the store, durable events, and Session export and
import keep using it, so exports written before this change still import
and new exports, including the app and desktop transcript exports, carry
no status. Session.Status has no schema identifier because SessionStatus
already names the session.status event union.
2026-11-12 19:10:13 +01:00
..
agent.test.ts fix(schema): loosen agent color response 2026-07-22 19:22:01 -04:00
compatibility.test.ts feat(schema): publish package 2026-07-01 13:33:59 -04:00
config.test.ts feat(core): a switch that turns every feature flag on (#61826) 2026-11-04 19:13:30 -08:00
contract-hygiene.test.ts feat(core): report Session execution status on Session.Info 2026-11-12 19:10:13 +01:00
credential-legacy.test.ts refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
event-manifest.test.ts feat(core): publish MCP events on the bus (#63261) 2026-11-11 21:41:31 -06:00
event.test.ts refactor(schema): declare event durability at definition level (#35172) 2026-07-03 12:35:35 -04:00
legacy-event.test.ts refactor(schema): remove unused QuestionV1 contract (#52838) 2026-10-02 21:28:13 +00:00
mcp.test.ts feat(core): support MCP resources (#35656) 2026-07-07 11:55:06 -05:00
model.test.ts fix(schema): expose effort-update and thinking-binding overrides on model compatibility (#52172) 2026-10-06 15:41:12 -05:00
session-cursor.test.ts refactor(schema): move session list cursor into schema (#56205) 2026-10-16 17:01:13 -05:00
session-error.test.ts feat(core): typed free-limit error with reset time (#57146) 2026-10-20 15:10:35 -07:00
session-legacy.test.ts refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
session-terminal.test.ts refactor: v2.1 minor breaking changes (#57260) 2026-10-20 00:42:13 -05:00
token-usage.test.ts feat(tui): add shareable stats poster (#46563) 2026-09-01 22:21:52 +05:30
v1-isolation.test.ts fix(ci): run app e2e on dev and every package's unit tests (#56117) 2026-10-16 17:31:14 +02:00
vcs.test.ts feat(tui): add branch review scopes 2026-08-28 22:46:23 -04:00
worktree.test.ts feat(core): make worktree APIs project-based (#48867) 2026-09-14 22:40:16 -04:00