@burdenoff/microfe-sandbox 2026.623.1 → 2026.624.1

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.
Files changed (31) hide show
  1. package/dist/sandbox/components/FilesFolderPicker.js +11 -11
  2. package/dist/sandbox/components/FilesFolderPicker.js.map +1 -1
  3. package/dist/sandbox/components/PageLayout.js +3 -3
  4. package/dist/sandbox/components/PageLayout.js.map +1 -1
  5. package/dist/sandbox/components/ResourceDisplay.js +3 -3
  6. package/dist/sandbox/components/ResourceDisplay.js.map +1 -1
  7. package/dist/sandbox/components/RouteUtils.js +5 -5
  8. package/dist/sandbox/components/RouteUtils.js.map +1 -1
  9. package/dist/sandbox/components/SandboxActivityTab.js +1 -1
  10. package/dist/sandbox/components/SandboxActivityTab.js.map +1 -1
  11. package/dist/sandbox/components/SandboxAgentAppPanel.js +1 -1
  12. package/dist/sandbox/components/SandboxAgentAppPanel.js.map +1 -1
  13. package/dist/sandbox/components/SandboxScriptRunnerPanel.js +13 -13
  14. package/dist/sandbox/components/SandboxScriptRunnerPanel.js.map +1 -1
  15. package/dist/sandbox/components/StatusBadge.js +2 -2
  16. package/dist/sandbox/components/StatusBadge.js.map +1 -1
  17. package/dist/sandbox/components/TagsInput.js +1 -1
  18. package/dist/sandbox/components/TagsInput.js.map +1 -1
  19. package/dist/sandbox/pages/AdminTemplatesPage.js +3 -3
  20. package/dist/sandbox/pages/AdminTemplatesPage.js.map +1 -1
  21. package/dist/sandbox/pages/SandboxCreatePage.js +70 -70
  22. package/dist/sandbox/pages/SandboxCreatePage.js.map +1 -1
  23. package/dist/sandbox/pages/SandboxDetailPage.js +46 -46
  24. package/dist/sandbox/pages/SandboxDetailPage.js.map +1 -1
  25. package/dist/sandbox/pages/SandboxListPage.js +22 -22
  26. package/dist/sandbox/pages/SandboxListPage.js.map +1 -1
  27. package/dist/sandbox/pages/TemplateDetailPage.js +32 -32
  28. package/dist/sandbox/pages/TemplateDetailPage.js.map +1 -1
  29. package/dist/sandbox/pages/UserTemplatesPage.js +2 -2
  30. package/dist/sandbox/pages/UserTemplatesPage.js.map +1 -1
  31. package/package.json +1 -1
@@ -326,19 +326,19 @@ function I() {
326
326
  ]
327
327
  }),
