Kit Langton
eb096d6ff8
feat: add v2 generate text endpoint ( #34371 )
2026-06-28 22:43:58 -04:00
Kit Langton
b538078804
fix(core): remove per-prompt system option ( #34361 )
2026-06-28 21:56:59 -04:00
Kit Langton
53f6c373af
feat(core): add v2 manual compaction ( #34336 )
2026-06-28 21:18:19 -04:00
Kit Langton
7960a47de6
feat(sdk-next): let embedders contribute plugins via opencode.plugin ( #34356 )
2026-06-28 20:30:21 -04:00
opencode-agent[bot]
193ad7b288
fix(core): restore v2 model prompts ( #34275 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-06-28 14:47:20 -05:00
Dax
8b73566c18
fix(core): commit staged revert before admitting new prompt ( #34338 )
2026-06-28 14:50:06 -04:00
Kit Langton
17199335ab
feat(core): restore per-request system prompt ( #34335 )
2026-06-28 14:02:46 -04:00
Kit Langton
46a456d595
feat(core): wire v2 subagent tool ( #34320 )
2026-06-28 12:52:39 -04:00
Kit Langton
c64a4b7557
chore: merge dev into v2 ( #34317 )
...
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com >
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Affan Ali <93028901+affanali2k3@users.noreply.github.com >
Co-authored-by: affanali2k3 <affanalikhanxx@gmail.com >
Co-authored-by: Frank <frank@anoma.ly >
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: James Long <longster@gmail.com >
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
Co-authored-by: Jay V <air@live.ca >
Co-authored-by: Dax Raad <d@ironbay.co >
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com >
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com >
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com >
Co-authored-by: Ben Guthrie <benjee.012@gmail.com >
Co-authored-by: Dax <mail@thdxr.com >
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com >
2026-06-28 11:30:38 -04:00
Dax Raad
18170ffdcd
refactor(cli): simplify updater, remove cache and confirmation
...
- Remove the 24h disk cache (State, readState/writeState, checkInterval)
that served stale latest versions within the TTL window
- Remove file lock (Flock) and confirmation prompt (Prompt/Terminal)
- Every check now hits the npm registry directly
- Updates always auto-install on any version mismatch within the same
major, including rollbacks where the registry version is lower
- Drop the interactive option from check() and the confirm/declined/
dismissed action concepts
2026-06-27 20:52:03 -04:00
Dax Raad
9fae216aee
fix(server): log undo revert operations
2026-06-27 20:32:58 -04:00
Dax Raad
cfd51c2ccd
fix(tui): use span for inline styled hotkey in revert footer
2026-06-27 20:32:14 -04:00
Dax Raad
5829833878
fix(tui): style redo hotkey as normal text in revert footer
2026-06-27 20:30:52 -04:00
Dax Raad
35f503eeb5
feat(tui): add redo hotkey footer and pad file list in revert banner
2026-06-27 20:30:26 -04:00
Dax Raad
76cb4138b2
fix(tui): make undo inclusive of last user message and simplify revert banner
2026-06-27 20:25:08 -04:00
Dax
72db6e4dec
feat(tui): add session rename ( #34264 )
2026-06-27 20:07:23 -04:00
Dax
84503f3353
feat(tui): wire up undo/redo and revert for V2 sessions ( #34263 )
2026-06-28 00:04:53 +00:00
Dax Raad
e71c4f5a22
fix(tui): normalize abbreviated home paths to forward slashes
2026-06-27 18:54:06 -04:00
Dax Raad
6a97999fcc
fix(tui): remove redundant top spacer in session history
2026-06-27 13:54:16 -04:00
Dax Raad
78ad129372
feat(cli): log startup info
...
Emit a log entry on CLI startup with version, channel, and local flag
so every CLI process is visible in opencode.log from the start.
2026-06-27 13:45:42 -04:00
Dax Raad
8692a94c64
feat(cli): log updater check decisions
...
Add Effect.logInfo at every previously-silent path in the updater
check so each run is observable in opencode.log: skip reasons
(local install, disabled, policy), the resolved version with source
(cached vs registry), and the final action (up-to-date, dismissed,
declined).
2026-06-27 13:29:46 -04:00
Dax Raad
d821239272
feat(cli): use installation version and document API debugging
...
- Replace hardcoded "local" version string with InstallationVersion
- Document DESCRIPTION
Make a request to the running server
USAGE
opencode api [flags] <operation | method path...>
ARGUMENTS
operation | method path... stringOpenAPI operation ID, or an HTTP method followed by a path
FLAGS
--data, -d string Request body
--header, -H string Request header in name:value form
--param key=value OpenAPI path or query parameter
GLOBAL FLAGS
--help, -h Show help information
--version, -v Show version information
--completions <bash|zsh|fish|sh> Print shell completion script (choices: bash, zsh, fish, sh)
--log-level <all|trace|debug|info|warn|warning|error|fatal|none> Sets the minimum log level (choices: all, trace, debug, info, warn, warning, error, fatal, none) server/API debugging command in AGENTS.md
2026-06-27 13:18:22 -04:00
Dax Raad
56df9cb348
fix(tui): stop bash spinner when tool errors before command received
2026-06-27 13:17:21 -04:00
Dax Raad
e9cd49fc72
fix(core): fail interrupted session steps
2026-06-27 01:16:30 -04:00
Dax Raad
550fcd7b71
docs(opencode): mark package as v1
2026-06-27 01:16:30 -04:00
Dax Raad
35e8c38f30
feat(cli): add self-update service
...
Check the npm registry (at most once per 24h, file-locked) for newer
@opencode-ai/cli releases and act on a host-level autoupdate policy read
from config. Apply patch updates automatically, confirm minor updates
interactively, and never auto-update across majors. Skip local installs
and honor the disable flag. Wired into the default TUI command
(interactive) and serve (background).
2026-06-27 00:51:45 -04:00
Dax Raad
fa97298c88
fix(tui): interrupt v2 sessions with escape
2026-06-26 22:32:21 -04:00
Dax Raad
8df78e10c8
fix(core): continue after tool defects
2026-06-26 22:02:30 -04:00
Dax Raad
1509df89d9
fix(tui): hide prompt for running shell commands
2026-06-26 21:35:20 -04:00
Dax Raad
449e4902ca
fix(core): load OpenCode provider config asynchronously
2026-06-26 21:16:15 -04:00
Dax Raad
19b2b89e41
test(ci): skip v2 end-to-end checks
2026-06-26 21:04:10 -04:00
Dax Raad
e888147baa
fix(cli): publish scoped package
2026-06-26 21:01:10 -04:00
Dax Raad
063f17382c
fix: stabilize v2 runtime behavior
2026-06-26 20:56:36 -04:00
Dax Raad
0e8a59fffc
fix(ci): publish v2 as next
2026-06-26 15:55:04 -04:00
Dax Raad
40099d93c9
test(ci): drop legacy opencode tests
2026-06-26 14:58:40 -04:00
Dax Raad
2bca4116c0
refactor(tui): use v2 client transport
2026-06-26 14:57:01 -04:00
Dax Raad
8494c6840e
refactor(ci): use branch npm tag
2026-06-26 14:54:35 -04:00
Dax Raad
fe0eb4f6e8
fix(ci): use v2 npm tag
2026-06-26 14:53:35 -04:00
Dax Raad
6c9bccf1fc
fix(cli): publish v2 package
2026-06-26 14:52:30 -04:00
Dax Raad
095388a5df
feat(tui): add v2 terminal interface
2026-06-26 14:38:25 -04:00
opencode-agent[bot]
d5154308ee
chore: generate
2026-06-26 17:56:55 +00:00
Dax Raad
374ada8994
fix(llm): end reasoning before responses
2026-06-26 13:55:04 -04:00
Dax Raad
913ee01fce
fix(core): authorize external read paths
2026-06-26 13:55:04 -04:00
opencode-agent[bot]
d509848d8d
chore: generate
2026-06-26 17:53:26 +00:00
Dax Raad
0adb097898
fix(core): resolve prompt attachment mime types
2026-06-26 13:51:00 -04:00
opencode-agent[bot]
1d6a102d06
chore: generate
2026-06-26 17:36:45 +00:00
Adam
8d260c6ccb
feat(stats): add clickable section headings ( #34095 )
2026-06-26 12:34:44 -05:00
Adam
b28f40018b
fix(data): clarify unchanged rank
2026-06-26 12:29:29 -05:00
Stefan Avram
15c048b893
docs: route enterprise contact links ( #34080 )
2026-06-26 12:05:24 -05:00
Adam
0907747cdf
fix(data): canonicalize locale pages
2026-06-26 12:00:32 -05:00