Commit Graph

560 Commits

Author SHA1 Message Date
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
Dax Raad aa2a5057ac wip: fix type errors 2025-07-24 17:38:11 -04:00
Dax Raad 284c01018e wip: more snapshot stuff 2025-07-24 17:38:11 -04:00
Dax 96866e52ce
basic undo feature (#1268)
Co-authored-by: adamdotdevin <2363879+adamdottv@users.noreply.github.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Andrew Joslin <andrew@ajoslin.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Tobias Walle <9933601+tobias-walle@users.noreply.github.com>
2025-07-23 20:30:46 -04:00
Dax Raad 12b86829d9 add debug paths command 2025-07-23 12:14:54 -04:00
Dax Raad 5aafab118f wip: tui api 2025-07-22 12:15:50 -04:00
Dax Raad f20ef61bc7 wip: api for tui 2025-07-21 19:53:58 -04:00
Frank 5611ef8b28 wip: vscode extension 2025-07-21 19:10:57 -04:00
Frank 933d50e25a wip: github actions 2025-07-20 12:36:53 -04:00
Dax Raad 4bbbbac5f6 vercel ai gateway 2025-07-19 10:08:36 -04:00
Dax d56dec4ba7
wip: optional IDs in api (#1128) 2025-07-18 13:42:50 -04:00
Wendell Misiedjan e681d610de
feat: support AWS_BEARER_TOKEN_BEDROCK for amazon bedrock provider autoloading (#1094) 2025-07-17 09:12:30 -05:00
adamdotdevin 6a5a4247c6
fix(gh): build 2025-07-16 06:13:43 -05:00
Frank 20b8efcc50 wip: github actions 2025-07-16 15:36:23 +08:00
Frank a86d42149f wip: github actions 2025-07-16 14:59:53 +08:00
Aiden Cline bbeb579d3a
tweak: (opencode run): adjust tool call rendering, reduce number of "Unknowns" (#1012) 2025-07-15 11:22:57 -05:00
Dax Raad 2cdb37c32b support anthropic console login flow 2025-07-14 18:07:55 -04:00
Dax Raad b4e4c3f662 wip: snapshot 2025-07-14 15:29:08 -04:00
Dax Raad 06554efdf4 get rid of cli markdown dep 2025-07-13 23:06:31 -04:00
Dax Raad 73d54c7068 fix type error 2025-07-13 17:25:13 -04:00
Dax 90d6c4ab41
Part data model (#950) 2025-07-13 17:22:11 -04:00
opencode-agent[bot] 736396fc70
Added sharing config with auto/disabled options (#951)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2025-07-13 16:43:58 -04:00
Dax Raad 91f8477ef5 wip: mcp 2025-07-13 16:22:16 -04:00
Dax Raad 57ac8f2741 wip: stats 2025-07-11 17:37:41 -04:00
Dax Raad b00bb3c083 run: properly close session.list 2025-07-10 16:13:01 -04:00
Dax Raad 9db3ce1d0b opencode run respects mode 2025-07-10 11:28:28 -04:00
Dax Raad 1cc55b68ef wip: scrap 2025-07-10 11:25:37 -04:00
adamdottv 6603d9a9f0
feat: --mode flag passed to tui 2025-07-10 10:19:25 -05:00
adamdottv 5dc1920a4c
feat: mode flag in cli run command 2025-07-10 10:13:15 -05:00
adamdottv ce4cb820f7
feat(tui): modes 2025-07-10 10:06:51 -05:00
adamdottv 85dbfeb314
feat(tui): @symbol attachments 2025-07-10 05:53:00 -05:00
Dax Raad 6de955847c big rework of LSP system 2025-07-08 18:14:49 -04:00
adamdottv 6efe8cc8df
fix: env has to be string 2025-07-08 14:59:03 -05:00
adamdottv daa5fc916a
fix(tui): pasting causes panic on macos 2025-07-08 14:57:17 -05:00
Aiden Cline 8322f18e03
fix: display errors when using `opencode run ...` (#751) 2025-07-08 10:38:11 -05:00
Dax Raad 6100a77b85 start file watcher only for tui 2025-07-07 21:05:04 -04:00
Dax Raad 27f7e02f12 run: truncate prompt 2025-07-07 16:41:42 -04:00
Dax Raad da909d9684 append piped stdin to prompt 2025-07-07 16:33:21 -04:00
Dax Raad c51de945a5 Add stdin support to run command
Allow piping content to opencode run when no message arguments are provided, enabling standard Unix pipe patterns for better CLI integration.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-07-07 16:29:13 -04:00
Dax Raad 7cfa297a78 wip: model and prompt flags for tui 2025-07-07 16:24:37 -04:00
Dax f884766445
v2 message format and upgrade to ai sdk v5 (#743)
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me>
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com>
Co-authored-by: Jay V <air@live.ca>
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com>
2025-07-07 15:53:43 -04:00
Liang-Shih Lin 2446483df5
fix: Skip opencode upgrade if same version (#720) 2025-07-06 23:36:59 -04:00
Dax Raad 3bc238b58b wip: logs 2025-07-03 19:29:51 -04:00
Jacob Hands 69920a73d7
fix: use correct opencode bin path when running in development mode (#483) 2025-07-02 23:37:48 -04:00
Dax Raad 7e5941e14b ignore: add file status command 2025-07-01 20:39:43 -04:00
Dax Raad c68aeed8d9 ignore: fix file read with diff 2025-07-01 20:08:42 -04:00
Dax Raad 26dcb85de1 add file watcher 2025-07-01 13:45:25 -04:00
Dax Raad 11d042be25 snapshot functionality 2025-07-01 12:28:34 -04:00
Dax Raad de15e67834 fix lsp diagnostic accurancy 2025-06-30 22:48:32 -04:00
Dax Raad fea56d8de6 fix loading api key from env for openai compatible providers 2025-06-30 19:07:51 -04:00
Dax Raad 9ad1687f04 optimistically boot lsp servers 2025-06-30 16:45:26 -04:00
Dax Raad dd5736fe5f add back in file hierarchy in system prompt but limit to 200 items 2025-06-30 14:46:46 -04:00
Dax Raad c0773dc7c5 smooth out initial onboarding flow 2025-06-27 16:09:59 -04:00
Dax Raad 226a4a7f36 temporary patch for input lag on initial run 2025-06-27 14:36:03 -04:00
Dax Raad 2ec0611f42 lazy load formatters 2025-06-27 11:33:37 -04:00
Dax Raad 51bf193889 ignore: run prettier 2025-06-26 22:30:44 -04:00
Dax Raad f8b78f08b4 add auto formatting and experimental hooks feature 2025-06-26 22:17:08 -04:00
Dax Raad 4bc651f958 fix: improve JSON formatting and add piped output support for run command
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-26 17:32:00 -04:00
Mike Wallio db24bf87c0
Fix `undefined is not an object (evaluating 'G.title')` (#395) 2025-06-25 19:40:09 -04:00
Dax Raad 9751937894 Enhance auth command with environment variable display and add models command
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-24 22:24:55 -04:00
Dax Raad 0fc8dfc77e do not print error on ctrl+c during prompts 2025-06-24 22:09:43 -04:00
Dax Raad 4b26b43855 added opencode serve command 2025-06-24 20:52:09 -04:00
Dax Raad 00a3d818b6 ci: windows 2025-06-24 18:46:43 -04:00
Dax Raad 4d3d63294d externalize github copilot code 2025-06-24 10:42:19 -04:00
Jay V fa991920bc fix help copy 2025-06-23 13:00:24 -04:00
Dax Raad 100d6212be more graceful mcp failures 2025-06-22 21:10:05 -04:00
Dax Raad 00c4d4f9f8 fix double entry of github copilot in auth login 2025-06-22 19:13:25 -04:00
Martin Palma 6e6fe6e013
Add Github Copilot OAuth authentication flow (#305) 2025-06-22 19:11:37 -04:00
Dax Raad 59f0004d34 Add --method option to upgrade command for manual installation method selection
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-20 20:48:23 -04:00
Dax Raad da35a64fa1 handle brew upgrades better 2025-06-20 20:27:23 -04:00
Dax Raad 41dba0db08 config validation 2025-06-20 00:57:28 -04:00
Jay V f5e7f079ea Copy changes 2025-06-19 16:28:03 -04:00
adamdottv 193718034b
fix: typescript error 2025-06-19 13:57:25 -05:00
Dax Raad ec1c9f8cd1 use production share url 2025-06-19 14:21:00 -04:00
Dax Raad a85b0a370e ci: share 2025-06-19 13:26:15 -04:00
Dax Raad 7d1a1663c8 allow selecting model and continuing previous session for opencode run 2025-06-19 13:00:57 -04:00
Dax Raad 26bab00dab remove opencode_ prefixes from tool names. unfortunately this will break
all old sessions and share links. we'll be more backwards compatible in
the future once we're more stable.
2025-06-19 09:59:44 -04:00
Dax Raad e5e9b3e3c0 rework config 2025-06-18 23:01:19 -04:00
Dax Raad 68e1b3c46c Fix TypeScript compilation errors and consolidate version handling
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 10:27:49 -04:00
Dax Raad b5a4439704 Add autoshare configuration and improve run command UI
Enables automatic session sharing via global config or flag, enhances UI with logo display and provider/model info positioning.

🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-17 01:45:32 -04:00
Dax d054f88130
Improve upgrade command with installation method detection (#158) 2025-06-17 00:07:17 -04:00
Dax Raad fcaf0e6dbf opencode auth login: validation on provider id and better error messages 2025-06-16 15:09:49 -04:00
Dax Raad 2c9fd1e776 BREAKING CHANGE: the config structure has changed, custom providers have an `npm` field now to specify which npm package to load. see examples in README.md 2025-06-16 15:02:25 -04:00
George Potoshin c5eefd1752
Fix: Improve Help UI Readability (Issue #99) (#117) 2025-06-15 18:38:44 -05:00
Dax Raad e30fba0d3c Improve LSP server initialization with timeout handling and skip failed servers
🤖 Generated with [opencode](https://opencode.ai)

Co-Authored-By: opencode <noreply@opencode.ai>
2025-06-15 13:52:57 -04:00
Dax Raad 230d0a1510 fix postinstall script for node 2025-06-15 13:11:11 -04:00
Dax Raad 38879dee2d beginning of upgrade command 2025-06-14 22:05:41 -04:00
Dax Raad 0e035b3115 fix aborting issue 2025-06-14 21:23:57 -04:00
Berr 25f78b053b
fix: improve browser opening error handling in AuthLoginCommand (#111) 2025-06-14 20:07:41 -04:00
Dax Raad af892e5432 docs: readme 2025-06-14 12:13:46 -04:00
Dax Raad 9fb47bc855 Enhance auth command with dynamic provider selection
- Add support for dynamically loading providers from ModelsDev
- Prioritize anthropic as recommended provider
- Add "other" provider option for manual entry
- Include special handling for amazon-bedrock with AWS config guidance
- Expand provider selection UI to show up to 8 providers

🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-13 00:33:54 -04:00
Dax Raad 73e9fb53d5 sync 2025-06-13 00:06:15 -04:00
Dax Raad 29a6603a89 Update CLI run command and session handling
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-12 18:07:31 -04:00
Dax Raad aab47714c9 sync 2025-06-11 19:00:09 -04:00
Dax Raad 9b2b610920 sync 2025-06-11 18:45:18 -04:00
Dax Raad 468cec545a sync 2025-06-11 18:19:21 -04:00
Dax Raad f1de1634d6 Standardize styling in auth commands by replacing Bun.color with UI.Style constants
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-11 00:34:55 -04:00
Dax Raad 8d8663399d sync 2025-06-11 00:27:46 -04:00
Dax Raad 83eb61fd5f Refactor authentication system to consolidate auth flow and remove provider-based commands
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-11 00:21:46 -04:00
Dax Raad 28f5cbbfe9 Fix shutdown handling, error management, and process lifecycle issues
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-10 18:58:47 -04:00
Dax Raad 49110f7412 sync 2025-06-10 18:10:30 -04:00
Dax Raad 5ab2ff9589 onboarding progress 2025-06-10 15:43:14 -04:00
Dax Raad ef7f1f0761 sync 2025-06-10 13:30:13 -04:00
Dax Raad 96b5a079ff Update LSP client/server and CLI scrap command functionality
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-10 13:30:13 -04:00
Dax Raad 4478195ea8 file permissions for anthropic credentials 2025-06-09 17:07:52 -04:00
Dax Raad d8510ab452 Refactor logging system to centralize initialization and remove printLogs parameter
🤖 Generated with [OpenCode](https://opencode.ai)

Co-Authored-By: OpenCode <noreply@opencode.ai>
2025-06-09 14:52:30 -04:00
Dax Raad f22c93ba1b logs 2025-06-06 23:58:09 -04:00
Dax Raad d6afebf22a make lsp better 2025-06-06 17:20:08 -04:00
Dax Raad 265f427d2a lsp progress 2025-06-05 23:42:04 -04:00
Dax Raad 8dfdd3927e sync 2025-06-05 12:06:21 -04:00
Dax Raad 35b03e4cb3 claude oauth support 2025-06-05 11:51:06 -04:00