328
328
  /* @__PURE__ */ D("div", {
329
- className: "relative overflow-hidden rounded-xl bg-gradient-to-br from-primary/5 via-primary/3 to-background border border-border/50 p-6 shadow-sm",
329
+ className: "relative overflow-hidden rounded-xl bg-gradient-to-br from-primary/5 via-primary/3 to-background border border-border-subtle/50 p-6 shadow-sm",
330
330
  children: [/* @__PURE__ */ D("div", {
331
331
  className: "relative z-10 flex items-center gap-4",
332
332
  children: [/* @__PURE__ */ E("button", {
333
333
  type: "button",
334
334
  onClick: () => O?.(g),
335
- className: "p-2.5 hover:bg-accent rounded-lg transition-all duration-200 hover:scale-110",
335
+ className: "p-2.5 hover:bg-accent rounded-lg transition-all duration-200",
336
336
  "aria-label": a(L, "sandbox.create.header.back.ariaLabel", "Back to sandboxes"),
337
337
  children: /* @__PURE__ */ E(p, { size: 20 })
338
338
  }), /* @__PURE__ */ D("div", {
339
339
  className: "flex items-center gap-3",
340
340
  children: [/* @__PURE__ */ E("div", {
341
- className: "p-2.5 rounded-lg bg-primary/10 backdrop-blur-sm",
341
+ className: "p-2.5 rounded-lg bg-action-primary-bg/10 backdrop-blur-sm",
342
342
  children: /* @__PURE__ */ E(m, {
343
343
  size: 24,
344
344
  className: "text-primary"
@@ -372,7 +372,7 @@ function I() {
372
372
  a(L, "sandbox.create.fields.name.label", "Name"),
373
373
  " ",
374
374
  /* @__PURE__ */ E("span", {
375
- className: "text-destructive",
375
+ className: "text-status-error-text",
376
376
  children: "*"
377
377
  })
378
378
  ]
@@ -383,11 +383,11 @@ function I() {
383
383
  id: "name",
384
384
  value: B.name,
385
385
  onChange: (e) => Z("name", e.target.value),
386
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.name ? "border-destructive" : "border-border focus:border-primary"}`,
386
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.name ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
387
387
  placeholder: a(L, "sandbox.create.fields.name.placeholder", "My Sandbox")
388
388
  }),
389
389
  H.name && /* @__PURE__ */ D("p", {
390
- className: "text-sm text-destructive mt-1 flex items-center gap-1",
390
+ className: "text-sm text-status-error-text mt-1 flex items-center gap-1",
391
391
  children: [/* @__PURE__ */ E(f, { size: 14 }), H.name]
392
392
  })
393
393
  ] }),
@@ -401,7 +401,7 @@ function I() {
401
401
  value: B.description,
402
402
  onChange: (e) => Z("description", e.target.value),
403
403
  rows: 3,
404
- className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
404
+ className: "w-full px-4 py-2.5 border-2 border-border-subtle rounded-lg bg-bg-surface focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
405
405
  placeholder: a(L, "sandbox.create.fields.description.placeholder", "What is this sandbox for?")
406
406
  })] }),
407
407
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
@@ -447,18 +447,18 @@ function I() {
447
447
  }]
448
448
  }));
449
449
  },
450
- className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${n ? "border-primary bg-primary/5 shadow-sm" : "border-border hover:border-primary/50 hover:bg-muted/50"}`,
450
+ className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${n ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
451
451
  children: [
452
452
  /* @__PURE__ */ E(t, {
453
453
  size: 24,
454
- className: n ? "text-primary" : "text-muted-foreground"
454
+ className: n ? "text-primary" : "text-text-secondary"
455
455
  }),
456
456
  /* @__PURE__ */ E("p", {
457
457
  className: "font-medium mt-2",
458
458
  children: a(L, e.labelKey, e.labelFallback)
459
459
  }),
460
460
  /* @__PURE__ */ E("p", {
461
- className: "text-xs text-muted-foreground mt-0.5",
461
+ className: "text-xs text-text-secondary mt-0.5",
462
462
  children: a(L, e.descriptionKey, e.descriptionFallback)
463
463
  })
464
464
  ]
@@ -485,12 +485,12 @@ function I() {
485
485
  }].map((e) => /* @__PURE__ */ D("button", {
486
486
  type: "button",
487
487
  onClick: () => Z("mode", e.value),
488
- className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${B.mode === e.value ? "border-primary bg-primary/5 shadow-sm" : "border-border hover:border-primary/50 hover:bg-muted/50"}`,
488
+ className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${B.mode === e.value ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
489
489
  children: [/* @__PURE__ */ E("p", {
490
490
  className: "font-medium text-sm",
491
491
  children: a(L, e.labelKey, e.labelFallback)
492
492
  }), /* @__PURE__ */ E("p", {
493
- className: "text-xs text-muted-foreground mt-0.5",
493
+ className: "text-xs text-text-secondary mt-0.5",
494
494
  children: a(L, e.descKey, e.descFallback)
495
495
  })]
496
496
  }, e.value))
@@ -512,7 +512,7 @@ function I() {
512
512
  children: J.map((e) => /* @__PURE__ */ D("button", {
513
513
  type: "button",
514
514
  onClick: () => X(e),
515
- className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${B.templateId === e.id ? "border-primary bg-primary/5 shadow-sm" : "border-border hover:border-primary/50 hover:bg-muted/50"}`,
515
+ className: `p-4 rounded-lg border-2 text-left transition-all duration-200 ${B.templateId === e.id ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
516
516
  children: [
517
517
  /* @__PURE__ */ D("div", {
518
518
  className: "flex items-center gap-2 mb-2",
@@ -526,25 +526,25 @@ function I() {
526
526
  })]
527
527
  }),
528
528
  e.description && /* @__PURE__ */ E("p", {
529
- className: "text-xs text-muted-foreground mb-2",
529
+ className: "text-xs text-text-secondary mb-2",
530
530
  children: e.description
531
531
  }),
532
532
  /* @__PURE__ */ D("div", {
533
- className: "flex items-center gap-2 text-xs text-muted-foreground",
533
+ className: "flex items-center gap-2 text-xs text-text-secondary",
534
534
  children: [
535
535
  /* @__PURE__ */ D("span", { children: [e.resources?.cpuRequest ?? "?", " CPU"] }),
536
536
  /* @__PURE__ */ E("span", {
537
- className: "text-muted-foreground/40",
537
+ className: "text-text-secondary/40",
538
538
  children: "|"
539
539
  }),
540
540
  /* @__PURE__ */ D("span", { children: [e.resources?.memoryRequest ?? "?", " mem"] }),
541
541
  /* @__PURE__ */ E("span", {
542
- className: "text-muted-foreground/40",
542
+ className: "text-text-secondary/40",
543
543
  children: "|"
544
544
  }),
545
545
  /* @__PURE__ */ D("span", { children: [e.containers?.length ?? 0, " containers"] }),
546
546
  /* @__PURE__ */ E("span", {
547
- className: "text-muted-foreground/40",
547
+ className: "text-text-secondary/40",
548
548
  children: "|"
549
549
  }),
550
550
  /* @__PURE__ */ E("span", { children: $(e.ttlSeconds) })
@@ -554,7 +554,7 @@ function I() {
554
554
  }, e.id))
555
555
  }),
556
556
  /* @__PURE__ */ E("p", {
557
- className: "text-xs text-muted-foreground",
557
+ className: "text-xs text-text-secondary",
558
558
  children: a(L, "sandbox.create.sections.quickStartTemplates.hint", "Select a template or customize resources below")
559
559
  })
560
560
  ]
@@ -587,13 +587,13 @@ function I() {
587
587
  })]
588
588
  }),
589
589
  H.containers && /* @__PURE__ */ D("p", {
590
- className: "text-sm text-destructive flex items-center gap-1",
590
+ className: "text-sm text-status-error-text flex items-center gap-1",
591
591
  children: [/* @__PURE__ */ E(f, { size: 14 }), H.containers]
592
592
  }),
593
593
  /* @__PURE__ */ E("div", {
594
594
  className: "space-y-4",
595
595
  children: B.containers.map((e, t) => /* @__PURE__ */ D("div", {
596
- className: "p-4 rounded-lg border-2 border-border/50 bg-muted/20 space-y-4",
596
+ className: "p-4 rounded-lg border-2 border-border-subtle/50 bg-bg-sunken/20 space-y-4",
597
597
  children: [
598
598
  /* @__PURE__ */ D("div", {
599
599
  className: "flex items-center justify-between",
@@ -604,7 +604,7 @@ function I() {
604
604
  type: "button",
605
605
  variant: "ghost",
606
606
  size: "icon",
607
- className: "text-destructive hover:text-destructive size-7",
607
+ className: "text-status-error-text hover:text-status-error-text size-7",
608
608
  onClick: () => fe(t),
609
609
  children: /* @__PURE__ */ E(C, { size: 14 })
610
610
  })]
@@ -616,7 +616,7 @@ function I() {
616
616
  a(L, "sandbox.create.container.fields.name.label", "Name"),
617
617
  " ",
618
618
  /* @__PURE__ */ E("span", {
619
- className: "text-destructive",
619
+ className: "text-status-error-text",
620
620
  children: "*"
621
621
  })
622
622
  ]
@@ -626,11 +626,11 @@ function I() {
626
626
  type: "text",
627
627
  value: e.name,
628
628
  onChange: (e) => Q(t, "name", e.target.value),
629
- className: `w-full px-3 py-2 border-2 rounded-lg bg-background text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_name`] ? "border-destructive" : "border-border focus:border-primary"}`,
629
+ className: `w-full px-3 py-2 border-2 rounded-lg bg-bg-surface text-sm focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_name`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
630
630
  placeholder: a(L, "sandbox.create.container.fields.name.placeholder", "main")
631
631
  }),
632
632
  H[`container_${t}_name`] && /* @__PURE__ */ E("p", {
633
- className: "text-xs text-destructive mt-1",
633
+ className: "text-xs text-status-error-text mt-1",
634
634
  children: H[`container_${t}_name`]
635
635
  })
636
636
  ] }),
@@ -641,7 +641,7 @@ function I() {
641
641
  a(L, "sandbox.create.container.fields.image.label", "Image"),
642
642
  " ",
643
643
  /* @__PURE__ */ E("span", {
644
- className: "text-destructive",
644
+ className: "text-status-error-text",
645
645
  children: "*"
646
646
  })
647
647
  ]
@@ -651,12 +651,12 @@ function I() {
651
651
  children: [/* @__PURE__ */ E("button", {
652
652
  type: "button",
653
653
  onClick: () => Q(t, "_registryType", "burdenoff"),
654
- className: `flex-1 rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors ${(e._registryType || "burdenoff") === "burdenoff" ? "border-primary bg-primary/10 text-primary" : "border-border-default text-text-secondary hover:bg-bg-sunken"}`,
654
+ className: `flex-1 rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors ${(e._registryType || "burdenoff") === "burdenoff" ? "border-primary bg-action-primary-bg/10 text-primary" : "border-border-default text-text-secondary hover:bg-bg-sunken"}`,
655
655
  children: a(L, "sandbox.create.container.fields.image.registryBurdenoff", "Burdenoff Repositories")
656
656
  }), /* @__PURE__ */ E("button", {
657
657
  type: "button",
658
658
  onClick: () => Q(t, "_registryType", "custom"),
659
- className: `flex-1 rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors ${e._registryType === "custom" ? "border-primary bg-primary/10 text-primary" : "border-border-default text-text-secondary hover:bg-bg-sunken"}`,
659
+ className: `flex-1 rounded-lg border px-3 py-1.5 text-xs font-medium transition-colors ${e._registryType === "custom" ? "border-primary bg-action-primary-bg/10 text-primary" : "border-border-default text-text-secondary hover:bg-bg-sunken"}`,
660
660
  children: a(L, "sandbox.create.container.fields.image.registryCustom", "Custom (Docker Hub)")
661
661
  })]
662
662
  }),
@@ -670,7 +670,7 @@ function I() {
670
670
  type: "text",
671
671
  value: l(e.image),
672
672
  onChange: (e) => Q(t, "image", e.target.value),
673
- className: `w-full px-3 py-2 border-2 rounded-r-lg bg-background text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_image`] ? "border-destructive" : "border-border focus:border-primary"}`,
673
+ className: `w-full px-3 py-2 border-2 rounded-r-lg bg-bg-surface text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_image`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
674
674
  placeholder: N
675
675
  })]
676
676
  }) : /* @__PURE__ */ E("input", {
@@ -678,62 +678,62 @@ function I() {
678
678
  type: "text",
679
679
  value: e.image,
680
680
  onChange: (e) => Q(t, "image", e.target.value),
681
- className: `w-full px-3 py-2 border-2 rounded-lg bg-background text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_image`] ? "border-destructive" : "border-border focus:border-primary"}`,
681
+ className: `w-full px-3 py-2 border-2 rounded-lg bg-bg-surface text-sm font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H[`container_${t}_image`] ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
682
682
  placeholder: "nginx:alpine"
683
683
  }),
684
684
  H[`container_${t}_image`] && /* @__PURE__ */ E("p", {
685
- className: "text-xs text-destructive mt-1",
685
+ className: "text-xs text-status-error-text mt-1",
686
686
  children: H[`container_${t}_image`]
687
687
  })
688
688
  ] }),
689
689
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("p", {
690
- className: "text-xs font-semibold mb-2 text-muted-foreground",
690
+ className: "text-xs font-semibold mb-2 text-text-secondary",
691
691
  children: a(L, "sandbox.create.container.resources.title", "Per-Container Resources (optional)")
692
692
  }), /* @__PURE__ */ D("div", {
693
693
  className: "grid grid-cols-2 sm:grid-cols-4 gap-3",
694
694
  children: [
695
695
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
696
- className: "block text-xs text-muted-foreground mb-1",
696
+ className: "block text-xs text-text-secondary mb-1",
697
697
  children: a(L, "sandbox.create.container.resources.cpuReq", "CPU Req")
698
698
  }), /* @__PURE__ */ E("input", {
699
699
  "aria-label": "CPU Req",
700
700
  type: "text",
701
701
  value: e.requestsCpu,
702
702
  onChange: (e) => Q(t, "requestsCpu", e.target.value),
703
- className: "w-full px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
703
+ className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
704
704
  placeholder: "250m"
705
705
  })] }),
706
706
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
707
- className: "block text-xs text-muted-foreground mb-1",
707
+ className: "block text-xs text-text-secondary mb-1",
708
708
  children: a(L, "sandbox.create.container.resources.cpuLim", "CPU Lim")
709
709
  }), /* @__PURE__ */ E("input", {
710
710
  "aria-label": "CPU Lim",
711
711
  type: "text",
712
712
  value: e.limitsCpu,
713
713
  onChange: (e) => Q(t, "limitsCpu", e.target.value),
714
- className: "w-full px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
714
+ className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
715
715
  placeholder: "1"
716
716
  })] }),
717
717
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
718
- className: "block text-xs text-muted-foreground mb-1",
718
+ className: "block text-xs text-text-secondary mb-1",
719
719
  children: a(L, "sandbox.create.container.resources.memReq", "Mem Req")
720
720
  }), /* @__PURE__ */ E("input", {
721
721
  "aria-label": "Mem Req",
722
722
  type: "text",
723
723
  value: e.requestsMemory,
724
724
  onChange: (e) => Q(t, "requestsMemory", e.target.value),
725
- className: "w-full px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
725
+ className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
726
726
  placeholder: "512Mi"
727
727
  })] }),
728
728
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
729
- className: "block text-xs text-muted-foreground mb-1",
729
+ className: "block text-xs text-text-secondary mb-1",
730
730
  children: a(L, "sandbox.create.container.resources.memLim", "Mem Lim")
731
731
  }), /* @__PURE__ */ E("input", {
732
732
  "aria-label": "Mem Lim",
733
733
  type: "text",
734
734
  value: e.limitsMemory,
735
735
  onChange: (e) => Q(t, "limitsMemory", e.target.value),
736
- className: "w-full px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
736
+ className: "w-full px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
737
737
  placeholder: "2Gi"
738
738
  })] })
739
739
  ]
@@ -741,7 +741,7 @@ function I() {
741
741
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("div", {
742
742
  className: "flex items-center justify-between mb-2",
743
743
  children: [/* @__PURE__ */ E("p", {
744
- className: "text-xs font-semibold text-muted-foreground",
744
+ className: "text-xs font-semibold text-text-secondary",
745
745
  children: a(L, "sandbox.create.container.ports.title", "Ports")
746
746
  }), /* @__PURE__ */ E("button", {
747
747
  type: "button",
@@ -763,7 +763,7 @@ function I() {
763
763
  containerPort: Number(n.target.value)
764
764
  }, Q(t, "ports", i);
765
765
  },
766
- className: "w-24 px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
766
+ className: "w-24 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
767
767
  placeholder: "8080"
768
768
  }),
769
769
  /* @__PURE__ */ E("input", {
@@ -777,13 +777,13 @@ function I() {
777
777
  name: n.target.value
778
778
  }, Q(t, "ports", i);
779
779
  },
780
- className: "flex-1 px-3 py-1.5 border rounded-lg bg-background text-xs focus:outline-none focus:ring-2 focus:ring-primary/20",
780
+ className: "flex-1 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs focus:outline-none focus:ring-2 focus:ring-primary/20",
781
781
  placeholder: a(L, "sandbox.create.container.ports.namePlaceholder", "Port name (optional)")
782
782
  }),
783
783
  /* @__PURE__ */ E("button", {
784
784
  type: "button",
785
785
  onClick: () => me(t, r),
786
- className: "p-1.5 text-destructive hover:bg-destructive/10 rounded",
786
+ className: "p-1.5 text-status-error-text hover:bg-status-error-bg/10 rounded",
787
787
  children: /* @__PURE__ */ E(w, { size: 12 })
788
788
  })
789
789
  ]
@@ -791,7 +791,7 @@ function I() {
791
791
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ D("div", {
792
792
  className: "flex items-center justify-between mb-2",
793
793
  children: [/* @__PURE__ */ E("p", {
794
- className: "text-xs font-semibold text-muted-foreground",
794
+ className: "text-xs font-semibold text-text-secondary",
795
795
  children: a(L, "sandbox.create.container.envVars.title", "Environment Variables")
796
796
  }), /* @__PURE__ */ E("button", {
797
797
  type: "button",
@@ -813,7 +813,7 @@ function I() {
813
813
  name: n.target.value
814
814
  }, Q(t, "env", i);
815
815
  },
816
- className: "w-1/3 px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
816
+ className: "w-1/3 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
817
817
  placeholder: "KEY"
818
818
  }),
819
819
  /* @__PURE__ */ E("input", {
@@ -827,13 +827,13 @@ function I() {
827
827
  value: n.target.value
828
828
  }, Q(t, "env", i);
829
829
  },
830
- className: "flex-1 px-3 py-1.5 border rounded-lg bg-background text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
830
+ className: "flex-1 px-3 py-1.5 border rounded-lg bg-bg-surface text-xs font-mono focus:outline-none focus:ring-2 focus:ring-primary/20",
831
831
  placeholder: "value"
832
832
  }),
833
833
  /* @__PURE__ */ E("button", {
834
834
  type: "button",
835
835
  onClick: () => ge(t, r),
836
- className: "p-1.5 text-destructive hover:bg-destructive/10 rounded",
836
+ className: "p-1.5 text-status-error-text hover:bg-status-error-bg/10 rounded",
837
837
  children: /* @__PURE__ */ E(w, { size: 12 })
838
838
  })
839
839
  ]
@@ -878,11 +878,11 @@ function I() {
878
878
  id: "cpuRequest",
879
879
  value: B.cpuRequest,
880
880
  onChange: (e) => Z("cpuRequest", e.target.value),
881
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.cpuRequest ? "border-destructive" : "border-border focus:border-primary"}`,
881
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.cpuRequest ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
882
882
  placeholder: "500m"
883
883
  }),
884
884
  H.cpuRequest && /* @__PURE__ */ E("p", {
885
- className: "text-sm text-destructive mt-1",
885
+ className: "text-sm text-status-error-text mt-1",
886
886
  children: H.cpuRequest
887
887
  })
888
888
  ] }),
@@ -901,11 +901,11 @@ function I() {
901
901
  id: "cpuLimit",
902
902
  value: B.cpuLimit,
903
903
  onChange: (e) => Z("cpuLimit", e.target.value),
904
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.cpuLimit ? "border-destructive" : "border-border focus:border-primary"}`,
904
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.cpuLimit ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
905
905
  placeholder: "2"
906
906
  }),
907
907
  H.cpuLimit && /* @__PURE__ */ E("p", {
908
- className: "text-sm text-destructive mt-1",
908
+ className: "text-sm text-status-error-text mt-1",
909
909
  children: H.cpuLimit
910
910
  })
911
911
  ] }),
@@ -924,11 +924,11 @@ function I() {
924
924
  id: "memoryRequest",
925
925
  value: B.memoryRequest,
926
926
  onChange: (e) => Z("memoryRequest", e.target.value),
927
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.memoryRequest ? "border-destructive" : "border-border focus:border-primary"}`,
927
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.memoryRequest ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
928
928
  placeholder: "1Gi"
929
929
  }),
930
930
  H.memoryRequest && /* @__PURE__ */ E("p", {
931
- className: "text-sm text-destructive mt-1",
931
+ className: "text-sm text-status-error-text mt-1",
932
932
  children: H.memoryRequest
933
933
  })
934
934
  ] }),
