opencode/packages/core/test/plugin
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
..
fixtures feat(core): read the models.dev catalog from the experimental v2 API (#59296) 2026-10-26 12:17:31 -05:00
provider/claude-agent fix(core): stop interrupting Claude Agent tool calls when instructions or tools change (#63033) 2026-11-10 00:41:04 -05:00
command.test.ts refactor(protocol): normalize session resources 2026-09-14 17:51:48 -04:00
fixture.ts fix(core): make build metadata a required service so flags can't silently fall back to release defaults (#62686) 2026-11-08 11:08:52 -06:00
goal-watchdog.test.ts feat(core): add /goal with a client-side done check (#59437) 2026-10-28 19:05:53 -05:00
goal.test.ts refactor(ai): one tool() for both clients (#60407) 2026-10-29 21:48:24 -05:00
host-model.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
host.ts feat(core): add experimental artifacts with pluggable providers (#60351) 2026-10-30 06:19:18 -07:00
identity.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
internal-flag.test.ts fix(server): stop permission listing from booting Locations 2026-11-12 19:10:13 +01:00
mcp-codemode-defaults.test.ts feat(core): MCP Code Mode defaults, turn off PostHog's server-side Code Mode (#51029) 2026-09-23 23:30:12 -05:00
models-dev.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
module.test.ts fix: flaky CI tests and the app races behind them (#62597) 2026-11-07 18:50:37 +01:00
optimize.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
permission-assert.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
plan.test.ts refactor(ai): make Promise the root entry and move Effect to @opencode/ai/effect (#58847) 2026-10-24 22:18:23 -05:00
promise-tool-cancel.test.ts feat(plugin): let promise tools stop cooperatively through their signal (#63127) 2026-11-10 16:13:11 -05:00
promise-tool.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-amazon-bedrock.test.ts test(core): share env and polling helpers, fix an env leak (#61166) 2026-11-01 21:17:41 -06:00
provider-azure.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-cerebras.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-chatgpt.test.ts feat(core): report Session execution status on Session.Info 2026-11-12 19:10:13 +01:00
provider-cloudflare-ai-gateway.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-cloudflare-workers-ai.test.ts test(core): share env and polling helpers, fix an env leak (#61166) 2026-11-01 21:17:41 -06:00
provider-databricks.test.ts test(core): share env and polling helpers, fix an env leak (#61166) 2026-11-01 21:17:41 -06:00
provider-digitalocean.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-dynamic.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-github-copilot.test.ts fix(core): send Copilot requests to the login's own endpoint until models load (#63146) 2026-11-10 16:22:31 +00:00
provider-gitlab-oauth.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-gitlab.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-google-vertex.test.ts test(core): share env and polling helpers, fix an env leak (#61166) 2026-11-01 21:17:41 -06:00
provider-kilo.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-llmgateway.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-lmstudio.test.ts fix(core): send saved keys during local model discovery (#63266) 2026-11-11 01:28:03 -06:00
provider-nvidia.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-ollama.test.ts test(core): share env and polling helpers, fix an env leak (#61166) 2026-11-01 21:17:41 -06:00
provider-openai-context-caps.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-openai.test.ts feat(core): report Session execution status on Session.Info 2026-11-12 19:10:13 +01:00
provider-opencode-watches.test.ts fix(core): report a refused Console auto-watch (#63217) 2026-11-10 18:35:15 -06:00
provider-opencode.test.ts fix(core): fetch Console instructions and skills only when the config says the workspace has them (#63259) 2026-11-11 05:15:42 -06:00
provider-openrouter.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-poe.test.ts fix(app): accept a pasted redirect URL for provider sign-in (#63315) 2026-11-11 15:51:46 +01:00
provider-sap-ai-core.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-snowflake-cortex.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-vllm.test.ts test(core): share env and polling helpers, fix an env leak (#61166) 2026-11-01 21:17:41 -06:00
provider-xai.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
provider-zenmux.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
session-compact.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
session-instructions.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
session-list.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
session-remove.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
skill.test.ts fix(core): stop waiting on the Console before prompts (#62397) 2026-11-06 12:34:27 -06:00
supervisor-reload.test.ts fix(server): stop permission listing from booting Locations 2026-11-12 19:10:13 +01:00
supervisor.test.ts fix(server): stop permission listing from booting Locations 2026-11-12 19:10:13 +01:00
tool-input-repair-integration.test.ts fix(core): run calls to a bash tool as shell (#60687) 2026-10-30 12:53:17 -07:00
tool-input-repair.test.ts feat(plugin): add list to the tool domain (#49838) 2026-09-18 18:51:37 -05:00
vcs-init.test.ts fix(app): restore Git initialization for non-Git projects (#51455) 2026-10-02 06:13:19 +00:00
verbosity.test.ts fix(core): log the real plugin ID for unknown event warnings (#61137) 2026-11-01 20:47:30 -06:00
warming.test.ts refactor(core): give each warmed session one owned loop (#62972) 2026-11-09 17:04:19 -06:00
websearch-fixture.ts fix(core): initialize MCP session for TinyFish web search (#54730) 2026-10-15 17:06:05 +00:00
websearch.test.ts fix(core): initialize MCP session for TinyFish web search (#54730) 2026-10-15 17:06:05 +00:00
worktree.test.ts refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00