zidane-ui 9.2.2 → 9.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/dist/adapters/browser-keybindings-host.js +3 -1
  2. package/dist/adapters/server-settings-host.js +30 -3
  3. package/dist/adapters/server-settings-sections.js +23 -1
  4. package/dist/adapters/server-sidebar-host.d.ts +3 -1
  5. package/dist/adapters/server-sidebar-host.js +10 -1
  6. package/dist/app/ModalProvider.js +1 -1
  7. package/dist/approvals/ApprovalShell.js +1 -1
  8. package/dist/chat/DaemonOrb.d.ts +29 -1
  9. package/dist/chat/DaemonOrb.js +25 -12
  10. package/dist/chat/StatusDot.js +8 -2
  11. package/dist/chat/Transcript.js +11 -4
  12. package/dist/chat/headless/index.d.ts +3 -2
  13. package/dist/chat/headless/index.js +11 -10
  14. package/dist/chat/headless/labels.d.ts +13 -0
  15. package/dist/chat/headless/labels.js +12 -0
  16. package/dist/chat/headless/session-list.d.ts +10 -0
  17. package/dist/chat/headless/sidebar/directory.d.ts +8 -1
  18. package/dist/chat/headless/sidebar/directory.js +40 -4
  19. package/dist/chat/headless/sidebar/environment.d.ts +5 -2
  20. package/dist/chat/headless/sidebar/environment.js +11 -2
  21. package/dist/chat/headless/sidebar/host.d.ts +15 -0
  22. package/dist/chat/headless/sidebar/inbox.d.ts +12 -3
  23. package/dist/chat/headless/sidebar/inbox.js +18 -9
  24. package/dist/chat/headless/sidebar/index.d.ts +2 -2
  25. package/dist/chat/headless/sidebar/index.js +2 -2
  26. package/dist/chat/headless/sidebar/labels.d.ts +28 -2
  27. package/dist/chat/headless/sidebar/labels.js +16 -0
  28. package/dist/chat/headless/transcript/fold-actions.d.ts +8 -3
  29. package/dist/chat/headless/transcript/fold-actions.js +16 -0
  30. package/dist/chat/headless/transcript/fold.d.ts +2 -1
  31. package/dist/chat/headless/transcript/fold.js +22 -2
  32. package/dist/chat/headless/transcript/index.d.ts +2 -1
  33. package/dist/chat/headless/transcript/index.js +2 -1
  34. package/dist/chat/headless/transcript/rail.d.ts +93 -0
  35. package/dist/chat/headless/transcript/rail.js +148 -0
  36. package/dist/chat/headless/transcript/rows.d.ts +6 -0
  37. package/dist/chat/headless/transcript/run-failures.d.ts +4 -0
  38. package/dist/chat/headless/transcript/run-failures.js +29 -1
  39. package/dist/chat/headless/transcript-labels.d.ts +1 -0
  40. package/dist/chat/headless/turn-labels.d.ts +1 -0
  41. package/dist/chat/headless/turn-labels.js +2 -1
  42. package/dist/chat/index.d.ts +4 -3
  43. package/dist/chat/index.js +14 -13
  44. package/dist/chat/interactions/ElicitationCard.js +1 -1
  45. package/dist/chat/interactions/InteractionCard.js +1 -1
  46. package/dist/chat/interactions/PlanCard.js +3 -3
  47. package/dist/chat/interactions/QuestionField.js +4 -4
  48. package/dist/chat/interactions/QuestionForm.js +3 -3
  49. package/dist/chat/interactions/SecretInput.js +1 -1
  50. package/dist/chat/sidebar/ProjectIcon.d.ts +1 -1
  51. package/dist/chat/sidebar/ProjectIcon.js +1 -1
  52. package/dist/chat/sidebar/RowChips.d.ts +3 -2
  53. package/dist/chat/sidebar/RowChips.js +6 -3
  54. package/dist/chat/sidebar/SessionSidebar.js +13 -14
  55. package/dist/chat/sidebar/SidebarFrame.d.ts +2 -0
  56. package/dist/chat/sidebar/SidebarFrame.js +5 -2
  57. package/dist/chat/sidebar/SidebarSessionRow.d.ts +3 -1
  58. package/dist/chat/sidebar/SidebarSessionRow.js +3 -1
  59. package/dist/chat/sidebar/SpacesSection.d.ts +20 -1
  60. package/dist/chat/sidebar/SpacesSection.js +34 -13
  61. package/dist/chat/sidebar/index.d.ts +2 -2
  62. package/dist/chat/sidebar/session-menu.d.ts +11 -2
  63. package/dist/chat/sidebar/session-menu.js +50 -5
  64. package/dist/chat/sidebar/sidebar-live.js +1 -1
  65. package/dist/chat/sidebar/useInboxRows.js +43 -2
  66. package/dist/chat/sidebar/useInboxTriage.js +19 -14
  67. package/dist/chat/testing/fixture-sidebar-host.d.ts +7 -1
  68. package/dist/chat/testing/fixture-sidebar-host.js +12 -0
  69. package/dist/chat/testing/sidebar.contract.d.ts +6 -0
  70. package/dist/chat/testing/sidebar.contract.js +24 -0
  71. package/dist/chat/transcript/InteractionToolBody.js +1 -1
  72. package/dist/chat/transcript/SelectCursor.d.ts +11 -1
  73. package/dist/chat/transcript/SelectCursor.js +10 -5
  74. package/dist/chat/transcript/TranscriptRail.d.ts +86 -0
  75. package/dist/chat/transcript/TranscriptRail.js +421 -0
  76. package/dist/chat/transcript/TranscriptRow.js +5 -2
  77. package/dist/chat/transcript/actions.d.ts +6 -2
  78. package/dist/chat/transcript/fold.js +19 -1
  79. package/dist/chat/transcript/index.d.ts +3 -2
  80. package/dist/chat/transcript/index.js +3 -2
  81. package/dist/chat/transcript/notices.d.ts +23 -1
  82. package/dist/chat/transcript/notices.js +108 -27
  83. package/dist/chat/transcript/prose.js +1 -0
  84. package/dist/chat/transcript/receipt-parts.d.ts +22 -0
  85. package/dist/chat/transcript/receipt-parts.js +87 -0
  86. package/dist/chat/transcript/run-rows.js +3 -76
  87. package/dist/chat/transcript/script-input.d.ts +1 -1
  88. package/dist/chat/transcript/scroll-clamp.js +1 -1
  89. package/dist/chat/transcript/useSettledReveal.js +15 -3
  90. package/dist/chat/transcript/useStickToBottom.js +2 -1
  91. package/dist/components/ChoiceCards.js +1 -1
  92. package/dist/components/ConfirmDialog.js +1 -1
  93. package/dist/components/CopyValue.d.ts +33 -0
  94. package/dist/components/CopyValue.js +54 -0
  95. package/dist/components/Form.js +1 -1
  96. package/dist/components/HowItWorks.js +1 -1
  97. package/dist/components/Menu.js +1 -1
  98. package/dist/components/StepFrame.js +2 -2
  99. package/dist/components/SwatchPicker.js +1 -1
  100. package/dist/components/ToggleCard.js +1 -1
  101. package/dist/components/floating/HoverCard.js +2 -3
  102. package/dist/components/floating/hover-delay.d.ts +4 -0
  103. package/dist/components/floating/hover-delay.js +6 -0
  104. package/dist/core.css +14 -12
  105. package/dist/dist/index-De9AbmxS.d.ts +1 -0
  106. package/dist/dist/{index-Betz0OWq.d.ts → index-E1Z0aPmi.d.ts} +20 -2
  107. package/dist/dist/index.d.ts +5 -5
  108. package/dist/dist/sandbox-CSUihARm.d.ts +2 -0
  109. package/dist/dist/{timeout-CyU7HLyz.d.ts → timeout-CmTx6V9y.d.ts} +1 -0
  110. package/dist/extensions/ExtensionDialogHost.js +1 -1
  111. package/dist/files/TreeColumn.js +3 -1
  112. package/dist/files/headless/host.d.ts +2 -2
  113. package/dist/git/ImportRepoDialog.js +1 -1
  114. package/dist/git/MoveSessionDialog.js +2 -2
  115. package/dist/git/SandboxManager.d.ts +42 -0
  116. package/dist/git/SandboxManager.js +297 -0
  117. package/dist/git/SyncChip.js +1 -1
  118. package/dist/git/headless/index.d.ts +2 -1
  119. package/dist/git/headless/index.js +2 -1
  120. package/dist/git/headless/labels.d.ts +29 -0
  121. package/dist/git/headless/labels.js +34 -1
  122. package/dist/git/headless/sandboxes.d.ts +43 -0
  123. package/dist/git/headless/sandboxes.js +52 -0
  124. package/dist/git/index.d.ts +2 -1
  125. package/dist/git/index.js +2 -1
  126. package/dist/index.d.ts +2 -1
  127. package/dist/index.js +2 -1
  128. package/dist/keybindings/headless/catalog.d.ts +1 -1
  129. package/dist/keybindings/headless/catalog.js +12 -0
  130. package/dist/machines/HostsSection.d.ts +1 -1
  131. package/dist/machines/headless/labels.js +2 -2
  132. package/dist/motion/flip-list.js +3 -10
  133. package/dist/motion/presence.d.ts +10 -0
  134. package/dist/motion/presence.js +20 -1
  135. package/dist/motion/swap.d.ts +8 -2
  136. package/dist/motion/swap.js +5 -2
  137. package/dist/onboarding/conversation.js +27 -15
  138. package/dist/onboarding/demos/how-it-works.js +1 -1
  139. package/dist/onboarding/skills/parts.js +4 -4
  140. package/dist/onboarding/sources/SourceBrowser.js +1 -1
  141. package/dist/onboarding/steps/ReadyStep.js +1 -1
  142. package/dist/onboarding/steps/connect/KeyForm.js +1 -1
  143. package/dist/palette/headless/app-sources.js +20 -0
  144. package/dist/palette/headless/labels.js +2 -0
  145. package/dist/session/PlanTracker.js +3 -3
  146. package/dist/session/SecretsPanel.js +1 -1
  147. package/dist/session/SessionHeader.d.ts +18 -6
  148. package/dist/session/SessionHeader.js +67 -12
  149. package/dist/session/SessionPlaceMenu.d.ts +35 -0
  150. package/dist/session/SessionPlaceMenu.js +299 -0
  151. package/dist/session/SessionShell.js +1 -1
  152. package/dist/session/TurnDetailsDialog.js +1 -1
  153. package/dist/session/headless/index.d.ts +2 -1
  154. package/dist/session/headless/index.js +2 -1
  155. package/dist/session/headless/labels.d.ts +73 -0
  156. package/dist/session/headless/labels.js +73 -0
  157. package/dist/session/headless/place.d.ts +49 -0
  158. package/dist/session/headless/place.js +57 -0
  159. package/dist/session/index.d.ts +2 -1
  160. package/dist/session/index.js +2 -1
  161. package/dist/settings/ConversationPresetsCard.js +1 -1
  162. package/dist/settings/SettingCard.js +2 -2
  163. package/dist/settings/SettingsRowsPage.js +1 -1
  164. package/dist/settings/headless/fixture-sections.js +7 -0
  165. package/dist/settings/headless/labels.d.ts +1 -1
  166. package/dist/settings/headless/labels.js +1 -1
  167. package/dist/settings/headless/layout.d.ts +4 -4
  168. package/dist/settings/headless/layout.js +1 -1
  169. package/dist/settings/headless/search.d.ts +2 -2
  170. package/dist/settings/headless/sections-host.d.ts +20 -2
  171. package/dist/settings/sections/claude-import/ClaudeImportDialog.js +1 -1
  172. package/dist/settings/sections/enabled-list/EnabledListSection.js +2 -2
  173. package/dist/settings/sections/environments/EnvironmentsSection.d.ts +9 -3
  174. package/dist/settings/sections/environments/EnvironmentsSection.js +292 -52
  175. package/dist/settings/sections/environments/labels.d.ts +15 -0
  176. package/dist/settings/sections/environments/labels.js +18 -3
  177. package/dist/settings/sections/extensions/ChangeOriginDialog.js +1 -1
  178. package/dist/settings/sections/extensions/ExtensionSourceBrowser.js +1 -1
  179. package/dist/settings/sections/extensions/ExtensionsSection.d.ts +3 -2
  180. package/dist/settings/sections/extensions/ExtensionsSection.js +9 -3
  181. package/dist/settings/sections/host-catalog/HostCatalogSection.js +15 -5
  182. package/dist/settings/sections/keybindings/labels.d.ts +2 -0
  183. package/dist/settings/sections/keybindings/labels.js +2 -0
  184. package/dist/settings/sections/keybindings/rows.js +8 -0
  185. package/dist/settings/sections/models/SpacesDefaultsSection.d.ts +7 -3
  186. package/dist/settings/sections/models/SpacesDefaultsSection.js +11 -5
  187. package/dist/settings/sections/skills/SkillGroups.js +1 -1
  188. package/dist/settings/server-app.d.ts +4 -2
  189. package/dist/settings/server-app.js +7 -3
  190. package/dist/settings/testing/sections.contract.d.ts +7 -1
  191. package/dist/settings/testing/sections.contract.js +37 -0
  192. package/dist/styles.css +212 -19
  193. package/dist/terminal/TerminalDrawer.js +3 -1
  194. package/dist/workspace/SidePanel.js +3 -1
  195. package/package.json +2 -2
  196. package/src/styles/base.css +13 -0
  197. package/src/styles/chat.css +30 -0
  198. package/src/styles/components.css +0 -10
  199. package/src/styles/files.css +5 -0
  200. package/src/styles/sidebar.css +29 -7
  201. package/src/styles/terminal.css +6 -0
  202. package/src/styles/tokens.css +5 -0
  203. package/src/styles/transcript.css +107 -0
  204. package/src/styles/workspace.css +6 -0
  205. package/dist/dist/index-QcFzZlao.d.ts +0 -1
  206. package/dist/dist/sandbox-D0zsW8I1.d.ts +0 -2
  207. /package/dist/dist/{types-_Dtoq_No.d.ts → execution-failure-SREfl-EZ.d.ts} +0 -0
