Commit graph

12083 commits

Author SHA1 Message Date
opencode-agent[bot]
dff34e1487 chore: update nix node_modules hashes
Some checks are pending
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
nix-hashes / compute-hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
nix-hashes / compute-hash (macos-15-intel, x86_64-darwin) (push) Waiting to run
nix-hashes / compute-hash (macos-latest, aarch64-darwin) (push) Waiting to run
nix-hashes / update-hashes (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-4vcpu-windows-2025 target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-8vcpu-ubuntu-2404-arm target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-tauri (map[host:windows-2025 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-4vcpu-ubuntu-2404 target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
2026-04-28 03:59:36 +00:00
opencode-agent[bot]
4e0a2adc6f Apply PR #24512: Refactor v2 session events as schemas 2026-04-28 03:45:25 +00:00
opencode-agent[bot]
4c72588a24 Apply PR #24229: fix: lazy session error schema 2026-04-28 03:44:27 +00:00
opencode-agent[bot]
4abf8944de Apply PR #24174: feat(core): add background subagent support 2026-04-28 03:44:27 +00:00
opencode-agent[bot]
8859e46c79 Apply PR #24149: feat(core): add scout agent for repo research 2026-04-28 03:40:50 +00:00
opencode-agent[bot]
d94b15a947 Apply PR #23792: refactor(app): load sync state through TanStack Query 2026-04-28 03:36:37 +00:00
opencode-agent[bot]
c5357779c0 Apply PR #23557: feat(opencode): add interactive split-footer mode to run 2026-04-28 03:35:18 +00:00
opencode-agent[bot]
42058d3019 Apply PR #22753: core: move plugin intialisation to config layer override 2026-04-28 03:31:54 +00:00
opencode-agent[bot]
624c41c7bd Apply PR #21537: fix(app): remove pierre diff virtualization 2026-04-28 03:30:28 +00:00
opencode-agent[bot]
7e77427d11 Apply PR #20039: feat: bash->shell tool + pwsh/powershell/cmd/bash specific tool definitions so agents work better 2026-04-28 03:28:59 +00:00
opencode-agent[bot]
f36f143c5b Apply PR #15300: desktop: sentry integration 2026-04-28 03:24:44 +00:00
opencode-agent[bot]
9de028c04f Apply PR #12633: feat(tui): add auto-accept mode for permission requests 2026-04-28 03:23:00 +00:00
opencode-agent[bot]
38c997540d Apply PR #11710: feat: Add the ability to include cleared prompts in the history, toggled by a KV-persisted command palette item (resolves #11489) 2026-04-28 03:18:05 +00:00
opencode-agent[bot]
cd7ec93cdf chore: generate 2026-04-28 02:34:43 +00:00
Kit Langton
796b652d2b
fix(httpapi): preserve mcp oauth error parity (#24706) 2026-04-27 22:33:21 -04:00
Kit Langton
4d74849c1a
fix(tui): keep Zed context polling responsive (#24711) 2026-04-27 22:24:04 -04:00
opencode-agent[bot]
937a7c48a5 chore: update nix node_modules hashes 2026-04-28 02:22:33 +00:00
Kit Langton
704eb00de4
chore: bump effect beta (#24705) 2026-04-27 21:58:11 -04:00
opencode-agent[bot]
bad4599bf9 chore: generate 2026-04-28 01:50:04 +00:00
Kit Langton
892fd85ba7
fix(httpapi): preserve provider oauth authorize parity (#24703) 2026-04-27 21:48:50 -04:00
opencode-agent[bot]
0eaa47d857 chore: generate 2026-04-28 00:54:28 +00:00
Kit Langton
faca24d487
fix(httpapi): align session boolean query parsing (#24693) 2026-04-27 20:53:27 -04:00
Kit Langton
c103202ad5
test(httpapi): cover session json parity (#24682) 2026-04-27 19:48:57 -04:00
Kit Langton
ce78a4265d
fix(session): remove compaction summary dividers (#24677) 2026-04-27 18:15:11 -04:00
Kit Langton
c4a2353ac3
fix(session): omit undefined optional fields (#24676) 2026-04-27 17:50:09 -04:00
Kit Langton
576efed196
fix(httpapi): preserve optional session fields (#24671) 2026-04-27 21:38:28 +00:00
Dax Raad
865d7aba09 core: remove retry tracking from session messages to prevent noisy retry details from appearing in the conversation history 2026-04-27 17:09:08 -04:00
Dax Raad
0a6bc6067e core: capture codebase snapshots before and after each AI step for review 2026-04-27 16:53:43 -04:00
opencode-agent[bot]
dfc0075f90 chore: generate 2026-04-27 20:52:42 +00:00
Kit Langton
acd15dcc8a
test(httpapi): cover full OpenAPI route inventory (#24667) 2026-04-27 16:51:24 -04:00
Kit Langton
139c4fd555
fix(session): harden shell cancellation (#24553) 2026-04-27 20:47:18 +00:00
Dax Raad
f5abbfabbf core: fix crash when message attachments array is undefined
Prevents runtime errors by ensuring undefined attachments are converted to an empty array before spreading into the message parts. This fixes scenarios where tool responses without attachments would cause the session processor to fail.
2026-04-27 16:46:19 -04:00
Dax Raad
b46b09450a tui: remove @effect/language-service and refactor tool output structure
Removed the @effect/language-service dependency from packages/opencode and packages/core
to simplify the build and reduce unnecessary complexity.

Refactored tool output handling to use a structured content array instead of flat fields.
This enables richer tool responses with mixed content types (text, files) and better
structured data support for future extensibility.
2026-04-27 16:35:13 -04:00
Cas
e0f3df8252
fix(tui): consume Enter in dialog useKeyboard handlers (#23390) 2026-04-27 15:31:49 -05:00
opencode-agent[bot]
9cd2e3a1c3 chore: generate 2026-04-27 20:31:05 +00:00
Kit Langton
f584f80219
test(httpapi): verify reflected route mounts (#24663) 2026-04-27 16:29:58 -04:00
Kit Langton
45eac589f8
fix(tui): preserve Zed context on terminal focus (#24662) 2026-04-27 16:25:37 -04:00
James Long
fab1768826
feat(core): file context improvements and option to disable (#24661)
Some checks are pending
deploy / deploy (push) Waiting to run
generate / generate (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
publish / build-tauri (map[host:blacksmith-4vcpu-windows-2025 target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-8vcpu-ubuntu-2404-arm target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-tauri (map[host:macos-latest target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-tauri (map[host:macos-latest target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-tauri (map[host:windows-2025 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-tauri (map[host:blacksmith-4vcpu-ubuntu-2404 target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
test / e2e (windows) (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Waiting to run
typecheck / typecheck (push) Waiting to run
2026-04-27 16:10:13 -04:00
Kit Langton
51fc10e407
fix(httpapi): enforce instance route parity (#24660) 2026-04-27 16:07:31 -04:00
Dax Raad
8bf098cf47 fix types 2026-04-27 16:02:17 -04:00
Dax Raad
ed91976618 core: rename session entry to message and expose full session lifecycle events in SDK
Renamed SessionEntry to SessionMessage for clearer, more intuitive API terminology
that better represents the message-based nature of session interactions.

Exposed 22 new session lifecycle event types in the JavaScript SDK including
prompted, step started/ended, text/reasoning/tool deltas, tool calls with
progress tracking, retries, and compaction events. This enables SDK consumers
to build real-time UIs that accurately reflect agent session state as it evolves,
providing users with visibility into thinking steps, tool execution, and retries.
2026-04-27 16:01:39 -04:00
Dax Raad
97685d5ed1 core: enable real-time tool progress updates during execution
Add session.next.tool.progress event so users can see live status from
long-running tools instead of waiting for completion. Consolidate tool
state metadata into a unified 'details' field for consistent display.
2026-04-27 16:01:39 -04:00
Dax Raad
91938e2934 core: fix reasoning tracking for multiple blocks per response
Enable proper handling of multiple reasoning blocks within a single assistant
response by assigning unique reasoningIDs to each block. Previously, reasoning
blocks could get mixed up when multiple reasoning steps occurred in one turn,
causing deltas and completion events to apply to the wrong block.
2026-04-27 16:01:39 -04:00
Dax Raad
51b0b6fda9 core: restructure v2 event system with session.next namespace and data encapsulation
- Rename all event types from session.* to session.next.* for clearer namespacing

- Wrap event payload in data field for better schema organization

- Add timestamp to all event schemas for consistent event tracking

- Fix effect-zod handling for Declaration ASTs with type parameters

- Remove obsolete session-entry-stepper tests

This provides a cleaner event structure that separates metadata from payload data, making the event system more maintainable and easier to extend.
2026-04-27 16:01:39 -04:00
Dax Raad
b80b1f4e2f feat(session): project next session events 2026-04-27 16:01:10 -04:00
Dax Raad
ccfe2ac4da style(session): inline session id event fields 2026-04-27 16:00:22 -04:00
Dax Raad
3253da034f fix(session): include session id on v2 events 2026-04-27 16:00:22 -04:00
Dax Raad
c827c4a722 refactor(session): define v2 session events as schemas 2026-04-27 16:00:21 -04:00
Dax Raad
54278125c6 fix session event typechecks and shell cwd 2026-04-27 15:59:35 -04:00
opencode-agent[bot]
7a1c8465f5 chore: generate 2026-04-27 19:38:33 +00:00