opencode/packages
Ryan Vogel 251d978448 feat(core): place sessions and subagents on requested workspaces
A session's workspace placement could only be set through the internal Effect
SDK. This opens it to agents, plugins and the HTTP API behind the new
`workspaces` flag:

- `Session.create` accepts `parentID` together with an explicit `location`,
  so a child can run on a different placement; a plain `parentID` child still
  copies its parent.
- The `subagent` tool gains optional `workspaceID` and `directory`; reusing an
  existing child with a different placement fails instead of changing it.
- New `opencode` tools `workspace_providers`, `workspace_create` (create and
  provision) and `workspace_destroy`, permission-gated.
- `session_move` accepts `workspaceID` and passes the session's current one
  when omitted, so moving between directories no longer silently drops a
  workspace placement. Core move skips the host directory stat and host
  project resolution for workspace destinations; the Location layer resolves
  the project.
- Plugin `session.create` accepts `location.workspace`.
- HTTP: `experimental.workspaceID` on `session.create` and `session.move`,
  and a new experimental group `/api/experimental/workspace/*`
  (providers, create, provision, destroy). Generated clients regenerated.

Verified: `bun typecheck` in schema, core, plugin, protocol, server, client
and sdk; `bun run check` at the root; protocol experimental-identifiers test;
core session-create, session-move, tool-opencode, tool-subagent and plugin
tests; server session handler tests; sdk embedded test (child placed on a
workspace while a plain child inherits).
2026-11-05 10:28:23 -05:00
..
ai fix(core): keep retrying while the provider's host is unreachable (#61880) 2026-11-04 19:08:19 -08:00
app fix(app): settle quote sends with the composer submit (#62037) 2026-11-05 08:22:33 -06:00
cli fix(app): show the server's release in the web About page (#61965) 2026-11-05 00:07:40 -06:00
client feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
codemode feat(codemode): let programs import globals by Node module name (#61151) 2026-11-01 21:52:57 -06:00
console docs(legal): describe first-party product analytics in the privacy policy (#61905) 2026-11-04 22:31:45 -06:00
core feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
desktop fix(desktop): drive the IPC port handshake and event stream through state machines (#61953) 2026-11-05 00:03:43 -06:00
effect-drizzle-sqlite sync release versions for v1.18.35 2026-10-06 20:18:36 +00:00
function release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
gui-plugins fix(gui-plugins): make file view scroll, Git init and Open in app explicit state machines (#62018) 2026-11-05 02:12:01 -06:00
http-recorder chore: upgrade effect to 4.1.0 and fix a SQLite lock-up on interrupt (#60651) 2026-10-30 19:51:38 -07:00
httpapi-codegen release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
identity
latex release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
merman release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
patchmark release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
plugin feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
plugin-browser fix(browser): drive tunnel, proxy and network hop lifecycles through state machines (#61996) 2026-11-05 01:00:23 -06:00
plugins release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
posts chore(web): upgrade docs site to astro 7 (#59845) 2026-10-28 15:32:53 -05:00
process-daemon feat(process-daemon): protocol v8 for shell commands (#61875) 2026-11-05 01:08:17 -06:00
protocol feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
schema feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
script feat(plugin): add OpenCode Desktop GUI plugins (#55246) 2026-10-27 10:54:50 +10:00
sdk feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
server feat(core): place sessions and subagents on requested workspaces 2026-11-05 10:28:23 -05:00
session-ui fix(session-ui): show token speed with the response footer (#62020) 2026-11-05 09:16:20 +01:00
simulation release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
stats docs(console): add Crouton Alpha Free (#61459) 2026-11-03 15:06:51 -05:00
stories fix(app): keep composer comment focus and editor caret through explicit state machines (#61969) 2026-11-05 00:43:39 -06:00
theme release: v2.2.5 (#60744) 2026-10-30 19:18:59 -04:00
tui fix(tui): show an error when Ctrl+V can't read the clipboard (#61094) 2026-11-05 01:42:04 +00:00
ui fix(ui): prevent plain comment clicks from sending prompts (#62070) 2026-11-05 13:28:08 +00:00
util feat(server): let embedders supply the fetch for OpenCode's HTTP and MCP requests (#61582) 2026-11-04 04:13:45 -06:00
web chore(console): rename OpenCode Zen to OpenCode Models in site and docs copy 2026-10-31 20:47:34 -04:00