@@ -947,11 +947,11 @@ function I() {
947
947
  id: "memoryLimit",
948
948
  value: B.memoryLimit,
949
949
  onChange: (e) => Z("memoryLimit", e.target.value),
950
- className: `w-full px-4 py-2.5 border-2 rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.memoryLimit ? "border-destructive" : "border-border focus:border-primary"}`,
950
+ className: `w-full px-4 py-2.5 border-2 rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 transition-all ${H.memoryLimit ? "border-status-error-border" : "border-border-subtle focus:border-primary"}`,
951
951
  placeholder: "4Gi"
952
952
  }),
953
953
  H.memoryLimit && /* @__PURE__ */ E("p", {
954
- className: "text-sm text-destructive mt-1",
954
+ className: "text-sm text-status-error-text mt-1",
955
955
  children: H.memoryLimit
956
956
  })
957
957
  ] })
@@ -988,7 +988,7 @@ function I() {
988
988
  className: "w-full mt-2 accent-primary"
989
989
  }),
990
990
  /* @__PURE__ */ D("div", {
991
- className: "flex justify-between text-xs text-muted-foreground mt-1",
991
+ className: "flex justify-between text-xs text-text-secondary mt-1",
992
992
  children: [
993
993
  /* @__PURE__ */ E("span", { children: "10m" }),
994
994
  /* @__PURE__ */ E("span", { children: "4h" }),
@@ -997,7 +997,7 @@ function I() {
997
997
  ]
998
998
  }),
999
999
  H.ttlSeconds && /* @__PURE__ */ E("p", {
1000
- className: "text-sm text-destructive mt-1",
1000
+ className: "text-sm text-status-error-text mt-1",
1001
1001
  children: H.ttlSeconds
1002
1002
  })
1003
1003
  ] }),
