@openviking/react 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/LICENSE.arco-design +21 -0
  2. package/README.md +25 -15
  3. package/dist/0~0.js +19 -0
  4. package/dist/2~0.js +2267 -29
  5. package/dist/2~0.js.LICENSE.txt +23 -0
  6. package/dist/3c~0.js +2206 -0
  7. package/dist/3~0.js +1205 -1982
  8. package/dist/4~0.js +18 -0
  9. package/dist/9~0.js +43 -0
  10. package/dist/{1~0.js → ae~0.js} +5 -24
  11. package/dist/ark-message-list-view~0.js +530 -119
  12. package/dist/a~0.js +1289 -10
  13. package/dist/c7~0.js +38 -2
  14. package/dist/ck~0.js +23 -0
  15. package/dist/client/provider.d.ts +5 -3
  16. package/dist/client/types.d.ts +5 -5
  17. package/dist/client.js +2 -1
  18. package/dist/components/agent-connect/agent-connect-copy.d.ts +19 -33
  19. package/dist/components/agent-connect/agent-connect-design.d.ts +1935 -167
  20. package/dist/components/agent-connect/agent-connect-instructions.d.ts +135 -0
  21. package/dist/components/agent-connect/locales/en-US.d.ts +20 -0
  22. package/dist/components/agent-connect/locales/zh-CN.d.ts +3 -0
  23. package/dist/components/agent-connect/style.css +14 -2
  24. package/dist/components/agent-connect/types.d.ts +2 -1
  25. package/dist/components/directory-tour/directory-tour.d.ts +3 -0
  26. package/dist/components/directory-tour/index.d.ts +3 -0
  27. package/dist/components/directory-tour/locales/en-US.d.ts +3 -0
  28. package/dist/components/directory-tour/locales/zh-CN.d.ts +3 -0
  29. package/dist/components/directory-tour/steps.d.ts +5 -0
  30. package/dist/components/directory-tour/style.css +237 -0
  31. package/dist/components/directory-tour/style.js +0 -0
  32. package/dist/components/directory-tour/types.d.ts +42 -0
  33. package/dist/components/directory-tour/use-tour-anchor.d.ts +5 -0
  34. package/dist/components/directory-tour/use-tour-position.d.ts +12 -0
  35. package/dist/components/directory-tour.js +40 -0
  36. package/dist/components/file-browser-entries/file-browser-entries.d.ts +5 -5
  37. package/dist/components/file-browser-entries/labels.d.ts +3 -0
  38. package/dist/components/file-browser-entries/locales/en-US.d.ts +6 -0
  39. package/dist/components/file-browser-entries/locales/zh-CN.d.ts +6 -0
  40. package/dist/components/file-browser-entries/style.css +752 -2
  41. package/dist/components/file-browser-entries/types.d.ts +34 -16
  42. package/dist/components/file-preview/file-preview-adapters.d.ts +2 -1
  43. package/dist/components/file-preview/file-preview-body.d.ts +2 -1
  44. package/dist/components/file-preview/file-preview-breadcrumb-menu.d.ts +2 -1
  45. package/dist/components/file-preview/file-preview-breadcrumb.d.ts +2 -1
  46. package/dist/components/file-preview/file-preview-directory.d.ts +2 -1
  47. package/dist/components/file-preview/file-preview-handle-adapters.d.ts +2 -1
  48. package/dist/components/file-preview/file-preview-header.d.ts +6 -2
  49. package/dist/components/file-preview/file-preview-image-frame.d.ts +5 -0
  50. package/dist/components/file-preview/file-preview-labels.d.ts +2 -14
  51. package/dist/components/file-preview/file-preview-level-tabs.d.ts +7 -0
  52. package/dist/components/file-preview/file-preview-markdown-images.d.ts +13 -0
  53. package/dist/components/file-preview/file-preview-panels.d.ts +5 -2
  54. package/dist/components/file-preview/file-preview-viewer.d.ts +2 -1
  55. package/dist/components/file-preview/file-preview.d.ts +0 -1
  56. package/dist/components/file-preview/index.d.ts +2 -1
  57. package/dist/components/file-preview/locales/en-US.d.ts +16 -0
  58. package/dist/components/file-preview/locales/zh-CN.d.ts +16 -0
  59. package/dist/components/file-preview/style.css +160 -2
  60. package/dist/components/file-preview/types.d.ts +34 -10
  61. package/dist/components/file-preview/use-file-preview-levels.d.ts +7 -0
  62. package/dist/components/file-preview/use-file-preview-view-state.d.ts +15 -0
  63. package/dist/components/file-preview.js +1 -1
  64. package/dist/components/file-tree/file-tree-info-labels.d.ts +0 -15
  65. package/dist/components/file-tree/file-tree-labels.d.ts +4 -0
  66. package/dist/components/file-tree/file-tree-row-shared.d.ts +2 -12
  67. package/dist/components/file-tree/file-tree-toolbar.d.ts +11 -0
  68. package/dist/components/file-tree/locales/en-US.d.ts +69 -0
  69. package/dist/components/file-tree/locales/zh-CN.d.ts +69 -0
  70. package/dist/components/file-tree/style.css +143 -15
  71. package/dist/components/file-tree/types.d.ts +38 -10
  72. package/dist/components/file-tree/use-file-tree-actions.d.ts +4 -1
  73. package/dist/components/scope-switcher/labels.d.ts +3 -0
  74. package/dist/components/scope-switcher/locales/en-US.d.ts +8 -0
  75. package/dist/components/scope-switcher/locales/zh-CN.d.ts +8 -0
  76. package/dist/components/scope-switcher/scope-panel.d.ts +1 -1
  77. package/dist/components/scope-switcher/scope-switcher.d.ts +1 -1
  78. package/dist/components/scope-switcher/style.css +14 -2
  79. package/dist/components/scope-switcher/types.d.ts +11 -5
  80. package/dist/components/style.css +9851 -6812
  81. package/dist/components/tui/locales/en-US.d.ts +35 -0
  82. package/dist/components/tui/locales/zh-CN.d.ts +35 -0
  83. package/dist/components/tui/style.css +310 -18
  84. package/dist/components/tui/tui-copy-button.d.ts +1 -1
  85. package/dist/components/tui/tui-empty.d.ts +25 -0
  86. package/dist/components/tui/tui-labels.d.ts +2 -2
  87. package/dist/components/tui/tui.d.ts +1 -1
  88. package/dist/components/tui/types.d.ts +35 -12
  89. package/dist/components/tui.js +1 -1
  90. package/dist/components/viking-bot/ark-adapter.d.ts +2 -0
  91. package/dist/components/viking-bot/ark-message-body.d.ts +1 -7
  92. package/dist/components/viking-bot/ark-message-list-view.d.ts +1 -1
  93. package/dist/components/viking-bot/ark-message-row.d.ts +3 -1
  94. package/dist/components/viking-bot/bot-popover.d.ts +9 -0
  95. package/dist/components/viking-bot/capabilities.d.ts +49 -0
  96. package/dist/components/viking-bot/composer-attachments.d.ts +13 -0
  97. package/dist/components/viking-bot/composer-controls.d.ts +10 -0
  98. package/dist/components/viking-bot/composer-footer.d.ts +17 -0
  99. package/dist/components/viking-bot/composer-references.d.ts +20 -0
  100. package/dist/components/viking-bot/composer-text.d.ts +10 -0
  101. package/dist/components/viking-bot/index.d.ts +3 -1
  102. package/dist/components/viking-bot/interaction/ask-human-fields.d.ts +1 -1
  103. package/dist/components/viking-bot/interaction/labels.d.ts +2 -1
  104. package/dist/components/viking-bot/interaction/locales/en-US.d.ts +17 -0
  105. package/dist/components/viking-bot/interaction/locales/zh-CN.d.ts +17 -0
  106. package/dist/components/viking-bot/interaction/types.d.ts +8 -3
  107. package/dist/components/viking-bot/interaction/viking-bot-interaction.d.ts +1 -1
  108. package/dist/components/viking-bot/labels.d.ts +2 -0
  109. package/dist/components/viking-bot/locales/en-US.d.ts +40 -0
  110. package/dist/components/viking-bot/locales/zh-CN.d.ts +40 -0
  111. package/dist/components/viking-bot/markdown-links.d.ts +27 -0
  112. package/dist/components/viking-bot/message-activity.d.ts +7 -0
  113. package/dist/components/viking-bot/message-code-block.d.ts +8 -0
  114. package/dist/components/viking-bot/message-footer.d.ts +8 -0
  115. package/dist/components/viking-bot/message-markdown.d.ts +9 -0
  116. package/dist/components/viking-bot/model.d.ts +37 -3
  117. package/dist/components/viking-bot/quick-input-tracker.d.ts +16 -0
  118. package/dist/components/viking-bot/quick-inputs.d.ts +6 -0
  119. package/dist/components/viking-bot/reference-picker.d.ts +16 -0
  120. package/dist/components/viking-bot/session-actions.d.ts +11 -0
  121. package/dist/components/viking-bot/style.css +1486 -48
  122. package/dist/components/viking-bot/tool-activity.d.ts +9 -0
  123. package/dist/components/viking-bot/tool-result-links.d.ts +6 -0
  124. package/dist/components/viking-bot/types.d.ts +21 -9
  125. package/dist/components/viking-bot/use-quick-input.d.ts +17 -0
  126. package/dist/components/viking-bot/viking-bot.d.ts +1 -6
  127. package/dist/components/viking-bot/welcome.d.ts +8 -0
  128. package/dist/components/viking-bot.js +1 -1
  129. package/dist/c~0.js +533 -66
  130. package/dist/e~0.js +333 -0
  131. package/dist/file-preview-viewer~0.js +90 -8
  132. package/dist/f~0.js +39 -47
  133. package/dist/h~0.js +5 -1
  134. package/dist/icons/console-icons.d.ts +12 -0
  135. package/dist/icons/index.d.ts +2 -0
  136. package/dist/icons/viking-bot-icons.d.ts +6 -0
  137. package/dist/icons.js +1 -0
  138. package/dist/index.d.ts +2 -0
  139. package/dist/index.js +2 -1
  140. package/dist/k~0.js +1 -0
  141. package/dist/lg~0.js +155 -0
  142. package/dist/lk~0.js +37 -8
  143. package/dist/l~0.js +102 -119
  144. package/dist/modules/console/command-messages.d.ts +19 -0
  145. package/dist/modules/console/command-parser.d.ts +15 -0
  146. package/dist/modules/console/command-specs.d.ts +15 -0
  147. package/dist/modules/console/commands.d.ts +6 -0
  148. package/dist/modules/console/console-history.d.ts +10 -0
  149. package/dist/modules/console/console-toolbar.d.ts +18 -0
  150. package/dist/modules/console/console.d.ts +1 -3
  151. package/dist/modules/console/controller.d.ts +17 -0
  152. package/dist/modules/console/index.d.ts +2 -0
  153. package/dist/modules/console/labels.d.ts +61 -0
  154. package/dist/modules/console/locales/en-US.d.ts +49 -0
  155. package/dist/modules/console/locales/zh-CN.d.ts +3 -0
  156. package/dist/modules/console/localize-records.d.ts +11 -0
  157. package/dist/modules/console/results.d.ts +2 -0
  158. package/dist/modules/console/style.css +10905 -15
  159. package/dist/modules/console/types.d.ts +59 -80
  160. package/dist/modules/console/use-console.d.ts +3 -0
  161. package/dist/modules/console.js +1 -1
  162. package/dist/modules/file-browser/file-browser-detail.d.ts +2 -1
  163. package/dist/modules/file-browser/file-browser-labels.d.ts +11 -12
  164. package/dist/modules/file-browser/file-browser-toolbar.d.ts +3 -4
  165. package/dist/modules/file-browser/file-browser-tree-pane.d.ts +7 -5
  166. package/dist/modules/file-browser/file-browser.d.ts +1 -1
  167. package/dist/modules/file-browser/fs-read-directory.d.ts +2 -6
  168. package/dist/modules/file-browser/locales/en-US.d.ts +25 -0
  169. package/dist/modules/file-browser/locales/zh-CN.d.ts +25 -0
  170. package/dist/modules/file-browser/style.css +1581 -126
  171. package/dist/modules/file-browser/types.d.ts +38 -29
  172. package/dist/modules/file-browser/use-file-browser.d.ts +6 -1
  173. package/dist/modules/file-browser/use-fs-preview.d.ts +15 -1
  174. package/dist/modules/scope-cascade/labels.d.ts +6 -0
  175. package/dist/modules/scope-cascade/locales/en-US.d.ts +6 -0
  176. package/dist/modules/scope-cascade/locales/zh-CN.d.ts +3 -0
  177. package/dist/modules/scope-cascade/scope-cascade.d.ts +1 -1
  178. package/dist/modules/scope-cascade/style.css +14 -2
  179. package/dist/modules/scope-cascade/types.d.ts +3 -0
  180. package/dist/modules/style.css +15853 -3484
  181. package/dist/nx~0.js +15 -0
  182. package/dist/n~0.js +238 -83
  183. package/dist/o~0.js +10 -7
  184. package/dist/p~0.js +27 -0
  185. package/dist/rslib-runtime~0.js +42 -0
  186. package/dist/r~0.js +152 -0
  187. package/dist/shared/components/drawer/drawer.d.ts +13 -0
  188. package/dist/shared/components/drawer/index.d.ts +1 -0
  189. package/dist/shared/components/overlay/use-overlay-position.d.ts +2 -2
  190. package/dist/shared/components/tooltip/use-portal-theme.d.ts +3 -0
  191. package/dist/shared/locale.d.ts +6 -0
  192. package/dist/style.css +26056 -10636
  193. package/dist/u~0.js +75 -58
  194. package/dist/viking-bot-composer~0.js +434 -77
  195. package/dist/viking-bot-interaction~0.js +11 -11
  196. package/package.json +13 -4
  197. package/dist/30~0.js +0 -1332
  198. package/dist/components/tui/tui-labels-zh.d.ts +0 -2
  199. package/dist/modules/file-browser/tree-info-copy.d.ts +0 -15
  200. package/dist/modules/file-browser/tree-info-copy.zh-CN.d.ts +0 -15
