Commit graph

871 commits

Author SHA1 Message Date
Kit Langton
2eda325c24 fix(tui): clarify heap diagnostics 2026-07-21 16:38:11 -04:00
Kit Langton
fcfb78e433 feat(tui): show live performance diagnostics 2026-07-21 16:37:16 -04:00
Kit Langton
beaa51b4ff fix(tui): follow the current permission request in usePermissionInput
The prompt stays mounted while requests queue, so the hook must take a
request accessor; capturing the first request left the input subscribed
to the resolved tool call. Regression test swaps the mounted request.
2026-07-21 16:26:49 -04:00
Kit Langton
1a28b03e05 refactor(tui): adopt reactive first index and read-only keyed surface
- quark: Collection.first(name) is now a stable Readable<A | undefined>;
  Keyed.ReadOnly names the read surface; useSlot takes plain constant keys;
  Layout.collectionOf<Target>() replaces the content plan double cast
- BackgroundToolHint reads a backgroundRunning first index instead of
  hand-tracking structure plus tool slots
- toolDisplay moves to util/tool-display (content.ts needs it for the index)
2026-07-21 16:25:49 -04:00
Kit Langton
2040aa40e1 refactor(tui): simplify quark migration after review
- fix permission input losing reactivity (raw slot read; regression test)
- BackgroundToolHint tracks structure + tool slots instead of whole-collection values
- group views share mapArray-backed usePartSlots (per-ref node reuse)
- dedupe streaming handlers behind variant-scoped modify/insert helpers
- part ID scheme has one definition; hasText required in message navigation
- expose read-only PartsView to view components; misc cleanups
2026-07-21 16:24:49 -04:00
Kit Langton
f2278649c0 chore(quark): sync reactive kernel and rename package to @opencode-ai/quark 2026-07-21 16:23:51 -04:00
Kit Langton
c377b73995 docs: move experiment records to the quark repo 2026-07-21 16:23:51 -04:00
Kit Langton
67dbdb64e5 fix(tui): preserve prompts during session hydration
Port of #36433 onto the quark timeline branch: pending operations journal, pending-derived inputs, and hydration that reappends admitted-but-unprojected prompts. Composed with part-collection reseeding.
2026-07-21 16:23:51 -04:00
Kit Langton
1e5b32aac8 fix(tui): preserve part collection identity across sync 2026-07-21 16:23:50 -04:00
Kit Langton
49cd448f8e feat(tui): move assistant content into per-part quark slots 2026-07-21 16:23:50 -04:00
Kit Langton
a653744d78 refactor(tui): extract session timeline state 2026-07-21 16:22:00 -04:00
Kit Langton
daf8e539bf feat(tui): add quark timeline experiment 2026-07-21 16:21:23 -04:00
Simon Klee
e8d273ae5b
mini: add monochrome ASCII mode (#38173) 2026-07-21 22:01:09 +02:00
Simon Klee
c4fa5e6619
mini: add turn summary visibility setting (#38153) 2026-07-21 21:01:47 +02:00
Simon Klee
dd6c95fdc7
mini: add quiet transcript settings (#38152) 2026-07-21 19:36:34 +02:00
Simon Klee
99b2e78d75
fix(tui): improve responsive footer details (#38116) 2026-07-21 19:00:21 +02:00
Dax
3304e79827
fix(tui): prevent autocomplete search flicker (#38128) 2026-07-21 10:41:36 -04:00
Dax
e0810753f2
refactor: extract shared util package (#37828) 2026-07-21 10:34:29 -04:00
Simon Klee
dd50d457b0
refactor(tui): simplify mini footer status line (#38112) 2026-07-21 16:08:19 +02:00
Simon Klee
592ef7433a
mini: settle on wait and durable pending (#37984) 2026-07-21 15:42:55 +02:00
Dax Raad
43c08387f1 refactor: isolate legacy flags 2026-07-20 21:42:02 -04:00
James Long
a2c4c7a64b
refactor(tui): migrate diff viewer to V2 theme (#37999) 2026-07-20 17:29:43 -04:00
opencode-agent[bot]
4c9a4309ce
chore: merge dev into v2 (#37996)
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <14191578+Brendonovich@users.noreply.github.com>
Co-authored-by: Victor Navarro <vn4varro@gmail.com>
Co-authored-by: Aarav Sareen <96787824+arvsrn@users.noreply.github.com>
Co-authored-by: Frank <frank@anoma.ly>
Co-authored-by: Dax Raad <d@ironbay.co>
Co-authored-by: Dax <mail@thdxr.com>
Co-authored-by: Nabs <nabil@instafork.com>
Co-authored-by: usrnk1 <7547651+usrnk1@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev>
Co-authored-by: Vladimir Glafirov <vglafirov@gitlab.com>
Co-authored-by: AidenGeunGeun <eastlandwyvern@gmail.com>
Co-authored-by: Mark <geraint0923@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: David Hill <1879069+iamdavidhill@users.noreply.github.com>
Co-authored-by: Jay <air@live.ca>
Co-authored-by: Jay <53023+jayair@users.noreply.github.com>
Co-authored-by: BB84 <110078428+BB-84C@users.noreply.github.com>
Co-authored-by: Dustin Deus <deusdustin@gmail.com>
Co-authored-by: Jack <jack@anoma.ly>
Co-authored-by: Sebastian <hasta84@gmail.com>
Co-authored-by: Jérôme Benoit <jerome.benoit@sap.com>
Co-authored-by: Test User <test@test.com>
Co-authored-by: Simon Klee <hello@simonklee.dk>
Co-authored-by: Rahul A Mistry <149420892+ProdigyRahul@users.noreply.github.com>
Co-authored-by: Qiping Li <liqiping1991@gmail.com>
Co-authored-by: liqiping <liqiping@msh.team>
Co-authored-by: OpeOginni <107570612+OpeOginni@users.noreply.github.com>
Co-authored-by: Matthias Reso <13337103+mreso@users.noreply.github.com>
Co-authored-by: tobwen <1864057+tobwen@users.noreply.github.com>
2026-07-20 15:20:59 -05:00
James Long
c0ba62b972
refactor(tui): expose theme colors as properties (#37995) 2026-07-20 16:17:09 -04:00
James Long
79d0077f63
feat(tui): add categorical theme hues (#37985) 2026-07-20 15:28:53 -04:00
opencode-agent[bot]
61b7caa0b5
fix(tui): make migrated selected background transparent (#37967)
Co-authored-by: James Long <longster@gmail.com>
2026-07-20 13:41:18 -04:00
James Long
e8b19afa8f
fix(tui): adapt file badge accent to theme mode (#37953) 2026-07-20 11:45:29 -04:00
Dax Raad
c7aa47c144 feat(tui): implement session timeline 2026-07-20 09:53:07 -04:00
James Long
7be95bcd6a
feat(tui): support single-mode themes (#37930) 2026-07-20 09:37:48 -04:00
opencode-agent[bot]
3f4fb3f9db
fix(tui): show opencode2 continuation command (#37933)
Co-authored-by: Dax <mail@thdxr.com>
2026-07-20 13:36:02 +00:00
James Long
6702ce0d3f
fix(tui): soften theme scale extremes (#37555) 2026-07-20 09:20:20 -04:00
Simon Klee
a9895a1e8a
fix(tui/mini): idle footer when session idles (#37910) 2026-07-20 13:22:46 +02:00
Simon Klee
75c7ac6a2c
tui/mini: consolidate stream and panel internals (#37903) 2026-07-20 12:45:48 +02:00
Simon Klee
0eb71d0fc7
refactor(tui): extract shared frontend helpers (#37868) 2026-07-20 10:43:02 +02: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
Kit Langton
edc93ceff1
feat(simulation): expose semantic UI snapshots (#37802) 2026-07-19 16:04:27 -04:00
opencode-agent[bot]
86a468c4d8
fix(tui): move agent cycling to shift-tab (#37706)
Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-07-19 21:45:03 +02:00
opencode-agent[bot]
f05d2ab551
fix(tui): load root sessions in switcher (#37784)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-07-19 16:32:32 +00:00
Aiden Cline
fe9a936867
feat(server): expose runtime MCP controls over HTTP (#37712) 2026-07-19 10:28:25 -05:00
Simon Klee
c50554d907
mini: move frontend into tui package (#37754) 2026-07-19 14:12:22 +02:00
Dax Raad
4e85a37590 fix(tui): auto-approve permissions in auto mode 2026-07-18 17:54:59 -04:00
opencode-agent[bot]
0d68b0bb20
fix(tui): style interrupted compaction neutrally (#37655)
Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
2026-07-18 13:41:01 -05:00
Aiden Cline
08a7080e11
fix(tui): exit composer picker with up arrow (#37601) 2026-07-17 22:22:00 -05:00
James Long
fafb04ed59
feat(tui): track hue source identity (#37550) 2026-07-17 15:38:22 -04:00
James Long
c7a7900ff2
refactor(tui): migrate workflow views to V2 themes (#37526) 2026-07-17 15:18:58 -04:00
James Long
677526d72e
refactor(tui): migrate dialog views to V2 themes (#37516) 2026-07-17 12:17:11 -04:00
Kit Langton
bce9c639d1
feat(tui): expose session composer top slot (#37518) 2026-07-17 11:55:18 -04:00
Kit Langton
48adb9521c
feat(tui): expose session header slot (#37520) 2026-07-17 11:55:06 -04:00
James Long
bd79e24842
fix(tui): raise neutral permission backgrounds (#37513) 2026-07-17 11:35:02 -04:00
James Long
d67e035c18
refactor(tui): migrate leaf views to V2 themes (#37510) 2026-07-17 11:19:03 -04:00