Commit graph

46 commits

Author SHA1 Message Date
Dax Raad
8db7487c89 refactor(core): consolidate tool architecture 2026-07-26 20:16:58 -04:00
Simon Klee
8bb1cfaa3b
fix: defer catalog validation to session execution (#38258) 2026-07-22 10:32:52 +02:00
opencode-agent[bot]
80dc21d8f7
fix(cli): use hosted updater API (#38223)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-07-22 02:34:48 +00:00
Dax
8de40be6ea
feat(plugin): expose app metadata (#38179) 2026-07-21 22:16:25 +00:00
Dax
e0810753f2
refactor: extract shared util package (#37828) 2026-07-21 10:34:29 -04:00
Dax Raad
43c08387f1 refactor: isolate legacy flags 2026-07-20 21:42:02 -04:00
Dax Raad
642950a763 fix(cli): isolate bun updater cache 2026-07-20 16:02:42 -04:00
Dax Raad
fe0c74f4df fix(cli): accept updated service on restart 2026-07-19 19:29:40 -04:00
Simon Klee
925c2423de
mini: add reconnect, forms, and shared targets (#37811)
Centralize session target resolution for mini and noninteractive
run paths. Recover from transport drops, replace questions with
forms, and keep tool/catalog state location-scoped with live
progress and theme discovery.
2026-07-19 22:45:10 +02:00
Simon Klee
c50554d907
mini: move frontend into tui package (#37754) 2026-07-19 14:12:22 +02:00
Dax Raad
22c23cb44c fix(cli): reduce startup overhead 2026-07-17 20:14:04 -04:00
opencode-agent[bot]
6ea8247e0f
fix(cli): elect managed service by port bind (#37572)
Co-authored-by: Dax Raad <thdxr@users.noreply.github.com>
2026-07-17 23:12:36 +00:00
Simon Klee
42e2dde739
fix(cli): prevent Node stdout EPIPE failures
Keep draining standalone server stdout after reading its readiness message so
later server output does not write into a closed pipe.

Install the Node CLI broken-pipe handler before loading the main entrypoint.
Ignore only EPIPE while preserving all unrelated stdout errors. This prevents
Windows Node builds from failing when the TUI prints its exit epilogue after
renderer teardown.
2026-07-17 14:46:46 +02:00
Simon Klee
a1b274e6f8
node v2 cli support (#36309) 2026-07-17 14:45:06 +02:00
Dax Raad
ec8ee60e0b refactor(client): rename service start to ensure 2026-07-15 13:34:32 -04:00
Dax Raad
75bc611ef1 refactor(client): simplify local service lifecycle 2026-07-15 13:19:50 -04:00
Kit Langton
f5dd181443
refactor(cli): define server connection boundary (#37133) 2026-07-15 11:48:38 -04:00
Kit Langton
ece2b16cdf
feat: expose background service lifecycle (#36895) 2026-07-14 16:38:22 -04:00
Kit Langton
e22e3b8f2c
fix(cli): keep update preflight through TUI loading (#36475) 2026-07-11 22:19:13 -04:00
Kit Langton
56a7c06a80
fix(cli): hand update completion directly to the TUI (#36455) 2026-07-11 15:42:31 -04:00
Kit Langton
1ccaca826e
feat(cli): update preflight UI while replacing the background service (#36448) 2026-07-11 14:43:16 -04:00
Dax Raad
1c67004999 fix(cli): show background server startup status 2026-07-10 16:14:19 -04:00
Dax Raad
cc686ab8f6 fix(cli): unify server resolution 2026-07-09 13:28:01 -04:00
Dax Raad
cccd013801 refactor(cli): centralize server resolution 2026-07-08 22:10:30 -04:00
Dax Raad
be7a684791 refactor(cli): unify server endpoint handling 2026-07-08 22:10:30 -04:00
Simon Klee
0bba8c780a
cli/mini: fix run failure handling (#35539) 2026-07-06 12:34:44 +02:00
Simon Klee
32cf36de9d
mini migrate to v2 (#35526) 2026-07-06 11:03:30 +02:00
Dax Raad
08293e74a0 refactor(cli): single password config with legacy fallback 2026-07-03 13:41:15 -04:00
Dax Raad
dd768e30e2 refactor(client): namespace service exports and share the registration contract 2026-07-03 12:36:56 -04:00
Dax Raad
af5eabcb26 refactor(client): split package into promise and effect entrypoints 2026-07-03 01:46:21 -04:00
Dax Raad
1de3c6e4a6 feat(client): self-contained local service discovery and lifecycle 2026-07-03 01:19:43 -04:00
James Long
8c94e9005f
chore: merge dev into v2 (#34788)
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: Kit Langton <kit.langton@gmail.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: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <little-frank@opencord.local>
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>
Co-authored-by: Max Anderson <max.a.anderson95@gmail.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Jack <jack@anoma.ly>
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
Co-authored-by: Dustin Deus <deusdustin@gmail.com>
Co-authored-by: starptech <starptech@starptechs-MBP.fritz.box>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com>
Co-authored-by: Jay <53023+jayair@users.noreply.github.com>
Co-authored-by: runvip <164729189+runvip@users.noreply.github.com>
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: Julian Coy <julian@ex-machina.co>
Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com>
2026-07-01 17:12:00 -04:00
Dax Raad
23adaaaeab feat(core): add native skill activation 2026-06-30 01:16:33 -04:00
Dax Raad
0f9719a7b5 fix(cli): support service autostart setting 2026-06-30 00:28:11 -04:00
Dax Raad
1b83c08b8a Update service configuration CLI 2026-06-30 00:18:26 -04:00
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
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
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
655adbf46e fix: stabilize v2 runtime behavior 2026-06-26 20:56:36 -04:00
Dax Raad
e6f660fecf feat(tui): add v2 terminal interface 2026-06-26 14:38:25 -04:00
opencode-agent[bot]
155e1f20d6 chore: generate 2026-06-07 03:28:52 +00:00
Dax
fe0c4f8c74
refactor(server): canonicalize service API (#31049) 2026-06-07 03:27:28 +00:00
opencode-agent[bot]
7ae856a9e9 chore: generate 2026-06-05 05:31:34 +00:00
Dax
b01eb22b2c
fix(cli): harden daemon lifecycle (#30844) 2026-06-05 01:30:19 -04:00
opencode-agent[bot]
30ec231aaf chore: generate 2026-06-04 06:59:09 +00:00
Dax
1ff19103a2
feat(core): add command registry (#30624) 2026-06-04 02:57:43 -04:00