Commit graph

12 commits

Author SHA1 Message Date
Kit Langton
c0ce124f8c 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-18 22:54:25 -04:00
Kit Langton
4027dbb4d8 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-18 22:54:24 -04:00
Kit Langton
41a24a9973 test(quark): bind detached subscribe in solid adapter instrumentation
Wrapper methods are shared this-based functions after the standalone sync,
so the test's subscribe interception must bind before detaching.
2026-07-18 22:54:24 -04:00
Kit Langton
9da20b3e9f perf(quark): sync shared wrapper methods from standalone
Vendored sync of quark 15159e5: State and Computed wrappers share
this-based set/update/subscribe methods through a node handle, cutting
three closures per slot. Verified no opencode consumer detaches quark
wrapper methods.
2026-07-18 22:54:24 -04:00
Kit Langton
f36acdc6b9 chore(quark): sync tests with standalone 2026-07-18 22:54:23 -04:00
Kit Langton
2a8ad383ea chore(quark): sync reactive kernel and rename package to @opencode-ai/quark 2026-07-18 22:54:23 -04:00
Kit Langton
1dfacc2be9 docs: move experiment records to the quark repo 2026-07-18 22:54:21 -04:00
Kit Langton
fc310da14d chore(quark): sync vendored keyed and layout with standalone 2026-07-18 22:54:19 -04:00
Kit Langton
6d043d9155 feat(tui): move assistant content into per-part quark slots 2026-07-18 22:54:18 -04:00
Kit Langton
2635451bbf chore(quark): sync vendored quark with diff gating and codegen 2026-07-18 22:54:18 -04:00
Kit Langton
aa2d311688 refactor(tui): extract session timeline state 2026-07-18 22:54:18 -04:00
Kit Langton
c1222c1095 feat(tui): add quark timeline experiment 2026-07-18 22:54:17 -04:00