@@ -0,0 +1,93 @@
1
+ /**
2
+ * The prompt rail's model: one exchange per prompt the user typed, from the
3
+ * root clusters a transcript paints. An exchange runs from its prompt to the
4
+ * row before the next one, so its span is the prompt and the run that
5
+ * answered it (work, replies, notices). Synthetic prompts (a command's echo,
6
+ * a context note) start no exchange: they read as part of the one they sit
7
+ * in. Rows before the first prompt and subagent blocks belong to none.
8
+ *
9
+ * Pure and cheap: one pass over the root clusters, plus the rows of the
10
+ * exchange's last reply for its excerpt. Previews are cached per row object
11
+ * (a row that did not change keeps its object), so a streamed token costs
12
+ * the preview of the one row it changed.
13
+ */
14
+ import { Readable } from "../store.js";
15
+ import { Cluster, Row } from "./rows.js";
16
+ import { RunReceipt } from "zidane/chat/pure";
17
+ /** One exchange on the rail: a typed prompt and the run that answered it. */
18
+ export interface RailExchange {
19
+ /** The prompt row's id: the exchange's id and the row a jump lands on. */
20
+ id: string;
21
+ /** The prompt, on one line. */
22
+ prompt: string;
23
+ /** The exchange's last reply, as plain text on one line; `null` before it wrote any. */
24
+ answer: string | null;
25
+ /** The first painted root row of the exchange (its prompt), where its highlight starts. */
26
+ firstRowId: string;
27
+ /** The last painted root row of the exchange, where its highlight ends. */
28
+ lastRowId: string;
29
+ /** The receipt of the run that answered (model, duration), when it docked one. */
30
+ receipt?: RunReceipt;
31
+ }
32
+ /** The rail's exchanges and how any turn maps to the exchange that holds it. */
33
+ export interface RailModel {
34
+ /** The exchanges, oldest first. */
35
+ exchanges: readonly RailExchange[];
36
+ /** Any turn id a root row carries → the id of the exchange holding that row. */
37
+ exchangeOfTurn: ReadonlyMap<string, string>;
38
+ }
39
+ /**
40
+ * The selector of a transcript row's element by its id (`data-row`), quoted for an attribute value.
41
+ *
42
+ * @param id - The row's id.
43
+ */
44
+ export declare function dataRowSelector(id: string): string;
45
+ /** The empty model: no exchange. */
46
+ export declare const EMPTY_RAIL: RailModel;
47
+ /**
48
+ * Markdown as one line of plain text: no fences, marks, link targets or heading hashes.
49
+ *
50
+ * @param text - Markdown source.
51
+ */
52
+ export declare function plainPreview(text: string): string;
53
+ /**
54
+ * Works out the rail's exchanges from the root clusters a transcript paints.
55
+ *
56
+ * @param clusters - The transcript's root clusters, oldest first.
57
+ * @param options - `isHidden`: rows that paint nothing (never a first or last row). `receipts`: the receipts docked on reply rows.
58
+ * @param options.isHidden - Whether a row paints nothing.
59
+ * @param options.receipts - The run receipts, by the id of the reply row they dock on.
60
+ */
61
+ export declare function computeRailModel(clusters: readonly Cluster[], { isHidden, receipts }?: {
62
+ isHidden?: (row: Row) => boolean;
63
+ receipts?: ReadonlyMap<string, RunReceipt>;
64
+ }): RailModel;
65
+ /**
66
+ * Whether two exchange lists show the same rail: same exchanges, same text, same span and receipt.
67
+ *
68
+ * @param a - One list.
69
+ * @param b - The other.
70
+ */
71
+ export declare function sameRail(a: readonly RailExchange[], b: readonly RailExchange[]): boolean;
72
+ /** What a {@link TranscriptRailStore} holds: the transcript's exchanges and what the reader points at. */
73
+ export interface TranscriptRailState extends RailModel {
74
+ /** The exchange under the pointer on the rail (its rows tint), or `null`. */
75
+ hovered: string | null;
76
+ /** The exchange holding select-turn mode's cursor, or `null` outside the mode. */
77
+ selected: string | null;
78
+ }
79
+ /**
80
+ * The bridge between a transcript and its rail: the transcript publishes its
81
+ * exchanges and the cursor's exchange, the rail publishes what it hovers.
82
+ * Each write notifies only when it changes something.
83
+ */
84
+ export interface TranscriptRailStore extends Readable<TranscriptRailState> {
85
+ /** The transcript's exchanges (`EMPTY_RAIL` once it unmounts). */
86
+ publish: (model: RailModel) => void;
87
+ /** The exchange the rail hovers, or `null`. */
88
+ hover: (id: string | null) => void;
89
+ /** The exchange holding select-turn mode's cursor, or `null`. */
90
+ select: (id: string | null) => void;
91
+ }
92
+ /** A rail store with no exchange: one per transcript view (the provider makes it). */
93
+ export declare function createTranscriptRailStore(): TranscriptRailStore;
@@ -0,0 +1,148 @@
1
+ import { writable } from "../store.js";
2
+ import { rowTurnIds } from "./select-stops.js";
3
+ // src/chat/headless/transcript/rail.ts
4
+ /** The longest text an exchange keeps for its preview: the card clamps its lines, this bounds the work. */
5
+ const PREVIEW_CHARS = 320;
6
+ /**
7
+ * The most source a preview reads. Markdown marks and fences take room the plain text does not, hence the margin; a
8
+ * reply that opens with a longer code block previews only what follows it within this window.
9
+ */
10
+ const PREVIEW_SOURCE_CHARS = PREVIEW_CHARS * 4;
11
+ /**
12
+ * The selector of a transcript row's element by its id (`data-row`), quoted for an attribute value.
13
+ *
14
+ * @param id - The row's id.
15
+ */
16
+ function dataRowSelector(id) {
17
+ return `[data-row="${id.replace(/["\\]/g, (c) => `\\${c}`)}"]`;
18
+ }
19
+ /** The empty model: no exchange. */
20
+ const EMPTY_RAIL = {
21
+ exchanges: [],
22
+ exchangeOfTurn: /* @__PURE__ */ new Map()
23
+ };
24
+ /**
25
+ * Markdown as one line of plain text: no fences, marks, link targets or heading hashes.
26
+ *
27
+ * @param text - Markdown source.
28
+ */
29
+ function plainPreview(text) {
30
+ const plain = text.slice(0, PREVIEW_SOURCE_CHARS).replace(/```[\s\S]*?(?:```|$)/g, " ").replace(/!\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/^\s{0,3}(?:#{1,6}|[>\-*+]|\d+[.)])\s+/gm, "").replace(/(\*\*|__|~~|`)/g, "").replace(/\s+/g, " ").trim();
31
+ return plain.length > PREVIEW_CHARS ? `${plain.slice(0, PREVIEW_CHARS).trimEnd()}…` : plain;
32
+ }
33
+ const previews = /* @__PURE__ */ new WeakMap();
34
+ /** A text row's {@link plainPreview}, once per row object. */
35
+ function previewOf(row) {
36
+ let preview = previews.get(row);
37
+ if (preview === void 0) {
38
+ preview = plainPreview(row.text);
39
+ previews.set(row, preview);
40
+ }
41
+ return preview;
42
+ }
43
+ /** The rows a root row stands for, deepest last: what a fold or a message group holds. */
44
+ function* rowsWithin(row) {
45
+ yield row;
46
+ if (row.kind === "exchange-fold") for (const r of row.rows) yield* rowsWithin(r);
47
+ if (row.kind === "message-group") {
48
+ for (const r of row.messages) yield* rowsWithin(r);
49
+ for (const r of row.between) yield* rowsWithin(r);
50
+ yield* rowsWithin(row.current);
51
+ }
52
+ }
53
+ /**
54
+ * Works out the rail's exchanges from the root clusters a transcript paints.
55
+ *
56
+ * @param clusters - The transcript's root clusters, oldest first.
57
+ * @param options - `isHidden`: rows that paint nothing (never a first or last row). `receipts`: the receipts docked on reply rows.
58
+ * @param options.isHidden - Whether a row paints nothing.
59
+ * @param options.receipts - The run receipts, by the id of the reply row they dock on.
60
+ */
61
+ function computeRailModel(clusters, { isHidden = () => false, receipts } = {}) {
62
+ const exchanges = [];
63
+ const exchangeOfTurn = /* @__PURE__ */ new Map();
64
+ let current = null;
65
+ let lastReply = null;
66
+ const close = () => {
67
+ if (!current) return;
68
+ if (lastReply && lastReply.kind === "markdown") {
69
+ current.answer = previewOf(lastReply) || null;
70
+ const receipt = receipts?.get(lastReply.id);
71
+ if (receipt) current.receipt = receipt;
72
+ }
73
+ exchanges.push(current);
74
+ current = null;
75
+ lastReply = null;
76
+ };
77
+ for (const cluster of clusters) {
78
+ if (cluster.kind !== "single") continue;
79
+ const row = cluster.row;
80
+ if (isHidden(row)) continue;
81
+ if (row.kind === "user-prompt" && !row.synthetic && row.childId === void 0) {
82
+ close();
83
+ current = {
84
+ id: row.id,
85
+ prompt: previewOf(row),
86
+ answer: null,
87
+ firstRowId: row.id,
88
+ lastRowId: row.id
89
+ };
90
+ }
91
+ if (!current) continue;
92
+ current.lastRowId = row.id;
93
+ for (const id of rowTurnIds(row)) if (!exchangeOfTurn.has(id)) exchangeOfTurn.set(id, current.id);
94
+ for (const inner of rowsWithin(row)) if (inner.kind === "markdown" && inner.text.trim() !== "") lastReply = inner;
95
+ }
96
+ close();
97
+ return {
98
+ exchanges,
99
+ exchangeOfTurn
100
+ };
101
+ }
102
+ /**
103
+ * Whether two exchange lists show the same rail: same exchanges, same text, same span and receipt.
104
+ *
105
+ * @param a - One list.
106
+ * @param b - The other.
107
+ */
108
+ function sameRail(a, b) {
109
+ if (a === b) return true;
110
+ if (a.length !== b.length) return false;
111
+ return a.every((x, i) => {
112
+ const y = b[i];
113
+ return x.id === y.id && x.prompt === y.prompt && x.answer === y.answer && x.firstRowId === y.firstRowId && x.lastRowId === y.lastRowId && x.receipt === y.receipt;
114
+ });
115
+ }
116
+ /** Whether two turn maps send every turn to the same exchange. */
117
+ function sameTurns(a, b) {
118
+ if (a === b) return true;
119
+ if (a.size !== b.size) return false;
120
+ for (const [turn, exchange] of a) if (b.get(turn) !== exchange) return false;
121
+ return true;
122
+ }
123
+ /** A rail store with no exchange: one per transcript view (the provider makes it). */
124
+ function createTranscriptRailStore() {
125
+ const state = writable({
126
+ ...EMPTY_RAIL,
127
+ hovered: null,
128
+ selected: null
129
+ });
130
+ return {
131
+ get: state.get,
132
+ subscribe: state.subscribe,
133
+ publish: (model) => state.set((prev) => sameRail(prev.exchanges, model.exchanges) && sameTurns(prev.exchangeOfTurn, model.exchangeOfTurn) ? prev : {
134
+ ...prev,
135
+ ...model,
136
+ hovered: model.exchanges.some((e) => e.id === prev.hovered) ? prev.hovered : null
137
+ }),
138
+ hover: (id) => state.set((prev) => prev.hovered === id ? prev : {
139
+ ...prev,
140
+ hovered: id
141
+ }),
142
+ select: (id) => state.set((prev) => prev.selected === id ? prev : {
143
+ ...prev,
144
+ selected: id
145
+ })
146
+ };
147
+ }
148
+ export { EMPTY_RAIL, computeRailModel, createTranscriptRailStore, dataRowSelector, plainPreview, sameRail };
@@ -106,6 +106,12 @@ export type Row = (Owned & {
106
106
  resume: 'continue' | 'retry';
107
107
  prompt?: string;
108
108
  };
109
+ /**
110
+ * The broken environment this error stopped on (`detail.environment`) was
111
+ * set up again, or answered again, later in the transcript (`markRunFailures`):
112
+ * it reads as one quiet line, the error kept for its tooltip.
113
+ */
114
+ repaired?: true;
109
115
  }) | (Owned & {
110
116
  /**
111
117
  * Orchestration: a worker session (created/steered by the pinned
@@ -8,6 +8,10 @@
8
8
  * stop. That row knows how to pick the work back up: `continue` when the
9
9
  * run had done something, `retry` (resend the prompt) when it had not.
10
10
  * The TUI applies the same classifier to events (`src/tui/run-stops.ts`).
11
+ *
12
+ * An error on a broken environment (`detail.environment`) that a later setup
13
+ * or a later reply shows was fixed is marked `repaired`: the transcript keeps
14
+ * it, as a quiet line, instead of a stop that still asks for action.
11
15
  */
12
16
  import { Row } from "./rows.js";
13
17
  type ErrorRow = Extract<Row, {
@@ -57,6 +57,34 @@ const markRows = createRunStopMarker({
57
57
  * @param rows - The transcript rows, oldest first.
58
58
  */
59
59
  function markRunFailures(rows) {
60
- return markRows(rows);
60
+ return markRepaired(markRows(rows));
61
+ }
62
+ /** Each repaired error's copy, per row: a row that did not change keeps its identity (memoised rows stay put). */
63
+ const REPAIRED = /* @__PURE__ */ new WeakMap();
64
+ /** The environment works again after this row: a setup that finished, or a reply. */
65
+ function showsWorking(row) {
66
+ return row.kind === "environment-setup" && row.setup.state === "done" || row.kind === "markdown" && row.text.trim() !== "";
67
+ }
68
+ /** Marks the environment errors a later row shows were fixed (`repaired`); `rows` itself when none. */
69
+ function markRepaired(rows) {
70
+ let fixedLater = false;
71
+ let out;
72
+ for (let i = rows.length - 1; i >= 0; i--) {
73
+ const row = rows[i];
74
+ if (fixedLater && row.kind === "error" && row.detail?.environment && !row.repaired) {
75
+ let copy = REPAIRED.get(row);
76
+ if (!copy) {
77
+ copy = {
78
+ ...row,
79
+ repaired: true
80
+ };
81
+ REPAIRED.set(row, copy);
82
+ }
83
+ out ??= rows.slice();
84
+ out[i] = copy;
85
+ }
86
+ if (showsWorking(row)) fixedLater = true;
87
+ }
88
+ return out ?? rows;
61
89
  }
62
90
  export { failureTooltip, markRunFailures };
@@ -61,4 +61,5 @@ export declare const TRANSCRIPT_LABELS: {
61
61
  selectTurnCopied: string;
62
62
  selectTurnNothingToCopy: string;
63
63
  selectTurnForkFailed: string;
64
+ promptRail: string;
64
65
  };
@@ -23,4 +23,5 @@ export declare const TURN_LABELS: {
23
23
  selectTurnCopied: string;
24
24
  selectTurnNothingToCopy: string;
25
25
  selectTurnForkFailed: string;
26
+ promptRail: string;
26
27
  };
@@ -23,6 +23,7 @@ const TURN_LABELS = {
23
23
  selectTurnExit: "Exit",
24
24
  selectTurnCopied: "Copied",
25
25
  selectTurnNothingToCopy: "Nothing to copy",
26
- selectTurnForkFailed: "Fork failed"
26
+ selectTurnForkFailed: "Fork failed",
27
+ promptRail: "Your messages"
27
28
  };
28
29
  export { TURN_LABELS };
@@ -9,7 +9,7 @@ import { ImageModelRow, ModelCatalogRow, ModelPickRef } from "./headless/compose
9
9
  import { ComposerAttachment } from "./headless/composer/host.js";
10
10
  import { ChatProvider, ChatProviderProps, useChatHost, useHostSessions, useOptionalChatHost } from "./ChatProvider.js";
11
11
  import "./composer/index.js";
12
- import { DaemonOrb, DaemonOrbButton, DaemonOrbButtonProps, DaemonOrbProps, OrbState, orbState } from "./DaemonOrb.js";
12
+ import { DaemonOrb, DaemonOrbButton, DaemonOrbButtonProps, DaemonOrbProps, OrbState, StatusOrb, StatusOrbProps, orbState } from "./DaemonOrb.js";
13
13
  import { HostBadge, HostBadgeProps } from "./HostBadge.js";
14
14
  import { RowContext, SlotEntry, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptTurnMenu, TurnMenuTarget, isHiddenRow } from "./transcript/TranscriptRow.js";
15
15
  import { HostStatusDot, HostStatusDotProps } from "./HostStatusDot.js";
@@ -133,7 +133,7 @@ import { Markdown, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownImageProps,
133
133
  import { ChipOpener, CommandScope, CommandScopeContext, INLINE_CODE_CLASS, MarkdownContext, MarkdownContextValue, OpenSessionContext } from "./transcript/markdown-context.js";
134
134
  import { MermaidDiagram, MermaidDiagramProps } from "./transcript/MermaidDiagram.js";
135
135
  import { MessageGroupRow, MessageGroupRowProps } from "./transcript/messages.js";
136
- import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, ErrorRow, ErrorRowProps, FailureRow, FailureRowProps, InfoRow, InfoRowProps, NoticeRow, NoticeRowProps, SessionEventRow, SessionEventRowProps, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps } from "./transcript/notices.js";
136
+ import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, ErrorRow, ErrorRowProps, FailureRow, FailureRowProps, InfoRow, InfoRowProps, NoticeRow, NoticeRowProps, RepairedRow, RepairedRowProps, SessionEventRow, SessionEventRowProps, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps } from "./transcript/notices.js";
137
137
  import { AttachmentIcon, AttachmentIconProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps } from "./transcript/prompt.js";
138
138
  import { PromptLines, PromptLinesProps, copyPromptLines } from "./transcript/prompt-lines.js";
139
139
  import { PromptEcho, PromptEchoProps } from "./transcript/PromptEcho.js";
@@ -156,6 +156,7 @@ import { ToolDetails, ToolDetailsProps } from "./transcript/tool-details.js";
156
156
  import { ToolMedia, ToolMediaProps, useToolMedia } from "./transcript/tool-media.js";
157
157
  import { CODE_PANEL, LoadFullOutputButton, LoadFullOutputButtonProps, ReadFileBlock, ReadFileBlockProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolTiming, ToolTimingProps, useFullOutput } from "./transcript/tool-parts.js";
158
158
  import { ModelVerdict, ModelVerdictProps, NestedToolCalls, NestedToolCallsProps, ToolRow, ToolRowProps } from "./transcript/tool-row.js";
159
+ import { TranscriptRail, TranscriptRailProps, TranscriptRailProvider, TranscriptRailProviderProps, useTranscriptRailStore } from "./transcript/TranscriptRail.js";
159
160
  import { TranscriptSearch, TranscriptSearchProps } from "./transcript/TranscriptSearch.js";
160
161
  import { TurnCommands, TurnCommandsOptions, createTurnCommands, turnViewsOf, useTurnCommands } from "./transcript/turn-commands.js";
161
162
  import { TurnMenuActions, useTurnMenu } from "./transcript/TurnMenu.js";
@@ -175,4 +176,4 @@ import { useWheelHoverPause } from "./transcript/useWheelHoverPause.js";
175
176
  import { MarkdownViews, MarkdownViewsProps } from "./transcript/view-scope.js";
176
177
  import "./transcript/index.js";
177
178
  import { useChatLabels } from "./useChatLabels.js";
178
- export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AgentPickerDialogProps, AgentPickerProps, AgentProfile, AnsiSpans, type AnsiSpansProps, AnsiText, type AnsiTextProps, AnsweredQuestions, AnsweredQuestionsProps, ApprovalDock, ApprovalDockProps, ArchivedBanner, ArchivedBannerProps, AttachmentIcon, AttachmentIconProps, AttachmentLabelFn, AttachmentLabelParts, AttachmentNotices, AttachmentNoticesProps, AttachmentRefusedError, AttachmentRow, AttachmentRowProps, AttachmentTextState, AttachmentTiles, AttachmentTilesProps, AuthFailureCard, AuthFailureCardProps, BADGE_GLYPH, BadgeEffectContext, BadgeMenuBrowser, BadgeMenuComposer, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, CardMarkdownProps, Caret, CaretProps, ChatProvider, ChatProviderProps, ChipCard, ChipCardProps, ChipHover, ChipHoverProps, ChipOpener, CodeBlockSlotProps, CodemodeScript, type CodemodeScriptProps, CommandCard, CommandCardProps, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, CommandScope, CommandScopeContext, CommitCard, CommitCardProps, CompactSummaryRow, CompactSummaryRowProps, Composer, type ComposerAttachment, ComposerBadge, ComposerBadgeTone, ComposerBadges, ComposerBadgesProps, ComposerControls, ComposerControlsProps, ComposerDefaults, ComposerDock, ComposerDockProps, ComposerDraft, ComposerHandle, ComposerHostProvider, ComposerHostProviderProps, ComposerProps, ComposerResult, ComposerRetry, ComposerSearch, ComposerStatusPills, ComposerStatusPillsProps, ComposerSubmit, ComposerTarget, ContextBreakdown, type ContextBreakdownData, ContextBreakdownProps, ContextCost, ContextGauge, ContextOrb, ContextOrbProps, ContextUsage, ConversationBadges, ConversationBadgesProps, Cursor, CvRow, CvRowProps, CycleAgentOptions, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DaemonOrbButtonProps, DaemonOrbProps, DefaultInlineText, DefaultInlineTextProps, DefaultMarkdown, DefaultMarkdownProps, DefaultPrompt, DefaultPromptProps, DefaultSessionTitle, DefaultSessionTitleProps, DiffLines, DiffLinesProps, DockCard, DockCardProps, DockRow, DockRowProps, Dot, DotProps, DraftPickers, DraftPickersProps, DraftServer, DraftTarget, DraftTargetOptions, DraftTargetRequest, EFFORT_LEVELS, EditDiffBlock, EditDiffBlockProps, EffortLevel, EffortPickerDialog, EffortPickerDialogProps, ElicitationCard, ElicitationCardProps, EnvironmentSetupDetails, EnvironmentSetupDetailsProps, EnvironmentSetupRow, EnvironmentSetupRowProps, ErrorRow, ErrorRowProps, ExchangeFoldRow, ExchangeFoldRowProps, FILL_MIN_PROMPTS, FailedMark, FailedMarkProps, FailureRow, FailureRowProps, FileBadgeIcon, FileBadgeIconProps, FoldHeader, FoldHeaderProps, GUTTER_STEP_PX, GroupGlyph, GroupGlyphProps, HostAgentPicker, HostAgentPickerProps, HostBadge, HostBadgeProps, HostComposer, HostComposerProps, HostContextOrb, HostContextOrbProps, HostInteractions, HostInteractionsProps, HostModelChainList, HostModelChainListProps, HostModelImages, HostModelOptionsPicker, HostModelOptionsPickerProps, HostModelPicker, HostModelPickerProps, HostPicker, HostPickerProps, HostStatusDot, HostStatusDotProps, HostTranscript, HostTranscriptProps, HostTurnMenuOptions, INLINE_CODE_CLASS, ImageGenerationBlock, ImageGenerationBlockProps, ImageModelList, ImageModelListProps, type ImageModelRow, InboxPanel, InboxPanelProps, InfoRow, InfoRowProps, InlineChipText, InlineChipTextProps, InlineCode, InlineCodeProps, InlineTextSlotProps, InteractionCard, InteractionCardProps, InteractionTool, InteractionToolBody, InteractionToolBodyProps, LazyRow, LazyRowProps, LineState, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, LiveOutput, type LiveOutputProps, LiveScriptsContext, LoadEarlierRow, LoadEarlierRowProps, LoadFullOutputButton, LoadFullOutputButtonProps, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_MEDIA_ATTACHMENT_BYTES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownContextValue, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownImageProps, MarkdownLinkProps, MarkdownProps, MarkdownSlotProps, MarkdownViews, type MarkdownViewsProps, MentionItem, MermaidDiagram, type MermaidDiagramProps, MessageGroupRow, MessageGroupRowProps, type ModelCatalogRow, ModelCatalogState, ModelChainFooter, ModelChainFooterProps, ModelChainHeader, ModelChainHeaderProps, ModelChainImages, ModelChainList, ModelChainListProps, ModelChainPopover, ModelChainPopoverProps, ModelChainRow, ModelChainRowProps, ModelChainRows, ModelChainRowsProps, ModelChainTooltip, ModelChainTooltipProps, ModelChoice, ModelFlag, ModelFlagProps, ModelGroupHeader, ModelGroupHeaderProps, ModelKind, ModelMeta, ModelMetaProps, ModelOption, ModelOptionsPicker, ModelOptionsPickerProps, type ModelPickRef, ModelPicker, ModelPickerDialog, ModelPickerDialogProps, ModelPickerFrame, ModelPickerFrameProps, ModelPickerProps, ModelProviderChip, ModelProviderChipProps, ModelProviderPills, ModelProviderPillsProps, ModelReasoning, ModelReasoningProps, ModelVerdict, ModelVerdictProps, ModelWindow, ModelWindowProps, NO_COMPOSER_HINT, NestedToolCalls, NestedToolCallsProps, NewChatsDefault, NewSessionDefaults, NewSessionModelSource, NoticeRow, NoticeRowProps, OPTION_ICON, OpenBadgeMenu, OpenSessionContext, OrbState, OrderedBadge, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, ParsedRef, ParsedReferenceUrl, PdfPreview, PdfPreviewProps, PickerGroup, PickerPill, PickerPillProps, PlacePicker, PlacePickerHosts, PlacePickerProps, PlanBody, PlanBodyProps, PlanCard, PlanCardProps, ProjectMenu, ProjectMenuProps, PromptEcho, PromptEchoProps, PromptHistoryProvider, PromptHistoryProviderProps, PromptHistoryValue, PromptLines, PromptLinesProps, PromptSlotProps, ProseMarkdown, ProseMarkdownProps, QuestionField, QuestionFieldProps, QuestionForm, QuestionFormProps, ReadFileBlock, ReadFileBlockProps, RefChip, RefChipProps, RefMatch, ReferenceChip, ReferenceChipProps, ReferenceText, ReferenceTextProps, RetryPill, RetryPillProps, type RowActionItem, RowContext, RowFrame, RowFrameProps, RowIconsContext, RowPlace, RunEstimateChip, RunEstimateChipProps, RunEstimatesProvider, RunEstimatesProviderProps, RunReceiptInline, RunReceiptInlineProps, RunStatusChip, RunStatusChipProps, RunSummaryRow, RunSummaryRowProps, RunnableCodeBlock, type RunnableCodeBlockProps, ScopeToggle, ScopeToggleProps, ScrollPosition, SearchHighlightStyle, SecretInput, SecretInputProps, SelectCursor, SelectCursorProps, SelectTurnCommands, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnHintKeysProps, type SelectTurnHintProps, SelectTurnKeysOptions, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, SendButton, SendButtonProps, SendPromptControls, SendPromptOptions, SendRoute, ServerScopeToggle, ServerScopeToggleProps, SessionActivityFilter, SessionArchiveFilter, SessionCard, SessionCardProps, SessionDotState, SessionEventRow, SessionEventRowProps, SessionFilterAction, SessionFilterAxis, SessionFilterExtra, SessionFilterMenu, SessionFilterMenuProps, SessionFilterPlacement, SessionGroupHeader, SessionGroupHeaderProps, SessionHostHeader, SessionHostHeaderProps, SessionList, SessionListProps, SessionListRow, SessionListRowProps, SessionMeters, SessionMetersTarget, SessionProjectAxis, SessionStreamsProvider, SessionStreamsProviderProps, SessionTitleSlotProps, SessionView, ShellBlockProvider, type ShellBlockProviderProps, type ShellBlockScope, ShowMoreRow, ShowMoreRowProps, SkillCard, SkillCardProps, SkillGroupCard, SkillGroupCardProps, SlotEntry, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps, StatusDot, StatusDotProps, StickToBottomOptions, SubagentBlock, SubagentBlockProps, SuggestionKind, SuggestionPopup, SuggestionPopupProps, SuggestionSource, SuggestionState, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TaskBatchRow, TaskBatchRowProps, TaskRow, TaskRowProps, TextPreview, TextPreviewProps, TextPreviewSlotProps, TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingLevel, ThinkingRow, ThinkingRowProps, Throbber, ThrobberProps, ThrobberVariant, ToolBatchRow, ToolBatchRowProps, ToolBodySlotProps, ToolDetails, ToolDetailsProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolMedia, type ToolMediaItem, ToolMediaProps, ToolRow, ToolRowProps, ToolTiming, ToolTimingProps, Transcript, TranscriptAccounts, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, TranscriptFind, TranscriptFindKeyOptions, TranscriptFindOptions, TranscriptFindTarget, TranscriptOptions, TranscriptProps, TranscriptRenderers, TranscriptRenderersProvider, type TranscriptRenderersProviderProps, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptRows, TranscriptRowsInput, TranscriptScrollInputs, TranscriptSearch, TranscriptSearchOptions, TranscriptSearchProps, TranscriptSearchState, TranscriptSelection, TranscriptSettling, TranscriptTurnMenu, TurnCommands, TurnCommandsOptions, TurnMenuActions, TurnMenuTarget, UserBashRow, UserBashRowProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, WorkerDetailsProps, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, focusComposerWhenReady, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isAudioAttachment, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, isVideoAttachment, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, optionTitle, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, takePendingComposerFocus, textAttachment, turnViewsOf, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useClearDraftKnobs, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useHostTurnMenu, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewChatsDefault, useNewSessionDefaults, useOptionalChatHost, useOptionalSessionStreamActions, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
179
+ export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AgentPickerDialogProps, AgentPickerProps, AgentProfile, AnsiSpans, type AnsiSpansProps, AnsiText, type AnsiTextProps, AnsweredQuestions, AnsweredQuestionsProps, ApprovalDock, ApprovalDockProps, ArchivedBanner, ArchivedBannerProps, AttachmentIcon, AttachmentIconProps, AttachmentLabelFn, AttachmentLabelParts, AttachmentNotices, AttachmentNoticesProps, AttachmentRefusedError, AttachmentRow, AttachmentRowProps, AttachmentTextState, AttachmentTiles, AttachmentTilesProps, AuthFailureCard, AuthFailureCardProps, BADGE_GLYPH, BadgeEffectContext, BadgeMenuBrowser, BadgeMenuComposer, BadgeMenuProvider, BadgeMenuProviderProps, BadgeMenuSystem, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, CardMarkdownProps, Caret, CaretProps, ChatProvider, ChatProviderProps, ChipCard, ChipCardProps, ChipHover, ChipHoverProps, ChipOpener, CodeBlockSlotProps, CodemodeScript, type CodemodeScriptProps, CommandCard, CommandCardProps, CommandDetailRow, CommandDetailRowProps, CommandNoteRow, CommandNoteRowProps, CommandScope, CommandScopeContext, CommitCard, CommitCardProps, CompactSummaryRow, CompactSummaryRowProps, Composer, type ComposerAttachment, ComposerBadge, ComposerBadgeTone, ComposerBadges, ComposerBadgesProps, ComposerControls, ComposerControlsProps, ComposerDefaults, ComposerDock, ComposerDockProps, ComposerDraft, ComposerHandle, ComposerHostProvider, ComposerHostProviderProps, ComposerProps, ComposerResult, ComposerRetry, ComposerSearch, ComposerStatusPills, ComposerStatusPillsProps, ComposerSubmit, ComposerTarget, ContextBreakdown, type ContextBreakdownData, ContextBreakdownProps, ContextCost, ContextGauge, ContextOrb, ContextOrbProps, ContextUsage, ConversationBadges, ConversationBadgesProps, Cursor, CvRow, CvRowProps, CycleAgentOptions, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DaemonOrbButtonProps, DaemonOrbProps, DefaultInlineText, DefaultInlineTextProps, DefaultMarkdown, DefaultMarkdownProps, DefaultPrompt, DefaultPromptProps, DefaultSessionTitle, DefaultSessionTitleProps, DiffLines, DiffLinesProps, DockCard, DockCardProps, DockRow, DockRowProps, Dot, DotProps, DraftPickers, DraftPickersProps, DraftServer, DraftTarget, DraftTargetOptions, DraftTargetRequest, EFFORT_LEVELS, EditDiffBlock, EditDiffBlockProps, EffortLevel, EffortPickerDialog, EffortPickerDialogProps, ElicitationCard, ElicitationCardProps, EnvironmentSetupDetails, EnvironmentSetupDetailsProps, EnvironmentSetupRow, EnvironmentSetupRowProps, ErrorRow, ErrorRowProps, ExchangeFoldRow, ExchangeFoldRowProps, FILL_MIN_PROMPTS, FailedMark, FailedMarkProps, FailureRow, FailureRowProps, FileBadgeIcon, FileBadgeIconProps, FoldHeader, FoldHeaderProps, GUTTER_STEP_PX, GroupGlyph, GroupGlyphProps, HostAgentPicker, HostAgentPickerProps, HostBadge, HostBadgeProps, HostComposer, HostComposerProps, HostContextOrb, HostContextOrbProps, HostInteractions, HostInteractionsProps, HostModelChainList, HostModelChainListProps, HostModelImages, HostModelOptionsPicker, HostModelOptionsPickerProps, HostModelPicker, HostModelPickerProps, HostPicker, HostPickerProps, HostStatusDot, HostStatusDotProps, HostTranscript, HostTranscriptProps, HostTurnMenuOptions, INLINE_CODE_CLASS, ImageGenerationBlock, ImageGenerationBlockProps, ImageModelList, ImageModelListProps, type ImageModelRow, InboxPanel, InboxPanelProps, InfoRow, InfoRowProps, InlineChipText, InlineChipTextProps, InlineCode, InlineCodeProps, InlineTextSlotProps, InteractionCard, InteractionCardProps, InteractionTool, InteractionToolBody, InteractionToolBodyProps, LazyRow, LazyRowProps, LineState, LinkBadge, LinkBadgeProps, LinkIcon, LinkIconProps, LiveOutput, type LiveOutputProps, LiveScriptsContext, LoadEarlierRow, LoadEarlierRowProps, LoadFullOutputButton, LoadFullOutputButtonProps, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_MEDIA_ATTACHMENT_BYTES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownContextValue, MarkdownDiagrams, MarkdownDiagramsProps, MarkdownImageProps, MarkdownLinkProps, MarkdownProps, MarkdownSlotProps, MarkdownViews, type MarkdownViewsProps, MentionItem, MermaidDiagram, type MermaidDiagramProps, MessageGroupRow, MessageGroupRowProps, type ModelCatalogRow, ModelCatalogState, ModelChainFooter, ModelChainFooterProps, ModelChainHeader, ModelChainHeaderProps, ModelChainImages, ModelChainList, ModelChainListProps, ModelChainPopover, ModelChainPopoverProps, ModelChainRow, ModelChainRowProps, ModelChainRows, ModelChainRowsProps, ModelChainTooltip, ModelChainTooltipProps, ModelChoice, ModelFlag, ModelFlagProps, ModelGroupHeader, ModelGroupHeaderProps, ModelKind, ModelMeta, ModelMetaProps, ModelOption, ModelOptionsPicker, ModelOptionsPickerProps, type ModelPickRef, ModelPicker, ModelPickerDialog, ModelPickerDialogProps, ModelPickerFrame, ModelPickerFrameProps, ModelPickerProps, ModelProviderChip, ModelProviderChipProps, ModelProviderPills, ModelProviderPillsProps, ModelReasoning, ModelReasoningProps, ModelVerdict, ModelVerdictProps, ModelWindow, ModelWindowProps, NO_COMPOSER_HINT, NestedToolCalls, NestedToolCallsProps, NewChatsDefault, NewSessionDefaults, NewSessionModelSource, NoticeRow, NoticeRowProps, OPTION_ICON, OpenBadgeMenu, OpenSessionContext, OrbState, OrderedBadge, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, ParsedRef, ParsedReferenceUrl, PdfPreview, PdfPreviewProps, PickerGroup, PickerPill, PickerPillProps, PlacePicker, PlacePickerHosts, PlacePickerProps, PlanBody, PlanBodyProps, PlanCard, PlanCardProps, ProjectMenu, ProjectMenuProps, PromptEcho, PromptEchoProps, PromptHistoryProvider, PromptHistoryProviderProps, PromptHistoryValue, PromptLines, PromptLinesProps, PromptSlotProps, ProseMarkdown, ProseMarkdownProps, QuestionField, QuestionFieldProps, QuestionForm, QuestionFormProps, ReadFileBlock, ReadFileBlockProps, RefChip, RefChipProps, RefMatch, ReferenceChip, ReferenceChipProps, ReferenceText, ReferenceTextProps, RepairedRow, RepairedRowProps, RetryPill, RetryPillProps, type RowActionItem, RowContext, RowFrame, RowFrameProps, RowIconsContext, RowPlace, RunEstimateChip, RunEstimateChipProps, RunEstimatesProvider, RunEstimatesProviderProps, RunReceiptInline, RunReceiptInlineProps, RunStatusChip, RunStatusChipProps, RunSummaryRow, RunSummaryRowProps, RunnableCodeBlock, type RunnableCodeBlockProps, ScopeToggle, ScopeToggleProps, ScrollPosition, SearchHighlightStyle, SecretInput, SecretInputProps, SelectCursor, SelectCursorProps, SelectTurnCommands, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnHintKeysProps, type SelectTurnHintProps, SelectTurnKeysOptions, SelectTurnProvider, SelectTurnProviderProps, SelectTurnState, SelectTurnValue, SendButton, SendButtonProps, SendPromptControls, SendPromptOptions, SendRoute, ServerScopeToggle, ServerScopeToggleProps, SessionActivityFilter, SessionArchiveFilter, SessionCard, SessionCardProps, SessionDotState, SessionEventRow, SessionEventRowProps, SessionFilterAction, SessionFilterAxis, SessionFilterExtra, SessionFilterMenu, SessionFilterMenuProps, SessionFilterPlacement, SessionGroupHeader, SessionGroupHeaderProps, SessionHostHeader, SessionHostHeaderProps, SessionList, SessionListProps, SessionListRow, SessionListRowProps, SessionMeters, SessionMetersTarget, SessionProjectAxis, SessionStreamsProvider, SessionStreamsProviderProps, SessionTitleSlotProps, SessionView, ShellBlockProvider, type ShellBlockProviderProps, type ShellBlockScope, ShowMoreRow, ShowMoreRowProps, SkillCard, SkillCardProps, SkillGroupCard, SkillGroupCardProps, SlotEntry, SpawnEndRow, SpawnEndRowProps, SpawnStartRow, SpawnStartRowProps, StatusDot, StatusDotProps, StatusOrb, StatusOrbProps, StickToBottomOptions, SubagentBlock, SubagentBlockProps, SuggestionKind, SuggestionPopup, SuggestionPopupProps, SuggestionSource, SuggestionState, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TaskBatchRow, TaskBatchRowProps, TaskRow, TaskRowProps, TextPreview, TextPreviewProps, TextPreviewSlotProps, TextRow, TextRowProps, ThinkingBatchRow, ThinkingBatchRowProps, ThinkingLevel, ThinkingRow, ThinkingRowProps, Throbber, ThrobberProps, ThrobberVariant, ToolBatchRow, ToolBatchRowProps, ToolBodySlotProps, ToolDetails, ToolDetailsProps, ToolGlyph, ToolGlyphProps, ToolInput, ToolInputProps, ToolMedia, type ToolMediaItem, ToolMediaProps, ToolRow, ToolRowProps, ToolTiming, ToolTimingProps, Transcript, TranscriptAccounts, TranscriptActions, TranscriptActionsProvider, TranscriptActionsProviderProps, TranscriptFind, TranscriptFindKeyOptions, TranscriptFindOptions, TranscriptFindTarget, TranscriptOptions, TranscriptProps, TranscriptRail, type TranscriptRailProps, TranscriptRailProvider, type TranscriptRailProviderProps, TranscriptRenderers, TranscriptRenderersProvider, type TranscriptRenderersProviderProps, TranscriptRow, TranscriptRowProps, TranscriptRowSlot, TranscriptRowSlotProps, TranscriptRows, TranscriptRowsInput, TranscriptScrollInputs, TranscriptSearch, TranscriptSearchOptions, TranscriptSearchProps, TranscriptSearchState, TranscriptSelection, TranscriptSettling, TranscriptTurnMenu, TurnCommands, TurnCommandsOptions, TurnMenuActions, TurnMenuTarget, UserBashRow, UserBashRowProps, UserPromptAttachments, UserPromptAttachmentsProps, UserPromptRow, UserPromptRowProps, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, WorkerDetailsProps, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, focusComposerWhenReady, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isAudioAttachment, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, isVideoAttachment, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, optionTitle, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, takePendingComposerFocus, textAttachment, turnViewsOf, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useClearDraftKnobs, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useHostTurnMenu, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewChatsDefault, useNewSessionDefaults, useOptionalChatHost, useOptionalSessionStreamActions, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRailStore, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
@@ -1,7 +1,7 @@
1
1
  import { ChatProvider, useChatHost, useHostSessions, useOptionalChatHost } from "./ChatProvider.js";
2
2
  import { ComposerHostProvider, useComposerHost, useComposerLabels } from "./composer/ComposerHostProvider.js";
3
3
  import { TranscriptActionsProvider, useModelName, useTranscriptActions } from "./transcript/actions.js";
4
- import { DaemonOrb, DaemonOrbButton, orbState } from "./DaemonOrb.js";
4
+ import { DaemonOrb, DaemonOrbButton, StatusOrb, orbState } from "./DaemonOrb.js";
5
5
  import { BadgeMenuProvider, useBadgeMenu } from "./transcript/BadgeMenu.js";
6
6
  import { useSiteIcon } from "./transcript/site-icons.js";
7
7
  import { BADGE_GLYPH, FileBadgeIcon, LinkBadge, LinkIcon, fileBadgeName, fileBadgeSpec, linkGlyph, siteIconValue } from "./transcript/badges.js";
@@ -38,9 +38,17 @@ import { AttachmentIcon, UserPromptAttachments, UserPromptRow } from "./transcri
38
38
  import { HostStatusDot } from "./HostStatusDot.js";
39
39
  import { parseReferenceUrl, referenceUrl, remarkReferences } from "./transcript/remark-references.js";
40
40
  import { ProseMarkdown } from "./transcript/ProseMarkdown.js";
41
+ import { PlanBody, PlanCard } from "./interactions/PlanCard.js";
42
+ import { SecretInput } from "./interactions/SecretInput.js";
43
+ import { QuestionField, isRequired } from "./interactions/QuestionField.js";
44
+ import { seedDefaults } from "./interactions/question-answers.js";
45
+ import { AnsweredQuestions, QuestionForm } from "./interactions/QuestionForm.js";
46
+ import { resourceErrorText, useClearDraftKnobs, useComposerModelName, useComposerProviderLabel, useDraftKnobs, useHostResource, useModelCatalog, useModelKnobs, useModelPickerPrefs, useModelPickerPrefsStore, useRememberedKnobs } from "./composer/use-composer-stores.js";
41
47
  import { HostTranscript } from "./HostTranscript.js";
42
48
  import { PdfPreview } from "./PdfPreview.js";
43
49
  import { providerColor, providerHue, providerTint } from "./provider-color.js";
50
+ import { RunEstimateChip, RunEstimatesProvider, useRunEstimate } from "./RunEstimateChip.js";
51
+ import { NO_COMPOSER_HINT, __resetComposerScopesForTests, claimComposerFocus, focusComposer, focusComposerWhenReady, hasComposerFor, hasFocusedComposer, isFocusedComposer, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, registerComposerScope, takePendingComposerFocus, textAttachment, useComposerFor, useHasFocusedComposer } from "./composer/composer-bus.js";
44
52
  import { EnvironmentSetupDetails, EnvironmentSetupRow } from "./transcript/environment-setup.js";
45
53
  import { WorkerDetails } from "./transcript/fold-worker.js";
46
54
  import { ToolDetails } from "./transcript/tool-details.js";
@@ -48,13 +56,13 @@ import { ImageGenerationBlock, drawsImageGeneration, imageRequestsOf, savedPaths
48
56
  import { ModelVerdict, NestedToolCalls, ToolRow } from "./transcript/tool-row.js";
49
57
  import { ExchangeFoldRow, FoldHeader, LiveScriptsContext } from "./transcript/fold.js";
50
58
  import { SelectCursor } from "./transcript/SelectCursor.js";
51
- import { RunEstimateChip, RunEstimatesProvider, useRunEstimate } from "./RunEstimateChip.js";
59
+ import { SessionFilterMenu } from "./SessionFilterMenu.js";
52
60
  import { SubagentBlock } from "./transcript/SubagentBlock.js";
61
+ import { TranscriptRail, TranscriptRailProvider, useTranscriptRailStore } from "./transcript/TranscriptRail.js";
53
62
  import { MessageGroupRow } from "./transcript/messages.js";
54
63
  import { AuthFailureCard } from "./transcript/AuthFailureCard.js";
55
- import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandNoteRow, ErrorRow, FailureRow, InfoRow, NoticeRow, SessionEventRow, SpawnEndRow, SpawnStartRow } from "./transcript/notices.js";
64
+ import { COMMAND_DETAIL_LINE, CommandDetailRow, CommandNoteRow, ErrorRow, FailureRow, InfoRow, NoticeRow, RepairedRow, SessionEventRow, SpawnEndRow, SpawnStartRow } from "./transcript/notices.js";
56
65
  import { CompactSummaryRow, RunReceiptInline, RunSummaryRow } from "./transcript/run-rows.js";
57
- import { NO_COMPOSER_HINT, __resetComposerScopesForTests, claimComposerFocus, focusComposer, focusComposerWhenReady, hasComposerFor, hasFocusedComposer, isFocusedComposer, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, registerComposerScope, takePendingComposerFocus, textAttachment, useComposerFor, useHasFocusedComposer } from "./composer/composer-bus.js";
58
66
  import { RunnableCodeBlock, ShellBlockProvider } from "./transcript/shell-block.js";
59
67
  import { TaskBatchRow, TaskRow } from "./transcript/tasks.js";
60
68
  import { ToolBatchRow } from "./transcript/tool-batch.js";
@@ -62,7 +70,6 @@ import { UserBashRow } from "./transcript/user-bash.js";
62
70
  import { TranscriptRow, TranscriptRowSlot, isHiddenRow } from "./transcript/TranscriptRow.js";
63
71
  import { useSelectStops, useTranscriptRows } from "./transcript/use-transcript-rows.js";
64
72
  import { useTranscriptSelectionCopy } from "./transcript/useTranscriptSelectionCopy.js";
65
- import { SessionFilterMenu } from "./SessionFilterMenu.js";
66
73
  import { GroupGlyph, SessionGroupHeader, ShowMoreRow } from "./SessionGroupHeader.js";
67
74
  import { SessionHostHeader } from "./SessionHostHeader.js";
68
75
  import { SessionList } from "./SessionList.js";
@@ -72,6 +79,7 @@ import { StatusDot, dotStateFor } from "./StatusDot.js";
72
79
  import { MAX_TEXT_PREVIEW_BYTES, TextPreview, useAttachmentText } from "./TextPreview.js";
73
80
  import { Throbber } from "./Throbber.js";
74
81
  import { DEFAULT_TRANSCRIPT_OPTIONS, Transcript } from "./Transcript.js";
82
+ import { TRANSCRIPT_OPTION_KEYS, useTranscriptOptions } from "./transcript-options.js";
75
83
  import { PickerPill } from "./composer/PickerPill.js";
76
84
  import { AgentPicker } from "./composer/AgentPicker.js";
77
85
  import { useAllInteractions, useInteractionHead, usePendingInteractions } from "./interactions/hooks.js";
@@ -92,11 +100,9 @@ import { ATTACHMENT_NOTICE_MS, useAttachmentIngest, useAttachmentNotices } from
92
100
  import { Composer } from "./composer/Composer.js";
93
101
  import { ContextBreakdown, colorForCategory } from "./composer/ContextBreakdown.js";
94
102
  import { ContextOrb, contextGauge } from "./composer/ContextOrb.js";
95
- import { resourceErrorText, useClearDraftKnobs, useComposerModelName, useComposerProviderLabel, useDraftKnobs, useHostResource, useModelCatalog, useModelKnobs, useModelPickerPrefs, useModelPickerPrefsStore, useRememberedKnobs } from "./composer/use-composer-stores.js";
96
103
  import { HostContextOrb } from "./composer/HostContextOrb.js";
97
104
  import { catalogFromProviders, compactWindow, groupKeyOf, lineupKeyOf, modelLineup, modelNameOf, modelSearchScore, offCatalogRows, pickRefOf, pickerGroups, providerAccountLabel, refKey, resolveChain, resolvePick, rowKey, unresolveChain, withPrimary } from "./composer/model-catalog.js";
98
105
  import { EFFORT_LEVELS, ModelOptionsPicker, OPTION_ICON, THINKING_LEVELS, optionTitle } from "./composer/ModelOptionsPicker.js";
99
- import { TRANSCRIPT_OPTION_KEYS, useTranscriptOptions } from "./transcript-options.js";
100
106
  import { ModelChainFooter, ModelChainHeader, ModelGroupHeader } from "./composer/ModelChainParts.js";
101
107
  import { ModelFlag, ModelMeta, ModelProviderChip, ModelReasoning, ModelWindow } from "./composer/ModelFacts.js";
102
108
  import { ModelChainRow } from "./composer/ModelChainRow.js";
@@ -134,12 +140,7 @@ import { useNewSessionDefaults } from "./composer/use-new-session-defaults.js";
134
140
  import { useProviderReadyPoll } from "./composer/use-provider-ready-poll.js";
135
141
  import { useSendPrompt } from "./composer/use-send-prompt.js";
136
142
  import { useSessionContextStatus, useSessionMeters } from "./composer/use-session-meters.js";
137
- import { SecretInput } from "./interactions/SecretInput.js";
138
- import { QuestionField, isRequired } from "./interactions/QuestionField.js";
139
- import { seedDefaults } from "./interactions/question-answers.js";
140
143
  import { ElicitationCard } from "./interactions/ElicitationCard.js";
141
- import { PlanBody, PlanCard } from "./interactions/PlanCard.js";
142
- import { AnsweredQuestions, QuestionForm } from "./interactions/QuestionForm.js";
143
144
  import { InteractionCard } from "./interactions/InteractionCard.js";
144
145
  import { HostInteractions } from "./interactions/HostInteractions.js";
145
146
  import { InboxPanel } from "./interactions/InboxPanel.js";
@@ -162,4 +163,4 @@ import { useTranscriptFindKey } from "./transcript/useTranscriptFindKey.js";
162
163
  import { useTranscriptFind } from "./transcript/useTranscriptFind.js";
163
164
  import { useWheelHoverPause } from "./transcript/useWheelHoverPause.js";
164
165
  import { useTranscriptScroll } from "./transcript/useTranscriptScroll.js";
165
- export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AnsiSpans, AnsiText, AnsweredQuestions, ApprovalDock, ArchivedBanner, AttachmentIcon, AttachmentNotices, AttachmentRefusedError, AttachmentRow, AttachmentTiles, AuthFailureCard, BADGE_GLYPH, BadgeMenuProvider, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, Caret, ChatProvider, ChipCard, ChipHover, CodemodeScript, CommandCard, CommandDetailRow, CommandNoteRow, CommandScopeContext, CommitCard, CompactSummaryRow, Composer, ComposerBadges, ComposerControls, ComposerDock, ComposerHostProvider, ComposerStatusPills, ContextBreakdown, ContextOrb, ConversationBadges, CvRow, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DefaultInlineText, DefaultMarkdown, DefaultPrompt, DefaultSessionTitle, DiffLines, DockCard, DockRow, Dot, DraftPickers, EFFORT_LEVELS, EditDiffBlock, EffortPickerDialog, ElicitationCard, EnvironmentSetupDetails, EnvironmentSetupRow, ErrorRow, ExchangeFoldRow, FILL_MIN_PROMPTS, FailedMark, FailureRow, FileBadgeIcon, FoldHeader, GUTTER_STEP_PX, GroupGlyph, HostAgentPicker, HostBadge, HostComposer, HostContextOrb, HostInteractions, HostModelChainList, HostModelOptionsPicker, HostModelPicker, HostPicker, HostStatusDot, HostTranscript, INLINE_CODE_CLASS, ImageGenerationBlock, ImageModelList, InboxPanel, InfoRow, InlineChipText, InlineCode, InteractionCard, InteractionToolBody, LazyRow, LinkBadge, LinkIcon, LiveOutput, LiveScriptsContext, LoadEarlierRow, LoadFullOutputButton, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_MEDIA_ATTACHMENT_BYTES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownDiagrams, MarkdownViews, MermaidDiagram, MessageGroupRow, ModelChainFooter, ModelChainHeader, ModelChainList, ModelChainPopover, ModelChainRow, ModelChainRows, ModelChainTooltip, ModelFlag, ModelGroupHeader, ModelMeta, ModelOptionsPicker, ModelPicker, ModelPickerDialog, ModelPickerFrame, ModelProviderChip, ModelProviderPills, ModelReasoning, ModelVerdict, ModelWindow, NO_COMPOSER_HINT, NestedToolCalls, NoticeRow, OPTION_ICON, OpenSessionContext, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, PdfPreview, PickerPill, PlacePicker, PlanBody, PlanCard, ProjectMenu, PromptEcho, PromptHistoryProvider, PromptLines, ProseMarkdown, QuestionField, QuestionForm, ReadFileBlock, RefChip, ReferenceChip, ReferenceText, RetryPill, RowFrame, RowIconsContext, RunEstimateChip, RunEstimatesProvider, RunReceiptInline, RunStatusChip, RunSummaryRow, RunnableCodeBlock, ScopeToggle, SearchHighlightStyle, SecretInput, SelectCursor, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnProvider, SendButton, ServerScopeToggle, SessionCard, SessionEventRow, SessionFilterMenu, SessionGroupHeader, SessionHostHeader, SessionList, SessionListRow, SessionStreamsProvider, ShellBlockProvider, ShowMoreRow, SkillCard, SkillGroupCard, SpawnEndRow, SpawnStartRow, StatusDot, SubagentBlock, SuggestionPopup, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TaskBatchRow, TaskRow, TextPreview, TextRow, ThinkingBatchRow, ThinkingRow, Throbber, ToolBatchRow, ToolDetails, ToolGlyph, ToolInput, ToolMedia, ToolRow, ToolTiming, Transcript, TranscriptActionsProvider, TranscriptRenderersProvider, TranscriptRow, TranscriptRowSlot, TranscriptSearch, TranscriptSettling, UserBashRow, UserPromptAttachments, UserPromptRow, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, focusComposerWhenReady, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isAudioAttachment, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, isVideoAttachment, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, optionTitle, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, takePendingComposerFocus, textAttachment, turnViewsOf, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useClearDraftKnobs, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useHostTurnMenu, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewChatsDefault, useNewSessionDefaults, useOptionalChatHost, useOptionalSessionStreamActions, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
166
+ export { ATTACHMENT_NOTICE_MS, AUTO_FILL_PAGES, AgentPicker, AgentPickerDialog, AnsiSpans, AnsiText, AnsweredQuestions, ApprovalDock, ArchivedBanner, AttachmentIcon, AttachmentNotices, AttachmentRefusedError, AttachmentRow, AttachmentTiles, AuthFailureCard, BADGE_GLYPH, BadgeMenuProvider, CHIP_CARD_WIDTH, CODE_PANEL, COMMAND_DETAIL_LINE, CardMarkdown, Caret, ChatProvider, ChipCard, ChipHover, CodemodeScript, CommandCard, CommandDetailRow, CommandNoteRow, CommandScopeContext, CommitCard, CompactSummaryRow, Composer, ComposerBadges, ComposerControls, ComposerDock, ComposerHostProvider, ComposerStatusPills, ContextBreakdown, ContextOrb, ConversationBadges, CvRow, DEFAULT_BADGE_ORDER, DEFAULT_TRANSCRIPT_OPTIONS, DEFAULT_TRANSCRIPT_RENDERERS, DaemonOrb, DaemonOrbButton, DefaultInlineText, DefaultMarkdown, DefaultPrompt, DefaultSessionTitle, DiffLines, DockCard, DockRow, Dot, DraftPickers, EFFORT_LEVELS, EditDiffBlock, EffortPickerDialog, ElicitationCard, EnvironmentSetupDetails, EnvironmentSetupRow, ErrorRow, ExchangeFoldRow, FILL_MIN_PROMPTS, FailedMark, FailureRow, FileBadgeIcon, FoldHeader, GUTTER_STEP_PX, GroupGlyph, HostAgentPicker, HostBadge, HostComposer, HostContextOrb, HostInteractions, HostModelChainList, HostModelOptionsPicker, HostModelPicker, HostPicker, HostStatusDot, HostTranscript, INLINE_CODE_CLASS, ImageGenerationBlock, ImageModelList, InboxPanel, InfoRow, InlineChipText, InlineCode, InteractionCard, InteractionToolBody, LazyRow, LinkBadge, LinkIcon, LiveOutput, LiveScriptsContext, LoadEarlierRow, LoadFullOutputButton, MAX_FILE_ATTACHMENT_BYTES, MAX_IMAGE_ATTACHMENT_BYTES, MAX_MATCHES, MAX_MEDIA_ATTACHMENT_BYTES, MAX_TEXT_PREVIEW_BYTES, Markdown, MarkdownContext, MarkdownDiagrams, MarkdownViews, MermaidDiagram, MessageGroupRow, ModelChainFooter, ModelChainHeader, ModelChainList, ModelChainPopover, ModelChainRow, ModelChainRows, ModelChainTooltip, ModelFlag, ModelGroupHeader, ModelMeta, ModelOptionsPicker, ModelPicker, ModelPickerDialog, ModelPickerFrame, ModelProviderChip, ModelProviderPills, ModelReasoning, ModelVerdict, ModelWindow, NO_COMPOSER_HINT, NestedToolCalls, NoticeRow, OPTION_ICON, OpenSessionContext, PASTE_FOLD_CHAR_THRESHOLD, PASTE_FOLD_LINE_THRESHOLD, PdfPreview, PickerPill, PlacePicker, PlanBody, PlanCard, ProjectMenu, PromptEcho, PromptHistoryProvider, PromptLines, ProseMarkdown, QuestionField, QuestionForm, ReadFileBlock, RefChip, ReferenceChip, ReferenceText, RepairedRow, RetryPill, RowFrame, RowIconsContext, RunEstimateChip, RunEstimatesProvider, RunReceiptInline, RunStatusChip, RunSummaryRow, RunnableCodeBlock, ScopeToggle, SearchHighlightStyle, SecretInput, SelectCursor, SelectTurnExit, SelectTurnHint, SelectTurnHintKeys, SelectTurnProvider, SendButton, ServerScopeToggle, SessionCard, SessionEventRow, SessionFilterMenu, SessionGroupHeader, SessionHostHeader, SessionList, SessionListRow, SessionStreamsProvider, ShellBlockProvider, ShowMoreRow, SkillCard, SkillGroupCard, SpawnEndRow, SpawnStartRow, StatusDot, StatusOrb, SubagentBlock, SuggestionPopup, THINKING_LEVELS, TRANSCRIPT_OPTION_KEYS, TRIGGER, TaskBatchRow, TaskRow, TextPreview, TextRow, ThinkingBatchRow, ThinkingRow, Throbber, ToolBatchRow, ToolDetails, ToolGlyph, ToolInput, ToolMedia, ToolRow, ToolTiming, Transcript, TranscriptActionsProvider, TranscriptRail, TranscriptRailProvider, TranscriptRenderersProvider, TranscriptRow, TranscriptRowSlot, TranscriptSearch, TranscriptSettling, UserBashRow, UserPromptAttachments, UserPromptRow, WORK_HOLD_MS, WORK_SHOW_MS, WorkerDetails, __resetComposerScopesForTests, attachmentErrorText, attachmentLightboxItems, catalogFromProviders, claimComposerFocus, classifyInlineRef, colorForCategory, compactWindow, contextGauge, copyPromptLines, createTurnCommands, decodeDataUrlAsText, defaultAttachmentLabel, defaultAttachmentTileLabel, detectLanguage, dotStateFor, drawsImageGeneration, effectiveImageModel, fileBadgeName, fileBadgeSpec, findModel, findRefs, focusComposer, focusComposerWhenReady, formatBytes, groupKeyOf, hasComposerFor, hasFocusedComposer, hasInteractionBody, holdForceMountRows, imageCatalogRows, imageModelKey, imageRequestsOf, isAudioAttachment, isCaretAtEnd, isCaretAtStart, isFocusedComposer, isHiddenRow, isPdfAttachment, isRequired, isTextLike, isVideoAttachment, lineStateOf, lineupKeyOf, linkGlyph, mergeBadgeOrder, modelKey, modelLineup, modelNameOf, modelSearchScore, mountRowNow, nextProfileId, numberRef, offCatalogRows, onComposerAttachment, onComposerDraft, onComposerFocus, onComposerInsert, onComposerMention, onComposerPrompt, optionTitle, orbState, orderComposerBadges, parseRefUrl, parseReferenceUrl, parseToolMedia, pastedTextFilename, pickRefOf, pickerGroups, plainTextToDocJson, providerAccountLabel, providerColor, providerHue, providerTint, pushComposerAttachment, pushComposerDraft, pushComposerInsert, pushComposerMention, pushComposerPrompt, readAttachment, refHref, refKey, referenceUrl, registerComposerScope, remarkReferences, remarkRefs, resolveChain, resolvePick, resourceErrorText, rowKey, savedPaths, seedDefaults, shouldFoldPasteToAttachment, siteIconValue, suggestionExtension, takePendingComposerFocus, textAttachment, turnViewsOf, unresolveChain, useAgentProfiles, useAllInteractions, useAttachmentIngest, useAttachmentNotices, useAttachmentRemoval, useAttachmentText, useBackgroundMount, useBadgeMenu, useCacheHints, useCaptureRunState, useChatHost, useChatLabels, useChipResolution, useClearDraftKnobs, useCommand, useCommitInfo, useComposerFor, useComposerHost, useComposerLabels, useComposerModelName, useComposerProviderLabel, useComposerSearch, useCycleAgent, useDraftKnobs, useDraftTarget, useFillViewportScrollback, useForceMountRows, useFullOutput, useHasFocusedComposer, useHasSessionEvents, useHostResource, useHostSessions, useHostTurnMenu, useInteractionHead, useIsSessionHydrated, useJoinedRunProgress, useModelCatalog, useModelKnobs, useModelName, useModelPickerPrefs, useModelPickerPrefsStore, useNewChatsDefault, useNewSessionDefaults, useOptionalChatHost, useOptionalSessionStreamActions, usePeekRunSeq, usePeekSessionEvents, usePeekSessionRunning, usePendingInteractions, usePromptHistory, useProviderReadyPoll, useReferenceMatches, useReferenceProviders, useReferenceView, useReferencedSession, useRememberedKnobs, useResolveChipNow, useRowIcons, useRunAccruedCost, useRunElapsedSec, useRunEstimate, useRunMeterValue, useRunOutputTokens, useRunProgress, useRunStartedAt, useSelectStops, useSelectTurn, useSelectTurnKeys, useSendPrompt, useSessionContextStatus, useSessionEdits, useSessionEvents, useSessionEventsSelector, useSessionFallbackModel, useSessionMeters, useSessionPage, useSessionRetry, useSessionRunning, useSessionStreamActions, useSessionStreams, useSessionSystemMd, useSettledReveal, useShellBlockScope, useSiteIcon, useSkill, useStickToBottom, useSustainedWork, useToolMedia, useTranscriptActions, useTranscriptFind, useTranscriptFindKey, useTranscriptOptions, useTranscriptRailStore, useTranscriptRenderers, useTranscriptRows, useTranscriptScroll, useTranscriptSearch, useTranscriptSelectionCopy, useTurnCommands, useTurnMenu, useWheelHoverPause, withPrimary, workShowDelay };
@@ -68,7 +68,7 @@ function ElicitationCard({ request, onAnswer, autoFocus = false, className, styl
68
68
  ]
69
69
  });
70
70
  const message = payload.message && /* @__PURE__ */ jsx("p", {
71
- className: "m-0 text-zg-ui leading-5 text-[var(--zg-text)] whitespace-pre-wrap zg-pretty",
71
+ className: "m-0 text-zg-ui leading-5 text-[var(--zg-text)] whitespace-pre-wrap",
72
72
  children: payload.message
73
73
  });
74
74
  const rootClass = ["flex flex-col gap-3", className].filter(Boolean).join(" ");
@@ -57,7 +57,7 @@ function InteractionCard({ interaction, onAnswer, onDismiss, autoFocus, Markdown
57
57
  }) : /* @__PURE__ */ jsxs("div", {
58
58
  className: "flex flex-col gap-2",
59
59
  children: [/* @__PURE__ */ jsx("p", {
60
- className: "m-0 text-zg-label text-[var(--zg-text-muted)] zg-pretty",
60
+ className: "m-0 text-zg-label text-[var(--zg-text-muted)]",
61
61
  children: labels.unsupportedInteraction(request.tool)
62
62
  }), /* @__PURE__ */ jsx("div", {
63
63
  className: "max-h-[40vh] overflow-auto",
@@ -42,7 +42,7 @@ function PlanCard({ request, autoFocus = false, onAnswer, Markdown, className, s
42
42
  style,
43
43
  children: commentStage ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
44
44
  /* @__PURE__ */ jsx("p", {
45
- className: "m-0 text-zg-label text-[var(--zg-text-muted)] zg-pretty",
45
+ className: "m-0 text-zg-label text-[var(--zg-text-muted)]",
46
46
  children: decision === "reject" ? labels.planRejectNote : labels.planReviseNote
47
47
  }),
48
48
  /* @__PURE__ */ jsx("textarea", {
@@ -137,7 +137,7 @@ function PlanBody({ payload, Markdown: MarkdownProp }) {
137
137
  const slots = useTranscriptRenderers();
138
138
  const Markdown = MarkdownProp ?? slots.Markdown;
139
139
  return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
140
- className: "prose-styles text-zg-ui text-[var(--zg-text)] zg-pretty",
140
+ className: "prose-styles text-zg-ui text-[var(--zg-text)]",
141
141
  children: /* @__PURE__ */ jsx(Markdown, { children: payload.plan })
142
142
  }), payload.steps && payload.steps.length > 0 && /* @__PURE__ */ jsx("ol", {
143
143
  className: "flex flex-col gap-1.5 list-none m-0 p-0",
@@ -154,7 +154,7 @@ function PlanBody({ payload, Markdown: MarkdownProp }) {
154
154
  className: "text-zg-ui font-medium text-[var(--zg-text)] zg-balance",
155
155
  children: step.title
156
156
  }), step.description && /* @__PURE__ */ jsx("div", {
157
- className: "text-zg-meta text-[var(--zg-text-muted)] mt-0.5 zg-pretty",
157
+ className: "text-zg-meta text-[var(--zg-text-muted)] mt-0.5",
158
158
  children: step.description
159
159
  })]
160
160
  })]
@@ -121,7 +121,7 @@ function QuestionField({ index, question, value, onChange, note, onNoteChange, r
121
121
  }),
122
122
  question.description && /* @__PURE__ */ jsx("span", {
123
123
  id: `${inputId}-desc`,
124
- className: "text-zg-meta leading-4 text-[var(--zg-text-muted)] zg-pretty",
124
+ className: "text-zg-meta leading-4 text-[var(--zg-text-muted)]",
125
125
  children: question.description
126
126
  }),
127
127
  question.type === "select" && question.multi && /* @__PURE__ */ jsx("span", {
@@ -137,7 +137,7 @@ function QuestionField({ index, question, value, onChange, note, onNoteChange, r
137
137
  readOnly && (question.type === "text" || question.type === "textarea" || question.type === "number") && /* @__PURE__ */ jsx("div", {
138
138
  ...groupProps,
139
139
  role: "group",
140
- className: `text-zg-ui leading-5 whitespace-pre-wrap zg-pretty ${answered.trim() !== "" ? "text-[var(--zg-text)]" : "text-[var(--zg-text-subtle)] italic"}`,
140
+ className: `text-zg-ui leading-5 whitespace-pre-wrap ${answered.trim() !== "" ? "text-[var(--zg-text)]" : "text-[var(--zg-text-subtle)] italic"}`,
141
141
  children: answered.trim() !== "" ? answered : labels.noAnswer
142
142
  }),
143
143
  !readOnly && question.type === "text" && /* @__PURE__ */ jsx("input", {
@@ -234,7 +234,7 @@ function QuestionField({ index, question, value, onChange, note, onNoteChange, r
234
234
  className: "block text-zg-ui leading-5",
235
235
  children: choice.label
236
236
  }), choice.description && /* @__PURE__ */ jsx("span", {
237
- className: "block text-zg-meta leading-4 text-[var(--zg-text-muted)] mt-0.5 zg-pretty",
237
+ className: "block text-zg-meta leading-4 text-[var(--zg-text-muted)] mt-0.5",
238
238
  children: choice.description
239
239
  })]
240
240
  })]
@@ -268,7 +268,7 @@ function QuestionField({ index, question, value, onChange, note, onNoteChange, r
268
268
  className: `zg-well text-zg-ui px-2.5 w-full placeholder:text-[var(--zg-text-subtle)] mt-1.5 min-h-8 py-1.5 resize-y`
269
269
  }),
270
270
  choiceQuestion && readOnly && hasNote && /* @__PURE__ */ jsx("div", {
271
- className: "mt-1.5 text-zg-ui leading-5 text-[var(--zg-text)] whitespace-pre-wrap zg-pretty",
271
+ className: "mt-1.5 text-zg-ui leading-5 text-[var(--zg-text)] whitespace-pre-wrap",
272
272
  children: note
273
273
  }),
274
274
  shownProblem && /* @__PURE__ */ jsx("div", {