@tangle-network/sandbox-ui 2.0.3 → 2.0.5
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/{AgentGraph-BqLPrigw.d.ts → AgentGraph-DzdpPFEI.d.ts} +9 -4
- package/dist/{AgentGraph-Dd1EBlhu.js → AgentGraph-YuBa5O8m.js} +2 -2
- package/dist/{AgentGraphCanvas-CIGQjYtw.js → AgentGraphCanvas-DYAMCkhv.js} +349 -202
- package/dist/{WorkflowGraph-Bj6VMnOz.js → WorkflowGraph-DkdcJ8wb.js} +3 -3
- package/dist/{canvas-theme-DGd0fm1H.js → canvas-theme-aqWjGbfu.js} +2 -5
- package/dist/globals.css +149 -72
- package/dist/{index-CjGeAD3E.d.ts → index-DFNf9mJ2.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/{latest-events-D1i5Ny3N.js → latest-events-CWvZr8Ut.js} +36 -56
- package/dist/{node-ui-DWv_oLvy.js → node-ui-Dst2R2M5.js} +1 -1
- package/dist/{run-B0HDqO5h.js → run-wUKH3Qh6.js} +2 -2
- package/dist/run.d.ts +1 -1
- package/dist/run.js +2 -2
- package/dist/styles.css +149 -72
- package/dist/tailwind.css +44 -32
- package/dist/workflows.d.ts +1 -1
- package/dist/workflows.js +2 -2
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -383,6 +383,9 @@
|
|
|
383
383
|
.right-2 {
|
|
384
384
|
right: calc(var(--spacing) * 2);
|
|
385
385
|
}
|
|
386
|
+
.right-3 {
|
|
387
|
+
right: calc(var(--spacing) * 3);
|
|
388
|
+
}
|
|
386
389
|
.right-4 {
|
|
387
390
|
right: calc(var(--spacing) * 4);
|
|
388
391
|
}
|
|
@@ -1520,6 +1523,9 @@
|
|
|
1520
1523
|
.max-w-40 {
|
|
1521
1524
|
max-width: calc(var(--spacing) * 40);
|
|
1522
1525
|
}
|
|
1526
|
+
.max-w-64 {
|
|
1527
|
+
max-width: calc(var(--spacing) * 64);
|
|
1528
|
+
}
|
|
1523
1529
|
.max-w-72 {
|
|
1524
1530
|
max-width: calc(var(--spacing) * 72);
|
|
1525
1531
|
}
|
|
@@ -1844,6 +1850,9 @@
|
|
|
1844
1850
|
.scale-\[1\.02\] {
|
|
1845
1851
|
scale: 1.02;
|
|
1846
1852
|
}
|
|
1853
|
+
.-rotate-90 {
|
|
1854
|
+
rotate: calc(90deg * -1);
|
|
1855
|
+
}
|
|
1847
1856
|
.rotate-90 {
|
|
1848
1857
|
rotate: 90deg;
|
|
1849
1858
|
}
|
|
@@ -2122,6 +2131,9 @@
|
|
|
2122
2131
|
.gap-x-4 {
|
|
2123
2132
|
column-gap: calc(var(--spacing) * 4);
|
|
2124
2133
|
}
|
|
2134
|
+
.gap-x-5 {
|
|
2135
|
+
column-gap: calc(var(--spacing) * 5);
|
|
2136
|
+
}
|
|
2125
2137
|
.gap-x-6 {
|
|
2126
2138
|
column-gap: calc(var(--spacing) * 6);
|
|
2127
2139
|
}
|
|
@@ -2136,6 +2148,9 @@
|
|
|
2136
2148
|
.gap-y-1 {
|
|
2137
2149
|
row-gap: var(--spacing);
|
|
2138
2150
|
}
|
|
2151
|
+
.gap-y-1\.5 {
|
|
2152
|
+
row-gap: calc(var(--spacing) * 1.5);
|
|
2153
|
+
}
|
|
2139
2154
|
.gap-y-2 {
|
|
2140
2155
|
row-gap: calc(var(--spacing) * 2);
|
|
2141
2156
|
}
|
|
@@ -5310,6 +5325,10 @@
|
|
|
5310
5325
|
.focus-visible\:ring-ring:focus-visible {
|
|
5311
5326
|
--tw-ring-color: hsl(var(--ring));
|
|
5312
5327
|
}
|
|
5328
|
+
.focus-visible\:outline:focus-visible {
|
|
5329
|
+
outline-style: var(--tw-outline-style);
|
|
5330
|
+
outline-width: 1px;
|
|
5331
|
+
}
|
|
5313
5332
|
.focus-visible\:outline-1:focus-visible {
|
|
5314
5333
|
outline-style: var(--tw-outline-style);
|
|
5315
5334
|
outline-width: 1px;
|
|
@@ -9127,7 +9146,7 @@
|
|
|
9127
9146
|
}
|
|
9128
9147
|
.ag-live-slot {
|
|
9129
9148
|
display: flex;
|
|
9130
|
-
align-items:
|
|
9149
|
+
align-items: flex-start;
|
|
9131
9150
|
width: 100%;
|
|
9132
9151
|
height: 100%;
|
|
9133
9152
|
}
|
|
@@ -9139,7 +9158,7 @@
|
|
|
9139
9158
|
box-sizing: border-box;
|
|
9140
9159
|
width: 100%;
|
|
9141
9160
|
height: 100%;
|
|
9142
|
-
padding:
|
|
9161
|
+
padding: 8px;
|
|
9143
9162
|
border: 1px solid var(--ag-border);
|
|
9144
9163
|
border-radius: var(--radius-card);
|
|
9145
9164
|
animation: agent-arrive var(--motion-arrive) both;
|
|
@@ -9165,7 +9184,7 @@
|
|
|
9165
9184
|
.ag-live-name {
|
|
9166
9185
|
grid-column: 2;
|
|
9167
9186
|
grid-row: 1;
|
|
9168
|
-
font-size:
|
|
9187
|
+
font-size: var(--font-size-sm);
|
|
9169
9188
|
line-height: 18px;
|
|
9170
9189
|
font-weight: 600;
|
|
9171
9190
|
overflow: hidden;
|
|
@@ -9173,7 +9192,7 @@
|
|
|
9173
9192
|
white-space: nowrap;
|
|
9174
9193
|
}
|
|
9175
9194
|
.ag-live-meta, .ag-live-stats {
|
|
9176
|
-
font-size:
|
|
9195
|
+
font-size: var(--font-size-xs);
|
|
9177
9196
|
line-height: 16px;
|
|
9178
9197
|
color: var(--ag-muted);
|
|
9179
9198
|
}
|
|
@@ -9187,7 +9206,12 @@
|
|
|
9187
9206
|
.ag-live-accounting {
|
|
9188
9207
|
grid-column: 2 / -1;
|
|
9189
9208
|
grid-row: 3;
|
|
9209
|
+
font-size: var(--font-size-xs);
|
|
9190
9210
|
font-variant-numeric: tabular-nums;
|
|
9211
|
+
overflow: hidden;
|
|
9212
|
+
text-overflow: ellipsis;
|
|
9213
|
+
white-space: nowrap;
|
|
9214
|
+
max-width: 100%;
|
|
9191
9215
|
}
|
|
9192
9216
|
.ag-live-pill {
|
|
9193
9217
|
grid-column: 3;
|
|
@@ -9220,19 +9244,16 @@
|
|
|
9220
9244
|
flex: 1;
|
|
9221
9245
|
min-width: 0;
|
|
9222
9246
|
margin: 0;
|
|
9223
|
-
font-size:
|
|
9224
|
-
line-height:
|
|
9247
|
+
font-size: var(--font-size-sm);
|
|
9248
|
+
line-height: 20px;
|
|
9225
9249
|
display: -webkit-box;
|
|
9226
9250
|
-webkit-line-clamp: 2;
|
|
9227
9251
|
-webkit-box-orient: vertical;
|
|
9228
9252
|
overflow: hidden;
|
|
9229
9253
|
}
|
|
9230
|
-
.ag-live-failure {
|
|
9231
|
-
color: var(--surface-danger-text);
|
|
9232
|
-
}
|
|
9233
9254
|
.ag-live-quiet {
|
|
9234
9255
|
color: var(--surface-warning-text);
|
|
9235
|
-
font-size:
|
|
9256
|
+
font-size: var(--font-size-xs);
|
|
9236
9257
|
line-height: 16px;
|
|
9237
9258
|
}
|
|
9238
9259
|
.ag-live-inspect {
|
|
@@ -9246,8 +9267,8 @@
|
|
|
9246
9267
|
text-decoration: underline;
|
|
9247
9268
|
}
|
|
9248
9269
|
.ag-live-respond {
|
|
9249
|
-
height:
|
|
9250
|
-
min-height:
|
|
9270
|
+
height: var(--control-height-sm);
|
|
9271
|
+
min-height: var(--control-height-sm);
|
|
9251
9272
|
flex: none;
|
|
9252
9273
|
border: 1px solid currentColor;
|
|
9253
9274
|
border-radius: var(--radius-control);
|
|
@@ -9266,18 +9287,13 @@
|
|
|
9266
9287
|
margin: 0;
|
|
9267
9288
|
padding: 0;
|
|
9268
9289
|
list-style: none;
|
|
9269
|
-
min-height: 64px;
|
|
9270
|
-
display: flex;
|
|
9271
|
-
flex-direction: column;
|
|
9272
|
-
justify-content: flex-end;
|
|
9273
|
-
transform: translateY(-16px);
|
|
9274
9290
|
}
|
|
9275
9291
|
.ag-live-events li {
|
|
9276
9292
|
display: flex;
|
|
9277
9293
|
align-items: center;
|
|
9278
9294
|
gap: 6px;
|
|
9279
9295
|
min-height: 16px;
|
|
9280
|
-
font:
|
|
9296
|
+
font: var(--font-size-xs)/16px var(--font-mono, monospace);
|
|
9281
9297
|
color: var(--ag-muted);
|
|
9282
9298
|
transition: color var(--motion-stream);
|
|
9283
9299
|
}
|
|
@@ -9303,34 +9319,33 @@
|
|
|
9303
9319
|
font-variant-numeric: tabular-nums;
|
|
9304
9320
|
}
|
|
9305
9321
|
.ag-live-chip {
|
|
9306
|
-
height:
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
opacity: 1;
|
|
9322
|
+
height: 80px;
|
|
9323
|
+
display: grid;
|
|
9324
|
+
grid-template-columns: 16px minmax(0, 1fr) auto auto;
|
|
9325
|
+
grid-template-rows: 18px minmax(0, 1fr);
|
|
9326
|
+
gap: 4px 8px;
|
|
9312
9327
|
}
|
|
9313
9328
|
.ag-live-chip .ag-live-head {
|
|
9314
|
-
display:
|
|
9315
|
-
flex: none;
|
|
9316
|
-
max-width: 45%;
|
|
9329
|
+
display: contents;
|
|
9317
9330
|
}
|
|
9318
9331
|
.ag-live-chip .ag-live-names {
|
|
9319
|
-
display:
|
|
9320
|
-
|
|
9332
|
+
display: contents;
|
|
9333
|
+
}
|
|
9334
|
+
.ag-live-chip .ag-live-name {
|
|
9335
|
+
grid-column: 2;
|
|
9336
|
+
grid-row: 1;
|
|
9321
9337
|
}
|
|
9322
9338
|
.ag-live-chip .ag-live-stats, .ag-live-chip .ag-live-head > :first-child {
|
|
9323
9339
|
display: none;
|
|
9324
9340
|
}
|
|
9325
9341
|
.ag-live-chip-result {
|
|
9326
|
-
|
|
9342
|
+
grid-column: 1 / -1;
|
|
9343
|
+
grid-row: 2;
|
|
9327
9344
|
min-width: 0;
|
|
9328
|
-
overflow:
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
line-height: 16px;
|
|
9333
|
-
font-weight: 500;
|
|
9345
|
+
overflow: auto;
|
|
9346
|
+
overflow-wrap: anywhere;
|
|
9347
|
+
font-size: var(--font-size-sm);
|
|
9348
|
+
line-height: 18px;
|
|
9334
9349
|
}
|
|
9335
9350
|
.ag-phone-list {
|
|
9336
9351
|
display: flex;
|
|
@@ -9400,55 +9415,54 @@
|
|
|
9400
9415
|
flex: 0 0 auto;
|
|
9401
9416
|
}
|
|
9402
9417
|
.ag-live-card.ag-live-chip {
|
|
9403
|
-
min-height:
|
|
9404
|
-
height:
|
|
9418
|
+
min-height: 80px;
|
|
9419
|
+
height: 80px;
|
|
9405
9420
|
}
|
|
9406
9421
|
}
|
|
9407
|
-
.ag-live-accounting {
|
|
9408
|
-
overflow: hidden;
|
|
9409
|
-
text-overflow: ellipsis;
|
|
9410
|
-
white-space: nowrap;
|
|
9411
|
-
max-width: 100%;
|
|
9412
|
-
}
|
|
9413
9422
|
.ag-live-chip-status {
|
|
9414
|
-
|
|
9415
|
-
|
|
9423
|
+
grid-column: 3;
|
|
9424
|
+
grid-row: 1;
|
|
9425
|
+
font-size: var(--font-size-xs);
|
|
9416
9426
|
color: var(--ag-status);
|
|
9417
9427
|
}
|
|
9418
9428
|
.ag-live-chip-cost {
|
|
9419
|
-
|
|
9420
|
-
|
|
9429
|
+
grid-column: 4;
|
|
9430
|
+
grid-row: 1;
|
|
9431
|
+
font-size: var(--font-size-xs);
|
|
9421
9432
|
color: var(--ag-muted);
|
|
9422
9433
|
font-variant-numeric: tabular-nums;
|
|
9423
9434
|
}
|
|
9424
9435
|
.ag-parent-label {
|
|
9425
9436
|
color: var(--ag-muted);
|
|
9426
|
-
font-size:
|
|
9437
|
+
font-size: var(--font-size-xs);
|
|
9427
9438
|
font-weight: 400;
|
|
9428
9439
|
}
|
|
9429
9440
|
.ag-agent-card[data-status="needs-you"] p {
|
|
9430
9441
|
-webkit-line-clamp: 1;
|
|
9431
9442
|
}
|
|
9432
9443
|
.ag-latest {
|
|
9444
|
+
container-type: inline-size;
|
|
9433
9445
|
flex: none;
|
|
9434
9446
|
min-width: 0;
|
|
9435
9447
|
border-bottom: 1px solid hsl(var(--border));
|
|
9436
|
-
padding:
|
|
9448
|
+
padding: 4px 12px;
|
|
9437
9449
|
color: hsl(var(--foreground));
|
|
9438
|
-
font-size:
|
|
9450
|
+
font-size: var(--font-size-xs);
|
|
9439
9451
|
line-height: 16px;
|
|
9440
9452
|
}
|
|
9441
9453
|
.ag-latest header {
|
|
9454
|
+
float: left;
|
|
9455
|
+
width: 128px;
|
|
9456
|
+
height: 64px;
|
|
9442
9457
|
display: flex;
|
|
9443
|
-
|
|
9444
|
-
|
|
9445
|
-
|
|
9458
|
+
flex-direction: column;
|
|
9459
|
+
align-items: start;
|
|
9460
|
+
justify-content: center;
|
|
9446
9461
|
}
|
|
9447
9462
|
.ag-latest header > span {
|
|
9448
9463
|
color: hsl(var(--muted-foreground));
|
|
9449
9464
|
}
|
|
9450
9465
|
.ag-latest header > button {
|
|
9451
|
-
margin-left: auto;
|
|
9452
9466
|
padding: 0;
|
|
9453
9467
|
border: 0;
|
|
9454
9468
|
background: transparent;
|
|
@@ -9458,20 +9472,26 @@
|
|
|
9458
9472
|
cursor: pointer;
|
|
9459
9473
|
}
|
|
9460
9474
|
.ag-latest ol {
|
|
9475
|
+
display: grid;
|
|
9476
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
|
|
9477
|
+
gap: 0 12px;
|
|
9461
9478
|
list-style: none;
|
|
9462
|
-
margin: 0;
|
|
9479
|
+
margin: 0 0 0 140px;
|
|
9463
9480
|
padding: 0;
|
|
9464
9481
|
overflow: auto;
|
|
9482
|
+
height: 64px;
|
|
9465
9483
|
}
|
|
9466
9484
|
.ag-latest li {
|
|
9467
|
-
height:
|
|
9485
|
+
min-height: 64px;
|
|
9468
9486
|
}
|
|
9469
9487
|
.ag-latest li > button {
|
|
9470
|
-
display:
|
|
9471
|
-
|
|
9472
|
-
gap: 6px;
|
|
9488
|
+
display: grid;
|
|
9489
|
+
grid-template-columns: 8px minmax(0, 1fr) auto;
|
|
9490
|
+
gap: 0 6px;
|
|
9491
|
+
align-content: start;
|
|
9492
|
+
align-items: start;
|
|
9473
9493
|
width: 100%;
|
|
9474
|
-
height:
|
|
9494
|
+
min-height: 64px;
|
|
9475
9495
|
padding: 0;
|
|
9476
9496
|
border: 0;
|
|
9477
9497
|
background: transparent;
|
|
@@ -9487,8 +9507,8 @@
|
|
|
9487
9507
|
font-weight: 600;
|
|
9488
9508
|
}
|
|
9489
9509
|
.ag-latest li strong {
|
|
9490
|
-
|
|
9491
|
-
|
|
9510
|
+
grid-column: 2;
|
|
9511
|
+
grid-row: 1;
|
|
9492
9512
|
overflow: hidden;
|
|
9493
9513
|
text-overflow: ellipsis;
|
|
9494
9514
|
white-space: nowrap;
|
|
@@ -9497,34 +9517,91 @@
|
|
|
9497
9517
|
box-sizing: border-box;
|
|
9498
9518
|
width: 8px;
|
|
9499
9519
|
height: 8px;
|
|
9500
|
-
flex: none;
|
|
9501
9520
|
border-radius: var(--radius-pill);
|
|
9502
9521
|
}
|
|
9503
9522
|
.ag-latest-state {
|
|
9523
|
+
grid-column: 3;
|
|
9524
|
+
grid-row: 1;
|
|
9504
9525
|
display: inline-flex;
|
|
9505
9526
|
align-items: center;
|
|
9506
9527
|
gap: 4px;
|
|
9507
|
-
flex: none;
|
|
9508
9528
|
}
|
|
9509
9529
|
.ag-latest-label {
|
|
9510
|
-
|
|
9530
|
+
grid-column: 2 / -1;
|
|
9531
|
+
grid-row: 2;
|
|
9511
9532
|
min-width: 0;
|
|
9512
|
-
overflow:
|
|
9513
|
-
|
|
9514
|
-
white-space: nowrap;
|
|
9515
|
-
font: 11px/16px var(--font-mono, monospace);
|
|
9533
|
+
overflow-wrap: anywhere;
|
|
9534
|
+
font: var(--font-size-xs)/16px var(--font-mono, monospace);
|
|
9516
9535
|
}
|
|
9517
9536
|
.ag-latest time {
|
|
9518
|
-
|
|
9537
|
+
grid-column: 2 / -1;
|
|
9538
|
+
grid-row: 3;
|
|
9519
9539
|
color: hsl(var(--muted-foreground));
|
|
9520
|
-
font:
|
|
9540
|
+
font: var(--font-size-xs)/16px var(--font-mono, monospace);
|
|
9521
9541
|
font-variant-numeric: tabular-nums;
|
|
9522
9542
|
}
|
|
9523
9543
|
.ag-latest-empty {
|
|
9544
|
+
grid-column: 1 / -1;
|
|
9524
9545
|
display: flex;
|
|
9525
9546
|
align-items: center;
|
|
9526
9547
|
color: hsl(var(--muted-foreground));
|
|
9527
9548
|
}
|
|
9549
|
+
.ag-frame-owner .ag-live-card {
|
|
9550
|
+
height: 100%;
|
|
9551
|
+
display: grid;
|
|
9552
|
+
grid-template-columns: 18px minmax(0, 1fr) auto;
|
|
9553
|
+
grid-template-rows: 18px minmax(0, 1fr);
|
|
9554
|
+
gap: 4px 8px;
|
|
9555
|
+
}
|
|
9556
|
+
.ag-frame-owner .ag-live-chip-result {
|
|
9557
|
+
white-space: nowrap;
|
|
9558
|
+
}
|
|
9559
|
+
.ag-frame-owner .ag-live-head {
|
|
9560
|
+
display: contents;
|
|
9561
|
+
}
|
|
9562
|
+
.ag-frame-owner .ag-live-meta, .ag-frame-owner .ag-live-events-clip {
|
|
9563
|
+
display: none;
|
|
9564
|
+
}
|
|
9565
|
+
.ag-frame-owner .ag-live-thinking-row {
|
|
9566
|
+
grid-column: 2 / -1;
|
|
9567
|
+
grid-row: 2;
|
|
9568
|
+
}
|
|
9569
|
+
.ag-frame-owner .ag-live-thinking {
|
|
9570
|
+
-webkit-line-clamp: 1;
|
|
9571
|
+
}
|
|
9572
|
+
.ag-frame-owner .ag-live-accounting {
|
|
9573
|
+
display: none;
|
|
9574
|
+
}
|
|
9575
|
+
.ag-frame-owner .ag-agent-card {
|
|
9576
|
+
flex-direction: row;
|
|
9577
|
+
align-items: center;
|
|
9578
|
+
gap: 16px;
|
|
9579
|
+
}
|
|
9580
|
+
@container (width < 600px) {
|
|
9581
|
+
.ag-latest header {
|
|
9582
|
+
float: none;
|
|
9583
|
+
width: auto;
|
|
9584
|
+
height: 24px;
|
|
9585
|
+
flex-direction: row;
|
|
9586
|
+
align-items: center;
|
|
9587
|
+
justify-content: start;
|
|
9588
|
+
gap: 8px;
|
|
9589
|
+
}
|
|
9590
|
+
.ag-latest header > button {
|
|
9591
|
+
margin-left: auto;
|
|
9592
|
+
}
|
|
9593
|
+
.ag-latest ol {
|
|
9594
|
+
grid-template-columns: 1fr;
|
|
9595
|
+
margin-left: 0;
|
|
9596
|
+
height: calc(var(--ag-latest-rows) * 64px);
|
|
9597
|
+
}
|
|
9598
|
+
}
|
|
9599
|
+
@media (pointer: coarse) {
|
|
9600
|
+
.ag-live-respond {
|
|
9601
|
+
min-height: 44px;
|
|
9602
|
+
min-width: 44px;
|
|
9603
|
+
}
|
|
9604
|
+
}
|
|
9528
9605
|
@property --tw-translate-x {
|
|
9529
9606
|
syntax: "*";
|
|
9530
9607
|
inherits: false;
|
package/dist/tailwind.css
CHANGED
|
@@ -883,39 +883,39 @@
|
|
|
883
883
|
|
|
884
884
|
.agent-graph { container-type: inline-size; }
|
|
885
885
|
.ag-live { --ag-fg: hsl(var(--foreground)); --ag-muted: hsl(var(--muted-foreground)); --ag-surface: hsl(var(--card)); --ag-border: hsl(var(--border)); }
|
|
886
|
-
.ag-live-slot { display: flex; align-items:
|
|
887
|
-
.ag-live-card { position: relative; display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; width: 100%; height: 100%; padding:
|
|
886
|
+
.ag-live-slot { display: flex; align-items: flex-start; width: 100%; height: 100%; }
|
|
887
|
+
.ag-live-card { position: relative; display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; width: 100%; height: 100%; padding: 8px; border: 1px solid var(--ag-border);
|
|
888
888
|
border-radius: var(--radius-card); animation: agent-arrive var(--motion-arrive) both; background: var(--ag-surface); color: var(--ag-fg); overflow: hidden;
|
|
889
889
|
transition: height var(--motion-surface), border-radius var(--motion-surface), border-color var(--motion-control), box-shadow var(--motion-control); }
|
|
890
890
|
.ag-live-head { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; column-gap: 8px; min-width: 0; }
|
|
891
891
|
.ag-live-head > :first-child { grid-column: 1; grid-row: 1 / 3; }
|
|
892
892
|
.ag-live-names, .ag-live-stats { display: contents; }
|
|
893
|
-
.ag-live-name { grid-column: 2; grid-row: 1; font-size:
|
|
894
|
-
.ag-live-meta, .ag-live-stats { font-size:
|
|
893
|
+
.ag-live-name { grid-column: 2; grid-row: 1; font-size: var(--font-size-sm); line-height: 18px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
894
|
+
.ag-live-meta, .ag-live-stats { font-size: var(--font-size-xs); line-height: 16px; color: var(--ag-muted); }
|
|
895
895
|
.ag-live-meta { grid-column: 2 / -1; grid-row: 2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
896
|
-
.ag-live-accounting { grid-column: 2 / -1; grid-row: 3; font-variant-numeric: tabular-nums; }
|
|
896
|
+
.ag-live-accounting { grid-column: 2 / -1; grid-row: 3; font-size: var(--font-size-xs); font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
|
|
897
897
|
.ag-live-pill { grid-column: 3; grid-row: 1; justify-self: end; display: inline-flex; align-items: center; gap: 4px; color: var(--ag-status); }
|
|
898
898
|
.ag-running-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: var(--radius-pill); background: var(--surface-info-text); }
|
|
899
899
|
[data-activity="quiet"] .ag-running-dot { background: var(--surface-warning-text); animation: none !important; }
|
|
900
900
|
.ag-live-thinking-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
|
|
901
|
-
.ag-live-thinking { flex: 1; min-width: 0; margin: 0; font-size:
|
|
902
|
-
.ag-live-
|
|
903
|
-
.ag-live-quiet { color: var(--surface-warning-text); font-size: 12px; line-height: 16px; }
|
|
901
|
+
.ag-live-thinking { flex: 1; min-width: 0; margin: 0; font-size: var(--font-size-sm); line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
|
|
902
|
+
.ag-live-quiet { color: var(--surface-warning-text); font-size: var(--font-size-xs); line-height: 16px; }
|
|
904
903
|
.ag-live-inspect { border: 0; padding: 0; background: transparent; font: inherit; cursor: pointer; }
|
|
905
904
|
.ag-live-inspect > span:last-child { text-decoration: underline; }
|
|
906
|
-
.ag-live-respond { height:
|
|
905
|
+
.ag-live-respond { height: var(--control-height-sm); min-height: var(--control-height-sm); flex: none; border: 1px solid currentColor; border-radius: var(--radius-control); padding: 0 8px; color: var(--surface-warning-text); background: transparent; cursor: pointer; }
|
|
907
906
|
.ag-live-events-clip { margin-top: auto; height: 48px; min-height: 48px; overflow: hidden; }
|
|
908
|
-
.ag-live-events { margin: 0; padding: 0; list-style: none;
|
|
909
|
-
.ag-live-events li { display: flex; align-items: center; gap: 6px; min-height: 16px; font:
|
|
907
|
+
.ag-live-events { margin: 0; padding: 0; list-style: none; }
|
|
908
|
+
.ag-live-events li { display: flex; align-items: center; gap: 6px; min-height: 16px; font: var(--font-size-xs)/16px var(--font-mono, monospace); color: var(--ag-muted); transition: color var(--motion-stream); }
|
|
910
909
|
.ag-live-events li svg { flex: none; width: 12px; height: 12px; }
|
|
911
910
|
.ag-live-events li:last-child { color: var(--ag-fg); }
|
|
912
911
|
.ag-live-event-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
913
912
|
.ag-live-event-at { flex: none; min-width: 3ch; text-align: right; font-variant-numeric: tabular-nums; }
|
|
914
|
-
.ag-live-chip { height:
|
|
915
|
-
.ag-live-chip .ag-live-head { display:
|
|
916
|
-
.ag-live-chip .ag-live-names { display:
|
|
913
|
+
.ag-live-chip { height: 80px; display: grid; grid-template-columns: 16px minmax(0, 1fr) auto auto; grid-template-rows: 18px minmax(0, 1fr); gap: 4px 8px; }
|
|
914
|
+
.ag-live-chip .ag-live-head { display: contents; }
|
|
915
|
+
.ag-live-chip .ag-live-names { display: contents; }
|
|
916
|
+
.ag-live-chip .ag-live-name { grid-column: 2; grid-row: 1; }
|
|
917
917
|
.ag-live-chip .ag-live-stats, .ag-live-chip .ag-live-head > :first-child { display: none; }
|
|
918
|
-
.ag-live-chip-result {
|
|
918
|
+
.ag-live-chip-result { grid-column: 1 / -1; grid-row: 2; min-width: 0; overflow: auto; overflow-wrap: anywhere; font-size: var(--font-size-sm); line-height: 18px; }
|
|
919
919
|
.ag-phone-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 8px; list-style: none; }
|
|
920
920
|
.ag-phone-list > li { min-width: 0; padding-left: min(calc(var(--depth) * 16px), 32px); border-left: 1px solid var(--ag-border); }
|
|
921
921
|
.ag-phone-select { width: 100%; height: 100%; text-align: left; background: transparent; padding: 0; border: 0; color: inherit; cursor: pointer; }
|
|
@@ -929,28 +929,40 @@
|
|
|
929
929
|
.ag-phone-select .ag-agent-card { height: auto; min-height: 88px; }
|
|
930
930
|
.ag-caption-target { display: none; }
|
|
931
931
|
.ag-status-button { flex: 0 0 auto; }
|
|
932
|
-
.ag-live-card.ag-live-chip { min-height:
|
|
932
|
+
.ag-live-card.ag-live-chip { min-height: 80px; height: 80px; }
|
|
933
933
|
}
|
|
934
|
-
.ag-live-
|
|
935
|
-
.ag-live-chip-
|
|
936
|
-
.ag-
|
|
937
|
-
.ag-parent-label { color: var(--ag-muted); font-size: 12px; font-weight: 400; }
|
|
934
|
+
.ag-live-chip-status { grid-column: 3; grid-row: 1; font-size: var(--font-size-xs); color: var(--ag-status); }
|
|
935
|
+
.ag-live-chip-cost { grid-column: 4; grid-row: 1; font-size: var(--font-size-xs); color: var(--ag-muted); font-variant-numeric: tabular-nums; }
|
|
936
|
+
.ag-parent-label { color: var(--ag-muted); font-size: var(--font-size-xs); font-weight: 400; }
|
|
938
937
|
.ag-agent-card[data-status="needs-you"] p { -webkit-line-clamp: 1; }
|
|
939
|
-
.ag-latest { flex: none; min-width: 0; border-bottom: 1px solid hsl(var(--border)); padding:
|
|
940
|
-
.ag-latest header { display: flex;
|
|
938
|
+
.ag-latest { container-type: inline-size; flex: none; min-width: 0; border-bottom: 1px solid hsl(var(--border)); padding: 4px 12px; color: hsl(var(--foreground)); font-size: var(--font-size-xs); line-height: 16px; }
|
|
939
|
+
.ag-latest header { float: left; width: 128px; height: 64px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
|
|
941
940
|
.ag-latest header > span { color: hsl(var(--muted-foreground)); }
|
|
942
|
-
.ag-latest header > button {
|
|
943
|
-
.ag-latest ol { list-style: none; margin: 0; padding: 0; overflow: auto; }
|
|
944
|
-
.ag-latest li { height:
|
|
945
|
-
.ag-latest li > button { display:
|
|
941
|
+
.ag-latest header > button { padding: 0; border: 0; background: transparent; text-decoration: underline; font: inherit; color: inherit; cursor: pointer; }
|
|
942
|
+
.ag-latest ol { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 0 12px; list-style: none; margin: 0 0 0 140px; padding: 0; overflow: auto; height: 64px; }
|
|
943
|
+
.ag-latest li { min-height: 64px; }
|
|
944
|
+
.ag-latest li > button { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 0 6px; align-content: start; align-items: start; width: 100%; min-height: 64px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
|
|
946
945
|
.ag-latest li > button:disabled { cursor: default; }
|
|
947
946
|
.ag-latest strong { font-weight: 600; }
|
|
948
|
-
.ag-latest li strong {
|
|
949
|
-
.ag-latest-dot { box-sizing: border-box; width: 8px; height: 8px;
|
|
950
|
-
.ag-latest-state { display: inline-flex; align-items: center; gap: 4px;
|
|
951
|
-
.ag-latest-label {
|
|
952
|
-
.ag-latest time {
|
|
953
|
-
.ag-latest-empty { display: flex; align-items: center; color: hsl(var(--muted-foreground)); }
|
|
947
|
+
.ag-latest li strong { grid-column: 2; grid-row: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
948
|
+
.ag-latest-dot { box-sizing: border-box; width: 8px; height: 8px; border-radius: var(--radius-pill); }
|
|
949
|
+
.ag-latest-state { grid-column: 3; grid-row: 1; display: inline-flex; align-items: center; gap: 4px; }
|
|
950
|
+
.ag-latest-label { grid-column: 2 / -1; grid-row: 2; min-width: 0; overflow-wrap: anywhere; font: var(--font-size-xs)/16px var(--font-mono, monospace); }
|
|
951
|
+
.ag-latest time { grid-column: 2 / -1; grid-row: 3; color: hsl(var(--muted-foreground)); font: var(--font-size-xs)/16px var(--font-mono, monospace); font-variant-numeric: tabular-nums; }
|
|
952
|
+
.ag-latest-empty { grid-column: 1 / -1; display: flex; align-items: center; color: hsl(var(--muted-foreground)); }
|
|
953
|
+
.ag-frame-owner .ag-live-card { height: 100%; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; grid-template-rows: 18px minmax(0, 1fr); gap: 4px 8px; }
|
|
954
|
+
.ag-frame-owner .ag-live-chip-result { white-space: nowrap; }
|
|
955
|
+
.ag-frame-owner .ag-live-head { display: contents; }
|
|
956
|
+
.ag-frame-owner .ag-live-meta, .ag-frame-owner .ag-live-events-clip { display: none; }
|
|
957
|
+
.ag-frame-owner .ag-live-thinking-row { grid-column: 2 / -1; grid-row: 2; }
|
|
958
|
+
.ag-frame-owner .ag-live-thinking { -webkit-line-clamp: 1; }
|
|
959
|
+
.ag-frame-owner .ag-live-accounting { display: none; }
|
|
960
|
+
.ag-frame-owner .ag-agent-card { flex-direction: row; align-items: center; gap: 16px; }
|
|
961
|
+
@container (width < 600px) {
|
|
962
|
+
.ag-latest header { float: none; width: auto; height: 24px; flex-direction: row; align-items: center; justify-content: start; gap: 8px; } .ag-latest header > button { margin-left: auto; }
|
|
963
|
+
.ag-latest ol { grid-template-columns: 1fr; margin-left: 0; height: calc(var(--ag-latest-rows) * 64px); }
|
|
964
|
+
}
|
|
965
|
+
@media (pointer: coarse) { .ag-live-respond { min-height: 44px; min-width: 44px; } }
|
|
954
966
|
|
|
955
967
|
/* Published sources: this package's dist and its @tangle-network/ui peer. */
|
|
956
968
|
@source "./**/*.js";
|
package/dist/workflows.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ModelBrandStack, o as modelBrandFor, t as ModelBrandIdentity } from "./model-brand-ZwVS49Fq.js";
|
|
2
|
-
import { a as AgentGraphTool, c as AgentGraphEdge, d as AgentGraphNode, f as AgentGraphStatus, i as AgentGraphCallKind, l as AgentGraphEdgeKind, n as AgentGraphProps, o as AgentGraphActivity, r as AgentGraphCall, s as AgentGraphDirection, t as AgentGraph, u as AgentGraphEvent } from "./AgentGraph-
|
|
2
|
+
import { a as AgentGraphTool, c as AgentGraphEdge, d as AgentGraphNode, f as AgentGraphStatus, i as AgentGraphCallKind, l as AgentGraphEdgeKind, n as AgentGraphProps, o as AgentGraphActivity, r as AgentGraphCall, s as AgentGraphDirection, t as AgentGraph, u as AgentGraphEvent } from "./AgentGraph-DzdpPFEI.js";
|
|
3
3
|
import { StatusTone } from "@tangle-network/ui/primitives";
|
|
4
4
|
import { Component, ReactElement, ReactNode } from "react";
|
|
5
5
|
import { LucideIcon } from "lucide-react";
|
package/dist/workflows.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as modelBrandFor, t as ModelBrandStack } from "./model-brand-bTcMjQtB.js";
|
|
2
|
-
import { n as WorkflowGraph, t as AgentGraph } from "./AgentGraph-
|
|
3
|
-
import { C as actionNodeId, D as triggerNodeId, M as humanizeIdentifier, N as parseActionPath, O as triggerNodeIndex, P as shortModel, S as TRIGGER_NODE_ID, T as buildWorkflowGraph, c as STATUS_COLOR, d as STATUS_TONE, j as actionPathLabel, l as STATUS_LABEL, n as KIND_ICON, p as StatusPill, r as NodeMark, u as STATUS_PILL, w as branchNodeId } from "./node-ui-
|
|
2
|
+
import { n as WorkflowGraph, t as AgentGraph } from "./AgentGraph-YuBa5O8m.js";
|
|
3
|
+
import { C as actionNodeId, D as triggerNodeId, M as humanizeIdentifier, N as parseActionPath, O as triggerNodeIndex, P as shortModel, S as TRIGGER_NODE_ID, T as buildWorkflowGraph, c as STATUS_COLOR, d as STATUS_TONE, j as actionPathLabel, l as STATUS_LABEL, n as KIND_ICON, p as StatusPill, r as NodeMark, u as STATUS_PILL, w as branchNodeId } from "./node-ui-Dst2R2M5.js";
|
|
4
4
|
import { n as classifyOutput, r as condenseText, t as NodeOutputBody } from "./node-output-DlySTwxr.js";
|
|
5
5
|
export { AgentGraph, KIND_ICON, ModelBrandStack, NodeMark, NodeOutputBody, StatusPill as NodeStatusPill, STATUS_COLOR, STATUS_LABEL, STATUS_PILL, STATUS_TONE, TRIGGER_NODE_ID, WorkflowGraph as WorkflowGraphLazy, actionNodeId, actionPathLabel, branchNodeId, buildWorkflowGraph, classifyOutput, condenseText, humanizeIdentifier, modelBrandFor, parseActionPath, shortModel, triggerNodeId, triggerNodeIndex };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
|
|
6
6
|
"repository": {
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"@nanostores/react": ">=0.8.4 <2.0.0",
|
|
139
139
|
"@tangle-network/agent-interface": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^5.2.0",
|
|
140
140
|
"@tangle-network/brand": "^1.31.1",
|
|
141
|
-
"@tangle-network/charts": "^2.0.
|
|
141
|
+
"@tangle-network/charts": "^2.0.5",
|
|
142
142
|
"@tangle-network/ui": "^11.51.1",
|
|
143
143
|
"@tanstack/react-query": "^5.0.0",
|
|
144
144
|
"@tiptap/core": ">=3.20.4 <4.0.0",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"@tailwindcss/postcss": "^4.3.3",
|
|
238
238
|
"@tangle-network/agent-interface": "5.10.2",
|
|
239
239
|
"@tangle-network/brand": "^1.31.1",
|
|
240
|
-
"@tangle-network/charts": "^2.0.
|
|
240
|
+
"@tangle-network/charts": "^2.0.5",
|
|
241
241
|
"@tanstack/react-query": "^5.104.5",
|
|
242
242
|
"@testing-library/dom": "^10.4.2",
|
|
243
243
|
"@testing-library/jest-dom": "^7.0.1",
|