@inupedia/spotlight-vue 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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-4c01a45c]{position:fixed;width:min(720px,calc(100vw - 48px));max-height:min(78vh,820px);display:flex;flex-direction:column;min-height:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,SF Pro Text,Helvetica Neue,system-ui,sans-serif;background:linear-gradient(165deg,#fffffff5,#f8fafcf0 55%,#f0fdfaeb);border-radius:22px;border:1px solid rgba(148,163,184,.28);box-shadow:0 24px 64px #0f172a1a,0 8px 24px #0f172a0d,inset 0 1px #ffffffe6;color:#0f172a;z-index:10000;overflow:hidden;opacity:0;backdrop-filter:blur(40px) saturate(1.8);-webkit-backdrop-filter:blur(40px) saturate(1.8);transition:opacity .28s ease,transform .28s ease,inset .28s ease,width .28s ease,max-height .28s ease,border-radius .28s ease}.thinking-bar--open[data-v-4c01a45c]{opacity:1}.thinking-bar--embedded[data-v-4c01a45c]{position:relative;right:auto;bottom:auto;width:100%;max-height:100%}.thinking-bar--centered[data-v-4c01a45c]{left:50%;top:50%;transform:translate(-50%,-50%) scale(.96);transform-origin:center}.thinking-bar--centered.thinking-bar--open[data-v-4c01a45c]{transform:translate(-50%,-50%) scale(1)}.thinking-bar--corner[data-v-4c01a45c]{right:24px;bottom:24px;width:min(440px,calc(100vw - 28px));max-height:min(76vh,calc(100vh - 36px));border-radius:20px;transform:scale(.96);transform-origin:right bottom}.thinking-bar--corner.thinking-bar--open[data-v-4c01a45c]{transform:scale(1)}.thinking-bar-header[data-v-4c01a45c]{display:flex;align-items:center;justify-content:space-between;padding:18px 22px 16px;border-bottom:1px solid rgba(148,163,184,.2);flex-shrink:0}.thinking-bar-title[data-v-4c01a45c]{font-size:18px;font-weight:700;color:#dbeafe;letter-spacing:.02em;min-width:0;line-height:1.35}.thinking-bar-close[data-v-4c01a45c]{width:28px;height:28px;display:flex;align-items:center;justify-content:center;padding:0;border:none;border-radius:8px;background:transparent;color:#94a3b8;font-size:20px;line-height:1;cursor:pointer;transition:background .15s,color .15s}.thinking-bar-close[data-v-4c01a45c]:hover{background:#94a3b833;color:#e2e8f0}.thinking-bar-steps[data-v-4c01a45c]{padding:18px 22px 22px;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;display:flex;flex-direction:column;gap:10px}.thinking-bar-step[data-v-4c01a45c]{--thinking-step-border-color: rgba(148, 163, 184, .1);--thinking-step-glow-color: rgba(148, 163, 184, .16);display:flex;flex-direction:column;position:relative;flex:0 0 auto;min-height:0;min-width:0;box-sizing:border-box;font-size:15px;padding:10px 12px;border-radius:14px;background:#0f172a6b;border:1px solid var(--thinking-step-border-color);box-shadow:inset 0 0 0 1px #ffffff05,0 0 0 1px #02061729;overflow:hidden;isolation:isolate;transition:border-color .22s ease,box-shadow .22s ease,background .22s ease}.thinking-bar-step-inner[data-v-4c01a45c]{flex:1;min-height:0;display:flex;flex-direction:row;align-items:stretch;gap:10px;min-width:0}.thinking-bar-step-column[data-v-4c01a45c]{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:6px;position:relative;z-index:1}.thinking-bar-step-body[data-v-4c01a45c]{flex:1;min-height:0;max-height:min(36vh,340px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.thinking-bar-steps[data-v-4c01a45c],.thinking-bar-step-body[data-v-4c01a45c],.thinking-bar-tool-call-block[data-v-4c01a45c],.thinking-bar-tool-result-table-wrap[data-v-4c01a45c],.thinking-bar-file-tree-body[data-v-4c01a45c],.thinking-bar-file-preview-body[data-v-4c01a45c]{-ms-overflow-style:none;scrollbar-width:none}.thinking-bar-steps[data-v-4c01a45c]::-webkit-scrollbar,.thinking-bar-step-body[data-v-4c01a45c]::-webkit-scrollbar,.thinking-bar-tool-call-block[data-v-4c01a45c]::-webkit-scrollbar,.thinking-bar-tool-result-table-wrap[data-v-4c01a45c]::-webkit-scrollbar,.thinking-bar-file-tree-body[data-v-4c01a45c]::-webkit-scrollbar,.thinking-bar-file-preview-body[data-v-4c01a45c]::-webkit-scrollbar{display:none;width:0;height:0}.thinking-bar-step-beam[data-v-4c01a45c]{z-index:0}.thinking-bar-step[data-v-4c01a45c]:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;background:linear-gradient(180deg,#ffffff0a,#ffffff03);pointer-events:none;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude}.thinking-bar-step.done[data-v-4c01a45c]{--thinking-step-border-color: rgba(59, 130, 246, .82);--thinking-step-glow-color: rgba(59, 130, 246, .24);background:linear-gradient(180deg,#0f172a94,#0a14267a);box-shadow:inset 0 0 0 1px #60a5fa0f,0 0 0 1px #3b82f61f,0 10px 24px -20px var(--thinking-step-glow-color)}.thinking-bar-step.active[data-v-4c01a45c]{--thinking-step-border-color: rgba(255, 170, 64, .78);--thinking-step-glow-color: rgba(156, 64, 255, .2);background:linear-gradient(180deg,#181226d1,#110b20b8);box-shadow:inset 0 0 0 1px #ffaa4014,0 0 0 1px #ffaa4024,0 12px 28px -20px var(--thinking-step-glow-color),0 0 24px -14px #9c40ff38}.thinking-bar-step.active[data-v-4c01a45c]:before{background:linear-gradient(180deg,#ffaa401f,#9c40ff0a)}.thinking-bar-step.error[data-v-4c01a45c]{--thinking-step-border-color: rgba(248, 113, 113, .72);--thinking-step-glow-color: rgba(248, 113, 113, .22);box-shadow:inset 0 0 0 1px #f871710d,0 0 0 1px #f871711f,0 10px 24px -20px var(--thinking-step-glow-color)}.thinking-bar-step-icon[data-v-4c01a45c]{flex-shrink:0;align-self:flex-start;width:22px;text-align:center;font-size:15px;color:#64748b;position:relative;z-index:1;margin-top:2px}.thinking-bar-step.active .thinking-bar-step-icon[data-v-4c01a45c]{color:#ffb347;text-shadow:0 0 12px rgba(255,170,64,.35);animation:thinking-pulse-4c01a45c 1.1s ease-in-out infinite}.thinking-bar-step.done .thinking-bar-step-icon[data-v-4c01a45c]{color:#60a5fa}.thinking-bar-step.error .thinking-bar-step-icon[data-v-4c01a45c]{color:#f87171}.thinking-bar-step-label[data-v-4c01a45c]{flex-shrink:0;color:#e2e8f0;font-size:15px;font-weight:600;line-height:1.45;overflow:visible}.thinking-bar-step-text[data-v-4c01a45c]{margin:0;color:#94a3b8;font-size:14px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-step-markdown[data-v-4c01a45c]{white-space:normal}.thinking-bar-md-preview[data-v-4c01a45c]{--md-theme-bg-color: transparent;--md-color: #94a3b8;--md-bk-color: transparent;--md-border-color: rgba(148, 163, 184, .14);--md-code-bg-color: rgba(15, 23, 42, .76);--md-code-color: #c4b5fd;--md-table-even-color: rgba(2, 6, 23, .52);--md-table-odd-color: rgba(2, 6, 23, .42);--md-table-header-bg-color: rgba(15, 23, 42, .96);--md-scrollbar-bg-color: rgba(148, 163, 184, .12);--md-scrollbar-thumb-color: rgba(148, 163, 184, .36)}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview-wrapper{padding:0}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview{color:#94a3b8;font-size:14px;line-height:1.6}.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h1,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h2,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h3,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h4,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h5,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h6{margin:8px 0 4px;color:#e2e8f0;font-size:14px;font-weight:600;line-height:1.55}.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview p,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview ul,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview ol,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview li,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview table,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview th,.thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview td{font-size:14px}.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h1,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h2,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h3,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h4,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h5,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview h6,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview p,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview ul,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview ol,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview li,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview table,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview th,.thinking-bar--corner .thinking-bar-step-answer[data-v-4c01a45c] .md-editor-preview td{font-size:13px;line-height:1.55}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview h1,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview h2,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview h3,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview h4,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview h5,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview h6{margin:8px 0 4px;color:#e2e8f0}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview p,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview ul,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview ol,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview hr,.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview table{margin:4px 0}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview strong{color:#f8fafc}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview code{font-size:12px}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview table{display:block;overflow:auto;border-radius:12px;-ms-overflow-style:none;scrollbar-width:none}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview table::-webkit-scrollbar{display:none;width:0;height:0}.thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview thead th{position:sticky;top:0;z-index:1}.thinking-bar-chat-items[data-v-4c01a45c]{display:flex;flex-direction:column;gap:6px;margin-top:4px}.thinking-bar-chat-item[data-v-4c01a45c]{min-width:0}.thinking-bar-tool-call[data-v-4c01a45c]{border:1px solid rgba(114,169,176,.16);border-radius:6px;background:#02061785;overflow:hidden}.thinking-bar-tool-call-head[data-v-4c01a45c]{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;list-style:none}.thinking-bar-tool-call-head[data-v-4c01a45c]::-webkit-details-marker{display:none}.thinking-bar-tool-call-head-main[data-v-4c01a45c],.thinking-bar-tool-call-head-side[data-v-4c01a45c]{display:flex;align-items:flex-start;gap:10px;min-width:0}.thinking-bar-tool-call-head-main[data-v-4c01a45c]{flex:1;display:flex;flex-direction:column;gap:0;min-width:0}.thinking-bar-tool-call-head-side[data-v-4c01a45c]{flex-shrink:0}.thinking-bar-tool-call-caret[data-v-4c01a45c]{color:#94a3b8;font-size:12px;transition:transform .18s ease}.thinking-bar-tool-call[open] .thinking-bar-tool-call-caret[data-v-4c01a45c]{transform:rotate(180deg)}.thinking-bar-tool-call-body[data-v-4c01a45c]{padding:12px;display:grid;gap:var(--thinking-detail-gap);min-width:0;max-height:min(42vh,420px);overflow-y:auto;border-top:1px solid rgba(114,169,176,.12)}.thinking-bar-tool-call-name[data-v-4c01a45c]{color:#e2e8f0;font-size:14px;font-weight:600;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-call-status[data-v-4c01a45c]{flex-shrink:0;padding:3px 9px;border-radius:999px;background:#94a3b829;color:#cbd5e1;font-size:11px;font-weight:600}.thinking-bar-tool-call-status.is-running[data-v-4c01a45c]{background:#38bdf829;color:#7dd3fc}.thinking-bar-tool-call-status.is-done[data-v-4c01a45c]{background:#34d39929;color:#6ee7b7}.thinking-bar-tool-call-status.is-error[data-v-4c01a45c]{background:#f8717129;color:#fca5a5}.thinking-bar-tool-call-block[data-v-4c01a45c]{margin:0;border-radius:6px;border:1px solid rgba(114,169,176,.1);background:#0f172ac7;padding:12px;min-width:0;max-width:100%;display:flex;flex-direction:column;gap:8px;overflow:auto;color:#cbd5e1;font-size:12px;line-height:1.6;max-height:min(30vh,300px)}.thinking-bar-tool-call-block+.thinking-bar-tool-call-block[data-v-4c01a45c]{margin-top:0}.thinking-bar-tool-call-block-title[data-v-4c01a45c]{margin:0;color:#7dd3fc;font-size:11px;font-weight:700;letter-spacing:.03em}.thinking-bar-tool-call-pre[data-v-4c01a45c]{margin:0;color:#cbd5e1;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-trace-list[data-v-4c01a45c]{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}.thinking-bar-tool-trace-item[data-v-4c01a45c]{color:#cbd5e1;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.thinking-bar-tool-result-image-shell[data-v-4c01a45c]{padding:8px;border-radius:10px;background:#02061799}.thinking-bar-tool-result-image[data-v-4c01a45c]{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:10px}.thinking-bar-tool-result-html[data-v-4c01a45c]{width:100%;min-height:min(200px,22vh);border:none;border-radius:10px;background:#fff}.thinking-bar-tool-result-table-wrap[data-v-4c01a45c]{overflow:auto;border-radius:10px;border:1px solid rgba(148,163,184,.12)}.thinking-bar-tool-result-table[data-v-4c01a45c]{width:100%;border-collapse:collapse;font-size:12px;line-height:1.5}.thinking-bar-tool-result-table th[data-v-4c01a45c],.thinking-bar-tool-result-table td[data-v-4c01a45c]{padding:8px 10px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(148,163,184,.12);white-space:pre-wrap;word-break:break-word}.thinking-bar-tool-result-table th[data-v-4c01a45c]{position:sticky;top:0;background:#0f172af5;color:#e2e8f0;font-weight:700}.thinking-bar-tool-result-table td[data-v-4c01a45c]{color:#cbd5e1;background:#0206177a}.thinking-bar-attachments[data-v-4c01a45c]{display:flex;flex-direction:column;gap:10px;margin-top:6px}.thinking-bar-attachment[data-v-4c01a45c]{display:flex;flex-direction:column;gap:10px;padding:10px;border-radius:12px;border:1px solid rgba(56,189,248,.2);background:#0f172aad;color:inherit;text-decoration:none}.thinking-bar-attachment[data-v-4c01a45c]:hover{border-color:#38bdf86b}.thinking-bar-attachment-image[data-v-4c01a45c]{width:100%;max-height:240px;object-fit:contain;border-radius:10px;background:#020617b8}.thinking-bar-attachment-meta[data-v-4c01a45c]{display:flex;align-items:center;justify-content:space-between;gap:12px}.thinking-bar-attachment-name[data-v-4c01a45c]{color:#e2e8f0;font-size:13px;font-weight:600;word-break:break-word}.thinking-bar-attachment-type[data-v-4c01a45c]{color:#38bdf8;font-size:12px;flex-shrink:0}.thinking-bar-workspace[data-v-4c01a45c]{display:flex;flex-direction:column;gap:10px;margin-top:8px}.thinking-bar-workspace-title[data-v-4c01a45c]{color:#cbd5e1;font-size:13px;font-weight:700}.thinking-bar-workspace-shell[data-v-4c01a45c]{display:grid;grid-template-columns:minmax(210px,240px) minmax(0,1fr);gap:10px;min-height:0}.thinking-bar-file-tree-pane[data-v-4c01a45c]{border:1px solid rgba(148,163,184,.16);border-radius:14px;background:#02061775;overflow:hidden}.thinking-bar-file-tree-head[data-v-4c01a45c]{padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.12);color:#cbd5e1;font-size:12px;font-weight:700}.thinking-bar-file-tree-body[data-v-4c01a45c]{max-height:min(200px,100%);overflow:auto;padding:8px 0}.thinking-bar-tree-node[data-v-4c01a45c]{display:block}.thinking-bar-tree-row[data-v-4c01a45c]{width:100%;min-height:34px;display:flex;align-items:center;gap:6px;border:none;background:transparent;color:#cbd5e1;text-align:left;cursor:pointer}.thinking-bar-tree-row[data-v-4c01a45c]:hover{background:#1e293bb8}.thinking-bar-tree-row--file.active[data-v-4c01a45c]{background:#0e749038;color:#e0f2fe}.thinking-bar-tree-row--directory[data-v-4c01a45c]{color:#dbeafe}.thinking-bar-tree-caret[data-v-4c01a45c]{width:12px;color:#94a3b8;font-size:11px;flex-shrink:0}.thinking-bar-tree-icon[data-v-4c01a45c]{width:18px;text-align:center;flex-shrink:0}.thinking-bar-tree-label[data-v-4c01a45c]{min-width:0;font-size:12px;line-height:1.5;word-break:break-word}.thinking-bar-file-preview[data-v-4c01a45c]{min-width:0;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:#02061794;overflow:hidden;min-height:0;display:flex;flex-direction:column}.thinking-bar-file-preview-head[data-v-4c01a45c]{padding:10px 12px;border-bottom:1px solid rgba(148,163,184,.12);color:#cbd5e1;font-size:12px;font-weight:600;word-break:break-word;display:flex;align-items:center;justify-content:space-between;gap:12px}.thinking-bar-file-preview-title[data-v-4c01a45c]{min-width:0;display:flex;align-items:center;gap:8px}.thinking-bar-preview-chip[data-v-4c01a45c]{padding:2px 8px;border-radius:999px;background:#38bdf829;color:#7dd3fc;font-size:11px;font-weight:700;flex-shrink:0}.thinking-bar-file-preview-body[data-v-4c01a45c]{margin:0;padding:12px;flex:1;overflow:auto;color:#cbd5e1;font-size:12px;line-height:1.65;white-space:pre-wrap;word-break:break-word}.thinking-bar-image-shell[data-v-4c01a45c]{flex:1;display:flex;align-items:center;justify-content:center;padding:12px;background:#020617b8}.thinking-bar-image-preview[data-v-4c01a45c]{max-width:100%;max-height:320px;object-fit:contain;border-radius:12px}.thinking-bar-html-preview[data-v-4c01a45c]{flex:1;min-height:min(200px,28vh);border:none;background:#fff}.thinking-bar-empty-preview[data-v-4c01a45c]{padding:18px;color:#94a3b8;font-size:13px;line-height:1.7}.thinking-bar-step.pending .thinking-bar-step-label[data-v-4c01a45c]{color:#64748b}.thinking-bar--corner .thinking-bar-header[data-v-4c01a45c]{padding:14px 16px 12px}.thinking-bar--corner .thinking-bar-title[data-v-4c01a45c]{font-size:16px}.thinking-bar--corner .thinking-bar-steps[data-v-4c01a45c]{padding:12px 14px 14px;flex:1;min-height:0;gap:8px}.thinking-bar--corner .thinking-bar-step[data-v-4c01a45c]{padding:10px 12px}.thinking-bar--corner .thinking-bar-step-inner[data-v-4c01a45c]{gap:8px}.thinking-bar--corner .thinking-bar-step-icon[data-v-4c01a45c]{width:18px;font-size:14px}.thinking-bar--corner .thinking-bar-step-label[data-v-4c01a45c]{font-size:14px;line-height:1.4;word-break:break-word}.thinking-bar--corner .thinking-bar-step-text[data-v-4c01a45c],.thinking-bar--corner .thinking-bar-step-markdown[data-v-4c01a45c] .md-editor-preview{font-size:13px;line-height:1.55;overflow-wrap:anywhere}.thinking-bar--corner .thinking-bar-tool-call-body[data-v-4c01a45c]{max-height:min(38vh,300px);overflow-y:auto}.thinking-bar--corner .thinking-bar-tool-call-block[data-v-4c01a45c]{max-height:min(24vh,180px);overflow:auto}@media(max-width:768px){.thinking-bar--centered[data-v-4c01a45c]{width:calc(100vw - 24px);max-height:72vh}.thinking-bar--corner[data-v-4c01a45c]{right:12px;bottom:12px;width:min(360px,calc(100vw - 24px));max-height:min(72vh,calc(100vh - 24px))}.thinking-bar-header[data-v-4c01a45c]{padding:16px 16px 14px}.thinking-bar-steps[data-v-4c01a45c]{padding:14px 16px 16px}.thinking-bar-workspace-shell[data-v-4c01a45c]{grid-template-columns:1fr}.thinking-bar-header[data-v-4c01a45c]{align-items:flex-start;gap:10px}.thinking-bar-metrics[data-v-4c01a45c]{display:none}}.thinking-bar-step-answer[data-v-4c01a45c]{margin:0}.thinking-bar-tool-step-flow[data-v-4c01a45c]{--thinking-detail-gap: 12px;display:flex;flex-direction:column;gap:var(--thinking-detail-gap)}.thinking-bar-step-answer-section[data-v-4c01a45c]{display:flex;flex-direction:column;gap:8px}.thinking-bar-step-section-label[data-v-4c01a45c]{color:#dbeafe;font-size:13px;font-weight:700;line-height:1.4}.thinking-bar-execution-details[data-v-4c01a45c]{margin:0;border:1px solid rgba(114,169,176,.18);border-radius:6px;background:#04121f85;overflow:hidden}.thinking-bar-execution-details-summary[data-v-4c01a45c]{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none;background:#0d304047}.thinking-bar-execution-details-summary[data-v-4c01a45c]::-webkit-details-marker{display:none}.thinking-bar-execution-details-title[data-v-4c01a45c]{color:#dbeafe;font-size:13px;font-weight:700}.thinking-bar-execution-details-meta[data-v-4c01a45c]{margin-left:auto;padding:2px 8px;border-radius:999px;border:1px solid rgba(114,169,176,.16);background:#020d18b8;color:#9bb8c2;font-size:11px;font-weight:600}.thinking-bar-execution-details-caret[data-v-4c01a45c]{color:#94a3b8;font-size:12px;transition:transform .18s ease}.thinking-bar-execution-details[open] .thinking-bar-execution-details-caret[data-v-4c01a45c]{transform:rotate(180deg)}.thinking-bar-execution-details-body[data-v-4c01a45c]{display:grid;gap:var(--thinking-detail-gap, 12px);padding:12px;border-top:1px solid rgba(114,169,176,.12)}.thinking-bar-execution-planning[data-v-4c01a45c]{margin:0;padding:10px 12px;border-radius:6px;border:1px solid rgba(114,169,176,.1);background:#020d18b8;color:#b9ccd1;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.thinking-bar-tool-call-id[data-v-4c01a45c]{display:block;margin-top:6px;color:#64748b;font-size:11px;font-weight:500;line-height:1.45;overflow-wrap:anywhere}.thinking-bar-tool-call-block--error[data-v-4c01a45c]{border-color:#d08b8b3d}.thinking-bar-tool-call-block--error .thinking-bar-tool-call-block-title[data-v-4c01a45c]{color:#d08b8b}.thinking-bar-nested-tools[data-v-4c01a45c]{display:grid;gap:var(--thinking-detail-gap, 12px);padding-top:4px}.thinking-bar-nested-tools-label[data-v-4c01a45c]{color:#9bb8c2;font-size:11px;font-weight:700;letter-spacing:.04em}.thinking-bar-tool-call--nested[data-v-4c01a45c]{border-style:dashed;background:#020d186b}@keyframes thinking-pulse-4c01a45c{50%{opacity:.6}}.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-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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotlightThinking.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightThinking.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpotlightThinking.vue.d.ts","sourceRoot":"","sources":["../../src/components/SpotlightThinking.vue"],"names":[],"mappings":"AA80CA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAUnE,UAAU,cAAc;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,MAAM,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC;CAClD;AAOD,KAAK,YAAY,GACb;IACE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,GACD;IACE,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC;AAoGN,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,KAAK,CAAC;QACX,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;QAChD,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,cAAc,EAAE,CAAC;QAC/B,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC;QACnB,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;QAC3B,SAAS,CAAC,EAAE,YAAY,EAAE,CAAC;KAC5B,CAAC,CAAC;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE;QACb,MAAM,EAAE,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;QACzC,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;KACd,GAAG,IAAI,CAAC;CACV,CAAC;AA8gDF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SpotlightThinking2.vue.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-25f5e332"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,111 +1,110 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Lt, ref as D, onMounted as jt, nextTick as kt, onBeforeUnmount as Pt, computed as M, watch as bt, openBlock as r, createElementBlock as o, normalizeClass as A, createElementVNode as s, toDisplayString as a, createCommentVNode as u, Fragment as d, renderList as m, unref as N, createVNode as W, normalizeStyle as ft } from "vue";
|
|
2
2
|
import { MdPreview as mt } from "md-editor-v3";
|
|
3
3
|
import "md-editor-v3/lib/preview.css";
|
|
4
|
-
import
|
|
5
|
-
import { isToolExecutionStep as
|
|
4
|
+
import It from "./SpotlightMarkdownPreview.vue.js";
|
|
5
|
+
import { isToolExecutionStep as Vt, humanizeSpotlightStepContent as qt, getIntentStepDisplayContent as Kt, splitToolStepContent as pt, sanitizeToolStepAnswerText as yt } from "../store/pipeline/displayText.js";
|
|
6
6
|
import { partitionToolCalls as _t } from "../store/pipeline/toolDisplay.js";
|
|
7
|
-
import { TOOL_NAMES as
|
|
8
|
-
|
|
9
|
-
const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-stack" }, Yt = { class: "thinking-bar-title" }, Zt = {
|
|
7
|
+
import { TOOL_NAMES as Jt } from "../constants/toolNames.js";
|
|
8
|
+
const Ut = { class: "thinking-bar-header" }, Wt = { class: "thinking-bar-title-stack" }, Gt = { class: "thinking-bar-title" }, Qt = {
|
|
10
9
|
key: 0,
|
|
11
10
|
class: "thinking-bar-memory-badge"
|
|
12
|
-
},
|
|
11
|
+
}, Xt = {
|
|
13
12
|
class: "thinking-bar-metrics",
|
|
14
13
|
"aria-label": "执行状态概览"
|
|
15
|
-
},
|
|
14
|
+
}, Yt = { class: "thinking-bar-metric" }, Zt = { class: "thinking-bar-metric" }, te = { class: "thinking-bar-metric" }, ee = { class: "thinking-bar-step-inner" }, ne = { class: "thinking-bar-step-column" }, ie = { class: "thinking-bar-step-label" }, se = ["onScrollPassive"], re = {
|
|
16
15
|
key: 0,
|
|
17
16
|
class: "thinking-bar-tool-step-flow"
|
|
18
|
-
},
|
|
17
|
+
}, oe = {
|
|
19
18
|
key: 0,
|
|
20
19
|
class: "thinking-bar-execution-details"
|
|
21
|
-
},
|
|
20
|
+
}, le = { class: "thinking-bar-execution-details-summary" }, ae = { class: "thinking-bar-execution-details-meta" }, ce = { class: "thinking-bar-execution-details-body" }, ue = {
|
|
22
21
|
key: 0,
|
|
23
22
|
class: "thinking-bar-execution-planning"
|
|
24
|
-
},
|
|
23
|
+
}, de = ["open"], he = { class: "thinking-bar-tool-call-head" }, ge = { class: "thinking-bar-tool-call-head-main" }, ke = { class: "thinking-bar-tool-call-name" }, be = {
|
|
25
24
|
key: 0,
|
|
26
25
|
class: "thinking-bar-tool-call-id"
|
|
27
|
-
},
|
|
26
|
+
}, fe = { class: "thinking-bar-tool-call-head-side" }, me = { class: "thinking-bar-tool-call-body" }, pe = {
|
|
28
27
|
key: 0,
|
|
29
28
|
class: "thinking-bar-tool-call-block"
|
|
30
|
-
},
|
|
29
|
+
}, ye = { class: "thinking-bar-tool-call-pre" }, _e = {
|
|
31
30
|
key: 1,
|
|
32
31
|
class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--result"
|
|
33
|
-
},
|
|
32
|
+
}, ve = { class: "thinking-bar-tool-call-pre" }, we = {
|
|
34
33
|
key: 2,
|
|
35
34
|
class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--result"
|
|
36
|
-
},
|
|
35
|
+
}, Te = {
|
|
37
36
|
key: 0,
|
|
38
37
|
class: "thinking-bar-tool-result-image-shell"
|
|
39
|
-
},
|
|
38
|
+
}, xe = ["src", "alt"], Se = ["srcdoc", "title"], $e = {
|
|
40
39
|
key: 2,
|
|
41
40
|
class: "thinking-bar-tool-result-table-wrap"
|
|
42
|
-
},
|
|
41
|
+
}, Ae = { class: "thinking-bar-tool-result-table" }, Ce = {
|
|
43
42
|
key: 3,
|
|
44
43
|
class: "thinking-bar-tool-call-pre"
|
|
45
|
-
},
|
|
44
|
+
}, Be = {
|
|
46
45
|
key: 3,
|
|
47
46
|
class: "thinking-bar-tool-call-block"
|
|
48
|
-
},
|
|
47
|
+
}, Re = { class: "thinking-bar-tool-call-pre" }, Ee = {
|
|
49
48
|
key: 4,
|
|
50
49
|
class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--error"
|
|
51
|
-
},
|
|
50
|
+
}, Fe = { class: "thinking-bar-tool-call-pre" }, ze = {
|
|
52
51
|
key: 5,
|
|
53
52
|
class: "thinking-bar-nested-tools"
|
|
54
|
-
},
|
|
53
|
+
}, Oe = { class: "thinking-bar-tool-call-head" }, De = { class: "thinking-bar-tool-call-head-main" }, Me = { class: "thinking-bar-tool-call-name" }, Ne = { class: "thinking-bar-tool-call-head-side" }, He = { class: "thinking-bar-tool-call-body" }, Le = {
|
|
55
54
|
key: 0,
|
|
56
55
|
class: "thinking-bar-tool-call-block"
|
|
57
|
-
},
|
|
56
|
+
}, je = { class: "thinking-bar-tool-call-pre" }, Pe = {
|
|
58
57
|
key: 1,
|
|
59
58
|
class: "thinking-bar-tool-call-block"
|
|
60
|
-
},
|
|
59
|
+
}, Ie = { class: "thinking-bar-tool-call-pre" }, Ve = {
|
|
61
60
|
key: 1,
|
|
62
61
|
class: "thinking-bar-step-answer-section"
|
|
63
|
-
},
|
|
62
|
+
}, qe = { class: "thinking-bar-step-text thinking-bar-step-markdown thinking-bar-step-answer" }, Ke = {
|
|
64
63
|
key: 0,
|
|
65
64
|
class: "thinking-bar-chat-items"
|
|
66
|
-
},
|
|
65
|
+
}, Je = {
|
|
67
66
|
key: 0,
|
|
68
67
|
class: "thinking-bar-step-text thinking-bar-step-markdown"
|
|
69
|
-
},
|
|
68
|
+
}, Ue = ["open"], We = { class: "thinking-bar-tool-call-head" }, Ge = { class: "thinking-bar-tool-call-head-main" }, Qe = { class: "thinking-bar-tool-call-name" }, Xe = { class: "thinking-bar-tool-call-head-side" }, Ye = { class: "thinking-bar-tool-call-body" }, Ze = {
|
|
70
69
|
key: 0,
|
|
71
70
|
class: "thinking-bar-tool-call-block thinking-bar-tool-call-block--result"
|
|
72
|
-
},
|
|
71
|
+
}, tn = {
|
|
73
72
|
key: 0,
|
|
74
73
|
class: "thinking-bar-tool-result-image-shell"
|
|
75
|
-
},
|
|
74
|
+
}, en = ["src", "alt"], nn = ["srcdoc", "title"], sn = {
|
|
76
75
|
key: 2,
|
|
77
76
|
class: "thinking-bar-tool-result-table-wrap"
|
|
78
|
-
},
|
|
77
|
+
}, rn = { class: "thinking-bar-tool-result-table" }, on = {
|
|
79
78
|
key: 3,
|
|
80
79
|
class: "thinking-bar-tool-call-pre"
|
|
81
|
-
},
|
|
80
|
+
}, ln = {
|
|
82
81
|
key: 1,
|
|
83
82
|
class: "thinking-bar-step-text thinking-bar-step-markdown"
|
|
84
|
-
},
|
|
83
|
+
}, an = {
|
|
85
84
|
key: 2,
|
|
86
85
|
class: "thinking-bar-attachments"
|
|
87
|
-
},
|
|
86
|
+
}, cn = ["href"], un = ["src", "alt"], dn = { class: "thinking-bar-attachment-meta" }, hn = { class: "thinking-bar-attachment-name" }, gn = { class: "thinking-bar-attachment-type" }, kn = {
|
|
88
87
|
key: 3,
|
|
89
88
|
class: "thinking-bar-workspace"
|
|
90
|
-
},
|
|
89
|
+
}, bn = { class: "thinking-bar-workspace-shell" }, fn = { class: "thinking-bar-file-tree-pane" }, mn = { class: "thinking-bar-file-tree-body" }, pn = {
|
|
91
90
|
key: 0,
|
|
92
91
|
class: "thinking-bar-tree-node"
|
|
93
|
-
},
|
|
92
|
+
}, yn = ["onClick"], _n = { class: "thinking-bar-tree-caret" }, vn = { class: "thinking-bar-tree-label" }, wn = ["onClick"], Tn = { class: "thinking-bar-tree-icon" }, xn = { class: "thinking-bar-tree-label" }, Sn = { class: "thinking-bar-file-preview" }, $n = { class: "thinking-bar-file-preview-head" }, An = { class: "thinking-bar-file-preview-title" }, Cn = { class: "thinking-bar-tree-icon" }, Bn = {
|
|
94
93
|
key: 0,
|
|
95
94
|
class: "thinking-bar-preview-chip"
|
|
96
|
-
},
|
|
95
|
+
}, Rn = {
|
|
97
96
|
key: 0,
|
|
98
97
|
class: "thinking-bar-image-shell"
|
|
99
|
-
},
|
|
98
|
+
}, En = ["src", "alt"], Fn = {
|
|
100
99
|
key: 1,
|
|
101
100
|
class: "thinking-bar-empty-preview"
|
|
102
|
-
},
|
|
101
|
+
}, zn = ["srcdoc", "title"], On = {
|
|
103
102
|
key: 2,
|
|
104
103
|
class: "thinking-bar-file-preview-body"
|
|
105
|
-
},
|
|
104
|
+
}, Dn = {
|
|
106
105
|
key: 1,
|
|
107
106
|
class: "thinking-bar-empty-preview"
|
|
108
|
-
},
|
|
107
|
+
}, Vn = /* @__PURE__ */ Lt({
|
|
109
108
|
__name: "SpotlightThinking",
|
|
110
109
|
props: {
|
|
111
110
|
steps: {},
|
|
@@ -116,7 +115,7 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
116
115
|
emits: ["close"],
|
|
117
116
|
setup(w) {
|
|
118
117
|
const G = D(!1), L = D(null), _ = D({}), T = /* @__PURE__ */ new Map();
|
|
119
|
-
let
|
|
118
|
+
let B = null, x = null;
|
|
120
119
|
function j(e) {
|
|
121
120
|
K(e), requestAnimationFrame(() => {
|
|
122
121
|
K(e);
|
|
@@ -133,10 +132,10 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
133
132
|
}
|
|
134
133
|
function wt(e, t) {
|
|
135
134
|
const i = t.target;
|
|
136
|
-
|
|
135
|
+
B != null && window.clearTimeout(B), _.value = {
|
|
137
136
|
..._.value,
|
|
138
137
|
[e]: Q(i)
|
|
139
|
-
},
|
|
138
|
+
}, B = window.setTimeout(() => {
|
|
140
139
|
_.value = {
|
|
141
140
|
..._.value,
|
|
142
141
|
[e]: Q(i)
|
|
@@ -152,7 +151,7 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
152
151
|
function X(e, t) {
|
|
153
152
|
return t ? !0 : _.value[e] !== !1;
|
|
154
153
|
}
|
|
155
|
-
|
|
154
|
+
jt(() => {
|
|
156
155
|
typeof ResizeObserver < "u" && (x = new ResizeObserver(() => {
|
|
157
156
|
K();
|
|
158
157
|
}), kt(() => {
|
|
@@ -165,7 +164,7 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
165
164
|
j(!0);
|
|
166
165
|
});
|
|
167
166
|
}), Pt(() => {
|
|
168
|
-
|
|
167
|
+
B != null && window.clearTimeout(B), x?.disconnect(), x = null, T.clear();
|
|
169
168
|
});
|
|
170
169
|
const h = w, xt = M(() => h.steps.length > 0 && h.steps.every((t) => t.status === "done" || t.status === "error") ? "执行完成" : "思考中"), Y = M(() => h.memoryReplay ? h.memoryReplay.source === "semantic" ? "语义缓存" : h.memoryReplay.source === "exact" ? "Memory 缓存" : "Session 缓存" : ""), St = M(
|
|
171
170
|
() => h.steps.some(
|
|
@@ -178,25 +177,13 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
178
177
|
), At = M(
|
|
179
178
|
() => h.steps.filter((e) => e.status === "done").length
|
|
180
179
|
);
|
|
181
|
-
function Bt(e) {
|
|
182
|
-
switch (e) {
|
|
183
|
-
case "active":
|
|
184
|
-
return "⋯";
|
|
185
|
-
case "done":
|
|
186
|
-
return "✓";
|
|
187
|
-
case "error":
|
|
188
|
-
return "✕";
|
|
189
|
-
default:
|
|
190
|
-
return "·";
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
180
|
function Ct(e) {
|
|
194
181
|
return e.name.trim().toLowerCase();
|
|
195
182
|
}
|
|
196
183
|
function H(e) {
|
|
197
184
|
return e.displayName?.trim() || e.name;
|
|
198
185
|
}
|
|
199
|
-
function
|
|
186
|
+
function P(e) {
|
|
200
187
|
return pt(e.content ?? "").planning;
|
|
201
188
|
}
|
|
202
189
|
function Z(e) {
|
|
@@ -216,23 +203,23 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
216
203
|
(t) => t.type === "tool"
|
|
217
204
|
).map((t) => t.toolCall);
|
|
218
205
|
}
|
|
219
|
-
function
|
|
206
|
+
function I(e) {
|
|
220
207
|
return _t(et(e)).visible;
|
|
221
208
|
}
|
|
222
209
|
function nt(e) {
|
|
223
210
|
return _t(et(e)).nestedKnowledge;
|
|
224
211
|
}
|
|
212
|
+
function Bt(e) {
|
|
213
|
+
return Rt(e.name) === Jt.knowledge.answer;
|
|
214
|
+
}
|
|
225
215
|
function Rt(e) {
|
|
226
|
-
return
|
|
216
|
+
return e.trim().toLowerCase();
|
|
227
217
|
}
|
|
228
218
|
function Et(e) {
|
|
229
|
-
return e.trim()
|
|
219
|
+
return !!(P(e).trim() || I(e).length > 0);
|
|
230
220
|
}
|
|
231
221
|
function Ft(e) {
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
function zt(e) {
|
|
235
|
-
const t = P(e).length;
|
|
222
|
+
const t = I(e).length;
|
|
236
223
|
return t > 0 ? `${t} 个工具调用` : "规划记录";
|
|
237
224
|
}
|
|
238
225
|
function it(e) {
|
|
@@ -408,40 +395,40 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
408
395
|
},
|
|
409
396
|
{ deep: !0 }
|
|
410
397
|
);
|
|
411
|
-
const z = D({}),
|
|
398
|
+
const z = D({}), C = D({});
|
|
412
399
|
bt(
|
|
413
400
|
() => h.steps,
|
|
414
401
|
(e) => {
|
|
415
|
-
const t = { ...z.value }, i = { ...
|
|
402
|
+
const t = { ...z.value }, i = { ...C.value };
|
|
416
403
|
for (const n of e) {
|
|
417
404
|
if (n.files?.length && !t[n.id] && (t[n.id] = n.files[0].id), !n.files?.length && t[n.id] && delete t[n.id], n.files?.length) {
|
|
418
405
|
const l = new Set(i[n.id] || []);
|
|
419
406
|
for (const c of n.files)
|
|
420
|
-
|
|
407
|
+
Dt(c.path).forEach(
|
|
421
408
|
(f) => l.add(f)
|
|
422
409
|
);
|
|
423
410
|
i[n.id] = [...l];
|
|
424
411
|
}
|
|
425
412
|
!n.files?.length && i[n.id] && delete i[n.id];
|
|
426
413
|
}
|
|
427
|
-
z.value = t,
|
|
414
|
+
z.value = t, C.value = i;
|
|
428
415
|
},
|
|
429
416
|
{ deep: !0, immediate: !0 }
|
|
430
417
|
);
|
|
431
|
-
function
|
|
418
|
+
function zt(e, t) {
|
|
432
419
|
z.value = {
|
|
433
420
|
...z.value,
|
|
434
421
|
[e]: t
|
|
435
422
|
};
|
|
436
423
|
}
|
|
437
|
-
function
|
|
438
|
-
t &&
|
|
424
|
+
function Ot(e, t) {
|
|
425
|
+
t && zt(e, t.id);
|
|
439
426
|
}
|
|
440
427
|
function k(e) {
|
|
441
428
|
const t = z.value[e.id];
|
|
442
429
|
return e.files?.find((i) => i.id === t) ?? e.files?.[0] ?? null;
|
|
443
430
|
}
|
|
444
|
-
function
|
|
431
|
+
function Dt(e) {
|
|
445
432
|
const t = e.split("/").filter(Boolean), i = [];
|
|
446
433
|
let n = "";
|
|
447
434
|
return t.slice(0, -1).forEach((l) => {
|
|
@@ -449,16 +436,16 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
449
436
|
}), i;
|
|
450
437
|
}
|
|
451
438
|
function ut(e, t) {
|
|
452
|
-
return (
|
|
439
|
+
return (C.value[e] || []).includes(t);
|
|
453
440
|
}
|
|
454
|
-
function
|
|
455
|
-
const i = new Set(
|
|
456
|
-
i.has(t) ? i.delete(t) : i.add(t),
|
|
457
|
-
...
|
|
441
|
+
function Mt(e, t) {
|
|
442
|
+
const i = new Set(C.value[e] || []);
|
|
443
|
+
i.has(t) ? i.delete(t) : i.add(t), C.value = {
|
|
444
|
+
...C.value,
|
|
458
445
|
[e]: [...i]
|
|
459
446
|
};
|
|
460
447
|
}
|
|
461
|
-
function
|
|
448
|
+
function Nt(e, t) {
|
|
462
449
|
const i = /* @__PURE__ */ new Map(), n = (p, $, v) => (i.has(p) || i.set(p, {
|
|
463
450
|
path: p,
|
|
464
451
|
name: $,
|
|
@@ -471,8 +458,8 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
471
458
|
let v = "", O = l;
|
|
472
459
|
$.slice(0, -1).forEach((b, g) => {
|
|
473
460
|
v += `/${b}`;
|
|
474
|
-
const
|
|
475
|
-
O.directoryChildren.includes(v) || O.directoryChildren.push(v), O =
|
|
461
|
+
const Ht = n(v, b, g);
|
|
462
|
+
O.directoryChildren.includes(v) || O.directoryChildren.push(v), O = Ht;
|
|
476
463
|
}), O.files.push(p);
|
|
477
464
|
}
|
|
478
465
|
const c = [], f = (p) => {
|
|
@@ -527,7 +514,7 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
527
514
|
return dt(e) ? "🖼" : U(e) ? "🌐" : /\.md$/i.test(e) ? "📝" : /\.(csv|xlsx?)$/i.test(e) ? "📊" : /\.(json|ya?ml|xml)$/i.test(e) ? "🧩" : "📄";
|
|
528
515
|
}
|
|
529
516
|
return (e, t) => (r(), o("div", {
|
|
530
|
-
class:
|
|
517
|
+
class: A(["thinking-bar", [
|
|
531
518
|
{ "thinking-bar--embedded": w.embedded },
|
|
532
519
|
{ "thinking-bar--open": G.value },
|
|
533
520
|
{ "thinking-bar--centered": w.centered },
|
|
@@ -538,22 +525,22 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
538
525
|
class: "thinking-bar-grid",
|
|
539
526
|
"aria-hidden": "true"
|
|
540
527
|
}, null, -1)),
|
|
541
|
-
s("div",
|
|
542
|
-
s("div",
|
|
528
|
+
s("div", Ut, [
|
|
529
|
+
s("div", Wt, [
|
|
543
530
|
t[1] || (t[1] = s("span", { class: "thinking-bar-kicker" }, "Spotlight", -1)),
|
|
544
|
-
s("span",
|
|
545
|
-
Y.value ? (r(), o("span",
|
|
531
|
+
s("span", Gt, a(xt.value), 1),
|
|
532
|
+
Y.value ? (r(), o("span", Qt, a(Y.value), 1)) : u("", !0)
|
|
546
533
|
]),
|
|
547
|
-
s("div",
|
|
548
|
-
s("span",
|
|
534
|
+
s("div", Xt, [
|
|
535
|
+
s("span", Yt, [
|
|
549
536
|
s("strong", null, a(w.steps.length), 1),
|
|
550
537
|
t[2] || (t[2] = s("em", null, "阶段", -1))
|
|
551
538
|
]),
|
|
552
|
-
s("span",
|
|
539
|
+
s("span", Zt, [
|
|
553
540
|
s("strong", null, a($t.value), 1),
|
|
554
541
|
t[3] || (t[3] = s("em", null, "运行", -1))
|
|
555
542
|
]),
|
|
556
|
-
s("span",
|
|
543
|
+
s("span", te, [
|
|
557
544
|
s("strong", null, a(At.value), 1),
|
|
558
545
|
t[4] || (t[4] = s("em", null, "完成", -1))
|
|
559
546
|
])
|
|
@@ -572,78 +559,72 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
572
559
|
}, [
|
|
573
560
|
(r(!0), o(d, null, m(w.steps, (i) => (r(), o("div", {
|
|
574
561
|
key: i.id,
|
|
575
|
-
class:
|
|
562
|
+
class: A(["thinking-bar-step", [i.status]])
|
|
576
563
|
}, [
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
"
|
|
583
|
-
|
|
584
|
-
"color-to": "#38bdf8"
|
|
585
|
-
})) : u("", !0),
|
|
586
|
-
s("div", se, [
|
|
587
|
-
s("span", re, a(Bt(i.status)), 1),
|
|
588
|
-
s("div", oe, [
|
|
589
|
-
s("span", le, a(i.label), 1),
|
|
564
|
+
s("div", ee, [
|
|
565
|
+
s("span", {
|
|
566
|
+
class: A(["thinking-bar-step-status", `is-${i.status}`]),
|
|
567
|
+
"aria-hidden": "true"
|
|
568
|
+
}, null, 2),
|
|
569
|
+
s("div", ne, [
|
|
570
|
+
s("span", ie, a(i.label), 1),
|
|
590
571
|
s("div", {
|
|
591
572
|
ref_for: !0,
|
|
592
573
|
ref: (n) => vt(i.id, n),
|
|
593
574
|
class: "thinking-bar-step-body",
|
|
594
575
|
onScrollPassive: (n) => wt(i.id, n)
|
|
595
576
|
}, [
|
|
596
|
-
N(
|
|
597
|
-
|
|
598
|
-
s("summary",
|
|
577
|
+
N(Vt)(i.id) ? (r(), o("div", re, [
|
|
578
|
+
Et(i) ? (r(), o("details", oe, [
|
|
579
|
+
s("summary", le, [
|
|
599
580
|
t[5] || (t[5] = s("span", { class: "thinking-bar-execution-details-title" }, "调用工具", -1)),
|
|
600
|
-
s("span",
|
|
581
|
+
s("span", ae, a(Ft(i)), 1),
|
|
601
582
|
t[6] || (t[6] = s("span", { class: "thinking-bar-execution-details-caret" }, "▾", -1))
|
|
602
583
|
]),
|
|
603
|
-
s("div",
|
|
604
|
-
|
|
605
|
-
(r(!0), o(d, null, m(
|
|
584
|
+
s("div", ce, [
|
|
585
|
+
P(i) ? (r(), o("pre", ue, a(P(i)), 1)) : u("", !0),
|
|
586
|
+
(r(!0), o(d, null, m(I(i), (n) => (r(), o("details", {
|
|
606
587
|
key: n.id,
|
|
607
588
|
class: "thinking-bar-tool-call",
|
|
608
589
|
open: rt(n)
|
|
609
590
|
}, [
|
|
610
|
-
s("summary",
|
|
611
|
-
s("div",
|
|
612
|
-
s("span",
|
|
613
|
-
n.name !== H(n) ? (r(), o("span",
|
|
591
|
+
s("summary", he, [
|
|
592
|
+
s("div", ge, [
|
|
593
|
+
s("span", ke, a(H(n)), 1),
|
|
594
|
+
n.name !== H(n) ? (r(), o("span", be, a(n.name), 1)) : u("", !0)
|
|
614
595
|
]),
|
|
615
|
-
s("div",
|
|
596
|
+
s("div", fe, [
|
|
616
597
|
s("span", {
|
|
617
|
-
class:
|
|
598
|
+
class: A(["thinking-bar-tool-call-status", `is-${n.status}`])
|
|
618
599
|
}, a(it(n.status)), 3),
|
|
619
600
|
t[7] || (t[7] = s("span", { class: "thinking-bar-tool-call-caret" }, "▾", -1))
|
|
620
601
|
])
|
|
621
602
|
]),
|
|
622
|
-
s("div",
|
|
623
|
-
n.argsText?.trim() ? (r(), o("div",
|
|
603
|
+
s("div", me, [
|
|
604
|
+
n.argsText?.trim() ? (r(), o("div", pe, [
|
|
624
605
|
t[8] || (t[8] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 请求参数 ", -1)),
|
|
625
|
-
s("pre",
|
|
606
|
+
s("pre", ye, a(n.argsText), 1)
|
|
626
607
|
])) : u("", !0),
|
|
627
|
-
n.summary?.trim() ? (r(), o("div",
|
|
608
|
+
n.summary?.trim() ? (r(), o("div", _e, [
|
|
628
609
|
t[9] || (t[9] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 执行摘要 ", -1)),
|
|
629
|
-
s("pre",
|
|
610
|
+
s("pre", ve, a(n.summary), 1)
|
|
630
611
|
])) : u("", !0),
|
|
631
|
-
at(n) ? (r(), o("div",
|
|
612
|
+
at(n) ? (r(), o("div", we, [
|
|
632
613
|
t[10] || (t[10] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 接口结果 ", -1)),
|
|
633
|
-
E(n) ? (r(), o("div",
|
|
614
|
+
E(n) ? (r(), o("div", Te, [
|
|
634
615
|
s("img", {
|
|
635
616
|
class: "thinking-bar-tool-result-image",
|
|
636
617
|
src: E(n) || "",
|
|
637
618
|
alt: n.name
|
|
638
|
-
}, null, 8,
|
|
619
|
+
}, null, 8, xe)
|
|
639
620
|
])) : F(n) ? (r(), o("iframe", {
|
|
640
621
|
key: 1,
|
|
641
622
|
class: "thinking-bar-tool-result-html",
|
|
642
623
|
srcdoc: F(n) || "",
|
|
643
624
|
title: n.name,
|
|
644
625
|
sandbox: ""
|
|
645
|
-
}, null, 8,
|
|
646
|
-
s("table",
|
|
626
|
+
}, null, 8, Se)) : y(n) ? (r(), o("div", $e, [
|
|
627
|
+
s("table", Ae, [
|
|
647
628
|
s("thead", null, [
|
|
648
629
|
s("tr", null, [
|
|
649
630
|
(r(!0), o(d, null, m(y(
|
|
@@ -663,17 +644,17 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
663
644
|
]))), 128))
|
|
664
645
|
])
|
|
665
646
|
])
|
|
666
|
-
])) : S(n) ? (r(), o("pre",
|
|
647
|
+
])) : S(n) ? (r(), o("pre", Ce, a(S(n)), 1)) : u("", !0)
|
|
667
648
|
])) : u("", !0),
|
|
668
|
-
st(n.trace) ? (r(), o("div",
|
|
649
|
+
st(n.trace) ? (r(), o("div", Be, [
|
|
669
650
|
t[11] || (t[11] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 执行轨迹 ", -1)),
|
|
670
|
-
s("pre",
|
|
651
|
+
s("pre", Re, a(st(n.trace)), 1)
|
|
671
652
|
])) : u("", !0),
|
|
672
|
-
n.errorCode ? (r(), o("div",
|
|
653
|
+
n.errorCode ? (r(), o("div", Ee, [
|
|
673
654
|
t[12] || (t[12] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 错误码 ", -1)),
|
|
674
|
-
s("pre",
|
|
655
|
+
s("pre", Fe, a(n.errorCode), 1)
|
|
675
656
|
])) : u("", !0),
|
|
676
|
-
|
|
657
|
+
Bt(n) && nt(i).length > 0 ? (r(), o("div", ze, [
|
|
677
658
|
t[16] || (t[16] = s("div", { class: "thinking-bar-nested-tools-label" }, " 知识库内部步骤 ", -1)),
|
|
678
659
|
(r(!0), o(d, null, m(nt(
|
|
679
660
|
i
|
|
@@ -681,51 +662,51 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
681
662
|
key: l.id,
|
|
682
663
|
class: "thinking-bar-tool-call thinking-bar-tool-call--nested"
|
|
683
664
|
}, [
|
|
684
|
-
s("summary",
|
|
685
|
-
s("div",
|
|
686
|
-
s("span",
|
|
665
|
+
s("summary", Oe, [
|
|
666
|
+
s("div", De, [
|
|
667
|
+
s("span", Me, a(H(l)), 1)
|
|
687
668
|
]),
|
|
688
|
-
s("div",
|
|
669
|
+
s("div", Ne, [
|
|
689
670
|
s("span", {
|
|
690
|
-
class:
|
|
671
|
+
class: A(["thinking-bar-tool-call-status", `is-${l.status}`])
|
|
691
672
|
}, a(it(l.status)), 3),
|
|
692
673
|
t[13] || (t[13] = s("span", { class: "thinking-bar-tool-call-caret" }, "▾", -1))
|
|
693
674
|
])
|
|
694
675
|
]),
|
|
695
|
-
s("div",
|
|
696
|
-
l.argsText?.trim() ? (r(), o("div",
|
|
676
|
+
s("div", He, [
|
|
677
|
+
l.argsText?.trim() ? (r(), o("div", Le, [
|
|
697
678
|
t[14] || (t[14] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 请求参数 ", -1)),
|
|
698
|
-
s("pre",
|
|
679
|
+
s("pre", je, a(l.argsText), 1)
|
|
699
680
|
])) : u("", !0),
|
|
700
|
-
S(l) ? (r(), o("div",
|
|
681
|
+
S(l) ? (r(), o("div", Pe, [
|
|
701
682
|
t[15] || (t[15] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 接口结果 ", -1)),
|
|
702
|
-
s("pre",
|
|
683
|
+
s("pre", Ie, a(S(l)), 1)
|
|
703
684
|
])) : u("", !0)
|
|
704
685
|
])
|
|
705
686
|
]))), 128))
|
|
706
687
|
])) : u("", !0)
|
|
707
688
|
])
|
|
708
|
-
], 8,
|
|
689
|
+
], 8, de))), 128))
|
|
709
690
|
])
|
|
710
691
|
])) : u("", !0),
|
|
711
|
-
Z(i) ? (r(), o("section",
|
|
692
|
+
Z(i) ? (r(), o("section", Ve, [
|
|
712
693
|
t[17] || (t[17] = s("div", { class: "thinking-bar-step-section-label" }, "回答", -1)),
|
|
713
|
-
s("div",
|
|
714
|
-
W(
|
|
694
|
+
s("div", qe, [
|
|
695
|
+
W(It, {
|
|
715
696
|
"model-value": Z(i),
|
|
716
697
|
"format-knowledge": ""
|
|
717
698
|
}, null, 8, ["model-value"])
|
|
718
699
|
])
|
|
719
700
|
])) : u("", !0)
|
|
720
701
|
])) : (r(), o(d, { key: 1 }, [
|
|
721
|
-
i.chatItems && i.chatItems.length > 0 ? (r(), o("div",
|
|
702
|
+
i.chatItems && i.chatItems.length > 0 ? (r(), o("div", Ke, [
|
|
722
703
|
(r(!0), o(d, null, m(i.chatItems, (n) => (r(), o("div", {
|
|
723
704
|
key: n.id,
|
|
724
705
|
class: "thinking-bar-chat-item"
|
|
725
706
|
}, [
|
|
726
|
-
n.type === "text" && n.text.trim() ? (r(), o("div",
|
|
707
|
+
n.type === "text" && n.text.trim() ? (r(), o("div", Je, [
|
|
727
708
|
W(N(mt), {
|
|
728
|
-
"model-value": N(
|
|
709
|
+
"model-value": N(qt)(n.text),
|
|
729
710
|
theme: "dark",
|
|
730
711
|
"preview-theme": "github",
|
|
731
712
|
"code-theme": "github",
|
|
@@ -736,34 +717,34 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
736
717
|
class: "thinking-bar-tool-call",
|
|
737
718
|
open: rt(n.toolCall)
|
|
738
719
|
}, [
|
|
739
|
-
s("summary",
|
|
740
|
-
s("div",
|
|
741
|
-
s("span",
|
|
720
|
+
s("summary", We, [
|
|
721
|
+
s("div", Ge, [
|
|
722
|
+
s("span", Qe, a(H(n.toolCall)), 1)
|
|
742
723
|
]),
|
|
743
|
-
s("div",
|
|
724
|
+
s("div", Xe, [
|
|
744
725
|
s("span", {
|
|
745
|
-
class:
|
|
726
|
+
class: A(["thinking-bar-tool-call-status", `is-${n.toolCall.status}`])
|
|
746
727
|
}, a(n.toolCall.status === "done" ? "已完成" : n.toolCall.status === "error" ? "失败" : n.toolCall.status === "running" ? "执行中" : "待执行"), 3),
|
|
747
728
|
t[18] || (t[18] = s("span", { class: "thinking-bar-tool-call-caret" }, "▾", -1))
|
|
748
729
|
])
|
|
749
730
|
]),
|
|
750
|
-
s("div",
|
|
751
|
-
at(n.toolCall) ? (r(), o("div",
|
|
731
|
+
s("div", Ye, [
|
|
732
|
+
at(n.toolCall) ? (r(), o("div", Ze, [
|
|
752
733
|
t[19] || (t[19] = s("div", { class: "thinking-bar-tool-call-block-title" }, " 结果 ", -1)),
|
|
753
|
-
E(n.toolCall) ? (r(), o("div",
|
|
734
|
+
E(n.toolCall) ? (r(), o("div", tn, [
|
|
754
735
|
s("img", {
|
|
755
736
|
class: "thinking-bar-tool-result-image",
|
|
756
737
|
src: E(n.toolCall) || "",
|
|
757
738
|
alt: n.toolCall.name
|
|
758
|
-
}, null, 8,
|
|
739
|
+
}, null, 8, en)
|
|
759
740
|
])) : F(n.toolCall) ? (r(), o("iframe", {
|
|
760
741
|
key: 1,
|
|
761
742
|
class: "thinking-bar-tool-result-html",
|
|
762
743
|
srcdoc: F(n.toolCall) || "",
|
|
763
744
|
title: n.toolCall.name,
|
|
764
745
|
sandbox: ""
|
|
765
|
-
}, null, 8,
|
|
766
|
-
s("table",
|
|
746
|
+
}, null, 8, nn)) : y(n.toolCall) ? (r(), o("div", sn, [
|
|
747
|
+
s("table", rn, [
|
|
767
748
|
s("thead", null, [
|
|
768
749
|
s("tr", null, [
|
|
769
750
|
(r(!0), o(d, null, m(y(
|
|
@@ -785,14 +766,14 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
785
766
|
]))), 128))
|
|
786
767
|
])
|
|
787
768
|
])
|
|
788
|
-
])) : S(n.toolCall) ? (r(), o("pre",
|
|
769
|
+
])) : S(n.toolCall) ? (r(), o("pre", on, a(S(n.toolCall)), 1)) : u("", !0)
|
|
789
770
|
])) : u("", !0)
|
|
790
771
|
])
|
|
791
|
-
], 8,
|
|
772
|
+
], 8, Ue)) : u("", !0)
|
|
792
773
|
]))), 128))
|
|
793
|
-
])) : i.content ? (r(), o("div",
|
|
774
|
+
])) : i.content ? (r(), o("div", ln, [
|
|
794
775
|
W(N(mt), {
|
|
795
|
-
"model-value": N(
|
|
776
|
+
"model-value": N(Kt)(i.content ?? ""),
|
|
796
777
|
theme: "dark",
|
|
797
778
|
"preview-theme": "github",
|
|
798
779
|
"code-theme": "github",
|
|
@@ -800,7 +781,7 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
800
781
|
}, null, 8, ["model-value"])
|
|
801
782
|
])) : u("", !0)
|
|
802
783
|
], 64)),
|
|
803
|
-
i.attachments && i.attachments.length > 0 ? (r(), o("div",
|
|
784
|
+
i.attachments && i.attachments.length > 0 ? (r(), o("div", an, [
|
|
804
785
|
(r(!0), o(d, null, m(i.attachments, (n) => (r(), o("a", {
|
|
805
786
|
key: n.id,
|
|
806
787
|
class: "thinking-bar-attachment",
|
|
@@ -813,78 +794,78 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
813
794
|
class: "thinking-bar-attachment-image",
|
|
814
795
|
src: n.url,
|
|
815
796
|
alt: n.name || "图表预览"
|
|
816
|
-
}, null, 8,
|
|
817
|
-
s("div",
|
|
818
|
-
s("span",
|
|
819
|
-
s("span",
|
|
797
|
+
}, null, 8, un)) : u("", !0),
|
|
798
|
+
s("div", dn, [
|
|
799
|
+
s("span", hn, a(n.name || n.url), 1),
|
|
800
|
+
s("span", gn, a(n.type === "image" ? "图片预览" : n.type === "html" ? "打开图表" : "打开文件"), 1)
|
|
820
801
|
])
|
|
821
|
-
], 8,
|
|
802
|
+
], 8, cn))), 128))
|
|
822
803
|
])) : u("", !0),
|
|
823
|
-
i.files && i.files.length > 0 ? (r(), o("div",
|
|
804
|
+
i.files && i.files.length > 0 ? (r(), o("div", kn, [
|
|
824
805
|
t[22] || (t[22] = s("div", { class: "thinking-bar-workspace-title" }, "状态工作台", -1)),
|
|
825
|
-
s("div",
|
|
826
|
-
s("div",
|
|
806
|
+
s("div", bn, [
|
|
807
|
+
s("div", fn, [
|
|
827
808
|
t[21] || (t[21] = s("div", { class: "thinking-bar-file-tree-head" }, "文件系统", -1)),
|
|
828
|
-
s("div",
|
|
829
|
-
(r(!0), o(d, null, m(
|
|
809
|
+
s("div", mn, [
|
|
810
|
+
(r(!0), o(d, null, m(Nt(i.id, i.files), (n) => (r(), o(d, {
|
|
830
811
|
key: `${i.id}:${n.path}`
|
|
831
812
|
}, [
|
|
832
|
-
n.type === "directory" ? (r(), o("div",
|
|
813
|
+
n.type === "directory" ? (r(), o("div", pn, [
|
|
833
814
|
s("button", {
|
|
834
815
|
type: "button",
|
|
835
816
|
class: "thinking-bar-tree-row thinking-bar-tree-row--directory",
|
|
836
817
|
style: ft({
|
|
837
818
|
paddingLeft: `${n.depth * 14 + 10}px`
|
|
838
819
|
}),
|
|
839
|
-
onClick: (l) =>
|
|
820
|
+
onClick: (l) => Mt(i.id, n.path)
|
|
840
821
|
}, [
|
|
841
|
-
s("span",
|
|
822
|
+
s("span", _n, a(ut(i.id, n.path) ? "▾" : "▸"), 1),
|
|
842
823
|
t[20] || (t[20] = s("span", { class: "thinking-bar-tree-icon" }, "📁", -1)),
|
|
843
|
-
s("span",
|
|
844
|
-
], 12,
|
|
824
|
+
s("span", vn, a(n.name), 1)
|
|
825
|
+
], 12, yn)
|
|
845
826
|
])) : (r(), o("button", {
|
|
846
827
|
key: 1,
|
|
847
828
|
type: "button",
|
|
848
|
-
class:
|
|
829
|
+
class: A(["thinking-bar-tree-row thinking-bar-tree-row--file", {
|
|
849
830
|
active: k(i)?.id === n.file?.id
|
|
850
831
|
}]),
|
|
851
832
|
style: ft({ paddingLeft: `${n.depth * 14 + 26}px` }),
|
|
852
|
-
onClick: (l) =>
|
|
833
|
+
onClick: (l) => Ot(i.id, n.file)
|
|
853
834
|
}, [
|
|
854
|
-
s("span",
|
|
855
|
-
s("span",
|
|
856
|
-
], 14,
|
|
835
|
+
s("span", Tn, a(gt(n.file?.path || "")), 1),
|
|
836
|
+
s("span", xn, a(n.name), 1)
|
|
837
|
+
], 14, wn))
|
|
857
838
|
], 64))), 128))
|
|
858
839
|
])
|
|
859
840
|
]),
|
|
860
|
-
s("div",
|
|
841
|
+
s("div", Sn, [
|
|
861
842
|
k(i) ? (r(), o(d, { key: 0 }, [
|
|
862
|
-
s("div",
|
|
863
|
-
s("div",
|
|
864
|
-
s("span",
|
|
843
|
+
s("div", $n, [
|
|
844
|
+
s("div", An, [
|
|
845
|
+
s("span", Cn, a(gt(k(i)?.path || "")), 1),
|
|
865
846
|
s("span", null, a(k(i)?.path), 1)
|
|
866
847
|
]),
|
|
867
|
-
U(k(i)?.path || "") ? (r(), o("span",
|
|
848
|
+
U(k(i)?.path || "") ? (r(), o("span", Bn, " HTML 预览 ")) : u("", !0)
|
|
868
849
|
]),
|
|
869
|
-
dt(k(i)?.path || "") ? (r(), o("div",
|
|
850
|
+
dt(k(i)?.path || "") ? (r(), o("div", Rn, [
|
|
870
851
|
ht(k(i)) ? (r(), o("img", {
|
|
871
852
|
key: 0,
|
|
872
853
|
class: "thinking-bar-image-preview",
|
|
873
854
|
src: ht(k(i)) || "",
|
|
874
855
|
alt: k(i)?.name || "图片预览"
|
|
875
|
-
}, null, 8,
|
|
856
|
+
}, null, 8, En)) : (r(), o("div", Fn, " 当前图片文件没有可直接渲染的内容。 "))
|
|
876
857
|
])) : U(k(i)?.path || "") ? (r(), o("iframe", {
|
|
877
858
|
key: 1,
|
|
878
859
|
class: "thinking-bar-html-preview",
|
|
879
860
|
srcdoc: J(k(i)),
|
|
880
861
|
title: k(i)?.path,
|
|
881
862
|
sandbox: ""
|
|
882
|
-
}, null, 8,
|
|
883
|
-
], 64)) : (r(), o("div",
|
|
863
|
+
}, null, 8, zn)) : (r(), o("pre", On, a(J(k(i))), 1))
|
|
864
|
+
], 64)) : (r(), o("div", Dn, " 还没选中文件,左边点一个看看。 "))
|
|
884
865
|
])
|
|
885
866
|
])
|
|
886
867
|
])) : u("", !0)
|
|
887
|
-
], 40,
|
|
868
|
+
], 40, se)
|
|
888
869
|
])
|
|
889
870
|
])
|
|
890
871
|
], 2))), 128))
|
|
@@ -893,5 +874,5 @@ const Qt = { class: "thinking-bar-header" }, Xt = { class: "thinking-bar-title-s
|
|
|
893
874
|
}
|
|
894
875
|
});
|
|
895
876
|
export {
|
|
896
|
-
|
|
877
|
+
Vn as default
|
|
897
878
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inupedia/spotlight-vue",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "Vue plugin and config entry for Inupedia Spotlight (monorepo workspace package)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"dependencies": {
|
|
96
96
|
"prettier": "^3.8.1",
|
|
97
97
|
"yaml": "^2.8.4",
|
|
98
|
-
"@inupedia/spotlight-client": "0.2.
|
|
99
|
-
"@inupedia/spotlight-protocol": "0.2.
|
|
98
|
+
"@inupedia/spotlight-client": "0.2.6",
|
|
99
|
+
"@inupedia/spotlight-protocol": "0.2.6"
|
|
100
100
|
},
|
|
101
101
|
"peerDependencies": {
|
|
102
102
|
"@inspira-ui/plugins": "^0.0.2",
|