@inupedia/spotlight-vue 0.3.6 → 0.4.0

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 (87) hide show
  1. package/README.md +7 -89
  2. package/dist/assets/spotlight-vue.css +1 -1
  3. package/dist/components/SpotlightCommandPanel.vue.d.ts.map +1 -1
  4. package/dist/components/SpotlightCommandPanel.vue.js +1 -1
  5. package/dist/components/SpotlightCommandPanel2.vue.js +88 -85
  6. package/dist/components/SpotlightRoot.vue.d.ts.map +1 -1
  7. package/dist/components/SpotlightRoot.vue.js +21 -19
  8. package/dist/components/SpotlightThinking.vue.d.ts +3 -0
  9. package/dist/components/SpotlightThinking.vue.d.ts.map +1 -1
  10. package/dist/components/SpotlightThinking.vue.js +1 -1
  11. package/dist/components/SpotlightThinking2.vue.js +459 -398
  12. package/dist/composables/useSpotlightPanelUi.d.ts +3 -1
  13. package/dist/composables/useSpotlightPanelUi.d.ts.map +1 -1
  14. package/dist/composables/useSpotlightPanelUi.js +8 -3
  15. package/dist/config.d.ts +9 -18
  16. package/dist/config.d.ts.map +1 -1
  17. package/dist/config.js +9 -10
  18. package/dist/env.d.ts +11 -0
  19. package/dist/env.d.ts.map +1 -0
  20. package/dist/env.js +14 -0
  21. package/dist/index.d.ts +3 -14
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +92 -126
  24. package/dist/plugin.d.ts +6 -5
  25. package/dist/plugin.d.ts.map +1 -1
  26. package/dist/plugin.js +35 -35
  27. package/dist/remote/hostToolRunner.d.ts +1 -1
  28. package/dist/remote/hostToolRunner.d.ts.map +1 -1
  29. package/dist/remote/hostToolRunner.js +38 -20
  30. package/dist/remote/runPipeline.d.ts +3 -12
  31. package/dist/remote/runPipeline.d.ts.map +1 -1
  32. package/dist/remote/runPipeline.js +165 -181
  33. package/dist/remote/types.d.ts +2 -0
  34. package/dist/remote/types.d.ts.map +1 -1
  35. package/dist/skills/skillPaths.js +5 -18
  36. package/dist/store/memoryPreferenceCopy.d.ts +6 -0
  37. package/dist/store/memoryPreferenceCopy.d.ts.map +1 -0
  38. package/dist/store/memoryPreferenceCopy.js +14 -0
  39. package/dist/store/memoryResultCopy.d.ts +6 -0
  40. package/dist/store/memoryResultCopy.d.ts.map +1 -0
  41. package/dist/store/memoryResultCopy.js +12 -0
  42. package/dist/store/spotlightStore.d.ts +78 -12
  43. package/dist/store/spotlightStore.d.ts.map +1 -1
  44. package/dist/store/spotlightStore.js +130 -124
  45. package/package.json +4 -8
  46. package/dist/composables/useSpotlightHostCore.d.ts +0 -8
  47. package/dist/composables/useSpotlightHostCore.d.ts.map +0 -1
  48. package/dist/composables/useSpotlightHostCore.js +0 -24
  49. package/dist/createSpotlight.d.ts +0 -38
  50. package/dist/createSpotlight.d.ts.map +0 -1
  51. package/dist/createSpotlight.js +0 -79
  52. package/dist/host/capabilityHost.d.ts +0 -38
  53. package/dist/host/capabilityHost.d.ts.map +0 -1
  54. package/dist/host/capabilityHost.js +0 -81
  55. package/dist/host/defineApp.d.ts +0 -16
  56. package/dist/host/defineApp.d.ts.map +0 -1
  57. package/dist/host/defineApp.js +0 -26
  58. package/dist/host/defineHost.d.ts +0 -55
  59. package/dist/host/defineHost.d.ts.map +0 -1
  60. package/dist/host/defineHost.js +0 -54
  61. package/dist/host/normalizeSkills.d.ts +0 -4
  62. package/dist/host/normalizeSkills.d.ts.map +0 -1
  63. package/dist/host/normalizeSkills.js +0 -10
  64. package/dist/host/skillExecution.d.ts +0 -9
  65. package/dist/host/skillExecution.d.ts.map +0 -1
  66. package/dist/host/skillExecution.js +0 -13
  67. package/dist/resolveConfig.d.ts +0 -21
  68. package/dist/resolveConfig.d.ts.map +0 -1
  69. package/dist/resolveConfig.js +0 -13
  70. package/dist/workflow/createOperateDefinition.d.ts +0 -22
  71. package/dist/workflow/createOperateDefinition.d.ts.map +0 -1
  72. package/dist/workflow/createOperateDefinition.js +0 -31
  73. package/dist/workflow/index.d.ts +0 -6
  74. package/dist/workflow/index.d.ts.map +0 -1
  75. package/dist/workflow/index.js +0 -20
  76. package/dist/workflow/operate.d.ts +0 -23
  77. package/dist/workflow/operate.d.ts.map +0 -1
  78. package/dist/workflow/operate.js +0 -95
  79. package/dist/workflow/runHostTool.d.ts +0 -4
  80. package/dist/workflow/runHostTool.d.ts.map +0 -1
  81. package/dist/workflow/runHostTool.js +0 -12
  82. package/dist/workflow/sessionControl.d.ts +0 -30
  83. package/dist/workflow/sessionControl.d.ts.map +0 -1
  84. package/dist/workflow/sessionControl.js +0 -112
  85. package/dist/workflow/shared.d.ts +0 -6
  86. package/dist/workflow/shared.d.ts.map +0 -1
  87. package/dist/workflow/shared.js +0 -14
package/README.md CHANGED
@@ -1,108 +1,26 @@
1
1
  # @inupedia/spotlight-vue
2
2
 
3
- Vue adapter + UI shell for Inupedia Spotlight.
4
-
5
- 核心 host 逻辑在 `@inupedia/spotlight-client`,Vue 包只负责:
6
-
7
- - `SpotlightVue` plugin 和 UI/runtime pipeline。
8
- - `defineSpotlightCapabilityHost` 组合 host core、skills、workflows、metadata。
9
- - `useSpotlightAction` / `useSpotlightReadable` 绑定 Vue scope 生命周期。
10
-
11
- ## Vue host config
3
+ Spotlight 的 Vue UI 与运行时适配器。Vue 项目提供扁平配置即可,不需要 Host、Capability Registry 或项目适配器。
12
4
 
13
5
  ```ts
14
6
  import {
15
7
  defineSpotlightConfig,
16
- defineSpotlightCapabilityHost,
17
8
  readSpotlightEnv,
18
9
  } from "@inupedia/spotlight-vue";
19
-
20
- const skillModules = import.meta.glob<string>(
21
- "../.inupedia/skills/**/SKILL.md",
22
- { eager: true, query: "?raw", import: "default" },
23
- );
24
-
25
- const host = defineSpotlightCapabilityHost({
26
- actions: [
27
- {
28
- name: "ui.openSettings",
29
- description: "打开设置面板",
30
- handler: () => openSettings(),
31
- },
32
- ],
33
- readables: [
34
- {
35
- id: "route",
36
- description: "当前页面",
37
- value: () => router.currentRoute.value.name,
38
- },
39
- ],
40
- });
10
+ import { tools } from "./spotlight-tools";
41
11
 
42
12
  export default defineSpotlightConfig({
43
- ...readSpotlightEnv(import.meta.env, { projectId: "my-app" }),
44
- host,
45
- skills: skillModules,
13
+ ...readSpotlightEnv(import.meta.env, { projectId: "my-project" }),
14
+ frontendBuildId: import.meta.env.VITE_BUILD_SHA,
15
+ tools,
46
16
  });
47
17
  ```
48
18
 
49
19
  ```ts
50
- import { createApp } from "vue";
51
20
  import { SpotlightVue } from "@inupedia/spotlight-vue";
52
21
  import spotlightConfig from "./spotlight.config";
53
22
 
54
- createApp(App).use(SpotlightVue, {
55
- config: spotlightConfig,
56
- enabled: true,
57
- });
58
- ```
59
-
60
- ## Composables
61
-
62
- ```ts
63
- import {
64
- useSpotlightAction,
65
- useSpotlightReadable,
66
- } from "@inupedia/spotlight-vue";
67
-
68
- useSpotlightReadable({
69
- id: "selectedInvoice",
70
- description: "当前选中的发票",
71
- value: () => selectedInvoice.value,
72
- });
73
-
74
- useSpotlightAction({
75
- name: "invoice.approve",
76
- description: "审批当前发票",
77
- input: {
78
- invoiceId: { type: "string", description: "发票 ID" },
79
- },
80
- handler: ({ invoiceId }) => approveInvoice(String(invoiceId)),
81
- });
82
- ```
83
-
84
- 这些注册会在当前 Vue scope dispose 时自动清理。
85
-
86
- ## Legacy capabilities
87
-
88
- 已有 `@agent` capability 项目可以继续接入:
89
-
90
- ```ts
91
- const capabilityModules = import.meta.glob(
92
- "./service/agent/capabilities/**/*.ts",
93
- { eager: true },
94
- );
95
-
96
- export const host = defineSpotlightCapabilityHost({
97
- capabilities: {
98
- modules: capabilityModules,
99
- exclude: /\/(_|\.test\.|\.spec\.|\/_examples\/)/,
100
- executor: {
101
- getContext: () => getUiContext(),
102
- ensureMainScene: () => ensureMainScene(),
103
- },
104
- },
105
- });
23
+ app.use(SpotlightVue, { config: spotlightConfig });
106
24
  ```
107
25
 
