Commit Graph
1308 Commits
Author SHA1 Message Date
Kit Langton 6ed2b1b545 refactor(core): rename SessionEnv to SessionEngine and simplify
SessionEnvironment already names per-session shell variables, so the
engine tier takes distinct vocabulary. Review fixes fold in: per-bind
release tokens, bindings scoped to the environment rather than the
caller, one pinned environment per busy period with the bound context
provided directly (no per-continuation layer build or store read),
shared compileWithHoistedGlobals used by both constructors,
SessionRunnerModel.fixed beside its resolved seam, exported Tool.Draft,
PluginSupervisor.noop naming, a typed make error channel, dropped dead
Handle.context surface, and a compile-time subset guard tying the
engine tier to the full location graph.
2026-08-26 16:42:41 -04:00
Kit Langton c25b2119f6 test(core): prove a values environment drives a real durable drain
A SessionEnv built from values (fixed model, one custom tool, upserted
build agent) admits a prompt through normal durable admission and drains
through the real SessionExecution path: the bound engine graph executes
the tool and persists assistant history in the application's Database,
with no discovery, plugins, MCP, or provider SDKs.
2026-08-26 16:28:58 -04:00
Kit Langton 8ebb94a8d1 feat(core): bind values-constructed environments to session drains
SessionEnvBindings maps Session IDs to live engine contexts; execution
resolves a bound context before the Session's Location graph. SessionEnv
becomes a global node that captures the root MemoMap at construction
(the LayerMap trick) so hoisted global nodes dedupe against the running
Database, Bus, and SessionStore. Its handle creates or adopts durable
sessions and scopes the binding to the caller.
2026-08-26 16:28:58 -04:00
Kit Langton 8cbe3fb785 feat(core): SessionEnv.make values constructor
Builds one live engine graph in the caller's scope from the sessionEnvGroup
with discovery, plugins, and MCP replaced, then populates Tool/Agent/Catalog
through the same draft APIs plugins use. Hoisted global nodes compile to the
application root's Layer references so memoization reuses the running
Database, Bus, and SessionStore.
2026-08-26 16:05:43 -04:00
Kit Langton 36d3c5e76f feat(core): replacement layers for MCP-free, plugin-free environments
PluginSupervisor.ready, McpTool.noop, and McpInstructions.noop let a
values-constructed engine graph settle immediately and drop the MCP and
config-discovery subtrees from its dependency closure.
2026-08-26 16:00:12 -04:00
Kit Langton 01a3b677aa refactor(core): name the session engine tier
Define sessionEnvNodes/SessionEnv alongside the full location graph: the
subset of nodes a session drain consumes, with dependency closure pulling
supporting nodes during compile. locationServiceNodes is untouched because
its list order is semantic (compile provide-merges in order).
2026-08-26 16:00:11 -04:00
Aiden Cline 33909f48d7 fix(core): label migrated credentials by auth type (#45369) 2026-08-26 14:41:31 -05:00
Kit Langton cf347cd5e4 refactor(core): advance sessions before running steps (#45358)
Centralize control dispatch and first-Step preparation in advanceToStep. Keep input delivery outside logical-Step retries and preserve queue ordering, Location handoff, context refresh, and durable settlement.
2026-08-26 15:25:13 -04:00
Aiden Cline 8b6a2450d5 fix(core): isolate invalid tool registrations (#45325) 2026-08-26 13:49:56 -05:00
Kit Langton ded8a492d1 fix(core): recover background jobs after restart
Persist background Job ownership and terminal results across server restarts. Resume existing subagent Sessions, admit shell cancellation notices without waking idle parents, and preserve explicit cancellation.
2026-08-26 14:17:43 -04:00
James Long 018b4c40f3 fix(pty): upgrade opencode-pty to 0.1.10 (#45352) 2026-08-26 14:15:15 -04:00
Kit Langton 2602dcd0a7 refactor(core): encapsulate physical attempt execution (#45294)
Extract physical-attempt streaming, tool execution, and durable settlement from the Session runner. Preserve logical-Step retry and recovery policy, use tagged drain outcomes, and fix multi-click selection during auto-copy.
2026-08-26 12:41:45 -04:00
Aiden Cline cf98ca55c9 fix(core): allow non-letter tool name prefixes (#45317) 2026-08-26 11:21:14 -05:00
Aiden Cline f4a9b93013 feat(ai): add native Groq provider with provider-specific options (#45288) 2026-08-26 10:12:52 -05:00
Dax Raad cbef698861 fix(core): suppress state updates during location teardown 2026-08-26 10:48:44 -04:00
James Long 9cca8dd6e0 feat(tui): add persistent session terminals (#44971) 2026-08-26 09:30:03 -04:00
Dax 91028a690b feat(tui): show LLM token throughput 2026-08-26 09:23:53 -04:00
Shoubhit Dash e82aa92e64 fix(session): support assistant message content updates (#45015) 2026-08-26 18:31:59 +05:30
James Long d572a5756c feat(cli): embed persistent PTY binaries from npm packages (#45248) 2026-08-26 07:55:30 -04:00
Shoubhit Dash 4eaf533cd0 feat(plugin): add declarative vcs repository markers (#45192) 2026-08-26 13:49:36 +05:30
Dax 437df1164c feat(plugin): expose session move 2026-08-26 00:14:12 -04:00
Kit Langton 9361117504 feat(core): add directory projects (#45107) 2026-08-25 23:22:23 -04:00
Aiden Cline f3c390b89e feat(ai): add native DeepInfra provider (#45108) 2026-08-25 22:15:52 -05:00
Kit Langton 695c043e6b feat(core): refresh unpinned plugins on startup (#45118) 2026-08-25 22:32:05 -04:00
Kit Langton 3c73ce1dc7 fix(core): materialize mentioned skills on prompts (#44840) 2026-08-25 22:04:09 -04:00
Kit Langton 4b71ae6a0d feat(core): support git plugin packages (#45110) 2026-08-25 22:02:49 -04:00
Kit Langton 690ad8e8bd test(core): isolate host configuration and credentials (#44845) 2026-08-25 20:22:21 -04:00
Aiden Cline 6c97be6974 feat(ai): add native Cerebras and Together AI providers (#45098) 2026-08-25 19:20:47 -05:00
Kit Langton 7f2b052db6 refactor(core): remove unused Drizzle migration framework 2026-08-25 19:16:26 -04:00
Dax Raad 297a3328c6 feat(tui): group MCP integrations in connection dialog 2026-08-25 19:14:12 -04:00
Aiden Cline 24605d048f fix(ai): send responses instructions at top level (#45085) 2026-08-25 17:34:40 -05:00
Aiden Cline c2a3b813a0 fix(ai): require reasoning fields for deepseek assistants (#45075) 2026-08-25 17:13:17 -05:00
opencode-agent[bot]andrekram1-node b79cad5ec8 fix(core): respect automatic compaction opt-out on overflow (#45036)
Co-authored-by: rekram1-node <[email protected]>
2026-08-25 16:58:39 -05:00
Dax eb1ac54d73 feat(tui): support multiple integration accounts (#45072) 2026-08-25 17:03:16 -04:00
Kit Langton db7837814c fix(project): refresh renamed projects across live clients (#45043) 2026-08-25 20:13:10 +00:00
opencode-agent[bot]andneriousy d562f6df1e fix(core): recover legacy database migration history (#45062)
Co-authored-by: neriousy <[email protected]>
2026-08-25 22:02:26 +02:00
Filip 82947af8e3 fix(core): ignore SSE comment heartbeats (#43626) 2026-08-25 21:34:08 +02:00
Filip e1afdaac52 fix(core): fall back on oversized websocket requests v2 (#43100) 2026-08-25 21:27:08 +02:00
Aiden Cline a5829431b0 fix(ai): bridge tool results for mistral family models (#45051) 2026-08-25 13:40:35 -05:00
James Long bc1f67e518 feat(cli): embed persistent PTY service binaries (#44970) 2026-08-25 13:19:48 -04:00
Kit Langton 1f45962c84 fix(tui): support inline session rename and title regeneration (#45023) 2026-08-25 13:10:22 -04:00
0fd719067d feat(plugin): add permission review hooks (#45003)
Co-authored-by: R44VC0RP <[email protected]>
Co-authored-by: nexxeln <[email protected]>
Co-authored-by: thdxr <[email protected]>
2026-08-25 16:57:17 +00:00
Kit Langton e5308a988f feat(merman): refine diagram styling (#44815) 2026-08-25 16:07:12 +00:00
James Long 004b647311 feat(server): add persistent PTY daemon API (#44969) 2026-08-25 11:31:47 -04:00
Shoubhit Dash b71291c05a refactor(core): move mercurial vcs into internal plugin (#44993) 2026-08-25 20:35:21 +05:30
Shoubhit Dash 0ab2d783e8 refactor(core): move git vcs into internal plugin (#44992) 2026-08-25 20:26:43 +05:30
ed582d1bdb feat(core): run worktree setup scripts (#44455)
Co-authored-by: Brendonovich <[email protected]>
Co-authored-by: Brendonovich <[email protected]>
2026-08-25 22:45:01 +08:00
Shoubhit Dash 9c1787617c feat(plugin): add vcs provider api (#44979) 2026-08-25 19:37:06 +05:30
4fb8a6038a feat(app): select worktree base branch (#44906)
Co-authored-by: Brendonovich <[email protected]>
Co-authored-by: Brendan Allan <[email protected]>
2026-08-25 21:05:52 +08:00
e589969398 fix(core): resolve compatible shells for commands (#44485)
Co-authored-by: rekram1-node <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
2026-08-25 00:24:08 -05:00