@scalar/agent-chat 0.12.63 → 0.12.64
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.
- package/dist/package.json +1 -1
- package/dist/style.css +72 -106
- package/package.json +11 -11
package/dist/package.json
CHANGED
package/dist/style.css
CHANGED
|
@@ -1203,7 +1203,7 @@
|
|
|
1203
1203
|
margin-bottom: -1px;
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
|
-
:where(body, dialog) > .scalar-tooltip {
|
|
1206
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip {
|
|
1207
1207
|
--scalar-tooltip-padding-x: 8px;
|
|
1208
1208
|
--scalar-tooltip-padding-y: 6px;
|
|
1209
1209
|
padding: var(--scalar-tooltip-padding-y) var(--scalar-tooltip-padding-x);
|
|
@@ -1217,23 +1217,23 @@
|
|
|
1217
1217
|
color: var(--scalar-tooltip-color);
|
|
1218
1218
|
}
|
|
1219
1219
|
|
|
1220
|
-
:where(body, dialog) > .scalar-tooltip[data-side="top"] {
|
|
1220
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="top"] {
|
|
1221
1221
|
padding-bottom: calc(var(--scalar-tooltip-padding-y) + var(--scalar-tooltip-offset));
|
|
1222
1222
|
}
|
|
1223
1223
|
|
|
1224
|
-
:where(body, dialog) > .scalar-tooltip[data-side="bottom"] {
|
|
1224
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="bottom"] {
|
|
1225
1225
|
padding-top: calc(var(--scalar-tooltip-padding-y) + var(--scalar-tooltip-offset));
|
|
1226
1226
|
}
|
|
1227
1227
|
|
|
1228
|
-
:where(body, dialog) > .scalar-tooltip[data-side="left"] {
|
|
1228
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="left"] {
|
|
1229
1229
|
padding-right: calc(var(--scalar-tooltip-padding-x) + var(--scalar-tooltip-offset));
|
|
1230
1230
|
}
|
|
1231
1231
|
|
|
1232
|
-
:where(body, dialog) > .scalar-tooltip[data-side="right"] {
|
|
1232
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="right"] {
|
|
1233
1233
|
padding-left: calc(var(--scalar-tooltip-padding-x) + var(--scalar-tooltip-offset));
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
:where(body, dialog) > .scalar-tooltip:before {
|
|
1236
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip:before {
|
|
1237
1237
|
content: "";
|
|
1238
1238
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
1239
1239
|
z-index: calc(1 * -1);
|
|
@@ -1248,19 +1248,19 @@
|
|
|
1248
1248
|
inset: 0;
|
|
1249
1249
|
}
|
|
1250
1250
|
|
|
1251
|
-
:where(body, dialog) > .scalar-tooltip[data-side="top"]:before {
|
|
1251
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="top"]:before {
|
|
1252
1252
|
bottom: var(--scalar-tooltip-offset);
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
|
-
:where(body, dialog) > .scalar-tooltip[data-side="bottom"]:before {
|
|
1255
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="bottom"]:before {
|
|
1256
1256
|
top: var(--scalar-tooltip-offset);
|
|
1257
1257
|
}
|
|
1258
1258
|
|
|
1259
|
-
:where(body, dialog) > .scalar-tooltip[data-side="left"]:before {
|
|
1259
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="left"]:before {
|
|
1260
1260
|
right: var(--scalar-tooltip-offset);
|
|
1261
1261
|
}
|
|
1262
1262
|
|
|
1263
|
-
:where(body, dialog) > .scalar-tooltip[data-side="right"]:before {
|
|
1263
|
+
:where(body, dialog, .scalar-teleport-root) > .scalar-tooltip[data-side="right"]:before {
|
|
1264
1264
|
left: var(--scalar-tooltip-offset);
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
@@ -1710,24 +1710,24 @@
|
|
|
1710
1710
|
margin-left: .5px;
|
|
1711
1711
|
}
|
|
1712
1712
|
|
|
1713
|
-
[data-v-
|
|
1713
|
+
[data-v-df01e324] .cm-editor {
|
|
1714
1714
|
background: none;
|
|
1715
1715
|
outline: none;
|
|
1716
1716
|
height: 100%;
|
|
1717
1717
|
padding: 0;
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
[data-v-
|
|
1720
|
+
[data-v-df01e324] .cm-placeholder {
|
|
1721
1721
|
color: var(--scalar-color-3);
|
|
1722
1722
|
}
|
|
1723
1723
|
|
|
1724
|
-
[data-v-
|
|
1724
|
+
[data-v-df01e324] .cm-content {
|
|
1725
1725
|
font-family: var(--scalar-font-code);
|
|
1726
1726
|
font-size: var(--scalar-small);
|
|
1727
1727
|
padding: 8px 0;
|
|
1728
1728
|
}
|
|
1729
1729
|
|
|
1730
|
-
[data-v-
|
|
1730
|
+
[data-v-df01e324] .cm-tooltip {
|
|
1731
1731
|
border-radius: var(--scalar-radius);
|
|
1732
1732
|
box-shadow: var(--scalar-shadow-2);
|
|
1733
1733
|
background: var(--scalar-background-1) !important;
|
|
@@ -1736,47 +1736,47 @@
|
|
|
1736
1736
|
overflow: hidden !important;
|
|
1737
1737
|
}
|
|
1738
1738
|
|
|
1739
|
-
[data-v-
|
|
1739
|
+
[data-v-df01e324] .cm-tooltip-autocomplete ul li {
|
|
1740
1740
|
padding: 3px 6px !important;
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
|
-
[data-v-
|
|
1743
|
+
[data-v-df01e324] .cm-completionIcon-type:after {
|
|
1744
1744
|
color: var(--scalar-color-3) !important;
|
|
1745
1745
|
}
|
|
1746
1746
|
|
|
1747
|
-
[data-v-
|
|
1747
|
+
[data-v-df01e324] .cm-tooltip-autocomplete ul li[aria-selected] {
|
|
1748
1748
|
background: var(--scalar-background-2) !important;
|
|
1749
1749
|
color: var(--scalar-color-1) !important;
|
|
1750
1750
|
}
|
|
1751
1751
|
|
|
1752
|
-
[data-v-
|
|
1752
|
+
[data-v-df01e324] .cm-tooltip-autocomplete ul {
|
|
1753
1753
|
position: relative;
|
|
1754
1754
|
padding: 6px !important;
|
|
1755
1755
|
}
|
|
1756
1756
|
|
|
1757
|
-
[data-v-
|
|
1757
|
+
[data-v-df01e324] .cm-tooltip-autocomplete ul li:hover {
|
|
1758
1758
|
border-radius: 3px;
|
|
1759
1759
|
color: var(--scalar-color-1) !important;
|
|
1760
1760
|
background: var(--scalar-background-3) !important;
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
|
-
[data-v-
|
|
1763
|
+
[data-v-df01e324] .cm-activeLine, [data-v-df01e324] .cm-activeLineGutter {
|
|
1764
1764
|
background-color: #0000;
|
|
1765
1765
|
}
|
|
1766
1766
|
|
|
1767
|
-
[data-v-
|
|
1767
|
+
[data-v-df01e324] .cm-selectionMatch, [data-v-df01e324] .cm-matchingBracket {
|
|
1768
1768
|
border-radius: var(--scalar-radius);
|
|
1769
1769
|
background: var(--scalar-background-4) !important;
|
|
1770
1770
|
}
|
|
1771
1771
|
|
|
1772
|
-
[data-v-
|
|
1772
|
+
[data-v-df01e324] .cm-css-color-picker-wrapper {
|
|
1773
1773
|
outline: 1px solid var(--scalar-background-3);
|
|
1774
1774
|
border-radius: 3px;
|
|
1775
1775
|
display: inline-flex;
|
|
1776
1776
|
overflow: hidden;
|
|
1777
1777
|
}
|
|
1778
1778
|
|
|
1779
|
-
[data-v-
|
|
1779
|
+
[data-v-df01e324] .cm-gutters {
|
|
1780
1780
|
color: var(--scalar-color-3);
|
|
1781
1781
|
font-size: var(--scalar-small);
|
|
1782
1782
|
background-color: #0000;
|
|
@@ -1785,7 +1785,7 @@
|
|
|
1785
1785
|
line-height: 22px;
|
|
1786
1786
|
}
|
|
1787
1787
|
|
|
1788
|
-
[data-v-
|
|
1788
|
+
[data-v-df01e324] .cm-gutters:before {
|
|
1789
1789
|
content: "";
|
|
1790
1790
|
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
1791
1791
|
background-color: var(--scalar-background-1);
|
|
@@ -1796,7 +1796,7 @@
|
|
|
1796
1796
|
left: 2px;
|
|
1797
1797
|
}
|
|
1798
1798
|
|
|
1799
|
-
[data-v-
|
|
1799
|
+
[data-v-df01e324] .cm-gutterElement {
|
|
1800
1800
|
justify-content: flex-end;
|
|
1801
1801
|
align-items: center;
|
|
1802
1802
|
display: flex;
|
|
@@ -1806,27 +1806,27 @@
|
|
|
1806
1806
|
padding-right: 6px !important;
|
|
1807
1807
|
}
|
|
1808
1808
|
|
|
1809
|
-
[data-v-
|
|
1809
|
+
[data-v-df01e324] .cm-lineNumbers .cm-gutterElement {
|
|
1810
1810
|
min-width: fit-content;
|
|
1811
1811
|
}
|
|
1812
1812
|
|
|
1813
|
-
[data-v-
|
|
1813
|
+
[data-v-df01e324] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
|
|
1814
1814
|
padding-left: 0 !important;
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
[data-v-
|
|
1817
|
+
[data-v-df01e324] .cm-scroller {
|
|
1818
1818
|
overflow: auto;
|
|
1819
1819
|
}
|
|
1820
1820
|
|
|
1821
|
-
[data-v-
|
|
1821
|
+
[data-v-df01e324] .cm-lineWrapping .cm-line {
|
|
1822
1822
|
word-break: break-all;
|
|
1823
1823
|
}
|
|
1824
1824
|
|
|
1825
|
-
[data-v-
|
|
1825
|
+
[data-v-df01e324] .cm-content.cm-lineWrapping {
|
|
1826
1826
|
white-space: pre-wrap;
|
|
1827
1827
|
}
|
|
1828
1828
|
|
|
1829
|
-
.line-wrapping[data-v-
|
|
1829
|
+
.line-wrapping[data-v-df01e324]:focus-within .cm-content {
|
|
1830
1830
|
white-space: break-spaces;
|
|
1831
1831
|
word-break: break-all;
|
|
1832
1832
|
min-height: fit-content;
|
|
@@ -2240,12 +2240,12 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2240
2240
|
--scalar-address-bar-bg: var(--scalar-background-1);
|
|
2241
2241
|
}
|
|
2242
2242
|
|
|
2243
|
-
.app-exit-button[data-v-
|
|
2243
|
+
.app-exit-button[data-v-302f4cd3] {
|
|
2244
2244
|
color: #fff;
|
|
2245
2245
|
background: #0000001a;
|
|
2246
2246
|
}
|
|
2247
2247
|
|
|
2248
|
-
.app-exit-button[data-v-
|
|
2248
|
+
.app-exit-button[data-v-302f4cd3]:hover {
|
|
2249
2249
|
background: #ffffff1a;
|
|
2250
2250
|
}
|
|
2251
2251
|
|
|
@@ -2322,88 +2322,30 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2322
2322
|
margin-left: .5px;
|
|
2323
2323
|
}
|
|
2324
2324
|
|
|
2325
|
-
.scalar .scalar-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
border-radius: 8px;
|
|
2329
|
-
width: 100%;
|
|
2330
|
-
max-width: 1390px;
|
|
2331
|
-
height: calc(100% - 120px);
|
|
2332
|
-
margin: auto;
|
|
2333
|
-
position: relative;
|
|
2334
|
-
overflow: hidden;
|
|
2335
|
-
}
|
|
2336
|
-
|
|
2337
|
-
@media (max-width: 720px) and (max-height: 480px) {
|
|
2338
|
-
.scalar .scalar-app-layout[data-v-44c68ca5] {
|
|
2339
|
-
height: 100%;
|
|
2340
|
-
max-height: 90svh;
|
|
2341
|
-
}
|
|
2342
|
-
}
|
|
2343
|
-
|
|
2344
|
-
.scalar .scalar-app-exit[data-v-44c68ca5] {
|
|
2345
|
-
cursor: pointer;
|
|
2346
|
-
z-index: -1;
|
|
2347
|
-
background: #00000038;
|
|
2348
|
-
width: 100vw;
|
|
2349
|
-
height: 100vh;
|
|
2350
|
-
position: fixed;
|
|
2351
|
-
top: 0;
|
|
2352
|
-
left: 0;
|
|
2353
|
-
}
|
|
2354
|
-
|
|
2355
|
-
.dark-mode .scalar .scalar-app-exit[data-v-44c68ca5] {
|
|
2356
|
-
background: #00000073;
|
|
2357
|
-
}
|
|
2358
|
-
|
|
2359
|
-
.scalar .scalar-app-exit[data-v-44c68ca5]:before {
|
|
2360
|
-
text-align: center;
|
|
2361
|
-
color: #fff;
|
|
2362
|
-
opacity: .6;
|
|
2363
|
-
font-family: sans-serif;
|
|
2364
|
-
font-size: 30px;
|
|
2365
|
-
font-weight: 100;
|
|
2366
|
-
line-height: 50px;
|
|
2367
|
-
position: absolute;
|
|
2368
|
-
top: 0;
|
|
2369
|
-
right: 12px;
|
|
2370
|
-
}
|
|
2371
|
-
|
|
2372
|
-
.scalar .scalar-app-exit[data-v-44c68ca5]:hover:before {
|
|
2373
|
-
opacity: 1;
|
|
2325
|
+
.scalar-client[data-v-91e07dd5], .scalar-client[data-v-91e07dd5]::backdrop {
|
|
2326
|
+
opacity: 0;
|
|
2327
|
+
transition: opacity .35s, visibility 0s linear .35s;
|
|
2374
2328
|
}
|
|
2375
2329
|
|
|
2376
|
-
.scalar-
|
|
2377
|
-
visibility: hidden;
|
|
2378
|
-
opacity: 0;
|
|
2379
|
-
pointer-events: none;
|
|
2330
|
+
.scalar-client[data-v-91e07dd5] {
|
|
2380
2331
|
will-change: opacity;
|
|
2381
|
-
justify-content: center;
|
|
2382
|
-
align-items: center;
|
|
2383
|
-
width: 100%;
|
|
2384
|
-
height: 100%;
|
|
2385
|
-
transition: opacity .35s, visibility 0s linear .35s;
|
|
2386
|
-
display: flex;
|
|
2387
|
-
position: fixed;
|
|
2388
|
-
top: 0;
|
|
2389
|
-
bottom: 0;
|
|
2390
|
-
left: 0;
|
|
2391
|
-
overflow: hidden;
|
|
2392
2332
|
}
|
|
2393
2333
|
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
transition: opacity .35s;
|
|
2334
|
+
@supports (transition-behavior: allow-discrete) {
|
|
2335
|
+
.scalar-client[data-v-91e07dd5], .scalar-client[data-v-91e07dd5]::backdrop {
|
|
2336
|
+
transition: opacity .35s ease, visibility 0s linear .35s, overlay .35s allow-discrete;
|
|
2337
|
+
}
|
|
2399
2338
|
}
|
|
2400
2339
|
|
|
2401
|
-
.scalar .
|
|
2402
|
-
|
|
2340
|
+
.scalar-client[open][data-v-91e07dd5], .scalar-client[open][data-v-91e07dd5]::backdrop {
|
|
2341
|
+
opacity: 1;
|
|
2342
|
+
transition-delay: 0s;
|
|
2403
2343
|
}
|
|
2404
2344
|
|
|
2405
|
-
|
|
2406
|
-
|
|
2345
|
+
@starting-style {
|
|
2346
|
+
.scalar-client[open][data-v-91e07dd5]::backdrop {
|
|
2347
|
+
opacity: 0;
|
|
2348
|
+
}
|
|
2407
2349
|
}
|
|
2408
2350
|
|
|
2409
2351
|
.ref-search-meta[data-v-6ea0d1fb] {
|
|
@@ -2834,6 +2776,10 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2834
2776
|
height: var(--scalar-address-bar-height);
|
|
2835
2777
|
}
|
|
2836
2778
|
|
|
2779
|
+
.scalar-app .h-\[calc\(100\%-120px\)\] {
|
|
2780
|
+
height: calc(100% - 120px);
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2837
2783
|
.scalar-app .h-\[calc\(100\%_-_50px\)\] {
|
|
2838
2784
|
height: calc(100% - 50px);
|
|
2839
2785
|
}
|
|
@@ -3022,6 +2968,10 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3022
2968
|
max-width: 1000px;
|
|
3023
2969
|
}
|
|
3024
2970
|
|
|
2971
|
+
.scalar-app .max-w-\[1390px\] {
|
|
2972
|
+
max-width: 1390px;
|
|
2973
|
+
}
|
|
2974
|
+
|
|
3025
2975
|
.scalar-app .max-w-\[inherit\] {
|
|
3026
2976
|
max-width: inherit;
|
|
3027
2977
|
}
|
|
@@ -3340,6 +3290,10 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3340
3290
|
border-radius: var(--scalar-radius-lg);
|
|
3341
3291
|
}
|
|
3342
3292
|
|
|
3293
|
+
.scalar-app .rounded-\[8px\] {
|
|
3294
|
+
border-radius: 8px;
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3343
3297
|
.scalar-app .rounded-\[999px\] {
|
|
3344
3298
|
border-radius: 999px;
|
|
3345
3299
|
}
|
|
@@ -4064,6 +4018,18 @@ input[data-v-029a43f5]::placeholder {
|
|
|
4064
4018
|
border-top-width: 1px;
|
|
4065
4019
|
}
|
|
4066
4020
|
|
|
4021
|
+
.scalar-app .not-open\:pointer-events-none:not(:is([open], :popover-open, :open)) {
|
|
4022
|
+
pointer-events: none;
|
|
4023
|
+
}
|
|
4024
|
+
|
|
4025
|
+
.scalar-app .not-open\:invisible:not(:is([open], :popover-open, :open)) {
|
|
4026
|
+
visibility: hidden;
|
|
4027
|
+
}
|
|
4028
|
+
|
|
4029
|
+
.scalar-app .not-open\:block:not(:is([open], :popover-open, :open)) {
|
|
4030
|
+
display: block;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4067
4033
|
.scalar-app .not-open\:hidden:not(:is([open], :popover-open, :open)) {
|
|
4068
4034
|
display: none;
|
|
4069
4035
|
}
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "git+https://github.com/scalar/scalar.git",
|
|
11
11
|
"directory": "packages/agent-chat"
|
|
12
12
|
},
|
|
13
|
-
"version": "0.12.
|
|
13
|
+
"version": "0.12.64",
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=22"
|
|
16
16
|
},
|
|
@@ -46,18 +46,18 @@
|
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@ai-sdk/vue": "4.0.185",
|
|
49
|
-
"@scalar/api-client": "3.
|
|
50
|
-
"@scalar/components": "0.
|
|
51
|
-
"@scalar/helpers": "0.21.
|
|
49
|
+
"@scalar/api-client": "3.31.0",
|
|
50
|
+
"@scalar/components": "0.38.0",
|
|
51
|
+
"@scalar/helpers": "0.21.2",
|
|
52
52
|
"@scalar/icons": "0.7.12",
|
|
53
|
-
"@scalar/json-magic": "0.24.
|
|
53
|
+
"@scalar/json-magic": "0.24.2",
|
|
54
54
|
"@scalar/openapi-types": "0.9.10",
|
|
55
|
-
"@scalar/schemas": "0.
|
|
56
|
-
"@scalar/themes": "0.
|
|
57
|
-
"@scalar/types": "0.
|
|
58
|
-
"@scalar/use-toasts": "0.
|
|
55
|
+
"@scalar/schemas": "0.23.0",
|
|
56
|
+
"@scalar/themes": "0.23.0",
|
|
57
|
+
"@scalar/types": "0.35.0",
|
|
58
|
+
"@scalar/use-toasts": "0.11.0",
|
|
59
59
|
"@scalar/validation": "0.6.9",
|
|
60
|
-
"@scalar/workspace-store": "0.79.
|
|
60
|
+
"@scalar/workspace-store": "0.79.3",
|
|
61
61
|
"@vueuse/core": "15.1.0",
|
|
62
62
|
"ai": "7.0.185",
|
|
63
63
|
"js-base64": "^3.9.8",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"vue": "^3.5.46"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@scalar/sidebar": "0.13.
|
|
69
|
+
"@scalar/sidebar": "0.13.8",
|
|
70
70
|
"@tailwindcss/cli": "^4.3.5",
|
|
71
71
|
"@tailwindcss/vite": "^4.3.5",
|
|
72
72
|
"@types/jsdom": "30.0.0",
|