108
- `executor` 是项目自己的能力注入。普通 frontend 不需要 scene/tab/Cesium,也不应该复制 ydjm 的业务模型。
26
+ 完整示例见 [Client Tool 接入指南](../../docs/client-tools.md)。
@@ -1 +1 @@
1
- .inspira-card-spotlight[data-v-451e3591]{position:relative;display:flex;width:100%;min-width:0;height:100%;overflow:hidden;border-radius:12px}.inspira-card-spotlight__content[data-v-451e3591]{position:relative;z-index:10;width:100%;min-width:0;height:100%}.inspira-card-spotlight__gradient[data-v-451e3591]{pointer-events:none;position:absolute;inset:0;border-radius:inherit;opacity:0;transition:opacity .3s ease}.inspira-card-spotlight:hover .inspira-card-spotlight__gradient[data-v-451e3591]{opacity:1}.border-beam-official[data-v-3cee2783]{--size: var(--v602b8bb2);--duration: var(--e7874400);--anchor: var(--v5fc92b5b);--border-width: var(--c1a8d7d8);--color-from: var(--v2bd85f47);--color-to: var(--v055f9958);--delay: var(--v770d7dfd);position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:calc(var(--border-width) * 1px) solid transparent;mask-image:linear-gradient(transparent,transparent),linear-gradient(#fff,#fff);mask-clip:padding-box,border-box;mask-composite:intersect;-webkit-mask-image:linear-gradient(transparent,transparent),linear-gradient(white,white);-webkit-mask-clip:padding-box,border-box;-webkit-mask-composite:source-in}.border-beam-official[data-v-3cee2783]:after{content:"";position:absolute;top:0;left:0;width:calc(var(--size) * 1px);aspect-ratio:1 / 1;background:linear-gradient(to left,var(--color-from),var(--color-to),transparent);offset-anchor:calc(var(--anchor) * 1%) 50%;offset-path:rect(0 auto auto 0 round calc(var(--size) * 1px));animation:border-beam-official-anim-3cee2783 var(--duration) infinite linear;animation-delay:var(--delay)}@keyframes border-beam-official-anim-3cee2783{to{offset-distance:100%}}@media(prefers-reduced-motion:reduce){.border-beam-official[data-v-3cee2783]:after{animation:none}}.spotlight-backdrop[data-v-1b23fa71]{position:fixed;inset:0;background:radial-gradient(120% 80% at 50% 0%,#bae6fd47,#f0fdfa14 42%,#0f172a38);backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;transition:background .28s ease,backdrop-filter .28s ease}.spotlight-panel[data-v-1b23fa71]{position:fixed;left:50%;top:12vh;transform:translate(-50%);width:min(680px,calc(100% - 40px));max-height:82vh;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif;background:linear-gradient(165deg,#ffffffeb,#f8fafce0 52%,#f0fdfadb);border-radius:22px;border:1px solid rgba(148,163,184,.28);box-shadow:0 24px 64px #0f172a1f,0 8px 24px #0f172a0f,inset 0 1px #ffffffd9;padding:16px 16px 14px;color:#0f172a;display:flex;flex-direction:column;gap:12px;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35)}.spotlight-panel.is-memory-on[data-v-1b23fa71]{border-color:#2dd4bf6b;box-shadow:0 24px 64px #0f172a1f,0 0 0 1px #2dd4bf1f,0 12px 36px #2dd4bf1a}.spotlight-panel-beam[data-v-1b23fa71]{z-index:2}.spotlight-permission-banner[data-v-1b23fa71]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.24);background:#ffffffb8}.spotlight-permission-banner-body[data-v-1b23fa71]{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;color:#475569}.spotlight-permission-banner-body strong[data-v-1b23fa71]{color:#0f172a;font-weight:600}.spotlight-permission-banner-actions[data-v-1b23fa71]{display:flex;gap:8px;flex-shrink:0}.spotlight-permission-btn[data-v-1b23fa71]{border:0;border-radius:999px;min-height:32px;padding:0 14px;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .18s ease,transform .18s ease}.spotlight-permission-btn[data-v-1b23fa71]:active{transform:scale(.98);opacity:.88}.spotlight-permission-btn.is-approve[data-v-1b23fa71]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.spotlight-permission-btn.is-dismiss[data-v-1b23fa71]{background:#94a3b82e;color:#334155}.spotlight-input-shell[data-v-1b23fa71],.spotlight-list-shell[data-v-1b23fa71]{position:relative;width:100%;min-width:0;border-radius:14px;box-sizing:border-box}.spotlight-input-wrap[data-v-1b23fa71]{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:10px 12px;border-radius:14px;border:1px solid rgba(148,163,184,.22);box-sizing:border-box;background:#ffffffc7;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.spotlight-voice-shell[data-v-1b23fa71]{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.22);background:#ffffffc7;box-sizing:border-box}.spotlight-voice-text[data-v-1b23fa71]{font-size:15px;line-height:1.4;color:#334155}.spotlight-voice-mic[data-v-1b23fa71]{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(148,163,184,.28);background:#f8fafce6;color:#ef4444}.spotlight-voice-shell.is-transcribing .spotlight-voice-mic[data-v-1b23fa71]{color:#0ea5e9}.spotlight-input-wrap.is-running[data-v-1b23fa71]{border-color:#0ea5e973;box-shadow:0 0 0 3px #0ea5e91a}.spotlight-input-wrap.is-done[data-v-1b23fa71]{border-color:#10b9816b}.spotlight-input-wrap.is-error[data-v-1b23fa71]{border-color:#ef444473}.spotlight-input[data-v-1b23fa71]{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#0f172a;font-size:17px;font-weight:400;letter-spacing:-.01em}.spotlight-input[data-v-1b23fa71]::placeholder{color:#94a3b8}.spotlight-agent-badge[data-v-1b23fa71]{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#f8fafceb;color:#64748b;font-size:12px;font-weight:600}.spotlight-agent-badge-dot[data-v-1b23fa71]{width:7px;height:7px;border-radius:50%;background:#94a3b8}.spotlight-agent-badge.is-running[data-v-1b23fa71]{color:#0284c7}.spotlight-agent-badge.is-running .spotlight-agent-badge-dot[data-v-1b23fa71]{background:#0ea5e9}.spotlight-agent-badge.is-done[data-v-1b23fa71]{color:#059669}.spotlight-agent-badge.is-done .spotlight-agent-badge-dot[data-v-1b23fa71]{background:#10b981}.spotlight-agent-badge.is-error[data-v-1b23fa71]{color:#dc2626}.spotlight-agent-badge.is-error .spotlight-agent-badge-dot[data-v-1b23fa71]{background:#ef4444}.spotlight-command-deck[data-v-1b23fa71]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;position:relative;z-index:3}.spotlight-command-deck-meta[data-v-1b23fa71]{display:flex;align-items:center;gap:10px;min-width:0}.spotlight-command-deck-kicker[data-v-1b23fa71]{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.02em}.spotlight-command-deck-status[data-v-1b23fa71]{color:#0f172a;font-size:13px;font-weight:600;letter-spacing:-.01em}.spotlight-memory-dot-btn[data-v-1b23fa71]{display:grid;place-items:center;width:44px;height:44px;margin:-8px -6px -8px 0;padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer;flex-shrink:0;-webkit-tap-highlight-color:transparent;transition:transform .18s ease}.spotlight-memory-dot-btn[data-v-1b23fa71]:active{transform:scale(.94)}.spotlight-memory-dot-btn[data-v-1b23fa71]:focus-visible{outline:none;box-shadow:0 0 0 3px #2dd4bf59}.spotlight-memory-dot[data-v-1b23fa71]{position:relative;width:8px;height:8px;border-radius:50%;background:#cbd5e1;transition:background .28s ease,box-shadow .28s ease,transform .28s ease}.spotlight-memory-dot.is-on[data-v-1b23fa71]{background:#14b8a6;box-shadow:0 0 #14b8a673;animation:spotlight-memory-dot-pulse-1b23fa71 3.2s ease-in-out infinite}.spotlight-memory-dot.is-on[data-v-1b23fa71]:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(45,212,191,.35);opacity:0;animation:spotlight-memory-dot-ring-1b23fa71 3.2s ease-in-out infinite}@keyframes spotlight-memory-dot-pulse-1b23fa71{0%,to{opacity:.72;box-shadow:0 0 #14b8a647;transform:scale(.96)}50%{opacity:1;box-shadow:0 0 0 6px #14b8a600;transform:scale(1)}}@keyframes spotlight-memory-dot-ring-1b23fa71{0%,to{opacity:0;transform:scale(.85)}50%{opacity:.55;transform:scale(1.15)}}.spotlight-list[data-v-1b23fa71]{margin:0;padding:6px;list-style:none;max-height:min(54vh,480px);overflow:auto;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#ffffff9e}.spotlight-item[data-v-1b23fa71]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:background .18s ease}.spotlight-item[data-v-1b23fa71]:hover,.spotlight-item.is-selected[data-v-1b23fa71]{background:#f1f5f9f2}.spotlight-item.is-selected[data-v-1b23fa71]{background:#ccfbf1b8}.spotlight-item-label[data-v-1b23fa71]{color:#0f172a;font-size:15px;font-weight:400;letter-spacing:-.01em}.spotlight-item-hint[data-v-1b23fa71],.spotlight-list-divider[data-v-1b23fa71]{color:#94a3b8;font-size:12px;font-weight:500}.spotlight-list-divider[data-v-1b23fa71]{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;pointer-events:none}.spotlight-list-divider[data-v-1b23fa71]:after{content:"";flex:1;height:.5px;background:#94a3b847}.spotlight-voice-mic-icon[data-v-1b23fa71]{position:relative;display:block;width:14px;height:18px}.spotlight-voice-mic-body[data-v-1b23fa71]{position:absolute;inset:0 2px 6px;border:2px solid currentColor;border-radius:999px}.spotlight-voice-mic-stem[data-v-1b23fa71]{position:absolute;left:50%;bottom:0;width:2px;height:5px;transform:translate(-50%);background:currentColor;border-radius:1px}.spotlight-voice-shell.is-recording[data-v-1b23fa71]{border-color:#ef444459;box-shadow:0 0 0 3px #ef444414}.spotlight-voice-shell.is-transcribing[data-v-1b23fa71]{border-color:#0ea5e959;box-shadow:0 0 0 3px #0ea5e914}.spotlight-voice-beam[data-v-1b23fa71]{display:block}.spotlight-item--empty[data-v-1b23fa71]{cursor:default;opacity:.72}@media(max-width:768px){.spotlight-panel[data-v-1b23fa71]{width:calc(100% - 24px);top:8vh;padding:14px}.spotlight-command-deck[data-v-1b23fa71]{flex-wrap:wrap}.spotlight-input[data-v-1b23fa71]{font-size:16px}.spotlight-agent-badge[data-v-1b23fa71]{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.spotlight-backdrop[data-v-1b23fa71],.spotlight-panel[data-v-1b23fa71],.spotlight-input-wrap[data-v-1b23fa71],.spotlight-memory-dot[data-v-1b23fa71],.spotlight-memory-dot.is-on[data-v-1b23fa71]:after,.spotlight-item[data-v-1b23fa71],.spotlight-permission-btn[data-v-1b23fa71],.spotlight-memory-dot-btn[data-v-1b23fa71]{transition:none;animation:none}}.thinking-bar[data-v-25f5e332]{--tb-text: #0f172a;--tb-text-secondary: #475569;--tb-text-muted: #64748b;--tb-text-faint: #94a3b8;--tb-border: rgba(148, 163, 184, .28);--tb-surface: rgba(255, 255, 255, .94);--tb-surface-soft: rgba(248, 250, 252, .92);--tb-surface-inset: rgba(255, 255, 255, .88);--tb-accent: #14b8a6;--tb-info: #0ea5e9;--tb-success: #10b981;--tb-error: #ef4444;--tb-radius-xl: 22px;--tb-radius-lg: 16px;--tb-radius-md: 14px;--tb-radius-sm: 12px;--tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;position:fixed;width:min(720px,calc(100vw - 48px));max-height:min(78vh,820px);display:flex;flex-direction:column;min-height:0;font-family:var(--tb-font);background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);border-radius:var(--tb-radius-xl);border:1px solid var(--tb-border);box-shadow:0 24px 64px #0f172a1a,0 8px 24px #0f172a0d,inset 0 1px #ffffffe6;color:var(--tb-text);z-index:10000;overflow:hidden;opacity:0;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35);transition:opacity .28s ease,transform .28s ease}.thinking-bar--open[data-v-25f5e332]{opacity:1}.thinking-bar--embedded[data-v-25f5e332]{position:relative;right:auto;bottom:auto;width:100%;max-height:100%}.thinking-bar--centered[data-v-25f5e332]{left:50%;top:50%;width:min(980px,calc(100vw - 56px));transform:translate(-50%,-50%) scale(.98);transform-origin:center}.thinking-bar--centered.thinking-bar--open[data-v-25f5e332]{transform:translate(-50%,-50%) scale(1)}.thinking-bar--corner[data-v-25f5e332]{right:24px;bottom:24px;width:min(520px,calc(100vw - 28px));max-height:min(76vh,calc(100vh - 36px));border-radius:20px;transform:scale(.98);transform-origin:right bottom}.thinking-bar--corner.thinking-bar--open[data-v-25f5e332]{transform:scale(1)}.thinking-bar-grid[data-v-25f5e332]{display:none}.thinking-bar-header[data-v-25f5e332]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--tb-border);flex-shrink:0}.thinking-bar-title-stack[data-v-25f5e332]{display:grid;gap:2px;min-width:0}.thinking-bar-kicker[data-v-25f5e332]{color:var(--tb-text-muted);font-size:12px;font-weight:600;letter-spacing:.02em}.thinking-bar-title[data-v-25f5e332]{color:var(--tb-text);font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.35;min-width:0}.thinking-bar-memory-badge[data-v-25f5e332]{display:inline-flex;width:fit-content;margin-top:4px;padding:3px 8px;border-radius:999px;border:1px solid rgba(14,165,233,.28);background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-metrics[data-v-25f5e332]{display:flex;align-items:center;gap:8px;margin-left:auto}.thinking-bar-metric[data-v-25f5e332]{display:grid;min-width:58px;padding:7px 9px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);text-align:center}.thinking-bar-metric strong[data-v-25f5e332]{color:var(--tb-text);font-size:15px;line-height:1.1}.thinking-bar-metric em[data-v-25f5e332]{color:var(--tb-text-muted);font-size:10px;font-style:normal;line-height:1.2}.thinking-bar-close[data-v-25f5e332]{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:20px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}.thinking-bar-close[data-v-25f5e332]:hover{background:var(--tb-surface-soft);color:var(--tb-text)}.thinking-bar-steps[data-v-25f5e332]{padding:14px 16px 16px;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:#f8fafc73}.thinking-bar-steps[data-v-25f5e332],.thinking-bar-step-body[data-v-25f5e332],.thinking-bar-tool-call-block[data-v-25f5e332],.thinking-bar-tool-result-table-wrap[data-v-25f5e332],.thinking-bar-file-tree-body[data-v-25f5e332],.thinking-bar-file-preview-body[data-v-25f5e332]{-ms-overflow-style:none;scrollbar-width:none}.thinking-bar-steps[data-v-25f5e332]::-webkit-scrollbar,.thinking-bar-step-body[data-v-25f5e332]::-webkit-scrollbar,.thinking-bar-tool-call-block[data-v-25f5e332]::-webkit-scrollbar,.thinking-bar-tool-result-table-wrap[data-v-25f5e332]::-webkit-scrollbar,.thinking-bar-file-tree-body[data-v-25f5e332]::-webkit-scrollbar,.thinking-bar-file-preview-body[data-v-25f5e332]::-webkit-scrollbar{display:none}.thinking-bar-step[data-v-25f5e332]{position:relative;display:flex;flex-direction:column;flex:0 0 auto;min-width:0;padding:12px 14px;border-radius:var(--tb-radius-lg);border:1px solid var(--tb-border);background:var(--tb-surface-inset);box-shadow:0 1px 2px #0f172a0a;overflow:hidden}.thinking-bar-step.active[data-v-25f5e332]{border-color:#14b8a661;box-shadow:0 0 0 1px #14b8a61f}.thinking-bar-step.done[data-v-25f5e332]{border-color:#0ea5e947}.thinking-bar-step.error[data-v-25f5e332]{border-color:#ef444452}.thinking-bar-step.pending[data-v-25f5e332]{opacity:.72}.thinking-bar-step-inner[data-v-25f5e332]{display:flex;align-items:flex-start;gap:12px;min-width:0}.thinking-bar-step-status[data-v-25f5e332]{flex-shrink:0;width:10px;height:10px;margin-top:5px;border-radius:999px;background:var(--tb-text-faint)}.thinking-bar-step-status.is-active[data-v-25f5e332]{background:var(--tb-accent);box-shadow:0 0 0 4px #14b8a62e}.thinking-bar-step-status.is-done[data-v-25f5e332]{background:var(--tb-info)}.thinking-bar-step-status.is-error[data-v-25f5e332]{background:var(--tb-error)}.thinking-bar-step-column[data-v-25f5e332]{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.thinking-bar-step-label[data-v-25f5e332]{color:var(--tb-text);font-size:15px;font-weight:600;line-height:1.45}.thinking-bar-step.pending .thinking-bar-step-label[data-v-25f5e332]{color:var(--tb-text-muted)}.thinking-bar-step-body[data-v-25f5e332]{max-height:min(42vh,400px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.thinking-bar-step-text[data-v-25f5e332]{margin:0;color:var(--tb-text-secondary);font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-step-markdown[data-v-25f5e332]{white-space:normal}.thinking-bar-md-preview[data-v-25f5e332]{--md-theme-bg-color: transparent;--md-color: var(--tb-text-secondary);--md-bk-color: transparent;--md-border-color: var(--tb-border);--md-code-bg-color: rgba(241, 245, 249, .98);--md-code-color: #0f766e;--md-table-even-color: rgba(248, 250, 252, .98);--md-table-odd-color: rgba(255, 255, 255, .98);--md-table-header-bg-color: rgba(241, 245, 249, .98)}.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview-wrapper{padding:0}.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview,.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview p,.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview li,.thinking-bar-step-answer[data-v-25f5e332] .md-editor-preview p,.thinking-bar-step-answer[data-v-25f5e332] .md-editor-preview li{color:var(--tb-text-secondary);font-size:14px;line-height:1.65}.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview h1,.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview h2,.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview h3,.thinking-bar-step-answer[data-v-25f5e332] .md-editor-preview h1,.thinking-bar-step-answer[data-v-25f5e332] .md-editor-preview h2,.thinking-bar-step-answer[data-v-25f5e332] .md-editor-preview h3{margin:8px 0 4px;color:var(--tb-text);font-size:14px;font-weight:600}.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview strong{color:var(--tb-text)}.thinking-bar-tool-step-flow[data-v-25f5e332]{--thinking-detail-gap: 10px;display:flex;flex-direction:column;gap:var(--thinking-detail-gap)}.thinking-bar-step-answer-section[data-v-25f5e332]{display:flex;flex-direction:column;gap:8px}.thinking-bar-step-section-label[data-v-25f5e332]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details[data-v-25f5e332],.thinking-bar-tool-call[data-v-25f5e332]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-tool-call--nested[data-v-25f5e332]{border-style:dashed;background:#ffffffb8}.thinking-bar-execution-details-summary[data-v-25f5e332],.thinking-bar-tool-call-head[data-v-25f5e332]{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;background:var(--tb-surface-soft)}.thinking-bar-execution-details-summary[data-v-25f5e332]::-webkit-details-marker,.thinking-bar-tool-call-head[data-v-25f5e332]::-webkit-details-marker{display:none}.thinking-bar-tool-call-head-main[data-v-25f5e332]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.thinking-bar-tool-call-head-side[data-v-25f5e332]{display:flex;align-items:center;gap:8px;flex-shrink:0}.thinking-bar-execution-details-title[data-v-25f5e332],.thinking-bar-tool-call-name[data-v-25f5e332],.thinking-bar-workspace-title[data-v-25f5e332],.thinking-bar-nested-tools-label[data-v-25f5e332]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details-meta[data-v-25f5e332]{margin-left:auto;padding:2px 8px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-execution-details-caret[data-v-25f5e332],.thinking-bar-tool-call-caret[data-v-25f5e332]{color:var(--tb-text-faint);font-size:12px;transition:transform .18s ease}.thinking-bar-execution-details[open] .thinking-bar-execution-details-caret[data-v-25f5e332],.thinking-bar-tool-call[open] .thinking-bar-tool-call-caret[data-v-25f5e332]{transform:rotate(180deg)}.thinking-bar-execution-details-body[data-v-25f5e332],.thinking-bar-tool-call-body[data-v-25f5e332]{display:grid;gap:var(--thinking-detail-gap, 10px);padding:12px;border-top:1px solid var(--tb-border);max-height:min(40vh,380px);overflow-y:auto}.thinking-bar-execution-planning[data-v-25f5e332],.thinking-bar-tool-call-block[data-v-25f5e332]{margin:0;padding:10px 12px;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border);background:#fffffff5;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-call-block[data-v-25f5e332]{display:flex;flex-direction:column;gap:8px;max-height:min(28vh,280px);overflow:auto}.thinking-bar-tool-call-block-title[data-v-25f5e332]{margin:0;color:#0d9488;font-size:11px;font-weight:700;letter-spacing:.03em}.thinking-bar-tool-call-block--error[data-v-25f5e332]{border-color:#ef444447}.thinking-bar-tool-call-block--error .thinking-bar-tool-call-block-title[data-v-25f5e332]{color:#dc2626}.thinking-bar-tool-call-pre[data-v-25f5e332],.thinking-bar-tool-trace-item[data-v-25f5e332],.thinking-bar-tool-call-id[data-v-25f5e332]{margin:0;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.thinking-bar-tool-call-id[data-v-25f5e332]{font-size:11px;color:var(--tb-text-faint)}.thinking-bar-tool-call-status[data-v-25f5e332]{padding:3px 9px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-tool-call-status.is-running[data-v-25f5e332]{background:#f59e0b1f;border-color:#f59e0b47;color:#b45309}.thinking-bar-tool-call-status.is-done[data-v-25f5e332]{background:#10b9811f;border-color:#10b98147;color:#047857}.thinking-bar-tool-call-status.is-error[data-v-25f5e332]{background:#ef44441a;border-color:#ef444447;color:#b91c1c}.thinking-bar-tool-result-table-wrap[data-v-25f5e332]{overflow:auto;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border)}.thinking-bar-tool-result-table[data-v-25f5e332]{width:100%;border-collapse:collapse;font-size:12px}.thinking-bar-tool-result-table th[data-v-25f5e332],.thinking-bar-tool-result-table td[data-v-25f5e332]{padding:8px 10px;text-align:left;border-bottom:1px solid var(--tb-border);white-space:pre-wrap;word-break:break-word}.thinking-bar-tool-result-table th[data-v-25f5e332]{background:#f1f5f9fa;color:var(--tb-text);font-weight:600}.thinking-bar-tool-result-table td[data-v-25f5e332]{color:var(--tb-text-secondary);background:#fff}.thinking-bar-tool-result-image-shell[data-v-25f5e332]{padding:8px;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachments[data-v-25f5e332]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment[data-v-25f5e332]{padding:10px;border-radius:var(--tb-radius-md);border:1px solid rgba(14,165,233,.22);background:var(--tb-surface);text-decoration:none;color:inherit}.thinking-bar-attachment-name[data-v-25f5e332]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-attachment-type[data-v-25f5e332]{color:#0284c7;font-size:12px}.thinking-bar-workspace-shell[data-v-25f5e332]{display:grid;grid-template-columns:minmax(210px,240px) minmax(0,1fr);gap:10px}.thinking-bar-file-tree-pane[data-v-25f5e332],.thinking-bar-file-preview[data-v-25f5e332]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-file-tree-head[data-v-25f5e332],.thinking-bar-file-preview-head[data-v-25f5e332]{padding:10px 12px;border-bottom:1px solid var(--tb-border);color:var(--tb-text-secondary);font-size:12px;font-weight:600}.thinking-bar-file-tree-body[data-v-25f5e332]{max-height:min(200px,100%);overflow:auto;padding:6px 0}.thinking-bar-tree-row[data-v-25f5e332]{width:100%;min-height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border:0;background:transparent;color:var(--tb-text-secondary);text-align:left;cursor:pointer}.thinking-bar-tree-row[data-v-25f5e332]:hover{background:#f1f5f9f2}.thinking-bar-tree-row--file.active[data-v-25f5e332]{background:#ccfbf1a6;color:#0f766e}.thinking-bar-file-preview-body[data-v-25f5e332]{margin:0;padding:12px;color:var(--tb-text-secondary);font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-preview-chip[data-v-25f5e332]{padding:2px 8px;border-radius:999px;background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-empty-preview[data-v-25f5e332]{padding:16px;color:var(--tb-text-muted);font-size:13px}.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview table{display:block;overflow:auto;border-radius:var(--tb-radius-sm)}.thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview thead th{position:static}.thinking-bar-step-answer[data-v-25f5e332]{margin:0}.thinking-bar-chat-items[data-v-25f5e332]{display:flex;flex-direction:column;gap:8px}.thinking-bar-chat-item[data-v-25f5e332]{min-width:0}.thinking-bar-tool-trace-list[data-v-25f5e332]{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.thinking-bar-tool-trace-item[data-v-25f5e332]{color:var(--tb-text-secondary);line-height:1.5}.thinking-bar-tool-result-image[data-v-25f5e332]{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-tool-result-html[data-v-25f5e332]{width:100%;min-height:min(200px,22vh);border:none;border-radius:var(--tb-radius-sm);background:#fff}.thinking-bar-attachment[data-v-25f5e332]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment-image[data-v-25f5e332]{width:100%;max-height:240px;object-fit:contain;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachment-meta[data-v-25f5e332]{display:flex;align-items:center;justify-content:space-between;gap:12px}.thinking-bar-workspace[data-v-25f5e332]{display:flex;flex-direction:column;gap:10px;margin-top:4px}.thinking-bar-tree-node[data-v-25f5e332]{display:block}.thinking-bar-tree-row--directory[data-v-25f5e332]{color:var(--tb-text)}.thinking-bar-tree-caret[data-v-25f5e332],.thinking-bar-tree-icon[data-v-25f5e332]{flex-shrink:0}.thinking-bar-tree-label[data-v-25f5e332]{min-width:0;font-size:12px;line-height:1.5;word-break:break-word}.thinking-bar-file-preview[data-v-25f5e332]{min-width:0;display:flex;flex-direction:column;min-height:0}.thinking-bar-file-preview-title[data-v-25f5e332]{min-width:0;display:flex;align-items:center;gap:8px}.thinking-bar-image-shell[data-v-25f5e332]{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafcfa}.thinking-bar-image-preview[data-v-25f5e332]{max-width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-html-preview[data-v-25f5e332]{flex:1;min-height:min(200px,28vh);border:none;background:#fff}.thinking-bar--corner .thinking-bar-title[data-v-25f5e332]{font-size:16px}.thinking-bar--corner .thinking-bar-step-label[data-v-25f5e332]{font-size:14px}.thinking-bar--corner .thinking-bar-step-text[data-v-25f5e332],.thinking-bar--corner .thinking-bar-step-markdown[data-v-25f5e332] .md-editor-preview{font-size:13px}.thinking-bar--corner .thinking-bar-tool-call-body[data-v-25f5e332]{max-height:min(36vh,300px)}.thinking-bar--corner .thinking-bar-tool-call-block[data-v-25f5e332]{max-height:min(24vh,200px)}.thinking-bar--corner .thinking-bar-header[data-v-25f5e332]{padding:14px 16px 12px}.thinking-bar--corner .thinking-bar-steps[data-v-25f5e332]{padding:12px 14px 14px}@media(max-width:768px){.thinking-bar--centered[data-v-25f5e332]{width:calc(100vw - 24px);max-height:72vh}.thinking-bar--corner[data-v-25f5e332]{right:12px;bottom:12px;width:min(360px,calc(100vw - 24px))}.thinking-bar-header[data-v-25f5e332]{align-items:flex-start;flex-wrap:wrap}.thinking-bar-metrics[data-v-25f5e332]{display:none}.thinking-bar-workspace-shell[data-v-25f5e332]{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.thinking-bar[data-v-25f5e332],.thinking-bar-close[data-v-25f5e332],.thinking-bar-execution-details-caret[data-v-25f5e332],.thinking-bar-tool-call-caret[data-v-25f5e332]{transition:none}}.live2d-panel-shell[data-v-8602f159]{position:fixed;right:220px;bottom:16px;z-index:5000;width:min(420px,42vw);height:min(560px,52vh);pointer-events:none}.live2d-panel[data-v-8602f159]{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}.live2d-speech-bubble[data-v-8602f159]{position:absolute;right:calc(100% - 36px);bottom:44%;width:min(360px,40vw);max-height:32vh;overflow:hidden auto;border-radius:20px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(165deg,#fffffff5,#f0fdfaf0);box-shadow:0 18px 36px #0f172a1a,inset 0 1px #ffffffe6;color:#0f172a;padding:10px 12px;pointer-events:auto}.live2d-speech-bubble.is-speaking[data-v-8602f159]{border-color:#14b8a673;box-shadow:0 20px 40px #14b8a624,0 0 0 1px #0ea5e92e,inset 0 1px #ffffffe6}.live2d-speech-head[data-v-8602f159]{display:inline-flex;align-items:center;gap:8px;color:#0d9488;font-size:12px;line-height:1}.live2d-speech-dot[data-v-8602f159]{width:8px;height:8px;border-radius:999px;background:currentcolor;box-shadow:0 0 12px currentcolor}.live2d-speech-bubble.is-speaking .live2d-speech-dot[data-v-8602f159]{animation:speech-pulse-8602f159 1.1s ease-in-out infinite}.live2d-speech-text[data-v-8602f159]{margin:8px 0 0;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.55;color:#334155}.speech-bubble-enter-active[data-v-8602f159],.speech-bubble-leave-active[data-v-8602f159]{transition:all .28s ease}.speech-bubble-enter-from[data-v-8602f159],.speech-bubble-leave-to[data-v-8602f159]{opacity:0;transform:translate(10px) scale(.98)}@keyframes speech-pulse-8602f159{0%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.12)}to{opacity:.65;transform:scale(.95)}}
1
+ .inspira-card-spotlight[data-v-451e3591]{position:relative;display:flex;width:100%;min-width:0;height:100%;overflow:hidden;border-radius:12px}.inspira-card-spotlight__content[data-v-451e3591]{position:relative;z-index:10;width:100%;min-width:0;height:100%}.inspira-card-spotlight__gradient[data-v-451e3591]{pointer-events:none;position:absolute;inset:0;border-radius:inherit;opacity:0;transition:opacity .3s ease}.inspira-card-spotlight:hover .inspira-card-spotlight__gradient[data-v-451e3591]{opacity:1}.border-beam-official[data-v-3cee2783]{--size: var(--v602b8bb2);--duration: var(--e7874400);--anchor: var(--v5fc92b5b);--border-width: var(--c1a8d7d8);--color-from: var(--v2bd85f47);--color-to: var(--v055f9958);--delay: var(--v770d7dfd);position:absolute;inset:0;pointer-events:none;border-radius:inherit;border:calc(var(--border-width) * 1px) solid transparent;mask-image:linear-gradient(transparent,transparent),linear-gradient(#fff,#fff);mask-clip:padding-box,border-box;mask-composite:intersect;-webkit-mask-image:linear-gradient(transparent,transparent),linear-gradient(white,white);-webkit-mask-clip:padding-box,border-box;-webkit-mask-composite:source-in}.border-beam-official[data-v-3cee2783]:after{content:"";position:absolute;top:0;left:0;width:calc(var(--size) * 1px);aspect-ratio:1 / 1;background:linear-gradient(to left,var(--color-from),var(--color-to),transparent);offset-anchor:calc(var(--anchor) * 1%) 50%;offset-path:rect(0 auto auto 0 round calc(var(--size) * 1px));animation:border-beam-official-anim-3cee2783 var(--duration) infinite linear;animation-delay:var(--delay)}@keyframes border-beam-official-anim-3cee2783{to{offset-distance:100%}}@media(prefers-reduced-motion:reduce){.border-beam-official[data-v-3cee2783]:after{animation:none}}.spotlight-backdrop[data-v-b381bab1]{position:fixed;inset:0;background:radial-gradient(120% 80% at 50% 0%,#bae6fd47,#f0fdfa14 42%,#0f172a38);backdrop-filter:blur(18px) saturate(1.15);-webkit-backdrop-filter:blur(18px) saturate(1.15);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding-top:12vh;transition:background .28s ease,backdrop-filter .28s ease}.spotlight-panel[data-v-b381bab1]{position:fixed;left:50%;top:12vh;transform:translate(-50%);width:min(680px,calc(100% - 40px));max-height:82vh;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif;background:linear-gradient(165deg,#ffffffeb,#f8fafce0 52%,#f0fdfadb);border-radius:22px;border:1px solid rgba(148,163,184,.28);box-shadow:0 24px 64px #0f172a1f,0 8px 24px #0f172a0f,inset 0 1px #ffffffd9;padding:16px 16px 14px;color:#0f172a;display:flex;flex-direction:column;gap:12px;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35)}.spotlight-panel.is-memory-on[data-v-b381bab1]{border-color:#2dd4bf6b;box-shadow:0 24px 64px #0f172a1f,0 0 0 1px #2dd4bf1f,0 12px 36px #2dd4bf1a}.spotlight-panel-beam[data-v-b381bab1]{z-index:2}.spotlight-permission-banner[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.24);background:#ffffffb8}.spotlight-permission-banner-body[data-v-b381bab1]{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.45;color:#475569}.spotlight-permission-banner-body strong[data-v-b381bab1]{color:#0f172a;font-weight:600}.spotlight-permission-banner-actions[data-v-b381bab1]{display:flex;gap:8px;flex-shrink:0}.spotlight-permission-btn[data-v-b381bab1]{border:0;border-radius:999px;min-height:32px;padding:0 14px;font-size:13px;font-weight:600;cursor:pointer;transition:opacity .18s ease,transform .18s ease}.spotlight-permission-btn[data-v-b381bab1]:active{transform:scale(.98);opacity:.88}.spotlight-permission-btn.is-approve[data-v-b381bab1]{background:linear-gradient(135deg,#14b8a6,#0ea5e9);color:#fff}.spotlight-permission-btn.is-dismiss[data-v-b381bab1]{background:#94a3b82e;color:#334155}.spotlight-input-shell[data-v-b381bab1],.spotlight-list-shell[data-v-b381bab1]{position:relative;width:100%;min-width:0;border-radius:14px;box-sizing:border-box}.spotlight-input-wrap[data-v-b381bab1]{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:10px 12px;border-radius:14px;border:1px solid rgba(148,163,184,.22);box-sizing:border-box;background:#ffffffc7;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}.spotlight-voice-shell[data-v-b381bab1]{position:relative;display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:12px 14px;border-radius:14px;border:1px solid rgba(148,163,184,.22);background:#ffffffc7;box-sizing:border-box}.spotlight-voice-text[data-v-b381bab1]{font-size:15px;line-height:1.4;color:#334155}.spotlight-voice-mic[data-v-b381bab1]{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:1px solid rgba(148,163,184,.28);background:#f8fafce6;color:#ef4444}.spotlight-voice-shell.is-transcribing .spotlight-voice-mic[data-v-b381bab1]{color:#0ea5e9}.spotlight-input-wrap.is-running[data-v-b381bab1]{border-color:#0ea5e973;box-shadow:0 0 0 3px #0ea5e91a}.spotlight-input-wrap.is-done[data-v-b381bab1]{border-color:#10b9816b}.spotlight-input-wrap.is-error[data-v-b381bab1]{border-color:#ef444473}.spotlight-input[data-v-b381bab1]{flex:1;min-width:0;border:0;outline:none;background:transparent;color:#0f172a;font-size:17px;font-weight:400;letter-spacing:-.01em}.spotlight-input[data-v-b381bab1]::placeholder{color:#94a3b8}.spotlight-agent-badge[data-v-b381bab1]{display:inline-flex;align-items:center;gap:6px;flex-shrink:0;padding:4px 10px;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#f8fafceb;color:#64748b;font-size:12px;font-weight:600}.spotlight-agent-badge-dot[data-v-b381bab1]{width:7px;height:7px;border-radius:50%;background:#94a3b8}.spotlight-agent-badge.is-running[data-v-b381bab1]{color:#0284c7}.spotlight-agent-badge.is-running .spotlight-agent-badge-dot[data-v-b381bab1]{background:#0ea5e9}.spotlight-agent-badge.is-done[data-v-b381bab1]{color:#059669}.spotlight-agent-badge.is-done .spotlight-agent-badge-dot[data-v-b381bab1]{background:#10b981}.spotlight-agent-badge.is-error[data-v-b381bab1]{color:#dc2626}.spotlight-agent-badge.is-error .spotlight-agent-badge-dot[data-v-b381bab1]{background:#ef4444}.spotlight-command-deck[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;position:relative;z-index:3}.spotlight-command-deck-meta[data-v-b381bab1]{display:flex;align-items:center;gap:10px;min-width:0}.spotlight-command-deck-kicker[data-v-b381bab1]{color:#64748b;font-size:12px;font-weight:600;letter-spacing:.02em}.spotlight-command-deck-status[data-v-b381bab1]{color:#0f172a;font-size:13px;font-weight:600;letter-spacing:-.01em}.spotlight-memory-dot-btn[data-v-b381bab1]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;height:44px;margin:-8px -6px -8px 0;padding:0 10px;border:0;border-radius:999px;background:transparent;cursor:pointer;flex-shrink:0;-webkit-tap-highlight-color:transparent;transition:transform .18s ease}.spotlight-memory-label[data-v-b381bab1]{color:#64748b;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.spotlight-memory-dot-btn[data-v-b381bab1]:active{transform:scale(.94)}.spotlight-memory-dot-btn[data-v-b381bab1]:focus-visible{outline:none;box-shadow:0 0 0 3px #2dd4bf59}.spotlight-memory-dot[data-v-b381bab1]{position:relative;width:8px;height:8px;border-radius:50%;background:#cbd5e1;transition:background .28s ease,box-shadow .28s ease,transform .28s ease}.spotlight-memory-dot.is-on[data-v-b381bab1]{background:#14b8a6;box-shadow:0 0 #14b8a673;animation:spotlight-memory-dot-pulse-b381bab1 3.2s ease-in-out infinite}.spotlight-memory-dot.is-on[data-v-b381bab1]:after{content:"";position:absolute;inset:-5px;border-radius:inherit;border:1px solid rgba(45,212,191,.35);opacity:0;animation:spotlight-memory-dot-ring-b381bab1 3.2s ease-in-out infinite}@keyframes spotlight-memory-dot-pulse-b381bab1{0%,to{opacity:.72;box-shadow:0 0 #14b8a647;transform:scale(.96)}50%{opacity:1;box-shadow:0 0 0 6px #14b8a600;transform:scale(1)}}@keyframes spotlight-memory-dot-ring-b381bab1{0%,to{opacity:0;transform:scale(.85)}50%{opacity:.55;transform:scale(1.15)}}.spotlight-list[data-v-b381bab1]{margin:0;padding:6px;list-style:none;max-height:min(54vh,480px);overflow:auto;border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#ffffff9e}.spotlight-item[data-v-b381bab1]{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:10px 12px;border-radius:10px;cursor:pointer;transition:background .18s ease}.spotlight-item[data-v-b381bab1]:hover,.spotlight-item.is-selected[data-v-b381bab1]{background:#f1f5f9f2}.spotlight-item.is-selected[data-v-b381bab1]{background:#ccfbf1b8}.spotlight-item-label[data-v-b381bab1]{color:#0f172a;font-size:15px;font-weight:400;letter-spacing:-.01em}.spotlight-item-hint[data-v-b381bab1],.spotlight-list-divider[data-v-b381bab1]{color:#94a3b8;font-size:12px;font-weight:500}.spotlight-list-divider[data-v-b381bab1]{display:flex;align-items:center;gap:10px;padding:8px 12px 4px;pointer-events:none}.spotlight-list-divider[data-v-b381bab1]:after{content:"";flex:1;height:.5px;background:#94a3b847}.spotlight-voice-mic-icon[data-v-b381bab1]{position:relative;display:block;width:14px;height:18px}.spotlight-voice-mic-body[data-v-b381bab1]{position:absolute;inset:0 2px 6px;border:2px solid currentColor;border-radius:999px}.spotlight-voice-mic-stem[data-v-b381bab1]{position:absolute;left:50%;bottom:0;width:2px;height:5px;transform:translate(-50%);background:currentColor;border-radius:1px}.spotlight-voice-shell.is-recording[data-v-b381bab1]{border-color:#ef444459;box-shadow:0 0 0 3px #ef444414}.spotlight-voice-shell.is-transcribing[data-v-b381bab1]{border-color:#0ea5e959;box-shadow:0 0 0 3px #0ea5e914}.spotlight-voice-beam[data-v-b381bab1]{display:block}.spotlight-item--empty[data-v-b381bab1]{cursor:default;opacity:.72}@media(max-width:768px){.spotlight-panel[data-v-b381bab1]{width:calc(100% - 24px);top:8vh;padding:14px}.spotlight-command-deck[data-v-b381bab1]{flex-wrap:wrap}.spotlight-input[data-v-b381bab1]{font-size:16px}.spotlight-agent-badge[data-v-b381bab1]{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.spotlight-backdrop[data-v-b381bab1],.spotlight-panel[data-v-b381bab1],.spotlight-input-wrap[data-v-b381bab1],.spotlight-memory-dot[data-v-b381bab1],.spotlight-memory-dot.is-on[data-v-b381bab1]:after,.spotlight-item[data-v-b381bab1],.spotlight-permission-btn[data-v-b381bab1],.spotlight-memory-dot-btn[data-v-b381bab1]{transition:none;animation:none}}.thinking-bar[data-v-14571fe9]{--tb-text: #0f172a;--tb-text-secondary: #475569;--tb-text-muted: #64748b;--tb-text-faint: #94a3b8;--tb-border: rgba(148, 163, 184, .28);--tb-surface: rgba(255, 255, 255, .94);--tb-surface-soft: rgba(248, 250, 252, .92);--tb-surface-inset: rgba(255, 255, 255, .88);--tb-accent: #14b8a6;--tb-info: #0ea5e9;--tb-success: #10b981;--tb-error: #ef4444;--tb-radius-xl: 22px;--tb-radius-lg: 16px;--tb-radius-md: 14px;--tb-radius-sm: 12px;--tb-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;position:fixed;width:min(720px,calc(100vw - 48px));max-height:min(78vh,820px);display:flex;flex-direction:column;min-height:0;font-family:var(--tb-font);background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);border-radius:var(--tb-radius-xl);border:1px solid var(--tb-border);box-shadow:0 24px 64px #0f172a1a,0 8px 24px #0f172a0d,inset 0 1px #ffffffe6;color:var(--tb-text);z-index:10000;overflow:hidden;opacity:0;backdrop-filter:blur(40px) saturate(1.35);-webkit-backdrop-filter:blur(40px) saturate(1.35);transition:opacity .28s ease,transform .28s ease}.thinking-bar--open[data-v-14571fe9]{opacity:1}.thinking-bar--embedded[data-v-14571fe9]{position:relative;right:auto;bottom:auto;width:100%;max-height:100%}.thinking-bar--centered[data-v-14571fe9]{left:50%;top:50%;width:min(980px,calc(100vw - 56px));transform:translate(-50%,-50%) scale(.98);transform-origin:center}.thinking-bar--centered.thinking-bar--open[data-v-14571fe9]{transform:translate(-50%,-50%) scale(1)}.thinking-bar--corner[data-v-14571fe9]{right:24px;bottom:24px;width:min(520px,calc(100vw - 28px));max-height:min(76vh,calc(100vh - 36px));border-radius:20px;transform:scale(.98);transform-origin:right bottom}.thinking-bar--corner.thinking-bar--open[data-v-14571fe9]{transform:scale(1)}.thinking-bar-grid[data-v-14571fe9]{display:none}.thinking-bar-header[data-v-14571fe9]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--tb-border);flex-shrink:0}.thinking-bar-title-stack[data-v-14571fe9]{display:grid;gap:2px;min-width:0}.thinking-bar-kicker[data-v-14571fe9]{color:var(--tb-text-muted);font-size:12px;font-weight:600;letter-spacing:.02em}.thinking-bar-title[data-v-14571fe9]{color:var(--tb-text);font-size:17px;font-weight:600;letter-spacing:-.02em;line-height:1.35;min-width:0}.thinking-bar-memory-badge[data-v-14571fe9]{display:inline-flex;width:fit-content;margin-top:4px;padding:3px 8px;border-radius:999px;border:1px solid rgba(14,165,233,.28);background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-memory-refresh[data-v-14571fe9]{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;border:1px solid color-mix(in srgb,var(--spotlight-accent, #0f766e) 35%,transparent);border-radius:999px;padding:4px 9px;background:color-mix(in srgb,var(--spotlight-accent, #0f766e) 8%,transparent);color:inherit;font:inherit;font-size:12px;line-height:1.35;white-space:nowrap;cursor:pointer}.thinking-bar-memory-refresh[data-v-14571fe9]:hover{background:color-mix(in srgb,var(--spotlight-accent, #0f766e) 16%,transparent)}.thinking-bar-memory-result[data-v-14571fe9]{position:relative;display:flex;min-height:0;flex:1;flex-direction:column;gap:16px;padding:18px;overflow-x:hidden;overflow-y:auto;background:radial-gradient(circle at 8% 0%,rgba(20,184,166,.1),transparent 34%),#f8fafc8f}.thinking-bar-memory-result-intro[data-v-14571fe9]{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid rgba(20,184,166,.24);border-radius:var(--tb-radius-lg);background:#f0fdfad1}.thinking-bar-memory-result-icon[data-v-14571fe9]{display:inline-flex;width:30px;height:30px;flex:0 0 30px;align-items:center;justify-content:center;border-radius:999px;background:var(--tb-accent);color:#fff;font-size:15px;font-weight:700;box-shadow:0 6px 14px #14b8a633}.thinking-bar-memory-result-copy[data-v-14571fe9]{display:grid;min-width:0;gap:3px}.thinking-bar-memory-result-eyebrow[data-v-14571fe9]{color:#0f766e;font-size:11px;font-weight:700;letter-spacing:.04em}.thinking-bar-memory-result-copy strong[data-v-14571fe9]{color:var(--tb-text);font-size:15px;line-height:1.45}.thinking-bar-memory-result-copy p[data-v-14571fe9]{margin:0;color:var(--tb-text-muted);font-size:12px;line-height:1.55}.thinking-bar-memory-result-answer[data-v-14571fe9]{min-width:0;padding:18px 20px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-lg);background:#ffffffe6;box-shadow:0 8px 24px #0f172a0a}.thinking-bar-memory-result-answer-label[data-v-14571fe9]{margin-bottom:10px;color:var(--tb-text-muted);font-size:11px;font-weight:700;letter-spacing:.06em}.thinking-bar-memory-result-footer[data-v-14571fe9]{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--tb-text-muted);font-size:11px;line-height:1.5}.thinking-bar-memory-result-refresh[data-v-14571fe9]{flex:0 0 auto;padding:7px 12px;color:#0f766e;font-size:12px;font-weight:600}.thinking-bar-metrics[data-v-14571fe9]{display:flex;align-items:center;gap:8px;margin-left:auto}.thinking-bar-metric[data-v-14571fe9]{display:grid;min-width:58px;padding:7px 9px;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);text-align:center}.thinking-bar-metric strong[data-v-14571fe9]{color:var(--tb-text);font-size:15px;line-height:1.1}.thinking-bar-metric em[data-v-14571fe9]{color:var(--tb-text-muted);font-size:10px;font-style:normal;line-height:1.2}.thinking-bar-close[data-v-14571fe9]{flex-shrink:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--tb-border);border-radius:var(--tb-radius-sm);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:20px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease}.thinking-bar-close[data-v-14571fe9]:hover{background:var(--tb-surface-soft);color:var(--tb-text)}.thinking-bar-steps[data-v-14571fe9]{padding:14px 16px 16px;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px;background:#f8fafc73}.thinking-bar-steps[data-v-14571fe9],.thinking-bar-step-body[data-v-14571fe9],.thinking-bar-tool-call-block[data-v-14571fe9],.thinking-bar-tool-result-table-wrap[data-v-14571fe9],.thinking-bar-file-tree-body[data-v-14571fe9],.thinking-bar-file-preview-body[data-v-14571fe9]{-ms-overflow-style:none;scrollbar-width:none}.thinking-bar-steps[data-v-14571fe9]::-webkit-scrollbar,.thinking-bar-step-body[data-v-14571fe9]::-webkit-scrollbar,.thinking-bar-tool-call-block[data-v-14571fe9]::-webkit-scrollbar,.thinking-bar-tool-result-table-wrap[data-v-14571fe9]::-webkit-scrollbar,.thinking-bar-file-tree-body[data-v-14571fe9]::-webkit-scrollbar,.thinking-bar-file-preview-body[data-v-14571fe9]::-webkit-scrollbar{display:none}.thinking-bar-step[data-v-14571fe9]{position:relative;display:flex;flex-direction:column;flex:0 0 auto;min-width:0;padding:12px 14px;border-radius:var(--tb-radius-lg);border:1px solid var(--tb-border);background:var(--tb-surface-inset);box-shadow:0 1px 2px #0f172a0a;overflow:hidden}.thinking-bar-step.active[data-v-14571fe9]{border-color:#14b8a661;box-shadow:0 0 0 1px #14b8a61f}.thinking-bar-step.done[data-v-14571fe9]{border-color:#0ea5e947}.thinking-bar-step.error[data-v-14571fe9]{border-color:#ef444452}.thinking-bar-step.pending[data-v-14571fe9]{opacity:.72}.thinking-bar-step-inner[data-v-14571fe9]{display:flex;align-items:flex-start;gap:12px;min-width:0}.thinking-bar-step-status[data-v-14571fe9]{flex-shrink:0;width:10px;height:10px;margin-top:5px;border-radius:999px;background:var(--tb-text-faint)}.thinking-bar-step-status.is-active[data-v-14571fe9]{background:var(--tb-accent);box-shadow:0 0 0 4px #14b8a62e}.thinking-bar-step-status.is-done[data-v-14571fe9]{background:var(--tb-info)}.thinking-bar-step-status.is-error[data-v-14571fe9]{background:var(--tb-error)}.thinking-bar-step-column[data-v-14571fe9]{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.thinking-bar-step-label[data-v-14571fe9]{color:var(--tb-text);font-size:15px;font-weight:600;line-height:1.45}.thinking-bar-step.pending .thinking-bar-step-label[data-v-14571fe9]{color:var(--tb-text-muted)}.thinking-bar-step-body[data-v-14571fe9]{max-height:min(42vh,400px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.thinking-bar-step-text[data-v-14571fe9]{margin:0;color:var(--tb-text-secondary);font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-step-markdown[data-v-14571fe9]{white-space:normal}.thinking-bar-md-preview[data-v-14571fe9]{--md-theme-bg-color: transparent;--md-color: var(--tb-text-secondary);--md-bk-color: transparent;--md-border-color: var(--tb-border);--md-code-bg-color: rgba(241, 245, 249, .98);--md-code-color: #0f766e;--md-table-even-color: rgba(248, 250, 252, .98);--md-table-odd-color: rgba(255, 255, 255, .98);--md-table-header-bg-color: rgba(241, 245, 249, .98)}.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview-wrapper{padding:0}.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview,.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview p,.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview li,.thinking-bar-step-answer[data-v-14571fe9] .md-editor-preview p,.thinking-bar-step-answer[data-v-14571fe9] .md-editor-preview li{color:var(--tb-text-secondary);font-size:14px;line-height:1.65}.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview h1,.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview h2,.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview h3,.thinking-bar-step-answer[data-v-14571fe9] .md-editor-preview h1,.thinking-bar-step-answer[data-v-14571fe9] .md-editor-preview h2,.thinking-bar-step-answer[data-v-14571fe9] .md-editor-preview h3{margin:8px 0 4px;color:var(--tb-text);font-size:14px;font-weight:600}.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview strong{color:var(--tb-text)}.thinking-bar-tool-step-flow[data-v-14571fe9]{--thinking-detail-gap: 10px;display:flex;flex-direction:column;gap:var(--thinking-detail-gap)}.thinking-bar-step-answer-section[data-v-14571fe9]{display:flex;flex-direction:column;gap:8px}.thinking-bar-step-section-label[data-v-14571fe9]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details[data-v-14571fe9],.thinking-bar-tool-call[data-v-14571fe9]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-tool-call--nested[data-v-14571fe9]{border-style:dashed;background:#ffffffb8}.thinking-bar-execution-details-summary[data-v-14571fe9],.thinking-bar-tool-call-head[data-v-14571fe9]{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;background:var(--tb-surface-soft)}.thinking-bar-execution-details-summary[data-v-14571fe9]::-webkit-details-marker,.thinking-bar-tool-call-head[data-v-14571fe9]::-webkit-details-marker{display:none}.thinking-bar-tool-call-head-main[data-v-14571fe9]{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.thinking-bar-tool-call-head-side[data-v-14571fe9]{display:flex;align-items:center;gap:8px;flex-shrink:0}.thinking-bar-execution-details-title[data-v-14571fe9],.thinking-bar-tool-call-name[data-v-14571fe9],.thinking-bar-workspace-title[data-v-14571fe9],.thinking-bar-nested-tools-label[data-v-14571fe9]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-execution-details-meta[data-v-14571fe9]{margin-left:auto;padding:2px 8px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-execution-details-caret[data-v-14571fe9],.thinking-bar-tool-call-caret[data-v-14571fe9]{color:var(--tb-text-faint);font-size:12px;transition:transform .18s ease}.thinking-bar-execution-details[open] .thinking-bar-execution-details-caret[data-v-14571fe9],.thinking-bar-tool-call[open] .thinking-bar-tool-call-caret[data-v-14571fe9]{transform:rotate(180deg)}.thinking-bar-execution-details-body[data-v-14571fe9],.thinking-bar-tool-call-body[data-v-14571fe9]{display:grid;gap:var(--thinking-detail-gap, 10px);padding:12px;border-top:1px solid var(--tb-border);max-height:min(40vh,380px);overflow-y:auto}.thinking-bar-execution-planning[data-v-14571fe9],.thinking-bar-tool-call-block[data-v-14571fe9]{margin:0;padding:10px 12px;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border);background:#fffffff5;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-call-block[data-v-14571fe9]{display:flex;flex-direction:column;gap:8px;max-height:min(28vh,280px);overflow:auto}.thinking-bar-tool-call-block-title[data-v-14571fe9]{margin:0;color:#0d9488;font-size:11px;font-weight:700;letter-spacing:.03em}.thinking-bar-tool-call-block--error[data-v-14571fe9]{border-color:#ef444447}.thinking-bar-tool-call-block--error .thinking-bar-tool-call-block-title[data-v-14571fe9]{color:#dc2626}.thinking-bar-tool-call-pre[data-v-14571fe9],.thinking-bar-tool-trace-item[data-v-14571fe9],.thinking-bar-tool-call-id[data-v-14571fe9]{margin:0;color:var(--tb-text-secondary);font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.thinking-bar-tool-call-id[data-v-14571fe9]{font-size:11px;color:var(--tb-text-faint)}.thinking-bar-tool-call-status[data-v-14571fe9]{padding:3px 9px;border-radius:999px;border:1px solid var(--tb-border);background:var(--tb-surface-inset);color:var(--tb-text-muted);font-size:11px;font-weight:600}.thinking-bar-tool-call-status.is-running[data-v-14571fe9]{background:#f59e0b1f;border-color:#f59e0b47;color:#b45309}.thinking-bar-tool-call-status.is-done[data-v-14571fe9]{background:#10b9811f;border-color:#10b98147;color:#047857}.thinking-bar-tool-call-status.is-error[data-v-14571fe9]{background:#ef44441a;border-color:#ef444447;color:#b91c1c}.thinking-bar-tool-result-table-wrap[data-v-14571fe9]{overflow:auto;border-radius:var(--tb-radius-sm);border:1px solid var(--tb-border)}.thinking-bar-tool-result-table[data-v-14571fe9]{width:100%;border-collapse:collapse;font-size:12px}.thinking-bar-tool-result-table th[data-v-14571fe9],.thinking-bar-tool-result-table td[data-v-14571fe9]{padding:8px 10px;text-align:left;border-bottom:1px solid var(--tb-border);white-space:pre-wrap;word-break:break-word}.thinking-bar-tool-result-table th[data-v-14571fe9]{background:#f1f5f9fa;color:var(--tb-text);font-weight:600}.thinking-bar-tool-result-table td[data-v-14571fe9]{color:var(--tb-text-secondary);background:#fff}.thinking-bar-tool-result-image-shell[data-v-14571fe9]{padding:8px;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachments[data-v-14571fe9]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment[data-v-14571fe9]{padding:10px;border-radius:var(--tb-radius-md);border:1px solid rgba(14,165,233,.22);background:var(--tb-surface);text-decoration:none;color:inherit}.thinking-bar-attachment-name[data-v-14571fe9]{color:var(--tb-text);font-size:13px;font-weight:600}.thinking-bar-attachment-type[data-v-14571fe9]{color:#0284c7;font-size:12px}.thinking-bar-workspace-shell[data-v-14571fe9]{display:grid;grid-template-columns:minmax(210px,240px) minmax(0,1fr);gap:10px}.thinking-bar-file-tree-pane[data-v-14571fe9],.thinking-bar-file-preview[data-v-14571fe9]{border:1px solid var(--tb-border);border-radius:var(--tb-radius-md);background:var(--tb-surface);overflow:hidden}.thinking-bar-file-tree-head[data-v-14571fe9],.thinking-bar-file-preview-head[data-v-14571fe9]{padding:10px 12px;border-bottom:1px solid var(--tb-border);color:var(--tb-text-secondary);font-size:12px;font-weight:600}.thinking-bar-file-tree-body[data-v-14571fe9]{max-height:min(200px,100%);overflow:auto;padding:6px 0}.thinking-bar-tree-row[data-v-14571fe9]{width:100%;min-height:34px;display:flex;align-items:center;gap:6px;padding:0 10px;border:0;background:transparent;color:var(--tb-text-secondary);text-align:left;cursor:pointer}.thinking-bar-tree-row[data-v-14571fe9]:hover{background:#f1f5f9f2}.thinking-bar-tree-row--file.active[data-v-14571fe9]{background:#ccfbf1a6;color:#0f766e}.thinking-bar-file-preview-body[data-v-14571fe9]{margin:0;padding:12px;color:var(--tb-text-secondary);font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-preview-chip[data-v-14571fe9]{padding:2px 8px;border-radius:999px;background:#0ea5e91a;color:#0284c7;font-size:11px;font-weight:600}.thinking-bar-empty-preview[data-v-14571fe9]{padding:16px;color:var(--tb-text-muted);font-size:13px}.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview table{display:block;overflow:auto;border-radius:var(--tb-radius-sm)}.thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview thead th{position:static}.thinking-bar-step-answer[data-v-14571fe9]{margin:0}.thinking-bar-chat-items[data-v-14571fe9]{display:flex;flex-direction:column;gap:8px}.thinking-bar-chat-item[data-v-14571fe9]{min-width:0}.thinking-bar-tool-trace-list[data-v-14571fe9]{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.thinking-bar-tool-trace-item[data-v-14571fe9]{color:var(--tb-text-secondary);line-height:1.5}.thinking-bar-tool-result-image[data-v-14571fe9]{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-tool-result-html[data-v-14571fe9]{width:100%;min-height:min(200px,22vh);border:none;border-radius:var(--tb-radius-sm);background:#fff}.thinking-bar-attachment[data-v-14571fe9]{display:flex;flex-direction:column;gap:10px}.thinking-bar-attachment-image[data-v-14571fe9]{width:100%;max-height:240px;object-fit:contain;border-radius:var(--tb-radius-sm);background:#f8fafcfa}.thinking-bar-attachment-meta[data-v-14571fe9]{display:flex;align-items:center;justify-content:space-between;gap:12px}.thinking-bar-workspace[data-v-14571fe9]{display:flex;flex-direction:column;gap:10px;margin-top:4px}.thinking-bar-tree-node[data-v-14571fe9]{display:block}.thinking-bar-tree-row--directory[data-v-14571fe9]{color:var(--tb-text)}.thinking-bar-tree-caret[data-v-14571fe9],.thinking-bar-tree-icon[data-v-14571fe9]{flex-shrink:0}.thinking-bar-tree-label[data-v-14571fe9]{min-width:0;font-size:12px;line-height:1.5;word-break:break-word}.thinking-bar-file-preview[data-v-14571fe9]{min-width:0;display:flex;flex-direction:column;min-height:0}.thinking-bar-file-preview-title[data-v-14571fe9]{min-width:0;display:flex;align-items:center;gap:8px}.thinking-bar-image-shell[data-v-14571fe9]{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;background:#f8fafcfa}.thinking-bar-image-preview[data-v-14571fe9]{max-width:100%;max-height:320px;object-fit:contain;border-radius:var(--tb-radius-sm)}.thinking-bar-html-preview[data-v-14571fe9]{flex:1;min-height:min(200px,28vh);border:none;background:#fff}.thinking-bar--corner .thinking-bar-title[data-v-14571fe9]{font-size:16px}.thinking-bar--corner .thinking-bar-step-label[data-v-14571fe9]{font-size:14px}.thinking-bar--corner .thinking-bar-step-text[data-v-14571fe9],.thinking-bar--corner .thinking-bar-step-markdown[data-v-14571fe9] .md-editor-preview{font-size:13px}.thinking-bar--corner .thinking-bar-tool-call-body[data-v-14571fe9]{max-height:min(36vh,300px)}.thinking-bar--corner .thinking-bar-tool-call-block[data-v-14571fe9]{max-height:min(24vh,200px)}.thinking-bar--corner .thinking-bar-header[data-v-14571fe9]{padding:14px 16px 12px}.thinking-bar--corner .thinking-bar-steps[data-v-14571fe9]{padding:12px 14px 14px}@media(max-width:768px){.thinking-bar--centered[data-v-14571fe9]{width:calc(100vw - 24px);max-height:72vh}.thinking-bar--corner[data-v-14571fe9]{right:12px;bottom:12px;width:min(360px,calc(100vw - 24px))}.thinking-bar-header[data-v-14571fe9]{align-items:flex-start;flex-wrap:wrap}.thinking-bar-metrics[data-v-14571fe9]{display:none}.thinking-bar-workspace-shell[data-v-14571fe9]{grid-template-columns:1fr}.thinking-bar-memory-result[data-v-14571fe9]{padding:14px}.thinking-bar-memory-result-footer[data-v-14571fe9]{align-items:flex-start;flex-direction:column}}@media(prefers-reduced-motion:reduce){.thinking-bar[data-v-14571fe9],.thinking-bar-close[data-v-14571fe9],.thinking-bar-execution-details-caret[data-v-14571fe9],.thinking-bar-tool-call-caret[data-v-14571fe9]{transition:none}}.live2d-panel-shell[data-v-8602f159]{position:fixed;right:220px;bottom:16px;z-index:5000;width:min(420px,42vw);height:min(560px,52vh);pointer-events:none}.live2d-panel[data-v-8602f159]{position:absolute;inset:0;pointer-events:auto;touch-action:none;background:transparent}.live2d-speech-bubble[data-v-8602f159]{position:absolute;right:calc(100% - 36px);bottom:44%;width:min(360px,40vw);max-height:32vh;overflow:hidden auto;border-radius:20px;border:1px solid rgba(148,163,184,.35);background:linear-gradient(165deg,#fffffff5,#f0fdfaf0);box-shadow:0 18px 36px #0f172a1a,inset 0 1px #ffffffe6;color:#0f172a;padding:10px 12px;pointer-events:auto}.live2d-speech-bubble.is-speaking[data-v-8602f159]{border-color:#14b8a673;box-shadow:0 20px 40px #14b8a624,0 0 0 1px #0ea5e92e,inset 0 1px #ffffffe6}.live2d-speech-head[data-v-8602f159]{display:inline-flex;align-items:center;gap:8px;color:#0d9488;font-size:12px;line-height:1}.live2d-speech-dot[data-v-8602f159]{width:8px;height:8px;border-radius:999px;background:currentcolor;box-shadow:0 0 12px currentcolor}.live2d-speech-bubble.is-speaking .live2d-speech-dot[data-v-8602f159]{animation:speech-pulse-8602f159 1.1s ease-in-out infinite}.live2d-speech-text[data-v-8602f159]{margin:8px 0 0;white-space:pre-wrap;word-break:break-word;font-size:13px;line-height:1.55;color:#334155}.speech-bubble-enter-active[data-v-8602f159],.speech-bubble-leave-active[data-v-8602f159]{transition:all .28s ease}.speech-bubble-enter-from[data-v-8602f159],.speech-bubble-leave-to[data-v-8602f159]{opacity:0;transform:translate(10px) scale(.98)}@keyframes speech-pulse-8602f159{0%{opacity:.65;transform:scale(.95)}50%{opacity:1;transform:scale(1.12)}to{opacity:.65;transform:scale(.95)}}
@@ -1 +1 @@
1
- {"version":3,"file":"SpotlightCommandPanel.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightCommandPanel.vue"],"names":[],"mappings":"AAiQA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AA8BJ,iBAAS,UAAU,SAElB;AAsYD,QAAA,MAAM,YAAY;;;gBA1aD,MAAM;qBACD,OAAO;mBACT,OAAO;mBACP,MAAM;6EA2axB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SpotlightCommandPanel.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightCommandPanel.vue"],"names":[],"mappings":"AA4QA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAgCJ,iBAAS,UAAU,SAElB;AA6YD,QAAA,MAAM,YAAY;;;gBAnbD,MAAM;qBACD,OAAO;mBACT,OAAO;mBACP,MAAM;6EAobxB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +1,7 @@
1
1
  import o from "./SpotlightCommandPanel2.vue.js";
2
2
  /* empty css */
3
3
  import t from "../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1b23fa71"]]);
