Dax Raad
11bf8d8a42
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
c22973ab9f
fix(server): log undo revert operations
2026-06-27 20:32:58 -04:00
Dax Raad
612009e0f1
fix(tui): use span for inline styled hotkey in revert footer
2026-06-27 20:32:14 -04:00
Dax Raad
a0a6c9545e
fix(tui): style redo hotkey as normal text in revert footer
2026-06-27 20:30:52 -04:00
Dax Raad
bceb6d0a9e
feat(tui): add redo hotkey footer and pad file list in revert banner
2026-06-27 20:30:26 -04:00
Dax Raad
49e7dc191f
fix(tui): make undo inclusive of last user message and simplify revert banner
2026-06-27 20:25:08 -04:00
Dax Raad
cd942d0669
fix(tui): normalize abbreviated home paths to forward slashes
2026-06-27 18:54:06 -04:00
Dax Raad
4741e3ee6b
fix(tui): remove redundant top spacer in session history
2026-06-27 13:54:16 -04:00
Dax Raad
4673bfbaa0
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
b458dd8c63
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
7edd6c3a1d
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
f43f066741
fix(tui): stop bash spinner when tool errors before command received
2026-06-27 13:17:21 -04:00
Dax Raad
b6553d14e1
fix(core): fail interrupted session steps
2026-06-27 01:16:30 -04:00
Dax Raad
ab0042a666
docs(opencode): mark package as v1
2026-06-27 01:16:30 -04:00
Dax Raad
5df049d081
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
573ab9c24b
fix(tui): interrupt v2 sessions with escape
2026-06-26 22:32:21 -04:00
Dax Raad
6a16c41e8f
fix(core): continue after tool defects
2026-06-26 22:02:30 -04:00
Dax Raad
a491cbee64
fix(tui): hide prompt for running shell commands
2026-06-26 21:35:20 -04:00
Dax Raad
658cbe9caf
fix(core): load OpenCode provider config asynchronously
2026-06-26 21:16:15 -04:00
Dax Raad
62b2bc39df
test(ci): skip v2 end-to-end checks
2026-06-26 21:04:10 -04:00
Dax Raad
beb2c52c3f
fix(cli): publish scoped package
2026-06-26 21:01:10 -04:00
Dax Raad
655adbf46e
fix: stabilize v2 runtime behavior
2026-06-26 20:56:36 -04:00
Dax Raad
ac2a78391f
fix(ci): publish v2 as next
2026-06-26 15:55:04 -04:00
Dax Raad
9a9bdaba95
test(ci): drop legacy opencode tests
2026-06-26 14:58:40 -04:00
Dax Raad
8b682c42b6
refactor(tui): use v2 client transport
2026-06-26 14:57:01 -04:00
Dax Raad
ad4f1c1018
refactor(ci): use branch npm tag
2026-06-26 14:54:35 -04:00
Dax Raad
a0afb63ed0
fix(ci): use v2 npm tag
2026-06-26 14:53:35 -04:00
Dax Raad
df9ecb8f6a
fix(cli): publish v2 package
2026-06-26 14:52:30 -04:00
Dax Raad
e6f660fecf
feat(tui): add v2 terminal interface
2026-06-26 14:38:25 -04:00
Dax Raad
11d2f3e5f8
fix(llm): end reasoning before responses
2026-06-26 13:55:04 -04:00
Dax Raad
1ac6b4bec4
fix(core): authorize external read paths
2026-06-26 13:55:04 -04:00
Dax Raad
850a0dfe7c
fix(core): resolve prompt attachment mime types
2026-06-26 13:51:00 -04:00
Dax Raad
25c6abc31a
fix(core): lower OpenAI text verbosity
2026-06-24 19:32:59 -04:00
Dax Raad
f4afb2c0a5
fix(core): preserve unconfigured console models
2026-06-24 18:58:17 -04:00
Dax Raad
bba74985ab
fix(core): handle unavailable fff index
2026-06-24 18:49:22 -04:00
Dax Raad
e9ee2129ea
fix(core): disable fff broad scanning
2026-06-24 18:42:15 -04:00
Dax Raad
68260ea6c9
fix(core): scope fff broad scanning
2026-06-24 18:42:15 -04:00
Dax Raad
42bb793574
feat(core): generate model variants
2026-06-24 13:17:14 -04:00
Dax Raad
17f312d537
refactor(core): simplify model requests
2026-06-24 13:17:14 -04:00
Dax Raad
784eea3911
feat(cli): add API request command
2026-06-23 23:35:20 -04:00
Dax Raad
e8610d821c
refactor(core): drop filesystem entry mime
2026-06-23 21:49:01 -04:00
Dax Raad
53076999c5
fix(tui): normalize autocomplete attachments
2026-06-23 21:41:14 -04:00
Dax Raad
9b01f15f1d
test(opencode): retry Windows CLI cleanup
2026-06-23 00:56:14 -04:00
Dax Raad
81851ca6b9
test(opencode): stabilize Windows async readiness
2026-06-23 00:41:02 -04:00
Dax Raad
3c5632e110
test(opencode): stabilize Windows CLI subprocesses
2026-06-23 00:26:48 -04:00
Dax Raad
6ea3e6698a
fix(opencode): scope reference readiness wait
2026-06-23 00:10:36 -04:00
Dax Raad
ed75ce9ecc
fix(core): prioritize reference plugin registration
2026-06-22 23:39:26 -04:00
Dax Raad
af14fefc96
test(opencode): relax compaction readiness timeout
2026-06-22 23:01:05 -04:00
Dax Raad
4a710e4679
fix(core): await plugin readiness
2026-06-22 22:49:57 -04:00
Dax Raad
d2c866bf70
test(core): speed up test setup
2026-06-22 22:49:57 -04:00
Dax Raad
975b1132f1
refactor(plugin): use direct runtime registry
2026-06-22 20:10:29 -04:00
Dax Raad
cd97de7391
refactor(plugin): consolidate internal registration
2026-06-22 19:49:00 -04:00
Dax Raad
23fd5907be
fix(opencode): normalize CLI test line endings
2026-06-22 19:15:50 -04:00
Dax Raad
cf31029350
fix(core): batch plugin shutdown
2026-06-22 09:04:29 -04:00
Dax Raad
79b55d4db8
fix(tui): use bridged event stream for data
2026-06-22 08:50:46 -04:00
Dax Raad
7b750a8f20
fix(ci): preserve test log groups
2026-06-22 08:35:40 -04:00
Dax Raad
e50261e524
fix(core): format generated migrations
2026-06-22 08:23:25 -04:00
Dax Raad
b13a2d712a
fix(server): isolate event schema types
2026-06-22 08:20:39 -04:00
Dax Raad
1b91b5df34
fix(core): constrain event schema services
2026-06-22 08:14:49 -04:00
Dax Raad
595cc91ddc
feat(server): stream events across locations
2026-06-22 08:12:43 -04:00
Dax Raad
35b3fc85d0
feat(core): expose session switching endpoints
2026-06-21 23:59:22 -04:00
Dax Raad
8396395f17
fix(stats): update defect schemas
2026-06-21 08:08:31 -04:00
Dax Raad
1b8bab3e35
fix(ci): avoid Playwright Chromium install hang
2026-06-21 08:08:31 -04:00
Dax Raad
87c33b3d85
fix(plugin): reuse active server for client requests
...
Temporarily route plugin SDK calls through the active listener so they reuse its instance store instead of initializing plugins again through the default app. Keep the in-process fallback for commands without a listener. This is intentionally a narrow bridge until v2 owns plugin clients in the correct shared server runtime.
2026-06-14 13:35:05 -04:00
Dax Raad
7793db3ac8
fix(core): preserve credential schema compatibility
2026-06-12 02:45:25 -04:00
Dax Raad
cc22646467
docs: add branch naming guidance
2026-06-10 19:09:56 -04:00
Dax Raad
bb82aab5c8
update opencode.jsonc
2026-06-10 15:30:56 -04:00
Dax Raad
14ec7ed5b3
fix fff disabling logic
2026-06-10 13:29:14 -04:00
Dax Raad
e4300e9b74
fix(core): disable fff by default on windows
2026-06-10 10:22:00 -04:00
Dax Raad
538cfaff0d
feat(core): enable fff by default
2026-06-10 10:21:25 -04:00
Dax Raad
1dad38d1b5
fix(core): do not gate fff on initial scan
2026-06-10 10:19:52 -04:00
Dax Raad
5863e1254c
put fff behind flag
2026-06-10 10:13:54 -04:00
Dax Raad
785918262a
fix(core): expose partial filesystem scan results
2026-06-09 22:10:53 -04:00
Dax Raad
4597c687fa
fix(core): prefer shorter paths for tied search scores
2026-06-09 22:04:17 -04:00
Dax Raad
057958c933
ci: publish
2026-06-04 19:23:41 -04:00
Dax Raad
94c49b20ba
make scripts executable
2026-06-04 11:19:36 -04:00
Dax Raad
7f54b1bfb8
fix build
2026-06-04 11:11:23 -04:00
Dax Raad
5937e606df
feat(opencode): add filesystem read and list routes
2026-06-02 01:54:27 -04:00
Dax Raad
4df3c98c6b
feat(core): add dummy location filesystem layer
2026-06-02 01:39:04 -04:00
Dax Raad
98b7230c2a
feat(core): add location filesystem contract
2026-06-02 01:39:04 -04:00
Dax Raad
8d03f6c5be
refactor(core): simplify session pagination
2026-06-02 01:39:04 -04:00
Dax Raad
c1c02f80dd
feat(core): expose session location
2026-06-02 00:12:42 -04:00
Dax Raad
31f94f205e
refactor(worktree): move project out of repository
2026-05-31 14:00:01 -04:00
Dax Raad
a69b70d5ca
fix(core): allow skipping migration execution
2026-05-31 12:17:40 -04:00
Dax Raad
02edad83b2
test(tui): skip crashing keymap textarea renderer
2026-05-31 12:06:03 -04:00
Dax Raad
a893ca857a
sync
2026-05-31 03:25:47 -04:00
Dax Raad
25edeaf473
fix(sdk): preserve generated event contracts
2026-05-31 03:18:43 -04:00
Dax Raad
0269d6f5de
fix(core): isolate location layer instances
2026-05-30 20:02:14 -04:00
Dax Raad
aa86a20b1d
fix(core): provide agent service in location layer
2026-05-30 20:01:54 -04:00
Dax Raad
9b915e70bd
v2: default agents
2026-05-30 18:57:42 -04:00
Dax Raad
f6062bd5b6
feat(core): add default agent plugin
2026-05-30 00:49:52 -04:00
Dax Raad
181e58f50a
feat(cli): add effect cli scaffold
2026-05-30 00:49:52 -04:00
Dax Raad
00a6f228f2
fix(project): preserve cached project identity
2026-05-26 17:50:42 -04:00
Dax Raad
854c535536
fix(tui): enable diff viewer by default
2026-05-22 09:50:30 -04:00
Dax Raad
e92b1fe7d7
core: let models layer infer its own type so layer composition no longer requires matching explicit requirements
2026-05-17 17:37:11 -04:00
Dax Raad
6d2219e001
fix(cli): preserve instance context in async commands
2026-05-16 09:25:45 -04:00
Dax Raad
77db212a0a
fix read stream byte cap
2026-05-16 09:20:35 -04:00
Dax Raad
88363f1ed9
fixed issue in opencode run
2026-05-16 08:27:25 -04:00
Dax Raad
042e6a5c86
tui: newly pinned sessions now append to the end of the list instead of jumping to the top
2026-05-15 23:57:40 -04:00
Dax Raad
e36d6a0cbe
core: clarify postinstall error message when binary is missing
...
Users installing with pnpm or --ignore-scripts now see a clear explanation
of why the native binary is missing and exact steps to fix it. The shell
script wrapper provides more actionable guidance than the previous Node.js
fallback that only suggested running the postinstall script without context
about why it wasn't run automatically.
2026-05-15 23:12:00 -04:00