@sinm/kai 1.16.2 → 1.16.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.
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./spreadsheet-kLECX3ut.js","./preload-helper-DVzrZ_Op.js","./assets-tzxXyukA.js","./index-B5MYHOIO.js","./zoom-jYhmkcQX.js","./options-SsS0Y_ki.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./spreadsheet-ByVa4YNq.js","./preload-helper-DVzrZ_Op.js","./assets-tzxXyukA.js","./index-B5MYHOIO.js","./zoom-jYhmkcQX.js","./options-SsS0Y_ki.js"])))=>i.map(i=>d[i]);
2
2
  import { _ as __vitePreload } from "./preload-helper-DVzrZ_Op.js";
3
3
  import { D as DEFAULT_RENDERER_DEFINITIONS } from "./index-B5MYHOIO.js";
4
4
  const spreadsheetDefinition = DEFAULT_RENDERER_DEFINITIONS.find((definition) => definition.id === "spreadsheet-openxml");
@@ -9,7 +9,7 @@ if (!spreadsheetDefinition || !dbfDefinition) {
9
9
  const spreadsheetRendererDefinition = spreadsheetDefinition;
10
10
  const dbfRendererDefinition = dbfDefinition;
11
11
  const renderFileViewerSpreadsheet = (buffer, target, type, context) => __vitePreload(async () => {
12
- const { default: renderSpreadsheet } = await import("./spreadsheet-kLECX3ut.js").then((n) => n.s);
12
+ const { default: renderSpreadsheet } = await import("./spreadsheet-ByVa4YNq.js").then((n) => n.s);
13
13
  return { default: renderSpreadsheet };
14
14
  }, true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0, import.meta.url).then(({ default: renderSpreadsheet }) => renderSpreadsheet(buffer, target, type, context));
15
15
  ({
@@ -1,6 +1,6 @@
1
- import { r as reactExports, j as jsxRuntimeExports, g as getTransport, f as resolveConnectionTarget, u as urlHostLabel, h as isBuiltinPreviewableExtension, n as normalizePreviewerExtension, d as describePluginPageOpenError, b as describePluginViewFailure, P as PluginViewHost, k as resolveLocalUrl, t as toLocalPathSegment, l as localHttpUrlToKaiUrl, m as buildDownloadUrl, o as buildOfficePreviewUrl } from "./desktop-overlay-reason-cfmtdoP4.js";
2
- import { c as createLucideIcon, S as SyntaxHighlighter, d as styles, u as useTranslation, e as subscribeComposerAvailability, f as getComposerBlockedReason, s as subscribePreviewSelectionDrafts, g as getPreviewSelectionDrafts, t as toast, M as MAX_PREVIEW_SELECTION_DRAFTS, h as buildPreviewSelectionDraft, i as appendPreviewSelectionDraft, j as genId, k as ID_TYPE, l as usePopoverMenu, b as clsx, A as AppTooltip, m as reactDomExports, n as TriangleAlert, X, o as telemetry, L as LoaderCircle, p as useLayerAbove, D as Download, q as useEnclosingLayer, v as subscribeClosableLayers, R as RefreshCw, P as Pencil, w as isAbsoluteLocalPath, x as usePluginDisplayName, y as pluginDisplayFallbackName, z as ExternalLink, B as useTheme, F as useSessionStore, G as useActiveView, H as useFilePreviewStore, J as useShallow, K as usePluginPreviewerStore, N as useFileTreeStore, O as useRightDockLayout, Q as useRightDockWidthBounds, U as useResizablePanelWidth, V as useRightDockActiveView, W as useRightDockEntry, Y as useRightDockHost, Z as useTextSelectionQuote, _ as useClosableLayer, $ as pushClosableLayer, a0 as isPreviewableImage, a1 as isPreviewableAudio, a2 as isPreviewableVideo, a3 as Copy, a4 as copyToClipboard, a5 as Link, a6 as Globe, a7 as FolderOpen, a8 as PictureInPicture2, a9 as PanelRight, aa as RightDockActions, ab as QuoteSelectionButton, ac as CircleAlert, ad as FileTypeIcon, ae as DiffViewer, af as atomOneDark, ag as githubGist, ah as MarkdownMessage, ai as ContextMenu, aj as Eye, C as CodeXml, ak as Crosshair, al as ToolbarMoreMenu, am as TranslationDialog, an as ImageViewer, ao as RightPanelShell, ap as RIGHT_DOCK_WIDTH_STORAGE_VERSION, aq as closeTopmostClosableLayer, ar as saveLocalFileAsWithToast, as as Search, at as ChevronUp, au as ChevronDown, av as trackMessageActionClick, aw as buildCodeSelectionDraft, ax as formatFileQuoteText, ay as appendQuoteDraft, az as ClosableLayerProvider, aA as ChevronRight, aB as Folder, aC as tryOpenWithSystemApp } from "./index-CObwhkO8.js";
3
- import { K as KAI_LOCAL_URL_PREFIX, a as KAI_URL_SCHEME, O as OFFICE_PREVIEW_FORMATS } from "./localUrlCodec-Bg7FpeI8.js";
1
+ import { r as reactExports, j as jsxRuntimeExports, g as getTransport, f as resolveConnectionTarget, u as urlHostLabel, h as isBuiltinPreviewableExtension, n as normalizePreviewerExtension, d as describePluginPageOpenError, b as describePluginViewFailure, P as PluginViewHost, k as resolveLocalUrl, t as toLocalPathSegment, l as localHttpUrlToKaiUrl, m as buildDownloadUrl, o as buildOfficePreviewUrl } from "./desktop-overlay-reason-BgrDF4DO.js";
2
+ import { c as createLucideIcon, S as SyntaxHighlighter, d as styles, u as useTranslation, e as subscribeComposerAvailability, f as getComposerBlockedReason, s as subscribePreviewSelectionDrafts, g as getPreviewSelectionDrafts, t as toast, M as MAX_PREVIEW_SELECTION_DRAFTS, h as buildPreviewSelectionDraft, i as appendPreviewSelectionDraft, j as genId, k as ID_TYPE, l as usePopoverMenu, b as clsx, A as AppTooltip, m as reactDomExports, n as TriangleAlert, X, o as telemetry, L as LoaderCircle, p as useLayerAbove, D as Download, q as useEnclosingLayer, v as subscribeClosableLayers, R as RefreshCw, P as Pencil, w as isAbsoluteLocalPath, x as usePluginDisplayName, y as pluginDisplayFallbackName, z as ExternalLink, B as useTheme, F as useSessionStore, G as useActiveView, H as useFilePreviewStore, J as useShallow, K as usePluginPreviewerStore, N as useFileTreeStore, O as useRightDockLayout, Q as useRightDockWidthBounds, U as useResizablePanelWidth, V as useRightDockActiveView, W as useRightDockEntry, Y as useRightDockHost, Z as useTextSelectionQuote, _ as useClosableLayer, $ as pushClosableLayer, a0 as isPreviewableImage, a1 as isPreviewableAudio, a2 as isPreviewableVideo, a3 as Copy, a4 as copyToClipboard, a5 as Link, a6 as Globe, a7 as FolderOpen, a8 as PictureInPicture2, a9 as PanelRight, aa as RightDockActions, ab as QuoteSelectionButton, ac as CircleAlert, ad as FileTypeIcon, ae as DiffViewer, af as atomOneDark, ag as githubGist, ah as MarkdownMessage, ai as ContextMenu, aj as Eye, C as CodeXml, ak as Crosshair, al as ToolbarMoreMenu, am as TranslationDialog, an as ImageViewer, ao as RightPanelShell, ap as RIGHT_DOCK_WIDTH_STORAGE_VERSION, aq as closeTopmostClosableLayer, ar as saveLocalFileAsWithToast, as as Search, at as ChevronUp, au as ChevronDown, av as trackMessageActionClick, aw as buildCodeSelectionDraft, ax as formatFileQuoteText, ay as appendQuoteDraft, az as ClosableLayerProvider, aA as ChevronRight, aB as Folder, aC as tryOpenWithSystemApp } from "./index-BJPUCrdN.js";
3
+ import { K as KAI_LOCAL_URL_PREFIX, a as KAI_URL_SCHEME, O as OFFICE_PREVIEW_FORMATS } from "./localUrlCodec-BuWQTdsR.js";
4
4
  import "./_commonjsHelpers-DWwsNxpa.js";
5
5
  import "./preload-helper-DVzrZ_Op.js";
6
6
  const PICKABLE_OFFICE_PREVIEW_FORMATS = [
@@ -31838,18 +31838,18 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31838
31838
  transform: rotate(360deg);
31839
31839
  }
31840
31840
  }
31841
- ._section_185fm_1 {
31841
+ ._section_1r17i_1 {
31842
31842
  padding: 8px 10px;
31843
31843
  border: 1px solid var(--border-default);
31844
31844
  border-radius: 12px;
31845
31845
  background: color-mix(in srgb, var(--bg-secondary) 82%, var(--bg-primary));
31846
31846
  }
31847
31847
 
31848
- ._section_185fm_1 + ._section_185fm_1 {
31848
+ ._section_1r17i_1 + ._section_1r17i_1 {
31849
31849
  margin-top: 10px;
31850
31850
  }
31851
31851
 
31852
- ._sectionHeader_185fm_12 {
31852
+ ._sectionHeader_1r17i_12 {
31853
31853
  display: grid;
31854
31854
  grid-template-columns: minmax(0, 1fr) var(--management-action-column-width, 48px);
31855
31855
  align-items: center;
@@ -31857,14 +31857,14 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31857
31857
  margin-bottom: 4px;
31858
31858
  }
31859
31859
 
31860
- ._sectionTitle_185fm_20 {
31860
+ ._sectionTitle_1r17i_20 {
31861
31861
  margin: 0;
31862
31862
  font-size: 12px;
31863
31863
  font-weight: 650;
31864
31864
  color: var(--text-primary);
31865
31865
  }
31866
31866
 
31867
- ._memoryLockRow_185fm_27 {
31867
+ ._memoryLockRow_1r17i_27 {
31868
31868
  display: flex;
31869
31869
  align-items: center;
31870
31870
  justify-content: space-between;
@@ -31875,28 +31875,28 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31875
31875
  border-radius: 6px;
31876
31876
  }
31877
31877
 
31878
- ._memoryLockLabel_185fm_38 {
31878
+ ._memoryLockLabel_1r17i_38 {
31879
31879
  min-width: 0;
31880
31880
  color: var(--text-primary);
31881
31881
  font-size: 12px;
31882
31882
  font-weight: 650;
31883
31883
  }
31884
31884
 
31885
- ._memoryLockSwitch_185fm_45 {
31885
+ ._memoryLockSwitch_1r17i_45 {
31886
31886
  display: inline-flex;
31887
31887
  flex: 0 0 auto;
31888
31888
  align-items: center;
31889
31889
  justify-content: flex-end;
31890
31890
  }
31891
31891
 
31892
- ._emptyText_185fm_52 {
31892
+ ._emptyText_1r17i_52 {
31893
31893
  margin: 0;
31894
31894
  font-size: 12px;
31895
31895
  line-height: 1.5;
31896
31896
  color: var(--text-secondary);
31897
31897
  }
31898
31898
 
31899
- ._configBadge_185fm_59 {
31899
+ ._configBadge_1r17i_59 {
31900
31900
  display: inline-flex;
31901
31901
  align-items: center;
31902
31902
  justify-self: end;
@@ -31910,13 +31910,13 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31910
31910
  background: var(--bg-tertiary);
31911
31911
  }
31912
31912
 
31913
- ._capabilityList_185fm_73 {
31913
+ ._capabilityList_1r17i_73 {
31914
31914
  display: grid;
31915
31915
  gap: 2px;
31916
31916
  margin-top: 8px;
31917
31917
  }
31918
31918
 
31919
- ._capabilityRow_185fm_79 {
31919
+ ._capabilityRow_1r17i_79 {
31920
31920
  display: grid;
31921
31921
  grid-template-columns: 64px minmax(0, 1fr) var(--management-action-column-width, 48px);
31922
31922
  gap: 4px 6px;
@@ -31926,11 +31926,11 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31926
31926
  border-radius: 6px;
31927
31927
  }
31928
31928
 
31929
- ._capabilityRow_185fm_79:not(:last-child) {
31929
+ ._capabilityRow_1r17i_79:not(:last-child) {
31930
31930
  padding-bottom: 8px;
31931
31931
  }
31932
31932
 
31933
- ._capabilityActionsInline_185fm_93 {
31933
+ ._capabilityActionsInline_1r17i_93 {
31934
31934
  grid-column: 2 / -1;
31935
31935
  display: inline-flex;
31936
31936
  flex-direction: row;
@@ -31941,7 +31941,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31941
31941
  min-width: 0;
31942
31942
  }
31943
31943
 
31944
- ._automationTimeRow_185fm_104 {
31944
+ ._automationTimeRow_1r17i_104 {
31945
31945
  grid-column: 1 / -1;
31946
31946
  display: grid;
31947
31947
  grid-template-columns: minmax(0, 1fr) auto;
@@ -31951,7 +31951,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31951
31951
  font-size: 11px;
31952
31952
  }
31953
31953
 
31954
- ._automationTimeInput_185fm_114 {
31954
+ ._automationTimeInput_1r17i_114 {
31955
31955
  width: 88px;
31956
31956
  min-height: 28px;
31957
31957
  padding: 3px 6px;
@@ -31962,19 +31962,19 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31962
31962
  font: inherit;
31963
31963
  }
31964
31964
 
31965
- ._automationTimeInput_185fm_114:focus-visible {
31965
+ ._automationTimeInput_1r17i_114:focus-visible {
31966
31966
  border-color: var(--color-primary);
31967
31967
  outline: 2px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
31968
31968
  outline-offset: 1px;
31969
31969
  }
31970
31970
 
31971
- ._automationTimeHint_185fm_131 {
31971
+ ._automationTimeHint_1r17i_131 {
31972
31972
  grid-column: 1 / -1;
31973
31973
  color: var(--text-tertiary);
31974
31974
  line-height: 1.4;
31975
31975
  }
31976
31976
 
31977
- ._capabilityProgress_185fm_137 {
31977
+ ._capabilityProgress_1r17i_137 {
31978
31978
  display: inline-flex;
31979
31979
  align-items: center;
31980
31980
  gap: 4px;
@@ -31986,24 +31986,24 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
31986
31986
  white-space: nowrap;
31987
31987
  }
31988
31988
 
31989
- ._capabilityProgressSpinner_185fm_149 {
31989
+ ._capabilityProgressSpinner_1r17i_149 {
31990
31990
  flex: 0 0 auto;
31991
- animation: _capabilityProgressSpin_185fm_149 0.9s linear infinite;
31991
+ animation: _capabilityProgressSpin_1r17i_149 0.9s linear infinite;
31992
31992
  }
31993
31993
 
31994
- @keyframes _capabilityProgressSpin_185fm_149 {
31994
+ @keyframes _capabilityProgressSpin_1r17i_149 {
31995
31995
  to {
31996
31996
  transform: rotate(360deg);
31997
31997
  }
31998
31998
  }
31999
31999
 
32000
32000
  @media (prefers-reduced-motion: reduce) {
32001
- ._capabilityProgressSpinner_185fm_149 {
32001
+ ._capabilityProgressSpinner_1r17i_149 {
32002
32002
  animation: none;
32003
32003
  }
32004
32004
  }
32005
32005
 
32006
- ._capabilityActionColumn_185fm_166 {
32006
+ ._capabilityActionColumn_1r17i_166 {
32007
32007
  display: inline-flex;
32008
32008
  align-items: center;
32009
32009
  justify-content: flex-end;
@@ -32011,7 +32011,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32011
32011
  min-width: 0;
32012
32012
  }
32013
32013
 
32014
- ._capabilityLink_185fm_174 {
32014
+ ._capabilityLink_1r17i_174 {
32015
32015
  display: inline-flex;
32016
32016
  align-items: center;
32017
32017
  padding: 2px 4px;
@@ -32024,18 +32024,18 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32024
32024
  white-space: nowrap;
32025
32025
  }
32026
32026
 
32027
- ._capabilityLink_185fm_174:hover {
32027
+ ._capabilityLink_1r17i_174:hover {
32028
32028
  text-decoration: underline;
32029
32029
  text-underline-offset: 3px;
32030
32030
  }
32031
32031
 
32032
- ._capabilityLabel_185fm_192 {
32032
+ ._capabilityLabel_1r17i_192 {
32033
32033
  color: var(--text-tertiary);
32034
32034
  font-size: 12px;
32035
32035
  font-weight: 650;
32036
32036
  }
32037
32037
 
32038
- ._capabilityValue_185fm_198 {
32038
+ ._capabilityValue_1r17i_198 {
32039
32039
  min-width: 0;
32040
32040
  color: var(--text-tertiary);
32041
32041
  font-size: 11px;
@@ -32046,14 +32046,14 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32046
32046
  white-space: nowrap;
32047
32047
  }
32048
32048
 
32049
- ._workspaceFileRow_185fm_209 {
32049
+ ._workspaceFileRow_1r17i_209 {
32050
32050
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) var(
32051
32051
  --management-action-column-width,
32052
32052
  48px
32053
32053
  );
32054
32054
  }
32055
32055
 
32056
- ._workspaceFileName_185fm_216 {
32056
+ ._workspaceFileName_1r17i_216 {
32057
32057
  display: flex;
32058
32058
  align-items: center;
32059
32059
  gap: 5px;
@@ -32067,12 +32067,12 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32067
32067
  white-space: nowrap;
32068
32068
  }
32069
32069
 
32070
- ._workspaceFileName_185fm_216 > svg {
32070
+ ._workspaceFileName_1r17i_216 > svg {
32071
32071
  flex: 0 0 auto;
32072
32072
  color: var(--text-tertiary);
32073
32073
  }
32074
32074
 
32075
- ._workspaceFileDescription_185fm_235 {
32075
+ ._workspaceFileDescription_1r17i_235 {
32076
32076
  min-width: 0;
32077
32077
  color: var(--text-tertiary);
32078
32078
  font-size: 11px;
@@ -32082,27 +32082,27 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32082
32082
  white-space: nowrap;
32083
32083
  }
32084
32084
 
32085
- ._workspaceFileDescription_185fm_235:focus-visible {
32085
+ ._workspaceFileDescription_1r17i_235:focus-visible {
32086
32086
  border-radius: 3px;
32087
32087
  outline: 2px solid var(--color-primary);
32088
32088
  outline-offset: 2px;
32089
32089
  }
32090
32090
 
32091
32091
  @media (width <= 768px) {
32092
- ._workspaceFileDescription_185fm_235:focus {
32092
+ ._workspaceFileDescription_1r17i_235:focus {
32093
32093
  overflow: visible;
32094
32094
  white-space: normal;
32095
32095
  }
32096
32096
  }
32097
32097
 
32098
- ._capabilityMeta_185fm_258 {
32098
+ ._capabilityMeta_1r17i_258 {
32099
32099
  justify-self: end;
32100
32100
  color: var(--text-tertiary);
32101
32101
  font-size: 11px;
32102
32102
  white-space: nowrap;
32103
32103
  }
32104
32104
 
32105
- ._srOnly_185fm_265 {
32105
+ ._srOnly_1r17i_265 {
32106
32106
  position: absolute;
32107
32107
  width: 1px;
32108
32108
  height: 1px;
@@ -32114,14 +32114,14 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32114
32114
  border: 0;
32115
32115
  }
32116
32116
 
32117
- ._hint_185fm_277 {
32117
+ ._hint_1r17i_277 {
32118
32118
  margin: 8px 0 0;
32119
32119
  font-size: 11px;
32120
32120
  line-height: 1.45;
32121
32121
  color: var(--text-tertiary);
32122
32122
  }
32123
32123
 
32124
- ._capabilityHint_185fm_284 {
32124
+ ._capabilityHint_1r17i_284 {
32125
32125
  margin: 0;
32126
32126
  font-size: 11px;
32127
32127
  line-height: 1.45;
@@ -32133,7 +32133,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32133
32133
 
32134
32134
  /* ── Fixed footer */
32135
32135
 
32136
- ._sectionHeaderActions_185fm_296 {
32136
+ ._sectionHeaderActions_1r17i_296 {
32137
32137
  display: inline-flex;
32138
32138
  align-items: center;
32139
32139
  justify-content: flex-end;
@@ -32142,14 +32142,14 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32142
32142
  min-width: 0;
32143
32143
  }
32144
32144
 
32145
- ._sectionHeaderLeft_185fm_305 {
32145
+ ._sectionHeaderLeft_1r17i_305 {
32146
32146
  display: inline-flex;
32147
32147
  align-items: center;
32148
32148
  gap: 6px;
32149
32149
  min-width: 0;
32150
32150
  }
32151
32151
 
32152
- ._headerActionButton_185fm_312 {
32152
+ ._headerActionButton_1r17i_312 {
32153
32153
  display: inline-flex;
32154
32154
  align-items: center;
32155
32155
  justify-content: center;
@@ -32166,30 +32166,30 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32166
32166
  white-space: nowrap;
32167
32167
  }
32168
32168
 
32169
- ._headerActionButton_185fm_312:hover:not(:disabled) {
32169
+ ._headerActionButton_1r17i_312:hover:not(:disabled) {
32170
32170
  color: var(--text-primary);
32171
32171
  border-color: var(--color-primary);
32172
32172
  background: var(--bg-tertiary);
32173
32173
  }
32174
32174
 
32175
- ._headerActionButton_185fm_312:disabled {
32175
+ ._headerActionButton_1r17i_312:disabled {
32176
32176
  cursor: not-allowed;
32177
32177
  opacity: 0.55;
32178
32178
  }
32179
32179
 
32180
- ._headerActionButton_185fm_312:focus-visible {
32180
+ ._headerActionButton_1r17i_312:focus-visible {
32181
32181
  outline: 2px solid var(--color-primary);
32182
32182
  outline-offset: 2px;
32183
32183
  }
32184
32184
 
32185
- ._modelSummary_185fm_345 {
32185
+ ._modelSummary_1r17i_345 {
32186
32186
  display: flex;
32187
32187
  flex-direction: column;
32188
32188
  gap: 4px;
32189
32189
  min-width: 0;
32190
32190
  }
32191
32191
 
32192
- ._modelSummaryPrimary_185fm_352 {
32192
+ ._modelSummaryPrimary_1r17i_352 {
32193
32193
  min-width: 0;
32194
32194
  overflow: hidden;
32195
32195
  text-overflow: ellipsis;
@@ -32200,7 +32200,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32200
32200
  line-height: 1.45;
32201
32201
  }
32202
32202
 
32203
- ._modelSummaryMeta_185fm_363 {
32203
+ ._modelSummaryMeta_1r17i_363 {
32204
32204
  min-width: 0;
32205
32205
  overflow: hidden;
32206
32206
  text-overflow: ellipsis;
@@ -32210,14 +32210,14 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32210
32210
  line-height: 1.45;
32211
32211
  }
32212
32212
 
32213
- ._modelSummaryHint_185fm_373 {
32213
+ ._modelSummaryHint_1r17i_373 {
32214
32214
  margin: 2px 0 0;
32215
32215
  color: var(--text-tertiary);
32216
32216
  font-size: 12px;
32217
32217
  line-height: 1.45;
32218
32218
  }
32219
32219
 
32220
- ._summaryList_185fm_380 {
32220
+ ._summaryList_1r17i_380 {
32221
32221
  display: flex;
32222
32222
  flex-direction: column;
32223
32223
  gap: 8px;
@@ -32226,7 +32226,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32226
32226
  list-style: none;
32227
32227
  }
32228
32228
 
32229
- ._summaryItem_185fm_389 {
32229
+ ._summaryItem_1r17i_389 {
32230
32230
  display: grid;
32231
32231
  grid-template-columns: auto minmax(0, 1fr) auto;
32232
32232
  align-items: center;
@@ -32234,11 +32234,11 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32234
32234
  min-height: 24px;
32235
32235
  }
32236
32236
 
32237
- ._memberAvatar_185fm_397 {
32237
+ ._memberAvatar_1r17i_397 {
32238
32238
  box-shadow: 0 0 0 1px var(--border-default);
32239
32239
  }
32240
32240
 
32241
- ._summaryMain_185fm_401 {
32241
+ ._summaryMain_1r17i_401 {
32242
32242
  min-width: 0;
32243
32243
  overflow: hidden;
32244
32244
  text-overflow: ellipsis;
@@ -32248,7 +32248,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32248
32248
  line-height: 1.5;
32249
32249
  }
32250
32250
 
32251
- ._memberList_185fm_411 {
32251
+ ._memberList_1r17i_411 {
32252
32252
  max-height: 188px;
32253
32253
  overflow-y: auto;
32254
32254
  overscroll-behavior: contain;
@@ -32257,29 +32257,29 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32257
32257
  scrollbar-width: none;
32258
32258
  }
32259
32259
 
32260
- ._memberList_185fm_411::-webkit-scrollbar {
32260
+ ._memberList_1r17i_411::-webkit-scrollbar {
32261
32261
  width: 0;
32262
32262
  background: transparent;
32263
32263
  }
32264
32264
 
32265
- ._memberList_185fm_411:hover {
32265
+ ._memberList_1r17i_411:hover {
32266
32266
  scrollbar-width: thin;
32267
32267
  }
32268
32268
 
32269
- ._memberList_185fm_411:hover::-webkit-scrollbar {
32269
+ ._memberList_1r17i_411:hover::-webkit-scrollbar {
32270
32270
  width: 4px;
32271
32271
  }
32272
32272
 
32273
- ._memberList_185fm_411:hover::-webkit-scrollbar-thumb {
32273
+ ._memberList_1r17i_411:hover::-webkit-scrollbar-thumb {
32274
32274
  background: color-mix(in srgb, var(--text-tertiary) 36%, transparent);
32275
32275
  border-radius: 4px;
32276
32276
  }
32277
32277
 
32278
- ._memberList_185fm_411:hover::-webkit-scrollbar-track {
32278
+ ._memberList_1r17i_411:hover::-webkit-scrollbar-track {
32279
32279
  background: transparent;
32280
32280
  }
32281
32281
 
32282
- ._memberNameButton_185fm_442 {
32282
+ ._memberNameButton_1r17i_442 {
32283
32283
  min-width: 0;
32284
32284
  overflow: hidden;
32285
32285
  text-overflow: ellipsis;
@@ -32294,19 +32294,19 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32294
32294
  cursor: pointer;
32295
32295
  }
32296
32296
 
32297
- ._memberNameButton_185fm_442:hover {
32297
+ ._memberNameButton_1r17i_442:hover {
32298
32298
  color: var(--text-primary);
32299
32299
  text-decoration: underline;
32300
32300
  text-underline-offset: 3px;
32301
32301
  }
32302
32302
 
32303
- ._memberNameButton_185fm_442:focus-visible {
32303
+ ._memberNameButton_1r17i_442:focus-visible {
32304
32304
  outline: 2px solid var(--color-primary);
32305
32305
  outline-offset: 2px;
32306
32306
  border-radius: 6px;
32307
32307
  }
32308
32308
 
32309
- ._actionList_185fm_469 {
32309
+ ._actionList_1r17i_469 {
32310
32310
  display: flex;
32311
32311
  flex-direction: column;
32312
32312
  gap: 6px;
@@ -32315,7 +32315,7 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32315
32315
  list-style: none;
32316
32316
  }
32317
32317
 
32318
- ._actionButton_185fm_478 {
32318
+ ._actionButton_1r17i_478 {
32319
32319
  width: 100%;
32320
32320
  min-height: 30px;
32321
32321
  display: flex;
@@ -32332,31 +32332,31 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32332
32332
  cursor: pointer;
32333
32333
  }
32334
32334
 
32335
- ._actionButton_185fm_478:hover,
32336
- ._actionButtonActive_185fm_496 {
32335
+ ._actionButton_1r17i_478:hover,
32336
+ ._actionButtonActive_1r17i_496 {
32337
32337
  color: var(--text-primary);
32338
32338
  border-color: var(--color-primary);
32339
32339
  background: var(--bg-tertiary);
32340
32340
  }
32341
32341
 
32342
- ._actionButton_185fm_478:focus-visible {
32342
+ ._actionButton_1r17i_478:focus-visible {
32343
32343
  outline: 2px solid var(--color-primary);
32344
32344
  outline-offset: 2px;
32345
32345
  }
32346
32346
 
32347
- ._actionButtonDanger_185fm_507 {
32347
+ ._actionButtonDanger_1r17i_507 {
32348
32348
  color: var(--color-error-text);
32349
32349
  }
32350
32350
 
32351
- ._actionButtonDanger_185fm_507:hover {
32351
+ ._actionButtonDanger_1r17i_507:hover {
32352
32352
  border-color: var(--color-error);
32353
32353
  }
32354
32354
 
32355
- ._dangerSection_185fm_515 {
32355
+ ._dangerSection_1r17i_515 {
32356
32356
  border-color: color-mix(in srgb, var(--color-error) 32%, var(--border-default));
32357
32357
  }
32358
32358
 
32359
- ._dangerPill_185fm_519 {
32359
+ ._dangerPill_1r17i_519 {
32360
32360
  flex-shrink: 0;
32361
32361
  justify-self: end;
32362
32362
  padding: 2px 7px;
@@ -32368,11 +32368,136 @@ html[data-theme='dark'] ._itemPath_tsxb4_166 {
32368
32368
  white-space: nowrap;
32369
32369
  }
32370
32370
 
32371
- ._actionMeta_185fm_531 {
32371
+ ._actionMeta_1r17i_531 {
32372
32372
  flex-shrink: 0;
32373
32373
  color: var(--text-tertiary);
32374
32374
  font-size: 11px;
32375
32375
  }
32376
+
32377
+ /* 会话历史:折叠态是一行状态,展开态才是表单。 */
32378
+ ._threadStoreMeta_1r17i_538 {
32379
+ min-width: 0;
32380
+ overflow: hidden;
32381
+ text-overflow: ellipsis;
32382
+ white-space: nowrap;
32383
+ color: var(--text-tertiary);
32384
+ font-size: 11px;
32385
+ }
32386
+
32387
+ /* 折叠态那一行:状态点 · 一句话 · 动作。字号跟着抽屉里的读数走,不跟着设置页走。 */
32388
+ ._threadStoreRow_1r17i_548 {
32389
+ display: flex;
32390
+ align-items: center;
32391
+ gap: 6px;
32392
+ min-height: 22px;
32393
+ margin-top: 4px;
32394
+ }
32395
+
32396
+ ._threadStoreRowText_1r17i_556 {
32397
+ display: inline-flex;
32398
+ align-items: center;
32399
+ gap: 5px;
32400
+ min-width: 0;
32401
+ overflow: hidden;
32402
+ white-space: nowrap;
32403
+ text-overflow: ellipsis;
32404
+ color: var(--text-secondary);
32405
+ font-size: 11px;
32406
+ line-height: 1.4;
32407
+ }
32408
+
32409
+ ._threadStoreDot_1r17i_569,
32410
+ ._threadStoreDotBad_1r17i_570,
32411
+ ._threadStoreDotIdle_1r17i_571 {
32412
+ width: 6px;
32413
+ height: 6px;
32414
+ flex: none;
32415
+ border-radius: 50%;
32416
+ background: var(--color-success-text);
32417
+ }
32418
+
32419
+ ._threadStoreDotBad_1r17i_570 {
32420
+ background: var(--color-error-text);
32421
+ }
32422
+
32423
+ ._threadStoreDotIdle_1r17i_571 {
32424
+ background: var(--text-tertiary);
32425
+ }
32426
+
32427
+ ._threadStoreError_1r17i_587 {
32428
+ display: -webkit-box;
32429
+ -webkit-line-clamp: 2;
32430
+ -webkit-box-orient: vertical;
32431
+ overflow: hidden;
32432
+ margin: 6px 0 0;
32433
+ font-size: 11px;
32434
+ line-height: 1.45;
32435
+ color: var(--color-error-text);
32436
+ }
32437
+
32438
+ ._threadStoreFields_1r17i_598 {
32439
+ display: grid;
32440
+ gap: 6px;
32441
+ margin-top: 8px;
32442
+ }
32443
+
32444
+ ._threadStoreField_1r17i_598 {
32445
+ display: grid;
32446
+ gap: 3px;
32447
+ }
32448
+
32449
+ ._threadStoreFieldLabel_1r17i_609 {
32450
+ color: var(--text-tertiary);
32451
+ font-size: 11px;
32452
+ }
32453
+
32454
+ ._threadStoreInput_1r17i_614 {
32455
+ min-height: 28px;
32456
+ padding: 3px 6px;
32457
+ border: 1px solid var(--border-color);
32458
+ border-radius: 6px;
32459
+ background: var(--bg-secondary);
32460
+ color: var(--text-primary);
32461
+ font: inherit;
32462
+ font-size: 11px;
32463
+ }
32464
+
32465
+ ._threadStoreInput_1r17i_614:focus-visible {
32466
+ border-color: var(--color-primary);
32467
+ outline: 2px solid color-mix(in srgb, var(--color-primary) 24%, transparent);
32468
+ outline-offset: 1px;
32469
+ }
32470
+
32471
+ ._threadStoreActions_1r17i_631 {
32472
+ display: flex;
32473
+ align-items: center;
32474
+ gap: 6px;
32475
+ margin-top: 8px;
32476
+ }
32477
+
32478
+ /* 把右侧按钮推到行尾:左边是读数,右边是动作。 */
32479
+ ._threadStoreActionsEnd_1r17i_639 {
32480
+ flex: 1 1 auto;
32481
+ }
32482
+
32483
+ ._threadStoreProgress_1r17i_643 {
32484
+ height: 3px;
32485
+ margin-top: 8px;
32486
+ border-radius: 2px;
32487
+ background: var(--bg-tertiary);
32488
+ overflow: hidden;
32489
+ }
32490
+
32491
+ ._threadStoreProgressFill_1r17i_651 {
32492
+ height: 100%;
32493
+ border-radius: 2px;
32494
+ background: var(--color-info);
32495
+ transition: width 120ms linear;
32496
+ }
32497
+
32498
+ ._threadStoreFailure_1r17i_658 {
32499
+ color: var(--color-error-text);
32500
+ }
32376
32501
  /* Shared dialog header / content / footer styles for Automation dialogs.
32377
32502
  槽位内边距交回 common/Dialog 默认 20px(--dialog-padding),此处只保留
32378
32503
  分隔线与布局,避免与默认值重复声明。 */
@@ -93,6 +93,9 @@ const IPC_SETTINGS_GET_DATA_DIR = "SETTINGS:GET_DATA_DIR";
93
93
  const IPC_SETTINGS_GET_THREAD_STORE_STATUS = "SETTINGS:GET_THREAD_STORE_STATUS";
94
94
  const IPC_SETTINGS_SAVE_THREAD_STORE_SECRET = "SETTINGS:SAVE_THREAD_STORE_SECRET";
95
95
  const IPC_SETTINGS_HAS_THREAD_STORE_SECRET = "SETTINGS:HAS_THREAD_STORE_SECRET";
96
+ const IPC_SETTINGS_MIGRATE_THREAD_STORE = "SETTINGS:MIGRATE_THREAD_STORE";
97
+ const IPC_SETTINGS_GET_THREAD_STORE_OVERVIEW = "SETTINGS:GET_THREAD_STORE_OVERVIEW";
98
+ const IPC_SETTINGS_SAVE_THREAD_STORE_SCOPE = "SETTINGS:SAVE_THREAD_STORE_SCOPE";
96
99
  const IPC_SETTINGS_SELECT_DATA_DIR = "SETTINGS:SELECT_DATA_DIR";
97
100
  const IPC_SETTINGS_CHANGE_DATA_DIR = "SETTINGS:CHANGE_DATA_DIR";
98
101
  const IPC_SETTINGS_OPEN_DATA_DIR = "SETTINGS:OPEN_DATA_DIR";
@@ -694,6 +697,11 @@ const IPC_ENDPOINTS = {
694
697
  saveThreadStoreSecret: { channel: IPC_SETTINGS_SAVE_THREAD_STORE_SECRET, hosts: ALL_HOSTS },
695
698
  // 令牌在不在:界面要说「已保存」还是「还没填」,不许靠「有没有配置」猜——猜错的后果是用户以为令牌在。
696
699
  hasThreadStoreSecret: { channel: IPC_SETTINGS_HAS_THREAD_STORE_SECRET, hosts: ALL_HOSTS },
700
+ // 迁移是长活,但每次调用只搬一批:一次往返就有进度,界面不必为它再挂一条事件通道。
701
+ migrateThreadStore: { channel: IPC_SETTINGS_MIGRATE_THREAD_STORE, hosts: ALL_HOSTS },
702
+ // 设置页那一行:全机口径(配了几格 + 本机还剩多少没搬),不带单格连接状态。
703
+ getThreadStoreOverview: { channel: IPC_SETTINGS_GET_THREAD_STORE_OVERVIEW, hosts: ALL_HOSTS },
704
+ saveThreadStoreScope: { channel: IPC_SETTINGS_SAVE_THREAD_STORE_SCOPE, hosts: ALL_HOSTS },
697
705
  selectDataDir: { channel: IPC_SETTINGS_SELECT_DATA_DIR, hosts: ALL_HOSTS },
698
706
  changeDataDir: { channel: IPC_SETTINGS_CHANGE_DATA_DIR, hosts: ALL_HOSTS },
699
707
  // (否则远程客户端可以指定数据根里任意位置去弹 Finder)。语义与 `openExternalUrl` 同族。