4
+ const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b381bab1"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,31 +1,32 @@
1
- import { defineComponent as I, ref as L, toRef as P, openBlock as l, createElementBlock as n, withModifiers as m, unref as e, createElementVNode as i, normalizeClass as p, createBlock as z, createCommentVNode as g, toDisplayString as r, createVNode as S, withCtx as E, withDirectives as M, withKeys as v, vModelText as V, Fragment as x, renderList as C, nextTick as w } from "vue";
2
- import { storeToRefs as T } from "pinia";
3
- import { useSpotlightStore as D } from "../store/spotlightStore.js";
1
+ import { defineComponent as N, ref as I, toRef as P, openBlock as l, createElementBlock as n, withModifiers as m, unref as e, createElementVNode as s, normalizeClass as p, createBlock as T, createCommentVNode as g, toDisplayString as d, createVNode as S, withCtx as z, withDirectives as D, withKeys as v, vModelText as V, Fragment as C, renderList as x, nextTick as w } from "vue";
2
+ import { storeToRefs as O } from "pinia";
3
+ import { useSpotlightStore as F } from "../store/spotlightStore.js";
4
4
  import { useSpotlightMemoryPreferenceStore as U } from "../store/memoryPreferenceStore.js";
5
- import { useSpotlightPanelUi as F } from "../composables/useSpotlightPanelUi.js";
6
- import O from "./InspiraCardSpotlight.js";
7
- import Q from "./OfficialBorderBeam.js";
8
- const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-deck-meta" }, q = {
5
+ import { getSpotlightMemoryPreferenceCopy as E, SPOTLIGHT_MEMORY_PREFERENCE_LABEL as G } from "../store/memoryPreferenceCopy.js";
6
+ import { useSpotlightPanelUi as W } from "../composables/useSpotlightPanelUi.js";
7
+ import Y from "./InspiraCardSpotlight.js";
8
+ import L from "./OfficialBorderBeam.js";
9
+ const _ = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-deck-meta" }, q = {
9
10
  key: 0,
