zidane-ui 9.1.4 → 9.1.6

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 (251) hide show
  1. package/dist/adapters/server-extensions-host.js +1 -1
  2. package/dist/adapters/server-host.js +2 -1
  3. package/dist/adapters/server-machines-host.js +1 -1
  4. package/dist/adapters/server-session-host.js +87 -13
  5. package/dist/adapters/server-settings-host.js +1 -1
  6. package/dist/appearance/AppearanceProvider.js +2 -2
  7. package/dist/appearance/headless/index.js +1 -1
  8. package/dist/approvals/headless/index.js +2 -2
  9. package/dist/chat/HostTranscript.d.ts +5 -1
  10. package/dist/chat/HostTranscript.js +16 -4
  11. package/dist/chat/RunEstimateChip.d.ts +5 -3
  12. package/dist/chat/RunEstimateChip.js +33 -3
  13. package/dist/chat/Transcript.js +1 -1
  14. package/dist/chat/composer/ConversationBadges.js +16 -10
  15. package/dist/chat/composer/composer-bus.d.ts +2 -2
  16. package/dist/chat/composer/composer-bus.js +2 -2
  17. package/dist/chat/composer/use-composer-stores.js +1 -1
  18. package/dist/chat/composer/use-run-meter.js +1 -1
  19. package/dist/chat/headless/composer/conversation-badges.d.ts +8 -3
  20. package/dist/chat/headless/composer/conversation-badges.js +26 -11
  21. package/dist/chat/headless/composer/index.js +2 -2
  22. package/dist/chat/headless/composer/labels-chrome.d.ts +3 -1
  23. package/dist/chat/headless/composer/labels-chrome.js +3 -1
  24. package/dist/chat/headless/index.d.ts +6 -3
  25. package/dist/chat/headless/index.js +16 -13
  26. package/dist/chat/headless/labels.d.ts +54 -1
  27. package/dist/chat/headless/labels.js +62 -2
  28. package/dist/chat/headless/secrets.d.ts +32 -0
  29. package/dist/chat/headless/secrets.js +43 -0
  30. package/dist/chat/headless/session-list.d.ts +45 -0
  31. package/dist/chat/headless/sidebar/estimates.js +13 -1
  32. package/dist/chat/headless/sidebar/history.d.ts +71 -0
  33. package/dist/chat/headless/sidebar/history.js +174 -0
  34. package/dist/chat/headless/sidebar/index.d.ts +3 -2
  35. package/dist/chat/headless/sidebar/index.js +2 -1
  36. package/dist/chat/headless/sidebar/labels.d.ts +50 -0
  37. package/dist/chat/headless/sidebar/labels.js +1 -0
  38. package/dist/chat/headless/sidebar/query.d.ts +2 -2
  39. package/dist/chat/headless/sidebar/query.js +6 -3
  40. package/dist/chat/headless/sidebar/types.d.ts +7 -1
  41. package/dist/chat/headless/sidebar/view.js +2 -0
  42. package/dist/chat/headless/transcript/auth-failure.d.ts +67 -0
  43. package/dist/chat/headless/transcript/auth-failure.js +87 -0
  44. package/dist/chat/headless/transcript/index.d.ts +2 -1
  45. package/dist/chat/headless/transcript/index.js +2 -1
  46. package/dist/chat/headless/transcript/nesting.d.ts +3 -3
  47. package/dist/chat/headless/transcript/nesting.js +12 -4
  48. package/dist/chat/index.d.ts +4 -2
  49. package/dist/chat/index.js +3 -1
  50. package/dist/chat/interactions/InboxPanel.d.ts +6 -2
  51. package/dist/chat/interactions/InboxPanel.js +82 -44
  52. package/dist/chat/interactions/PlanCard.d.ts +2 -2
  53. package/dist/chat/interactions/PlanCard.js +1 -1
  54. package/dist/chat/interactions/QuestionField.d.ts +8 -3
  55. package/dist/chat/interactions/QuestionField.js +89 -8
  56. package/dist/chat/interactions/QuestionForm.d.ts +3 -1
  57. package/dist/chat/interactions/QuestionForm.js +48 -10
  58. package/dist/chat/interactions/SecretInput.d.ts +32 -0
  59. package/dist/chat/interactions/SecretInput.js +72 -0
  60. package/dist/chat/interactions/card-ui.d.ts +5 -3
  61. package/dist/chat/interactions/card-ui.js +5 -3
  62. package/dist/chat/interactions/index.d.ts +2 -1
  63. package/dist/chat/interactions/index.js +2 -1
  64. package/dist/chat/sidebar/SessionSidebar.js +2 -0
  65. package/dist/chat/sidebar/SidebarFilterMenu.d.ts +7 -2
  66. package/dist/chat/sidebar/SidebarFilterMenu.js +26 -2
  67. package/dist/chat/sidebar/SidebarSessionRow.d.ts +3 -1
  68. package/dist/chat/sidebar/SidebarSessionRow.js +8 -3
  69. package/dist/chat/sidebar/sidebar-live.js +8 -4
  70. package/dist/chat/transcript/AuthFailureCard.d.ts +34 -0
  71. package/dist/chat/transcript/AuthFailureCard.js +358 -0
  72. package/dist/chat/transcript/InteractionToolBody.js +12 -2
  73. package/dist/chat/transcript/actions.d.ts +24 -1
  74. package/dist/chat/transcript/index.d.ts +3 -2
  75. package/dist/chat/transcript/index.js +2 -1
  76. package/dist/chat/transcript/notices.d.ts +2 -1
  77. package/dist/chat/transcript/notices.js +13 -1
  78. package/dist/chat/transcript/script-input.d.ts +1 -1
  79. package/dist/chat/transcript/shell-block.js +1 -1
  80. package/dist/components/HowItWorks.d.ts +8 -1
  81. package/dist/components/HowItWorks.js +2 -2
  82. package/dist/components/RowActionsMenu.d.ts +6 -1
  83. package/dist/components/RowActionsMenu.js +4 -0
  84. package/dist/core.css +24 -0
  85. package/dist/dist/{index-WlE93Q6d.d.ts → index-DqCio7Nd.d.ts} +36 -3
  86. package/dist/dist/index-f-XWIoYo.d.ts +1 -0
  87. package/dist/dist/index.d.ts +6 -0
  88. package/dist/dist/sandbox-B4OW6oNx.d.ts +2 -0
  89. package/dist/dist/timeout-B5pO5I5a.d.ts +30 -0
  90. package/dist/extensions/ExtensionSettingsPage.js +1 -1
  91. package/dist/extensions/ExtensionSettingsSidebar.js +1 -1
  92. package/dist/extensions/headless/fixture-host.js +1 -1
  93. package/dist/extensions/headless/index.js +4 -4
  94. package/dist/extensions/hooks.js +1 -1
  95. package/dist/files/DiffsTab.js +1 -1
  96. package/dist/files/EditorColumn.js +1 -1
  97. package/dist/files/MediaDiff.js +1 -1
  98. package/dist/files/SearchPanel.js +121 -53
  99. package/dist/files/headless/name-match.js +29 -14
  100. package/dist/files/useEntryActions.js +1 -1
  101. package/dist/files/useOpenFiles.js +1 -1
  102. package/dist/git/WherePicker.js +2 -2
  103. package/dist/git/headless/environment.d.ts +6 -1
  104. package/dist/git/headless/environment.js +5 -2
  105. package/dist/git/headless/labels.d.ts +2 -0
  106. package/dist/git/headless/labels.js +2 -0
  107. package/dist/git/index.d.ts +2 -1
  108. package/dist/git/index.js +2 -1
  109. package/dist/git/useStartFromPanel.d.ts +22 -0
  110. package/dist/git/useStartFromPanel.js +91 -0
  111. package/dist/keybindings/KeyCommands.js +1 -1
  112. package/dist/keybindings/KeybindingsProvider.js +1 -1
  113. package/dist/keybindings/headless/catalog.d.ts +1 -1
  114. package/dist/keybindings/headless/catalog.js +14 -2
  115. package/dist/keybindings/headless/index.js +2 -2
  116. package/dist/keybindings/headless/key-scope.d.ts +4 -2
  117. package/dist/keybindings/headless/key-scope.js +17 -2
  118. package/dist/keybindings/headless/overrides.js +1 -1
  119. package/dist/machines/HostSyncPanel.js +1 -1
  120. package/dist/machines/SyncOutcomeBadge.js +1 -1
  121. package/dist/machines/headless/index.js +1 -1
  122. package/dist/onboarding/demos/features.d.ts +9 -1
  123. package/dist/onboarding/demos/features.js +107 -2
  124. package/dist/onboarding/demos/how-it-works.d.ts +5 -1
  125. package/dist/onboarding/demos/how-it-works.js +120 -2
  126. package/dist/onboarding/demos/index.js +1 -1
  127. package/dist/onboarding/headless/labels.d.ts +17 -0
  128. package/dist/onboarding/headless/labels.js +17 -0
  129. package/dist/onboarding/index.js +4 -4
  130. package/dist/onboarding/marks.d.ts +1 -2
  131. package/dist/onboarding/marks.js +4 -12
  132. package/dist/onboarding/steps/ConnectorsStep.js +1 -1
  133. package/dist/onboarding/steps/ReadyStep.js +1 -1
  134. package/dist/onboarding/steps/SkillsStep.js +1 -1
  135. package/dist/onboarding/steps/connect/ProviderPanel.js +1 -1
  136. package/dist/onboarding/tutorials.d.ts +3 -1
  137. package/dist/onboarding/tutorials.js +2 -1
  138. package/dist/palette/app-sources.js +1 -1
  139. package/dist/palette/headless/app-sources.js +10 -0
  140. package/dist/palette/headless/labels.js +2 -0
  141. package/dist/session/ArtifactsPanel.js +1 -1
  142. package/dist/session/PanelAttention.d.ts +14 -6
  143. package/dist/session/PanelAttention.js +35 -24
  144. package/dist/session/PlanTracker.d.ts +54 -0
  145. package/dist/session/PlanTracker.js +413 -0
  146. package/dist/session/ProjectHome.d.ts +15 -2
  147. package/dist/session/ProjectHome.js +158 -85
  148. package/dist/session/RemindersPanel.d.ts +25 -0
  149. package/dist/session/RemindersPanel.js +526 -0
  150. package/dist/session/SecretsPanel.d.ts +19 -0
  151. package/dist/session/SecretsPanel.js +241 -0
  152. package/dist/session/SessionProvider.d.ts +26 -5
  153. package/dist/session/SessionProvider.js +51 -6
  154. package/dist/session/StepStatusIcon.d.ts +24 -0
  155. package/dist/session/StepStatusIcon.js +50 -0
  156. package/dist/session/TodoList.d.ts +4 -3
  157. package/dist/session/TodoList.js +6 -5
  158. package/dist/session/headless/fixture-host.d.ts +32 -22
  159. package/dist/session/headless/fixture-host.js +86 -51
  160. package/dist/session/headless/fixture-plans.d.ts +57 -0
  161. package/dist/session/headless/fixture-plans.js +141 -0
  162. package/dist/session/headless/fixture-schedules.d.ts +49 -0
  163. package/dist/session/headless/fixture-schedules.js +133 -0
  164. package/dist/session/headless/home-layout.d.ts +10 -2
  165. package/dist/session/headless/home-layout.js +7 -2
  166. package/dist/session/headless/host.d.ts +85 -13
  167. package/dist/session/headless/index.d.ts +5 -3
  168. package/dist/session/headless/index.js +5 -3
  169. package/dist/session/headless/labels.d.ts +95 -12
  170. package/dist/session/headless/labels.js +67 -18
  171. package/dist/session/headless/plans.d.ts +53 -0
  172. package/dist/session/headless/plans.js +78 -0
  173. package/dist/session/headless/reminder-labels.d.ts +63 -0
  174. package/dist/session/headless/reminder-labels.js +84 -0
  175. package/dist/session/headless/schedules.d.ts +93 -0
  176. package/dist/session/headless/schedules.js +190 -0
  177. package/dist/session/headless/secrets.d.ts +28 -0
  178. package/dist/session/headless/secrets.js +48 -0
  179. package/dist/session/index.d.ts +7 -5
  180. package/dist/session/index.js +6 -4
  181. package/dist/session/testing/contract.d.ts +18 -5
  182. package/dist/session/testing/contract.js +351 -43
  183. package/dist/session/testing/index.d.ts +4 -2
  184. package/dist/session/testing/index.js +4 -2
  185. package/dist/settings/headless/catalog.js +17 -1
  186. package/dist/settings/headless/index.d.ts +2 -2
  187. package/dist/settings/headless/index.js +3 -3
  188. package/dist/settings/headless/labels.d.ts +0 -2
  189. package/dist/settings/headless/labels.js +0 -2
  190. package/dist/settings/headless/layout.js +7 -1
  191. package/dist/settings/headless/providers.d.ts +17 -1
  192. package/dist/settings/headless/providers.js +19 -1
  193. package/dist/settings/headless/search.d.ts +1 -1
  194. package/dist/settings/rows.d.ts +1 -1
  195. package/dist/settings/rows.js +2 -2
  196. package/dist/settings/sections/appearance/AppearanceSection.js +2 -2
  197. package/dist/settings/sections/claude-import/ClaudeImportDialog.js +1 -1
  198. package/dist/settings/sections/editor/EditorSection.js +1 -1
  199. package/dist/settings/sections/environments/EnvironmentsSection.js +1 -1
  200. package/dist/settings/sections/extensions/ChangeOriginDialog.js +1 -1
  201. package/dist/settings/sections/extensions/CreateExtensionDialog.js +1 -1
  202. package/dist/settings/sections/extensions/ExtensionsSection.js +1 -1
  203. package/dist/settings/sections/host-catalog/HostCatalogSection.js +1 -1
  204. package/dist/settings/sections/instructions/InstructionsSection.js +1 -1
  205. package/dist/settings/sections/keybindings/labels.d.ts +2 -0
  206. package/dist/settings/sections/keybindings/labels.js +2 -0
  207. package/dist/settings/sections/keybindings/rows.js +8 -0
  208. package/dist/settings/sections/mcp/McpSection.js +1 -1
  209. package/dist/settings/sections/mcp/McpServerRow.js +1 -1
  210. package/dist/settings/sections/models/ModelRows.js +2 -2
  211. package/dist/settings/sections/providers/ProvidersSection.js +209 -201
  212. package/dist/settings/sections/providers/ServerProvidersSection.js +1 -1
  213. package/dist/settings/sections/shared/catalog.js +1 -1
  214. package/dist/settings/sections/skills/SkillList.js +1 -1
  215. package/dist/settings/sections/skills/SkillsSection.js +2 -2
  216. package/dist/styles.css +59 -1
  217. package/dist/terminal/HostTerminalSurface.js +2 -2
  218. package/dist/workspace/PanelContentView.d.ts +22 -4
  219. package/dist/workspace/PanelContentView.js +112 -16
  220. package/dist/workspace/PanelGlyph.d.ts +21 -0
  221. package/dist/workspace/PanelGlyph.js +33 -0
  222. package/dist/workspace/PanelHome.js +5 -3
  223. package/dist/workspace/PanelStrip.js +11 -4
  224. package/dist/workspace/PanelToolbar.d.ts +32 -0
  225. package/dist/workspace/PanelToolbar.js +194 -0
  226. package/dist/workspace/WorkspaceProvider.d.ts +3 -1
  227. package/dist/workspace/WorkspaceProvider.js +6 -2
  228. package/dist/workspace/extension-tabs.js +5 -2
  229. package/dist/workspace/headless/host.d.ts +4 -0
  230. package/dist/workspace/headless/index.d.ts +3 -1
  231. package/dist/workspace/headless/index.js +4 -2
  232. package/dist/workspace/headless/labels.d.ts +10 -0
  233. package/dist/workspace/headless/labels.js +11 -1
  234. package/dist/workspace/headless/pages.d.ts +15 -0
  235. package/dist/workspace/headless/pages.js +49 -0
  236. package/dist/workspace/headless/tab-mark.d.ts +14 -0
  237. package/dist/workspace/headless/tab-mark.js +27 -0
  238. package/dist/workspace/headless/view.d.ts +7 -1
  239. package/dist/workspace/index.d.ts +3 -2
  240. package/dist/workspace/index.js +3 -2
  241. package/dist/workspace/testing/index.js +6 -0
  242. package/dist/workspace/workspace-key-commands.js +3 -3
  243. package/package.json +2 -2
  244. package/src/styles/motion.css +13 -0
  245. package/src/styles/onboarding.css +0 -1
  246. package/src/styles/primitives.css +10 -0
  247. package/src/styles/workspace.css +17 -0
  248. package/dist/session/TodosPanel.d.ts +0 -19
  249. package/dist/session/TodosPanel.js +0 -251
  250. package/dist/session/headless/todos.d.ts +0 -22
  251. package/dist/session/headless/todos.js +0 -38
