@sinm/kai 1.15.11 → 1.16.1

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.
@@ -377,6 +377,7 @@ var IPC_PLUGIN_HOST_EVENT = "PLUGIN_HOST:EVENT";
377
377
  var IPC_SESSION_ON_PLUGIN_ACTIVATE = "SESSION:ON_PLUGIN_ACTIVATE";
378
378
  var IPC_PLUGIN_LIST_VIEWS = "PLUGIN:LIST_VIEWS";
379
379
  var IPC_PLUGIN_LIST_PREVIEWERS = "PLUGIN:LIST_PREVIEWERS";
380
+ var IPC_PLUGIN_LIST_THREAD_STORE_PRESETS = "PLUGIN:LIST_THREAD_STORE_PRESETS";
380
381
  var IPC_PLUGIN_PAGE_OPEN = "PLUGIN:PAGE_OPEN";
381
382
  var IPC_PLUGIN_PAGE_CLOSE = "PLUGIN:PAGE_CLOSE";
382
383
  var IPC_PLUGIN_PAGE_INVOKE = "PLUGIN:PAGE_INVOKE";
@@ -423,6 +424,9 @@ var IPC_GET_USAGE_DATA_MANAGEMENT = "GET_USAGE_DATA_MANAGEMENT";
423
424
  var IPC_CLEAR_USAGE_STATISTICS = "CLEAR_USAGE_STATISTICS";
424
425
  var IPC_GET_FREQUENT_PHRASES = "GET_FREQUENT_PHRASES";
425
426
  var IPC_SETTINGS_GET_DATA_DIR = "SETTINGS:GET_DATA_DIR";
427
+ var IPC_SETTINGS_GET_THREAD_STORE_STATUS = "SETTINGS:GET_THREAD_STORE_STATUS";
428
+ var IPC_SETTINGS_SAVE_THREAD_STORE_SECRET = "SETTINGS:SAVE_THREAD_STORE_SECRET";
429
+ var IPC_SETTINGS_HAS_THREAD_STORE_SECRET = "SETTINGS:HAS_THREAD_STORE_SECRET";
426
430
  var IPC_SETTINGS_SELECT_DATA_DIR = "SETTINGS:SELECT_DATA_DIR";
427
431
  var IPC_SETTINGS_CHANGE_DATA_DIR = "SETTINGS:CHANGE_DATA_DIR";
428
432
  var IPC_SETTINGS_OPEN_DATA_DIR = "SETTINGS:OPEN_DATA_DIR";
@@ -519,6 +523,8 @@ var IPC_GET_GROUP_MCP_SERVER_IDS = "GET_GROUP_MCP_SERVER_IDS";
519
523
  var IPC_UPDATE_GROUP_MCP_SERVER_IDS = "UPDATE_GROUP_MCP_SERVER_IDS";
520
524
  var IPC_GET_GROUP_DISABLED_TOOLS = "GET_GROUP_DISABLED_TOOLS";
521
525
  var IPC_UPDATE_GROUP_DISABLED_TOOLS = "UPDATE_GROUP_DISABLED_TOOLS";
526
+ var IPC_GET_GROUP_DISABLED_SKILL_NAMES = "GET_GROUP_DISABLED_SKILL_NAMES";
527
+ var IPC_UPDATE_GROUP_DISABLED_SKILL_NAMES = "UPDATE_GROUP_DISABLED_SKILL_NAMES";
522
528
  var IPC_GET_AVAILABLE_TOOLS = "GET_AVAILABLE_TOOLS";
523
529
  var IPC_LIST_GROUP_SESSIONS = "LIST_GROUP_SESSIONS";
524
530
  var IPC_GET_GROUP_SESSION = "GET_GROUP_SESSION";
@@ -631,6 +637,10 @@ var IPC_REMOTE_ACCESS_STOP = "REMOTE_ACCESS_STOP";
631
637
  var IPC_REMOTE_ACCESS_ROTATE = "REMOTE_ACCESS_ROTATE";
632
638
  var IPC_REMOTE_ACCESS_STATUS = "REMOTE_ACCESS_STATUS";
633
639
  var IPC_REMOTE_ACCESS_DISCONNECT_CLIENT = "REMOTE_ACCESS:DISCONNECT_CLIENT";
