@tangle-network/sandbox-ui 0.116.1 → 0.116.4
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/globals.css +111 -111
- package/dist/hooks.d.ts +4 -1
- package/dist/hooks.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/openui.d.ts +2 -2
- package/dist/openui.js +2 -2
- package/dist/styles.css +111 -111
- package/dist/tokens.css +104 -111
- package/package.json +5 -5
package/dist/globals.css
CHANGED
|
@@ -5152,17 +5152,17 @@
|
|
|
5152
5152
|
[data-sandbox-ui],
|
|
5153
5153
|
[data-theme="dark"],
|
|
5154
5154
|
.dark {
|
|
5155
|
-
--md3-surface: #
|
|
5156
|
-
--md3-surface-dim: #
|
|
5157
|
-
--md3-surface-bright: #
|
|
5158
|
-
--md3-surface-container-lowest: #
|
|
5159
|
-
--md3-surface-container-low: #
|
|
5160
|
-
--md3-surface-container: #
|
|
5161
|
-
--md3-surface-container-high: #
|
|
5162
|
-
--md3-surface-container-highest: #
|
|
5163
|
-
--md3-surface-variant: #
|
|
5164
|
-
--md3-on-surface: #
|
|
5165
|
-
--md3-on-surface-variant: #
|
|
5155
|
+
--md3-surface: #161616;
|
|
5156
|
+
--md3-surface-dim: #101010;
|
|
5157
|
+
--md3-surface-bright: #3b3b3b;
|
|
5158
|
+
--md3-surface-container-lowest: #101010;
|
|
5159
|
+
--md3-surface-container-low: #242424;
|
|
5160
|
+
--md3-surface-container: #303030;
|
|
5161
|
+
--md3-surface-container-high: #353535;
|
|
5162
|
+
--md3-surface-container-highest: #3b3b3b;
|
|
5163
|
+
--md3-surface-variant: #353535;
|
|
5164
|
+
--md3-on-surface: #e6e6e6;
|
|
5165
|
+
--md3-on-surface-variant: #b5b5b5;
|
|
5166
5166
|
--md3-primary: #A5B4FC;
|
|
5167
5167
|
--md3-primary-dim: #7C6CF6;
|
|
5168
5168
|
--md3-primary-container: #4C3FC5;
|
|
@@ -5176,8 +5176,8 @@
|
|
|
5176
5176
|
--md3-on-secondary: #E8E5FF;
|
|
5177
5177
|
--md3-on-secondary-container: #E8E5FF;
|
|
5178
5178
|
--md3-tertiary: #10B981;
|
|
5179
|
-
--md3-outline: #
|
|
5180
|
-
--md3-outline-variant: #
|
|
5179
|
+
--md3-outline: #8e8e8e;
|
|
5180
|
+
--md3-outline-variant: #4c4c4c;
|
|
5181
5181
|
--md3-error: #ff5277;
|
|
5182
5182
|
--md3-error-dim: #eb2855;
|
|
5183
5183
|
--md3-error-container: #82042b;
|
|
@@ -5187,24 +5187,24 @@
|
|
|
5187
5187
|
--md3-inverse-primary: #4C3FC5;
|
|
5188
5188
|
--md3-inverse-on-surface: #000000;
|
|
5189
5189
|
--md3-surface-tint: #A5B4FC;
|
|
5190
|
-
--hsl-background:
|
|
5191
|
-
--hsl-foreground:
|
|
5192
|
-
--hsl-card:
|
|
5193
|
-
--hsl-card-foreground:
|
|
5194
|
-
--hsl-popover:
|
|
5195
|
-
--hsl-popover-foreground:
|
|
5190
|
+
--hsl-background: 0 0% 8.6275%;
|
|
5191
|
+
--hsl-foreground: 0 0% 90.1961%;
|
|
5192
|
+
--hsl-card: 0 0% 18.8235%;
|
|
5193
|
+
--hsl-card-foreground: 0 0% 90.1961%;
|
|
5194
|
+
--hsl-popover: 0 0% 20.7843%;
|
|
5195
|
+
--hsl-popover-foreground: 0 0% 90.1961%;
|
|
5196
5196
|
--hsl-primary: 246 54% 51%;
|
|
5197
5197
|
--hsl-primary-foreground: 0 0% 100%;
|
|
5198
|
-
--hsl-secondary:
|
|
5199
|
-
--hsl-secondary-foreground:
|
|
5200
|
-
--hsl-muted:
|
|
5201
|
-
--hsl-muted-foreground:
|
|
5202
|
-
--hsl-accent:
|
|
5203
|
-
--hsl-accent-foreground:
|
|
5198
|
+
--hsl-secondary: 0 0% 20.7843%;
|
|
5199
|
+
--hsl-secondary-foreground: 0 0% 90.1961%;
|
|
5200
|
+
--hsl-muted: 0 0% 20.7843%;
|
|
5201
|
+
--hsl-muted-foreground: 0 0% 70.9804%;
|
|
5202
|
+
--hsl-accent: 0 0% 20.7843%;
|
|
5203
|
+
--hsl-accent-foreground: 0 0% 90.1961%;
|
|
5204
5204
|
--hsl-destructive: 348 74% 48%;
|
|
5205
5205
|
--hsl-destructive-foreground: 0 0% 100%;
|
|
5206
|
-
--hsl-border:
|
|
5207
|
-
--hsl-input:
|
|
5206
|
+
--hsl-border: 0 0% 29.8039%;
|
|
5207
|
+
--hsl-input: 0 0% 12.1569%;
|
|
5208
5208
|
--hsl-ring: 233 100% 87%;
|
|
5209
5209
|
--hsl-success: 160 84% 39%;
|
|
5210
5210
|
--hsl-warning: 40 94% 56%;
|
|
@@ -5232,18 +5232,18 @@
|
|
|
5232
5232
|
--warning: var(--hsl-warning);
|
|
5233
5233
|
--error: var(--hsl-destructive);
|
|
5234
5234
|
--info: var(--hsl-info);
|
|
5235
|
-
--sidebar-background:
|
|
5236
|
-
--sidebar-foreground:
|
|
5235
|
+
--sidebar-background: 0 0% 6.2745%;
|
|
5236
|
+
--sidebar-foreground: 0 0% 90.1961%;
|
|
5237
5237
|
--sidebar-primary: 246 54% 51%;
|
|
5238
5238
|
--sidebar-primary-foreground: 0 0% 100%;
|
|
5239
|
-
--sidebar-accent:
|
|
5240
|
-
--sidebar-accent-foreground:
|
|
5241
|
-
--sidebar-border:
|
|
5239
|
+
--sidebar-accent: 0 0% 20.7843%;
|
|
5240
|
+
--sidebar-accent-foreground: 0 0% 90.1961%;
|
|
5241
|
+
--sidebar-border: 0 0% 29.8039%;
|
|
5242
5242
|
--sidebar-ring: 233 100% 87%;
|
|
5243
|
-
--depth-1: #
|
|
5244
|
-
--depth-2: #
|
|
5245
|
-
--depth-3: #
|
|
5246
|
-
--depth-4: #
|
|
5243
|
+
--depth-1: #161616;
|
|
5244
|
+
--depth-2: #303030;
|
|
5245
|
+
--depth-3: #353535;
|
|
5246
|
+
--depth-4: #3b3b3b;
|
|
5247
5247
|
--status-running: #10B981;
|
|
5248
5248
|
--status-creating: #A5B4FC;
|
|
5249
5249
|
--status-stopped: #FFB800;
|
|
@@ -5294,7 +5294,7 @@
|
|
|
5294
5294
|
--accent-surface-soft: rgba(165, 180, 252, 0.07);
|
|
5295
5295
|
--accent-surface-strong: rgba(76, 63, 197, 0.30);
|
|
5296
5296
|
--accent-text: #A5B4FC;
|
|
5297
|
-
--bg-root: #
|
|
5297
|
+
--bg-root: #161616;
|
|
5298
5298
|
--bg-dark: var(--depth-1);
|
|
5299
5299
|
--bg-card: var(--depth-2);
|
|
5300
5300
|
--bg-elevated: var(--depth-4);
|
|
@@ -5302,10 +5302,10 @@
|
|
|
5302
5302
|
--bg-input: hsl(var(--hsl-input));
|
|
5303
5303
|
--bg-hover: rgba(165, 180, 252, 0.07);
|
|
5304
5304
|
--bg-selection: rgba(124, 108, 246, 0.28);
|
|
5305
|
-
--text-primary: #
|
|
5306
|
-
--text-secondary: #
|
|
5307
|
-
--text-muted: #
|
|
5308
|
-
--text-dim: #
|
|
5305
|
+
--text-primary: #e6e6e6;
|
|
5306
|
+
--text-secondary: #c7c7c7;
|
|
5307
|
+
--text-muted: #b5b5b5;
|
|
5308
|
+
--text-dim: #a5a5a5;
|
|
5309
5309
|
--brand-primary: #7C6CF6;
|
|
5310
5310
|
--brand-strong: #2E2A5E;
|
|
5311
5311
|
--brand-strong-text: #ffffff;
|
|
@@ -5316,9 +5316,9 @@
|
|
|
5316
5316
|
--brand-purple: #C7D2FE;
|
|
5317
5317
|
--brand-vibrant: #6366F1;
|
|
5318
5318
|
--brand-emerald: #10B981;
|
|
5319
|
-
--border-subtle: rgba(
|
|
5320
|
-
--border-default: rgba(
|
|
5321
|
-
--border-hover: rgba(
|
|
5319
|
+
--border-subtle: rgba(255, 255, 255, 0.10);
|
|
5320
|
+
--border-default: rgba(255, 255, 255, 0.16);
|
|
5321
|
+
--border-hover: rgba(255, 255, 255, 0.28);
|
|
5322
5322
|
--border-accent: rgba(129, 140, 248, 0.35);
|
|
5323
5323
|
--border-accent-hover: rgba(129, 140, 248, 0.50);
|
|
5324
5324
|
--btn-primary-bg: #4C3FC5;
|
|
@@ -5404,17 +5404,17 @@
|
|
|
5404
5404
|
[data-sandbox-theme="vault"],
|
|
5405
5405
|
[data-theme="light"],
|
|
5406
5406
|
.light {
|
|
5407
|
-
--md3-surface: #
|
|
5408
|
-
--md3-surface-dim: #
|
|
5407
|
+
--md3-surface: #eaeaea;
|
|
5408
|
+
--md3-surface-dim: #dadada;
|
|
5409
5409
|
--md3-surface-bright: #ffffff;
|
|
5410
5410
|
--md3-surface-container-lowest: #ffffff;
|
|
5411
|
-
--md3-surface-container-low: #
|
|
5411
|
+
--md3-surface-container-low: #f7f7f7;
|
|
5412
5412
|
--md3-surface-container: #ffffff;
|
|
5413
|
-
--md3-surface-container-high: #
|
|
5413
|
+
--md3-surface-container-high: #f2f2f2;
|
|
5414
5414
|
--md3-surface-container-highest: #ffffff;
|
|
5415
|
-
--md3-surface-variant: #
|
|
5416
|
-
--md3-on-surface: #
|
|
5417
|
-
--md3-on-surface-variant: #
|
|
5415
|
+
--md3-surface-variant: #f2f2f2;
|
|
5416
|
+
--md3-on-surface: #2d2d2d;
|
|
5417
|
+
--md3-on-surface-variant: #4c4c4c;
|
|
5418
5418
|
--md3-primary: #3E349E;
|
|
5419
5419
|
--md3-primary-dim: #352B88;
|
|
5420
5420
|
--md3-primary-container: #352B88;
|
|
@@ -5429,8 +5429,8 @@
|
|
|
5429
5429
|
--md3-on-secondary-container: #524A78;
|
|
5430
5430
|
--md3-tertiary: #065F46;
|
|
5431
5431
|
--md3-tertiary-container: #D1FAE5;
|
|
5432
|
-
--md3-outline: #
|
|
5433
|
-
--md3-outline-variant: #
|
|
5432
|
+
--md3-outline: #787878;
|
|
5433
|
+
--md3-outline-variant: #d0d0d0;
|
|
5434
5434
|
--md3-error: #ba1a1a;
|
|
5435
5435
|
--md3-error-dim: #93000a;
|
|
5436
5436
|
--md3-error-container: #ffdad6;
|
|
@@ -5440,31 +5440,31 @@
|
|
|
5440
5440
|
--md3-inverse-primary: #A5AAFC;
|
|
5441
5441
|
--md3-inverse-on-surface: #f0f1f4;
|
|
5442
5442
|
--md3-surface-tint: #6366F1;
|
|
5443
|
-
--hsl-background:
|
|
5444
|
-
--hsl-foreground:
|
|
5443
|
+
--hsl-background: 0 0% 91.7647%;
|
|
5444
|
+
--hsl-foreground: 0 0% 17.6471%;
|
|
5445
5445
|
--hsl-card: 0 0% 100%;
|
|
5446
|
-
--hsl-card-foreground:
|
|
5446
|
+
--hsl-card-foreground: 0 0% 17.6471%;
|
|
5447
5447
|
--hsl-popover: 0 0% 100%;
|
|
5448
|
-
--hsl-popover-foreground:
|
|
5448
|
+
--hsl-popover-foreground: 0 0% 17.6471%;
|
|
5449
5449
|
--hsl-primary: 246 54% 51%;
|
|
5450
5450
|
--hsl-primary-foreground: 0 0% 100%;
|
|
5451
|
-
--hsl-secondary:
|
|
5452
|
-
--hsl-secondary-foreground:
|
|
5453
|
-
--hsl-muted:
|
|
5454
|
-
--hsl-muted-foreground:
|
|
5455
|
-
--hsl-accent:
|
|
5456
|
-
--hsl-accent-foreground:
|
|
5451
|
+
--hsl-secondary: 0 0% 94.902%;
|
|
5452
|
+
--hsl-secondary-foreground: 0 0% 17.6471%;
|
|
5453
|
+
--hsl-muted: 0 0% 94.902%;
|
|
5454
|
+
--hsl-muted-foreground: 0 0% 29.8039%;
|
|
5455
|
+
--hsl-accent: 0 0% 94.902%;
|
|
5456
|
+
--hsl-accent-foreground: 0 0% 17.6471%;
|
|
5457
5457
|
--hsl-destructive: 0 72% 41%;
|
|
5458
5458
|
--hsl-destructive-foreground: 0 0% 100%;
|
|
5459
|
-
--hsl-border:
|
|
5460
|
-
--hsl-input:
|
|
5459
|
+
--hsl-border: 0 0% 81.5686%;
|
|
5460
|
+
--hsl-input: 0 0% 96.0784%;
|
|
5461
5461
|
--hsl-ring: 246 54% 51%;
|
|
5462
5462
|
--hsl-success: 160 84% 30%;
|
|
5463
5463
|
--hsl-warning: 41 96% 50%;
|
|
5464
5464
|
--hsl-info: 212 80% 50%;
|
|
5465
|
-
--depth-1: #
|
|
5465
|
+
--depth-1: #eaeaea;
|
|
5466
5466
|
--depth-2: #ffffff;
|
|
5467
|
-
--depth-3: #
|
|
5467
|
+
--depth-3: #f2f2f2;
|
|
5468
5468
|
--depth-4: #ffffff;
|
|
5469
5469
|
--status-running: #059669;
|
|
5470
5470
|
--status-creating: #3E349E;
|
|
@@ -5507,17 +5507,17 @@
|
|
|
5507
5507
|
--surface-neutral-border: var(--border-subtle);
|
|
5508
5508
|
--surface-neutral-text: var(--text-muted);
|
|
5509
5509
|
--sidebar-background: 0 0% 100%;
|
|
5510
|
-
--sidebar-foreground:
|
|
5510
|
+
--sidebar-foreground: 0 0% 17.6471%;
|
|
5511
5511
|
--sidebar-primary: 246 54% 51%;
|
|
5512
5512
|
--sidebar-primary-foreground: 0 0% 100%;
|
|
5513
|
-
--sidebar-accent:
|
|
5514
|
-
--sidebar-accent-foreground:
|
|
5515
|
-
--sidebar-border:
|
|
5513
|
+
--sidebar-accent: 0 0% 94.902%;
|
|
5514
|
+
--sidebar-accent-foreground: 0 0% 17.6471%;
|
|
5515
|
+
--sidebar-border: 0 0% 81.5686%;
|
|
5516
5516
|
--sidebar-ring: 246 54% 51%;
|
|
5517
5517
|
--mesh-teal: transparent;
|
|
5518
5518
|
--mesh-violet: transparent;
|
|
5519
5519
|
--mesh-blue: transparent;
|
|
5520
|
-
--bg-root: #
|
|
5520
|
+
--bg-root: #eaeaea;
|
|
5521
5521
|
--bg-dark: var(--depth-1);
|
|
5522
5522
|
--bg-card: var(--depth-2);
|
|
5523
5523
|
--bg-elevated: var(--depth-4);
|
|
@@ -5525,10 +5525,10 @@
|
|
|
5525
5525
|
--bg-input: hsl(var(--hsl-input));
|
|
5526
5526
|
--bg-hover: rgba(76, 63, 198, 0.06);
|
|
5527
5527
|
--bg-selection: rgba(76, 63, 198, 0.16);
|
|
5528
|
-
--text-primary: #
|
|
5529
|
-
--text-secondary: #
|
|
5530
|
-
--text-muted: #
|
|
5531
|
-
--text-dim: #
|
|
5528
|
+
--text-primary: #2d2d2d;
|
|
5529
|
+
--text-secondary: #3f3f3f;
|
|
5530
|
+
--text-muted: #4c4c4c;
|
|
5531
|
+
--text-dim: #686868;
|
|
5532
5532
|
--brand-primary: #6366F1;
|
|
5533
5533
|
--brand-strong: #2E2A5E;
|
|
5534
5534
|
--brand-strong-text: #ffffff;
|
|
@@ -5539,9 +5539,9 @@
|
|
|
5539
5539
|
--brand-purple: #6366F1;
|
|
5540
5540
|
--brand-vibrant: #6366F1;
|
|
5541
5541
|
--brand-emerald: #059669;
|
|
5542
|
-
--border-subtle: rgba(
|
|
5543
|
-
--border-default: rgba(
|
|
5544
|
-
--border-hover: rgba(
|
|
5542
|
+
--border-subtle: rgba(0, 0, 0, 0.10);
|
|
5543
|
+
--border-default: rgba(0, 0, 0, 0.14);
|
|
5544
|
+
--border-hover: rgba(0, 0, 0, 0.24);
|
|
5545
5545
|
--border-accent: rgba(91, 78, 212, 0.18);
|
|
5546
5546
|
--border-accent-hover: rgba(91, 78, 212, 0.35);
|
|
5547
5547
|
--btn-primary-bg: #4C3FC5;
|
|
@@ -5844,48 +5844,48 @@
|
|
|
5844
5844
|
--text-dim: #82a699;
|
|
5845
5845
|
}
|
|
5846
5846
|
[data-theme="tangle-dark"] {
|
|
5847
|
-
--hsl-background:
|
|
5848
|
-
--hsl-foreground:
|
|
5849
|
-
--hsl-card:
|
|
5850
|
-
--hsl-card-foreground:
|
|
5851
|
-
--hsl-popover:
|
|
5852
|
-
--hsl-popover-foreground:
|
|
5847
|
+
--hsl-background: 0 0% 8.6275%;
|
|
5848
|
+
--hsl-foreground: 0 0% 90.1961%;
|
|
5849
|
+
--hsl-card: 0 0% 18.8235%;
|
|
5850
|
+
--hsl-card-foreground: 0 0% 90.1961%;
|
|
5851
|
+
--hsl-popover: 0 0% 20.7843%;
|
|
5852
|
+
--hsl-popover-foreground: 0 0% 90.1961%;
|
|
5853
5853
|
--hsl-primary: 246 54% 51%;
|
|
5854
5854
|
--hsl-primary-foreground: 0 0% 100%;
|
|
5855
|
-
--hsl-secondary:
|
|
5856
|
-
--hsl-secondary-foreground:
|
|
5857
|
-
--hsl-muted:
|
|
5858
|
-
--hsl-muted-foreground:
|
|
5859
|
-
--hsl-accent:
|
|
5860
|
-
--hsl-accent-foreground:
|
|
5855
|
+
--hsl-secondary: 0 0% 20.7843%;
|
|
5856
|
+
--hsl-secondary-foreground: 0 0% 90.1961%;
|
|
5857
|
+
--hsl-muted: 0 0% 20.7843%;
|
|
5858
|
+
--hsl-muted-foreground: 0 0% 70.9804%;
|
|
5859
|
+
--hsl-accent: 0 0% 20.7843%;
|
|
5860
|
+
--hsl-accent-foreground: 0 0% 90.1961%;
|
|
5861
5861
|
--hsl-destructive: 348 74% 48%;
|
|
5862
5862
|
--hsl-destructive-foreground: 0 0% 100%;
|
|
5863
|
-
--hsl-border:
|
|
5864
|
-
--hsl-input:
|
|
5863
|
+
--hsl-border: 0 0% 29.8039%;
|
|
5864
|
+
--hsl-input: 0 0% 12.1569%;
|
|
5865
5865
|
--hsl-ring: 233 100% 87%;
|
|
5866
|
-
--depth-1: #
|
|
5867
|
-
--depth-2: #
|
|
5868
|
-
--depth-3: #
|
|
5869
|
-
--depth-4: #
|
|
5870
|
-
--bg-root: #
|
|
5866
|
+
--depth-1: #161616;
|
|
5867
|
+
--depth-2: #303030;
|
|
5868
|
+
--depth-3: #353535;
|
|
5869
|
+
--depth-4: #3b3b3b;
|
|
5870
|
+
--bg-root: #161616;
|
|
5871
5871
|
--bg-card: var(--depth-2);
|
|
5872
5872
|
--bg-input: hsl(var(--hsl-input));
|
|
5873
|
-
--md3-surface-container-lowest: #
|
|
5874
|
-
--md3-surface-container-low: #
|
|
5875
|
-
--md3-surface-container: #
|
|
5876
|
-
--md3-surface-container-high: #
|
|
5877
|
-
--md3-surface-container-highest: #
|
|
5878
|
-
--md3-outline-variant: #
|
|
5879
|
-
--border-subtle: rgba(
|
|
5880
|
-
--border-default: rgba(
|
|
5881
|
-
--border-hover: rgba(
|
|
5873
|
+
--md3-surface-container-lowest: #101010;
|
|
5874
|
+
--md3-surface-container-low: #242424;
|
|
5875
|
+
--md3-surface-container: #303030;
|
|
5876
|
+
--md3-surface-container-high: #353535;
|
|
5877
|
+
--md3-surface-container-highest: #3b3b3b;
|
|
5878
|
+
--md3-outline-variant: #4c4c4c;
|
|
5879
|
+
--border-subtle: rgba(255, 255, 255, 0.10);
|
|
5880
|
+
--border-default: rgba(255, 255, 255, 0.16);
|
|
5881
|
+
--border-hover: rgba(255, 255, 255, 0.28);
|
|
5882
5882
|
--accent-text: #A5B4FC;
|
|
5883
5883
|
--brand-primary: #7C6CF6;
|
|
5884
5884
|
--brand-glow: #A5AAFC;
|
|
5885
|
-
--text-primary: #
|
|
5886
|
-
--text-secondary: #
|
|
5887
|
-
--text-muted: #
|
|
5888
|
-
--text-dim: #
|
|
5885
|
+
--text-primary: #e6e6e6;
|
|
5886
|
+
--text-secondary: #c7c7c7;
|
|
5887
|
+
--text-muted: #b5b5b5;
|
|
5888
|
+
--text-dim: #a5a5a5;
|
|
5889
5889
|
}
|
|
5890
5890
|
[data-theme="tangle-light"] {
|
|
5891
5891
|
--hsl-background: 240 33% 98%;
|
package/dist/hooks.d.ts
CHANGED
|
@@ -79,7 +79,10 @@ export interface SandboxMetrics {
|
|
|
79
79
|
heapTotalBytes: number;
|
|
80
80
|
}
|
|
81
81
|
export interface UseSandboxMetricsOptions {
|
|
82
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* Sandbox API base URL, e.g. `https://api.tangle.tools`.
|
|
84
|
+
* Use an empty string for same-origin requests.
|
|
85
|
+
*/
|
|
83
86
|
apiBaseUrl: string;
|
|
84
87
|
/** Sandbox id; when falsy the hook stays idle. */
|
|
85
88
|
sandboxId?: string | null;
|
package/dist/hooks.js
CHANGED
|
@@ -22,7 +22,7 @@ function useSandboxMetrics({ apiBaseUrl, sandboxId, token, enabled = true, inter
|
|
|
22
22
|
const hasLoadedRef = React$1.useRef(false);
|
|
23
23
|
const prevSandboxIdRef = React$1.useRef(null);
|
|
24
24
|
React$1.useEffect(() => {
|
|
25
|
-
const sandboxCleared = !sandboxId
|
|
25
|
+
const sandboxCleared = !sandboxId;
|
|
26
26
|
const sandboxChanged = prevSandboxIdRef.current !== null && prevSandboxIdRef.current !== sandboxId;
|
|
27
27
|
if (sandboxCleared && prevSandboxIdRef.current !== null || sandboxChanged) {
|
|
28
28
|
sampleRef.current = null;
|
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import { $ as InputProps, $t as ToastProvider, A as DropZoneProps, At as Table,
|
|
|
12
12
|
import { $ as TerminalProps, A as ShellShouldRevalidateArgs, B as SessionSidebarLink, C as SandboxWorkbenchLayoutOptions, D as SandboxWorkbenchSessionProps, E as SandboxWorkbenchProps, F as SessionSidebar, G as SessionOptimisticController, H as SessionSidebarVariant, I as SessionSidebarBadge, J as useOptimisticSessionItems, K as UseOptimisticSessionItemsOptions, L as SessionSidebarFilter, M as createShellShouldRevalidate, N as shellShouldRevalidate, O as SessionActivityMonitor, P as formatRelativeAge, Q as TerminalPanel, R as SessionSidebarGroupBy, S as SandboxWorkbenchFileArtifact, T as SandboxWorkbenchOpenUIArtifact, U as SESSION_CREATED_EVENT, V as SessionSidebarProps, W as SessionCreatedDetail, X as RuntimePaneProps, Y as RuntimePane, Z as TerminalLine, _ as FormAudit, a as ApprovalQueue, at as StatusBannerProps, b as SandboxWorkbenchArtifact, c as CalendarView, ct as WorkspacePaneHeader, d as TaskBoardColumn, dt as WorkspaceLayoutProps, et as ContextBadge, f as TaskBoardItem, g as AuditResultsProps, h as AuditResults, i as ApprovalItem, it as StatusBanner, j as ShellShouldRevalidateOptions, k as SessionActivityMonitorProps, l as CalendarViewProps, lt as WorkspacePaneHeaderProps, m as AuditCheck, n as ArtifactPaneProps, nt as StatusBarProps, o as ApprovalQueueProps, ot as DirectoryPane, p as TaskBoardProps, q as dispatchSessionCreated, r as ApprovalConfidenceStat, rt as BannerType, s as CalendarEvent, st as DirectoryPaneProps, t as ArtifactPane, tt as StatusBar, u as TaskBoard, ut as WorkspaceLayout, v as AgentWorkbench, w as SandboxWorkbenchMarkdownArtifact, x as SandboxWorkbenchCustomArtifact, y as SandboxWorkbench, z as SessionSidebarItem } from "./index-iDiLnSoo.js";
|
|
13
13
|
import { A as SandboxArtifactTerminal, C as ChangesPane, D as ChangesPaneProps, E as ChangedFile, O as SandboxArtifact, S as PillTabsProps, T as ArtifactView, _ as DiffStats, a as PreviewView, b as PillTabItem, c as DiffViewProps, d as FileBreadcrumb, f as FileBreadcrumbProps, g as PanelHeaderProps, h as PanelHeader, i as resolveLanguage, k as SandboxArtifactPaneProps, l as CodeView, m as GitStatusBadge, n as CodeSurface, o as PreviewViewProps, p as DiffStatsBadge, r as CodeSurfaceProps, s as DiffView, t as BRAND_PRISM_THEME, u as CodeViewProps, v as buildUnifiedPatch, w as SandboxArtifactPane, x as PillTabs, y as computeDiffStats } from "./index-D_G-wF6u.js";
|
|
14
14
|
import { a as PreviewReadiness, i as PreviewAccess, n as EmbeddedAppView, r as EmbeddedAppViewProps, t as EmbeddedApp } from "./embedded-app-view-B_vMTtJn.js";
|
|
15
|
-
import { OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode } from "./openui.js";
|
|
15
|
+
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISchemaIssue, OpenUISchemaValidation, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "./openui.js";
|
|
16
16
|
import { ExpandedToolDetail, ExpandedToolDetailProps, FeedSegment, InlineThinkingItem, InlineThinkingItemProps, InlineToolItem, InlineToolItemProps, LiveDuration, RunGroup, RunGroupProps, RunRowShell, RunRowShellProps, RunRowStatus, RunRowStatusDot, ToolCallData, ToolCallFeed, ToolCallFeedProps, ToolCallStatus, ToolCallType, parseToolEvent } from "./run.js";
|
|
17
17
|
import { ActiveProjectActivity, ActiveSessionActivityOptions, ActiveSessionConnectionOptions, ActiveSessionConnectionState, ActiveSessionReconnectState, ActiveSessionRecord, ActiveSessionStatus, ActiveSessionTransportMode, ActiveSessionsState, ChatSession, RegisterActiveSessionOptions, SessionProjectKey, activeSessionsAtom, addMessage, addParts, bumpActiveSessionActivity, clearChat, connectSession, disconnectSession, getActiveSession, getAllActiveSessions, getAllProjectActivity, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, partMapAtom, registerActiveSession, resetActiveSessions, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useHasBackgroundRunningSessions, useNavbarSessions, useProjectActivity, useProjectSessions, useSessionsByActivity, useTotalRunningSessions } from "./stores.js";
|
|
18
18
|
import { AgentBranding, CustomToolRenderer, DisplayVariant, FinalTextPart, GroupedMessage, MessageRun, MessageUser, ReasoningPart, Run, RunStats, SessionMessage, SessionPart, TextPart, ToolCategory, ToolDisplayMetadata, ToolPart, ToolState, ToolStatus, ToolTime } from "./types.js";
|
|
@@ -20,4 +20,4 @@ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focus
|
|
|
20
20
|
import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
|
|
21
21
|
import { CodeBlock as CodeBlockDisplay, Markdown, MarkdownProps } from "@tangle-network/ui/markdown";
|
|
22
22
|
import { CommandPreview, CommandPreviewProps, DiffPreview, DiffPreviewProps, GlobResultsPreview, GlobResultsPreviewProps, GrepResultsPreview, GrepResultsPreviewProps, QuestionPreview, QuestionPreviewProps, WebSearchPreview, WebSearchPreviewProps, WriteFilePreview, WriteFilePreviewProps } from "@tangle-network/ui/tool-previews";
|
|
23
|
-
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AgentBranding, type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, type AgentStreamEvent, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, AgentWorkbench, type AppearanceController, type AppendUserMessageOptions, type ApplySdkEventOptions, type ApprovalConfidenceStat, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, ArtifactPane, type ArtifactPaneProps, type ArtifactScope, type ArtifactView, type AuditCheck, AuditResults, type AuditResultsProps, AuthHeader, type AuthHeaderProps, type AuthUser, type AutomationStreamEvent, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, type Backend, BackendConfig, type BackendConfigProps, BackendSelector, type BackendSelectorProps, type BackendStatusData, Badge, type BadgeProps, type BannerType, type BeginAssistantMessageOptions, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, type BotStreamEvent, Button, type ButtonProps, CSV_PREVIEW_ROW_LIMIT, type CalendarEvent, CalendarView, type CalendarViewProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChangedFile, ChangesPane, type ChangesPaneProps, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, ChatSession, ClusterStatusBar, type ClusterStatusBarProps, type ClusterStatusItem, CodeBlock, CodeBlockDisplay, type CodeBlockProps, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, CommandPreview, type CommandPreviewProps, type CompleteAssistantMessageOptions, type ContextBadge, CopyButton, CreditBalance, type CreditBalanceProps, type CustomToolRenderer, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, type DashboardLayoutProps, type Profile as DashboardProfile, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, type DiffPreviewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, DirectoryPane, type DirectoryPaneProps, type DisplayVariant, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, EmptyState, type EmptyStateProps, ExpandedToolDetail, type ExpandedToolDetailProps, type ExposedPort, type FeedSegment, FileArtifactPane, type FileArtifactPaneProps, FileBreadcrumb, type FileBreadcrumbProps, type FileFormat, type FileNode, FilePreview, type FilePreviewKind, type FilePreviewProps, type FileTabData, FileTabs, type FileTabsProps, FileTree, type FileTreeProps, type FileTreeVisibilityOptions, FilterField, type FilterFieldProps, type FinalTextPart, type FormAudit, type GitCommitData, GitHubLoginButton, type GitHubLoginButtonProps, GitPanel, type GitPanelProps, GitStatusBadge, type GitStatusData, GlobResultsPreview, type GlobResultsPreviewProps, GrepResultsPreview, type GrepResultsPreviewProps, type GroupedMessage, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, INSUFFICIENT_BALANCE_CODE, InfoPanel, type InfoPanelProps, InlineCode, type InlineCodeProps, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, Input, type InputProps, type InsufficientBalance, type Invoice, InvoiceTable, type InvoiceTableProps, Label, LiveDuration, LoginLayout, type LoginLayoutProps, Logo, type LogoProps, Markdown, type MarkdownProps, type McpServer, MessageList, type MessageListProps, type MessageRole, type MessageRun, type MessageUser, Metric, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type MetricProps, MetricStrip, type MetricStripProps, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NetworkConfig, type NetworkConfigData, type NetworkConfigProps, NewSandboxCard, type NewSandboxCardProps, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, OutOfCreditsModal, type OutOfCreditsModalProps, PanelHeader, type PanelHeaderProps, type PillTabItem, PillTabs, type PillTabsProps, type PlanCardData, PlanCards, type PlanCardsProps, type PlanFeature, PortsList, type PortsListProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, ProfileComparison, type ProfileComparisonProps, ProfileSelector, type ProfileSelectorProps, Progress, PromoBanner, type PromoBannerProps, QuestionPreview, type QuestionPreviewProps, RailButton, type RailButtonProps, RailCollapseToggle, type RailCollapseToggleProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailThemeToggle, RailTooltip, type RailTooltipProps, type RealtimeSessionOptions, RealtimeSessionRegistry, type RealtimeSessionRegistryProps, type RealtimeSessionState, type RealtimeSessionTarget, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, type ReasoningPart, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, RichFileTree, type RichFileTreeGitEntry, type RichFileTreeGitStatus, type RichFileTreeProps, type RichFileTreeThemeVars, type Run, RunGroup, type RunGroupProps, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStats, RuntimePane, type RuntimePaneProps, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, type SSEEvent, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxMetrics, type SandboxStatus, SandboxTable, type SandboxTableProps, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SdkSessionAttachment, type SdkSessionEvent, type SdkSessionSeed, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Session, SessionActivityMonitor, type SessionActivityMonitorProps, type SessionCreatedDetail, type SessionDegradation, type SessionInfo, type SessionMessage, type SessionOptimisticController, type SessionPart, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type SessionUser, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, Sidebar, SidebarContent, type SidebarContentProps, SidebarDropZone, type SidebarDropZoneProps, SidebarLayout, type SidebarLayoutFlyoutItem, type SidebarLayoutNavItem, type SidebarLayoutProps, SidebarPanel, SidebarPanelContent, type SidebarPanelContentProps, SidebarPanelHeader, type SidebarPanelHeaderProps, type SidebarPanelProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarRailFooter, type SidebarRailFooterProps, SidebarRailHeader, type SidebarRailHeaderProps, SidebarRailNav, type SidebarRailNavProps, type SidebarRailProps, type SidebarUser, type SidecarAuth, type SidecarMetricsPayload, Skeleton, SkeletonCard, SkeletonTable, SnapshotList, type SnapshotListProps, StatCard, type StatCardProps, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, StatusPill, type StatusPillProps, type StatusTone, Switch, SystemLogsViewer, type SystemLogsViewerProps, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TangleLoginButton, type TangleLoginButtonProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, type TaskStreamEvent, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, type TerminalLine, TerminalPanel, type TerminalProps, type TerminalStreamEvent, type TextPart, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggle, ThinkingIndicator, type ThinkingIndicatorProps, type Toast, ToastContainer, ToastProvider, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, type ToolCategory, type ToolDisplayMetadata, type ToolPart, type ToolState, type ToolStatus, type ToolTime, Toolbar, type ToolbarProps, type UploadFile, UploadProgress, type UploadProgressProps, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type UseAuthOptions, type UseAuthResult, type UseOptimisticSessionItemsOptions, type UsePtySessionOptions, type UsePtySessionReturn, type UseRunGroupsOptions, type UseSSEStreamOptions, type UseSSEStreamResult, type UseSandboxMetricsOptions, type UseSandboxMetricsResult, type UseSdkSessionOptions, type UseSdkSessionReturn, type UseSessionStreamOptions, type UseSessionStreamResult, type UseSidecarAuthOptions, type UseToolCallStreamReturn, UserMenu, type UserMenuProps, UserMessage, type UserMessageProps, type Variant, VariantList, type VariantListProps, type VariantOutcome, type VariantStatus, WebSearchPreview, type WebSearchPreviewProps, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, WriteFilePreview, type WriteFilePreviewProps, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, connectSession, copyText, createAuthFetcher, createFetchTransport, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions };
|
|
23
|
+
export { ActivityFeed, type ActivityFeedProps, type ActivityItem, type AgentBranding, type AgentProfileCapability, type AgentProfileDraft, type AgentProfileOption, AgentProfilePicker, type AgentProfilePickerProps, type AgentStreamEvent, AgentTimeline, type AgentTimelineArtifactItem, type AgentTimelineCustomItem, type AgentTimelineItem, type AgentTimelineMessageItem, type AgentTimelineProps, type AgentTimelineStatusItem, type AgentTimelineTone, type AgentTimelineToolGroupItem, type AgentTimelineToolItem, AgentWorkbench, type AppearanceController, type AppendUserMessageOptions, type ApplySdkEventOptions, type ApprovalConfidenceStat, type ApprovalItem, ApprovalQueue, type ApprovalQueueProps, ArtifactAgentDock, type ArtifactAgentDockProps, type ArtifactAgentDockTransport, type ArtifactDockMessage, type ArtifactDockStreamEvent, type ArtifactKind, ArtifactPane, type ArtifactPaneProps, type ArtifactScope, type ArtifactView, type AuditCheck, AuditResults, type AuditResultsProps, AuthHeader, type AuthHeaderProps, type AuthUser, type AutomationStreamEvent, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, type Backend, BackendConfig, type BackendConfigProps, BackendSelector, type BackendSelectorProps, type BackendStatusData, Badge, type BadgeProps, type BannerType, type BeginAssistantMessageOptions, type BillingBalance, BillingDashboard, type BillingDashboardProps, type BillingSubscription, type BillingUsage, type BotStreamEvent, Button, type ButtonProps, CSV_PREVIEW_ROW_LIMIT, type CalendarEvent, CalendarView, type CalendarViewProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChangedFile, ChangesPane, type ChangesPaneProps, ChatContainer, type ChatContainerProps, ChatMessage, type ChatMessageProps, ChatSession, ClusterStatusBar, type ClusterStatusBarProps, type ClusterStatusItem, CodeBlock, CodeBlockDisplay, type CodeBlockProps, CodeSurface, type CodeSurfaceProps, CodeView, type CodeViewProps, CommandPreview, type CommandPreviewProps, type CompleteAssistantMessageOptions, type ContextBadge, CopyButton, CreditBalance, type CreditBalanceProps, type CustomToolRenderer, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, type DashboardLayoutProps, type Profile as DashboardProfile, type SnapshotInfo as DashboardSnapshotInfo, type DashboardUser, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, type DiffPreviewProps, type DiffStats, DiffStatsBadge, DiffView, type DiffViewProps, DirectoryPane, type DirectoryPaneProps, type DisplayVariant, DropZone, type DropZoneProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type EmbeddedApp, EmbeddedAppView, type EmbeddedAppViewProps, EmptyState, type EmptyStateProps, ExpandedToolDetail, type ExpandedToolDetailProps, type ExposedPort, type FeedSegment, FileArtifactPane, type FileArtifactPaneProps, FileBreadcrumb, type FileBreadcrumbProps, type FileFormat, type FileNode, FilePreview, type FilePreviewKind, type FilePreviewProps, type FileTabData, FileTabs, type FileTabsProps, FileTree, type FileTreeProps, type FileTreeVisibilityOptions, FilterField, type FilterFieldProps, type FinalTextPart, type FormAudit, type GitCommitData, GitHubLoginButton, type GitHubLoginButtonProps, GitPanel, type GitPanelProps, GitStatusBadge, type GitStatusData, GlobResultsPreview, type GlobResultsPreviewProps, GrepResultsPreview, type GrepResultsPreviewProps, type GroupedMessage, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, type HarnessBrand, HarnessLogo, type HarnessLogoProps, HarnessPicker, type HarnessPickerProps, type HarnessType, INSUFFICIENT_BALANCE_CODE, InfoPanel, type InfoPanelProps, InlineCode, type InlineCodeProps, InlineThinkingItem, type InlineThinkingItemProps, InlineToolItem, type InlineToolItemProps, Input, type InputProps, type InsufficientBalance, type Invoice, InvoiceTable, type InvoiceTableProps, Label, LiveDuration, LoginLayout, type LoginLayoutProps, Logo, type LogoProps, Markdown, type MarkdownProps, type McpServer, MessageList, type MessageListProps, type MessageRole, type MessageRun, type MessageUser, Metric, MetricAreaChart, type MetricAreaChartProps, type MetricChartPoint, type MetricChartTone, type MetricProps, MetricStrip, type MetricStripProps, type ModelBrandIdentity, ModelBrandStack, type ModelInfo, type NavItem, NetworkConfig, type NetworkConfigData, type NetworkConfigProps, NewSandboxCard, type NewSandboxCardProps, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISchemaIssue, type OpenUISchemaValidation, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, OutOfCreditsModal, type OutOfCreditsModalProps, PanelHeader, type PanelHeaderProps, type PillTabItem, PillTabs, type PillTabsProps, type PlanCardData, PlanCards, type PlanCardsProps, type PlanFeature, PortsList, type PortsListProps, type PreviewAccess, type PreviewReadiness, PreviewView, type PreviewViewProps, PricingPage, type PricingPageProps, type PricingTier, type ProcessInfo, ProcessList, type ProcessListProps, type ProductVariant, ProfileAvatar, type ProfileAvatarProps, ProfileComparison, type ProfileComparisonProps, ProfileSelector, type ProfileSelectorProps, Progress, PromoBanner, type PromoBannerProps, QuestionPreview, type QuestionPreviewProps, RailButton, type RailButtonProps, RailCollapseToggle, type RailCollapseToggleProps, RailExpandable, type RailExpandableProps, type RailExpandableSubItem, RailFlyout, type RailFlyoutProps, RailHeader, type RailHeaderProps, RailModeButton, type RailModeButtonProps, RailSeparator, type RailSeparatorProps, RailThemeToggle, RailTooltip, type RailTooltipProps, type RealtimeSessionOptions, RealtimeSessionRegistry, type RealtimeSessionRegistryProps, type RealtimeSessionState, type RealtimeSessionTarget, type ReasoningLevel, type ReasoningLevelOption, ReasoningLevelPicker, type ReasoningLevelPickerProps, type ReasoningPart, ResourceMeter, type ResourceMeterProps, ResourceSnapshot, type ResourceSnapshotItem, type ResourceSnapshotProps, RichFileTree, type RichFileTreeGitEntry, type RichFileTreeGitStatus, type RichFileTreeProps, type RichFileTreeThemeVars, type Run, RunGroup, type RunGroupProps, RunRowShell, type RunRowShellProps, type RunRowStatus, RunRowStatusDot, type RunStats, RuntimePane, type RuntimePaneProps, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, type SSEEvent, type SandboxArtifact, SandboxArtifactPane, type SandboxArtifactPaneProps, type SandboxArtifactTerminal, SandboxCard, type SandboxCardData, type SandboxCardProps, type SandboxMetrics, type SandboxStatus, SandboxTable, type SandboxTableProps, SandboxWorkbench, type SandboxWorkbenchArtifact, type SandboxWorkbenchCustomArtifact, type SandboxWorkbenchFileArtifact, type SandboxWorkbenchLayoutOptions, type SandboxWorkbenchMarkdownArtifact, type SandboxWorkbenchOpenUIArtifact, type SandboxWorkbenchProps, type SandboxWorkbenchSessionProps, type SdkSessionAttachment, type SdkSessionEvent, type SdkSessionSeed, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Session, SessionActivityMonitor, type SessionActivityMonitorProps, type SessionCreatedDetail, type SessionDegradation, type SessionInfo, type SessionMessage, type SessionOptimisticController, type SessionPart, SessionSidebar, type SessionSidebarBadge, type SessionSidebarFilter, type SessionSidebarGroupBy, type SessionSidebarItem, type SessionSidebarLink, type SessionSidebarProps, type SessionSidebarVariant, type SessionUser, type ShellShouldRevalidateArgs, type ShellShouldRevalidateOptions, Sidebar, SidebarContent, type SidebarContentProps, SidebarDropZone, type SidebarDropZoneProps, SidebarLayout, type SidebarLayoutFlyoutItem, type SidebarLayoutNavItem, type SidebarLayoutProps, SidebarPanel, SidebarPanelContent, type SidebarPanelContentProps, SidebarPanelHeader, type SidebarPanelHeaderProps, type SidebarPanelProps, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarRailFooter, type SidebarRailFooterProps, SidebarRailHeader, type SidebarRailHeaderProps, SidebarRailNav, type SidebarRailNavProps, type SidebarRailProps, type SidebarUser, type SidecarAuth, type SidecarMetricsPayload, Skeleton, SkeletonCard, SkeletonTable, SnapshotList, type SnapshotListProps, StatCard, type StatCardProps, StatusBanner, type StatusBannerProps, StatusBar, type StatusBarProps, StatusPill, type StatusPillProps, type StatusTone, Switch, SystemLogsViewer, type SystemLogsViewerProps, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TangleLoginButton, type TangleLoginButtonProps, TaskBoard, type TaskBoardColumn, type TaskBoardItem, type TaskBoardProps, type TaskStreamEvent, type TeamRole, TemplateCard, type TemplateCardData, type TemplateCardProps, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, type TerminalLine, TerminalPanel, type TerminalProps, type TerminalStreamEvent, type TextPart, TextShimmer, type TextShimmerProps, Textarea, type TextareaProps, type ThemeMode, ThemeToggle, ThinkingIndicator, type ThinkingIndicatorProps, type Toast, ToastContainer, ToastProvider, type ToolCallData, ToolCallFeed, type ToolCallFeedProps, type ToolCallStatus, type ToolCallType, type ToolCategory, type ToolDisplayMetadata, type ToolPart, type ToolState, type ToolStatus, type ToolTime, Toolbar, type ToolbarProps, type UploadFile, UploadProgress, type UploadProgressProps, UsageChart, type UsageChartProps, type UsageDataPoint, UsageSummary, type UsageSummaryData, type UsageSummaryProps, type UseAuthOptions, type UseAuthResult, type UseOptimisticSessionItemsOptions, type UsePtySessionOptions, type UsePtySessionReturn, type UseRunGroupsOptions, type UseSSEStreamOptions, type UseSSEStreamResult, type UseSandboxMetricsOptions, type UseSandboxMetricsResult, type UseSdkSessionOptions, type UseSdkSessionReturn, type UseSessionStreamOptions, type UseSessionStreamResult, type UseSidecarAuthOptions, type UseToolCallStreamReturn, UserMenu, type UserMenuProps, UserMessage, type UserMessageProps, type Variant, VariantList, type VariantListProps, type VariantOutcome, type VariantStatus, WebSearchPreview, type WebSearchPreviewProps, WorkspaceLayout, type WorkspaceLayoutProps, WorkspacePaneHeader, type WorkspacePaneHeaderProps, WriteFilePreview, type WriteFilePreviewProps, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, connectSession, copyText, createAuthFetcher, createFetchTransport, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { a as formatPrice, i as PricingPage, n as TemplateCard, o as BillingDash
|
|
|
8
8
|
import { t as usePtySession } from "./use-pty-session-Bf4hBLXJ.js";
|
|
9
9
|
import { CSV_PREVIEW_ROW_LIMIT, FileArtifactPane, FilePreview, FileTabs, FileTree, RichFileTree, detectFileFormat, fileExtension, filterFileTree, getCodeLanguage, getFormatLabel, getSyntaxLanguage, parseCsv, resolveFilePreviewKind } from "./files.js";
|
|
10
10
|
import { n as PreviewView, t as EmbeddedAppView } from "./embedded-app-view-CoiS_kfY.js";
|
|
11
|
-
import { OpenUIArtifactRenderer } from "./openui.js";
|
|
11
|
+
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "./openui.js";
|
|
12
12
|
import { a as ThinkingIndicator, c as createFetchTransport, d as AgentProfilePicker, f as DEFAULT_REASONING_LEVEL_OPTIONS, i as MessageList, l as modelProvider, m as ReasoningLevelPicker, n as ChatContainer, o as UserMessage, p as HARNESS_REASONING_OPTIONS, r as ChatMessage, s as ArtifactAgentDock, t as AgentTimeline, u as snapHarnessToModel } from "./chat-BOvFAe6p.js";
|
|
13
13
|
import { ExpandedToolDetail, InlineThinkingItem, InlineToolItem, LiveDuration, RunGroup, RunRowShell, RunRowStatusDot, ToolCallFeed, parseToolEvent } from "./run.js";
|
|
14
14
|
import { a as TangleLoginButton, i as UserMenu, n as GitHubLoginButton, r as LoginLayout, t as AuthHeader } from "./auth-CWe17Hly.js";
|
|
@@ -20,4 +20,4 @@ import { TOOL_CATEGORY_ICONS, cn, copyText, focusField, focusFieldInvalid, focus
|
|
|
20
20
|
import { TerminalCursor as TerminalDisplayCursor, TerminalInput as TerminalDisplayInput, TerminalLine as TerminalDisplayLine } from "@tangle-network/ui/primitives";
|
|
21
21
|
import { CodeBlock as CodeBlockDisplay, Markdown } from "@tangle-network/ui/markdown";
|
|
22
22
|
import { CommandPreview, DiffPreview, GlobResultsPreview, GrepResultsPreview, QuestionPreview, WebSearchPreview, WriteFilePreview } from "@tangle-network/ui/tool-previews";
|
|
23
|
-
export { ActivityFeed, AgentProfilePicker, AgentTimeline, AgentWorkbench, ApprovalQueue, ArtifactAgentDock, ArtifactPane, AuditResults, AuthHeader, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, BackendConfig, BackendSelector, Badge, BillingDashboard, Button, CSV_PREVIEW_ROW_LIMIT, CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangesPane, ChatContainer, ChatMessage, ClusterStatusBar, CodeBlock, CodeBlockDisplay, CodeSurface, CodeView, CommandPreview, CopyButton, CreditBalance, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, DiffStatsBadge, DiffView, DirectoryPane, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbeddedAppView, EmptyState, ExpandedToolDetail, FileArtifactPane, FileBreadcrumb, FilePreview, FileTabs, FileTree, FilterField, GitHubLoginButton, GitPanel, GitStatusBadge, GlobResultsPreview, GrepResultsPreview, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, InfoPanel, InlineCode, InlineThinkingItem, InlineToolItem, Input, InvoiceTable, Label, LiveDuration, LoginLayout, Logo, Markdown, MessageList, Metric, MetricAreaChart, MetricStrip, ModelBrandStack, NetworkConfig, NewSandboxCard, OpenUIArtifactRenderer, OutOfCreditsModal, PanelHeader, PillTabs, PlanCards, PortsList, PreviewView, PricingPage, ProcessList, ProfileAvatar, ProfileComparison, ProfileSelector, Progress, PromoBanner, QuestionPreview, RailButton, RailCollapseToggle, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailThemeToggle, RailTooltip, RealtimeSessionRegistry, ReasoningLevelPicker, ResourceMeter, ResourceSnapshot, RichFileTree, RunGroup, RunRowShell, RunRowStatusDot, RuntimePane, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxArtifactPane, SandboxCard, SandboxTable, SandboxWorkbench, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SessionActivityMonitor, SessionSidebar, Sidebar, SidebarContent, SidebarDropZone, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailHeader, SidebarRailNav, Skeleton, SkeletonCard, SkeletonTable, SnapshotList, StatCard, StatusBanner, StatusBar, StatusPill, Switch, SystemLogsViewer, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TangleLoginButton, TaskBoard, TemplateCard, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, TerminalPanel, TextShimmer, Textarea, ThemeToggle, ThinkingIndicator, ToastContainer, ToastProvider, ToolCallFeed, Toolbar, UploadProgress, UsageChart, UsageSummary, UserMenu, UserMessage, VariantList, WebSearchPreview, WorkspaceLayout, WorkspacePaneHeader, WriteFilePreview, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, connectSession, copyText, createAuthFetcher, createFetchTransport, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions };
|
|
23
|
+
export { ActivityFeed, AgentProfilePicker, AgentTimeline, AgentWorkbench, ApprovalQueue, ArtifactAgentDock, ArtifactPane, AuditResults, AuthHeader, Avatar, AvatarFallback, AvatarImage, BRAND_PRISM_THEME, BackendConfig, BackendSelector, Badge, BillingDashboard, Button, CSV_PREVIEW_ROW_LIMIT, CalendarView, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChangesPane, ChatContainer, ChatMessage, ClusterStatusBar, CodeBlock, CodeBlockDisplay, CodeSurface, CodeView, CommandPreview, CopyButton, CreditBalance, DEFAULT_REASONING_LEVEL_OPTIONS, DashboardLayout, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DiffPreview, DiffStatsBadge, DiffView, DirectoryPane, DropZone, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmbeddedAppView, EmptyState, ExpandedToolDetail, FileArtifactPane, FileBreadcrumb, FilePreview, FileTabs, FileTree, FilterField, GitHubLoginButton, GitPanel, GitStatusBadge, GlobResultsPreview, GrepResultsPreview, HARNESS_BRAND, HARNESS_OPTIONS, HARNESS_REASONING_OPTIONS, HarnessLogo, HarnessPicker, INSUFFICIENT_BALANCE_CODE, InfoPanel, InlineCode, InlineThinkingItem, InlineToolItem, Input, InvoiceTable, Label, LiveDuration, LoginLayout, Logo, Markdown, MessageList, Metric, MetricAreaChart, MetricStrip, ModelBrandStack, NetworkConfig, NewSandboxCard, OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, OutOfCreditsModal, PanelHeader, PillTabs, PlanCards, PortsList, PreviewView, PricingPage, ProcessList, ProfileAvatar, ProfileComparison, ProfileSelector, Progress, PromoBanner, QuestionPreview, RailButton, RailCollapseToggle, RailExpandable, RailFlyout, RailHeader, RailModeButton, RailSeparator, RailThemeToggle, RailTooltip, RealtimeSessionRegistry, ReasoningLevelPicker, ResourceMeter, ResourceSnapshot, RichFileTree, RunGroup, RunRowShell, RunRowStatusDot, RuntimePane, SESSION_CREATED_EVENT, SIDEBAR_MOBILE_WIDTH, SIDEBAR_PANEL_WIDTH, SIDEBAR_RAIL_LABELED_WIDTH, SIDEBAR_RAIL_WIDTH, SIDEBAR_TOTAL_WIDTH, SandboxArtifactPane, SandboxCard, SandboxTable, SandboxWorkbench, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SessionActivityMonitor, SessionSidebar, Sidebar, SidebarContent, SidebarDropZone, SidebarLayout, SidebarPanel, SidebarPanelContent, SidebarPanelHeader, SidebarProvider, SidebarRail, SidebarRailFooter, SidebarRailHeader, SidebarRailNav, Skeleton, SkeletonCard, SkeletonTable, SnapshotList, StatCard, StatusBanner, StatusBar, StatusPill, Switch, SystemLogsViewer, TOOL_CATEGORY_ICONS, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, TangleKnot, TangleLoginButton, TaskBoard, TemplateCard, TerminalDisplay, TerminalDisplayCursor, TerminalDisplayInput, TerminalDisplayLine, TerminalPanel, TextShimmer, Textarea, ThemeToggle, ThinkingIndicator, ToastContainer, ToastProvider, ToolCallFeed, Toolbar, UploadProgress, UsageChart, UsageSummary, UserMenu, UserMessage, VariantList, WebSearchPreview, WorkspaceLayout, WorkspacePaneHeader, WriteFilePreview, activeSessionsAtom, addMessage, addParts, badgeVariants, buildUnifiedPatch, bumpActiveSessionActivity, buttonVariants, canAdminSandbox, canonicalModelId, chatCapableHarnesses, clearChat, cn, computeDiffStats, connectSession, copyText, createAuthFetcher, createFetchTransport, createShellShouldRevalidate, detectFileFormat, disconnectSession, dispatchSessionCreated, fileExtension, filterFileTree, findUnsupportedOpenUINode, focusField, focusFieldInvalid, focusFieldWithin, focusRing, focusRingInset, formatBytes, formatDuration, formatPrice, formatRelativeAge, formatUptime, getActiveSession, getAllActiveSessions, getAllProjectActivity, getCodeLanguage, getFormatLabel, getSessionsByActivity, getSessionsForNavbar, getSessionsForProject, getSyntaxLanguage, getToolCategory, getToolDisplayMetadata, getToolErrorText, getTotalRunningSessionCount, hasBackgroundRunningSessions, isStreamingAtom, messagesAtom, modelBrandFor, modelProvider, parseCsv, parseInsufficientBalance, parseToolEvent, partMapAtom, registerActiveSession, resetActiveSessions, resolveFilePreviewKind, resolveLanguage, sessionAtom, setActiveSessionAttention, setActiveSessionConnection, setActiveSessionError, setActiveSessionRunning, setForegroundActiveSession, shellShouldRevalidate, snapHarnessToModel, timeAgo, truncateText, unregisterActiveSession, updateActiveSessionMeta, updatePart, useActiveSession, useActiveSessions, useActiveSessionsState, useApiKey, useAuth, useAutoScroll, useCreateSession, useDeleteSession, useDropdownMenu, useHasBackgroundRunningSessions, useLiveTime, useNavbarSessions, useOptimisticSessionItems, useProjectActivity, useProjectSessions, usePtySession, useRealtimeSession, useRenameSession, useRunCollapseState, useRunGroups, useSSEStream, useSandboxMetrics, useSdkSession, useSessionStream, useSessions, useSessionsByActivity, useSidebar, useSidecarAuth, useTheme, useToast, useToolCallStream, useTotalRunningSessions, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
package/dist/openui.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode } from "@tangle-network/ui/openui";
|
|
2
|
-
export { type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode };
|
|
1
|
+
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIAction, OpenUIActionsNode, OpenUIArtifactRenderer, OpenUIArtifactRendererProps, OpenUIBadgeNode, OpenUICardNode, OpenUICodeNode, OpenUIComponentNode, OpenUIGridNode, OpenUIHeadingNode, OpenUIKeyValueNode, OpenUIMarkdownNode, OpenUIPrimitive, OpenUISchemaIssue, OpenUISchemaValidation, OpenUISeparatorNode, OpenUIStackNode, OpenUIStatNode, OpenUITableNode, OpenUITextNode, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "@tangle-network/ui/openui";
|
|
2
|
+
export { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, type OpenUIAction, type OpenUIActionsNode, OpenUIArtifactRenderer, type OpenUIArtifactRendererProps, type OpenUIBadgeNode, type OpenUICardNode, type OpenUICodeNode, type OpenUIComponentNode, type OpenUIGridNode, type OpenUIHeadingNode, type OpenUIKeyValueNode, type OpenUIMarkdownNode, type OpenUIPrimitive, type OpenUISchemaIssue, type OpenUISchemaValidation, type OpenUISeparatorNode, type OpenUIStackNode, type OpenUIStatNode, type OpenUITableNode, type OpenUITextNode, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|
package/dist/openui.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { OpenUIArtifactRenderer } from "@tangle-network/ui/openui";
|
|
2
|
-
export { OpenUIArtifactRenderer };
|
|
1
|
+
import { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode } from "@tangle-network/ui/openui";
|
|
2
|
+
export { OPENUI_NODE_JSON_SCHEMA, OPENUI_NODE_TYPES, OpenUIArtifactRenderer, findUnsupportedOpenUINode, validateOpenUIJsonArtifact, validateOpenUIJsonNode };
|