@hachej/boring-agent 0.1.92 → 0.1.94
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/{chunk-IWBC6SF7.js → chunk-2TMS2RU2.js} +15 -2
- package/dist/{chunk-CJ2BW2W2.js → chunk-EOMY2HDT.js} +1 -0
- package/dist/{chunk-V3ZD3T3G.js → chunk-N4AATPH7.js} +258 -76
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +1 -1
- package/dist/{createHarness-PMYRKDE4.js → createHarness-UCD74XXK.js} +1 -1
- package/dist/{errors-C38f6pol.d.ts → errors-G6T6S7PQ.d.ts} +2 -0
- package/dist/front/index.d.ts +71 -8
- package/dist/front/index.js +910 -619
- package/dist/front/styles.css +253 -109
- package/dist/{lease-BqeCLGPL.d.ts → lease-CusB-uLg.d.ts} +3 -1
- package/dist/{piChatSessionService-BrPqKrpY.d.ts → piChatSessionService-C0KbcGw9.d.ts} +7 -1
- package/dist/server/agent-host/testing/gatewayConformance.d.ts +3 -3
- package/dist/server/agent-host/testing/gatewayConformance.js +77 -0
- package/dist/server/index.d.ts +44 -5
- package/dist/server/index.js +3 -3
- package/dist/server/worker/index.js +3 -3
- package/dist/shared/index.d.ts +4 -4
- package/dist/{types-uQozUhGt.d.ts → types-C-Eroi__.d.ts} +2 -2
- package/docs/AGENT_GATEWAY_V0.md +152 -0
- package/package.json +4 -4
package/dist/front/styles.css
CHANGED
|
@@ -27,6 +27,12 @@
|
|
|
27
27
|
--text-base--line-height: calc(1.5 / 1);
|
|
28
28
|
--text-lg: 1.125rem;
|
|
29
29
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
30
|
+
--text-xl: 1.25rem;
|
|
31
|
+
--text-xl--line-height: calc(1.75 / 1.25);
|
|
32
|
+
--text-2xl: 1.5rem;
|
|
33
|
+
--text-2xl--line-height: calc(2 / 1.5);
|
|
34
|
+
--text-3xl: 1.875rem;
|
|
35
|
+
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
30
36
|
--font-weight-normal: 400;
|
|
31
37
|
--font-weight-medium: 500;
|
|
32
38
|
--font-weight-semibold: 600;
|
|
@@ -149,6 +155,9 @@
|
|
|
149
155
|
.m-0 {
|
|
150
156
|
margin: 0;
|
|
151
157
|
}
|
|
158
|
+
.mx-0\.5 {
|
|
159
|
+
margin-inline: calc(var(--spacing) * 0.5);
|
|
160
|
+
}
|
|
152
161
|
.mx-2 {
|
|
153
162
|
margin-inline: calc(var(--spacing) * 2);
|
|
154
163
|
}
|
|
@@ -188,6 +197,9 @@
|
|
|
188
197
|
.mt-4 {
|
|
189
198
|
margin-top: calc(var(--spacing) * 4);
|
|
190
199
|
}
|
|
200
|
+
.mt-6 {
|
|
201
|
+
margin-top: calc(var(--spacing) * 6);
|
|
202
|
+
}
|
|
191
203
|
.mt-8 {
|
|
192
204
|
margin-top: calc(var(--spacing) * 8);
|
|
193
205
|
}
|
|
@@ -215,9 +227,6 @@
|
|
|
215
227
|
.mb-2 {
|
|
216
228
|
margin-bottom: calc(var(--spacing) * 2);
|
|
217
229
|
}
|
|
218
|
-
.\!ml-auto {
|
|
219
|
-
margin-left: auto !important;
|
|
220
|
-
}
|
|
221
230
|
.ml-1 {
|
|
222
231
|
margin-left: var(--spacing);
|
|
223
232
|
}
|
|
@@ -257,9 +266,15 @@
|
|
|
257
266
|
.inline-flex {
|
|
258
267
|
display: inline-flex;
|
|
259
268
|
}
|
|
269
|
+
.list-item {
|
|
270
|
+
display: list-item;
|
|
271
|
+
}
|
|
260
272
|
.table {
|
|
261
273
|
display: table;
|
|
262
274
|
}
|
|
275
|
+
.table-cell {
|
|
276
|
+
display: table-cell;
|
|
277
|
+
}
|
|
263
278
|
.\[field-sizing\:fixed\] {
|
|
264
279
|
field-sizing: fixed;
|
|
265
280
|
}
|
|
@@ -395,6 +410,12 @@
|
|
|
395
410
|
.min-h-6 {
|
|
396
411
|
min-height: calc(var(--spacing) * 6);
|
|
397
412
|
}
|
|
413
|
+
.min-h-7 {
|
|
414
|
+
min-height: calc(var(--spacing) * 7);
|
|
415
|
+
}
|
|
416
|
+
.min-h-10 {
|
|
417
|
+
min-height: calc(var(--spacing) * 10);
|
|
418
|
+
}
|
|
398
419
|
.min-h-16 {
|
|
399
420
|
min-height: calc(var(--spacing) * 16);
|
|
400
421
|
}
|
|
@@ -404,9 +425,6 @@
|
|
|
404
425
|
.\!w-auto {
|
|
405
426
|
width: auto !important;
|
|
406
427
|
}
|
|
407
|
-
.\!w-full {
|
|
408
|
-
width: 100% !important;
|
|
409
|
-
}
|
|
410
428
|
.w-1 {
|
|
411
429
|
width: var(--spacing);
|
|
412
430
|
}
|
|
@@ -461,15 +479,9 @@
|
|
|
461
479
|
.w-px {
|
|
462
480
|
width: 1px;
|
|
463
481
|
}
|
|
464
|
-
.\!max-w-\[80\%\] {
|
|
465
|
-
max-width: 80% !important;
|
|
466
|
-
}
|
|
467
482
|
.\!max-w-\[180px\] {
|
|
468
483
|
max-width: 180px !important;
|
|
469
484
|
}
|
|
470
|
-
.\!max-w-full {
|
|
471
|
-
max-width: 100% !important;
|
|
472
|
-
}
|
|
473
485
|
.max-w-2xl {
|
|
474
486
|
max-width: var(--container-2xl);
|
|
475
487
|
}
|
|
@@ -479,9 +491,6 @@
|
|
|
479
491
|
.max-w-\[45\%\] {
|
|
480
492
|
max-width: 45%;
|
|
481
493
|
}
|
|
482
|
-
.max-w-\[95\%\] {
|
|
483
|
-
max-width: 95%;
|
|
484
|
-
}
|
|
485
494
|
.max-w-\[220px\] {
|
|
486
495
|
max-width: 220px;
|
|
487
496
|
}
|
|
@@ -552,9 +561,6 @@
|
|
|
552
561
|
.grid-cols-1 {
|
|
553
562
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
554
563
|
}
|
|
555
|
-
.grid-cols-\[auto_1fr\] {
|
|
556
|
-
grid-template-columns: auto 1fr;
|
|
557
|
-
}
|
|
558
564
|
.flex-col {
|
|
559
565
|
flex-direction: column;
|
|
560
566
|
}
|
|
@@ -588,9 +594,6 @@
|
|
|
588
594
|
.justify-start {
|
|
589
595
|
justify-content: flex-start;
|
|
590
596
|
}
|
|
591
|
-
.\!gap-1\.5 {
|
|
592
|
-
gap: calc(var(--spacing) * 1.5) !important;
|
|
593
|
-
}
|
|
594
597
|
.\!gap-2 {
|
|
595
598
|
gap: calc(var(--spacing) * 2) !important;
|
|
596
599
|
}
|
|
@@ -659,9 +662,6 @@
|
|
|
659
662
|
text-overflow: ellipsis;
|
|
660
663
|
white-space: nowrap;
|
|
661
664
|
}
|
|
662
|
-
.\!overflow-visible {
|
|
663
|
-
overflow: visible !important;
|
|
664
|
-
}
|
|
665
665
|
.overflow-auto {
|
|
666
666
|
overflow: auto;
|
|
667
667
|
}
|
|
@@ -680,8 +680,8 @@
|
|
|
680
680
|
.overflow-y-hidden {
|
|
681
681
|
overflow-y: hidden;
|
|
682
682
|
}
|
|
683
|
-
|
|
684
|
-
|
|
683
|
+
.overscroll-contain {
|
|
684
|
+
overscroll-behavior: contain;
|
|
685
685
|
}
|
|
686
686
|
.\!rounded-full {
|
|
687
687
|
border-radius: calc(infinity * 1px) !important;
|
|
@@ -844,6 +844,12 @@
|
|
|
844
844
|
border-color: color-mix(in oklab, var(--border) 60%, transparent);
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
+
.border-border\/70 {
|
|
848
|
+
border-color: var(--border);
|
|
849
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
850
|
+
border-color: color-mix(in oklab, var(--border) 70%, transparent);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
847
853
|
.border-border\/80 {
|
|
848
854
|
border-color: var(--border);
|
|
849
855
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -874,18 +880,6 @@
|
|
|
874
880
|
border-color: color-mix(in oklab, var(--destructive) 40%, transparent);
|
|
875
881
|
}
|
|
876
882
|
}
|
|
877
|
-
.border-input\/40 {
|
|
878
|
-
border-color: var(--input);
|
|
879
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
880
|
-
border-color: color-mix(in oklab, var(--input) 40%, transparent);
|
|
881
|
-
}
|
|
882
|
-
}
|
|
883
|
-
.border-input\/60 {
|
|
884
|
-
border-color: var(--input);
|
|
885
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
886
|
-
border-color: color-mix(in oklab, var(--input) 60%, transparent);
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
883
|
.border-primary\/25 {
|
|
890
884
|
border-color: var(--primary);
|
|
891
885
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -913,9 +907,6 @@
|
|
|
913
907
|
background-color: color-mix(in oklab, var(--muted) 40%, transparent) !important;
|
|
914
908
|
}
|
|
915
909
|
}
|
|
916
|
-
.\!bg-secondary {
|
|
917
|
-
background-color: var(--secondary) !important;
|
|
918
|
-
}
|
|
919
910
|
.\!bg-transparent {
|
|
920
911
|
background-color: transparent !important;
|
|
921
912
|
}
|
|
@@ -994,12 +985,6 @@
|
|
|
994
985
|
.bg-accent {
|
|
995
986
|
background-color: var(--accent);
|
|
996
987
|
}
|
|
997
|
-
.bg-accent\/5 {
|
|
998
|
-
background-color: var(--accent);
|
|
999
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1000
|
-
background-color: color-mix(in oklab, var(--accent) 5%, transparent);
|
|
1001
|
-
}
|
|
1002
|
-
}
|
|
1003
988
|
.bg-accent\/10 {
|
|
1004
989
|
background-color: var(--accent);
|
|
1005
990
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1069,12 +1054,6 @@
|
|
|
1069
1054
|
background-color: color-mix(in oklab, var(--border) 70%, transparent);
|
|
1070
1055
|
}
|
|
1071
1056
|
}
|
|
1072
|
-
.bg-card\/40 {
|
|
1073
|
-
background-color: var(--card);
|
|
1074
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1075
|
-
background-color: color-mix(in oklab, var(--card) 40%, transparent);
|
|
1076
|
-
}
|
|
1077
|
-
}
|
|
1078
1057
|
.bg-card\/60 {
|
|
1079
1058
|
background-color: var(--card);
|
|
1080
1059
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1090,12 +1069,6 @@
|
|
|
1090
1069
|
.bg-destructive {
|
|
1091
1070
|
background-color: var(--destructive);
|
|
1092
1071
|
}
|
|
1093
|
-
.bg-destructive\/5 {
|
|
1094
|
-
background-color: var(--destructive);
|
|
1095
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1096
|
-
background-color: color-mix(in oklab, var(--destructive) 5%, transparent);
|
|
1097
|
-
}
|
|
1098
|
-
}
|
|
1099
1072
|
.bg-destructive\/10 {
|
|
1100
1073
|
background-color: var(--destructive);
|
|
1101
1074
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1204,9 +1177,6 @@
|
|
|
1204
1177
|
.object-cover {
|
|
1205
1178
|
object-fit: cover;
|
|
1206
1179
|
}
|
|
1207
|
-
.\!p-0 {
|
|
1208
|
-
padding: 0 !important;
|
|
1209
|
-
}
|
|
1210
1180
|
.p-0 {
|
|
1211
1181
|
padding: 0;
|
|
1212
1182
|
}
|
|
@@ -1216,6 +1186,9 @@
|
|
|
1216
1186
|
.p-1 {
|
|
1217
1187
|
padding: var(--spacing);
|
|
1218
1188
|
}
|
|
1189
|
+
.p-1\.5 {
|
|
1190
|
+
padding: calc(var(--spacing) * 1.5);
|
|
1191
|
+
}
|
|
1219
1192
|
.p-2 {
|
|
1220
1193
|
padding: calc(var(--spacing) * 2);
|
|
1221
1194
|
}
|
|
@@ -1237,9 +1210,6 @@
|
|
|
1237
1210
|
.\!px-2 {
|
|
1238
1211
|
padding-inline: calc(var(--spacing) * 2) !important;
|
|
1239
1212
|
}
|
|
1240
|
-
.\!px-4 {
|
|
1241
|
-
padding-inline: calc(var(--spacing) * 4) !important;
|
|
1242
|
-
}
|
|
1243
1213
|
.px-0 {
|
|
1244
1214
|
padding-inline: 0;
|
|
1245
1215
|
}
|
|
@@ -1276,9 +1246,6 @@
|
|
|
1276
1246
|
.\!py-0 {
|
|
1277
1247
|
padding-block: 0 !important;
|
|
1278
1248
|
}
|
|
1279
|
-
.\!py-2\.5 {
|
|
1280
|
-
padding-block: calc(var(--spacing) * 2.5) !important;
|
|
1281
|
-
}
|
|
1282
1249
|
.py-0 {
|
|
1283
1250
|
padding-block: 0;
|
|
1284
1251
|
}
|
|
@@ -1315,9 +1282,6 @@
|
|
|
1315
1282
|
.py-px {
|
|
1316
1283
|
padding-block: 1px;
|
|
1317
1284
|
}
|
|
1318
|
-
.pt-0 {
|
|
1319
|
-
padding-top: 0;
|
|
1320
|
-
}
|
|
1321
1285
|
.pt-1 {
|
|
1322
1286
|
padding-top: var(--spacing);
|
|
1323
1287
|
}
|
|
@@ -1379,10 +1343,30 @@
|
|
|
1379
1343
|
font-size: var(--text-xs) !important;
|
|
1380
1344
|
line-height: var(--tw-leading, var(--text-xs--line-height)) !important;
|
|
1381
1345
|
}
|
|
1346
|
+
.text-2xl {
|
|
1347
|
+
font-size: var(--text-2xl);
|
|
1348
|
+
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
|
1349
|
+
}
|
|
1350
|
+
.text-3xl {
|
|
1351
|
+
font-size: var(--text-3xl);
|
|
1352
|
+
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
|
1353
|
+
}
|
|
1354
|
+
.text-base {
|
|
1355
|
+
font-size: var(--text-base);
|
|
1356
|
+
line-height: var(--tw-leading, var(--text-base--line-height));
|
|
1357
|
+
}
|
|
1358
|
+
.text-lg {
|
|
1359
|
+
font-size: var(--text-lg);
|
|
1360
|
+
line-height: var(--tw-leading, var(--text-lg--line-height));
|
|
1361
|
+
}
|
|
1382
1362
|
.text-sm {
|
|
1383
1363
|
font-size: var(--text-sm);
|
|
1384
1364
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
1385
1365
|
}
|
|
1366
|
+
.text-xl {
|
|
1367
|
+
font-size: var(--text-xl);
|
|
1368
|
+
line-height: var(--tw-leading, var(--text-xl--line-height));
|
|
1369
|
+
}
|
|
1386
1370
|
.text-xs {
|
|
1387
1371
|
font-size: var(--text-xs);
|
|
1388
1372
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
@@ -1459,6 +1443,14 @@
|
|
|
1459
1443
|
--tw-font-weight: var(--font-weight-medium);
|
|
1460
1444
|
font-weight: var(--font-weight-medium);
|
|
1461
1445
|
}
|
|
1446
|
+
.font-normal {
|
|
1447
|
+
--tw-font-weight: var(--font-weight-normal);
|
|
1448
|
+
font-weight: var(--font-weight-normal);
|
|
1449
|
+
}
|
|
1450
|
+
.font-semibold {
|
|
1451
|
+
--tw-font-weight: var(--font-weight-semibold);
|
|
1452
|
+
font-weight: var(--font-weight-semibold);
|
|
1453
|
+
}
|
|
1462
1454
|
.tracking-\[-0\.02em\] {
|
|
1463
1455
|
--tw-tracking: -0.02em;
|
|
1464
1456
|
letter-spacing: -0.02em;
|
|
@@ -1503,9 +1495,6 @@
|
|
|
1503
1495
|
color: color-mix(in oklab, var(--muted-foreground) 75%, transparent) !important;
|
|
1504
1496
|
}
|
|
1505
1497
|
}
|
|
1506
|
-
.\!text-secondary-foreground {
|
|
1507
|
-
color: var(--secondary-foreground) !important;
|
|
1508
|
-
}
|
|
1509
1498
|
.text-\[color\:var\(--accent\)\] {
|
|
1510
1499
|
color: var(--accent);
|
|
1511
1500
|
}
|
|
@@ -1569,12 +1558,6 @@
|
|
|
1569
1558
|
.text-accent-foreground {
|
|
1570
1559
|
color: var(--accent-foreground);
|
|
1571
1560
|
}
|
|
1572
|
-
.text-accent\/80 {
|
|
1573
|
-
color: var(--accent);
|
|
1574
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1575
|
-
color: color-mix(in oklab, var(--accent) 80%, transparent);
|
|
1576
|
-
}
|
|
1577
|
-
}
|
|
1578
1561
|
.text-amber-600 {
|
|
1579
1562
|
color: var(--color-amber-600);
|
|
1580
1563
|
}
|
|
@@ -1590,12 +1573,6 @@
|
|
|
1590
1573
|
color: color-mix(in oklab, var(--destructive) 60%, transparent);
|
|
1591
1574
|
}
|
|
1592
1575
|
}
|
|
1593
|
-
.text-destructive\/70 {
|
|
1594
|
-
color: var(--destructive);
|
|
1595
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1596
|
-
color: color-mix(in oklab, var(--destructive) 70%, transparent);
|
|
1597
|
-
}
|
|
1598
|
-
}
|
|
1599
1576
|
.text-destructive\/90 {
|
|
1600
1577
|
color: var(--destructive);
|
|
1601
1578
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1720,6 +1697,9 @@
|
|
|
1720
1697
|
.underline {
|
|
1721
1698
|
text-decoration-line: underline;
|
|
1722
1699
|
}
|
|
1700
|
+
.underline-offset-2 {
|
|
1701
|
+
text-underline-offset: 2px;
|
|
1702
|
+
}
|
|
1723
1703
|
.antialiased {
|
|
1724
1704
|
-webkit-font-smoothing: antialiased;
|
|
1725
1705
|
-moz-osx-font-smoothing: grayscale;
|
|
@@ -1932,6 +1912,26 @@
|
|
|
1932
1912
|
rotate: 180deg;
|
|
1933
1913
|
}
|
|
1934
1914
|
}
|
|
1915
|
+
.group-\[\.is-assistant\]\:w-full {
|
|
1916
|
+
&:is(:where(.group):is(.is-assistant) *) {
|
|
1917
|
+
width: 100%;
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
.group-\[\.is-assistant\]\:max-w-\[40\.5rem\] {
|
|
1921
|
+
&:is(:where(.group):is(.is-assistant) *) {
|
|
1922
|
+
max-width: 40.5rem;
|
|
1923
|
+
}
|
|
1924
|
+
}
|
|
1925
|
+
.group-\[\.is-assistant\]\:bg-transparent {
|
|
1926
|
+
&:is(:where(.group):is(.is-assistant) *) {
|
|
1927
|
+
background-color: transparent;
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
.group-\[\.is-assistant\]\:p-0 {
|
|
1931
|
+
&:is(:where(.group):is(.is-assistant) *) {
|
|
1932
|
+
padding: 0;
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
1935
|
.group-\[\.is-assistant\]\:text-foreground {
|
|
1936
1936
|
&:is(:where(.group):is(.is-assistant) *) {
|
|
1937
1937
|
color: var(--foreground);
|
|
@@ -1942,7 +1942,12 @@
|
|
|
1942
1942
|
margin-left: auto;
|
|
1943
1943
|
}
|
|
1944
1944
|
}
|
|
1945
|
-
.group-\[\.is-user\]\:
|
|
1945
|
+
.group-\[\.is-user\]\:max-w-\[80\%\] {
|
|
1946
|
+
&:is(:where(.group):is(.is-user) *) {
|
|
1947
|
+
max-width: 80%;
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
.group-\[\.is-user\]\:rounded-\[var\(--radius-lg\)\] {
|
|
1946
1951
|
&:is(:where(.group):is(.is-user) *) {
|
|
1947
1952
|
border-radius: var(--radius-lg);
|
|
1948
1953
|
}
|
|
@@ -1957,9 +1962,9 @@
|
|
|
1957
1962
|
padding-inline: calc(var(--spacing) * 4);
|
|
1958
1963
|
}
|
|
1959
1964
|
}
|
|
1960
|
-
.group-\[\.is-user\]\:py-
|
|
1965
|
+
.group-\[\.is-user\]\:py-2\.5 {
|
|
1961
1966
|
&:is(:where(.group):is(.is-user) *) {
|
|
1962
|
-
padding-block: calc(var(--spacing) *
|
|
1967
|
+
padding-block: calc(var(--spacing) * 2.5);
|
|
1963
1968
|
}
|
|
1964
1969
|
}
|
|
1965
1970
|
.group-\[\.is-user\]\:text-foreground {
|
|
@@ -2039,6 +2044,11 @@
|
|
|
2039
2044
|
border-width: 0px;
|
|
2040
2045
|
}
|
|
2041
2046
|
}
|
|
2047
|
+
.empty\:hidden {
|
|
2048
|
+
&:empty {
|
|
2049
|
+
display: none;
|
|
2050
|
+
}
|
|
2051
|
+
}
|
|
2042
2052
|
.focus-within\:shadow-\[0_1px_3px_-1px_oklch\(0_0_0\/0\.08\)\,0_10px_28px_-14px_oklch\(0_0_0\/0\.16\)\,inset_0_0_0_1px_oklch\(from_var\(--accent\)_l_c_h\/0\.45\)\] {
|
|
2043
2053
|
&:focus-within {
|
|
2044
2054
|
--tw-shadow: 0 1px 3px -1px var(--tw-shadow-color, oklch(0 0 0/0.08)), 0 10px 28px -14px var(--tw-shadow-color, oklch(0 0 0/0.16)), inset 0 0 0 1px var(--tw-shadow-color, oklch(from var(--accent) l c h/0.45));
|
|
@@ -2058,16 +2068,6 @@
|
|
|
2058
2068
|
}
|
|
2059
2069
|
}
|
|
2060
2070
|
}
|
|
2061
|
-
.hover\:border-border\/70 {
|
|
2062
|
-
&:hover {
|
|
2063
|
-
@media (hover: hover) {
|
|
2064
|
-
border-color: var(--border);
|
|
2065
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2066
|
-
border-color: color-mix(in oklab, var(--border) 70%, transparent);
|
|
2067
|
-
}
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
}
|
|
2071
2071
|
.hover\:border-border\/80 {
|
|
2072
2072
|
&:hover {
|
|
2073
2073
|
@media (hover: hover) {
|
|
@@ -2136,16 +2136,6 @@
|
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
2138
|
}
|
|
2139
|
-
.hover\:bg-card\/70 {
|
|
2140
|
-
&:hover {
|
|
2141
|
-
@media (hover: hover) {
|
|
2142
|
-
background-color: var(--card);
|
|
2143
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2144
|
-
background-color: color-mix(in oklab, var(--card) 70%, transparent);
|
|
2145
|
-
}
|
|
2146
|
-
}
|
|
2147
|
-
}
|
|
2148
|
-
}
|
|
2149
2139
|
.hover\:bg-destructive\/10 {
|
|
2150
2140
|
&:hover {
|
|
2151
2141
|
@media (hover: hover) {
|
|
@@ -2233,6 +2223,16 @@
|
|
|
2233
2223
|
}
|
|
2234
2224
|
}
|
|
2235
2225
|
}
|
|
2226
|
+
.hover\:bg-muted\/70 {
|
|
2227
|
+
&:hover {
|
|
2228
|
+
@media (hover: hover) {
|
|
2229
|
+
background-color: var(--muted);
|
|
2230
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2231
|
+
background-color: color-mix(in oklab, var(--muted) 70%, transparent);
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
2236
|
.hover\:bg-primary\/10 {
|
|
2237
2237
|
&:hover {
|
|
2238
2238
|
@media (hover: hover) {
|
|
@@ -2329,6 +2329,13 @@
|
|
|
2329
2329
|
}
|
|
2330
2330
|
}
|
|
2331
2331
|
}
|
|
2332
|
+
.hover\:underline {
|
|
2333
|
+
&:hover {
|
|
2334
|
+
@media (hover: hover) {
|
|
2335
|
+
text-decoration-line: underline;
|
|
2336
|
+
}
|
|
2337
|
+
}
|
|
2338
|
+
}
|
|
2332
2339
|
.hover\:shadow-\[0_0_0_3px_oklch\(from_var\(--foreground\)_l_c_h\/0\.12\)\] {
|
|
2333
2340
|
&:hover {
|
|
2334
2341
|
@media (hover: hover) {
|
|
@@ -2393,6 +2400,11 @@
|
|
|
2393
2400
|
}
|
|
2394
2401
|
}
|
|
2395
2402
|
}
|
|
2403
|
+
.focus-visible\:ring-ring {
|
|
2404
|
+
&:focus-visible {
|
|
2405
|
+
--tw-ring-color: var(--ring);
|
|
2406
|
+
}
|
|
2407
|
+
}
|
|
2396
2408
|
.focus-visible\:ring-ring\/40 {
|
|
2397
2409
|
&:focus-visible {
|
|
2398
2410
|
--tw-ring-color: var(--ring);
|
|
@@ -2407,6 +2419,23 @@
|
|
|
2407
2419
|
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2408
2420
|
}
|
|
2409
2421
|
}
|
|
2422
|
+
.focus-visible\:ring-offset-1 {
|
|
2423
|
+
&:focus-visible {
|
|
2424
|
+
--tw-ring-offset-width: 1px;
|
|
2425
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2426
|
+
}
|
|
2427
|
+
}
|
|
2428
|
+
.focus-visible\:ring-offset-2 {
|
|
2429
|
+
&:focus-visible {
|
|
2430
|
+
--tw-ring-offset-width: 2px;
|
|
2431
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2432
|
+
}
|
|
2433
|
+
}
|
|
2434
|
+
.focus-visible\:ring-offset-background {
|
|
2435
|
+
&:focus-visible {
|
|
2436
|
+
--tw-ring-offset-color: var(--background);
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2410
2439
|
.focus-visible\:outline-none {
|
|
2411
2440
|
&:focus-visible {
|
|
2412
2441
|
--tw-outline-style: none;
|
|
@@ -2763,6 +2792,11 @@
|
|
|
2763
2792
|
margin-inline: auto;
|
|
2764
2793
|
}
|
|
2765
2794
|
}
|
|
2795
|
+
.\[\&\>p\]\:inline {
|
|
2796
|
+
&>p {
|
|
2797
|
+
display: inline;
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2766
2800
|
.\[\&\>svg\]\:size-2\.5 {
|
|
2767
2801
|
&>svg {
|
|
2768
2802
|
width: calc(var(--spacing) * 2.5);
|
|
@@ -5592,6 +5626,116 @@
|
|
|
5592
5626
|
}
|
|
5593
5627
|
}
|
|
5594
5628
|
}
|
|
5629
|
+
[data-boring-agent] .boring-agent-markdown {
|
|
5630
|
+
font-size: 0.8125rem;
|
|
5631
|
+
line-height: 1.25rem;
|
|
5632
|
+
}
|
|
5633
|
+
[data-boring-agent] .boring-agent-markdown p, [data-boring-agent] .boring-agent-markdown ol, [data-boring-agent] .boring-agent-markdown ul {
|
|
5634
|
+
margin-block: 0.75rem;
|
|
5635
|
+
}
|
|
5636
|
+
[data-boring-agent] .boring-agent-markdown h1, [data-boring-agent] .boring-agent-markdown h2, [data-boring-agent] .boring-agent-markdown h3 {
|
|
5637
|
+
color: var(--foreground);
|
|
5638
|
+
font-weight: 600;
|
|
5639
|
+
letter-spacing: -0.015em;
|
|
5640
|
+
}
|
|
5641
|
+
[data-boring-agent] .boring-agent-markdown h1 {
|
|
5642
|
+
margin-block: 1.5rem 0.5rem;
|
|
5643
|
+
font-size: 1.25rem;
|
|
5644
|
+
line-height: 1.5rem;
|
|
5645
|
+
}
|
|
5646
|
+
[data-boring-agent] .boring-agent-markdown h2 {
|
|
5647
|
+
margin-block: 1.5rem 0.5rem;
|
|
5648
|
+
font-size: 1rem;
|
|
5649
|
+
line-height: 1.5rem;
|
|
5650
|
+
}
|
|
5651
|
+
[data-boring-agent] .boring-agent-markdown h3 {
|
|
5652
|
+
margin-block: 1rem 0.5rem;
|
|
5653
|
+
font-size: 0.875rem;
|
|
5654
|
+
line-height: 1.25rem;
|
|
5655
|
+
}
|
|
5656
|
+
[data-boring-agent] .boring-agent-markdown ol, [data-boring-agent] .boring-agent-markdown ul {
|
|
5657
|
+
padding-inline-start: 1.5rem;
|
|
5658
|
+
list-style-position: outside;
|
|
5659
|
+
}
|
|
5660
|
+
[data-boring-agent] .boring-agent-markdown ol {
|
|
5661
|
+
list-style-type: decimal;
|
|
5662
|
+
}
|
|
5663
|
+
[data-boring-agent] .boring-agent-markdown ul {
|
|
5664
|
+
list-style-type: disc;
|
|
5665
|
+
}
|
|
5666
|
+
[data-boring-agent] .boring-agent-markdown li {
|
|
5667
|
+
padding-inline-start: 0.25rem;
|
|
5668
|
+
font: inherit;
|
|
5669
|
+
}
|
|
5670
|
+
[data-boring-agent] .boring-agent-markdown li + li {
|
|
5671
|
+
margin-top: 0.25rem;
|
|
5672
|
+
}
|
|
5673
|
+
[data-boring-agent] .boring-agent-markdown li::marker {
|
|
5674
|
+
color: var(--muted-foreground);
|
|
5675
|
+
}
|
|
5676
|
+
[data-boring-agent] .boring-agent-markdown strong {
|
|
5677
|
+
color: var(--foreground);
|
|
5678
|
+
font-weight: 600;
|
|
5679
|
+
}
|
|
5680
|
+
[data-boring-agent] .boring-agent-markdown a {
|
|
5681
|
+
color: var(--accent);
|
|
5682
|
+
text-underline-offset: 0.25rem;
|
|
5683
|
+
}
|
|
5684
|
+
[data-boring-agent] .boring-agent-markdown a:hover {
|
|
5685
|
+
text-decoration-line: underline;
|
|
5686
|
+
}
|
|
5687
|
+
[data-boring-agent] .boring-agent-markdown blockquote {
|
|
5688
|
+
margin-block: 1rem;
|
|
5689
|
+
padding: 0.75rem 1rem;
|
|
5690
|
+
border: 1px solid var(--border);
|
|
5691
|
+
border-radius: var(--radius-md);
|
|
5692
|
+
background: var(--muted);
|
|
5693
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5694
|
+
background: color-mix(in oklab, var(--muted) 45%, transparent);
|
|
5695
|
+
}
|
|
5696
|
+
color: var(--muted-foreground);
|
|
5697
|
+
font-style: normal;
|
|
5698
|
+
}
|
|
5699
|
+
[data-boring-agent] .boring-agent-markdown blockquote p {
|
|
5700
|
+
margin-block: 0;
|
|
5701
|
+
}
|
|
5702
|
+
[data-boring-agent] .boring-agent-markdown table {
|
|
5703
|
+
width: 100%;
|
|
5704
|
+
border-collapse: collapse;
|
|
5705
|
+
font-size: inherit;
|
|
5706
|
+
font-variant-numeric: tabular-nums;
|
|
5707
|
+
text-align: left;
|
|
5708
|
+
}
|
|
5709
|
+
[data-boring-agent] .boring-agent-markdown thead {
|
|
5710
|
+
background: var(--muted);
|
|
5711
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
5712
|
+
background: color-mix(in oklab, var(--muted) 45%, transparent);
|
|
5713
|
+
}
|
|
5714
|
+
}
|
|
5715
|
+
[data-boring-agent] .boring-agent-markdown th, [data-boring-agent] .boring-agent-markdown td {
|
|
5716
|
+
padding: 0.5rem 1rem;
|
|
5717
|
+
border-bottom: 1px solid var(--border);
|
|
5718
|
+
}
|
|
5719
|
+
[data-boring-agent] .boring-agent-markdown th {
|
|
5720
|
+
font-weight: 600;
|
|
5721
|
+
}
|
|
5722
|
+
[data-boring-agent] .boring-agent-markdown tbody tr:last-child td {
|
|
5723
|
+
border-bottom: 0;
|
|
5724
|
+
}
|
|
5725
|
+
[data-boring-agent] .boring-agent-markdown pre {
|
|
5726
|
+
margin: 0;
|
|
5727
|
+
padding: 0;
|
|
5728
|
+
border: 0;
|
|
5729
|
+
background: transparent;
|
|
5730
|
+
overflow-x: auto;
|
|
5731
|
+
overscroll-behavior-x: contain;
|
|
5732
|
+
}
|
|
5733
|
+
[data-boring-agent] .boring-agent-markdown > *:first-child {
|
|
5734
|
+
margin-top: 0;
|
|
5735
|
+
}
|
|
5736
|
+
[data-boring-agent] .boring-agent-markdown > *:last-child {
|
|
5737
|
+
margin-bottom: 0;
|
|
5738
|
+
}
|
|
5595
5739
|
[data-theme="dark"] {
|
|
5596
5740
|
--background: oklch(0.145 0.004 285.823);
|
|
5597
5741
|
--foreground: oklch(0.985 0 0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as InterruptReceipt, j as StopReceipt, p as AgentDefinitionErrorCode, q as AgentDeploymentErrorCode } from './piChatEvent-BsMp3MSo.js';
|
|
2
2
|
import { p as AgentSendInput, j as AgentEvent } from './harness-Cc48o6uS.js';
|
|
3
|
-
import { b as AgentSessionRef, n as AgentSendReceipt, A as AgentGateway, a as AuthorizedAgentScope } from './errors-
|
|
3
|
+
import { b as AgentSessionRef, n as AgentSendReceipt, A as AgentGateway, a as AuthorizedAgentScope } from './errors-G6T6S7PQ.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
import { b as Workspace } from './sandbox-DAD8cWQR.js';
|
|
6
6
|
|
|
@@ -10,6 +10,8 @@ interface WorkspaceAgentDispatcherContext {
|
|
|
10
10
|
}
|
|
11
11
|
type WorkspaceAgentDispatcherSendInput = Omit<AgentSendInput, 'ctx'>;
|
|
12
12
|
interface WorkspaceAgentDispatcherDispatchInput extends WorkspaceAgentDispatcherSendInput {
|
|
13
|
+
/** Optional title for a newly created addressed session. */
|
|
14
|
+
title?: string;
|
|
13
15
|
/** Durable caller-owned idempotency key. */
|
|
14
16
|
requestId: string;
|
|
15
17
|
/** Defaults to requestId. */
|
|
@@ -16,6 +16,10 @@ interface PiSessionCreateInit {
|
|
|
16
16
|
title?: string;
|
|
17
17
|
modelDefault?: ChatModelSelection;
|
|
18
18
|
}
|
|
19
|
+
/** Server-only prompt admission selector; browser schemas never accept requireIdle. */
|
|
20
|
+
type AgentPromptPayload = PromptPayload & {
|
|
21
|
+
readonly requireIdle?: true;
|
|
22
|
+
};
|
|
19
23
|
type PiChatReplayRangeError = {
|
|
20
24
|
type: 'replay_gap';
|
|
21
25
|
latestSeq: number;
|
|
@@ -45,13 +49,15 @@ interface PiChatSessionService {
|
|
|
45
49
|
readAttachment?(ctx: PiSessionRequestContext, sessionId: string, messageId: string, index: number): Promise<PiChatAttachmentResult>;
|
|
46
50
|
readState(ctx: PiSessionRequestContext, sessionId: string): Promise<PiChatSnapshot>;
|
|
47
51
|
subscribe(ctx: PiSessionRequestContext, sessionId: string, cursor: number, subscriber: PiChatEventSubscriber): Promise<PiChatEventStreamResult>;
|
|
48
|
-
prompt(ctx: PiSessionRequestContext, sessionId: string, payload:
|
|
52
|
+
prompt(ctx: PiSessionRequestContext, sessionId: string, payload: AgentPromptPayload): Promise<PromptReceipt>;
|
|
49
53
|
followUp(ctx: PiSessionRequestContext, sessionId: string, payload: FollowUpPayload): Promise<FollowUpReceipt>;
|
|
50
54
|
clearQueue(ctx: PiSessionRequestContext, sessionId: string, payload: QueueClearPayload): Promise<QueueClearReceipt>;
|
|
51
55
|
interrupt(ctx: PiSessionRequestContext, sessionId: string, payload: InterruptPayload): Promise<CommandReceipt>;
|
|
52
56
|
stop(ctx: PiSessionRequestContext, sessionId: string, payload: StopPayload): Promise<StopReceipt>;
|
|
53
57
|
}
|
|
54
58
|
interface AgentCoreSessionService extends PiChatSessionService {
|
|
59
|
+
/** Trusted host-only validation/binding seam; never exposed as an HTTP route. */
|
|
60
|
+
ensurePiSessionBound?(ctx: PiSessionRequestContext, sessionId: string): Promise<void>;
|
|
55
61
|
createSession(ctx: PiSessionRequestContext, init?: PiSessionCreateInit): Promise<SessionSummary>;
|
|
56
62
|
deleteSession(ctx: PiSessionRequestContext, sessionId: string): Promise<void>;
|
|
57
63
|
dispose?(): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity } from '../../../errors-
|
|
2
|
-
import { A as AgentGatewayEffect } from '../../../types-
|
|
1
|
+
import { A as AgentGateway, a as AuthorizedAgentScope, b as AgentSessionRef, c as AgentSessionActivity } from '../../../errors-G6T6S7PQ.js';
|
|
2
|
+
import { A as AgentGatewayEffect } from '../../../types-C-Eroi__.js';
|
|
3
3
|
import '../../../piChatEvent-BsMp3MSo.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'fastify';
|
|
@@ -8,7 +8,7 @@ import '@mariozechner/pi-coding-agent';
|
|
|
8
8
|
import '../../../sandbox-DAD8cWQR.js';
|
|
9
9
|
import '@hachej/boring-bash/agent';
|
|
10
10
|
import '@hachej/boring-sandbox/providers/node-workspace';
|
|
11
|
-
import '../../../piChatSessionService-
|
|
11
|
+
import '../../../piChatSessionService-C0KbcGw9.js';
|
|
12
12
|
|
|
13
13
|
/** G1 ships only the embedded bounded-replay contract. */
|
|
14
14
|
type GatewayReplayConformanceLevel = 'B';
|