@@ -1,7 +1,11 @@
1
- .ov-agent-connect, .ov-divider, .ov-file-browser, .ov-file-browser-entries, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__interaction {
1
+ .ov-directory-tour, .ov-agent-connect, .ov-console, .ov-divider, .ov-file-browser-entries, .ov-drawer, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__popover, .ov-viking-bot__reference-picker--mention, .ov-viking-bot__interaction {
2
+ --ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
3
+ --ov-ui-tour-highlight-default: #5252ff14;
2
4
  --ov-ui-primary-default: #5252ff;
3
5
  --ov-ui-primary-hover-default: #7075ff;
4
6
  --ov-ui-primary-active-default: #3833d2;
7
+ --ov-ui-primary-disabled-default: #acb4ff;
8
+ --ov-ui-text-on-primary-default: #fff;
5
9
  --ov-ui-primary-light-default: #f5f7ff;
6
10
  --ov-ui-connect-glow-warm-default: #ff952b0a;
7
11
  --ov-ui-connect-glow-pink-default: #fb4fbc0f;
@@ -19,18 +23,21 @@
19
23
  --ov-ui-bg-3-default: #f7f8fd;
20
24
  --ov-ui-bg-4-default: #f6f7fa;
21
25
  --ov-ui-bg-5-default: #f1f2f9;
26
+ --ov-ui-code-bg-default: #fbfbfc;
22
27
  --ov-ui-status-success-default: #1f9d55;
23
28
  --ov-ui-shadow-default: #0f172a;
29
+ --ov-ui-shadow-control-default: #0000000d;
24
30
  --ov-ui-focus-default: #5252ff;
25
31
  --ov-ui-fill-hover-default: #f1f2f9;
26
32
  --ov-ui-status-error-default: #c43838;
27
33
  --ov-ui-warning-default: #b26a00;
28
34
  --ov-ui-warning-light-default: #fff0b3;
35
+ --ov-ui-overlay-default: #0006;
29
36
  --ov-ui-tooltip-bg-default: #1f2329;
30
37
  --ov-ui-tooltip-text-default: #fff;
31
38
  }
32
39
 
33
- .dark .ov-agent-connect, .dark .ov-divider, .dark .ov-file-browser, .dark .ov-file-browser-entries, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__interaction {
40
+ .dark .ov-directory-tour, .dark .ov-agent-connect, .dark .ov-console, .dark .ov-divider, .dark .ov-file-browser-entries, .dark .ov-drawer, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__popover, .dark .ov-viking-bot__reference-picker--mention, .dark .ov-viking-bot__interaction {
34
41
  --ov-ui-primary-default: #5f5fff;
35
42
  --ov-ui-primary-hover-default: #7075ff;
36
43
  --ov-ui-primary-active-default: #4242ba;
@@ -56,9 +63,14 @@
56
63
  --ov-ui-warning-default: #e0a04a;
57
64
  --ov-ui-warning-light-default: #3a2f14;
58
65
  --ov-ui-tooltip-bg-default: #2a2d33;
66
+ --ov-ui-overlay-default: #000000a3;
59
67
  --ov-ui-tooltip-text-default: #f0f1f3;
60
68
  }
61
69
 
70
+ .dark .ov-viking-bot {
71
+ --ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
72
+ }
73
+
62
74
  .ov-agent-connect {
63
75
  --ov-ui-connect-card-default: #fbfbfc;
64
76
  --ov-ui-connect-tabs-default: #f7f7f9;
@@ -85,7 +97,7 @@
85
97
  --ov-viking-bot-text-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default, #6e718c));
86
98
  --ov-viking-bot-accent: var(--ov-ui-color-primary, var(--ov-ui-primary-default, #5252ff));
87
99
  --ov-viking-bot-accent-hover: var(--ov-ui-color-primary-hover, var(--ov-ui-primary-hover-default, #7075ff));
88
- --ov-viking-bot-on-accent: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
100
+ --ov-viking-bot-on-accent: var(--ov-ui-color-text-on-primary, var(--ov-ui-text-on-primary-default));
89
101
  --ov-viking-bot-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
90
102
  --ov-viking-bot-border-strong: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default, #d7daea));
91
103
  --ov-viking-bot-surface: var(--ov-ui-color-bg-4, var(--ov-ui-bg-4-default, #f6f7fa));
@@ -154,14 +166,18 @@
154
166
  }
155
167
 
156
168
  .ov-viking-bot__body {
169
+ flex-direction: column;
157
170
  flex: 1;
158
171
  min-height: 0;
172
+ display: flex;
159
173
  overflow: auto;
160
174
  }
161
175
 
162
176
  .ov-viking-bot__list {
163
177
  flex-direction: column;
178
+ flex: 1;
164
179
  gap: 12px;
180
+ min-height: 0;
165
181
  padding: 12px;
166
182
  display: flex;
167
183
  }
@@ -367,7 +383,42 @@
367
383
  font-size: 12px;
368
384
  }
369
385
 
370
- .ov-viking-bot__empty, .ov-viking-bot__unavailable {
386
+ .ov-viking-bot__empty {
387
+ text-align: center;
388
+ flex: 1;
389
+ justify-content: center;
390
+ align-items: center;
391
+ min-height: 0;
392
+ padding: 32px 16px;
393
+ display: flex;
394
+ }
395
+
396
+ .ov-viking-bot__welcome {
397
+ flex-direction: column;
398
+ align-items: center;
399
+ gap: 8px;
400
+ width: 100%;
401
+ display: flex;
402
+ }
403
+
404
+ .ov-viking-bot__welcome h2 {
405
+ color: var(--ov-viking-bot-text);
406
+ margin: 0;
407
+ font-size: 16px;
408
+ font-weight: 400;
409
+ line-height: 24px;
410
+ }
411
+
412
+ .ov-viking-bot__welcome p {
413
+ max-width: 360px;
414
+ color: var(--ov-viking-bot-text-muted);
415
+ letter-spacing: .04px;
416
+ margin: 0;
417
+ font-size: 13px;
418
+ line-height: 22px;
419
+ }
420
+
421
+ .ov-viking-bot__unavailable {
371
422
  color: var(--ov-viking-bot-text-muted);
372
423
  justify-content: center;
373
424
  align-items: center;
@@ -410,14 +461,54 @@
410
461
 
411
462
  .ov-viking-bot__composer {
412
463
  box-sizing: border-box;
413
- border-top: 1px solid var(--ov-viking-bot-border);
414
464
  flex-direction: column;
415
465
  flex: none;
416
466
  gap: 6px;
417
- padding: 8px 12px 12px;
467
+ width: 100%;
468
+ min-width: 0;
469
+ padding: 0 16px 16px;
418
470
  display: flex;
419
471
  }
420
472
 
473
+ .ov-viking-bot__composer .ov-viking-bot__sender {
474
+ box-sizing: border-box;
475
+ border: .5px solid var(--ov-viking-bot-border-strong);
476
+ background: var(--ov-viking-bot-bg);
477
+ width: 100%;
478
+ min-width: 0;
479
+ box-shadow: 0 2px 6px
480
+ color-mix(in srgb,
481
+ var(--ov-ui-color-shadow, var(--ov-ui-shadow-default)) 5%,
482
+ transparent);
483
+ border-radius: 20px;
484
+ padding: 12px;
485
+ }
486
+
487
+ .ov-viking-bot__sender .ark-agentic-sender-richTextArea {
488
+ --ark-sender-rich-textarea-line-height: 22px;
489
+ margin: 0;
490
+ padding-top: 0;
491
+ }
492
+
493
+ .ov-viking-bot__sender .tiptap.ProseMirror {
494
+ color: var(--ov-viking-bot-text);
495
+ letter-spacing: .3px;
496
+ outline: none;
497
+ font-family: inherit;
498
+ font-size: 14px;
499
+ font-weight: 400;
500
+ line-height: 22px;
501
+ }
502
+
503
+ .ov-viking-bot__sender .tiptap p {
504
+ margin: 0;
505
+ }
506
+
507
+ .ov-viking-bot__sender .tiptap p.is-editor-empty:first-child:before {
508
+ color: var(--ov-viking-bot-text-muted);
509
+ font: inherit;
510
+ }
511
+
421
512
  .ov-viking-bot__composer--compact {
422
513
  padding: 6px 8px 8px;
423
514
  }
@@ -469,78 +560,89 @@
469
560
  color: var(--ov-viking-bot-danger);
470
561
  }
471
562
 
472
- .ov-viking-bot__input {
473
- box-sizing: border-box;
474
- border: 1px solid var(--ov-viking-bot-border);
475
- border-radius: var(--ov-viking-bot-radius);
563
+ .ov-viking-bot__composer-actions {
564
+ justify-content: space-between;
565
+ align-items: center;
566
+ gap: 8px;
476
567
  width: 100%;
477
- min-height: 64px;
478
- max-height: 200px;
479
- color: inherit;
480
- font: inherit;
481
- resize: vertical;
482
- padding: 8px;
483
- line-height: 1.6;
484
- }
485
-
486
- .ov-viking-bot__input::placeholder {
487
- color: var(--ov-viking-bot-text-muted);
488
- }
489
-
490
- .ov-viking-bot__input:focus-visible {
491
- outline: 2px solid var(--ov-viking-bot-focus);
492
- outline-offset: -1px;
493
- }
494
-
495
- .ov-viking-bot__input:disabled {
496
- background: var(--ov-viking-bot-surface);
497
- color: var(--ov-viking-bot-text-muted);
498
- cursor: not-allowed;
568
+ min-height: 32px;
569
+ margin-top: 10px;
570
+ display: flex;
499
571
  }
500
572
 
501
- .ov-viking-bot__composer-actions {
502
- justify-content: flex-end;
573
+ .ov-viking-bot__composer-tools {
503
574
  align-items: center;
504
575
  gap: 8px;
576
+ min-width: 0;
505
577
  display: flex;
506
578
  }
507
579
 
508
- .ov-viking-bot__composer-actions > button {
509
- border: 1px solid var(--ov-viking-bot-border);
510
- border-radius: var(--ov-viking-bot-radius);
511
- color: var(--ov-viking-bot-text);
512
- font: inherit;
580
+ .ov-viking-bot__attach, .ov-viking-bot__submit {
513
581
  cursor: pointer;
582
+ border: 0;
583
+ flex-shrink: 0;
584
+ justify-content: center;
585
+ align-items: center;
586
+ width: 32px;
587
+ height: 32px;
588
+ padding: 0;
589
+ display: inline-flex;
590
+ }
591
+
592
+ .ov-viking-bot__attach {
593
+ color: var(--ov-viking-bot-text);
514
594
  background: none;
515
- padding: 4px 12px;
516
- font-size: 12px;
595
+ border-radius: 6px;
517
596
  }
518
597
 
519
- .ov-viking-bot__composer-actions > button:last-child {
520
- border-color: var(--ov-viking-bot-accent);
598
+ .ov-viking-bot__submit {
521
599
  background: var(--ov-viking-bot-accent);
522
600
  color: var(--ov-viking-bot-on-accent);
601
+ border-radius: 50%;
523
602
  }
524
603
 
525
- .ov-viking-bot__composer-actions > button:hover:not(:disabled) {
604
+ .ov-viking-bot__attach:hover:not(:disabled) {
526
605
  background: var(--ov-viking-bot-surface-hover);
527
606
  }
528
607
 
529
- .ov-viking-bot__composer-actions > button:last-child:hover:not(:disabled) {
530
- border-color: var(--ov-viking-bot-accent-hover);
608
+ .ov-viking-bot__submit:hover:not(:disabled) {
531
609
  background: var(--ov-viking-bot-accent-hover);
532
610
  }
533
611
 
534
- .ov-viking-bot__composer-actions > button:focus-visible {
612
+ .ov-viking-bot__attach:focus-visible, .ov-viking-bot__submit:focus-visible {
535
613
  outline: 2px solid var(--ov-viking-bot-focus);
536
614
  outline-offset: 2px;
537
615
  }
538
616
 
539
- .ov-viking-bot__composer-actions > button:disabled {
617
+ .ov-viking-bot__attach:disabled {
540
618
  opacity: .5;
541
619
  cursor: not-allowed;
542
620
  }
543
621
 
622
+ .ov-viking-bot__submit:disabled {
623
+ background: var(--ov-ui-color-primary-disabled, var(--ov-ui-primary-disabled-default));
624
+ cursor: not-allowed;
625
+ }
626
+
627
+ .ov-viking-bot__submit > svg {
628
+ width: 9px;
629
+ height: 10.3334px;
630
+ display: block;
631
+ }
632
+
633
+ .ov-viking-bot__attach > svg {
634
+ width: 16px;
635
+ height: 16px;
636
+ display: block;
637
+ }
638
+
639
+ .ov-viking-bot__stop-icon {
640
+ background: currentColor;
641
+ border-radius: 1px;
642
+ width: 10px;
643
+ height: 10px;
644
+ }
645
+
544
646
  .ov-viking-bot__interaction {
545
647
  box-sizing: border-box;
546
648
  border-top: 1px solid var(--ov-viking-bot-border);
@@ -7131,5 +7233,1341 @@ textarea.ov-viking-bot__interaction-input {
7131
7233
  line-height: 20px;
7132
7234
  }
7133
7235
 
7236
+ .ov-directory-tour, .ov-agent-connect, .ov-console, .ov-divider, .ov-file-browser-entries, .ov-drawer, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__popover, .ov-viking-bot__reference-picker--mention, .ov-viking-bot__interaction {
7237
+ --ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
7238
+ --ov-ui-tour-highlight-default: #5252ff14;
7239
+ --ov-ui-primary-default: #5252ff;
7240
+ --ov-ui-primary-hover-default: #7075ff;
7241
+ --ov-ui-primary-active-default: #3833d2;
7242
+ --ov-ui-primary-disabled-default: #acb4ff;
7243
+ --ov-ui-text-on-primary-default: #fff;
7244
+ --ov-ui-primary-light-default: #f5f7ff;
7245
+ --ov-ui-connect-glow-warm-default: #ff952b0a;
7246
+ --ov-ui-connect-glow-pink-default: #fb4fbc0f;
7247
+ --ov-ui-connect-glow-pink-soft-default: #fb4fbc0a;
7248
+ --ov-ui-on-primary-default: #fff;
7249
+ --ov-ui-text-1-default: #0b0b0f;
7250
+ --ov-ui-text-2-default: #3f3f51;
7251
+ --ov-ui-text-3-default: #6e718c;
7252
+ --ov-ui-text-description-default: #0006;
7253
+ --ov-ui-text-disabled-default: #a5a7bb;
7254
+ --ov-ui-border-1-default: #f0f2fa;
7255
+ --ov-ui-border-2-default: #e1e4f2;
7256
+ --ov-ui-border-3-default: #d7daea;
7257
+ --ov-ui-bg-1-default: #fff;
7258
+ --ov-ui-bg-3-default: #f7f8fd;
7259
+ --ov-ui-bg-4-default: #f6f7fa;
7260
+ --ov-ui-bg-5-default: #f1f2f9;
7261
+ --ov-ui-code-bg-default: #fbfbfc;
7262
+ --ov-ui-status-success-default: #1f9d55;
7263
+ --ov-ui-shadow-default: #0f172a;
7264
+ --ov-ui-shadow-control-default: #0000000d;
7265
+ --ov-ui-focus-default: #5252ff;
7266
+ --ov-ui-fill-hover-default: #f1f2f9;
7267
+ --ov-ui-status-error-default: #c43838;
7268
+ --ov-ui-warning-default: #b26a00;
7269
+ --ov-ui-warning-light-default: #fff0b3;
7270
+ --ov-ui-overlay-default: #0006;
7271
+ --ov-ui-tooltip-bg-default: #1f2329;
7272
+ --ov-ui-tooltip-text-default: #fff;
7273
+ }
7274
+
7275
+ .dark .ov-directory-tour, .dark .ov-agent-connect, .dark .ov-console, .dark .ov-divider, .dark .ov-file-browser-entries, .dark .ov-drawer, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__popover, .dark .ov-viking-bot__reference-picker--mention, .dark .ov-viking-bot__interaction {
7276
+ --ov-ui-primary-default: #5f5fff;
7277
+ --ov-ui-primary-hover-default: #7075ff;
7278
+ --ov-ui-primary-active-default: #4242ba;
7279
+ --ov-ui-primary-light-default: #1a1632;
7280
+ --ov-ui-connect-glow-warm-default: #ff952b05;
7281
+ --ov-ui-connect-glow-pink-default: #fb4fbc08;
7282
+ --ov-ui-connect-glow-pink-soft-default: #fb4fbc05;
7283
+ --ov-ui-text-1-default: #c7ccd6;
7284
+ --ov-ui-text-2-default: #9da3af;
7285
+ --ov-ui-text-3-default: #737a87;
7286
+ --ov-ui-text-description-default: #fff6;
7287
+ --ov-ui-text-disabled-default: #42464e;
7288
+ --ov-ui-border-1-default: #23252a;
7289
+ --ov-ui-border-2-default: #2e3138;
7290
+ --ov-ui-border-3-default: #3a3d45;
7291
+ --ov-ui-bg-1-default: #131416;
7292
+ --ov-ui-bg-3-default: #1b1d21;
7293
+ --ov-ui-bg-4-default: #202227;
7294
+ --ov-ui-bg-5-default: #23252a;
7295
+ --ov-ui-focus-default: #5f5fff;
7296
+ --ov-ui-fill-hover-default: #23252a;
7297
+ --ov-ui-status-error-default: #ff9595;
7298
+ --ov-ui-warning-default: #e0a04a;
7299
+ --ov-ui-warning-light-default: #3a2f14;
7300
+ --ov-ui-tooltip-bg-default: #2a2d33;
7301
+ --ov-ui-overlay-default: #000000a3;
7302
+ --ov-ui-tooltip-text-default: #f0f1f3;
7303
+ }
7304
+
7305
+ .dark .ov-viking-bot {
7306
+ --ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
7307
+ }
7308
+
7309
+ .ov-agent-connect {
7310
+ --ov-ui-connect-card-default: #fbfbfc;
7311
+ --ov-ui-connect-tabs-default: #f7f7f9;
7312
+ --ov-ui-connect-selected-default: #f3f4f7;
7313
+ --ov-ui-connect-border-default: #edeef2;
7314
+ --ov-ui-connect-outline-default: #e1e3ea;
7315
+ --ov-ui-connect-muted-default: #787c91;
7316
+ --ov-ui-connect-notice-default: #2e2984;
7317
+ }
7318
+
7319
+ .dark .ov-agent-connect {
7320
+ --ov-ui-connect-card-default: var(--ov-ui-bg-3-default);
7321
+ --ov-ui-connect-tabs-default: var(--ov-ui-bg-3-default);
7322
+ --ov-ui-connect-selected-default: var(--ov-ui-bg-4-default);
7323
+ --ov-ui-connect-border-default: var(--ov-ui-border-1-default);
7324
+ --ov-ui-connect-outline-default: var(--ov-ui-border-2-default);
7325
+ --ov-ui-connect-muted-default: var(--ov-ui-text-3-default);
7326
+ --ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
7327
+ }
7328
+
7329
+ .ov-popover {
7330
+ --ov-ui-popover-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
7331
+ --ov-ui-popover-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
7332
+ --ov-ui-popover-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
7333
+ z-index: 1000;
7334
+ box-sizing: border-box;
7335
+ border: 1px solid var(--ov-ui-popover-border);
7336
+ background: var(--ov-ui-popover-bg);
7337
+ max-width: 320px;
7338
+ color: var(--ov-ui-popover-text);
7339
+ overflow-wrap: break-word;
7340
+ border-radius: 8px;
7341
+ padding: 12px;
7342
+ font-family: inherit;
7343
+ font-size: 12px;
7344
+ line-height: 20px;
7345
+ animation: .12s ease-out ov-popover-enter;
7346
+ position: fixed;
7347
+ box-shadow: 0 15px 35px -2px #0000000d, 0 5px 15px #0000000d;
7348
+ }
7349
+
7350
+ @keyframes ov-popover-enter {
7351
+ from {
7352
+ opacity: 0;
7353
+ }
7354
+
7355
+ to {
7356
+ opacity: 1;
7357
+ }
7358
+ }
7359
+
7360
+ @media (prefers-reduced-motion: reduce) {
7361
+ .ov-popover {
7362
+ animation: none;
7363
+ }
7364
+ }
7365
+
7366
+ .ov-file-tree {
7367
+ --ov-ui-file-tree-row-height: 32px;
7368
+ --ov-ui-file-tree-row-radius: 4px;
7369
+ --ov-ui-file-tree-indent: 20px;
7370
+ --ov-ui-file-tree-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
7371
+ --ov-ui-file-tree-text-muted: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
7372
+ --ov-ui-file-tree-icon: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
7373
+ --ov-ui-file-tree-row-hover: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
7374
+ --ov-ui-file-tree-row-selected: var(--ov-ui-color-primary-light, var(--ov-ui-primary-light-default));
7375
+ --ov-ui-file-tree-guide: var(--ov-ui-color-border-1, var(--ov-ui-border-1-default));
7376
+ --ov-ui-file-tree-spinner-track: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
7377
+ --ov-ui-file-tree-spinner: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
7378
+ --ov-ui-file-tree-action: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
7379
+ --ov-ui-file-tree-warning: var(--ov-ui-color-warning, var(--ov-ui-warning-default));
7380
+ box-sizing: border-box;
7381
+ min-width: 0;
7382
+ max-width: 100%;
7383
+ height: 100%;
7384
+ min-height: 0;
7385
+ color: var(--ov-ui-file-tree-text);
7386
+ flex-direction: column;
7387
+ font-family: inherit;
7388
+ font-size: 13px;
7389
+ line-height: 20px;
7390
+ display: flex;
7391
+ }
7392
+
7393
+ .ov-file-tree__toolbar {
7394
+ flex: none;
7395
+ padding: 4px 0 8px;
7396
+ }
7397
+
7398
+ .ov-file-tree__body {
7399
+ flex: auto;
7400
+ min-height: 0;
7401
+ overflow: auto;
7402
+ }
7403
+
7404
+ .ov-file-tree__rows {
7405
+ flex-direction: column;
7406
+ width: max-content;
7407
+ min-width: 100%;
7408
+ display: flex;
7409
+ }
7410
+
7411
+ .ov-file-tree__row, .ov-file-tree__state-row {
7412
+ box-sizing: border-box;
7413
+ width: max-content;
7414
+ min-width: 100%;
7415
+ height: var(--ov-ui-file-tree-row-height);
7416
+ min-height: var(--ov-ui-file-tree-row-height);
7417
+ border-radius: var(--ov-ui-file-tree-row-radius);
7418
+ cursor: pointer;
7419
+ -webkit-user-select: none;
7420
+ user-select: none;
7421
+ outline: none;
7422
+ flex: none;
7423
+ align-items: center;
7424
+ gap: 2px;
7425
+ padding-right: 8px;
7426
+ font-family: inherit;
7427
+ font-size: 13px;
7428
+ line-height: 20px;
7429
+ display: flex;
7430
+ position: relative;
7431
+ }
7432
+
7433
+ .ov-file-tree__row {
7434
+ transition: background-color .12s;
7435
+ }
7436
+
7437
+ .ov-file-tree__row:hover {
7438
+ background-color: var(--ov-ui-file-tree-row-hover);
7439
+ }
7440
+
7441
+ .ov-file-tree__row[data-selected] {
7442
+ background-color: var(--ov-ui-file-tree-row-selected);
7443
+ }
7444
+
7445
+ .ov-file-tree__row:focus-visible, .ov-file-tree__state-row:focus-visible {
7446
+ outline: 2px solid var(--ov-ui-file-tree-action);
7447
+ outline-offset: -2px;
7448
+ }
7449
+
7450
+ .ov-file-tree__row[data-disabled] {
7451
+ color: var(--ov-ui-file-tree-text-muted);
7452
+ cursor: not-allowed;
7453
+ }
7454
+
7455
+ .ov-file-tree__guide {
7456
+ background-color: var(--ov-ui-file-tree-guide);
7457
+ pointer-events: none;
7458
+ width: 1px;
7459
+ position: absolute;
7460
+ top: 0;
7461
+ bottom: 0;
7462
+ }
7463
+
7464
+ .ov-file-tree__toggle, .ov-file-tree__toggle-spacer {
7465
+ flex: none;
7466
+ justify-content: center;
7467
+ align-items: center;
7468
+ width: 16px;
7469
+ height: 16px;
7470
+ display: inline-flex;
7471
+ }
7472
+
7473
+ .ov-file-tree__toggle svg {
7474
+ width: 12px;
7475
+ height: 12px;
7476
+ display: block;
7477
+ }
7478
+
7479
+ .ov-file-tree__toggle {
7480
+ color: var(--ov-ui-file-tree-text-muted);
7481
+ cursor: pointer;
7482
+ background: none;
7483
+ border: 0;
7484
+ border-radius: 4px;
7485
+ padding: 0;
7486
+ }
7487
+
7488
+ .ov-file-tree__toggle:hover:not(:disabled) {
7489
+ background-color: var(--ov-ui-file-tree-row-hover);
7490
+ }
7491
+
7492
+ .ov-file-tree__toggle:disabled {
7493
+ cursor: default;
7494
+ }
7495
+
7496
+ .ov-file-tree__chevron {
7497
+ transition: transform .15s cubic-bezier(.22, 1, .36, 1);
7498
+ }
7499
+
7500
+ .ov-file-tree__chevron[data-expanded] {
7501
+ transform: rotate(90deg);
7502
+ }
7503
+
7504
+ .ov-file-tree__icon-slot {
7505
+ width: 16px;
7506
+ height: 16px;
7507
+ color: var(--ov-ui-file-tree-icon);
7508
+ flex: none;
7509
+ justify-content: center;
7510
+ align-items: center;
7511
+ display: inline-flex;
7512
+ }
7513
+
7514
+ .ov-file-tree__folder {
7515
+ width: 14px;
7516
+ height: 14px;
7517
+ display: inline-block;
7518
+ position: relative;
7519
+ }
7520
+
7521
+ .ov-file-tree__folder-layer {
7522
+ opacity: 0;
7523
+ width: 14px;
7524
+ height: 14px;
7525
+ transition: opacity .22s cubic-bezier(.22, 1, .36, 1);
7526
+ position: absolute;
7527
+ inset: 0;
7528
+ }
7529
+
7530
+ .ov-file-tree__folder-layer[data-open="true"] {
7531
+ opacity: 1;
7532
+ }
7533
+
7534
+ .ov-file-tree__file-icon {
7535
+ width: 16px;
7536
+ height: 16px;
7537
+ }
7538
+
7539
+ .ov-file-tree__label-group {
7540
+ flex: none;
7541
+ align-items: center;
7542
+ gap: 8px;
7543
+ display: flex;
7544
+ }
7545
+
7546
+ .ov-file-tree__label {
7547
+ white-space: nowrap;
7548
+ flex: none;
7549
+ }
7550
+
7551
+ .ov-file-tree__description {
7552
+ max-width: 200px;
7553
+ color: var(--ov-ui-file-tree-text-muted);
7554
+ letter-spacing: .03px;
7555
+ text-overflow: ellipsis;
7556
+ white-space: nowrap;
7557
+ flex: none;
7558
+ font-size: 10px;
7559
+ line-height: 20px;
7560
+ overflow: hidden;
7561
+ }
7562
+
7563
+ .ov-file-tree__level {
7564
+ color: var(--ov-ui-file-tree-text-muted);
7565
+ flex: none;
7566
+ margin-left: auto;
7567
+ font-size: 14px;
7568
+ }
7569
+
7570
+ .ov-file-tree__expiry {
7571
+ color: var(--ov-ui-file-tree-warning);
7572
+ flex: none;
7573
+ font-size: 12px;
7574
+ }
7575
+
7576
+ .ov-file-tree__expiry-action {
7577
+ color: inherit;
7578
+ font: inherit;
7579
+ cursor: pointer;
7580
+ background: none;
7581
+ border: 0;
7582
+ padding: 0;
7583
+ text-decoration: underline;
7584
+ }
7585
+
7586
+ .ov-file-tree__dashboard {
7587
+ flex: none;
7588
+ align-items: center;
7589
+ display: inline-flex;
7590
+ }
7591
+
7592
+ .ov-file-tree__info {
7593
+ flex-direction: column;
7594
+ gap: 8px;
7595
+ display: flex;
7596
+ }
7597
+
7598
+ .ov-file-tree__info-title {
7599
+ color: var(--ov-ui-file-tree-text);
7600
+ word-break: break-all;
7601
+ font-size: 13px;
7602
+ font-weight: 500;
7603
+ line-height: 22px;
7604
+ }
7605
+
7606
+ .ov-file-tree__info-row {
7607
+ gap: 8px;
7608
+ min-width: 0;
7609
+ display: flex;
7610
+ }
7611
+
7612
+ .ov-file-tree__info-label {
7613
+ color: var(--ov-ui-file-tree-text-muted);
7614
+ flex: none;
7615
+ }
7616
+
7617
+ .ov-file-tree__info-value {
7618
+ min-width: 0;
7619
+ color: var(--ov-ui-file-tree-text);
7620
+ word-break: break-word;
7621
+ }
7622
+
7623
+ .ov-file-tree__info-path {
7624
+ min-width: 0;
7625
+ color: var(--ov-ui-file-tree-text-muted);
7626
+ word-break: break-all;
7627
+ }
7628
+
7629
+ .ov-file-tree__state-row {
7630
+ color: var(--ov-ui-file-tree-text-muted);
7631
+ }
7632
+
7633
+ .ov-file-tree__state-row[data-tone="error"] {
7634
+ color: var(--ov-ui-color-status-error, var(--ov-ui-status-error-default));
7635
+ }
7636
+
7637
+ .ov-file-tree__state {
7638
+ box-sizing: border-box;
7639
+ min-height: 120px;
7640
+ color: var(--ov-ui-file-tree-text-muted);
7641
+ justify-content: center;
7642
+ align-items: center;
7643
+ padding: 24px;
7644
+ display: flex;
7645
+ }
7646
+
7647
+ .ov-file-tree__muted {
7648
+ color: inherit;
7649
+ text-overflow: ellipsis;
7650
+ white-space: nowrap;
7651
+ overflow: hidden;
7652
+ }
7653
+
7654
+ .ov-file-tree__spinner {
7655
+ box-sizing: border-box;
7656
+ border: 1px solid var(--ov-ui-file-tree-spinner-track);
7657
+ border-top-color: var(--ov-ui-file-tree-spinner);
7658
+ border-radius: 50%;
7659
+ flex: none;
7660
+ width: 12px;
7661
+ height: 12px;
7662
+ animation: .9s linear infinite ov-file-tree-spin;
7663
+ display: inline-block;
7664
+ }
7665
+
7666
+ @keyframes ov-file-tree-spin {
7667
+ to {
7668
+ transform: rotate(360deg);
7669
+ }
7670
+ }
7671
+
7672
+ .ov-file-tree__action {
7673
+ color: inherit;
7674
+ font: inherit;
7675
+ cursor: pointer;
7676
+ background: none;
7677
+ border: 0;
7678
+ padding: 0;
7679
+ transition: color .12s;
7680
+ }
7681
+
7682
+ .ov-file-tree__action:hover:not(:disabled) {
7683
+ color: var(--ov-ui-file-tree-action);
7684
+ }
7685
+
7686
+ .ov-file-tree__action:disabled {
7687
+ cursor: default;
7688
+ }
7689
+
7690
+ @media (prefers-reduced-motion: reduce) {
7691
+ .ov-file-tree__chevron, .ov-file-tree__folder-layer {
7692
+ transition: none;
7693
+ }
7694
+
7695
+ .ov-file-tree__spinner {
7696
+ animation-duration: 2s;
7697
+ }
7698
+ }
7699
+
7700
+ .ov-file-tree__file-type-icon {
7701
+ color: var(--ov-file-tree-icon-light, var(--ov-ui-file-tree-icon));
7702
+ }
7703
+
7704
+ .dark .ov-file-tree__file-type-icon {
7705
+ color: var(--ov-file-tree-icon-dark, var(--ov-ui-file-tree-icon));
7706
+ }
7707
+
7708
+ .ov-file-tree__controls {
7709
+ flex: none;
7710
+ align-items: center;
7711
+ gap: 8px;
7712
+ min-width: 0;
7713
+ padding: 1px 1px 7px;
7714
+ display: flex;
7715
+ }
7716
+
7717
+ .ov-file-tree__search, .ov-file-tree__refresh {
7718
+ box-sizing: border-box;
7719
+ border: 1px solid var(--ov-ui-color-border-2, var(--ov-ui-border-2-default));
7720
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
7721
+ height: 32px;
7722
+ color: var(--ov-ui-file-tree-icon);
7723
+ box-shadow: 0 1px 1px
7724
+ var(--ov-ui-color-shadow-control, var(--ov-ui-shadow-control-default));
7725
+ cursor: pointer;
7726
+ border-radius: 6px;
7727
+ flex-shrink: 0;
7728
+ justify-content: center;
7729
+ align-items: center;
7730
+ margin: 0;
7731
+ padding: 0;
7732
+ font-family: inherit;
7733
+ font-size: 12px;
7734
+ font-weight: 400;
7735
+ line-height: 22px;
7736
+ transition: border-color .16s, background-color .16s;
7737
+ display: inline-flex;
7738
+ }
7739
+
7740
+ .ov-file-tree__search {
7741
+ min-width: 0;
7742
+ color: var(--ov-ui-file-tree-text-muted);
7743
+ text-align: left;
7744
+ flex: auto;
7745
+ justify-content: flex-start;
7746
+ gap: 4px;
7747
+ padding: 4px 12px;
7748
+ }
7749
+
7750
+ .ov-file-tree__search svg {
7751
+ flex: none;
7752
+ width: 16px;
7753
+ height: 16px;
7754
+ display: block;
7755
+ }
7756
+
7757
+ .ov-file-tree__search-label {
7758
+ letter-spacing: .036px;
7759
+ text-overflow: ellipsis;
7760
+ white-space: nowrap;
7761
+ min-width: 0;
7762
+ overflow: hidden;
7763
+ }
7764
+
7765
+ .ov-file-tree__refresh {
7766
+ width: 32px;
7767
+ }
7768
+
7769
+ .ov-file-tree__refresh svg {
7770
+ flex: none;
7771
+ display: block;
7772
+ }
7773
+
7774
+ .ov-file-tree__search:hover:not(:disabled), .ov-file-tree__refresh:hover:not(:disabled) {
7775
+ border-color: var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
7776
+ }
7777
+
7778
+ .ov-file-tree__refresh:hover:not(:disabled) {
7779
+ background: var(--ov-ui-file-tree-row-hover);
7780
+ }
7781
+
7782
+ .ov-file-tree__search:focus-visible, .ov-file-tree__refresh:focus-visible {
7783
+ outline: 2px solid var(--ov-ui-file-tree-action);
7784
+ outline-offset: 2px;
7785
+ }
7786
+
7787
+ .ov-file-tree__search:disabled, .ov-file-tree__refresh:disabled {
7788
+ cursor: not-allowed;
7789
+ opacity: .6;
7790
+ }
7791
+
7792
+ .ov-file-tree__refresh[aria-busy="true"] {
7793
+ cursor: wait;
7794
+ opacity: 1;
7795
+ }
7796
+
7797
+ .ov-file-tree__refresh-spinning {
7798
+ animation: .9s linear infinite ov-file-tree-spin;
7799
+ }
7800
+
7801
+ @media (prefers-reduced-motion: reduce) {
7802
+ .ov-file-tree__search, .ov-file-tree__refresh {
7803
+ transition: none;
7804
+ }
7805
+
7806
+ .ov-file-tree__refresh-spinning {
7807
+ animation-duration: 2s;
7808
+ }
7809
+ }
7810
+
7811
+
7812
+
7813
+ .ov-directory-tour, .ov-agent-connect, .ov-console, .ov-divider, .ov-file-browser-entries, .ov-drawer, .ov-file-browser, .ov-file-preview, .ov-file-tree, .ov-module-placeholder, .ov-popover, .ov-scope-switcher, .ov-tooltip, .ov-tui, .ov-viking-bot, .ov-viking-bot__popover, .ov-viking-bot__reference-picker--mention, .ov-viking-bot__interaction {
7814
+ --ov-ui-tour-shadow-default: 0 15px 35px #0000000d, 0 5px 15px #0000000d;
7815
+ --ov-ui-tour-highlight-default: #5252ff14;
7816
+ --ov-ui-primary-default: #5252ff;
7817
+ --ov-ui-primary-hover-default: #7075ff;
7818
+ --ov-ui-primary-active-default: #3833d2;
7819
+ --ov-ui-primary-disabled-default: #acb4ff;
7820
+ --ov-ui-text-on-primary-default: #fff;
7821
+ --ov-ui-primary-light-default: #f5f7ff;
7822
+ --ov-ui-connect-glow-warm-default: #ff952b0a;
7823
+ --ov-ui-connect-glow-pink-default: #fb4fbc0f;
7824
+ --ov-ui-connect-glow-pink-soft-default: #fb4fbc0a;
7825
+ --ov-ui-on-primary-default: #fff;
7826
+ --ov-ui-text-1-default: #0b0b0f;
7827
+ --ov-ui-text-2-default: #3f3f51;
7828
+ --ov-ui-text-3-default: #6e718c;
7829
+ --ov-ui-text-description-default: #0006;
7830
+ --ov-ui-text-disabled-default: #a5a7bb;
7831
+ --ov-ui-border-1-default: #f0f2fa;
7832
+ --ov-ui-border-2-default: #e1e4f2;
7833
+ --ov-ui-border-3-default: #d7daea;
7834
+ --ov-ui-bg-1-default: #fff;
7835
+ --ov-ui-bg-3-default: #f7f8fd;
7836
+ --ov-ui-bg-4-default: #f6f7fa;
7837
+ --ov-ui-bg-5-default: #f1f2f9;
7838
+ --ov-ui-code-bg-default: #fbfbfc;
7839
+ --ov-ui-status-success-default: #1f9d55;
7840
+ --ov-ui-shadow-default: #0f172a;
7841
+ --ov-ui-shadow-control-default: #0000000d;
7842
+ --ov-ui-focus-default: #5252ff;
7843
+ --ov-ui-fill-hover-default: #f1f2f9;
7844
+ --ov-ui-status-error-default: #c43838;
7845
+ --ov-ui-warning-default: #b26a00;
7846
+ --ov-ui-warning-light-default: #fff0b3;
7847
+ --ov-ui-overlay-default: #0006;
7848
+ --ov-ui-tooltip-bg-default: #1f2329;
7849
+ --ov-ui-tooltip-text-default: #fff;
7850
+ }
7851
+
7852
+ .dark .ov-directory-tour, .dark .ov-agent-connect, .dark .ov-console, .dark .ov-divider, .dark .ov-file-browser-entries, .dark .ov-drawer, .dark .ov-file-browser, .dark .ov-file-preview, .dark .ov-file-tree, .dark .ov-module-placeholder, .dark .ov-popover, .dark .ov-scope-switcher, .dark .ov-tooltip, .dark .ov-tui, .dark .ov-viking-bot, .dark .ov-viking-bot__popover, .dark .ov-viking-bot__reference-picker--mention, .dark .ov-viking-bot__interaction {
7853
+ --ov-ui-primary-default: #5f5fff;
7854
+ --ov-ui-primary-hover-default: #7075ff;
7855
+ --ov-ui-primary-active-default: #4242ba;
7856
+ --ov-ui-primary-light-default: #1a1632;
7857
+ --ov-ui-connect-glow-warm-default: #ff952b05;
7858
+ --ov-ui-connect-glow-pink-default: #fb4fbc08;
7859
+ --ov-ui-connect-glow-pink-soft-default: #fb4fbc05;
7860
+ --ov-ui-text-1-default: #c7ccd6;
7861
+ --ov-ui-text-2-default: #9da3af;
7862
+ --ov-ui-text-3-default: #737a87;
7863
+ --ov-ui-text-description-default: #fff6;
7864
+ --ov-ui-text-disabled-default: #42464e;
7865
+ --ov-ui-border-1-default: #23252a;
7866
+ --ov-ui-border-2-default: #2e3138;
7867
+ --ov-ui-border-3-default: #3a3d45;
7868
+ --ov-ui-bg-1-default: #131416;
7869
+ --ov-ui-bg-3-default: #1b1d21;
7870
+ --ov-ui-bg-4-default: #202227;
7871
+ --ov-ui-bg-5-default: #23252a;
7872
+ --ov-ui-focus-default: #5f5fff;
7873
+ --ov-ui-fill-hover-default: #23252a;
7874
+ --ov-ui-status-error-default: #ff9595;
7875
+ --ov-ui-warning-default: #e0a04a;
7876
+ --ov-ui-warning-light-default: #3a2f14;
7877
+ --ov-ui-tooltip-bg-default: #2a2d33;
7878
+ --ov-ui-overlay-default: #000000a3;
7879
+ --ov-ui-tooltip-text-default: #f0f1f3;
7880
+ }
7881
+
7882
+ .dark .ov-viking-bot {
7883
+ --ov-ui-code-bg-default: var(--ov-ui-bg-3-default);
7884
+ }
7885
+
7886
+ .ov-agent-connect {
7887
+ --ov-ui-connect-card-default: #fbfbfc;
7888
+ --ov-ui-connect-tabs-default: #f7f7f9;
7889
+ --ov-ui-connect-selected-default: #f3f4f7;
7890
+ --ov-ui-connect-border-default: #edeef2;
7891
+ --ov-ui-connect-outline-default: #e1e3ea;
7892
+ --ov-ui-connect-muted-default: #787c91;
7893
+ --ov-ui-connect-notice-default: #2e2984;
7894
+ }
7895
+
7896
+ .dark .ov-agent-connect {
7897
+ --ov-ui-connect-card-default: var(--ov-ui-bg-3-default);
7898
+ --ov-ui-connect-tabs-default: var(--ov-ui-bg-3-default);
7899
+ --ov-ui-connect-selected-default: var(--ov-ui-bg-4-default);
7900
+ --ov-ui-connect-border-default: var(--ov-ui-border-1-default);
7901
+ --ov-ui-connect-outline-default: var(--ov-ui-border-2-default);
7902
+ --ov-ui-connect-muted-default: var(--ov-ui-text-3-default);
7903
+ --ov-ui-connect-notice-default: var(--ov-ui-text-2-default);
7904
+ }
7905
+
7906
+ .ov-tooltip {
7907
+ --ov-ui-tooltip-bg: var(--ov-ui-color-tooltip-bg, var(--ov-ui-tooltip-bg-default, #1f2329));
7908
+ --ov-ui-tooltip-text: var(--ov-ui-color-tooltip-text, var(--ov-ui-tooltip-text-default, #fff));
7909
+ --ov-ui-tooltip-border: transparent;
7910
+ --ov-ui-tooltip-radius: var(--ov-ui-radius, 6px);
7911
+ --ov-ui-tooltip-offset: 6px;
7912
+ z-index: 1000;
7913
+ box-sizing: border-box;
7914
+ border: 1px solid var(--ov-ui-tooltip-border);
7915
+ border-radius: var(--ov-ui-tooltip-radius);
7916
+ background: var(--ov-ui-tooltip-bg);
7917
+ max-width: 320px;
7918
+ color: var(--ov-ui-tooltip-text);
7919
+ overflow-wrap: break-word;
7920
+ padding: 6px 8px;
7921
+ font-family: inherit;
7922
+ font-size: 12px;
7923
+ line-height: 18px;
7924
+ animation: .12s ease-out ov-tooltip-enter;
7925
+ position: fixed;
7926
+ box-shadow: 0 4px 12px #0000001f;
7927
+ }
7928
+
7929
+ .ov-tooltip[role="dialog"] {
7930
+ --ov-ui-tooltip-bg: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default, #fff));
7931
+ --ov-ui-tooltip-text: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default, #0b0b0f));
7932
+ --ov-ui-tooltip-border: var(--ov-ui-color-border-2, var(--ov-ui-border-2-default, #e1e4f2));
7933
+ min-width: 120px;
7934
+ max-width: 360px;
7935
+ padding: 4px;
7936
+ box-shadow: 0 6px 16px #0000001f;
7937
+ }
7938
+
7939
+ @keyframes ov-tooltip-enter {
7940
+ from {
7941
+ opacity: 0;
7942
+ }
7943
+
7944
+ to {
7945
+ opacity: 1;
7946
+ }
7947
+ }
7948
+
7949
+ @media (prefers-reduced-motion: reduce) {
7950
+ .ov-tooltip {
7951
+ animation: none;
7952
+ }
7953
+ }
7954
+
7955
+
7956
+
7957
+ .ov-viking-bot__empty--welcome {
7958
+ justify-content: normal;
7959
+ align-items: stretch;
7960
+ padding: 0;
7961
+ }
7962
+
7963
+ .ov-viking-bot__home {
7964
+ text-align: center;
7965
+ flex-direction: column;
7966
+ flex: 1;
7967
+ justify-content: space-between;
7968
+ align-items: center;
7969
+ gap: 24px;
7970
+ min-height: 0;
7971
+ padding: 0 16px 12px;
7972
+ display: flex;
7973
+ overflow-y: auto;
7974
+ }
7975
+
7976
+ .ov-viking-bot__home-intro {
7977
+ box-sizing: border-box;
7978
+ flex-direction: column;
7979
+ flex-shrink: 0;
7980
+ align-items: center;
7981
+ gap: 12px;
7982
+ width: 100%;
7983
+ max-width: 328px;
7984
+ padding: 160px 8px 0;
7985
+ display: flex;
7986
+ }
7987
+
7988
+ .ov-viking-bot__home-illustration {
7989
+ flex-shrink: 0;
7990
+ width: 128px;
7991
+ height: 80px;
7992
+ position: relative;
7993
+ }
7994
+
7995
+ .ov-viking-bot__home-illustration > span {
7996
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
7997
+ border-radius: 8px;
7998
+ justify-content: center;
7999
+ align-items: center;
8000
+ width: 40px;
8001
+ height: 40px;
8002
+ display: flex;
8003
+ position: absolute;
8004
+ }
8005
+
8006
+ .ov-viking-bot__home-illustration svg {
8007
+ display: block;
8008
+ }
8009
+
8010
+ .ov-viking-bot__home-bulb {
8011
+ top: 28px;
8012
+ inset-inline-start: 0;
8013
+ transform: rotate(-6deg);
8014
+ }
8015
+
8016
+ .ov-viking-bot__home-book {
8017
+ top: 0;
8018
+ inset-inline-start: 44px;
8019
+ }
8020
+
8021
+ .ov-viking-bot__home-book path {
8022
+ stroke-width: 1.5px;
8023
+ vector-effect: non-scaling-stroke;
8024
+ }
8025
+
8026
+ .ov-viking-bot__home-video {
8027
+ top: 28px;
8028
+ inset-inline-end: 0;
8029
+ transform: rotate(6deg);
8030
+ }
8031
+
8032
+ .ov-viking-bot__home-text {
8033
+ flex-direction: column;
8034
+ gap: 8px;
8035
+ width: 100%;
8036
+ display: flex;
8037
+ }
8038
+
8039
+ .ov-viking-bot__home-text h2 {
8040
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
8041
+ font: inherit;
8042
+ margin: 0;
8043
+ font-size: 20px;
8044
+ font-weight: 400;
8045
+ line-height: 32px;
8046
+ }
8047
+
8048
+ .ov-viking-bot__home-text p {
8049
+ color: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
8050
+ letter-spacing: .039px;
8051
+ margin: 0;
8052
+ font-size: 13px;
8053
+ font-weight: 400;
8054
+ line-height: 22px;
8055
+ }
8056
+
8057
+ .ov-viking-bot__quick-inputs {
8058
+ flex-wrap: wrap;
8059
+ flex-shrink: 0;
8060
+ gap: 6px;
8061
+ width: 100%;
8062
+ padding-inline: 4px;
8063
+ display: flex;
8064
+ }
8065
+
8066
+ .ov-viking-bot__quick-inputs button {
8067
+ border: .5px solid var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
8068
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
8069
+ min-height: 32px;
8070
+ color: inherit;
8071
+ font: inherit;
8072
+ cursor: pointer;
8073
+ border-radius: 20px;
8074
+ align-items: center;
8075
+ gap: 4px;
8076
+ padding: 4px 12px;
8077
+ font-size: 13px;
8078
+ display: inline-flex;
8079
+ }
8080
+
8081
+ .ov-viking-bot__quick-inputs svg {
8082
+ width: 14px;
8083
+ height: 14px;
8084
+ display: block;
8085
+ }
8086
+
8087
+ .ov-viking-bot__session-actions {
8088
+ justify-content: flex-end;
8089
+ align-items: center;
8090
+ gap: 8px;
8091
+ margin-inline-start: auto;
8092
+ display: flex;
8093
+ }
8094
+
8095
+ .ov-viking-bot__header-action {
8096
+ width: 28px;
8097
+ height: 28px;
8098
+ color: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
8099
+ cursor: pointer;
8100
+ background: none;
8101
+ border: 0;
8102
+ border-radius: 8px;
8103
+ justify-content: center;
8104
+ align-items: center;
8105
+ padding: 0;
8106
+ display: inline-flex;
8107
+ }
8108
+
8109
+ .ov-viking-bot__header-action:hover, .ov-viking-bot__header-action[aria-expanded="true"], .ov-viking-bot__quick-inputs button:hover:not(:disabled) {
8110
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
8111
+ }
8112
+
8113
+ .ov-viking-bot__header-action > svg {
8114
+ width: 12px;
8115
+ height: 12px;
8116
+ display: block;
8117
+ }
8118
+
8119
+ .ov-viking-bot__header-action svg path {
8120
+ stroke-width: 1.25px;
8121
+ vector-effect: non-scaling-stroke;
8122
+ }
8123
+
8124
+ .ov-viking-bot__header {
8125
+ padding: 8px 16px;
8126
+ }
8127
+
8128
+ .ov-viking-bot__popover-anchor {
8129
+ display: inline-flex;
8130
+ }
8131
+
8132
+ .ov-viking-bot__popover {
8133
+ z-index: 1000;
8134
+ box-sizing: border-box;
8135
+ border: 1px solid var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
8136
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
8137
+ width: min(352px, 100vw - 16px);
8138
+ max-height: min(480px, 100vh - 32px);
8139
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
8140
+ box-shadow: 0 12px 32px
8141
+ color-mix(in srgb,
8142
+ var(--ov-ui-color-shadow, var(--ov-ui-shadow-default)) 12%,
8143
+ transparent);
8144
+ border-radius: 12px;
8145
+ margin: 0;
8146
+ padding: 12px;
8147
+ font-family: inherit;
8148
+ font-size: 13px;
8149
+ position: fixed;
8150
+ inset: auto;
8151
+ overflow: auto;
8152
+ }
8153
+
8154
+ .ov-viking-bot__popover--top {
8155
+ width: min(288px, 100vw - 16px);
8156
+ }
8157
+
8158
+ .ov-viking-bot__session-history ul {
8159
+ flex-direction: column;
8160
+ gap: 6px;
8161
+ margin: 0;
8162
+ padding: 0;
8163
+ list-style: none;
8164
+ display: flex;
8165
+ }
8166
+
8167
+ .ov-viking-bot__session-history li > button {
8168
+ width: 100%;
8169
+ color: inherit;
8170
+ text-align: start;
8171
+ font: inherit;
8172
+ cursor: pointer;
8173
+ background: none;
8174
+ border: 0;
8175
+ border-radius: 8px;
8176
+ flex-direction: column;
8177
+ gap: 6px;
8178
+ padding: 12px;
8179
+ display: flex;
8180
+ }
8181
+
8182
+ .ov-viking-bot__session-history li > button:hover, .ov-viking-bot__session-history button[aria-current="true"] {
8183
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
8184
+ }
8185
+
8186
+ .ov-viking-bot__session-history li span {
8187
+ text-overflow: ellipsis;
8188
+ white-space: nowrap;
8189
+ max-width: 100%;
8190
+ display: block;
8191
+ overflow: hidden;
8192
+ }
8193
+
8194
+ .ov-viking-bot__session-history time {
8195
+ color: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
8196
+ font-variant-numeric: tabular-nums;
8197
+ }
8198
+
8199
+ .ov-viking-bot__empty-history {
8200
+ min-height: 180px;
8201
+ color: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
8202
+ justify-content: center;
8203
+ align-items: center;
8204
+ display: flex;
8205
+ }
8206
+
8207
+ .ov-viking-bot__reference-picker {
8208
+ min-width: 0;
8209
+ }
8210
+
8211
+ .ov-viking-bot__reference-picker--mention {
8212
+ box-sizing: border-box;
8213
+ border: 1px solid var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
8214
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
8215
+ width: min(288px, 100vw - 16px);
8216
+ max-height: min(368px, 100vh - 32px);
8217
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
8218
+ box-shadow: 0 8px 24px
8219
+ color-mix(in srgb,
8220
+ var(--ov-ui-color-shadow, var(--ov-ui-shadow-default)) 12%,
8221
+ transparent);
8222
+ border-radius: 12px;
8223
+ padding: 12px;
8224
+ overflow: auto;
8225
+ }
8226
+
8227
+ .ov-viking-bot__reference-picker label {
8228
+ flex-direction: column;
8229
+ gap: 8px;
8230
+ margin-bottom: 8px;
8231
+ display: flex;
8232
+ }
8233
+
8234
+ .ov-viking-bot__reference-picker input {
8235
+ box-sizing: border-box;
8236
+ border: 1px solid var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
8237
+ background: var(--ov-ui-color-bg-1, var(--ov-ui-bg-1-default));
8238
+ width: 100%;
8239
+ color: inherit;
8240
+ font: inherit;
8241
+ border-radius: 6px;
8242
+ padding: 6px 8px;
8243
+ }
8244
+
8245
+ .ov-viking-bot__reference-picker input:focus {
8246
+ border-color: var(--ov-ui-color-focus, var(--ov-ui-focus-default));
8247
+ outline: none;
8248
+ }
8249
+
8250
+ .ov-viking-bot__reference-tags {
8251
+ flex-wrap: wrap;
8252
+ gap: 6px;
8253
+ margin: 0 0 8px;
8254
+ padding: 0;
8255
+ list-style: none;
8256
+ display: flex;
8257
+ }
8258
+
8259
+ .ov-viking-bot__reference-tags li {
8260
+ background: var(--ov-ui-color-bg-5, var(--ov-ui-bg-5-default));
8261
+ border-radius: 6px;
8262
+ align-items: center;
8263
+ gap: 4px;
8264
+ min-width: 0;
8265
+ max-width: 100%;
8266
+ padding: 4px 6px;
8267
+ display: inline-flex;
8268
+ }
8269
+
8270
+ .ov-viking-bot__reference-tags li > span {
8271
+ text-overflow: ellipsis;
8272
+ white-space: nowrap;
8273
+ min-width: 0;
8274
+ overflow: hidden;
8275
+ }
8276
+
8277
+ .ov-viking-bot__reference-tags button {
8278
+ color: inherit;
8279
+ cursor: pointer;
8280
+ background: none;
8281
+ border: 0;
8282
+ padding: 0 2px;
8283
+ }
8284
+
8285
+ .ov-viking-bot__quick-inputs button:focus-visible, .ov-viking-bot__header-action:focus-visible, .ov-viking-bot__session-history button:focus-visible, .ov-viking-bot__reference-tags button:focus-visible {
8286
+ outline: 2px solid var(--ov-ui-color-focus, var(--ov-ui-focus-default));
8287
+ outline-offset: 2px;
8288
+ }
8289
+
8290
+ .ov-viking-bot__quick-inputs button:disabled {
8291
+ opacity: .5;
8292
+ cursor: not-allowed;
8293
+ }
8294
+
8295
+ .ov-viking-bot__attach > svg {
8296
+ width: 10.208px;
8297
+ height: 10.208px;
8298
+ }
8299
+
8300
+ .ov-viking-bot__list {
8301
+ gap: 0;
8302
+ width: 100%;
8303
+ min-width: 0;
8304
+ padding: 0;
8305
+ }
8306
+
8307
+ .ov-viking-bot__message {
8308
+ gap: 6px;
8309
+ width: 100%;
8310
+ min-width: 0;
8311
+ }
8312
+
8313
+ .ov-viking-bot__message--user {
8314
+ box-sizing: border-box;
8315
+ padding-left: 32px;
8316
+ }
8317
+
8318
+ .ov-viking-bot__user-bubble {
8319
+ --agentic-bubble-content-max-width: 100%;
8320
+ --agentic-bubble-content-filled-bg: var(--ov-ui-color-bg-3, var(--ov-ui-bg-3-default));
8321
+ --agentic-bubble-content-padding-block: 12px;
8322
+ --agentic-bubble-content-padding-inline: 16px;
8323
+ --agentic-bubble-content-radius-default: 16px;
8324
+ --agentic-bubble-content-font-size: 14px;
8325
+ --agentic-bubble-content-line-height: 22px;
8326
+ width: min(88%, 960px);
8327
+ max-width: 100%;
8328
+ }
8329
+
8330
+ .ov-viking-bot__user-bubble .ark-agentic-bubble__content {
8331
+ inline-size: max-content;
8332
+ max-inline-size: 100%;
8333
+ }
8334
+
8335
+ .ov-viking-bot__user-bubble .ov-viking-bot__text {
8336
+ letter-spacing: .3px;
8337
+ font-family: PingFang SC, Noto Sans SC, sans-serif;
8338
+ font-size: 14px;
8339
+ }
8340
+
8341
+ .ov-viking-bot__text.ov-viking-bot__text--markdown {
8342
+ width: 100%;
8343
+ min-width: 0;
8344
+ max-width: 100%;
8345
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
8346
+ font-size: 13px;
8347
+ line-height: 22px;
8348
+ }
8349
+
8350
+ .ov-viking-bot__text--markdown :is(p, .ark-agentic-markdown__paragraph) {
8351
+ margin: 0;
8352
+ }
8353
+
8354
+ .ov-viking-bot__text--markdown :is(p, .ark-agentic-markdown__paragraph) + :is(p, .ark-agentic-markdown__paragraph) {
8355
+ margin-top: 8px;
8356
+ }
8357
+
8358
+ .ov-viking-bot__text--markdown .ark-agentic-markdown__paragraph:last-child, .ov-viking-bot__text--markdown .ark-agentic-markdown__list:last-child {
8359
+ margin-bottom: 0;
8360
+ }
8361
+
8362
+ .ov-viking-bot__message-footer {
8363
+ min-height: 20px;
8364
+ color: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
8365
+ opacity: 0;
8366
+ pointer-events: none;
8367
+ align-items: center;
8368
+ gap: 8px;
8369
+ font-size: 12px;
8370
+ line-height: 20px;
8371
+ transition: opacity .16s;
8372
+ display: inline-flex;
8373
+ }
8374
+
8375
+ .ov-viking-bot__message:hover .ov-viking-bot__message-footer, .ov-viking-bot__message:focus-within .ov-viking-bot__message-footer {
8376
+ opacity: 1;
8377
+ pointer-events: auto;
8378
+ }
8379
+
8380
+ .ov-viking-bot__message-footer time {
8381
+ white-space: nowrap;
8382
+ }
8383
+
8384
+ .ov-viking-bot__message-actions {
8385
+ margin-top: 10px;
8386
+ }
8387
+
8388
+ .ov-viking-bot__message-action {
8389
+ background: var(--ov-ui-color-bg-3, var(--ov-ui-bg-3-default));
8390
+ height: 36px;
8391
+ color: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
8392
+ border: 0;
8393
+ border-radius: 24px;
8394
+ padding: 0 16px;
8395
+ font-size: 13px;
8396
+ font-weight: 400;
8397
+ line-height: 22px;
8398
+ }
8399
+
8400
+ .ov-viking-bot__activity {
8401
+ width: min(88%, 960px);
8402
+ }
8403
+
8404
+ .ov-viking-bot__tool-details {
8405
+ flex-direction: column;
8406
+ gap: 12px;
8407
+ padding-top: 4px;
8408
+ display: flex;
8409
+ }
8410
+
8411
+ .ov-viking-bot__tool-payload-section {
8412
+ flex-direction: column;
8413
+ gap: 6px;
8414
+ min-width: 0;
8415
+ display: flex;
8416
+ }
8417
+
8418
+ .ov-viking-bot__tool-payload-label {
8419
+ color: var(--ov-ui-color-text-2, var(--ov-ui-text-2-default));
8420
+ font-size: 12px;
8421
+ font-weight: 500;
8422
+ line-height: 18px;
8423
+ }
8424
+
8425
+ .ov-viking-bot__tool-payload {
8426
+ max-height: 240px;
8427
+ overflow: auto;
8428
+ }
8429
+
8430
+ .ov-viking-bot__tool-results {
8431
+ flex-direction: column;
8432
+ gap: 6px;
8433
+ min-width: 0;
8434
+ display: flex;
8435
+ }
8436
+
8437
+ .ov-viking-bot__tool-result {
8438
+ border: .4px solid var(--ov-ui-color-border-3, var(--ov-ui-border-3-default));
8439
+ width: 100%;
8440
+ min-width: 0;
8441
+ height: 32px;
8442
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
8443
+ text-align: left;
8444
+ cursor: pointer;
8445
+ background: none;
8446
+ border-radius: 6px;
8447
+ align-items: center;
8448
+ gap: 4px;
8449
+ padding: 4px 8px;
8450
+ display: flex;
8451
+ overflow: hidden;
8452
+ }
8453
+
8454
+ .ov-viking-bot__tool-result:hover, .ov-viking-bot__tool-result:focus-visible {
8455
+ background: var(--ov-ui-color-bg-3, var(--ov-ui-bg-3-default));
8456
+ }
8457
+
8458
+ .ov-viking-bot__tool-result:disabled {
8459
+ cursor: default;
8460
+ }
8461
+
8462
+ .ov-viking-bot__tool-result-score {
8463
+ background: var(--ov-ui-color-bg-3, var(--ov-ui-bg-3-default));
8464
+ border-radius: 6px;
8465
+ flex-shrink: 0;
8466
+ align-items: center;
8467
+ height: 24px;
8468
+ padding: 2px 4px;
8469
+ font-size: 12px;
8470
+ font-weight: 400;
8471
+ line-height: 20px;
8472
+ display: inline-flex;
8473
+ }
8474
+
8475
+ .ov-viking-bot__tool-result-score strong {
8476
+ font-size: 13px;
8477
+ font-weight: 500;
8478
+ }
8479
+
8480
+ .ov-viking-bot__tool-result svg {
8481
+ flex-shrink: 0;
8482
+ }
8483
+
8484
+ .ov-viking-bot__tool-result-name {
8485
+ text-overflow: ellipsis;
8486
+ white-space: nowrap;
8487
+ flex-shrink: 0;
8488
+ max-width: 40%;
8489
+ font-size: 13px;
8490
+ font-weight: 500;
8491
+ line-height: 22px;
8492
+ overflow: hidden;
8493
+ }
8494
+
8495
+ .ov-viking-bot__tool-result-uri {
8496
+ min-width: 0;
8497
+ color: var(--ov-ui-color-text-3, var(--ov-ui-text-3-default));
8498
+ text-overflow: ellipsis;
8499
+ white-space: nowrap;
8500
+ flex: 1;
8501
+ font-size: 12px;
8502
+ font-weight: 400;
8503
+ line-height: 20px;
8504
+ overflow: hidden;
8505
+ }
8506
+
8507
+ .ov-viking-bot__activity .ark-agentic-activity-toolBlock[data-status="failed"] .ark-agentic-activity-toolRow__status {
8508
+ display: none;
8509
+ }
8510
+
8511
+ .ov-viking-bot__activity .ark-agentic-activity-toolBlock[data-status="failed"] .ark-agentic-activity-toolRow__icon, .ov-viking-bot__activity .ark-agentic-activity-toolBlock[data-status="failed"] .ark-agentic-activity-toolRow__title, .ov-viking-bot__activity .ark-agentic-activity-toolBlock[data-status="failed"] .ark-agentic-activity-toolRow__chevron {
8512
+ color: var(--ov-ui-color-status-error, var(--ov-ui-status-error-default));
8513
+ }
8514
+
8515
+ .ov-viking-bot__code {
8516
+ background: var(--ov-ui-color-code-bg, var(--ov-ui-code-bg-default));
8517
+ border-radius: 8px;
8518
+ min-width: 0;
8519
+ max-width: 100%;
8520
+ margin: 12px 0;
8521
+ position: relative;
8522
+ overflow: hidden;
8523
+ }
8524
+
8525
+ .ov-viking-bot__code .ark-agentic-markdown__code-block {
8526
+ background: none;
8527
+ border: 0;
8528
+ margin: 0;
8529
+ }
8530
+
8531
+ .ov-viking-bot__code .ov-viking-bot__code-copy {
8532
+ z-index: 1;
8533
+ position: absolute;
8534
+ top: 12px;
8535
+ right: 12px;
8536
+ }
8537
+
8538
+ .ov-viking-bot__code-copy .ark-agentic-bubble-tools__button {
8539
+ background: var(--ov-ui-color-bg-4, var(--ov-ui-bg-4-default));
8540
+ border-radius: 6px;
8541
+ width: 32px;
8542
+ height: 32px;
8543
+ padding: 10px;
8544
+ }
8545
+
8546
+ .ov-viking-bot__code pre {
8547
+ color: var(--ov-ui-color-text-1, var(--ov-ui-text-1-default));
8548
+ margin: 0 56px 0 0;
8549
+ padding: 16px 8px 16px 20px;
8550
+ font-family: Menlo, Monaco, Consolas, Courier New, monospace;
8551
+ font-size: 13px;
8552
+ line-height: 1.5;
8553
+ overflow-x: auto;
8554
+ }
8555
+
8556
+ .ov-viking-bot__code--wrap pre {
8557
+ white-space: pre-wrap;
8558
+ overflow-wrap: anywhere;
8559
+ }
8560
+
8561
+ .ov-viking-bot__code a, .ov-viking-bot__text--markdown a {
8562
+ color: var(--ov-ui-color-primary, var(--ov-ui-primary-default));
8563
+ }
8564
+
8565
+ @media (hover: none) {
8566
+ .ov-viking-bot__message-footer {
8567
+ opacity: 1;
8568
+ pointer-events: auto;
8569
+ }
8570
+ }
8571
+
7134
8572
 
7135
8573