10
11
  class: "spotlight-command-deck-kicker"
11
- }, G = { class: "spotlight-command-deck-status" }, J = ["aria-checked", "aria-label", "title"], X = {
12
+ }, J = { class: "spotlight-command-deck-status" }, X = ["aria-checked", "aria-label", "title"], Z = { class: "spotlight-memory-label" }, ee = {
12
13
  key: 1,
13
14
  class: "spotlight-permission-banner",
14
15
  role: "alertdialog",
15
16
  "aria-label": "Skill 权限确认"
16
- }, Y = { class: "spotlight-permission-banner-body" }, Z = { class: "spotlight-permission-banner-actions" }, _ = { class: "spotlight-voice-text" }, ee = ["placeholder"], te = {
17
+ }, te = { class: "spotlight-permission-banner-body" }, se = { class: "spotlight-permission-banner-actions" }, ie = { class: "spotlight-voice-text" }, oe = ["placeholder"], le = {
17
18
  key: 2,
18
19
  class: "spotlight-list-shell"
19
- }, se = {
20
+ }, ne = {
20
21
  class: "spotlight-list",
21
22
  role: "listbox"
22
- }, ie = ["aria-selected", "onClick"], oe = { class: "spotlight-item-label" }, le = {
23
+ }, ae = ["aria-selected", "onClick"], re = { class: "spotlight-item-label" }, de = {
23
24
  key: 0,
24
25
  class: "spotlight-list-divider"
25
- }, ne = ["aria-selected", "onClick"], ae = { class: "spotlight-item-label" }, de = {
26
+ }, ce = ["aria-selected", "onClick"], pe = { class: "spotlight-item-label" }, ge = {
26
27
  key: 1,
27
28
  class: "spotlight-item spotlight-item--empty"
28
- }, ve = /* @__PURE__ */ I({
29
+ }, Pe = /* @__PURE__ */ N({
29
30
  __name: "SpotlightCommandPanel",
30
31
  props: {
31
32
  deckKicker: { default: "" },
@@ -33,11 +34,12 @@ const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-d
33
34
  speechPending: { type: Boolean, default: !1 },
34
35
  voiceKeyLabel: { default: "`" }
35
36
  },
36
- setup(a, { expose: $ }) {
37
- const u = a, t = D(), c = U(), { loading: K, pipelinePhase: A, lastMemoryReplay: B } = T(t), h = L(null), { uiState: k, placeholder: H, badgeLabel: b } = F({
38
- pipelinePhase: A,
39
- loading: K,
40
- memoryReplay: B,
37
+ setup(a, { expose: Q }) {
38
+ const u = a, t = F(), c = U(), { loading: R, pipelinePhase: $, lastMemoryReplay: K, lastMemoryDecision: A } = O(t), h = I(null), { uiState: b, placeholder: B, badgeLabel: k } = W({
39
+ pipelinePhase: $,
40
+ loading: R,
41
+ memoryReplay: K,
42
+ memoryDecision: A,
41
43
  voiceHoldActive: P(u, "voiceHoldActive"),
42
44
  speechPending: P(u, "speechPending"),
43
45
  voiceKeyLabel: u.voiceKeyLabel
@@ -45,24 +47,24 @@ const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-d
45
47
  function f(y) {
46
48
  t.fillPromptWithRecent(y), w(() => h.value?.focus());
47
49
  }
48
- function N() {
50
+ function H() {
49
51
  w(() => h.value?.focus());
50
52
  }
51
- return $({ focusInput: N }), (y, s) => (l(), n("div", {
53
+ return Q({ focusInput: H }), (y, i) => (l(), n("div", {
52
54
  class: "spotlight-backdrop",
53
- onClick: s[7] || (s[7] = m(
55
+ onClick: i[7] || (i[7] = m(
54
56
  //@ts-ignore
55
57
  (...o) => e(t).close && e(t).close(...o),
56
58
  ["self"]
57
59
  ))
58
60
  }, [
59
- i("div", {
61
+ s("div", {
60
62
  class: p(["spotlight-panel", { "is-memory-on": e(c).enabled }]),
61
63
  role: "dialog",
62
64
  "aria-modal": "true",
63
65
  "aria-label": "指令面板"
64
66
  }, [
65
- e(c).enabled ? (l(), z(Q, {
67
+ e(c).enabled ? (l(), T(L, {
66
68
  key: 0,
67
69
  class: "spotlight-panel-beam",
68
70
  size: 120,
@@ -71,50 +73,51 @@ const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-d
71
73
  "color-from": "#5eead4",
72
74
  "color-to": "#38bdf8"
73
75
  })) : g("", !0),
74
- i("div", W, [
75
- i("div", j, [
76
- a.deckKicker ? (l(), n("span", q, r(a.deckKicker), 1)) : g("", !0),
77
- i("span", G, r(e(b)), 1)
76
+ s("div", _, [
77
+ s("div", j, [
78
+ a.deckKicker ? (l(), n("span", q, d(a.deckKicker), 1)) : g("", !0),
79
+ s("span", J, d(e(k)), 1)
78
80
  ]),
79
- i("button", {
81
+ s("button", {
80
82
  type: "button",
81
83
  class: "spotlight-memory-dot-btn",
82
84
  role: "switch",
83
85
  "aria-checked": e(c).enabled,
84
- "aria-label": e(c).enabled ? "关闭记忆(仍会继续更新缓存)" : "开启记忆",
85
- title: e(c).enabled ? "记忆已开启" : "记忆已关闭,仅更新缓存",
86
- onClick: s[0] || (s[0] = (o) => e(c).toggle())
86
+ "aria-label": e(E)(e(c).enabled).ariaLabel,
87
+ title: e(E)(e(c).enabled).title,
88
+ onClick: i[0] || (i[0] = (o) => e(c).toggle())
87
89
  }, [
88
- i("span", {
90
+ s("span", Z, d(e(G)), 1),
91
+ s("span", {
89
92
  class: p(["spotlight-memory-dot", { "is-on": e(c).enabled }])
90
93
  }, null, 2)
91
- ], 8, J)
94
+ ], 8, X)
92
95
  ]),
93
- e(t).pendingSkillPermission ? (l(), n("div", X, [
94
- i("div", Y, [
95
- i("strong", null, r(e(t).pendingSkillPermission.displayName ?? e(t).pendingSkillPermission.skillName), 1),
96
- i("span", null, r(e(t).pendingSkillPermission.reason), 1)
96
+ e(t).pendingSkillPermission ? (l(), n("div", ee, [
97
+ s("div", te, [
98
+ s("strong", null, d(e(t).pendingSkillPermission.displayName ?? e(t).pendingSkillPermission.skillName), 1),
99
+ s("span", null, d(e(t).pendingSkillPermission.reason), 1)
97
100
  ]),
98
- i("div", Z, [
99
- i("button", {
101
+ s("div", se, [
102
+ s("button", {
100
103
  type: "button",
101
104
  class: "spotlight-permission-btn is-approve",
102
- onClick: s[1] || (s[1] = (o) => e(t).approvePendingSkillPermission())
105
+ onClick: i[1] || (i[1] = (o) => e(t).approvePendingSkillPermission())
103
106
  }, " 允许 "),
104
- i("button", {
107
+ s("button", {
105
108
  type: "button",
106
109
  class: "spotlight-permission-btn is-dismiss",
107
- onClick: s[2] || (s[2] = (o) => e(t).clearPendingSkillPermission())
110
+ onClick: i[2] || (i[2] = (o) => e(t).clearPendingSkillPermission())
108
111
  }, " 取消 ")
109
112
  ])
110
113
  ])) : g("", !0),
111
- S(O, {
114
+ S(Y, {
112
115
  class: "spotlight-input-shell",
113
116
  "gradient-size": 260,
114
117
  "gradient-color": "rgba(45, 212, 191, 0.14)",
115
118
  "gradient-opacity": 1
116
119
  }, {
117
- default: E(() => [
120
+ default: z(() => [
118
121
  a.voiceHoldActive || a.speechPending ? (l(), n("div", {
119
122
  key: 0,
120
123
  class: p(["spotlight-voice-shell", {
@@ -122,7 +125,7 @@ const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-d
122
125
  "is-transcribing": a.speechPending
123
126
  }])
124
127
  }, [
125
- S(Q, {
128
+ S(L, {
126
129
  class: "spotlight-voice-beam",
127
130
  size: 86,
128
131
  duration: 6,
@@ -130,86 +133,86 @@ const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-d
130
133
  "color-from": "#c9a25d",
131
134
  "color-to": "#5d8f9b"
132
135
  }),
133
- s[8] || (s[8] = i("div", {
136
+ i[8] || (i[8] = s("div", {
134
137
  class: "spotlight-voice-mic",
135
138
  "aria-hidden": "true"
136
139
  }, [
137
- i("span", { class: "spotlight-voice-mic-icon" }, [
138
- i("span", { class: "spotlight-voice-mic-body" }),
139
- i("span", { class: "spotlight-voice-mic-stem" })
140
+ s("span", { class: "spotlight-voice-mic-icon" }, [
141
+ s("span", { class: "spotlight-voice-mic-body" }),
142
+ s("span", { class: "spotlight-voice-mic-stem" })
140
143
  ])
141
144
  ], -1)),
142
- i("div", _, r(a.voiceHoldActive ? `正在录音,松开 ${a.voiceKeyLabel} 结束` : "语音识别中,请稍候…"), 1)
145
+ s("div", ie, d(a.voiceHoldActive ? `正在录音,松开 ${a.voiceKeyLabel} 结束` : "语音识别中,请稍候…"), 1)
143
146
  ], 2)) : (l(), n("div", {
144
147
  key: 1,
145
- class: p(["spotlight-input-wrap", `is-${e(k)}`])
148
+ class: p(["spotlight-input-wrap", `is-${e(b)}`])
146
149
  }, [
147
- M(i("input", {
150
+ D(s("input", {
148
151
  ref_key: "inputRef",
149
152
  ref: h,
150
- "onUpdate:modelValue": s[3] || (s[3] = (o) => e(t).prompt = o),
153
+ "onUpdate:modelValue": i[3] || (i[3] = (o) => e(t).prompt = o),
151
154
  class: "spotlight-input",
152
155
  type: "text",
153
- placeholder: e(H),
156
+ placeholder: e(B),
154
157
  onKeydown: [
155
- s[4] || (s[4] = v(m(
158
+ i[4] || (i[4] = v(m(
156
159
  //@ts-ignore
157
160
  (...o) => e(t).handleEnter && e(t).handleEnter(...o),
158
161
  ["prevent"]
159
162
  ), ["enter"])),
160
- s[5] || (s[5] = v(m(
163
+ i[5] || (i[5] = v(m(
161
164
  //@ts-ignore
162
165
  (...o) => e(t).selectNext && e(t).selectNext(...o),
163
166
  ["prevent"]
164
167
  ), ["down"])),
165
- s[6] || (s[6] = v(m(
168
+ i[6] || (i[6] = v(m(
166
169
  //@ts-ignore
167
170
  (...o) => e(t).selectPrev && e(t).selectPrev(...o),
168
171
  ["prevent"]
169
172
  ), ["up"]))
170
173
  ]
171
- }, null, 40, ee), [
174
+ }, null, 40, oe), [
172
175
  [V, e(t).prompt]
173
176
  ]),
174
- i("div", {
175
- class: p(["spotlight-agent-badge", `is-${e(k)}`])
177
+ s("div", {
178
+ class: p(["spotlight-agent-badge", `is-${e(b)}`])
176
179
  }, [
177
- s[9] || (s[9] = i("span", { class: "spotlight-agent-badge-dot" }, null, -1)),
178
- i("span", null, r(e(b)), 1)
180
+ i[9] || (i[9] = s("span", { class: "spotlight-agent-badge-dot" }, null, -1)),
181
+ s("span", null, d(e(k)), 1)
179
182
  ], 2)
180
183
  ], 2))
181
184
  ]),
182
185
  _: 1
183
186
  }),
184
- !e(t).prompt.trim() && !e(t).loading && !a.voiceHoldActive && !a.speechPending ? (l(), n("div", te, [
185
- i("ul", se, [
186
- (l(!0), n(x, null, C(e(t).suggestedQuestions, (o, d) => (l(), n("li", {
187
- key: `suggested-${d}`,
188
- class: p(["spotlight-item", { "is-selected": e(t).selectedIndex === d }]),
187
+ !e(t).prompt.trim() && !e(t).loading && !a.voiceHoldActive && !a.speechPending ? (l(), n("div", le, [
188
+ s("ul", ne, [
189
+ (l(!0), n(C, null, x(e(t).suggestedQuestions, (o, r) => (l(), n("li", {
190
+ key: `suggested-${r}`,
191
+ class: p(["spotlight-item", { "is-selected": e(t).selectedIndex === r }]),
189
192
  role: "option",
190
- "aria-selected": e(t).selectedIndex === d,
191
- onClick: (R) => f(d)
193
+ "aria-selected": e(t).selectedIndex === r,
194
+ onClick: (M) => f(r)
192
195
  }, [
193
- i("span", oe, r(o), 1),
194
- s[10] || (s[10] = i("span", { class: "spotlight-item-hint" }, "推荐", -1))
195
- ], 10, ie))), 128)),
196
- e(t).suggestedQuestions.length > 0 && e(t).recentQuestions.length > 0 ? (l(), n("li", le, [...s[11] || (s[11] = [
197
- i("span", null, "历史问题", -1)
196
+ s("span", re, d(o), 1),
197
+ i[10] || (i[10] = s("span", { class: "spotlight-item-hint" }, "推荐", -1))
198
+ ], 10, ae))), 128)),
199
+ e(t).suggestedQuestions.length > 0 && e(t).recentQuestions.length > 0 ? (l(), n("li", de, [...i[11] || (i[11] = [
200
+ s("span", null, "历史问题", -1)
198
201
  ])])) : g("", !0),
199
- (l(!0), n(x, null, C(e(t).recentQuestions, (o, d) => (l(), n("li", {
200
- key: `recent-${d}`,
202
+ (l(!0), n(C, null, x(e(t).recentQuestions, (o, r) => (l(), n("li", {
203
+ key: `recent-${r}`,
201
204
  class: p(["spotlight-item", {
202
- "is-selected": e(t).selectedIndex === d + e(t).suggestedQuestions.length
205
+ "is-selected": e(t).selectedIndex === r + e(t).suggestedQuestions.length
203
206
  }]),
204
207
  role: "option",
205
- "aria-selected": e(t).selectedIndex === d + e(t).suggestedQuestions.length,
206
- onClick: (R) => f(d + e(t).suggestedQuestions.length)
208
+ "aria-selected": e(t).selectedIndex === r + e(t).suggestedQuestions.length,
209
+ onClick: (M) => f(r + e(t).suggestedQuestions.length)
207
210
  }, [
208
- i("span", ae, r(o), 1),
209
- s[12] || (s[12] = i("span", { class: "spotlight-item-hint" }, "历史", -1))
210
- ], 10, ne))), 128)),
211
- e(t).suggestedQuestions.length === 0 && e(t).recentQuestions.length === 0 ? (l(), n("li", de, [...s[13] || (s[13] = [
212
- i("span", { class: "spotlight-item-label" }, "暂无推荐问法", -1)
211
+ s("span", pe, d(o), 1),
212
+ i[12] || (i[12] = s("span", { class: "spotlight-item-hint" }, "历史", -1))
213
+ ], 10, ce))), 128)),
214
+ e(t).suggestedQuestions.length === 0 && e(t).recentQuestions.length === 0 ? (l(), n("li", ge, [...i[13] || (i[13] = [
215
+ s("span", { class: "spotlight-item-label" }, "暂无推荐问法", -1)
213
216
  ])])) : g("", !0)
214
217
  ])
215
218
  ])) : g("", !0)
@@ -218,5 +221,5 @@ const W = { class: "spotlight-command-deck" }, j = { class: "spotlight-command-d
218
221
  }
219
222
  });
220
223
  export {
221
- ve as default
224
+ Pe as default
222
225
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SpotlightRoot.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightRoot.vue"],"names":[],"mappings":"AA0FA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC1C,CAAC;AAqIJ,QAAA,MAAM,YAAY;;;;;gBA/ID,MAAM;qBACD,OAAO;mBACT,OAAO;mBACP,MAAM;sBAGH,OAAO;6EA6I5B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"SpotlightRoot.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightRoot.vue"],"names":[],"mappings":"AA4FA,KAAK,WAAW,GAAG;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IAC3C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC1C,CAAC;AA6IJ,QAAA,MAAM,YAAY;;;;;gBAvJD,MAAM;qBACD,OAAO;mBACT,OAAO;mBACP,MAAM;sBAGH,OAAO;6EAqJ5B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}