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.
- package/dist/adapters/server-extensions-host.js +1 -1
- package/dist/adapters/server-host.js +2 -1
- package/dist/adapters/server-machines-host.js +1 -1
- package/dist/adapters/server-session-host.js +87 -13
- package/dist/adapters/server-settings-host.js +1 -1
- package/dist/appearance/AppearanceProvider.js +2 -2
- package/dist/appearance/headless/index.js +1 -1
- package/dist/approvals/headless/index.js +2 -2
- package/dist/chat/HostTranscript.d.ts +5 -1
- package/dist/chat/HostTranscript.js +16 -4
- package/dist/chat/RunEstimateChip.d.ts +5 -3
- package/dist/chat/RunEstimateChip.js +33 -3
- package/dist/chat/Transcript.js +1 -1
- package/dist/chat/composer/ConversationBadges.js +16 -10
- package/dist/chat/composer/composer-bus.d.ts +2 -2
- package/dist/chat/composer/composer-bus.js +2 -2
- package/dist/chat/composer/use-composer-stores.js +1 -1
- package/dist/chat/composer/use-run-meter.js +1 -1
- package/dist/chat/headless/composer/conversation-badges.d.ts +8 -3
- package/dist/chat/headless/composer/conversation-badges.js +26 -11
- package/dist/chat/headless/composer/index.js +2 -2
- package/dist/chat/headless/composer/labels-chrome.d.ts +3 -1
- package/dist/chat/headless/composer/labels-chrome.js +3 -1
- package/dist/chat/headless/index.d.ts +6 -3
- package/dist/chat/headless/index.js +16 -13
- package/dist/chat/headless/labels.d.ts +54 -1
- package/dist/chat/headless/labels.js +62 -2
- package/dist/chat/headless/secrets.d.ts +32 -0
- package/dist/chat/headless/secrets.js +43 -0
- package/dist/chat/headless/session-list.d.ts +45 -0
- package/dist/chat/headless/sidebar/estimates.js +13 -1
- package/dist/chat/headless/sidebar/history.d.ts +71 -0
- package/dist/chat/headless/sidebar/history.js +174 -0
- package/dist/chat/headless/sidebar/index.d.ts +3 -2
- package/dist/chat/headless/sidebar/index.js +2 -1
- package/dist/chat/headless/sidebar/labels.d.ts +50 -0
- package/dist/chat/headless/sidebar/labels.js +1 -0
- package/dist/chat/headless/sidebar/query.d.ts +2 -2
- package/dist/chat/headless/sidebar/query.js +6 -3
- package/dist/chat/headless/sidebar/types.d.ts +7 -1
- package/dist/chat/headless/sidebar/view.js +2 -0
- package/dist/chat/headless/transcript/auth-failure.d.ts +67 -0
- package/dist/chat/headless/transcript/auth-failure.js +87 -0
- package/dist/chat/headless/transcript/index.d.ts +2 -1
- package/dist/chat/headless/transcript/index.js +2 -1
- package/dist/chat/headless/transcript/nesting.d.ts +3 -3
- package/dist/chat/headless/transcript/nesting.js +12 -4
- package/dist/chat/index.d.ts +4 -2
- package/dist/chat/index.js +3 -1
- package/dist/chat/interactions/InboxPanel.d.ts +6 -2
- package/dist/chat/interactions/InboxPanel.js +82 -44
- package/dist/chat/interactions/PlanCard.d.ts +2 -2
- package/dist/chat/interactions/PlanCard.js +1 -1
- package/dist/chat/interactions/QuestionField.d.ts +8 -3
- package/dist/chat/interactions/QuestionField.js +89 -8
- package/dist/chat/interactions/QuestionForm.d.ts +3 -1
- package/dist/chat/interactions/QuestionForm.js +48 -10
- package/dist/chat/interactions/SecretInput.d.ts +32 -0
- package/dist/chat/interactions/SecretInput.js +72 -0
- package/dist/chat/interactions/card-ui.d.ts +5 -3
- package/dist/chat/interactions/card-ui.js +5 -3
- package/dist/chat/interactions/index.d.ts +2 -1
- package/dist/chat/interactions/index.js +2 -1
- package/dist/chat/sidebar/SessionSidebar.js +2 -0
- package/dist/chat/sidebar/SidebarFilterMenu.d.ts +7 -2
- package/dist/chat/sidebar/SidebarFilterMenu.js +26 -2
- package/dist/chat/sidebar/SidebarSessionRow.d.ts +3 -1
- package/dist/chat/sidebar/SidebarSessionRow.js +8 -3
- package/dist/chat/sidebar/sidebar-live.js +8 -4
- package/dist/chat/transcript/AuthFailureCard.d.ts +34 -0
- package/dist/chat/transcript/AuthFailureCard.js +358 -0
- package/dist/chat/transcript/InteractionToolBody.js +12 -2
- package/dist/chat/transcript/actions.d.ts +24 -1
- package/dist/chat/transcript/index.d.ts +3 -2
- package/dist/chat/transcript/index.js +2 -1
- package/dist/chat/transcript/notices.d.ts +2 -1
- package/dist/chat/transcript/notices.js +13 -1
- package/dist/chat/transcript/script-input.d.ts +1 -1
- package/dist/chat/transcript/shell-block.js +1 -1
- package/dist/components/HowItWorks.d.ts +8 -1
- package/dist/components/HowItWorks.js +2 -2
- package/dist/components/RowActionsMenu.d.ts +6 -1
- package/dist/components/RowActionsMenu.js +4 -0
- package/dist/core.css +24 -0
- package/dist/dist/{index-WlE93Q6d.d.ts → index-DqCio7Nd.d.ts} +36 -3
- package/dist/dist/index-f-XWIoYo.d.ts +1 -0
- package/dist/dist/index.d.ts +6 -0
- package/dist/dist/sandbox-B4OW6oNx.d.ts +2 -0
- package/dist/dist/timeout-B5pO5I5a.d.ts +30 -0
- package/dist/extensions/ExtensionSettingsPage.js +1 -1
- package/dist/extensions/ExtensionSettingsSidebar.js +1 -1
- package/dist/extensions/headless/fixture-host.js +1 -1
- package/dist/extensions/headless/index.js +4 -4
- package/dist/extensions/hooks.js +1 -1
- package/dist/files/DiffsTab.js +1 -1
- package/dist/files/EditorColumn.js +1 -1
- package/dist/files/MediaDiff.js +1 -1
- package/dist/files/SearchPanel.js +121 -53
- package/dist/files/headless/name-match.js +29 -14
- package/dist/files/useEntryActions.js +1 -1
- package/dist/files/useOpenFiles.js +1 -1
- package/dist/git/WherePicker.js +2 -2
- package/dist/git/headless/environment.d.ts +6 -1
- package/dist/git/headless/environment.js +5 -2
- package/dist/git/headless/labels.d.ts +2 -0
- package/dist/git/headless/labels.js +2 -0
- package/dist/git/index.d.ts +2 -1
- package/dist/git/index.js +2 -1
- package/dist/git/useStartFromPanel.d.ts +22 -0
- package/dist/git/useStartFromPanel.js +91 -0
- package/dist/keybindings/KeyCommands.js +1 -1
- package/dist/keybindings/KeybindingsProvider.js +1 -1
- package/dist/keybindings/headless/catalog.d.ts +1 -1
- package/dist/keybindings/headless/catalog.js +14 -2
- package/dist/keybindings/headless/index.js +2 -2
- package/dist/keybindings/headless/key-scope.d.ts +4 -2
- package/dist/keybindings/headless/key-scope.js +17 -2
- package/dist/keybindings/headless/overrides.js +1 -1
- package/dist/machines/HostSyncPanel.js +1 -1
- package/dist/machines/SyncOutcomeBadge.js +1 -1
- package/dist/machines/headless/index.js +1 -1
- package/dist/onboarding/demos/features.d.ts +9 -1
- package/dist/onboarding/demos/features.js +107 -2
- package/dist/onboarding/demos/how-it-works.d.ts +5 -1
- package/dist/onboarding/demos/how-it-works.js +120 -2
- package/dist/onboarding/demos/index.js +1 -1
- package/dist/onboarding/headless/labels.d.ts +17 -0
- package/dist/onboarding/headless/labels.js +17 -0
- package/dist/onboarding/index.js +4 -4
- package/dist/onboarding/marks.d.ts +1 -2
- package/dist/onboarding/marks.js +4 -12
- package/dist/onboarding/steps/ConnectorsStep.js +1 -1
- package/dist/onboarding/steps/ReadyStep.js +1 -1
- package/dist/onboarding/steps/SkillsStep.js +1 -1
- package/dist/onboarding/steps/connect/ProviderPanel.js +1 -1
- package/dist/onboarding/tutorials.d.ts +3 -1
- package/dist/onboarding/tutorials.js +2 -1
- package/dist/palette/app-sources.js +1 -1
- package/dist/palette/headless/app-sources.js +10 -0
- package/dist/palette/headless/labels.js +2 -0
- package/dist/session/ArtifactsPanel.js +1 -1
- package/dist/session/PanelAttention.d.ts +14 -6
- package/dist/session/PanelAttention.js +35 -24
- package/dist/session/PlanTracker.d.ts +54 -0
- package/dist/session/PlanTracker.js +413 -0
- package/dist/session/ProjectHome.d.ts +15 -2
- package/dist/session/ProjectHome.js +158 -85
- package/dist/session/RemindersPanel.d.ts +25 -0
- package/dist/session/RemindersPanel.js +526 -0
- package/dist/session/SecretsPanel.d.ts +19 -0
- package/dist/session/SecretsPanel.js +241 -0
- package/dist/session/SessionProvider.d.ts +26 -5
- package/dist/session/SessionProvider.js +51 -6
- package/dist/session/StepStatusIcon.d.ts +24 -0
- package/dist/session/StepStatusIcon.js +50 -0
- package/dist/session/TodoList.d.ts +4 -3
- package/dist/session/TodoList.js +6 -5
- package/dist/session/headless/fixture-host.d.ts +32 -22
- package/dist/session/headless/fixture-host.js +86 -51
- package/dist/session/headless/fixture-plans.d.ts +57 -0
- package/dist/session/headless/fixture-plans.js +141 -0
- package/dist/session/headless/fixture-schedules.d.ts +49 -0
- package/dist/session/headless/fixture-schedules.js +133 -0
- package/dist/session/headless/home-layout.d.ts +10 -2
- package/dist/session/headless/home-layout.js +7 -2
- package/dist/session/headless/host.d.ts +85 -13
- package/dist/session/headless/index.d.ts +5 -3
- package/dist/session/headless/index.js +5 -3
- package/dist/session/headless/labels.d.ts +95 -12
- package/dist/session/headless/labels.js +67 -18
- package/dist/session/headless/plans.d.ts +53 -0
- package/dist/session/headless/plans.js +78 -0
- package/dist/session/headless/reminder-labels.d.ts +63 -0
- package/dist/session/headless/reminder-labels.js +84 -0
- package/dist/session/headless/schedules.d.ts +93 -0
- package/dist/session/headless/schedules.js +190 -0
- package/dist/session/headless/secrets.d.ts +28 -0
- package/dist/session/headless/secrets.js +48 -0
- package/dist/session/index.d.ts +7 -5
- package/dist/session/index.js +6 -4
- package/dist/session/testing/contract.d.ts +18 -5
- package/dist/session/testing/contract.js +351 -43
- package/dist/session/testing/index.d.ts +4 -2
- package/dist/session/testing/index.js +4 -2
- package/dist/settings/headless/catalog.js +17 -1
- package/dist/settings/headless/index.d.ts +2 -2
- package/dist/settings/headless/index.js +3 -3
- package/dist/settings/headless/labels.d.ts +0 -2
- package/dist/settings/headless/labels.js +0 -2
- package/dist/settings/headless/layout.js +7 -1
- package/dist/settings/headless/providers.d.ts +17 -1
- package/dist/settings/headless/providers.js +19 -1
- package/dist/settings/headless/search.d.ts +1 -1
- package/dist/settings/rows.d.ts +1 -1
- package/dist/settings/rows.js +2 -2
- package/dist/settings/sections/appearance/AppearanceSection.js +2 -2
- package/dist/settings/sections/claude-import/ClaudeImportDialog.js +1 -1
- package/dist/settings/sections/editor/EditorSection.js +1 -1
- package/dist/settings/sections/environments/EnvironmentsSection.js +1 -1
- package/dist/settings/sections/extensions/ChangeOriginDialog.js +1 -1
- package/dist/settings/sections/extensions/CreateExtensionDialog.js +1 -1
- package/dist/settings/sections/extensions/ExtensionsSection.js +1 -1
- package/dist/settings/sections/host-catalog/HostCatalogSection.js +1 -1
- package/dist/settings/sections/instructions/InstructionsSection.js +1 -1
- package/dist/settings/sections/keybindings/labels.d.ts +2 -0
- package/dist/settings/sections/keybindings/labels.js +2 -0
- package/dist/settings/sections/keybindings/rows.js +8 -0
- package/dist/settings/sections/mcp/McpSection.js +1 -1
- package/dist/settings/sections/mcp/McpServerRow.js +1 -1
- package/dist/settings/sections/models/ModelRows.js +2 -2
- package/dist/settings/sections/providers/ProvidersSection.js +209 -201
- package/dist/settings/sections/providers/ServerProvidersSection.js +1 -1
- package/dist/settings/sections/shared/catalog.js +1 -1
- package/dist/settings/sections/skills/SkillList.js +1 -1
- package/dist/settings/sections/skills/SkillsSection.js +2 -2
- package/dist/styles.css +59 -1
- package/dist/terminal/HostTerminalSurface.js +2 -2
- package/dist/workspace/PanelContentView.d.ts +22 -4
- package/dist/workspace/PanelContentView.js +112 -16
- package/dist/workspace/PanelGlyph.d.ts +21 -0
- package/dist/workspace/PanelGlyph.js +33 -0
- package/dist/workspace/PanelHome.js +5 -3
- package/dist/workspace/PanelStrip.js +11 -4
- package/dist/workspace/PanelToolbar.d.ts +32 -0
- package/dist/workspace/PanelToolbar.js +194 -0
- package/dist/workspace/WorkspaceProvider.d.ts +3 -1
- package/dist/workspace/WorkspaceProvider.js +6 -2
- package/dist/workspace/extension-tabs.js +5 -2
- package/dist/workspace/headless/host.d.ts +4 -0
- package/dist/workspace/headless/index.d.ts +3 -1
- package/dist/workspace/headless/index.js +4 -2
- package/dist/workspace/headless/labels.d.ts +10 -0
- package/dist/workspace/headless/labels.js +11 -1
- package/dist/workspace/headless/pages.d.ts +15 -0
- package/dist/workspace/headless/pages.js +49 -0
- package/dist/workspace/headless/tab-mark.d.ts +14 -0
- package/dist/workspace/headless/tab-mark.js +27 -0
- package/dist/workspace/headless/view.d.ts +7 -1
- package/dist/workspace/index.d.ts +3 -2
- package/dist/workspace/index.js +3 -2
- package/dist/workspace/testing/index.js +6 -0
- package/dist/workspace/workspace-key-commands.js +3 -3
- package/package.json +2 -2
- package/src/styles/motion.css +13 -0
- package/src/styles/onboarding.css +0 -1
- package/src/styles/primitives.css +10 -0
- package/src/styles/workspace.css +17 -0
- package/dist/session/TodosPanel.d.ts +0 -19
- package/dist/session/TodosPanel.js +0 -251
- package/dist/session/headless/todos.d.ts +0 -22
- 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 {
|
|
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";
|
package/dist/settings/rows.d.ts
CHANGED
|
@@ -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
|
|
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;
|
package/dist/settings/rows.js
CHANGED
|
@@ -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
|
|
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";
|