640
+ var IPC_A2A_STATUS = "A2A_STATUS";
641
+ var IPC_A2A_START = "A2A_START";
642
+ var IPC_A2A_STOP = "A2A_STOP";
643
+ var IPC_A2A_COPY_TOKEN = "A2A_COPY_TOKEN";
634
644
  var IPC_SESSION_SELECT_PROJECT_DIRECTORY = "SESSION:SELECT_PROJECT_DIRECTORY";
635
645
  var IPC_SESSION_LIST_RECENT_PROJECTS = "SESSION:LIST_RECENT_PROJECTS";
636
646
  var IPC_SESSION_LIST_PINNED_PROJECTS = "SESSION:LIST_PINNED_PROJECTS";
@@ -799,6 +809,11 @@ var IPC_ENDPOINTS = {
799
809
  updateGroupMcpServerIds: { channel: IPC_UPDATE_GROUP_MCP_SERVER_IDS, hosts: ALL_HOSTS },
800
810
  getGroupDisabledTools: { channel: IPC_GET_GROUP_DISABLED_TOOLS, hosts: ALL_HOSTS },
801
811
  updateGroupDisabledTools: { channel: IPC_UPDATE_GROUP_DISABLED_TOOLS, hosts: ALL_HOSTS },
812
+ getGroupDisabledSkillNames: { channel: IPC_GET_GROUP_DISABLED_SKILL_NAMES, hosts: ALL_HOSTS },
813
+ updateGroupDisabledSkillNames: {
814
+ channel: IPC_UPDATE_GROUP_DISABLED_SKILL_NAMES,
815
+ hosts: ALL_HOSTS
816
+ },
802
817
  createGroupSession: { channel: IPC_CREATE_GROUP_SESSION, hosts: ALL_HOSTS },
803
818
  forkSession: { channel: IPC_FORK_SESSION, hosts: ALL_HOSTS },
804
819
  deleteGroupSession: { channel: IPC_DELETE_GROUP_SESSION, hosts: ALL_HOSTS },
@@ -952,6 +967,12 @@ var IPC_ENDPOINTS = {
952
967
  remoteAccessRotate: { channel: IPC_REMOTE_ACCESS_ROTATE, hosts: IPC_ONLY },
953
968
  remoteAccessStatus: { channel: IPC_REMOTE_ACCESS_STATUS, hosts: ALL_HOSTS },
954
969
  remoteAccessDisconnectClient: { channel: IPC_REMOTE_ACCESS_DISCONNECT_CLIENT, hosts: IPC_ONLY },
970
+ // A2A:状态可跨宿主读(浏览器模式下界面也要能看到「开着没有」),起停只在宿主进程内。
971
+ a2aStatus: { channel: IPC_A2A_STATUS, hosts: ALL_HOSTS },
972
+ a2aStart: { channel: IPC_A2A_START, hosts: IPC_ONLY },
973
+ a2aStop: { channel: IPC_A2A_STOP, hosts: IPC_ONLY },
974
+ // 凭证与白名单也是宿主动作:浏览器形态的「界面」不代表本机的钥匙。
975
+ a2aCopyToken: { channel: IPC_A2A_COPY_TOKEN, hosts: IPC_ONLY },
955
976
  checkForUpdate: { channel: IPC_UPDATE_CHECK, hosts: IPC_ONLY },
956
977
  getUpdateVersionInfo: { channel: IPC_UPDATE_VERSION_INFO, hosts: IPC_ONLY },
957
978
  downloadUpdate: { channel: IPC_UPDATE_DOWNLOAD, hosts: IPC_ONLY },
@@ -999,6 +1020,12 @@ var IPC_ENDPOINTS = {
999
1020
  channelClearDeliveryRecovery: { channel: IPC_CHANNEL_CLEAR_DELIVERY_RECOVERY, hosts: IPC_ONLY },
1000
1021
  channelAbandonArchivedRoute: { channel: IPC_CHANNEL_ABANDON_ARCHIVED_ROUTE, hosts: ALL_HOSTS },
1001
1022
  getDataDirInfo: { channel: IPC_SETTINGS_GET_DATA_DIR, hosts: ALL_HOSTS },
1023
+ // 只读一行「现在用的是哪一个存储」(`docs/specs/thread-store-http.md` §10.1 ②):远程客户端也要能看。
1024
+ getThreadStoreStatus: { channel: IPC_SETTINGS_GET_THREAD_STORE_STATUS, hosts: ALL_HOSTS },
1025
+ // 写凭据是敏感动作,但入口在设置页、由用户主动输入;待遇与 saveSettings 一致。
1026
+ saveThreadStoreSecret: { channel: IPC_SETTINGS_SAVE_THREAD_STORE_SECRET, hosts: ALL_HOSTS },
1027
+ // 令牌在不在:界面要说「已保存」还是「还没填」,不许靠「有没有配置」猜——猜错的后果是用户以为令牌在。
1028
+ hasThreadStoreSecret: { channel: IPC_SETTINGS_HAS_THREAD_STORE_SECRET, hosts: ALL_HOSTS },
1002
1029
  selectDataDir: { channel: IPC_SETTINGS_SELECT_DATA_DIR, hosts: ALL_HOSTS },
1003
1030
  changeDataDir: { channel: IPC_SETTINGS_CHANGE_DATA_DIR, hosts: ALL_HOSTS },
1004
1031
  // (否则远程客户端可以指定数据根里任意位置去弹 Finder)。语义与 `openExternalUrl` 同族。
@@ -1091,23 +1118,29 @@ var IPC_ENDPOINTS = {
1091
1118
  onExternalApprovalEvent: { channel: IPC_EXTERNAL_APPROVAL_ON_EVENT, hosts: ALL_HOSTS },
1092
1119
  // 「打开…」面板(应用菜单那一路):原生菜单只在桌面宿主上有 ⇒ IPC_ONLY。
1093
1120
  onAppOpenPanelRequest: { channel: IPC_APP_OPEN_PANEL, hosts: IPC_ONLY },
1094
- // 台账清理(§2.15):纯本地写(读一条线的台账 + 写一条 thread 事件),不认识宿主特有能力 ⇒
1121
+ // 台账清理(§2.15):纯本地写(读一条线的台账 + 写一条 thread 事件),不认识宿主特有能力 ⇒`ALL_HOSTS`;
1095
1122
  pruneSessionTodo: { channel: IPC_PRUNE_SESSION_TODO, hosts: ALL_HOSTS },
1096
1123
  cloneObject: { channel: IPC_CLONE_OBJECT, hosts: ALL_HOSTS },
1097
1124
  onCloneProgress: { channel: IPC_CLONE_PROGRESS, hosts: ALL_HOSTS },
1098
1125
  getPluginHostStatus: { channel: IPC_PLUGIN_HOST_STATUS, hosts: ALL_HOSTS },
1099
1126
  startPluginHost: { channel: IPC_PLUGIN_HOST_START, hosts: ALL_HOSTS },
1100
1127
  onPluginHostStatus: { channel: IPC_PLUGIN_HOST_EVENT, hosts: ALL_HOSTS },
1101
- // 底栏项运行期快照(status-bar.md §5.1):拉取 + 全量推送成对出现,
1128
+ // 底栏项运行期快照(status-bar.md §5.1):拉取 + 全量推送成对出现,推送为 main 合并节流后的终态,渲染层不 diff。
1102
1129
  listStatusBarItems: { channel: IPC_PLUGIN_LIST_STATUS_ITEMS, hosts: ALL_HOSTS },
1103
1130
  onStatusBarItems: { channel: IPC_PLUGIN_ON_STATUS_ITEMS, hosts: ALL_HOSTS },
1131
+ // 底栏项点击(chrome 通道):请求-应答式 RPC,无推送半边。
1104
1132
  invokeStatusItem: { channel: IPC_PLUGIN_INVOKE_STATUS_ITEM, hosts: ALL_HOSTS },
1105
- // 对象动作(菜单贡献点,decisions/plugin-context-menu.md §3/§6):条目由 renderer
1133
+ // 对象动作(菜单贡献点,decisions/plugin-context-menu.md §3/§6):条目由 renderer 缓存(右键不跨进程取条目),调用只有选择器。
1106
1134
  listPluginActions: { channel: IPC_PLUGIN_LIST_ACTIONS, hosts: ALL_HOSTS },
1107
1135
  invokePluginAction: { channel: IPC_PLUGIN_INVOKE_ACTION, hosts: ALL_HOSTS },
1108
1136
  listPluginViews: { channel: IPC_PLUGIN_LIST_VIEWS, hosts: ALL_HOSTS },
1109
1137
  // 已装载插件的预览器数据面(plugin-previewer-isolation.md §5):同 ext 全部声明者 + 生效者。
1110
1138
  listPluginPreviewers: { channel: IPC_PLUGIN_LIST_PREVIEWERS, hosts: ALL_HOSTS },
1139
+ // 外部会话存储的地址预设(thread-store-http.md §3.2):已装载插件声明的静态地址,运行期不变。
1140
+ listThreadStorePresets: {
1141
+ channel: IPC_PLUGIN_LIST_THREAD_STORE_PRESETS,
1142
+ hosts: ALL_HOSTS
1143
+ },
1111
1144
  openPluginPage: { channel: IPC_PLUGIN_PAGE_OPEN, hosts: ALL_HOSTS },
1112
1145
  closePluginPage: { channel: IPC_PLUGIN_PAGE_CLOSE, hosts: ALL_HOSTS },
1113
1146
  pluginPageInvoke: { channel: IPC_PLUGIN_PAGE_INVOKE, hosts: ALL_HOSTS },
@@ -1340,6 +1373,39 @@ var UTF8_DECODER = new TextDecoder("utf-8", { fatal: true });
1340
1373
  // src/main/domain/plugin/constants.ts
1341
1374
  var MAX_PLUGIN_ZIP_BYTES = 50 * 1024 * 1024;
1342
1375
 
1376
+ // src/main/domain/plugin/model-endpoint.ts
1377
+ var MODEL_ENDPOINT_SOURCE_DENIED = "MODEL_ENDPOINT_SOURCE_DENIED";
1378
+ var MODEL_ENDPOINT_DECLARATION_INVALID = "MODEL_ENDPOINT_DECLARATION_INVALID";
1379
+ var MODEL_ENDPOINT_LABEL_INVALID = "MODEL_ENDPOINT_LABEL_INVALID";
1380
+ var MODEL_ENDPOINT_BASE_URL_INVALID = "MODEL_ENDPOINT_BASE_URL_INVALID";
1381
+ var MODEL_ENDPOINT_MODELS_INVALID = "MODEL_ENDPOINT_MODELS_INVALID";
1382
+ var MODEL_ENDPOINT_API_TYPE_UNSUPPORTED = "MODEL_ENDPOINT_API_TYPE_UNSUPPORTED";
1383
+ var MODEL_ENDPOINT_CONTEXT_TOKEN_LIMIT_INVALID = "MODEL_ENDPOINT_CONTEXT_TOKEN_LIMIT_INVALID";
1384
+ var MODEL_ENDPOINT_ERROR_CODES = [
1385
+ MODEL_ENDPOINT_SOURCE_DENIED,
1386
+ MODEL_ENDPOINT_DECLARATION_INVALID,
1387
+ MODEL_ENDPOINT_LABEL_INVALID,
1388
+ MODEL_ENDPOINT_BASE_URL_INVALID,
1389
+ MODEL_ENDPOINT_MODELS_INVALID,
1390
+ MODEL_ENDPOINT_API_TYPE_UNSUPPORTED,
1391
+ MODEL_ENDPOINT_CONTEXT_TOKEN_LIMIT_INVALID
1392
+ ];
1393
+ function isModelEndpointErrorCode(value) {
1394
+ return typeof value === "string" && MODEL_ENDPOINT_ERROR_CODES.includes(value);
1395
+ }
1396
+
1397
+ // src/main/infra/plugin/host/module-cleanups.ts
1398
+ function collectModuleCleanups(activateResult, exported) {
1399
+ const declared = exported && typeof exported === "object" ? exported.deactivate : void 0;
1400
+ const cleanups = [];
1401
+ for (const candidate of [activateResult, declared]) {
1402
+ if (typeof candidate === "function" && !cleanups.includes(candidate)) {
1403
+ cleanups.push(candidate);
1404
+ }
1405
+ }
1406
+ return cleanups;
1407
+ }
1408
+
1343
1409
  // src/main/infra/plugin/host/main.ts
1344
1410
  var stops = [];
1345
1411
  var handlers = [];
@@ -1367,6 +1433,20 @@ function settle(msg, method, pick) {
1367
1433
  if (msg.ok) entry.resolve(pick ? pick() : void 0);
1368
1434
  else entry.reject(new Error(msg.error || `plugin.${method} failed`));
1369
1435
  }
1436
+ function settleModelEndpoint(msg) {
1437
+ const requestId = msg.requestId;
1438
+ const entry = requestId ? pending.get(requestId) : void 0;
1439
+ if (!entry || !requestId) return;
1440
+ pending.delete(requestId);
1441
+ if (msg.ok) {
1442
+ entry.resolve({ channelId: msg.channelId ?? "" });
1443
+ return;
1444
+ }
1445
+ const code = isModelEndpointErrorCode(msg.code) ? msg.code : "MODEL_ENDPOINT_DECLARATION_INVALID";
1446
+ entry.reject(
1447
+ Object.assign(new Error(msg.error || `plugin.modelEndpoint \u88AB\u62D2\u7EDD: ${code}`), { code })
1448
+ );
1449
+ }
1370
1450
  function settleOpenPage(msg) {
1371
1451
  const requestId = msg.requestId;
1372
1452
  const entry = requestId ? pending.get(requestId) : void 0;
@@ -1435,7 +1515,7 @@ function createApi(pluginId, dataDir, declaredHookEvents2, declaredToolNames) {
1435
1515
  toolRegistries.set(pluginId, tools);
1436
1516
  return {
1437
1517
  dataDir,
1438
- // 当前生效值快照(plugin-settings.md §7):返回副本——插件写回返回值不得 当前生效值快照(plugin-settings.md §7):返回副本——插件写回返回值不得改动宿主闭包态,否则热推后的下一次读取会被插件本地污染。
1518
+ // 当前生效值快照(plugin-settings.md §7):返回副本——插件写回返回值不得 改动宿主闭包态,否则热推后的下一次读取会被插件本地污染。
1439
1519
  getConfig() {
1440
1520
  return Object.freeze({ ...configSnapshots.get(pluginId) ?? {} });
1441
1521
  },
@@ -1553,6 +1633,7 @@ function createApi(pluginId, dataDir, declaredHookEvents2, declaredToolNames) {
1553
1633
  requestId,
1554
1634
  pluginId,
1555
1635
  owner,
1636
+ sessionId: options?.sessionId,
1556
1637
  title: options?.title,
1557
1638
  projectPath: options?.projectPath
1558
1639
  }));
@@ -1594,7 +1675,7 @@ function createApi(pluginId, dataDir, declaredHookEvents2, declaredToolNames) {
1594
1675
  if (typeof patch?.visible === "boolean") narrowed.visible = patch.visible;
1595
1676
  post({ type: "setStatusBarItem", pluginId, itemId, patch: narrowed });
1596
1677
  },
1597
- // 动作面板数据提交(status-bar.md §5.2):有回执——面板是命令的显式 动作面板数据提交(status-bar.md §5.2):有回执——面板是命令的显式产出,插件需要区分「数据被接收」与「在途」。
1678
+ // 动作面板数据提交(status-bar.md §5.2):有回执——面板是命令的显式 产出,插件需要区分「数据被接收」与「在途」。
1598
1679
  showActionPanel(payload) {
1599
1680
  return request(pluginId, "panel", (requestId) => ({
1600
1681
  type: "showActionPanel",
@@ -1603,7 +1684,17 @@ function createApi(pluginId, dataDir, declaredHookEvents2, declaredToolNames) {
1603
1684
  payload
1604
1685
  }));
1605
1686
  },
1606
- // 请求开页(docs/decisions/plugin-page-dialog.md §2):有回执,不等页面——main 请求开页(docs/decisions/plugin-page-dialog.md §2):有回执,不等页面——main 只回答「这次意图收不收」,容器由 renderer 拿到命令回执后按正常 open 路径签发。
1687
+ // 模型端点声明(docs/decisions/plugin-model-endpoint.md §2):有回执;`pluginId` 按 api
1688
+ // 实例绑定填入,插件伪造不了来源。
1689
+ modelEndpoint(declaration) {
1690
+ return request(pluginId, "modelEndpoint", (requestId) => ({
1691
+ type: "modelEndpoint",
1692
+ requestId,
1693
+ pluginId,
1694
+ declaration
1695
+ }));
1696
+ },
1697
+ // 请求开页(docs/decisions/plugin-page-dialog.md §2):有回执,不等页面——main 只回答「这次意图收不收」,容器由 renderer 拿到命令回执后按正常 open 路径签发。
1607
1698
  openPage(input) {
1608
1699
  return request(pluginId, "page", (requestId) => ({
1609
1700
  type: "openPage",
@@ -1614,6 +1705,18 @@ function createApi(pluginId, dataDir, declaredHookEvents2, declaredToolNames) {
1614
1705
  invocationId: invocationScope.getStore()?.id ?? ""
1615
1706
  }));
1616
1707
  },
1708
+ // 弹原生选路径对话框(`api.pickPath`):有回执。选中回绝对路径、取消回 null,两条都不抛错;
1709
+ // 宿主没有对话框(远程 / 浏览器 / main 内嵌)由 main 侧拒绝——这里不替它猜成 null。
1710
+ pickPath(options) {
1711
+ return request(pluginId, "pickPath", (requestId) => ({
1712
+ type: "pickPath",
1713
+ requestId,
1714
+ pluginId,
1715
+ ...typeof options?.mode === "string" ? { mode: options.mode } : {},
1716
+ ...typeof options?.defaultPath === "string" ? { defaultPath: options.defaultPath } : {},
1717
+ ...options?.filters === void 0 ? {} : { filters: options.filters }
1718
+ }));
1719
+ },
1617
1720
  notify(input) {
1618
1721
  const target = input?.target;
1619
1722
  return request(pluginId, "notify", (requestId) => ({
@@ -1716,7 +1819,7 @@ function boot(plugins) {
1716
1819
  const stop = activate ? activate(
1717
1820
  createApi(plugin.id, plugin.dataDir ?? "", plugin.hooks ?? [], plugin.tools ?? [])
1718
1821
  ) : void 0;
1719
- if (typeof stop === "function") stops.push(stop);
1822
+ stops.push(...collectModuleCleanups(stop, required));
1720
1823
  if (typeof channelFactory === "function") {
1721
1824
  channelFactories.set(
1722
1825
  plugin.id,
@@ -1887,7 +1990,7 @@ function handleMessage(raw) {
1887
1990
  for (const handler of handlers.slice()) handler(msg.event ?? {});
1888
1991
  return;
1889
1992
  // 保存即生效(plugin-settings.md §7):覆盖闭包态,不重启插件进程。
1890
- // 未 boot 的 pluginId 也照存(下次真 boot 会被新值覆盖)——host 不判「该不该存在」,
1993
+ // 未 boot 的 pluginId 也照存(下次真 boot 会被新值覆盖)——host 不判「该不该存在」,那是 main 的职责;
1891
1994
  case "pluginConfig":
1892
1995
  if (typeof msg.pluginId === "string" && msg.pluginId !== "") {
1893
1996
  configSnapshots.set(msg.pluginId, isPlainRecord(msg.config) ? msg.config : {});
@@ -1968,12 +2071,18 @@ function handleMessage(raw) {
1968
2071
  case "compactSessionResult":
1969
2072
  settle(msg, "compactSession", () => msg.stats ?? null);
1970
2073
  return;
2074
+ case "modelEndpointResult":
2075
+ settleModelEndpoint(msg);
2076
+ return;
1971
2077
  case "showActionPanelResult":
1972
2078
  settle(msg, "showActionPanel");
1973
2079
  return;
1974
2080
  case "openPageResult":
1975
2081
  settleOpenPage(msg);
1976
2082
  return;
2083
+ case "pickPathResult":
2084
+ settle(msg, "pickPath", () => typeof msg.path === "string" ? msg.path : null);
2085
+ return;
1977
2086
  case "notifyResult":
1978
2087
  settle(msg, "notify", () => toNotifyReceipt(msg));
1979
2088
  return;
@@ -1,7 +1,7 @@
1
- import { r as reactExports, j as jsxRuntimeExports } from "./desktop-overlay-reason-Cu5SZIyT.js";
2
- import { c as createLucideIcon, u as useTranslation, s as subscribePreviewSelectionDrafts, g as getPreviewSelectionDrafts, a as styles, E as Earth, X, r as removePreviewSelectionDraft, b as clsx, C as CodeXml, T as TextQuote, I as Image } from "./index-DjGE39la.js";
1
+ import { r as reactExports, j as jsxRuntimeExports } from "./desktop-overlay-reason-DOOOru05.js";
2
+ import { c as createLucideIcon, u as useTranslation, s as subscribePreviewSelectionDrafts, g as getPreviewSelectionDrafts, a as styles, E as Earth, X, r as removePreviewSelectionDraft, b as clsx, C as CodeXml, T as TextQuote, I as Image } from "./index-rkJjipr_.js";
3
3
  import "./_commonjsHelpers-DWwsNxpa.js";
4
- import "./localUrlCodec-DzEsXobc.js";
4
+ import "./localUrlCodec-BgpHB7et.js";
5
5
  import "./preload-helper-DVzrZ_Op.js";
6
6
  const __iconData$2 = {
7
7
  name: "crop",