zidane-ui 9.1.9 → 9.1.13
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.
|
@@ -2,8 +2,8 @@ import { plainTextToDocJson } from "./prompt-history-nav.js";
|
|
|
2
2
|
import { suggestionExtension } from "./suggestion-extension.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useLayoutEffect } from "react";
|
|
5
|
-
import { EditorContent, useEditor } from "@tiptap/react";
|
|
6
5
|
import Placeholder from "@tiptap/extension-placeholder";
|
|
6
|
+
import { EditorContent, useEditor } from "@tiptap/react";
|
|
7
7
|
import StarterKit from "@tiptap/starter-kit";
|
|
8
8
|
//#region src/chat/composer/ComposerEditor.tsx
|
|
9
9
|
/**
|
|
@@ -46,9 +46,9 @@ import { defaultModelPatch, effortPickerTarget, rememberedDefaultModel } from ".
|
|
|
46
46
|
import { secretTimeLeft, secretTimeLeftIso } from "./secrets.js";
|
|
47
47
|
import { wireAttachmentsToChat } from "./composer/draft-sync.js";
|
|
48
48
|
import { promptDraftOf } from "./turn-prompt.js";
|
|
49
|
-
import { pinSession, pinnedSessions } from "./sidebar/pinned-sessions.js";
|
|
50
49
|
import { COMMON_EMOJI, MAIN_SESSION_ICON_KEY, PROJECT_ICONS_KEY, firstGrapheme, isProjectIcon, parseProjectIcons } from "./sidebar/project-icons.js";
|
|
51
50
|
import { DEFAULT_SIDEBAR_LABELS } from "./sidebar/labels.js";
|
|
51
|
+
import { pinSession, pinnedSessions } from "./sidebar/pinned-sessions.js";
|
|
52
52
|
import { caretEffectivelyAtStart, composeSubmitText, decodeHistoryEntry, encodeHistoryDraft, exitsModeOnKey, modeForTypedChar, unsentDraft } from "./composer-modes.js";
|
|
53
53
|
import { createDraftScopeStore, draftScopeOf } from "./draft-scope.js";
|
|
54
54
|
import { VIEW_CHOICE } from "./sidebar/types.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRunEstimates, pickRunEstimate } from "./estimates.js";
|
|
2
|
-
import { pinSession, pinnedSessions } from "./pinned-sessions.js";
|
|
3
2
|
import { COMMON_EMOJI, MAIN_SESSION_ICON_KEY, PROJECT_ICONS_KEY, firstGrapheme, isProjectIcon, parseProjectIcons } from "./project-icons.js";
|
|
4
3
|
import { DEFAULT_SIDEBAR_LABELS } from "./labels.js";
|
|
4
|
+
import { pinSession, pinnedSessions } from "./pinned-sessions.js";
|
|
5
5
|
import { VIEW_CHOICE } from "./types.js";
|
|
6
6
|
import { CHATS_BUCKET, buildHostSidebarRows, buildQuerySidebarRows, buildSidebarRows, groupsByFolder, isProjectMember, itemRows, nestSidebarRows, partitionMainSession, projectPathOf, repoGroups } from "./rows.js";
|
|
7
7
|
import { PINNED_PROJECTS_KEY, parsePinnedProjects, withPinnedProject } from "./pinned-projects.js";
|
|
@@ -9,9 +9,9 @@ import { createSecretsState, sortSecrets } from "./secrets.js";
|
|
|
9
9
|
import { DEFAULT_SESSION_LABELS } from "./labels.js";
|
|
10
10
|
import { buildDiffTree, fileOrder, relativeTo, visibleRows } from "./diff-tree.js";
|
|
11
11
|
import { collectSessionDiffs, fileDiffCounts, groupByPath } from "./session-diffs.js";
|
|
12
|
+
import { formatTokens, localDayString } from "./usage-format.js";
|
|
12
13
|
import { EMPTY_HOME_PREFS, arrangeHomeBlocks, hideHomeBlock, homeBlocksOf, homeRows, moveHomeBlock, parseHomePrefs, placeHomeBlock, setHomeBlockView, setHomeBlockWidth, showHomeBlock } from "./home-layout.js";
|
|
13
14
|
import { USAGE_RANGES, USAGE_SNAPSHOT_KEY, createProviderUsageState, createUsageSummaryState, isUsageSummary, pickUsageSummary } from "./usage.js";
|
|
14
15
|
import { attachmentsKey, stagedToWire, wireToStaged } from "./queue-attachments.js";
|
|
15
|
-
import { formatTokens, localDayString } from "./usage-format.js";
|
|
16
16
|
import { createSessionActions, sessionKeyCommands } from "./session-actions.js";
|
|
17
17
|
export { DEFAULT_SESSION_LABELS, EMPTY_HOME_PREFS, USAGE_RANGES, USAGE_SNAPSHOT_KEY, arrangeHomeBlocks, attachmentsKey, buildDiffTree, canKeepSchedule, collectSessionDiffs, countArtifacts, createArtifactsState, createKeyedState, createPlansState, createProviderUsageState, createQueueState, createRunningWorkState, createSchedulesState, createSecretsState, createSessionActions, createSideRequests, createUsageSummaryState, displayedPlan, fileDiffCounts, fileOrder, formatTokens, groupArtifactRows, groupByPath, hideHomeBlock, homeBlocksOf, homeRows, inboxPlans, isScheduleFinished, isUsageSummary, localDayString, moveHomeBlock, parseHomePrefs, parseSideCommand, pickUsageSummary, placeHomeBlock, plainArtifactRow, planTally, readReminderWhen, relativeTo, remindersSummary, sameRunningWork, sessionKeyCommands, setHomeBlockView, setHomeBlockWidth, showHomeBlock, sortSchedules, sortSecrets, stagedToWire, toQueuedMessages, upcomingSchedules, visibleRows, wireToStaged };
|
|
@@ -6,9 +6,9 @@ import { Checkbox, MetaChip } from "../../../components/Form.js";
|
|
|
6
6
|
import { LoadError } from "../../../components/LoadError.js";
|
|
7
7
|
import { useSettingsHost } from "../../SettingsProvider.js";
|
|
8
8
|
import { useSectionLabels } from "../use-section-labels.js";
|
|
9
|
+
import { useCodeDocument } from "../../../code/editor/useCodeDocument.js";
|
|
9
10
|
import { SettingsRestricted } from "../../SettingsRestricted.js";
|
|
10
11
|
import { OpenFileButton, RevealPathButton, useCatalogSharedLabels, useEnabledList, useSettingsResource } from "../shared/catalog.js";
|
|
11
|
-
import { useCodeDocument } from "../../../code/editor/useCodeDocument.js";
|
|
12
12
|
import { formatTokens } from "../../../session/headless/usage-format.js";
|
|
13
13
|
import { DEFAULT_SKILLS_SECTION_LABELS } from "./labels.js";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zidane-ui",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.13",
|
|
4
4
|
"description": "Zidane design system and chat kit: tokens, surface primitives, theme engine, React components, the chat layer (sessions, transcript, composer) and ChatHost adapters.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -536,7 +536,7 @@
|
|
|
536
536
|
"react": "^19.3.0",
|
|
537
537
|
"react-dom": "^19.3.0",
|
|
538
538
|
"unocss": ">=66.0.0",
|
|
539
|
-
"zidane": "^9.1.
|
|
539
|
+
"zidane": "^9.1.13",
|
|
540
540
|
"vitest": ">=3"
|
|
541
541
|
},
|
|
542
542
|
"peerDependenciesMeta": {
|