@@ -1,5 +1,23 @@
1
1
  //#region src/settings/headless/providers.ts
2
2
  /**
3
+ * A provider's row on Settings › Accounts, as a deep link's focus names it
4
+ * (`SettingsShell`'s `initialFocus`).
5
+ *
6
+ * @param provider - The provider's key.
7
+ */
8
+ function accountsFocusId(provider) {
9
+ return `account:${provider}`;
10
+ }
11
+ /**
12
+ * A provider's API key field on Settings › Accounts, as a deep link's focus
13
+ * names it: the row opens on its key form.
14
+ *
15
+ * @param provider - The provider's key.
16
+ */
17
+ function accountsKeyFocusId(provider) {
18
+ return `account:${provider}:key`;
19
+ }
20
+ /**
3
21
  * Whether a provider holds more than one stored credential, so there is a
4
22
  * choice of which one is in use (the TUI's expandable auth rows).
5
23
  *
@@ -9,4 +27,4 @@ function hasCredentialChoice(provider) {
9
27
  return provider.methods.filter((method) => method.source !== "env").length > 1;
10
28
  }
11
29
  //#endregion
12
- export { hasCredentialChoice };
30
+ export { accountsFocusId, accountsKeyFocusId, hasCredentialChoice };
@@ -1,4 +1,4 @@
1
- import { ff as Settings } from "../../dist/index-WlE93Q6d.js";
1
+ import { pf as Settings } from "../../dist/index-DqCio7Nd.js";
2
2
  import { SettingsSearchEntry, SettingsSection } from "./registry.js";
3
3
  import { SettingsChoice, SettingsToggle } from "./catalog.js";
4
4
  import { SettingsActionId, SettingsPage } from "./layout.js";
@@ -11,7 +11,7 @@ interface ToggleRowProps {
11
11
  onToggle: () => void;
12
12
  /** Why another setting holds the row on whatever its value says (`toggleHeldOn`): the row renders on and inert with this note. */
