Commit graph

12 commits

Author SHA1 Message Date
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
7a4054559d 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-21 16:23:51 -04:00
Kit Langton
e374393e3c 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-21 16:23:51 -04:00
Kit Langton
819522830b chore(quark): sync tests with standalone 2026-07-21 16:23:51 -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
fa5ecdd722 chore(quark): sync vendored keyed and layout with standalone 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
77dcae0968 chore(quark): sync vendored quark with diff gating and codegen 2026-07-21 16:22:00 -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