@almadar/std 13.6.0 → 13.8.0
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/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
- package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
- package/behaviors/registry/app/organisms/std-cms.orb +547 -547
- package/behaviors/registry/core/atoms/std-browse.orb +36 -36
- package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
- package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
- package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
- package/behaviors/registry/core/atoms/std-display.orb +2 -2
- package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
- package/behaviors/registry/core/atoms/std-filter.orb +6 -9
- package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
- package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
- package/behaviors/registry/core/atoms/std-push.orb +48 -90
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
- package/behaviors/registry/core/atoms/std-related.orb +31 -31
- package/behaviors/registry/core/atoms/std-search.orb +3 -3
- package/behaviors/registry/core/atoms/std-selection.orb +102 -102
- package/behaviors/registry/core/atoms/std-stats.orb +64 -64
- package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
- package/behaviors/registry/core/molecules/std-cart.orb +64 -64
- package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
- package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
- package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
- package/behaviors/registry/core/molecules/std-list.orb +63 -63
- package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
- package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
- package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
- package/behaviors/registry/game/atoms/std-quest.orb +137 -137
- package/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
- package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
- package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
- package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
- package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
- package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
- package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
- package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
- package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
- package/dist/behaviors/behaviors-registry.json +2913 -322
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
- package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
- package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
- package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
- package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
- package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
- package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
- package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
- package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
- package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
- package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
- package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
- package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
- package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
- package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
- package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
- package/dist/behaviors-registry.json +2913 -322
- package/dist/index.d.ts +2 -2
- package/dist/index.js +26 -13
- package/dist/index.js.map +1 -1
- package/dist/modules/agent.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/array.js +16 -8
- package/dist/modules/array.js.map +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +6 -3
- package/dist/modules/core.js.map +1 -1
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +26 -13
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/object.js +4 -2
- package/dist/modules/object.js.map +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/registry.d.ts +1 -1
- package/dist/registry.js +26 -13
- package/dist/registry.js.map +1 -1
- package/dist/{types-D7dG8fBF.d.ts → types-CdSN5hnD.d.ts} +43 -0
- package/package.json +1 -1
|
@@ -289,13 +289,18 @@
|
|
|
289
289
|
"to": "normal",
|
|
290
290
|
"event": "INIT",
|
|
291
291
|
"effects": [
|
|
292
|
+
[
|
|
293
|
+
"set",
|
|
294
|
+
"@entity.max",
|
|
295
|
+
200000.0
|
|
296
|
+
],
|
|
292
297
|
[
|
|
293
298
|
"fetch",
|
|
294
299
|
"AgentContextWindow",
|
|
295
300
|
{
|
|
296
301
|
"emit": {
|
|
297
|
-
"
|
|
298
|
-
"
|
|
302
|
+
"success": "AgentContextWindowLoaded",
|
|
303
|
+
"failure": "AgentContextWindowLoadFailed"
|
|
299
304
|
}
|
|
300
305
|
}
|
|
301
306
|
],
|
|
@@ -303,65 +308,65 @@
|
|
|
303
308
|
"render-ui",
|
|
304
309
|
"main",
|
|
305
310
|
{
|
|
311
|
+
"gap": "lg",
|
|
312
|
+
"type": "stack",
|
|
306
313
|
"children": [
|
|
307
314
|
{
|
|
308
315
|
"type": "stack",
|
|
309
316
|
"gap": "sm",
|
|
310
|
-
"align": "center",
|
|
311
|
-
"direction": "horizontal",
|
|
312
317
|
"children": [
|
|
313
318
|
{
|
|
314
319
|
"name": "gauge",
|
|
315
320
|
"type": "icon"
|
|
316
321
|
},
|
|
317
322
|
{
|
|
318
|
-
"variant": "h2",
|
|
319
323
|
"type": "typography",
|
|
320
|
-
"content": "Token Usage"
|
|
324
|
+
"content": "Token Usage",
|
|
325
|
+
"variant": "h2"
|
|
321
326
|
},
|
|
322
327
|
{
|
|
323
|
-
"
|
|
328
|
+
"label": "Normal",
|
|
324
329
|
"type": "badge",
|
|
325
|
-
"
|
|
330
|
+
"variant": "default"
|
|
326
331
|
}
|
|
327
|
-
]
|
|
332
|
+
],
|
|
333
|
+
"align": "center",
|
|
334
|
+
"direction": "horizontal"
|
|
328
335
|
},
|
|
329
336
|
{
|
|
330
337
|
"type": "divider"
|
|
331
338
|
},
|
|
332
339
|
{
|
|
333
|
-
"type": "progress-bar",
|
|
334
340
|
"value": "@entity.current",
|
|
335
|
-
"max": "@entity.max"
|
|
341
|
+
"max": "@entity.max",
|
|
342
|
+
"type": "progress-bar"
|
|
336
343
|
},
|
|
337
344
|
{
|
|
345
|
+
"direction": "horizontal",
|
|
338
346
|
"gap": "md",
|
|
339
|
-
"type": "stack",
|
|
340
347
|
"children": [
|
|
341
348
|
{
|
|
342
|
-
"label": "Tokens Used",
|
|
343
349
|
"value": "@entity.current",
|
|
344
|
-
"type": "stat-display"
|
|
350
|
+
"type": "stat-display",
|
|
351
|
+
"label": "Tokens Used"
|
|
345
352
|
},
|
|
346
353
|
{
|
|
347
354
|
"label": "Max Tokens",
|
|
348
|
-
"
|
|
349
|
-
"
|
|
355
|
+
"value": "@entity.max",
|
|
356
|
+
"type": "stat-display"
|
|
350
357
|
}
|
|
351
358
|
],
|
|
352
|
-
"
|
|
359
|
+
"type": "stack"
|
|
353
360
|
},
|
|
354
361
|
{
|
|
362
|
+
"type": "button",
|
|
355
363
|
"action": "RESET",
|
|
356
|
-
"label": "Reset",
|
|
357
364
|
"variant": "ghost",
|
|
358
|
-
"
|
|
359
|
-
"
|
|
365
|
+
"label": "Reset",
|
|
366
|
+
"icon": "rotate-ccw"
|
|
360
367
|
}
|
|
361
368
|
],
|
|
362
|
-
"
|
|
363
|
-
"direction": "vertical",
|
|
364
|
-
"type": "stack"
|
|
369
|
+
"direction": "vertical"
|
|
365
370
|
}
|
|
366
371
|
]
|
|
367
372
|
]
|
|
@@ -389,41 +394,43 @@
|
|
|
389
394
|
"render-ui",
|
|
390
395
|
"main",
|
|
391
396
|
{
|
|
397
|
+
"type": "stack",
|
|
398
|
+
"direction": "vertical",
|
|
399
|
+
"gap": "lg",
|
|
392
400
|
"children": [
|
|
393
401
|
{
|
|
394
|
-
"direction": "horizontal",
|
|
395
|
-
"type": "stack",
|
|
396
|
-
"align": "center",
|
|
397
402
|
"children": [
|
|
398
403
|
{
|
|
399
|
-
"
|
|
400
|
-
"
|
|
404
|
+
"name": "gauge",
|
|
405
|
+
"type": "icon"
|
|
401
406
|
},
|
|
402
407
|
{
|
|
403
|
-
"content": "Token Usage",
|
|
404
408
|
"type": "typography",
|
|
409
|
+
"content": "Token Usage",
|
|
405
410
|
"variant": "h2"
|
|
406
411
|
},
|
|
407
412
|
{
|
|
413
|
+
"variant": "default",
|
|
408
414
|
"type": "badge",
|
|
409
|
-
"label": "Normal"
|
|
410
|
-
"variant": "default"
|
|
415
|
+
"label": "Normal"
|
|
411
416
|
}
|
|
412
417
|
],
|
|
413
|
-
"gap": "sm"
|
|
418
|
+
"gap": "sm",
|
|
419
|
+
"direction": "horizontal",
|
|
420
|
+
"align": "center",
|
|
421
|
+
"type": "stack"
|
|
414
422
|
},
|
|
415
423
|
{
|
|
416
424
|
"type": "divider"
|
|
417
425
|
},
|
|
418
426
|
{
|
|
419
|
-
"type": "progress-bar",
|
|
420
427
|
"value": "@entity.current",
|
|
428
|
+
"type": "progress-bar",
|
|
421
429
|
"max": "@entity.max"
|
|
422
430
|
},
|
|
423
431
|
{
|
|
424
|
-
"gap": "md",
|
|
425
432
|
"direction": "horizontal",
|
|
426
|
-
"
|
|
433
|
+
"gap": "md",
|
|
427
434
|
"children": [
|
|
428
435
|
{
|
|
429
436
|
"type": "stat-display",
|
|
@@ -431,23 +438,21 @@
|
|
|
431
438
|
"value": "@entity.current"
|
|
432
439
|
},
|
|
433
440
|
{
|
|
434
|
-
"label": "Max Tokens",
|
|
435
441
|
"value": "@entity.max",
|
|
436
|
-
"type": "stat-display"
|
|
442
|
+
"type": "stat-display",
|
|
443
|
+
"label": "Max Tokens"
|
|
437
444
|
}
|
|
438
|
-
]
|
|
445
|
+
],
|
|
446
|
+
"type": "stack"
|
|
439
447
|
},
|
|
440
448
|
{
|
|
441
|
-
"action": "RESET",
|
|
442
449
|
"label": "Reset",
|
|
443
450
|
"variant": "ghost",
|
|
444
451
|
"type": "button",
|
|
445
|
-
"icon": "rotate-ccw"
|
|
452
|
+
"icon": "rotate-ccw",
|
|
453
|
+
"action": "RESET"
|
|
446
454
|
}
|
|
447
|
-
]
|
|
448
|
-
"direction": "vertical",
|
|
449
|
-
"type": "stack",
|
|
450
|
-
"gap": "lg"
|
|
455
|
+
]
|
|
451
456
|
}
|
|
452
457
|
]
|
|
453
458
|
]
|
|
@@ -487,84 +492,84 @@
|
|
|
487
492
|
"render-ui",
|
|
488
493
|
"main",
|
|
489
494
|
{
|
|
490
|
-
"
|
|
495
|
+
"type": "stack",
|
|
496
|
+
"direction": "vertical",
|
|
491
497
|
"children": [
|
|
492
498
|
{
|
|
493
499
|
"type": "stack",
|
|
494
|
-
"direction": "horizontal",
|
|
495
500
|
"children": [
|
|
496
501
|
{
|
|
497
|
-
"
|
|
498
|
-
"
|
|
502
|
+
"type": "icon",
|
|
503
|
+
"name": "alert-triangle"
|
|
499
504
|
},
|
|
500
505
|
{
|
|
501
|
-
"
|
|
506
|
+
"variant": "h2",
|
|
502
507
|
"type": "typography",
|
|
503
|
-
"
|
|
508
|
+
"content": "Token Usage"
|
|
504
509
|
},
|
|
505
510
|
{
|
|
506
|
-
"label": "Warning",
|
|
507
511
|
"variant": "warning",
|
|
508
|
-
"type": "badge"
|
|
512
|
+
"type": "badge",
|
|
513
|
+
"label": "Warning"
|
|
509
514
|
}
|
|
510
515
|
],
|
|
511
|
-
"
|
|
512
|
-
"
|
|
516
|
+
"align": "center",
|
|
517
|
+
"direction": "horizontal",
|
|
518
|
+
"gap": "sm"
|
|
513
519
|
},
|
|
514
520
|
{
|
|
515
521
|
"type": "divider"
|
|
516
522
|
},
|
|
517
523
|
{
|
|
518
|
-
"
|
|
524
|
+
"variant": "warning",
|
|
519
525
|
"message": "Token usage approaching limit. Consider compacting.",
|
|
520
|
-
"
|
|
526
|
+
"type": "alert"
|
|
521
527
|
},
|
|
522
528
|
{
|
|
523
|
-
"type": "progress-bar",
|
|
524
529
|
"value": "@entity.current",
|
|
525
|
-
"max": "@entity.max"
|
|
530
|
+
"max": "@entity.max",
|
|
531
|
+
"type": "progress-bar"
|
|
526
532
|
},
|
|
527
533
|
{
|
|
528
534
|
"type": "stack",
|
|
529
535
|
"direction": "horizontal",
|
|
536
|
+
"gap": "md",
|
|
530
537
|
"children": [
|
|
531
538
|
{
|
|
532
|
-
"
|
|
539
|
+
"value": "@entity.current",
|
|
533
540
|
"label": "Tokens Used",
|
|
534
|
-
"
|
|
541
|
+
"type": "stat-display"
|
|
535
542
|
},
|
|
536
543
|
{
|
|
537
|
-
"value": "@entity.max",
|
|
538
544
|
"type": "stat-display",
|
|
539
|
-
"label": "Max Tokens"
|
|
545
|
+
"label": "Max Tokens",
|
|
546
|
+
"value": "@entity.max"
|
|
540
547
|
}
|
|
541
|
-
]
|
|
542
|
-
"gap": "md"
|
|
548
|
+
]
|
|
543
549
|
},
|
|
544
550
|
{
|
|
545
|
-
"
|
|
551
|
+
"type": "stack",
|
|
546
552
|
"children": [
|
|
547
553
|
{
|
|
548
|
-
"
|
|
554
|
+
"icon": "minimize-2",
|
|
549
555
|
"label": "Compact",
|
|
550
|
-
"
|
|
556
|
+
"type": "button",
|
|
551
557
|
"action": "COMPACT",
|
|
552
|
-
"
|
|
558
|
+
"variant": "primary"
|
|
553
559
|
},
|
|
554
560
|
{
|
|
555
|
-
"icon": "rotate-ccw",
|
|
556
561
|
"action": "RESET",
|
|
557
|
-
"type": "button",
|
|
558
562
|
"label": "Reset",
|
|
563
|
+
"icon": "rotate-ccw",
|
|
564
|
+
"type": "button",
|
|
559
565
|
"variant": "ghost"
|
|
560
566
|
}
|
|
561
567
|
],
|
|
562
|
-
"
|
|
563
|
-
"
|
|
568
|
+
"direction": "horizontal",
|
|
569
|
+
"gap": "sm"
|
|
564
570
|
}
|
|
565
571
|
],
|
|
566
|
-
"
|
|
567
|
-
"direction": "vertical"
|
|
572
|
+
"gap": "lg"
|
|
568
573
|
}
|
|
569
574
|
]
|
|
570
575
|
]
|
|
@@ -592,48 +597,45 @@
|
|
|
592
597
|
"render-ui",
|
|
593
598
|
"main",
|
|
594
599
|
{
|
|
595
|
-
"direction": "vertical",
|
|
596
|
-
"gap": "lg",
|
|
597
600
|
"type": "stack",
|
|
601
|
+
"gap": "lg",
|
|
598
602
|
"children": [
|
|
599
603
|
{
|
|
604
|
+
"align": "center",
|
|
605
|
+
"type": "stack",
|
|
606
|
+
"direction": "horizontal",
|
|
600
607
|
"children": [
|
|
601
608
|
{
|
|
602
609
|
"name": "alert-octagon",
|
|
603
610
|
"type": "icon"
|
|
604
611
|
},
|
|
605
612
|
{
|
|
606
|
-
"
|
|
613
|
+
"variant": "h2",
|
|
607
614
|
"content": "Token Usage",
|
|
608
|
-
"
|
|
615
|
+
"type": "typography"
|
|
609
616
|
},
|
|
610
617
|
{
|
|
618
|
+
"variant": "danger",
|
|
611
619
|
"type": "badge",
|
|
612
|
-
"label": "Critical"
|
|
613
|
-
"variant": "danger"
|
|
620
|
+
"label": "Critical"
|
|
614
621
|
}
|
|
615
622
|
],
|
|
616
|
-
"direction": "horizontal",
|
|
617
|
-
"align": "center",
|
|
618
|
-
"type": "stack",
|
|
619
623
|
"gap": "sm"
|
|
620
624
|
},
|
|
621
625
|
{
|
|
622
626
|
"type": "divider"
|
|
623
627
|
},
|
|
624
628
|
{
|
|
625
|
-
"message": "Token usage critical. Compact immediately to avoid truncation.",
|
|
626
629
|
"type": "alert",
|
|
630
|
+
"message": "Token usage critical. Compact immediately to avoid truncation.",
|
|
627
631
|
"variant": "error"
|
|
628
632
|
},
|
|
629
633
|
{
|
|
630
|
-
"
|
|
634
|
+
"type": "progress-bar",
|
|
631
635
|
"value": "@entity.current",
|
|
632
|
-
"
|
|
636
|
+
"max": "@entity.max"
|
|
633
637
|
},
|
|
634
638
|
{
|
|
635
|
-
"type": "stack",
|
|
636
|
-
"gap": "md",
|
|
637
639
|
"children": [
|
|
638
640
|
{
|
|
639
641
|
"value": "@entity.current",
|
|
@@ -646,30 +648,33 @@
|
|
|
646
648
|
"value": "@entity.max"
|
|
647
649
|
}
|
|
648
650
|
],
|
|
651
|
+
"type": "stack",
|
|
652
|
+
"gap": "md",
|
|
649
653
|
"direction": "horizontal"
|
|
650
654
|
},
|
|
651
655
|
{
|
|
652
|
-
"direction": "horizontal",
|
|
653
|
-
"gap": "sm",
|
|
654
656
|
"type": "stack",
|
|
657
|
+
"gap": "sm",
|
|
655
658
|
"children": [
|
|
656
659
|
{
|
|
660
|
+
"icon": "minimize-2",
|
|
657
661
|
"type": "button",
|
|
658
662
|
"label": "Compact Now",
|
|
659
663
|
"variant": "primary",
|
|
660
|
-
"action": "COMPACT"
|
|
661
|
-
"icon": "minimize-2"
|
|
664
|
+
"action": "COMPACT"
|
|
662
665
|
},
|
|
663
666
|
{
|
|
664
|
-
"label": "Reset",
|
|
665
|
-
"variant": "ghost",
|
|
666
667
|
"icon": "rotate-ccw",
|
|
668
|
+
"label": "Reset",
|
|
669
|
+
"type": "button",
|
|
667
670
|
"action": "RESET",
|
|
668
|
-
"
|
|
671
|
+
"variant": "ghost"
|
|
669
672
|
}
|
|
670
|
-
]
|
|
673
|
+
],
|
|
674
|
+
"direction": "horizontal"
|
|
671
675
|
}
|
|
672
|
-
]
|
|
676
|
+
],
|
|
677
|
+
"direction": "vertical"
|
|
673
678
|
}
|
|
674
679
|
]
|
|
675
680
|
]
|
|
@@ -694,65 +699,65 @@
|
|
|
694
699
|
"render-ui",
|
|
695
700
|
"main",
|
|
696
701
|
{
|
|
702
|
+
"gap": "lg",
|
|
697
703
|
"type": "stack",
|
|
698
704
|
"direction": "vertical",
|
|
699
705
|
"children": [
|
|
700
706
|
{
|
|
701
|
-
"
|
|
707
|
+
"type": "stack",
|
|
702
708
|
"direction": "horizontal",
|
|
709
|
+
"align": "center",
|
|
703
710
|
"children": [
|
|
704
711
|
{
|
|
705
712
|
"name": "gauge",
|
|
706
713
|
"type": "icon"
|
|
707
714
|
},
|
|
708
715
|
{
|
|
709
|
-
"type": "typography",
|
|
710
716
|
"variant": "h2",
|
|
711
|
-
"content": "Token Usage"
|
|
717
|
+
"content": "Token Usage",
|
|
718
|
+
"type": "typography"
|
|
712
719
|
},
|
|
713
720
|
{
|
|
721
|
+
"type": "badge",
|
|
714
722
|
"label": "Normal",
|
|
715
|
-
"variant": "default"
|
|
716
|
-
"type": "badge"
|
|
723
|
+
"variant": "default"
|
|
717
724
|
}
|
|
718
725
|
],
|
|
719
|
-
"type": "stack",
|
|
720
726
|
"gap": "sm"
|
|
721
727
|
},
|
|
722
728
|
{
|
|
723
729
|
"type": "divider"
|
|
724
730
|
},
|
|
725
731
|
{
|
|
726
|
-
"value": "@entity.current",
|
|
727
732
|
"type": "progress-bar",
|
|
733
|
+
"value": "@entity.current",
|
|
728
734
|
"max": "@entity.max"
|
|
729
735
|
},
|
|
730
736
|
{
|
|
737
|
+
"type": "stack",
|
|
731
738
|
"children": [
|
|
732
739
|
{
|
|
733
740
|
"value": "@entity.current",
|
|
734
|
-
"
|
|
735
|
-
"
|
|
741
|
+
"type": "stat-display",
|
|
742
|
+
"label": "Tokens Used"
|
|
736
743
|
},
|
|
737
744
|
{
|
|
745
|
+
"label": "Max Tokens",
|
|
738
746
|
"value": "@entity.max",
|
|
739
|
-
"type": "stat-display"
|
|
740
|
-
"label": "Max Tokens"
|
|
747
|
+
"type": "stat-display"
|
|
741
748
|
}
|
|
742
749
|
],
|
|
743
|
-
"type": "stack",
|
|
744
750
|
"gap": "md",
|
|
745
751
|
"direction": "horizontal"
|
|
746
752
|
},
|
|
747
753
|
{
|
|
748
754
|
"label": "Reset",
|
|
749
755
|
"icon": "rotate-ccw",
|
|
750
|
-
"action": "RESET",
|
|
751
756
|
"variant": "ghost",
|
|
752
|
-
"type": "button"
|
|
757
|
+
"type": "button",
|
|
758
|
+
"action": "RESET"
|
|
753
759
|
}
|
|
754
|
-
]
|
|
755
|
-
"gap": "lg"
|
|
760
|
+
]
|
|
756
761
|
}
|
|
757
762
|
]
|
|
758
763
|
]
|
|
@@ -773,9 +778,9 @@
|
|
|
773
778
|
{
|
|
774
779
|
"children": [
|
|
775
780
|
{
|
|
776
|
-
"
|
|
781
|
+
"direction": "horizontal",
|
|
777
782
|
"gap": "sm",
|
|
778
|
-
"
|
|
783
|
+
"type": "stack",
|
|
779
784
|
"children": [
|
|
780
785
|
{
|
|
781
786
|
"name": "gauge",
|
|
@@ -787,12 +792,12 @@
|
|
|
787
792
|
"content": "Token Usage"
|
|
788
793
|
},
|
|
789
794
|
{
|
|
795
|
+
"type": "badge",
|
|
790
796
|
"label": "Normal",
|
|
791
|
-
"variant": "default"
|
|
792
|
-
"type": "badge"
|
|
797
|
+
"variant": "default"
|
|
793
798
|
}
|
|
794
799
|
],
|
|
795
|
-
"
|
|
800
|
+
"align": "center"
|
|
796
801
|
},
|
|
797
802
|
{
|
|
798
803
|
"type": "divider"
|
|
@@ -803,12 +808,12 @@
|
|
|
803
808
|
"type": "progress-bar"
|
|
804
809
|
},
|
|
805
810
|
{
|
|
806
|
-
"
|
|
811
|
+
"direction": "horizontal",
|
|
807
812
|
"children": [
|
|
808
813
|
{
|
|
809
|
-
"
|
|
814
|
+
"type": "stat-display",
|
|
810
815
|
"label": "Tokens Used",
|
|
811
|
-
"
|
|
816
|
+
"value": "@entity.current"
|
|
812
817
|
},
|
|
813
818
|
{
|
|
814
819
|
"type": "stat-display",
|
|
@@ -816,20 +821,20 @@
|
|
|
816
821
|
"value": "@entity.max"
|
|
817
822
|
}
|
|
818
823
|
],
|
|
819
|
-
"
|
|
824
|
+
"type": "stack",
|
|
820
825
|
"gap": "md"
|
|
821
826
|
},
|
|
822
827
|
{
|
|
823
|
-
"type": "button",
|
|
824
828
|
"label": "Reset",
|
|
825
829
|
"variant": "ghost",
|
|
826
|
-
"
|
|
827
|
-
"
|
|
830
|
+
"icon": "rotate-ccw",
|
|
831
|
+
"type": "button",
|
|
832
|
+
"action": "RESET"
|
|
828
833
|
}
|
|
829
834
|
],
|
|
830
|
-
"direction": "vertical",
|
|
831
835
|
"gap": "lg",
|
|
832
|
-
"type": "stack"
|
|
836
|
+
"type": "stack",
|
|
837
|
+
"direction": "vertical"
|
|
833
838
|
}
|
|
834
839
|
]
|
|
835
840
|
]
|
|
@@ -869,84 +874,84 @@
|
|
|
869
874
|
"render-ui",
|
|
870
875
|
"main",
|
|
871
876
|
{
|
|
872
|
-
"direction": "vertical",
|
|
873
|
-
"gap": "lg",
|
|
874
|
-
"type": "stack",
|
|
875
877
|
"children": [
|
|
876
878
|
{
|
|
877
|
-
"direction": "horizontal",
|
|
878
|
-
"align": "center",
|
|
879
879
|
"type": "stack",
|
|
880
880
|
"children": [
|
|
881
881
|
{
|
|
882
|
-
"
|
|
883
|
-
"
|
|
882
|
+
"type": "icon",
|
|
883
|
+
"name": "alert-triangle"
|
|
884
884
|
},
|
|
885
885
|
{
|
|
886
|
+
"type": "typography",
|
|
886
887
|
"content": "Token Usage",
|
|
887
|
-
"variant": "h2"
|
|
888
|
-
"type": "typography"
|
|
888
|
+
"variant": "h2"
|
|
889
889
|
},
|
|
890
890
|
{
|
|
891
891
|
"label": "Warning",
|
|
892
|
-
"
|
|
893
|
-
"
|
|
892
|
+
"type": "badge",
|
|
893
|
+
"variant": "warning"
|
|
894
894
|
}
|
|
895
895
|
],
|
|
896
|
-
"
|
|
896
|
+
"align": "center",
|
|
897
|
+
"gap": "sm",
|
|
898
|
+
"direction": "horizontal"
|
|
897
899
|
},
|
|
898
900
|
{
|
|
899
901
|
"type": "divider"
|
|
900
902
|
},
|
|
901
903
|
{
|
|
904
|
+
"message": "Token usage approaching limit. Consider compacting.",
|
|
902
905
|
"type": "alert",
|
|
903
|
-
"variant": "warning"
|
|
904
|
-
"message": "Token usage approaching limit. Consider compacting."
|
|
906
|
+
"variant": "warning"
|
|
905
907
|
},
|
|
906
908
|
{
|
|
909
|
+
"type": "progress-bar",
|
|
907
910
|
"value": "@entity.current",
|
|
908
|
-
"max": "@entity.max"
|
|
909
|
-
"type": "progress-bar"
|
|
911
|
+
"max": "@entity.max"
|
|
910
912
|
},
|
|
911
913
|
{
|
|
912
914
|
"gap": "md",
|
|
915
|
+
"direction": "horizontal",
|
|
913
916
|
"children": [
|
|
914
917
|
{
|
|
918
|
+
"label": "Tokens Used",
|
|
915
919
|
"value": "@entity.current",
|
|
916
|
-
"type": "stat-display"
|
|
917
|
-
"label": "Tokens Used"
|
|
920
|
+
"type": "stat-display"
|
|
918
921
|
},
|
|
919
922
|
{
|
|
920
|
-
"type": "stat-display",
|
|
921
923
|
"value": "@entity.max",
|
|
924
|
+
"type": "stat-display",
|
|
922
925
|
"label": "Max Tokens"
|
|
923
926
|
}
|
|
924
927
|
],
|
|
925
|
-
"direction": "horizontal",
|
|
926
928
|
"type": "stack"
|
|
927
929
|
},
|
|
928
930
|
{
|
|
929
|
-
"direction": "horizontal",
|
|
930
931
|
"gap": "sm",
|
|
932
|
+
"direction": "horizontal",
|
|
933
|
+
"type": "stack",
|
|
931
934
|
"children": [
|
|
932
935
|
{
|
|
933
936
|
"action": "COMPACT",
|
|
937
|
+
"variant": "primary",
|
|
934
938
|
"type": "button",
|
|
935
939
|
"label": "Compact",
|
|
936
|
-
"variant": "primary",
|
|
937
940
|
"icon": "minimize-2"
|
|
938
941
|
},
|
|
939
942
|
{
|
|
940
|
-
"
|
|
943
|
+
"icon": "rotate-ccw",
|
|
941
944
|
"action": "RESET",
|
|
942
|
-
"
|
|
945
|
+
"variant": "ghost",
|
|
943
946
|
"type": "button",
|
|
944
|
-
"
|
|
947
|
+
"label": "Reset"
|
|
945
948
|
}
|
|
946
|
-
]
|
|
947
|
-
"type": "stack"
|
|
949
|
+
]
|
|
948
950
|
}
|
|
949
|
-
]
|
|
951
|
+
],
|
|
952
|
+
"type": "stack",
|
|
953
|
+
"direction": "vertical",
|
|
954
|
+
"gap": "lg"
|
|
950
955
|
}
|
|
951
956
|
]
|
|
952
957
|
]
|
|
@@ -974,14 +979,15 @@
|
|
|
974
979
|
"render-ui",
|
|
975
980
|
"main",
|
|
976
981
|
{
|
|
982
|
+
"type": "stack",
|
|
977
983
|
"children": [
|
|
978
984
|
{
|
|
979
|
-
"align": "center",
|
|
980
985
|
"type": "stack",
|
|
986
|
+
"gap": "sm",
|
|
981
987
|
"children": [
|
|
982
988
|
{
|
|
983
|
-
"
|
|
984
|
-
"
|
|
989
|
+
"type": "icon",
|
|
990
|
+
"name": "alert-octagon"
|
|
985
991
|
},
|
|
986
992
|
{
|
|
987
993
|
"variant": "h2",
|
|
@@ -990,12 +996,12 @@
|
|
|
990
996
|
},
|
|
991
997
|
{
|
|
992
998
|
"variant": "danger",
|
|
993
|
-
"
|
|
994
|
-
"
|
|
999
|
+
"label": "Critical",
|
|
1000
|
+
"type": "badge"
|
|
995
1001
|
}
|
|
996
1002
|
],
|
|
997
1003
|
"direction": "horizontal",
|
|
998
|
-
"
|
|
1004
|
+
"align": "center"
|
|
999
1005
|
},
|
|
1000
1006
|
{
|
|
1001
1007
|
"type": "divider"
|
|
@@ -1006,50 +1012,49 @@
|
|
|
1006
1012
|
"variant": "error"
|
|
1007
1013
|
},
|
|
1008
1014
|
{
|
|
1009
|
-
"
|
|
1015
|
+
"type": "progress-bar",
|
|
1010
1016
|
"max": "@entity.max",
|
|
1011
|
-
"
|
|
1017
|
+
"value": "@entity.current"
|
|
1012
1018
|
},
|
|
1013
1019
|
{
|
|
1014
|
-
"gap": "md",
|
|
1015
|
-
"type": "stack",
|
|
1016
|
-
"direction": "horizontal",
|
|
1017
1020
|
"children": [
|
|
1018
1021
|
{
|
|
1019
|
-
"type": "stat-display",
|
|
1020
1022
|
"label": "Tokens Used",
|
|
1021
|
-
"value": "@entity.current"
|
|
1023
|
+
"value": "@entity.current",
|
|
1024
|
+
"type": "stat-display"
|
|
1022
1025
|
},
|
|
1023
1026
|
{
|
|
1024
1027
|
"label": "Max Tokens",
|
|
1025
1028
|
"type": "stat-display",
|
|
1026
1029
|
"value": "@entity.max"
|
|
1027
1030
|
}
|
|
1028
|
-
]
|
|
1031
|
+
],
|
|
1032
|
+
"direction": "horizontal",
|
|
1033
|
+
"gap": "md",
|
|
1034
|
+
"type": "stack"
|
|
1029
1035
|
},
|
|
1030
1036
|
{
|
|
1037
|
+
"gap": "sm",
|
|
1038
|
+
"type": "stack",
|
|
1031
1039
|
"children": [
|
|
1032
1040
|
{
|
|
1033
|
-
"type": "button",
|
|
1034
|
-
"label": "Compact Now",
|
|
1035
1041
|
"variant": "primary",
|
|
1042
|
+
"action": "COMPACT",
|
|
1036
1043
|
"icon": "minimize-2",
|
|
1037
|
-
"
|
|
1044
|
+
"type": "button",
|
|
1045
|
+
"label": "Compact Now"
|
|
1038
1046
|
},
|
|
1039
1047
|
{
|
|
1040
1048
|
"action": "RESET",
|
|
1041
|
-
"
|
|
1049
|
+
"icon": "rotate-ccw",
|
|
1042
1050
|
"type": "button",
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1051
|
+
"label": "Reset",
|
|
1052
|
+
"variant": "ghost"
|
|
1045
1053
|
}
|
|
1046
1054
|
],
|
|
1047
|
-
"
|
|
1048
|
-
"direction": "horizontal",
|
|
1049
|
-
"gap": "sm"
|
|
1055
|
+
"direction": "horizontal"
|
|
1050
1056
|
}
|
|
1051
1057
|
],
|
|
1052
|
-
"type": "stack",
|
|
1053
1058
|
"direction": "vertical",
|
|
1054
1059
|
"gap": "lg"
|
|
1055
1060
|
}
|
|
@@ -1079,65 +1084,65 @@
|
|
|
1079
1084
|
"render-ui",
|
|
1080
1085
|
"main",
|
|
1081
1086
|
{
|
|
1087
|
+
"type": "stack",
|
|
1088
|
+
"direction": "vertical",
|
|
1089
|
+
"gap": "lg",
|
|
1082
1090
|
"children": [
|
|
1083
1091
|
{
|
|
1084
1092
|
"type": "stack",
|
|
1085
1093
|
"align": "center",
|
|
1086
|
-
"gap": "sm",
|
|
1087
1094
|
"children": [
|
|
1088
1095
|
{
|
|
1089
1096
|
"type": "icon",
|
|
1090
1097
|
"name": "gauge"
|
|
1091
1098
|
},
|
|
1092
1099
|
{
|
|
1100
|
+
"type": "typography",
|
|
1093
1101
|
"content": "Token Usage",
|
|
1094
|
-
"variant": "h2"
|
|
1095
|
-
"type": "typography"
|
|
1102
|
+
"variant": "h2"
|
|
1096
1103
|
},
|
|
1097
1104
|
{
|
|
1105
|
+
"type": "badge",
|
|
1098
1106
|
"variant": "default",
|
|
1099
|
-
"label": "Normal"
|
|
1100
|
-
"type": "badge"
|
|
1107
|
+
"label": "Normal"
|
|
1101
1108
|
}
|
|
1102
1109
|
],
|
|
1103
|
-
"direction": "horizontal"
|
|
1110
|
+
"direction": "horizontal",
|
|
1111
|
+
"gap": "sm"
|
|
1104
1112
|
},
|
|
1105
1113
|
{
|
|
1106
1114
|
"type": "divider"
|
|
1107
1115
|
},
|
|
1108
1116
|
{
|
|
1109
|
-
"value": "@entity.current",
|
|
1110
1117
|
"max": "@entity.max",
|
|
1118
|
+
"value": "@entity.current",
|
|
1111
1119
|
"type": "progress-bar"
|
|
1112
1120
|
},
|
|
1113
1121
|
{
|
|
1122
|
+
"direction": "horizontal",
|
|
1123
|
+
"gap": "md",
|
|
1114
1124
|
"children": [
|
|
1115
1125
|
{
|
|
1116
|
-
"
|
|
1126
|
+
"type": "stat-display",
|
|
1117
1127
|
"label": "Tokens Used",
|
|
1118
|
-
"
|
|
1128
|
+
"value": "@entity.current"
|
|
1119
1129
|
},
|
|
1120
1130
|
{
|
|
1131
|
+
"type": "stat-display",
|
|
1121
1132
|
"label": "Max Tokens",
|
|
1122
|
-
"value": "@entity.max"
|
|
1123
|
-
"type": "stat-display"
|
|
1133
|
+
"value": "@entity.max"
|
|
1124
1134
|
}
|
|
1125
1135
|
],
|
|
1126
|
-
"gap": "md",
|
|
1127
|
-
"direction": "horizontal",
|
|
1128
1136
|
"type": "stack"
|
|
1129
1137
|
},
|
|
1130
1138
|
{
|
|
1131
1139
|
"label": "Reset",
|
|
1132
|
-
"variant": "ghost",
|
|
1133
1140
|
"icon": "rotate-ccw",
|
|
1141
|
+
"variant": "ghost",
|
|
1134
1142
|
"action": "RESET",
|
|
1135
1143
|
"type": "button"
|
|
1136
1144
|
}
|
|
1137
|
-
]
|
|
1138
|
-
"direction": "vertical",
|
|
1139
|
-
"type": "stack",
|
|
1140
|
-
"gap": "lg"
|
|
1145
|
+
]
|
|
1141
1146
|
}
|
|
1142
1147
|
]
|
|
1143
1148
|
]
|
|
@@ -1163,64 +1168,64 @@
|
|
|
1163
1168
|
"main",
|
|
1164
1169
|
{
|
|
1165
1170
|
"direction": "vertical",
|
|
1171
|
+
"gap": "lg",
|
|
1166
1172
|
"type": "stack",
|
|
1167
1173
|
"children": [
|
|
1168
1174
|
{
|
|
1175
|
+
"direction": "horizontal",
|
|
1176
|
+
"align": "center",
|
|
1177
|
+
"type": "stack",
|
|
1169
1178
|
"children": [
|
|
1170
1179
|
{
|
|
1171
|
-
"
|
|
1172
|
-
"
|
|
1180
|
+
"type": "icon",
|
|
1181
|
+
"name": "gauge"
|
|
1173
1182
|
},
|
|
1174
1183
|
{
|
|
1175
|
-
"
|
|
1184
|
+
"type": "typography",
|
|
1176
1185
|
"content": "Token Usage",
|
|
1177
|
-
"
|
|
1186
|
+
"variant": "h2"
|
|
1178
1187
|
},
|
|
1179
1188
|
{
|
|
1189
|
+
"label": "Normal",
|
|
1180
1190
|
"variant": "default",
|
|
1181
|
-
"type": "badge"
|
|
1182
|
-
"label": "Normal"
|
|
1191
|
+
"type": "badge"
|
|
1183
1192
|
}
|
|
1184
1193
|
],
|
|
1185
|
-
"
|
|
1186
|
-
"gap": "sm",
|
|
1187
|
-
"direction": "horizontal",
|
|
1188
|
-
"type": "stack"
|
|
1194
|
+
"gap": "sm"
|
|
1189
1195
|
},
|
|
1190
1196
|
{
|
|
1191
1197
|
"type": "divider"
|
|
1192
1198
|
},
|
|
1193
1199
|
{
|
|
1194
|
-
"max": "@entity.max",
|
|
1195
1200
|
"type": "progress-bar",
|
|
1196
|
-
"value": "@entity.current"
|
|
1201
|
+
"value": "@entity.current",
|
|
1202
|
+
"max": "@entity.max"
|
|
1197
1203
|
},
|
|
1198
1204
|
{
|
|
1199
1205
|
"type": "stack",
|
|
1200
|
-
"gap": "md",
|
|
1201
1206
|
"direction": "horizontal",
|
|
1207
|
+
"gap": "md",
|
|
1202
1208
|
"children": [
|
|
1203
1209
|
{
|
|
1210
|
+
"value": "@entity.current",
|
|
1204
1211
|
"type": "stat-display",
|
|
1205
|
-
"label": "Tokens Used"
|
|
1206
|
-
"value": "@entity.current"
|
|
1212
|
+
"label": "Tokens Used"
|
|
1207
1213
|
},
|
|
1208
1214
|
{
|
|
1215
|
+
"value": "@entity.max",
|
|
1209
1216
|
"type": "stat-display",
|
|
1210
|
-
"label": "Max Tokens"
|
|
1211
|
-
"value": "@entity.max"
|
|
1217
|
+
"label": "Max Tokens"
|
|
1212
1218
|
}
|
|
1213
1219
|
]
|
|
1214
1220
|
},
|
|
1215
1221
|
{
|
|
1222
|
+
"action": "RESET",
|
|
1216
1223
|
"type": "button",
|
|
1224
|
+
"icon": "rotate-ccw",
|
|
1217
1225
|
"label": "Reset",
|
|
1218
|
-
"
|
|
1219
|
-
"variant": "ghost",
|
|
1220
|
-
"icon": "rotate-ccw"
|
|
1226
|
+
"variant": "ghost"
|
|
1221
1227
|
}
|
|
1222
|
-
]
|
|
1223
|
-
"gap": "lg"
|
|
1228
|
+
]
|
|
1224
1229
|
}
|
|
1225
1230
|
]
|
|
1226
1231
|
]
|
|
@@ -1239,65 +1244,65 @@
|
|
|
1239
1244
|
"render-ui",
|
|
1240
1245
|
"main",
|
|
1241
1246
|
{
|
|
1247
|
+
"type": "stack",
|
|
1242
1248
|
"children": [
|
|
1243
1249
|
{
|
|
1244
|
-
"align": "center",
|
|
1245
1250
|
"children": [
|
|
1246
1251
|
{
|
|
1247
|
-
"
|
|
1248
|
-
"
|
|
1252
|
+
"name": "gauge",
|
|
1253
|
+
"type": "icon"
|
|
1249
1254
|
},
|
|
1250
1255
|
{
|
|
1251
|
-
"variant": "h2",
|
|
1252
1256
|
"type": "typography",
|
|
1253
|
-
"content": "Token Usage"
|
|
1257
|
+
"content": "Token Usage",
|
|
1258
|
+
"variant": "h2"
|
|
1254
1259
|
},
|
|
1255
1260
|
{
|
|
1256
|
-
"variant": "default",
|
|
1257
1261
|
"label": "Normal",
|
|
1258
|
-
"type": "badge"
|
|
1262
|
+
"type": "badge",
|
|
1263
|
+
"variant": "default"
|
|
1259
1264
|
}
|
|
1260
1265
|
],
|
|
1261
1266
|
"direction": "horizontal",
|
|
1267
|
+
"gap": "sm",
|
|
1262
1268
|
"type": "stack",
|
|
1263
|
-
"
|
|
1269
|
+
"align": "center"
|
|
1264
1270
|
},
|
|
1265
1271
|
{
|
|
1266
1272
|
"type": "divider"
|
|
1267
1273
|
},
|
|
1268
1274
|
{
|
|
1269
|
-
"type": "progress-bar",
|
|
1270
1275
|
"value": "@entity.current",
|
|
1276
|
+
"type": "progress-bar",
|
|
1271
1277
|
"max": "@entity.max"
|
|
1272
1278
|
},
|
|
1273
1279
|
{
|
|
1274
1280
|
"type": "stack",
|
|
1275
1281
|
"direction": "horizontal",
|
|
1276
|
-
"gap": "md",
|
|
1277
1282
|
"children": [
|
|
1278
1283
|
{
|
|
1279
|
-
"
|
|
1284
|
+
"type": "stat-display",
|
|
1280
1285
|
"value": "@entity.current",
|
|
1281
|
-
"
|
|
1286
|
+
"label": "Tokens Used"
|
|
1282
1287
|
},
|
|
1283
1288
|
{
|
|
1284
|
-
"value": "@entity.max",
|
|
1285
1289
|
"type": "stat-display",
|
|
1286
|
-
"label": "Max Tokens"
|
|
1290
|
+
"label": "Max Tokens",
|
|
1291
|
+
"value": "@entity.max"
|
|
1287
1292
|
}
|
|
1288
|
-
]
|
|
1293
|
+
],
|
|
1294
|
+
"gap": "md"
|
|
1289
1295
|
},
|
|
1290
1296
|
{
|
|
1291
|
-
"
|
|
1292
|
-
"type": "button",
|
|
1293
|
-
"label": "Reset",
|
|
1297
|
+
"icon": "rotate-ccw",
|
|
1294
1298
|
"variant": "ghost",
|
|
1295
|
-
"
|
|
1299
|
+
"type": "button",
|
|
1300
|
+
"action": "RESET",
|
|
1301
|
+
"label": "Reset"
|
|
1296
1302
|
}
|
|
1297
1303
|
],
|
|
1298
|
-
"
|
|
1299
|
-
"gap": "lg"
|
|
1300
|
-
"direction": "vertical"
|
|
1304
|
+
"direction": "vertical",
|
|
1305
|
+
"gap": "lg"
|
|
1301
1306
|
}
|
|
1302
1307
|
]
|
|
1303
1308
|
]
|
|
@@ -1325,84 +1330,84 @@
|
|
|
1325
1330
|
"render-ui",
|
|
1326
1331
|
"main",
|
|
1327
1332
|
{
|
|
1328
|
-
"type": "stack",
|
|
1329
|
-
"direction": "vertical",
|
|
1330
|
-
"gap": "lg",
|
|
1331
1333
|
"children": [
|
|
1332
1334
|
{
|
|
1333
|
-
"direction": "horizontal",
|
|
1334
|
-
"type": "stack",
|
|
1335
1335
|
"children": [
|
|
1336
1336
|
{
|
|
1337
|
-
"
|
|
1338
|
-
"
|
|
1337
|
+
"name": "alert-octagon",
|
|
1338
|
+
"type": "icon"
|
|
1339
1339
|
},
|
|
1340
1340
|
{
|
|
1341
|
-
"
|
|
1341
|
+
"content": "Token Usage",
|
|
1342
1342
|
"type": "typography",
|
|
1343
|
-
"
|
|
1343
|
+
"variant": "h2"
|
|
1344
1344
|
},
|
|
1345
1345
|
{
|
|
1346
|
-
"variant": "danger",
|
|
1347
1346
|
"type": "badge",
|
|
1348
|
-
"label": "Critical"
|
|
1347
|
+
"label": "Critical",
|
|
1348
|
+
"variant": "danger"
|
|
1349
1349
|
}
|
|
1350
1350
|
],
|
|
1351
|
+
"align": "center",
|
|
1352
|
+
"direction": "horizontal",
|
|
1351
1353
|
"gap": "sm",
|
|
1352
|
-
"
|
|
1354
|
+
"type": "stack"
|
|
1353
1355
|
},
|
|
1354
1356
|
{
|
|
1355
1357
|
"type": "divider"
|
|
1356
1358
|
},
|
|
1357
1359
|
{
|
|
1358
|
-
"type": "alert",
|
|
1359
1360
|
"message": "Token usage critical. Compact immediately to avoid truncation.",
|
|
1361
|
+
"type": "alert",
|
|
1360
1362
|
"variant": "error"
|
|
1361
1363
|
},
|
|
1362
1364
|
{
|
|
1363
|
-
"
|
|
1365
|
+
"type": "progress-bar",
|
|
1364
1366
|
"max": "@entity.max",
|
|
1365
|
-
"
|
|
1367
|
+
"value": "@entity.current"
|
|
1366
1368
|
},
|
|
1367
1369
|
{
|
|
1368
1370
|
"gap": "md",
|
|
1369
|
-
"
|
|
1371
|
+
"direction": "horizontal",
|
|
1370
1372
|
"children": [
|
|
1371
1373
|
{
|
|
1374
|
+
"type": "stat-display",
|
|
1372
1375
|
"label": "Tokens Used",
|
|
1373
|
-
"value": "@entity.current"
|
|
1374
|
-
"type": "stat-display"
|
|
1376
|
+
"value": "@entity.current"
|
|
1375
1377
|
},
|
|
1376
1378
|
{
|
|
1377
|
-
"value": "@entity.max",
|
|
1378
1379
|
"type": "stat-display",
|
|
1379
|
-
"label": "Max Tokens"
|
|
1380
|
+
"label": "Max Tokens",
|
|
1381
|
+
"value": "@entity.max"
|
|
1380
1382
|
}
|
|
1381
1383
|
],
|
|
1382
|
-
"
|
|
1384
|
+
"type": "stack"
|
|
1383
1385
|
},
|
|
1384
1386
|
{
|
|
1385
|
-
"type": "stack",
|
|
1386
|
-
"gap": "sm",
|
|
1387
1387
|
"direction": "horizontal",
|
|
1388
1388
|
"children": [
|
|
1389
1389
|
{
|
|
1390
|
+
"type": "button",
|
|
1390
1391
|
"icon": "minimize-2",
|
|
1391
|
-
"
|
|
1392
|
+
"label": "Compact Now",
|
|
1392
1393
|
"variant": "primary",
|
|
1393
|
-
"
|
|
1394
|
-
"label": "Compact Now"
|
|
1394
|
+
"action": "COMPACT"
|
|
1395
1395
|
},
|
|
1396
1396
|
{
|
|
1397
|
-
"variant": "ghost",
|
|
1398
|
-
"type": "button",
|
|
1399
|
-
"action": "RESET",
|
|
1400
1397
|
"icon": "rotate-ccw",
|
|
1401
|
-
"
|
|
1398
|
+
"action": "RESET",
|
|
1399
|
+
"label": "Reset",
|
|
1400
|
+
"type": "button",
|
|
1401
|
+
"variant": "ghost"
|
|
1402
1402
|
}
|
|
1403
|
-
]
|
|
1403
|
+
],
|
|
1404
|
+
"gap": "sm",
|
|
1405
|
+
"type": "stack"
|
|
1404
1406
|
}
|
|
1405
|
-
]
|
|
1407
|
+
],
|
|
1408
|
+
"type": "stack",
|
|
1409
|
+
"direction": "vertical",
|
|
1410
|
+
"gap": "lg"
|
|
1406
1411
|
}
|
|
1407
1412
|
]
|
|
1408
1413
|
]
|
|
@@ -1443,12 +1448,18 @@
|
|
|
1443
1448
|
"main",
|
|
1444
1449
|
{
|
|
1445
1450
|
"type": "stack",
|
|
1451
|
+
"gap": "lg",
|
|
1452
|
+
"direction": "vertical",
|
|
1446
1453
|
"children": [
|
|
1447
1454
|
{
|
|
1455
|
+
"direction": "horizontal",
|
|
1456
|
+
"type": "stack",
|
|
1457
|
+
"align": "center",
|
|
1458
|
+
"gap": "sm",
|
|
1448
1459
|
"children": [
|
|
1449
1460
|
{
|
|
1450
|
-
"
|
|
1451
|
-
"
|
|
1461
|
+
"type": "icon",
|
|
1462
|
+
"name": "alert-triangle"
|
|
1452
1463
|
},
|
|
1453
1464
|
{
|
|
1454
1465
|
"content": "Token Usage",
|
|
@@ -1457,69 +1468,63 @@
|
|
|
1457
1468
|
},
|
|
1458
1469
|
{
|
|
1459
1470
|
"type": "badge",
|
|
1460
|
-
"
|
|
1461
|
-
"
|
|
1471
|
+
"label": "Warning",
|
|
1472
|
+
"variant": "warning"
|
|
1462
1473
|
}
|
|
1463
|
-
]
|
|
1464
|
-
"direction": "horizontal",
|
|
1465
|
-
"type": "stack",
|
|
1466
|
-
"gap": "sm",
|
|
1467
|
-
"align": "center"
|
|
1474
|
+
]
|
|
1468
1475
|
},
|
|
1469
1476
|
{
|
|
1470
1477
|
"type": "divider"
|
|
1471
1478
|
},
|
|
1472
1479
|
{
|
|
1473
1480
|
"type": "alert",
|
|
1474
|
-
"
|
|
1475
|
-
"
|
|
1481
|
+
"message": "Token usage approaching limit. Consider compacting.",
|
|
1482
|
+
"variant": "warning"
|
|
1476
1483
|
},
|
|
1477
1484
|
{
|
|
1478
|
-
"type": "progress-bar",
|
|
1479
1485
|
"value": "@entity.current",
|
|
1480
|
-
"max": "@entity.max"
|
|
1486
|
+
"max": "@entity.max",
|
|
1487
|
+
"type": "progress-bar"
|
|
1481
1488
|
},
|
|
1482
1489
|
{
|
|
1490
|
+
"gap": "md",
|
|
1491
|
+
"type": "stack",
|
|
1483
1492
|
"children": [
|
|
1484
1493
|
{
|
|
1485
|
-
"type": "stat-display",
|
|
1486
1494
|
"label": "Tokens Used",
|
|
1495
|
+
"type": "stat-display",
|
|
1487
1496
|
"value": "@entity.current"
|
|
1488
1497
|
},
|
|
1489
1498
|
{
|
|
1490
|
-
"label": "Max Tokens",
|
|
1491
1499
|
"value": "@entity.max",
|
|
1500
|
+
"label": "Max Tokens",
|
|
1492
1501
|
"type": "stat-display"
|
|
1493
1502
|
}
|
|
1494
1503
|
],
|
|
1495
|
-
"direction": "horizontal"
|
|
1496
|
-
"gap": "md",
|
|
1497
|
-
"type": "stack"
|
|
1504
|
+
"direction": "horizontal"
|
|
1498
1505
|
},
|
|
1499
1506
|
{
|
|
1500
|
-
"gap": "sm",
|
|
1501
|
-
"direction": "horizontal",
|
|
1502
1507
|
"type": "stack",
|
|
1503
1508
|
"children": [
|
|
1504
1509
|
{
|
|
1505
|
-
"variant": "primary",
|
|
1506
|
-
"icon": "minimize-2",
|
|
1507
|
-
"action": "COMPACT",
|
|
1508
1510
|
"label": "Compact",
|
|
1509
|
-
"type": "button"
|
|
1511
|
+
"type": "button",
|
|
1512
|
+
"action": "COMPACT",
|
|
1513
|
+
"variant": "primary",
|
|
1514
|
+
"icon": "minimize-2"
|
|
1510
1515
|
},
|
|
1511
1516
|
{
|
|
1512
1517
|
"type": "button",
|
|
1518
|
+
"action": "RESET",
|
|
1513
1519
|
"label": "Reset",
|
|
1514
1520
|
"icon": "rotate-ccw",
|
|
1515
|
-
"action": "RESET",
|
|
1516
1521
|
"variant": "ghost"
|
|
1517
1522
|
}
|
|
1518
|
-
]
|
|
1523
|
+
],
|
|
1524
|
+
"direction": "horizontal",
|
|
1525
|
+
"gap": "sm"
|
|
1519
1526
|
}
|
|
1520
|
-
]
|
|
1521
|
-
"gap": "lg",
|
|
1522
|
-
"direction": "vertical"
|
|
1527
|
+
]
|
|
1523
1528
|
}
|
|
1524
1529
|
]
|
|
1525
1530
|
]
|
|
@@ -1547,65 +1552,65 @@
|
|
|
1547
1552
|
"render-ui",
|
|
1548
1553
|
"main",
|
|
1549
1554
|
{
|
|
1550
|
-
"gap": "lg",
|
|
1551
|
-
"type": "stack",
|
|
1552
1555
|
"direction": "vertical",
|
|
1553
1556
|
"children": [
|
|
1554
1557
|
{
|
|
1555
|
-
"
|
|
1558
|
+
"type": "stack",
|
|
1559
|
+
"align": "center",
|
|
1556
1560
|
"children": [
|
|
1557
1561
|
{
|
|
1558
1562
|
"type": "icon",
|
|
1559
1563
|
"name": "gauge"
|
|
1560
1564
|
},
|
|
1561
1565
|
{
|
|
1562
|
-
"variant": "h2",
|
|
1563
1566
|
"content": "Token Usage",
|
|
1567
|
+
"variant": "h2",
|
|
1564
1568
|
"type": "typography"
|
|
1565
1569
|
},
|
|
1566
1570
|
{
|
|
1567
1571
|
"variant": "default",
|
|
1568
|
-
"
|
|
1569
|
-
"
|
|
1572
|
+
"label": "Normal",
|
|
1573
|
+
"type": "badge"
|
|
1570
1574
|
}
|
|
1571
1575
|
],
|
|
1572
|
-
"
|
|
1573
|
-
"
|
|
1574
|
-
"direction": "horizontal"
|
|
1576
|
+
"direction": "horizontal",
|
|
1577
|
+
"gap": "sm"
|
|
1575
1578
|
},
|
|
1576
1579
|
{
|
|
1577
1580
|
"type": "divider"
|
|
1578
1581
|
},
|
|
1579
1582
|
{
|
|
1583
|
+
"max": "@entity.max",
|
|
1580
1584
|
"type": "progress-bar",
|
|
1581
|
-
"value": "@entity.current"
|
|
1582
|
-
"max": "@entity.max"
|
|
1585
|
+
"value": "@entity.current"
|
|
1583
1586
|
},
|
|
1584
1587
|
{
|
|
1585
1588
|
"type": "stack",
|
|
1586
1589
|
"gap": "md",
|
|
1587
|
-
"direction": "horizontal",
|
|
1588
1590
|
"children": [
|
|
1589
1591
|
{
|
|
1590
1592
|
"type": "stat-display",
|
|
1591
|
-
"
|
|
1592
|
-
"
|
|
1593
|
+
"label": "Tokens Used",
|
|
1594
|
+
"value": "@entity.current"
|
|
1593
1595
|
},
|
|
1594
1596
|
{
|
|
1595
1597
|
"value": "@entity.max",
|
|
1596
1598
|
"type": "stat-display",
|
|
1597
1599
|
"label": "Max Tokens"
|
|
1598
1600
|
}
|
|
1599
|
-
]
|
|
1601
|
+
],
|
|
1602
|
+
"direction": "horizontal"
|
|
1600
1603
|
},
|
|
1601
1604
|
{
|
|
1602
1605
|
"action": "RESET",
|
|
1603
|
-
"type": "button",
|
|
1604
1606
|
"icon": "rotate-ccw",
|
|
1605
|
-
"
|
|
1606
|
-
"variant": "ghost"
|
|
1607
|
+
"type": "button",
|
|
1608
|
+
"variant": "ghost",
|
|
1609
|
+
"label": "Reset"
|
|
1607
1610
|
}
|
|
1608
|
-
]
|
|
1611
|
+
],
|
|
1612
|
+
"gap": "lg",
|
|
1613
|
+
"type": "stack"
|
|
1609
1614
|
}
|
|
1610
1615
|
]
|
|
1611
1616
|
]
|
|
@@ -1630,13 +1635,13 @@
|
|
|
1630
1635
|
"render-ui",
|
|
1631
1636
|
"main",
|
|
1632
1637
|
{
|
|
1633
|
-
"direction": "vertical",
|
|
1634
1638
|
"type": "stack",
|
|
1635
1639
|
"children": [
|
|
1636
1640
|
{
|
|
1641
|
+
"gap": "sm",
|
|
1637
1642
|
"align": "center",
|
|
1638
1643
|
"type": "stack",
|
|
1639
|
-
"
|
|
1644
|
+
"direction": "horizontal",
|
|
1640
1645
|
"children": [
|
|
1641
1646
|
{
|
|
1642
1647
|
"type": "icon",
|
|
@@ -1644,50 +1649,50 @@
|
|
|
1644
1649
|
},
|
|
1645
1650
|
{
|
|
1646
1651
|
"variant": "h2",
|
|
1647
|
-
"
|
|
1648
|
-
"
|
|
1652
|
+
"type": "typography",
|
|
1653
|
+
"content": "Token Usage"
|
|
1649
1654
|
},
|
|
1650
1655
|
{
|
|
1651
|
-
"type": "badge",
|
|
1652
1656
|
"label": "Normal",
|
|
1657
|
+
"type": "badge",
|
|
1653
1658
|
"variant": "default"
|
|
1654
1659
|
}
|
|
1655
|
-
]
|
|
1656
|
-
"direction": "horizontal"
|
|
1660
|
+
]
|
|
1657
1661
|
},
|
|
1658
1662
|
{
|
|
1659
1663
|
"type": "divider"
|
|
1660
1664
|
},
|
|
1661
1665
|
{
|
|
1662
1666
|
"type": "progress-bar",
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1667
|
+
"max": "@entity.max",
|
|
1668
|
+
"value": "@entity.current"
|
|
1665
1669
|
},
|
|
1666
1670
|
{
|
|
1671
|
+
"gap": "md",
|
|
1667
1672
|
"children": [
|
|
1668
1673
|
{
|
|
1674
|
+
"type": "stat-display",
|
|
1669
1675
|
"value": "@entity.current",
|
|
1670
|
-
"label": "Tokens Used"
|
|
1671
|
-
"type": "stat-display"
|
|
1676
|
+
"label": "Tokens Used"
|
|
1672
1677
|
},
|
|
1673
1678
|
{
|
|
1674
|
-
"
|
|
1679
|
+
"value": "@entity.max",
|
|
1675
1680
|
"type": "stat-display",
|
|
1676
|
-
"
|
|
1681
|
+
"label": "Max Tokens"
|
|
1677
1682
|
}
|
|
1678
1683
|
],
|
|
1679
|
-
"direction": "horizontal",
|
|
1680
1684
|
"type": "stack",
|
|
1681
|
-
"
|
|
1685
|
+
"direction": "horizontal"
|
|
1682
1686
|
},
|
|
1683
1687
|
{
|
|
1688
|
+
"variant": "ghost",
|
|
1684
1689
|
"label": "Reset",
|
|
1685
1690
|
"icon": "rotate-ccw",
|
|
1686
|
-
"variant": "ghost",
|
|
1687
1691
|
"type": "button",
|
|
1688
1692
|
"action": "RESET"
|
|
1689
1693
|
}
|
|
1690
1694
|
],
|
|
1695
|
+
"direction": "vertical",
|
|
1691
1696
|
"gap": "lg"
|
|
1692
1697
|
}
|
|
1693
1698
|
]
|
|
@@ -1708,46 +1713,45 @@
|
|
|
1708
1713
|
"main",
|
|
1709
1714
|
{
|
|
1710
1715
|
"type": "stack",
|
|
1711
|
-
"gap": "lg",
|
|
1712
1716
|
"direction": "vertical",
|
|
1717
|
+
"gap": "lg",
|
|
1713
1718
|
"children": [
|
|
1714
1719
|
{
|
|
1715
|
-
"align": "center",
|
|
1716
1720
|
"children": [
|
|
1717
1721
|
{
|
|
1718
1722
|
"type": "icon",
|
|
1719
1723
|
"name": "gauge"
|
|
1720
1724
|
},
|
|
1721
1725
|
{
|
|
1726
|
+
"variant": "h2",
|
|
1722
1727
|
"type": "typography",
|
|
1723
|
-
"content": "Token Usage"
|
|
1724
|
-
"variant": "h2"
|
|
1728
|
+
"content": "Token Usage"
|
|
1725
1729
|
},
|
|
1726
1730
|
{
|
|
1727
1731
|
"label": "Normal",
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1732
|
+
"variant": "default",
|
|
1733
|
+
"type": "badge"
|
|
1730
1734
|
}
|
|
1731
1735
|
],
|
|
1732
|
-
"gap": "sm",
|
|
1733
1736
|
"type": "stack",
|
|
1737
|
+
"gap": "sm",
|
|
1738
|
+
"align": "center",
|
|
1734
1739
|
"direction": "horizontal"
|
|
1735
1740
|
},
|
|
1736
1741
|
{
|
|
1737
1742
|
"type": "divider"
|
|
1738
1743
|
},
|
|
1739
1744
|
{
|
|
1740
|
-
"max": "@entity.max",
|
|
1741
1745
|
"value": "@entity.current",
|
|
1746
|
+
"max": "@entity.max",
|
|
1742
1747
|
"type": "progress-bar"
|
|
1743
1748
|
},
|
|
1744
1749
|
{
|
|
1745
|
-
"gap": "md",
|
|
1746
1750
|
"children": [
|
|
1747
1751
|
{
|
|
1748
1752
|
"label": "Tokens Used",
|
|
1749
|
-
"
|
|
1750
|
-
"
|
|
1753
|
+
"type": "stat-display",
|
|
1754
|
+
"value": "@entity.current"
|
|
1751
1755
|
},
|
|
1752
1756
|
{
|
|
1753
1757
|
"value": "@entity.max",
|
|
@@ -1756,11 +1760,12 @@
|
|
|
1756
1760
|
}
|
|
1757
1761
|
],
|
|
1758
1762
|
"type": "stack",
|
|
1759
|
-
"direction": "horizontal"
|
|
1763
|
+
"direction": "horizontal",
|
|
1764
|
+
"gap": "md"
|
|
1760
1765
|
},
|
|
1761
1766
|
{
|
|
1762
|
-
"variant": "ghost",
|
|
1763
1767
|
"icon": "rotate-ccw",
|
|
1768
|
+
"variant": "ghost",
|
|
1764
1769
|
"type": "button",
|
|
1765
1770
|
"label": "Reset",
|
|
1766
1771
|
"action": "RESET"
|
|
@@ -1998,16 +2003,17 @@
|
|
|
1998
2003
|
"render-ui",
|
|
1999
2004
|
"main",
|
|
2000
2005
|
{
|
|
2001
|
-
"type": "stack",
|
|
2002
2006
|
"gap": "lg",
|
|
2003
|
-
"
|
|
2007
|
+
"type": "stack",
|
|
2004
2008
|
"children": [
|
|
2005
2009
|
{
|
|
2006
|
-
"direction": "horizontal",
|
|
2007
2010
|
"gap": "md",
|
|
2008
|
-
"
|
|
2011
|
+
"justify": "between",
|
|
2012
|
+
"direction": "horizontal",
|
|
2013
|
+
"align": "center",
|
|
2009
2014
|
"children": [
|
|
2010
2015
|
{
|
|
2016
|
+
"type": "stack",
|
|
2011
2017
|
"direction": "horizontal",
|
|
2012
2018
|
"children": [
|
|
2013
2019
|
{
|
|
@@ -2015,25 +2021,23 @@
|
|
|
2015
2021
|
"name": "layers"
|
|
2016
2022
|
},
|
|
2017
2023
|
{
|
|
2024
|
+
"variant": "h2",
|
|
2018
2025
|
"type": "typography",
|
|
2019
|
-
"content": "Context Window Alert"
|
|
2020
|
-
"variant": "h2"
|
|
2026
|
+
"content": "Context Window Alert"
|
|
2021
2027
|
}
|
|
2022
2028
|
],
|
|
2023
2029
|
"align": "center",
|
|
2024
|
-
"type": "stack",
|
|
2025
2030
|
"gap": "md"
|
|
2026
2031
|
},
|
|
2027
2032
|
{
|
|
2028
|
-
"variant": "ghost",
|
|
2029
|
-
"label": "Dismiss",
|
|
2030
|
-
"action": "HIDE",
|
|
2031
2033
|
"icon": "x",
|
|
2032
|
-
"
|
|
2034
|
+
"action": "HIDE",
|
|
2035
|
+
"variant": "ghost",
|
|
2036
|
+
"type": "button",
|
|
2037
|
+
"label": "Dismiss"
|
|
2033
2038
|
}
|
|
2034
2039
|
],
|
|
2035
|
-
"
|
|
2036
|
-
"align": "center"
|
|
2040
|
+
"type": "stack"
|
|
2037
2041
|
},
|
|
2038
2042
|
{
|
|
2039
2043
|
"type": "divider"
|
|
@@ -2051,7 +2055,8 @@
|
|
|
2051
2055
|
"type": "alert",
|
|
2052
2056
|
"message": "@entity.message"
|
|
2053
2057
|
}
|
|
2054
|
-
]
|
|
2058
|
+
],
|
|
2059
|
+
"direction": "vertical"
|
|
2055
2060
|
}
|
|
2056
2061
|
]
|
|
2057
2062
|
]
|
|
@@ -2075,18 +2080,18 @@
|
|
|
2075
2080
|
"render-ui",
|
|
2076
2081
|
"main",
|
|
2077
2082
|
{
|
|
2078
|
-
"
|
|
2083
|
+
"type": "stack",
|
|
2079
2084
|
"children": [
|
|
2080
2085
|
{
|
|
2081
2086
|
"type": "stack",
|
|
2082
|
-
"direction": "horizontal",
|
|
2083
2087
|
"gap": "md",
|
|
2088
|
+
"direction": "horizontal",
|
|
2089
|
+
"justify": "between",
|
|
2084
2090
|
"align": "center",
|
|
2085
2091
|
"children": [
|
|
2086
2092
|
{
|
|
2087
2093
|
"gap": "md",
|
|
2088
2094
|
"align": "center",
|
|
2089
|
-
"direction": "horizontal",
|
|
2090
2095
|
"type": "stack",
|
|
2091
2096
|
"children": [
|
|
2092
2097
|
{
|
|
@@ -2094,41 +2099,41 @@
|
|
|
2094
2099
|
"type": "icon"
|
|
2095
2100
|
},
|
|
2096
2101
|
{
|
|
2102
|
+
"variant": "h2",
|
|
2097
2103
|
"type": "typography",
|
|
2098
|
-
"content": "Context Window Alert"
|
|
2099
|
-
"variant": "h2"
|
|
2104
|
+
"content": "Context Window Alert"
|
|
2100
2105
|
}
|
|
2101
|
-
]
|
|
2106
|
+
],
|
|
2107
|
+
"direction": "horizontal"
|
|
2102
2108
|
},
|
|
2103
2109
|
{
|
|
2104
|
-
"icon": "x",
|
|
2105
|
-
"action": "HIDE",
|
|
2106
2110
|
"variant": "ghost",
|
|
2111
|
+
"icon": "x",
|
|
2107
2112
|
"label": "Dismiss",
|
|
2113
|
+
"action": "HIDE",
|
|
2108
2114
|
"type": "button"
|
|
2109
2115
|
}
|
|
2110
|
-
]
|
|
2111
|
-
"justify": "between"
|
|
2116
|
+
]
|
|
2112
2117
|
},
|
|
2113
2118
|
{
|
|
2114
2119
|
"type": "divider"
|
|
2115
2120
|
},
|
|
2116
2121
|
{
|
|
2122
|
+
"variant": "@entity.notificationType",
|
|
2117
2123
|
"message": "@entity.message",
|
|
2118
|
-
"type": "alert"
|
|
2119
|
-
"variant": "@entity.notificationType"
|
|
2124
|
+
"type": "alert"
|
|
2120
2125
|
},
|
|
2121
2126
|
{
|
|
2122
2127
|
"type": "toast-slot"
|
|
2123
2128
|
},
|
|
2124
2129
|
{
|
|
2125
|
-
"variant": "warning",
|
|
2126
2130
|
"message": "@entity.message",
|
|
2127
|
-
"type": "alert"
|
|
2131
|
+
"type": "alert",
|
|
2132
|
+
"variant": "warning"
|
|
2128
2133
|
}
|
|
2129
2134
|
],
|
|
2130
|
-
"
|
|
2131
|
-
"
|
|
2135
|
+
"gap": "lg",
|
|
2136
|
+
"direction": "vertical"
|
|
2132
2137
|
}
|
|
2133
2138
|
]
|
|
2134
2139
|
]
|
|
@@ -2381,6 +2386,16 @@
|
|
|
2381
2386
|
"to": "normal",
|
|
2382
2387
|
"event": "INIT",
|
|
2383
2388
|
"effects": [
|
|
2389
|
+
[
|
|
2390
|
+
"set",
|
|
2391
|
+
"@entity.maxTokens",
|
|
2392
|
+
200000.0
|
|
2393
|
+
],
|
|
2394
|
+
[
|
|
2395
|
+
"set",
|
|
2396
|
+
"@entity.tokenCount",
|
|
2397
|
+
0.0
|
|
2398
|
+
],
|
|
2384
2399
|
[
|
|
2385
2400
|
"fetch",
|
|
2386
2401
|
"AgentContextWindow",
|
|
@@ -2401,10 +2416,10 @@
|
|
|
2401
2416
|
"render-ui",
|
|
2402
2417
|
"main",
|
|
2403
2418
|
{
|
|
2404
|
-
"icon": "layers",
|
|
2405
2419
|
"description": "Context Window is ready",
|
|
2420
|
+
"type": "empty-state",
|
|
2406
2421
|
"title": "Context Window",
|
|
2407
|
-
"
|
|
2422
|
+
"icon": "layers"
|
|
2408
2423
|
}
|
|
2409
2424
|
]
|
|
2410
2425
|
]
|
|
@@ -2451,8 +2466,8 @@
|
|
|
2451
2466
|
"emit",
|
|
2452
2467
|
"UPDATE",
|
|
2453
2468
|
{
|
|
2454
|
-
"
|
|
2455
|
-
"
|
|
2469
|
+
"current": "@entity.tokenCount",
|
|
2470
|
+
"max": "@entity.maxTokens"
|
|
2456
2471
|
}
|
|
2457
2472
|
]
|
|
2458
2473
|
]
|
|
@@ -2511,16 +2526,16 @@
|
|
|
2511
2526
|
"emit",
|
|
2512
2527
|
"UPDATE",
|
|
2513
2528
|
{
|
|
2514
|
-
"
|
|
2515
|
-
"
|
|
2529
|
+
"current": "@entity.tokenCount",
|
|
2530
|
+
"max": "@entity.maxTokens"
|
|
2516
2531
|
}
|
|
2517
2532
|
],
|
|
2518
2533
|
[
|
|
2519
2534
|
"emit",
|
|
2520
2535
|
"SHOW",
|
|
2521
2536
|
{
|
|
2522
|
-
"
|
|
2523
|
-
"
|
|
2537
|
+
"notificationType": "warning",
|
|
2538
|
+
"message": "Token usage approaching limit"
|
|
2524
2539
|
}
|
|
2525
2540
|
]
|
|
2526
2541
|
]
|
|
@@ -2567,8 +2582,8 @@
|
|
|
2567
2582
|
"emit",
|
|
2568
2583
|
"SHOW",
|
|
2569
2584
|
{
|
|
2570
|
-
"
|
|
2571
|
-
"
|
|
2585
|
+
"notificationType": "error",
|
|
2586
|
+
"message": "Token usage at limit. Compact required."
|
|
2572
2587
|
}
|
|
2573
2588
|
]
|
|
2574
2589
|
]
|
|
@@ -2614,8 +2629,8 @@
|
|
|
2614
2629
|
"emit",
|
|
2615
2630
|
"UPDATE",
|
|
2616
2631
|
{
|
|
2617
|
-
"
|
|
2618
|
-
"
|
|
2632
|
+
"max": "@entity.maxTokens",
|
|
2633
|
+
"current": "@entity.tokenCount"
|
|
2619
2634
|
}
|
|
2620
2635
|
]
|
|
2621
2636
|
]
|
|
@@ -2674,8 +2689,8 @@
|
|
|
2674
2689
|
"emit",
|
|
2675
2690
|
"UPDATE",
|
|
2676
2691
|
{
|
|
2677
|
-
"
|
|
2678
|
-
"
|
|
2692
|
+
"max": "@entity.maxTokens",
|
|
2693
|
+
"current": "@entity.tokenCount"
|
|
2679
2694
|
}
|
|
2680
2695
|
]
|
|
2681
2696
|
]
|
|
@@ -2751,4 +2766,4 @@
|
|
|
2751
2766
|
]
|
|
2752
2767
|
}
|
|
2753
2768
|
]
|
|
2754
|
-
}
|
|
2769
|
+
}
|