Aiden Cline
0b86adbe99
feat: agent color cfg ( #4226 )
...
Co-authored-by: 0xrin <0xrin1@protonmail.com>
Co-authored-by: GitHub Action <action@github.com>
2025-11-11 18:32:44 -06:00
Frank
834a2c09d5
wip: poc pr command
2025-11-11 18:50:28 -05:00
Frank
f13c17e654
wip: poc pr command
2025-11-11 18:50:28 -05:00
Aiden Cline
0b001c3e80
tweak: make todos appear list of modified files
2025-11-11 16:05:23 -06:00
Aiden Cline
c5e096c76a
fix: costs being 0 when using custom model id overrides ( #4219 )
2025-11-11 15:58:14 -06:00
Aiden Cline
e1fc4a756b
Hide /share if disabled ( #4215 )
2025-11-11 14:47:39 -06:00
Ron Suhodrev
dc7c5ced4c
tui: restore full text when editing prompts with summarized content ( #4030 )
2025-11-11 20:17:36 +00:00
Dax Raad
b0b7fd143b
tui: show LSP diagnostics inline when viewing files so users can see type errors and compilation issues without leaving the interface
2025-11-11 12:15:40 -05:00
GitHub Action
140498eb4f
chore: format code
2025-11-11 16:59:37 +00:00
Haris Gušić
ca5126e24d
fix: TUI spawn: reset BUN_OPTIONS ( #3606 )
2025-11-11 10:58:59 -06:00
Aiden Cline
02b7cc8313
keep session dot in list for current active ( #4185 )
2025-11-10 22:20:35 -06:00
Dax Raad
dea668b0ea
tui: help users read thinking blocks and trust todo syncs
2025-11-10 20:34:04 -05:00
Aiden Cline
1bc3e92376
fix: undefined check
2025-11-10 19:21:57 -06:00
denesbeck
e95181a551
Refactor/redundant toast comp ( #4163 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-10 11:27:19 -06:00
denesbeck
0a92af60a0
fix: upgrade toast notification ( #4159 )
2025-11-10 10:28:28 -06:00
Aiden Cline
3f59570ee6
fix: add null check
2025-11-10 00:40:42 -06:00
Dax Raad
3ace8543b2
tui: auto-scroll to bottom when switching between sessions
2025-11-10 00:43:48 -05:00
Dax Raad
5e53f054c6
make reasoning parts less ugly
2025-11-10 00:37:35 -05:00
Dax Raad
5d5e184329
tui: improve session UI with better sidebar toggle and message handling
2025-11-10 00:21:31 -05:00
Dax Raad
2fbb49ac30
tui: render reasoning parts with syntax highlighting instead of plain text
2025-11-10 00:08:05 -05:00
Dax Raad
c56b407e1d
tui: display 'Free' badge for zero-cost models in model selection dialog
2025-11-09 23:56:24 -05:00
lenstr
bdaa0e8b8c
fix: --model flag being ignored in TUI mode ( #4147 )
2025-11-09 20:21:52 -06:00
Dax Raad
4b7231be68
fix race condition
2025-11-09 01:41:49 -05:00
Aiden Cline
4b1668c3ef
Revert "tui: display 'Free' badge for zero-cost models in model selection dialog"
...
This reverts commit ce9b758d0a .
2025-11-08 23:48:18 -06:00
Dax Raad
0fe313bd87
tui: fix continue session navigation to wait for sync completion before redirecting
...
Previously, the continue session navigation would immediately try to redirect
to the most recent session before the sync data was fully loaded, causing
navigation to fail. Now it waits for sync status to be complete before
attempting the redirect, ensuring the session data is available.
2025-11-08 20:53:18 -05:00
Dax Raad
8166612467
tui: fix continue session navigation to use most recent session instead of oldest session
2025-11-08 20:28:23 -05:00
Dax Raad
4d20e1c3c6
Merge remote-tracking branch 'origin/dev' into dev
2025-11-08 20:21:02 -05:00
Dax Raad
4bb7ea9127
improve startup speed
2025-11-08 20:18:36 -05:00
Kamaal Farah
431ffc94f5
fix(theme): filter out null values from theme palette ( #4083 )
...
Signed-off-by: Kamaal Farah <kamaal.f1@gmail.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-11-08 16:27:07 -06:00
Dax Raad
ce9b758d0a
tui: display 'Free' badge for zero-cost models in model selection dialog
2025-11-08 16:20:30 -05:00
GitHub Action
34ff87d504
chore: format code
2025-11-08 01:59:02 +00:00
Dax Raad
1a2b3701f2
tui: show more sessions in list and fix sync timing to prevent race conditions
2025-11-07 16:19:44 -05:00
Aiden Cline
73cd8a334c
rework acp to compensate for changes in Zed IDE ( #4050 )
2025-11-07 13:57:12 -06:00
Dax Raad
a96365fd81
Add command bar action to rename sessions
2025-11-07 14:51:44 -05:00
Dax Raad
4463d319c9
fix scroll when no session exists
2025-11-07 13:22:03 -05:00
Dax Raad
b708d0ecec
disable scrollbar temporarily because of text wrap issues
2025-11-07 12:31:28 -05:00
Dax Raad
9554abb56e
message storage performance improvements
2025-11-07 01:11:47 -05:00
Charles David Mupende
d0f5c825bd
feat: implement network IP retrieval for remote access in web command ( #3945 )
2025-11-06 19:37:23 -06:00
opencode-agent[bot]
9f603e39a6
Fixed ACP to respect user's default model config. ( #4006 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-06 19:07:27 -06:00
Dax Raad
b25d4f9dfb
fix issue with input randomly breaking
2025-11-06 19:48:10 -05:00
Dax
3ba7e243d0
system theme ( #4010 )
2025-11-06 18:00:09 -05:00
Shanjai Raj
b8c51e307f
Fix: Auto-scroll to bottom when selecting session from list ( #3988 )
...
Co-authored-by: shanjairaj7 <shanjairaj7@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-06 14:29:39 -06:00
Dax Raad
e45e94634f
only display last 100 messages in TUI
2025-11-06 13:21:15 -05:00
Aiden Cline
de1278414f
fix: opencode run not parsing model string
2025-11-06 12:09:13 -06:00
GitHub Action
90c2b26733
chore: format code
2025-11-06 18:03:50 +00:00
Dax Raad
1ea3a8eb9b
big format
2025-11-06 13:03:12 -05:00
Aiden Cline
8729edc5e0
update import command to accept share links
2025-11-06 11:55:57 -06:00
Dax Raad
f636d937c4
fix undo command breaking other commands
2025-11-06 11:25:37 -05:00
opencode-agent[bot]
49e4cfb286
Added big dot (●) indicator for current session in modal ( #3980 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-06 01:09:59 -06:00
Dax Raad
11d6005b77
tui: reduce scrollbar visual prominence for less distracting interface
2025-11-05 21:30:40 -05:00
Dax Raad
2cc072b3dc
enable scrollbar
2025-11-05 21:27:23 -05:00
Dax Raad
0a5a02043c
tui: move debug shortcuts to command palette for better discoverability
2025-11-05 21:13:35 -05:00
Dax Raad
5a84b9f467
temporarily use strip-ansi package till bun bug is fixed
2025-11-05 20:38:37 -05:00
Dax Raad
e136a40771
ignore tmp type rrror
2025-11-05 20:31:13 -05:00
Dax Raad
6555a33eff
type errors
2025-11-05 20:14:31 -05:00
Sebastian Herrlinger
8b26a1f9bd
upgrade to opentui 0.1.35, mitigating disappearing content and crashes
2025-11-06 01:38:58 +01:00
Dax Raad
2a9b6a85de
core: ensure export command output can be piped without UI interference
2025-11-05 18:36:06 -05:00
Dax Raad
e316050bf5
temporarily remove bun strip ansi due to bug
2025-11-05 18:27:19 -05:00
Dax Raad
306f45f04a
add opencode import command to restore sessions from JSON exports
2025-11-05 18:05:01 -05:00
Dax Raad
05ae99a09b
fix sidebar modified files
2025-11-05 16:49:17 -05:00
Dax Raad
b7262b8527
performance improvements
2025-11-05 15:33:23 -05:00
Haris Gušić
3d04ba26a3
fix(autocomplete): Prioritize exact matches ( #3760 )
2025-11-05 12:25:05 -06:00
OpeOginni
69a499f807
fix(tui): restructure Sidebar component to be scrollable ( #3946 )
2025-11-05 11:33:30 -06:00
Dax Raad
37e564139f
tui: lower paste summary threshold to trigger on shorter content
2025-11-05 12:32:23 -05:00
monke-yo
ee8b81269b
feat: add --attach flag to opencode run ( #3889 )
2025-11-05 11:31:01 -06:00
Aiden Cline
3ebec2435a
allow @ agents to work even if not first thing in prompt
2025-11-04 23:37:09 -06:00
Christian Stewart
b90c0b5fac
feat(tui): add /export and /copy commands ( #3883 )
...
Signed-off-by: Christian Stewart <christian@aperture.us>
2025-11-04 23:02:45 -06:00
Dax Raad
234db24f1f
tui: fix command validation to prevent invalid commands from being executed
2025-11-04 20:46:01 -05:00
Dax Raad
ebca25462e
tui: fix session abort when autocomplete is visible
2025-11-04 18:45:39 -05:00
Aiden Cline
01b9148c04
fix: image reading error, also add error toast for event bus
2025-11-04 17:30:58 -06:00
Dax Raad
71b04ffa99
add command bar option to interrupt session
2025-11-04 17:11:07 -05:00
Aiden Cline
678ca757c9
fix: permissions not responding to esc
2025-11-04 16:08:31 -06:00
Ola
fe94bb8e50
feat(provider): add GitHub Enterprise support for Copilot ( #2522 )
...
Co-authored-by: Jon-Mikkel Korsvik <48263282+jkorsvik@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 15:36:12 -06:00
Timo Clasen
8a9a474df6
feat(TUI): add autocomplete readline style keybinds ( #3717 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-11-04 13:28:03 -06:00
Aiden Cline
52e2b40610
fix: stop showing auto complete if user types a space
2025-11-04 13:22:18 -06:00
Dax Raad
ee1ff8cc07
tui: add ability to interrupt running sessions from command palette
2025-11-04 14:07:22 -05:00
Dax Raad
bc6f4aed2b
local web
2025-11-04 12:33:14 -05:00
Aiden Cline
2af3f19397
respect: disable_paste_summary
2025-11-04 11:29:12 -06:00
Aiden Cline
9275665868
fix: /undo command
2025-11-04 10:59:34 -06:00
Christian Stewart
09bb819064
fix(tui): worker path resolution in dev mode ( #3778 )
...
Signed-off-by: Christian Stewart <christian@cjs.zip>
Co-authored-by: Sebastian Herrlinger <hasta84@gmail.com>
2025-11-04 17:38:11 +01:00
Pranshu Raj
aec44abcf6
[FIX]: Refocus prompt after session delete ( #3882 )
2025-11-04 08:57:59 -06:00
arc-source-coder
737ddab300
tui: make /mcp an alias for /status ( #3894 )
2025-11-04 08:52:28 -06:00
Dax Raad
25eb100210
tui: fix tool permission lookup to use correct session ID
2025-11-04 00:50:12 -05:00
Dax Raad
9886353715
fix: persist -m model when switching agents
...
Add initial model from command line to fallback chain so it persists
when switching agents with tab, matching behavior of config model.
Resolves #3863
2025-11-03 23:51:52 -05:00
Aiden Cline
f501501791
fix: piping
2025-11-03 22:36:10 -06:00
Dax Raad
c103052f93
fix: handle parsePatch errors in TUI to prevent crashes
...
Wrap parsePatch calls in try-catch blocks to gracefully handle malformed
diffs that can occur when undoing after tool_use/tool_result errors or
cancelled prompts. Prevents TUI from crashing with 'Added line count did not
match for hunk' error.
Fixes #3700
2025-11-03 23:36:04 -05:00
Greg Pstrucha
68039d4c71
Fix file tagging in multi line inputs ( #3865 )
2025-11-03 23:22:38 -05:00
Aiden Cline
d3566d3b1a
ignore: delete unused code
2025-11-04 04:01:22 +00:00
Stephen Collings
b275e18d28
fix: Provide OPENCODE & AGENT env vars ( #3843 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-11-04 04:01:22 +00:00
Dax Raad
af9a1797b5
tui: use keybind helper for history navigation to respect custom keybindings
2025-11-04 04:01:22 +00:00
Dax Raad
c49f5939a2
tui: fix model selection for models with nested paths
...
Users can now select models with multiple slashes like 'openrouter/google/gemini-2.5-pro'
in the TUI. Previously the TUI would only parse the first two parts of the model
path, showing 'Invalid model openrouter/google' for nested models.
2025-11-03 19:52:43 -05:00
kaanmertkoc
63862b1609
feat: implement stats command ( #3832 )
2025-11-03 18:41:30 -06:00
Mikhail Wahib
1cf1e88b52
fix: print the modified keybind for command_list ( #3859 )
2025-11-03 18:29:23 -06:00
Adi Yeroslav
3ac82227f1
fix: update logo ( #3833 )
2025-11-03 16:18:38 -06:00
Dax Raad
adcdbbddc7
tui: remove duplicate copy message command entry
2025-11-03 17:10:20 -05:00
Dax Raad
0da1ed3fc8
tui: add copy last assistant message to session menu
2025-11-03 16:47:18 -05:00
Dax Raad
178a14ce3e
fix dirs query param
2025-11-03 16:35:55 -05:00
Timo Clasen
8e1010dc3f
feat(TUI): don't show /share hint if sharing is disabled ( #3835 )
2025-11-03 15:30:55 -06:00
Adi Yeroslav
9c82f1f5e9
fix: session rename functionality ( #3840 )
2025-11-03 15:26:30 -06:00
Dax Raad
d26605aa56
tui: add support for Ctrl+_ key combination in keybind parser
2025-11-03 16:16:09 -05:00
Dax Raad
902763b47d
web command
2025-11-03 16:10:23 -05:00
Tyler Gannon
7652a96064
fix: wait for stdout to flush in generate command ( #3821 )
2025-11-03 14:05:48 -06:00
Haris Gušić
573ffe186b
fix(tui): Show correct keybind in session delete confirmation message ( #3805 )
2025-11-03 09:22:05 -05:00
frankdierolf
2c3aa330b9
fix: correct clipboard image encoding and binary handling ( #3817 )
2025-11-03 09:21:13 -05:00
Sebastian Herrlinger
6deaf54bb3
use new opentui getTextRange method and Bun.stringWidth instead of value.length to mitigate issues like #3734
2025-11-03 15:15:55 +01:00
Ivan Starkov
93e52f7ecf
feat: Enhance task display with [subagent type] ( #3772 )
2025-11-03 01:09:31 -06:00
Dax Raad
f42e1c6375
tui: fix focus management and dialog interactions
2025-11-02 19:07:22 -05:00
Dax Raad
f68374ad22
DELETE GO BUBBLETEA CRAP HOORAY
2025-11-02 18:43:33 -05:00
Dax Raad
94658c31c5
add back child session cycle
2025-11-02 18:26:38 -05:00
Dax Raad
9fd672a1cb
undo
2025-11-02 16:31:32 -05:00
Dax Raad
10523c4372
move dialog select keybind to input
2025-11-02 15:47:04 -05:00
Dax Raad
05489bc843
tui: fix file path handling when pasting images with spaces in filename
...
- Fixes issue where files with spaces in their names couldn't be pasted as images
- Prevents default paste behavior to avoid conflicts with image insertion
- Improves error handling for file reading operations
2025-11-02 13:45:44 -05:00
Dax Raad
3f02eecf22
tui: add /timeline command to quickly navigate to specific messages in session history
2025-11-02 18:27:42 +00:00
kcrommett
4da58294d9
add nightowl theme back after opentui release ( #3732 )
2025-11-02 04:29:14 -05:00
Dax Raad
28e765ef0a
fix dialog
2025-11-02 02:53:55 -05:00
Dax Raad
bfbcb5f200
tui: prevent default Enter key behavior when selecting dialog options to avoid conflicts
2025-11-02 01:19:30 -05:00
Sebastian Herrlinger
92a1943771
upgrade to opentui 0.1.32, activates kitty keyboard
2025-11-02 01:45:38 +01:00
Dax
104a895a71
Light mode ( #3709 )
2025-11-01 13:54:01 -04:00
Dax Raad
65d0b3ed6d
sync
2025-11-01 12:14:15 -04:00
Haris Gušić
22a34d7958
feat: tui: Port /exit command and all command aliases ( #3665 )
2025-11-01 12:13:10 -04:00
Dax Raad
d55a2fd56c
tui: change delete keybind to ctrl+d in session list dialog
2025-11-01 11:53:46 -04:00
Dax Raad
9e49870118
remember sidebar position
2025-11-01 11:40:33 -04:00
Haris Gušić
0170577743
feat: tui: Add --prompt option ( #3668 )
2025-11-01 11:18:31 -04:00
Yuku Kotani
2fe7d13e69
Add formatter status display to TUI status dialog ( #3701 )
2025-11-01 11:14:39 -04:00
Dax Raad
1bc3c98ae7
ensure wl-copy is available
2025-11-01 11:10:39 -04:00
Haris Gušić
55787f2caa
fix: tui: Handle Clipboard.copy errors properly ( #3685 )
2025-11-01 15:34:21 +01:00
Haris Gušić
7df61a74a0
fix: tui: add toast for /share url copy ( #3686 )
2025-11-01 08:06:56 -05:00
Haris Gušić
c72f8b17c6
fix: tui: Fix /editor command ( #3663 )
2025-11-01 00:16:06 +00:00
Dax Raad
5565f14ef5
tab to accept autocomplete
2025-10-31 20:10:01 -04:00
Dax Raad
10a4455c6f
tui: fix prompt text aggregation to exclude synthetic content
2025-10-31 20:01:27 -04:00
Dax Raad
68050ab802
tui: prevent clipboard operations from throwing errors on process exit
2025-10-31 19:54:15 -04:00
Dax Raad
9beb0f8512
tui: improve keyboard navigation and MCP server status display
2025-10-31 19:47:08 -04:00
Dax Raad
d4cb47eadc
tui: add keyboard shortcuts to cycle through recently used models
...
Users can now press F2 to cycle forward and Shift+F2 to cycle backward through their recently used models, making it faster to switch between commonly used AI models without opening the model selection dialog.
2025-10-31 19:42:41 -04:00
Dax Raad
261ff416a9
sync
2025-10-31 23:05:11 +00:00
Aiden Cline
20fc56d020
Revert "opentui: fix: Make worker.ts path independent from cwd ( #3600 )"
...
This reverts commit d473d4ffc8 .
2025-10-31 17:57:56 -05:00
Dax Raad
30f9fa12d9
tui: add session rename functionality with /rename command
...
- Add /rename command to autocomplete when a session is active
- Add rename dialog component for changing session names
- Add rename option to session list dialog with 'r' keybind
- Add session rename command to command registry
2025-10-31 18:44:33 -04:00
Haris Gušić
d473d4ffc8
opentui: fix: Make worker.ts path independent from cwd ( #3600 )
2025-10-31 17:37:31 -05:00
Dax Raad
3823d8d50e
tui: simplify theme selection API by renaming setSelectedTheme to set
2025-10-31 18:11:36 -04:00
Dax Raad
7a926b32ce
respect theme in config
2025-10-31 18:04:38 -04:00
Haris Gušić
a5ede68241
fix: Remove conflicting "-h" aliases in TUI spawn and thread commands ( #3651 )
2025-10-31 16:59:59 -05:00
Aiden Cline
60dc38050d
fix: unsupported option
2025-10-31 16:53:08 -05:00
Dax Raad
31d0caee38
tui: add /editor command to autocomplete for opening external editor
2025-10-31 17:47:08 -04:00
Dax Raad
2a7ab45605
add /theme
2025-10-31 17:44:41 -04:00
Aiden Cline
019054dd1e
Revert "fix: ensure flags & docs match ( #3638 )"
...
This reverts commit a018a15f32 .
2025-10-31 16:43:29 -05:00
opencode-agent[bot]
a018a15f32
fix: ensure flags & docs match ( #3638 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-31 16:33:46 -05:00
Nathan Thomas
e630d680dd
feat: allow ctrl+d to exit the app ( #3636 )
2025-10-31 16:27:41 -05:00
Haris Gušić
9e392f25a6
feat: Improve error boundary add button to easily create issue in github ( #3639 )
2025-10-31 16:20:32 -05:00
Dax Raad
aae0ce9921
tui: improve autocomplete component styling and update test command
2025-10-31 16:21:30 -04:00
Dax Raad
81b94d84dc
ignore
2025-10-31 20:17:40 +00:00
Dax Raad
afe8cecc2b
tui: add persistent key-value storage for user preferences
...
- Add KVProvider context for storing user preferences like theme and warnings
- Update theme context to use KV storage instead of sync config
- Move openrouter warning to persistent KV storage
- Refactor theme selection to persist user choice across sessions
2025-10-31 16:13:02 -04:00
Dax Raad
9021dd60a1
tui: add /session command to list available sessions
2025-10-31 15:41:36 -04:00
Dax
96bdeb3c7b
OpenTUI is here ( #2685 )
2025-10-31 15:07:36 -04:00
Haris Gušić
c1ada302f9
fix: Opencode hangs after exit ( #3481 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 23:57:58 -05:00
Ritoban Dutta
a3ba740de4
fix: resolve hanging permission prompts in headless mode ( #3522 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-30 15:37:41 -05:00
Aiden Cline
42e0b47a7d
fix: better frontmatter errors
2025-10-30 10:56:40 -05:00
Haris Gušić
832ffd2303
fix: Use process.stdout.write instead of console.log ( #3508 )
2025-10-28 15:38:08 -05:00
Aiden Cline
37380e1f94
add --title flag to opencode run ( #3507 )
2025-10-28 13:32:36 -05:00
Frank
4caa458232
acp: fix type error
2025-10-27 21:40:08 -04:00
Jérôme Benoit
0eb899a950
chore: cleanup versioned zod imports ( #3460 )
...
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2025-10-26 14:50:41 -05:00
Aiden Cline
98d51dde6a
acp: slash commands, agents, permissions, @ references, code cleanup ( #3403 )
...
Co-authored-by: yetone <yetoneful@gmail.com>
2025-10-25 01:32:46 -05:00
Andrew Pashynnyk
883b71ac36
fix: respect local config for autoupdate settings ( #3408 )
...
Co-authored-by: Claude <noreply@anthropic.com>
2025-10-24 09:50:09 -05:00
Haris Gušić
97c7e941eb
fix: opencode run shouldn't print to stderr ( #3341 )
2025-10-21 19:53:09 -05:00
Dax Raad
d7cdabe8b7
refactor acp args
2025-10-21 15:24:09 -04:00
Cheol Kang
2f66055d25
feat: add -f/--file flag to opencode run command ( #3295 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-10-20 23:25:54 -05:00
Joe Schmitt
f3f21194ae
feat: Add ACP (Agent Client Protocol) support ( #2947 )
...
Co-authored-by: opencode-bot <devnull@opencode.local>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: GitHub Action <action@github.com>
2025-10-20 16:55:22 -05:00
Aiden Cline
43a07c6aca
hide invalid option
2025-10-19 20:51:33 -05:00
Haris Gušić
1dba01e057
Improve typo directory error ( #3247 )
2025-10-17 14:34:37 -05:00
Aiden Cline
64617c113a
ignore: tweak permissions
2025-10-16 12:48:39 -05:00
Aiden Cline
860c6338fc
fix: github action ( #3223 )
2025-10-16 12:33:33 -05:00
Dax Raad
d07e79e6ad
ci: channels
2025-10-14 15:09:18 -04:00
Dax Raad
61f6091de1
ci: test
2025-10-14 14:56:21 -04:00
Dax Raad
289783f627
ci: version stuff
2025-10-14 14:52:05 -04:00
Aiden Cline
717b544633
fix: false positive package manager detection in upgrade ( #3181 )
2025-10-14 13:18:40 -05:00
Netanel Draiman
4d019430e2
feat(cli): add session option to attach command ( #3167 )
2025-10-14 11:04:32 -05:00
Dax Raad
9b52d33889
core: improve directory validation error messages to help users fix invalid directory names
2025-10-09 22:40:23 -04:00
Haris Gušić
c5b5795636
fix: process.stdout.write instead of console.log for export cmd ( #3049 )
2025-10-09 00:46:19 -05:00
Dax Raad
10998d62b9
core: improve session API reliability with proper input validation
2025-10-06 19:37:44 -04:00
Yuku Kotani
e7b6ffb314
feat: Vertex AI support; add google-vertex and google-vertex-anthropic providers ( #2347 )
2025-10-04 01:10:38 -04:00
Aiden Cline
395c41b748
add command to debug config ( #2962 )
2025-10-03 23:07:58 -05:00
Aiden Cline
860e47edea
fix: run cmd json format when running command ( #2926 )
2025-10-02 10:37:42 -05:00
Dax Raad
6e19200fca
overhaul file search and support @ mentioning directories
2025-10-01 03:37:01 -04:00
Arjun Singh
8a28d34fe9
Include step-start and step-finish for cost tracking ( #2810 )
2025-09-27 03:45:36 -04:00
Adam
945de4eddc
wip: watch select .git files in watcher
2025-09-25 14:41:31 -05:00
Siddhant Choudhary
449994f120
feat: output-format flag to stream json output ( #2471 )
...
Co-authored-by: Siddhant Choudhary <sid@treaps.com>
Co-authored-by: rekram1-node <aidenpcline@gmail.com>
2025-09-23 16:19:32 -05:00
Dax Raad
f40b91ab7a
fix: remove file existence check from LSP debug and format storage code
2025-09-23 16:49:57 -04:00
Aiden Cline
c23510346b
ignore: lsp debug file check ( #2743 )
2025-09-22 22:16:03 -05:00
Dax Raad
ae6154e1c3
ignore: rework bootstrap so server lazy starts it
2025-09-19 05:11:29 -04:00
Dax Raad
40c206c2f9
add `opencode attach` command to connect to a remote opencode server
2025-09-17 03:30:25 -04:00
Dax
14cb2d2af6
feat: improve file watcher with chokidar and better ignore patterns ( #2621 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-09-16 00:17:10 -04:00
Dax
c1b4e1f19d
Upgrade to Zod v4 ( #2605 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-09-15 03:12:07 -04:00
Tommy D. Rossi
4bf0541bd6
log bash output when using `opencode run` ( #2595 )
2025-09-14 09:03:40 -05:00
Mani Sundararajan
1f8d396b76
fix(dev): build tui with correct file ext for windows ( #2590 )
2025-09-14 01:59:25 -04:00
Dax
9bb25a9260
Session management and prompt handling improvements ( #2577 )
...
Co-authored-by: GitHub Action <action@github.com>
2025-09-13 05:46:14 -04:00
Dax Raad
4c94753eda
compaction improvements
2025-09-11 02:22:51 -04:00
Aiden Cline
fde03d3c93
fix: exit code being non zero when using run cmd ( #2523 )
2025-09-09 12:00:55 -05:00
Dax Raad
4e24e04aec
ignore: opencode auth stuff
2025-09-03 14:43:50 -04:00
Frank
0f8cb69bff
wip console
2025-09-03 09:24:23 -04:00
Dax
f993541e0b
Refactor to support multiple instances inside single opencode process ( #2360 )
...
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk
1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Aiden Cline
e2df3eb44d
add --command to opencode run ( #2348 )
2025-09-01 14:19:18 -05:00
Aiden Cline
3625766ad4
tweak: ensure run command doesn't send request if no prompt present ( #2332 )
2025-08-30 10:39:28 -05:00
Aiden Cline
12eb1391b9
fix: lsp debug cmd log ( #2310 )
2025-08-29 11:11:26 -05:00
Adam
e37e878e72
feat: home dir in app info
2025-08-28 14:34:20 -05:00
Ethan Shea
555202f3b1
Vercel AI Gateway key deeplinks into the dashboard ( #2287 )
2025-08-28 11:06:45 -05:00
Adam
8749c0c707
feat: file list api
2025-08-27 15:28:03 -05:00
Timo Clasen
012a292948
fix: model flag in non interactive mode ( #2249 )
2025-08-25 15:06:54 -05:00
Dax Raad
d9233872b9
add `createOpencodeServer` to js sdk and wait for readiness. always use random port for `opencode serve`. add `/client` and `/server` imports for js sdk
2025-08-21 17:13:24 -04:00
Dax Raad
4518f96e3d
add plugin hook for config
2025-08-21 11:22:24 -04:00
Dax Raad
b11fe9fbc6
ignore: remove import
2025-08-20 12:29:24 -04:00
Dax Raad
60f3d413de
remove auto browser open for now
2025-08-20 12:28:00 -04:00
Aiden Cline
a2db58f125
fix: don't let --continue access subagent session ( #2091 )
2025-08-19 22:40:07 -05:00
Aiden Cline
c0f90eb564
tweak: better agent create error handling ( #2058 )
2025-08-19 00:14:50 -05:00
Dax
f19586cebd
fix anthropic console auth ( #2049 )
2025-08-18 17:12:21 -04:00
Frank
2034fabc7d
Squashed commit of the following:
...
commit 7b2ad6a1abf88e0731f15bbf6e281b29a610dd76
Merge: 74c85391 847a63e1
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 15:31:54 2025 +0800
Merge branch 'dev' into github
commit 74c85391b576d01df298f6c30e3399b281b5c997
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 15:30:14 2025 +0800
sync
commit 0d27f8e490f1aa242e1a3fcd1f21eb077f852207
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 14:30:57 2025 +0800
sync
commit 0cf7e6c89f173b053f37cc0d316011b3e9d5fcc4
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 11:54:57 2025 +0800
sync
commit a782cb7a268bf98916c3850083eaf44ebc38de05
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 11:53:25 2025 +0800
sync
commit aa557014584abaf462656ba9b1de7c8bd6e9b9d8
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 11:48:10 2025 +0800
sync
commit 73c8150479bd3c965087c634102df047a36b40ab
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 01:29:29 2025 +0800
sync
commit c5325134e80ce3f9e2cb88e5a51893e4ffd880c2
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 01:07:48 2025 +0800
sync
commit c5b646aa88760731ac9cd221f677bd400c31224b
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 01:02:02 2025 +0800
sync
commit 27f7cc86ab4713a26d316ae71d2aa5978aaa2007
Author: Frank <frank@sst.dev>
Date: Mon Aug 18 00:59:22 2025 +0800
sync
commit 0a6152a0e0c2bb0e5b7cafbcb92b908433dd6c5b
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 18:11:31 2025 +0800
fix /opencode trigger
commit f1089103c607ac11251cac5e032e62c8b4667b30
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 17:55:14 2025 +0800
sync
commit 3ad18240248301380a68880315bfa83c18e9652d
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 17:44:11 2025 +0800
sync
commit 24f0f81773762a38ba0a26e599b718495e2f4b54
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 17:18:22 2025 +0800
sync
commit bc199d32bed9679d2f80ade527fa57a91e0883ca
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 16:59:03 2025 +0800
sync
commit 6cf860be843e94401166a6de83e36d6bdd8ca6d7
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 16:54:48 2025 +0800
sync
commit f5f753ff38498062b2e3de38a1be94158fce1463
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 14:43:12 2025 +0800
sync
commit 26d2e23a3ee99141a5951a153e444a1be25548dc
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 14:33:40 2025 +0800
sync
commit c5b3f54a0ae6064ff51c11ade41e21b594939715
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 14:16:10 2025 +0800
sync
commit 1c74e9a7ad35551eea53d0e51dcd28e6ae30a944
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 08:17:53 2025 +0800
sync
commit 89052dc9aaf7e4f02b7ca869ef6017322ee21c94
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 08:12:43 2025 +0800
sync
commit 42931d4d2a942eedef44f5570a57bf84df26ecfa
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 08:08:37 2025 +0800
sync
commit f22e97dd051ae3f592f4258a8d0270ca7fd60338
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 08:01:57 2025 +0800
sync
commit 2dda422ef85d2308b459cebe7f202b7fb782e75e
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 07:55:38 2025 +0800
sync
commit b8be1d0e9e89732bd60185c724cda72b8de5f145
Author: Frank <frank@sst.dev>
Date: Sun Aug 17 07:48:18 2025 +0800
sync
commit 78c84b96a3c8aa78e0ffa089a2a72ad80348fe72
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 20:49:26 2025 +0800
sync
commit dd9c0c83090ea6c5da963303227a1e09a8434994
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 20:47:25 2025 +0800
sync
commit 5eb917abba182712d1581376e95de45a092bbb24
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 20:35:48 2025 +0800
sync
commit 43cf83e7ccbc99484602b06cbb6aafdbc63bf11c
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 20:32:49 2025 +0800
sync
commit 10673ca3d2e1572e15c944ddd7d7af8175971f74
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 19:55:53 2025 +0800
sync
commit c45ae8a233ed64c49a08b98f3ad01e0348b2df22
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 19:53:52 2025 +0800
sync
commit 3c329dee05ecda95f5d249552aafc885997f07f2
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 19:49:56 2025 +0800
sync
commit 5797048db864142f15d73c854131a77a31a421ee
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 18:00:04 2025 +0800
sync
commit 2741338e8a27e57d9d023cf9c0a6a05276b82f41
Author: Frank <frank@sst.dev>
Date: Sat Aug 16 17:54:42 2025 +0800
sync
commit a51a8ca6d094bd5f98330c730d335285688c6ed8
Author: Frank <frank@sst.dev>
Date: Fri Aug 15 18:59:29 2025 +0800
sync
commit f4eeeb612dfa6f1714a954dd167519ade0c36a2d
Author: Frank <frank@sst.dev>
Date: Fri Aug 15 18:56:35 2025 +0800
sync
commit 1d0509c5630904a5a9e89ce0de09fbebb6f711be
Author: Frank <frank@sst.dev>
Date: Fri Aug 15 18:54:21 2025 +0800
sync
commit 339807d1b88d2439e9543b5da4ca2538a49f4ab8
Author: Frank <frank@sst.dev>
Date: Fri Aug 15 18:49:22 2025 +0800
sync
commit 70b4b78922fe80424d8922bb999ed84d28dff005
Author: Frank <frank@sst.dev>
Date: Fri Aug 15 18:04:57 2025 +0800
sync
2025-08-18 15:34:28 +08:00
Aiden Cline
847a63e15a
fix: gh install trim remote origin ( #2030 )
2025-08-17 22:45:22 -05:00
Aiden Cline
576f5242bc
fix: remove unsupported mode flag, change to agent ( #1979 )
2025-08-15 22:02:06 -05:00
Timo Clasen
af5f7d0887
fix: run command ( #1971 )
2025-08-15 15:58:20 -05:00
Aiden Cline
8355ee2061
fix: more permissive owner/repo detection ( #1948 )
2025-08-15 06:11:41 -05:00
Dax Raad
a433766a31
allow plugins to create custom auth providers
2025-08-14 16:25:08 -04:00
Aiden Cline
ed5f76d849
fix: better error message when config has invalid references ( #1874 )
2025-08-12 19:28:41 -05:00
Dax Raad
fb0a200ecf
refactor: replace OPENCODE_AGENTS env var with HTTP API call
...
Replace environment variable passing of agent data from Node.js to TUI
with proper HTTP API call to /agent endpoint. This improves architecture
by eliminating env var dependencies and allows dynamic agent data fetching.
2025-08-11 22:42:25 -04:00
Dax Raad
e6f3cf0839
fix pyright
2025-08-11 22:27:24 -04:00
Dax Raad
f03fae03e5
switch back to didUpdate instead of closing and opening file
2025-08-11 21:36:05 -04:00
Aiden Cline
b2a4f57d64
feat: add -c and -s args to tui command following run command pattern ( #1835 )
2025-08-11 18:32:09 -05:00
Dax Raad
6145dfcca0
fix run command to be less messy
2025-08-11 01:45:05 -04:00
Aiden Cline
409a6f93b2
fix: enforce field requirement for cli cmds ( #1796 )
2025-08-10 22:17:12 -04:00
Dax Raad
70db372466
add OPENCODE_DISABLE_AUTOUPDATE flag
2025-08-10 21:52:52 -04:00
Erick Christian
b789844b9c
feat(agent): allow mode selection during creation ( #1699 )
2025-08-08 20:07:20 -04:00
Dax
c34aec060f
Merge agent and mode into one ( #1689 )
...
The concept of mode has been deprecated, there is now only the agent field in the config.
An agent can be cycled through as your primary agent with <tab> or you can spawn a subagent by @ mentioning it. if you include a description of when to use it, the primary agent will try to automatically use it
Full docs here: https://opencode.ai/docs/agents/
2025-08-07 16:32:12 -04:00
Yihui Khuu
90d2b26426
fix: run command should use specified model from cli args if provided ( #1648 )
2025-08-06 05:39:44 -05:00
Dax Raad
ca031278ca
wip: plugins
2025-08-02 18:50:19 -04:00
Aiden Cline
ae6e47bb42
tweak: make gh action ignore url mentions of opencode ( #1531 )
2025-08-02 09:31:23 -05:00
Dax Raad
71cd84dbbb
force models.dev refresh on auth login
2025-08-01 17:48:01 -04:00
CodinCat
510fe8a72a
handle the optional `v` in upgrade command when using curl ( #1500 )
2025-08-01 14:15:22 -04:00
Dax Raad
e74b4d098b
allow search in provider select
2025-08-01 14:03:22 -04:00
Dax Raad
a2191ce6fb
wip: permissions
2025-07-31 16:38:37 -04:00
Aiden Cline
7e9050edb9
feat: jsonc configuration file support ( #1434 )
2025-07-31 06:25:26 -05:00
Dax Raad
9bedd62da4
experimental well-known auth support
2025-07-29 19:30:51 -04:00
Dax Raad
7e9ac35666
remove min/max in tool schemas
2025-07-29 17:39:47 -04:00
Frank
4a46144419
convert share backend to hono app
2025-07-29 16:39:48 -04:00
Dax Raad
9c9cbb3e81
wip: undo properly remove messages from UI
2025-07-28 22:58:31 -04:00
Dax Raad
c24fbb4292
wip: snapshot
2025-07-28 22:58:31 -04:00
Jay V
b65172a2b7
Tweak auth cli copy
2025-07-28 20:00:30 -04:00
Frank
9741a6703c
fix input format affected by installing vscode extension
2025-07-27 11:56:18 -04:00
Frank
27a079d9cb
simplify github action
2025-07-27 09:56:09 -04:00
Frank
670f470eee
wip: github actions
2025-07-26 02:49:05 -04:00
Frank
a007d65f62
wip: github actions
2025-07-25 20:27:42 -04:00
Frank
a07f37073b
wip: github actions
2025-07-25 19:05:55 -04:00
Frank
1149b984d9
wip: github actions
2025-07-25 18:29:53 -04:00
Frank
3a7a2a838e
wip: github actions
2025-07-25 17:34:47 -04:00
Dax Raad
8dcd39f5b7
real life totally configurabl ai subasians
2025-07-24 21:21:02 -04:00