@hachej/boring-agent 0.1.94 → 0.1.95
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-N4AATPH7.js → chunk-2EMAKBVR.js} +17 -2
- package/dist/front/index.d.ts +3 -1
- package/dist/front/index.js +402 -353
- package/dist/front/styles.css +83 -64
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.js +1 -1
- package/dist/server/worker/index.js +1 -1
- package/package.json +4 -4
package/dist/front/styles.css
CHANGED
|
@@ -98,6 +98,9 @@
|
|
|
98
98
|
.inset-0 {
|
|
99
99
|
inset: 0;
|
|
100
100
|
}
|
|
101
|
+
.inset-x-0 {
|
|
102
|
+
inset-inline: 0;
|
|
103
|
+
}
|
|
101
104
|
.top-0 {
|
|
102
105
|
top: 0;
|
|
103
106
|
}
|
|
@@ -119,6 +122,9 @@
|
|
|
119
122
|
.bottom-4 {
|
|
120
123
|
bottom: calc(var(--spacing) * 4);
|
|
121
124
|
}
|
|
125
|
+
.bottom-\[calc\(100\%\+4px\)\] {
|
|
126
|
+
bottom: calc(100% + 4px);
|
|
127
|
+
}
|
|
122
128
|
.left-\[5px\] {
|
|
123
129
|
left: 5px;
|
|
124
130
|
}
|
|
@@ -128,6 +134,9 @@
|
|
|
128
134
|
.z-20 {
|
|
129
135
|
z-index: 20;
|
|
130
136
|
}
|
|
137
|
+
.z-30 {
|
|
138
|
+
z-index: 30;
|
|
139
|
+
}
|
|
131
140
|
.\!order-none {
|
|
132
141
|
order: 0 !important;
|
|
133
142
|
}
|
|
@@ -218,6 +227,9 @@
|
|
|
218
227
|
.mr-4 {
|
|
219
228
|
margin-right: calc(var(--spacing) * 4);
|
|
220
229
|
}
|
|
230
|
+
.mr-px {
|
|
231
|
+
margin-right: 1px;
|
|
232
|
+
}
|
|
221
233
|
.mb-0 {
|
|
222
234
|
margin-bottom: 0;
|
|
223
235
|
}
|
|
@@ -239,6 +251,9 @@
|
|
|
239
251
|
.ml-4 {
|
|
240
252
|
margin-left: calc(var(--spacing) * 4);
|
|
241
253
|
}
|
|
254
|
+
.ml-\[43px\] {
|
|
255
|
+
margin-left: 43px;
|
|
256
|
+
}
|
|
242
257
|
.ml-auto {
|
|
243
258
|
margin-left: auto;
|
|
244
259
|
}
|
|
@@ -344,6 +359,9 @@
|
|
|
344
359
|
.\!h-9 {
|
|
345
360
|
height: calc(var(--spacing) * 9) !important;
|
|
346
361
|
}
|
|
362
|
+
.\!h-10 {
|
|
363
|
+
height: calc(var(--spacing) * 10) !important;
|
|
364
|
+
}
|
|
347
365
|
.h-2 {
|
|
348
366
|
height: calc(var(--spacing) * 2);
|
|
349
367
|
}
|
|
@@ -395,6 +413,9 @@
|
|
|
395
413
|
.max-h-80 {
|
|
396
414
|
max-height: calc(var(--spacing) * 80);
|
|
397
415
|
}
|
|
416
|
+
.max-h-\[20vh\] {
|
|
417
|
+
max-height: 20vh;
|
|
418
|
+
}
|
|
398
419
|
.max-h-\[45vh\] {
|
|
399
420
|
max-height: 45vh;
|
|
400
421
|
}
|
|
@@ -413,6 +434,9 @@
|
|
|
413
434
|
.min-h-7 {
|
|
414
435
|
min-height: calc(var(--spacing) * 7);
|
|
415
436
|
}
|
|
437
|
+
.min-h-8 {
|
|
438
|
+
min-height: calc(var(--spacing) * 8);
|
|
439
|
+
}
|
|
416
440
|
.min-h-10 {
|
|
417
441
|
min-height: calc(var(--spacing) * 10);
|
|
418
442
|
}
|
|
@@ -422,6 +446,9 @@
|
|
|
422
446
|
.min-h-\[var\(--composer-input-group-height\)\] {
|
|
423
447
|
min-height: var(--composer-input-group-height);
|
|
424
448
|
}
|
|
449
|
+
.\!w-10 {
|
|
450
|
+
width: calc(var(--spacing) * 10) !important;
|
|
451
|
+
}
|
|
425
452
|
.\!w-auto {
|
|
426
453
|
width: auto !important;
|
|
427
454
|
}
|
|
@@ -506,6 +533,9 @@
|
|
|
506
533
|
.max-w-\[min\(52vw\,260px\)\] {
|
|
507
534
|
max-width: min(52vw, 260px);
|
|
508
535
|
}
|
|
536
|
+
.max-w-\[min\(68vw\,420px\)\] {
|
|
537
|
+
max-width: min(68vw, 420px);
|
|
538
|
+
}
|
|
509
539
|
.max-w-full {
|
|
510
540
|
max-width: 100%;
|
|
511
541
|
}
|
|
@@ -561,6 +591,9 @@
|
|
|
561
591
|
.grid-cols-1 {
|
|
562
592
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
563
593
|
}
|
|
594
|
+
.grid-cols-\[minmax\(0\,1fr\)_auto\] {
|
|
595
|
+
grid-template-columns: minmax(0,1fr) auto;
|
|
596
|
+
}
|
|
564
597
|
.flex-col {
|
|
565
598
|
flex-direction: column;
|
|
566
599
|
}
|
|
@@ -692,9 +725,6 @@
|
|
|
692
725
|
.rounded-\[0\.3em\] {
|
|
693
726
|
border-radius: 0.3em;
|
|
694
727
|
}
|
|
695
|
-
.rounded-\[28px\] {
|
|
696
|
-
border-radius: 28px;
|
|
697
|
-
}
|
|
698
728
|
.rounded-\[var\(--boring-agent-code-radius\,0\.375rem\)\] {
|
|
699
729
|
border-radius: var(--boring-agent-code-radius,0.375rem);
|
|
700
730
|
}
|
|
@@ -1273,6 +1303,9 @@
|
|
|
1273
1303
|
.py-4 {
|
|
1274
1304
|
padding-block: calc(var(--spacing) * 4);
|
|
1275
1305
|
}
|
|
1306
|
+
.py-6 {
|
|
1307
|
+
padding-block: calc(var(--spacing) * 6);
|
|
1308
|
+
}
|
|
1276
1309
|
.py-8 {
|
|
1277
1310
|
padding-block: calc(var(--spacing) * 8);
|
|
1278
1311
|
}
|
|
@@ -1297,6 +1330,12 @@
|
|
|
1297
1330
|
.\!pr-2 {
|
|
1298
1331
|
padding-right: calc(var(--spacing) * 2) !important;
|
|
1299
1332
|
}
|
|
1333
|
+
.pr-\[calc\(0\.75rem\+env\(safe-area-inset-right\)\)\] {
|
|
1334
|
+
padding-right: calc(0.75rem + env(safe-area-inset-right));
|
|
1335
|
+
}
|
|
1336
|
+
.pr-\[calc\(1rem\+env\(safe-area-inset-right\)\)\] {
|
|
1337
|
+
padding-right: calc(1rem + env(safe-area-inset-right));
|
|
1338
|
+
}
|
|
1300
1339
|
.pb-0 {
|
|
1301
1340
|
padding-bottom: 0;
|
|
1302
1341
|
}
|
|
@@ -1309,6 +1348,12 @@
|
|
|
1309
1348
|
.pb-4 {
|
|
1310
1349
|
padding-bottom: calc(var(--spacing) * 4);
|
|
1311
1350
|
}
|
|
1351
|
+
.pb-\[calc\(0\.5rem\+env\(safe-area-inset-bottom\)\)\] {
|
|
1352
|
+
padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
|
|
1353
|
+
}
|
|
1354
|
+
.pb-\[calc\(1rem\+env\(safe-area-inset-bottom\)\)\] {
|
|
1355
|
+
padding-bottom: calc(1rem + env(safe-area-inset-bottom));
|
|
1356
|
+
}
|
|
1312
1357
|
.\!pl-1 {
|
|
1313
1358
|
padding-left: var(--spacing) !important;
|
|
1314
1359
|
}
|
|
@@ -1321,6 +1366,12 @@
|
|
|
1321
1366
|
.pl-\[18px\] {
|
|
1322
1367
|
padding-left: 18px;
|
|
1323
1368
|
}
|
|
1369
|
+
.pl-\[calc\(0\.75rem\+env\(safe-area-inset-left\)\)\] {
|
|
1370
|
+
padding-left: calc(0.75rem + env(safe-area-inset-left));
|
|
1371
|
+
}
|
|
1372
|
+
.pl-\[calc\(1rem\+env\(safe-area-inset-left\)\)\] {
|
|
1373
|
+
padding-left: calc(1rem + env(safe-area-inset-left));
|
|
1374
|
+
}
|
|
1324
1375
|
.text-center {
|
|
1325
1376
|
text-align: center;
|
|
1326
1377
|
}
|
|
@@ -1630,12 +1681,6 @@
|
|
|
1630
1681
|
color: color-mix(in oklab, var(--muted-foreground) 40%, transparent);
|
|
1631
1682
|
}
|
|
1632
1683
|
}
|
|
1633
|
-
.text-muted-foreground\/45 {
|
|
1634
|
-
color: var(--muted-foreground);
|
|
1635
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1636
|
-
color: color-mix(in oklab, var(--muted-foreground) 45%, transparent);
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
1684
|
.text-muted-foreground\/50 {
|
|
1640
1685
|
color: var(--muted-foreground);
|
|
1641
1686
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1654,12 +1699,6 @@
|
|
|
1654
1699
|
color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
|
|
1655
1700
|
}
|
|
1656
1701
|
}
|
|
1657
|
-
.text-muted-foreground\/65 {
|
|
1658
|
-
color: var(--muted-foreground);
|
|
1659
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
1660
|
-
color: color-mix(in oklab, var(--muted-foreground) 65%, transparent);
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
1702
|
.text-muted-foreground\/70 {
|
|
1664
1703
|
color: var(--muted-foreground);
|
|
1665
1704
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1972,11 +2011,11 @@
|
|
|
1972
2011
|
color: var(--foreground);
|
|
1973
2012
|
}
|
|
1974
2013
|
}
|
|
1975
|
-
.placeholder\:text-muted-foreground\/
|
|
2014
|
+
.placeholder\:text-muted-foreground\/60 {
|
|
1976
2015
|
&::placeholder {
|
|
1977
2016
|
color: var(--muted-foreground);
|
|
1978
2017
|
@supports (color: color-mix(in lab, red, red)) {
|
|
1979
|
-
color: color-mix(in oklab, var(--muted-foreground)
|
|
2018
|
+
color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
|
|
1980
2019
|
}
|
|
1981
2020
|
}
|
|
1982
2021
|
}
|
|
@@ -2176,16 +2215,6 @@
|
|
|
2176
2215
|
}
|
|
2177
2216
|
}
|
|
2178
2217
|
}
|
|
2179
|
-
.hover\:bg-foreground\/\[0\.045\] {
|
|
2180
|
-
&:hover {
|
|
2181
|
-
@media (hover: hover) {
|
|
2182
|
-
background-color: var(--foreground);
|
|
2183
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2184
|
-
background-color: color-mix(in oklab, var(--foreground) 4.5%, transparent);
|
|
2185
|
-
}
|
|
2186
|
-
}
|
|
2187
|
-
}
|
|
2188
|
-
}
|
|
2189
2218
|
.hover\:bg-muted {
|
|
2190
2219
|
&:hover {
|
|
2191
2220
|
@media (hover: hover) {
|
|
@@ -2302,16 +2331,6 @@
|
|
|
2302
2331
|
}
|
|
2303
2332
|
}
|
|
2304
2333
|
}
|
|
2305
|
-
.hover\:text-foreground\/80 {
|
|
2306
|
-
&:hover {
|
|
2307
|
-
@media (hover: hover) {
|
|
2308
|
-
color: var(--foreground);
|
|
2309
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2310
|
-
color: color-mix(in oklab, var(--foreground) 80%, transparent);
|
|
2311
|
-
}
|
|
2312
|
-
}
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
2334
|
.hover\:text-muted-foreground {
|
|
2316
2335
|
&:hover {
|
|
2317
2336
|
@media (hover: hover) {
|
|
@@ -2405,14 +2424,6 @@
|
|
|
2405
2424
|
--tw-ring-color: var(--ring);
|
|
2406
2425
|
}
|
|
2407
2426
|
}
|
|
2408
|
-
.focus-visible\:ring-ring\/40 {
|
|
2409
|
-
&:focus-visible {
|
|
2410
|
-
--tw-ring-color: var(--ring);
|
|
2411
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2412
|
-
--tw-ring-color: color-mix(in oklab, var(--ring) 40%, transparent);
|
|
2413
|
-
}
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2416
2427
|
.focus-visible\:ring-offset-0 {
|
|
2417
2428
|
&:focus-visible {
|
|
2418
2429
|
--tw-ring-offset-width: 0px;
|
|
@@ -2436,6 +2447,11 @@
|
|
|
2436
2447
|
--tw-ring-offset-color: var(--background);
|
|
2437
2448
|
}
|
|
2438
2449
|
}
|
|
2450
|
+
.focus-visible\:ring-offset-popover {
|
|
2451
|
+
&:focus-visible {
|
|
2452
|
+
--tw-ring-offset-color: var(--popover);
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2439
2455
|
.focus-visible\:outline-none {
|
|
2440
2456
|
&:focus-visible {
|
|
2441
2457
|
--tw-outline-style: none;
|
|
@@ -2524,14 +2540,19 @@
|
|
|
2524
2540
|
transition-property: none;
|
|
2525
2541
|
}
|
|
2526
2542
|
}
|
|
2527
|
-
.sm\:
|
|
2543
|
+
.sm\:pr-\[calc\(1\.5rem\+env\(safe-area-inset-right\)\)\] {
|
|
2528
2544
|
@media (width >= 40rem) {
|
|
2529
|
-
padding-
|
|
2545
|
+
padding-right: calc(1.5rem + env(safe-area-inset-right));
|
|
2530
2546
|
}
|
|
2531
2547
|
}
|
|
2532
|
-
.sm\:pb-
|
|
2548
|
+
.sm\:pb-\[calc\(1\.25rem\+env\(safe-area-inset-bottom\)\)\] {
|
|
2533
2549
|
@media (width >= 40rem) {
|
|
2534
|
-
padding-bottom: calc(
|
|
2550
|
+
padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
.sm\:pl-\[calc\(1\.5rem\+env\(safe-area-inset-left\)\)\] {
|
|
2554
|
+
@media (width >= 40rem) {
|
|
2555
|
+
padding-left: calc(1.5rem + env(safe-area-inset-left));
|
|
2535
2556
|
}
|
|
2536
2557
|
}
|
|
2537
2558
|
.\@\[420px\]\:block {
|
|
@@ -2600,14 +2621,15 @@
|
|
|
2600
2621
|
padding-inline: calc(var(--spacing) * 2.5);
|
|
2601
2622
|
}
|
|
2602
2623
|
}
|
|
2603
|
-
.\[\&_\[cmdk-group-heading\]\]\:py-
|
|
2624
|
+
.\[\&_\[cmdk-group-heading\]\]\:py-2 {
|
|
2604
2625
|
& [cmdk-group-heading] {
|
|
2605
|
-
padding-block: calc(var(--spacing) *
|
|
2626
|
+
padding-block: calc(var(--spacing) * 2);
|
|
2606
2627
|
}
|
|
2607
2628
|
}
|
|
2608
|
-
.\[\&_\[cmdk-group-heading\]\]\:text
|
|
2629
|
+
.\[\&_\[cmdk-group-heading\]\]\:text-xs {
|
|
2609
2630
|
& [cmdk-group-heading] {
|
|
2610
|
-
font-size:
|
|
2631
|
+
font-size: var(--text-xs);
|
|
2632
|
+
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
2611
2633
|
}
|
|
2612
2634
|
}
|
|
2613
2635
|
.\[\&_\[cmdk-group-heading\]\]\:font-semibold {
|
|
@@ -2622,12 +2644,9 @@
|
|
|
2622
2644
|
letter-spacing: 0.08em;
|
|
2623
2645
|
}
|
|
2624
2646
|
}
|
|
2625
|
-
.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground
|
|
2647
|
+
.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground {
|
|
2626
2648
|
& [cmdk-group-heading] {
|
|
2627
2649
|
color: var(--muted-foreground);
|
|
2628
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
2629
|
-
color: color-mix(in oklab, var(--muted-foreground) 60%, transparent);
|
|
2630
|
-
}
|
|
2631
2650
|
}
|
|
2632
2651
|
}
|
|
2633
2652
|
.\[\&_\[cmdk-group-heading\]\]\:uppercase {
|
|
@@ -2635,6 +2654,11 @@
|
|
|
2635
2654
|
text-transform: uppercase;
|
|
2636
2655
|
}
|
|
2637
2656
|
}
|
|
2657
|
+
.\[\&_\[cmdk-list\]\]\:\!max-h-\[200px\] {
|
|
2658
|
+
& [cmdk-list] {
|
|
2659
|
+
max-height: 200px !important;
|
|
2660
|
+
}
|
|
2661
|
+
}
|
|
2638
2662
|
.\[\&_\[data-boring-agent-part\=tool-card\]\]\:\!my-0 {
|
|
2639
2663
|
& [data-boring-agent-part=tool-card] {
|
|
2640
2664
|
margin-block: 0 !important;
|
|
@@ -2665,9 +2689,9 @@
|
|
|
2665
2689
|
overflow: hidden !important;
|
|
2666
2690
|
}
|
|
2667
2691
|
}
|
|
2668
|
-
.\[\&_\[data-slot\=input-group\]\]\:\!rounded
|
|
2692
|
+
.\[\&_\[data-slot\=input-group\]\]\:\!rounded-xl {
|
|
2669
2693
|
& [data-slot=input-group] {
|
|
2670
|
-
border-radius:
|
|
2694
|
+
border-radius: var(--radius-xl) !important;
|
|
2671
2695
|
}
|
|
2672
2696
|
}
|
|
2673
2697
|
.\[\&_\[data-slot\=input-group\]\]\:\!border-0 {
|
|
@@ -2787,11 +2811,6 @@
|
|
|
2787
2811
|
}
|
|
2788
2812
|
}
|
|
2789
2813
|
}
|
|
2790
|
-
.\[\&\>p\]\:mx-auto {
|
|
2791
|
-
&>p {
|
|
2792
|
-
margin-inline: auto;
|
|
2793
|
-
}
|
|
2794
|
-
}
|
|
2795
2814
|
.\[\&\>p\]\:inline {
|
|
2796
2815
|
&>p {
|
|
2797
2816
|
display: inline;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -751,6 +751,7 @@ declare class HarnessPiChatService implements PiChatSessionService {
|
|
|
751
751
|
}>;
|
|
752
752
|
readState(ctx: PiSessionRequestContext, sessionId: string): Promise<PiChatSnapshot>;
|
|
753
753
|
private readStateBeforeDispose;
|
|
754
|
+
private canRefreshFromPersistedState;
|
|
754
755
|
private harnessMayHaveLiveSession;
|
|
755
756
|
private readPersistedState;
|
|
756
757
|
subscribe(ctx: PiSessionRequestContext, sessionId: string, cursor: number, subscriber: PiChatEventSubscriber): Promise<PiChatEventStreamResult>;
|
package/dist/server/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hachej/boring-agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.95",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Pane-embeddable coding agent. Ships direct/local/vercel-sandbox execution modes behind one interface.",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"use-stick-to-bottom": "^1.1.6",
|
|
92
92
|
"yaml": "^2.9.0",
|
|
93
93
|
"zod": "^3.25.76",
|
|
94
|
-
"@hachej/boring-bash": "0.1.
|
|
95
|
-
"@hachej/boring-
|
|
96
|
-
"@hachej/boring-
|
|
94
|
+
"@hachej/boring-bash": "0.1.95",
|
|
95
|
+
"@hachej/boring-ui-kit": "0.1.95",
|
|
96
|
+
"@hachej/boring-sandbox": "0.1.95"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@vercel/sandbox": "2.7.1",
|