@@ -1046,12 +1046,12 @@ function I() {
1046
1046
  return /* @__PURE__ */ D("button", {
1047
1047
  type: "button",
1048
1048
  onClick: () => Z("storageMode", e),
1049
- className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${t ? "border-primary bg-primary/5 shadow-sm" : "border-border hover:border-primary/50 hover:bg-muted/50"}`,
1049
+ className: `p-3 rounded-lg border-2 text-left transition-all duration-200 ${t ? "border-primary bg-action-primary-bg/5 shadow-sm" : "border-border-subtle hover:border-primary/50 hover:bg-bg-sunken/50"}`,
1050
1050
  children: [/* @__PURE__ */ E("p", {
1051
1051
  className: "font-medium text-sm",
1052
1052
  children: n[e]
1053
1053
  }), /* @__PURE__ */ E("p", {
1054
- className: "text-xs text-muted-foreground mt-0.5",
1054
+ className: "text-xs text-text-secondary mt-0.5",
1055
1055
  children: r[e]
1056
1056
  })]
1057
1057
  }, e);
@@ -1072,7 +1072,7 @@ function I() {
1072
1072
  onChange: (e) => Z("storageSizeGi", Number(e.target.value)),
1073
1073
  min: 1,
1074
1074
  max: 200,
1075
- className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all"
1075
+ className: "w-full px-4 py-2.5 border-2 border-border-subtle rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all"
1076
1076
  })] }),
1077
1077
  /* @__PURE__ */ D("div", { children: [/* @__PURE__ */ E("label", {
1078
1078
  htmlFor: "storageMountPath",
@@ -1084,7 +1084,7 @@ function I() {
1084
1084
  id: "storageMountPath",
1085
1085
  value: B.storageMountPath,
1086
1086
  onChange: (e) => Z("storageMountPath", e.target.value),
1087
- className: "w-full px-4 py-2.5 border-2 border-border rounded-lg bg-background font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
1087
+ className: "w-full px-4 py-2.5 border-2 border-border-subtle rounded-lg bg-bg-surface font-mono focus:outline-none focus:ring-2 focus:ring-primary/20 focus:border-primary transition-all",
1088
1088
  placeholder: "/data"
1089
1089
  })] }),
1090
1090
  B.storageMode === "PERSISTENT" && /* @__PURE__ */ D("div", {
@@ -1095,7 +1095,7 @@ function I() {
1095
1095
  id: "storageRetainOnDelete",
1096
1096
  checked: B.storageRetainOnDelete,
1097
1097
  onChange: (e) => Z("storageRetainOnDelete", e.target.checked),
1098
- className: "size-4 rounded border-border text-primary focus:ring-primary/20"
1098
+ className: "size-4 rounded border-border-subtle text-primary focus:ring-primary/20"
1099
1099
  }), /* @__PURE__ */ E("label", {
1100
1100
  htmlFor: "storageRetainOnDelete",
1101
1101
  className: "text-sm font-medium",
@@ -1116,7 +1116,7 @@ function I() {
1116
1116
  B.template === "MISC_SHELL" && /* @__PURE__ */ E(r, { children: /* @__PURE__ */ E(i, {
1117
1117
  className: "p-5",
1118
1118
  children: /* @__PURE__ */ D("details", { children: [/* @__PURE__ */ D("summary", {
1119
- className: "cursor-pointer text-sm font-semibold text-muted-foreground flex items-center gap-2",
1119
+ className: "cursor-pointer text-sm font-semibold text-text-secondary flex items-center gap-2",
1120
1120
  children: [
1121
1121
  /* @__PURE__ */ E(x, { size: 14 }),
1122
1122
  a(L, "sandbox.create.sections.advancedSettings.title", "Advanced Settings"),
@@ -1126,7 +1126,7 @@ function I() {
1126
1126
  className: "mt-4 space-y-4",
1127
1127
  children: [/* @__PURE__ */ D("div", { children: [
1128
1128
  /* @__PURE__ */ E("label", {
1129
- className: "block text-sm font-medium text-foreground mb-1",
1129
+ className: "block text-sm font-medium text-text-primary mb-1",
1130
1130
  children: a(L, "sandbox.create.fields.globalGatewayUrl.label", "Global Gateway URL")
1131
1131
  }),
1132
1132
  /* @__PURE__ */ E("input", {
@@ -1135,15 +1135,15 @@ function I() {
1135
1135
  value: B.globalGatewayUrl,
1136
1136
  onChange: (e) => Z("globalGatewayUrl", e.target.value),
1137
1137
  placeholder: P,
1138
- className: "w-full rounded-lg border border-border px-3 py-2 text-sm font-mono bg-background focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"
1138
+ className: "w-full rounded-lg border border-border-subtle px-3 py-2 text-sm font-mono bg-bg-surface focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"
1139
1139
  }),
1140
1140
  /* @__PURE__ */ E("p", {
1141
- className: "text-xs text-muted-foreground mt-1",
1141
+ className: "text-xs text-text-secondary mt-1",
1142
1142
  children: a(L, "sandbox.create.fields.globalGatewayUrl.hint", "The agent authenticates via this URL. Override with a tunnel URL to reach local gateways.")
1143
1143
  })
1144
1144
  ] }), /* @__PURE__ */ D("div", { children: [
1145
1145
  /* @__PURE__ */ E("label", {
1146
- className: "block text-sm font-medium text-foreground mb-1",
1146
+ className: "block text-sm font-medium text-text-primary mb-1",
1147
1147
  children: a(L, "sandbox.create.fields.workspaceGatewayUrl.label", "Workspace Gateway URL")
1148
1148
  }),
1149
1149
  /* @__PURE__ */ E("input", {
@@ -1152,10 +1152,10 @@ function I() {
1152
1152
  value: B.workspaceGatewayUrl,
1153
1153
  onChange: (e) => Z("workspaceGatewayUrl", e.target.value),
1154
1154
  placeholder: F,
1155
- className: "w-full rounded-lg border border-border px-3 py-2 text-sm font-mono bg-background focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"
1155
+ className: "w-full rounded-lg border border-border-subtle px-3 py-2 text-sm font-mono bg-bg-surface focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary"
1156
1156
  }),
1157
1157
  /* @__PURE__ */ E("p", {
1158
- className: "text-xs text-muted-foreground mt-1",
1158
+ className: "text-xs text-text-secondary mt-1",
1159
1159
  children: a(L, "sandbox.create.fields.workspaceGatewayUrl.hint", "The agent reports to this URL. Override with a tunnel URL to reach local gateways.")
1160
1160
  })
1161
1161
  ] })]