13
13
  heldOn?: string;
14
- /** Label of the `row.requires` setting while it is off: the row renders inert and says what to turn on first. */
14
+ /** Label of the `row.requires` setting while it is off: the row renders inert, keeps its description, and its title names the setting. */
15
15
  blockedBy?: string;
16
16
  /** The row's kill-switch env var while it is engaged: the feature is off whatever the setting says, so the row is inert and names it. */
17
17
  killedBy?: string;
@@ -10,8 +10,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
10
10
  function ToggleRow(props) {
11
11
  const { row, value, onToggle, heldOn, blockedBy, killedBy, disabled = false, className, style } = props;
12
12
  const labels = useSettingsLabels();
13
- const note = killedBy !== void 0 ? labels.settingsKilled(killedBy) : heldOn !== void 0 ? heldOn : blockedBy !== void 0 ? labels.settingsBlocked(blockedBy) : void 0;
14
- const blocked = note !== void 0;
13
+ const note = killedBy !== void 0 ? labels.settingsKilled(killedBy) : heldOn;
14
+ const blocked = note !== void 0 || blockedBy !== void 0;
15
15
  const inert = blocked || disabled;
16
16
  return /* @__PURE__ */ jsxs("button", {
17
17
  type: "button",
@@ -7,9 +7,9 @@ import { HighlightedCode } from "../../../code/HighlightedCode.js";
7
7
  import { ACCENT_PRESETS, presetFor } from "../../../theme/accents.js";
8
8
  import { derivePalette } from "../../../theme/derive.js";
9
9
  import { seedFromTheme } from "../../../theme/from-theme.js";
10
- import { codeThemesOf } from "../../../code/code-themes.js";
11
- import { availableCuratedFonts, queryInstalledFonts } from "../../../appearance/headless/fonts.js";
12
10
  import { LIMITS } from "../../../appearance/headless/prefs.js";
11
+ import { availableCuratedFonts, queryInstalledFonts } from "../../../appearance/headless/fonts.js";
12
+ import { codeThemesOf } from "../../../code/code-themes.js";
13
13
  import { resolveCodeTheme, useAppearance, useAppearanceMotion } from "../../../appearance/AppearanceProvider.js";
14
14
  import { SettingFocus, SettingsPanel, SettingsPanelBody } from "../../section.js";
15
15
  import { useSectionLabels } from "../use-section-labels.js";
@@ -1,9 +1,9 @@
1
1
  import { BTN_LG_SECONDARY, BTN_LG_SOLID } from "../../../components/button.js";
2
2
  import { EmptyState, SectionLabel, Tray } from "../../../components/Surface.js";
3
3
  import { ErrorNote, MetaChip, ROW_BUTTON_CLASS, RowText, Switch } from "../../../components/Form.js";
4
+ import { toSettingsError } from "../../headless/host.js";
4
5
  import { useSettingsHost } from "../../SettingsProvider.js";
5
6
  import { ModalShell } from "../../../app/ModalProvider.js";
6
- import { toSettingsError } from "../../headless/host.js";
7
7
  import { useSectionLabels } from "../use-section-labels.js";
8
8
  import { DEFAULT_CLAUDE_IMPORT_LABELS } from "./labels.js";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { FormSection, ROW_BUTTON_CLASS, RowText, SegmentedRow, SliderRow, Switch, SwitchRow } from "../../../components/Form.js";
2
- import { useAppearanceHost, useAppearanceState } from "../../../appearance/AppearanceProvider.js";
3
2
  import { DIAGNOSTICS_TIMEOUT, LSP_IDLE } from "../../../files/headless/editor-prefs.js";
3
+ import { useAppearanceHost, useAppearanceState } from "../../../appearance/AppearanceProvider.js";
4
4
  import { useEditorPrefs, useFilesHost } from "../../../files/FilesProvider.js";
5
5
  import { SettingFocus, SettingsPanel, SettingsPanelBody } from "../../section.js";
6
6
  import { useSectionLabels } from "../use-section-labels.js";
@@ -2,9 +2,9 @@ import { BTN_SECONDARY } from "../../../components/button.js";
2
2
  import { Segmented } from "../../../components/Segmented.js";
3
3
  import { ErrorNote, FormCard, FormSection, INPUT_CLASS as INPUT_CLASS$1, MetaChip, RowText, Switch } from "../../../components/Form.js";
4
4
  import { constant, useReadable } from "../../../chat/headless/store.js";
5
+ import { toSettingsError } from "../../headless/host.js";
5
6
  import { useMachinesHost } from "../../../machines/MachinesProvider.js";
6
7
  import { useSettingsHost } from "../../SettingsProvider.js";
7
- import { toSettingsError } from "../../headless/host.js";
8
8
  import { HostBadge } from "../../../chat/HostBadge.js";
9
9
  import { environmentKindIcon } from "../../../git/headless/environment.js";
10
10
  import { SettingsPanel, SettingsPanelBody, useSettingsSection } from "../../section.js";
@@ -1,8 +1,8 @@
1
1
  import { useLabels } from "../../../labels.js";
2
2
  import { buttonClass } from "../../../components/button.js";
3
3
  import { ErrorNote, INPUT_CLASS, MetaChip } from "../../../components/Form.js";
4
- import { useOptionalModal } from "../../../app/ModalProvider.js";
5
4
  import { isSettingsError, toSettingsError } from "../../headless/host.js";
5
+ import { useOptionalModal } from "../../../app/ModalProvider.js";
6
6
  import { useSectionLabels } from "../use-section-labels.js";
7
7
  import { useCatalogSharedLabels } from "../shared/catalog.js";
8
8
  import { DEFAULT_EXTENSIONS_SECTION_LABELS } from "./labels.js";
@@ -2,9 +2,9 @@ import { BTN_LG_SECONDARY, BTN_LG_SOLID } from "../../../components/button.js";
2
2
  import { Segmented } from "../../../components/Segmented.js";
3
3
  import { ErrorNote, INPUT_CLASS } from "../../../components/Form.js";
4
4
  import { useDisplayPath } from "../../../hooks/useDisplayPath.js";
5
+ import { toSettingsError } from "../../headless/host.js";
5
6
  import { useSettingsHost } from "../../SettingsProvider.js";
6
7
  import { ModalShell } from "../../../app/ModalProvider.js";
7
- import { toSettingsError } from "../../headless/host.js";
8
8
  import { useSectionLabels } from "../use-section-labels.js";
9
9
  import { DEFAULT_CREATE_EXTENSION_LABELS } from "./create-labels.js";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -4,8 +4,8 @@ import { Tooltip } from "../../../components/Tooltip.js";
4
4
  import { ErrorNote, FIELD_LABEL_CLASS, FORM_CARD_CLASS, INPUT_CLASS, MetaChip, OpLine } from "../../../components/Form.js";
5
5
  import { RowActionsMenu } from "../../../components/RowActionsMenu.js";
6
6
  import { useDisplayPath } from "../../../hooks/useDisplayPath.js";
7
- import { useSettingsHost } from "../../SettingsProvider.js";
8
7
  import { toSettingsError } from "../../headless/host.js";
8
+ import { useSettingsHost } from "../../SettingsProvider.js";
9
9
  import { ExtensionSlot } from "../../../extensions/ExtensionSlot.js";
10
10
  import { SettingsPanel, SettingsPanelActions, SettingsPanelBody } from "../../section.js";
11
11
  import { useSectionLabels } from "../use-section-labels.js";
@@ -1,8 +1,8 @@
1
1
  import { BTN_LG_SECONDARY, BTN_PRIMARY } from "../../../components/button.js";
2
2
  import { INPUT_CLASS, OpLine } from "../../../components/Form.js";
3
3
  import { LoadError } from "../../../components/LoadError.js";
4
- import { useSettingsHost } from "../../SettingsProvider.js";
5
4
  import { toSettingsError } from "../../headless/host.js";
5
+ import { useSettingsHost } from "../../SettingsProvider.js";
6
6
  import { SettingsPanel, SettingsPanelActions, SettingsPanelBody } from "../../section.js";
7
7
  import { useSectionLabels } from "../use-section-labels.js";
8
8
  import { useCatalogSharedLabels } from "../shared/catalog.js";
@@ -2,9 +2,9 @@ import { BTN_SECONDARY, buttonClass } from "../../../components/button.js";
2
2
  import { EmptyState } from "../../../components/Surface.js";
3
3
  import { ErrorNote, MetaChip } from "../../../components/Form.js";
4
4
  import { useDisplayPath } from "../../../hooks/useDisplayPath.js";
5
+ import { toSettingsError } from "../../headless/host.js";
5
6
  import { useSettingsHost } from "../../SettingsProvider.js";
6
7
  import { Markdown } from "../../../chat/transcript/markdown.js";
7
- import { toSettingsError } from "../../headless/host.js";
8
8
  import { SettingsPanel, SettingsPanelBody } from "../../section.js";
9
9
  import { useSectionLabels } from "../use-section-labels.js";
10
10
  import { OpenFileButton, RevealPathButton, useCatalogSharedLabels } from "../shared/catalog.js";
@@ -52,6 +52,8 @@ declare const DEFAULT_KEYBINDINGS_SECTION_LABELS: {
52
52
  keybindingsSectionApp: string;
53
53
  keybindingsSectionPalette: string;
54
54
  keybindingsSectionSidebar: string;
55
+ keybindingsSectionBack: string;
56
+ keybindingsSectionForward: string;
55
57
  keybindingsSectionUsage: string;
56
58
  keybindingsSectionSettings: string;
57
59
  keybindingsSectionKeybindings: string;
@@ -52,6 +52,8 @@ const DEFAULT_KEYBINDINGS_SECTION_LABELS = {
52
52
  keybindingsSectionApp: "App",
53
53
  keybindingsSectionPalette: "Command palette",
54
54
  keybindingsSectionSidebar: "Show or hide the sidebar",
55
+ keybindingsSectionBack: "Back to the previous conversation",
56
+ keybindingsSectionForward: "Forward to the next conversation",
55
57
  keybindingsSectionUsage: "Usage",
56
58
  keybindingsSectionSettings: "Settings",
57
59
  keybindingsSectionKeybindings: "Keybindings",
@@ -172,6 +172,14 @@ const KEYBINDING_SECTIONS = [
172
172
  action: "toggleSidebar",
173
173
  label: "keybindingsSectionSidebar"
174
174
  },
175
+ {
176
+ action: "navigateBack",
177
+ label: "keybindingsSectionBack"
178
+ },
179
+ {
180
+ action: "navigateForward",
181
+ label: "keybindingsSectionForward"
182
+ },
175
183
  {
176
184
  action: "openUsagePanel",
177
185
  label: "keybindingsSectionUsage"
@@ -2,9 +2,9 @@ import { BTN_LG_PRIMARY, BTN_LG_SECONDARY } from "../../../components/button.js"
2
2
  import { EmptyState } from "../../../components/Surface.js";
3
3
  import { ErrorNote, OpLine } from "../../../components/Form.js";
4
4
  import { constant, useReadable } from "../../../chat/headless/store.js";
5
- import { useSettingsHost, useSettingsWritable } from "../../SettingsProvider.js";
6
5
  import { toSettingsError } from "../../headless/host.js";
7
6
  import { enabledMcpTools, enabledMcpsAfterAdd, mcpRunning, mcpSettingsAfterRemove, mcpShareable, mcpSharedNow, mcpSharingWith, toggleMcpTool } from "../../headless/mcp.js";
7
+ import { useSettingsHost, useSettingsWritable } from "../../SettingsProvider.js";
8
8
  import { SettingsPanel, SettingsPanelActions, SettingsPanelBody } from "../../section.js";
9
9
  import { useSectionLabels } from "../use-section-labels.js";
10
10
  import { RevealPathButton, useEnabledList, useOpLine, useSettingsResource, useSettingsValues, useWriteSetting } from "../shared/catalog.js";
@@ -3,8 +3,8 @@ import { IconButton } from "../../../components/IconButton.js";
3
3
  import { BTN_DANGER, BTN_DANGER_CONFIRM, BTN_PRIMARY, BTN_SECONDARY } from "../../../components/button.js";
4
4
  import { Tray } from "../../../components/Surface.js";
5
5
  import { HostRow, MetaChip, ToggleSwitch } from "../../../components/Form.js";
6
- import { RoutedLink } from "../../../extensions/links.js";
7
6
  import { mcpBadge } from "../../headless/mcp.js";
7
+ import { RoutedLink } from "../../../extensions/links.js";
8
8
  import { useSignIn } from "../../../onboarding/useSignIn.js";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { CONNECTORS, ageString, connectorInstalled } from "zidane/chat/pure";
@@ -1,13 +1,13 @@
1
1
  import { IconButton } from "../../../components/IconButton.js";
2
2
  import { BTN_SECONDARY } from "../../../components/button.js";
3
3
  import { HostRow, ROW_TRIGGER_CLASS, RowText, SegmentedRow } from "../../../components/Form.js";
4
- import { useSettingsHost } from "../../SettingsProvider.js";
5
4
  import { toSettingsError } from "../../headless/host.js";
5
+ import { useSettingsHost } from "../../SettingsProvider.js";
6
6
  import { useComposerModelName, useModelCatalog } from "../../../chat/composer/use-composer-stores.js";
7
7
  import { ModelTestButton, ModelTestLine, useModelRowsLabels, useModelTest } from "./model-test.js";
8
8
  import { ModelListPicker } from "./ModelListPicker.js";
9
- import { ConversationPresetPreview } from "../../../onboarding/conversation.js";
10
9
  import { useSettingsResource } from "../shared/catalog.js";
10
+ import { ConversationPresetPreview } from "../../../onboarding/conversation.js";
11
11
  import { ValueChip } from "../../rows.js";
12
12
  import { ModelPickField } from "./ModelPickField.js";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";