@burdenoff/microfe-sandbox 2026.510.113

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 (173) hide show
  1. package/dist/dev/main.d.ts +2 -0
  2. package/dist/dev/main.d.ts.map +1 -0
  3. package/dist/generated/global-operations.d.ts +2 -0
  4. package/dist/generated/global-operations.d.ts.map +1 -0
  5. package/dist/generated/global-types.d.ts +21253 -0
  6. package/dist/generated/global-types.d.ts.map +1 -0
  7. package/dist/generated/wspace-operations.d.ts +1595 -0
  8. package/dist/generated/wspace-operations.d.ts.map +1 -0
  9. package/dist/generated/wspace-operations.js +692 -0
  10. package/dist/generated/wspace-operations.js.map +1 -0
  11. package/dist/generated/wspace-types.d.ts +55214 -0
  12. package/dist/generated/wspace-types.d.ts.map +1 -0
  13. package/dist/index.d.ts +6 -0
  14. package/dist/index.d.ts.map +1 -0
  15. package/dist/index.js +6 -0
  16. package/dist/node_modules/clsx/dist/clsx.js +18 -0
  17. package/dist/node_modules/clsx/dist/clsx.js.map +1 -0
  18. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +1674 -0
  19. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -0
  20. package/dist/sandbox/AdminRoutes.d.ts +12 -0
  21. package/dist/sandbox/AdminRoutes.d.ts.map +1 -0
  22. package/dist/sandbox/AdminRoutes.js +45 -0
  23. package/dist/sandbox/AdminRoutes.js.map +1 -0
  24. package/dist/sandbox/SandboxAdminRoot.d.ts +21 -0
  25. package/dist/sandbox/SandboxAdminRoot.d.ts.map +1 -0
  26. package/dist/sandbox/SandboxAdminRoot.js +55 -0
  27. package/dist/sandbox/SandboxAdminRoot.js.map +1 -0
  28. package/dist/sandbox/SandboxRoot.d.ts +31 -0
  29. package/dist/sandbox/SandboxRoot.d.ts.map +1 -0
  30. package/dist/sandbox/SandboxRoot.js +61 -0
  31. package/dist/sandbox/SandboxRoot.js.map +1 -0
  32. package/dist/sandbox/SandboxRoutes.d.ts +18 -0
  33. package/dist/sandbox/SandboxRoutes.d.ts.map +1 -0
  34. package/dist/sandbox/UserRoutes.d.ts +11 -0
  35. package/dist/sandbox/UserRoutes.d.ts.map +1 -0
  36. package/dist/sandbox/UserRoutes.js +57 -0
  37. package/dist/sandbox/UserRoutes.js.map +1 -0
  38. package/dist/sandbox/components/ContainerImagePicker.d.ts +24 -0
  39. package/dist/sandbox/components/ContainerImagePicker.d.ts.map +1 -0
  40. package/dist/sandbox/components/CountdownTimer.d.ts +9 -0
  41. package/dist/sandbox/components/CountdownTimer.d.ts.map +1 -0
  42. package/dist/sandbox/components/CountdownTimer.js +75 -0
  43. package/dist/sandbox/components/CountdownTimer.js.map +1 -0
  44. package/dist/sandbox/components/ExportSandboxesDialog.d.ts +8 -0
  45. package/dist/sandbox/components/ExportSandboxesDialog.d.ts.map +1 -0
  46. package/dist/sandbox/components/ExportSandboxesDialog.js +130 -0
  47. package/dist/sandbox/components/ExportSandboxesDialog.js.map +1 -0
  48. package/dist/sandbox/components/ExtendTTLModal.d.ts +10 -0
  49. package/dist/sandbox/components/ExtendTTLModal.d.ts.map +1 -0
  50. package/dist/sandbox/components/ExtendTTLModal.js +109 -0
  51. package/dist/sandbox/components/ExtendTTLModal.js.map +1 -0
  52. package/dist/sandbox/components/PageLayout.d.ts +39 -0
  53. package/dist/sandbox/components/PageLayout.d.ts.map +1 -0
  54. package/dist/sandbox/components/PageLayout.js +75 -0
  55. package/dist/sandbox/components/PageLayout.js.map +1 -0
  56. package/dist/sandbox/components/ResourceDisplay.d.ts +17 -0
  57. package/dist/sandbox/components/ResourceDisplay.d.ts.map +1 -0
  58. package/dist/sandbox/components/ResourceDisplay.js +69 -0
  59. package/dist/sandbox/components/ResourceDisplay.js.map +1 -0
  60. package/dist/sandbox/components/RouteUtils.d.ts +28 -0
  61. package/dist/sandbox/components/RouteUtils.d.ts.map +1 -0
  62. package/dist/sandbox/components/RouteUtils.js +68 -0
  63. package/dist/sandbox/components/RouteUtils.js.map +1 -0
  64. package/dist/sandbox/components/SandboxActivityTab.d.ts +14 -0
  65. package/dist/sandbox/components/SandboxActivityTab.d.ts.map +1 -0
  66. package/dist/sandbox/components/SandboxActivityTab.js +83 -0
  67. package/dist/sandbox/components/SandboxActivityTab.js.map +1 -0
  68. package/dist/sandbox/components/SandboxAgentAppPanel.d.ts +16 -0
  69. package/dist/sandbox/components/SandboxAgentAppPanel.d.ts.map +1 -0
  70. package/dist/sandbox/components/SandboxAgentAppPanel.js +103 -0
  71. package/dist/sandbox/components/SandboxAgentAppPanel.js.map +1 -0
  72. package/dist/sandbox/components/SandboxTypeIcon.d.ts +15 -0
  73. package/dist/sandbox/components/SandboxTypeIcon.d.ts.map +1 -0
  74. package/dist/sandbox/components/SandboxTypeIcon.js +52 -0
  75. package/dist/sandbox/components/SandboxTypeIcon.js.map +1 -0
  76. package/dist/sandbox/components/SandboxTypeSelector.d.ts +35 -0
  77. package/dist/sandbox/components/SandboxTypeSelector.d.ts.map +1 -0
  78. package/dist/sandbox/components/SandboxUsageBanner.d.ts +16 -0
  79. package/dist/sandbox/components/SandboxUsageBanner.d.ts.map +1 -0
  80. package/dist/sandbox/components/SandboxUsageBanner.js +37 -0
  81. package/dist/sandbox/components/SandboxUsageBanner.js.map +1 -0
  82. package/dist/sandbox/components/StatusBadge.d.ts +15 -0
  83. package/dist/sandbox/components/StatusBadge.d.ts.map +1 -0
  84. package/dist/sandbox/components/StatusBadge.js +86 -0
  85. package/dist/sandbox/components/StatusBadge.js.map +1 -0
  86. package/dist/sandbox/components/TagsInput.d.ts +14 -0
  87. package/dist/sandbox/components/TagsInput.d.ts.map +1 -0
  88. package/dist/sandbox/components/TagsInput.js +46 -0
  89. package/dist/sandbox/components/TagsInput.js.map +1 -0
  90. package/dist/sandbox/components/ui.d.ts +6 -0
  91. package/dist/sandbox/components/ui.d.ts.map +1 -0
  92. package/dist/sandbox/components/ui.js +2 -0
  93. package/dist/sandbox/hooks/useRemainingSeconds.d.ts +12 -0
  94. package/dist/sandbox/hooks/useRemainingSeconds.d.ts.map +1 -0
  95. package/dist/sandbox/hooks/useRemainingSeconds.js +23 -0
  96. package/dist/sandbox/hooks/useRemainingSeconds.js.map +1 -0
  97. package/dist/sandbox/index.d.ts +30 -0
  98. package/dist/sandbox/index.d.ts.map +1 -0
  99. package/dist/sandbox/index.js +4 -0
  100. package/dist/sandbox/pages/AdminLandingPage.d.ts +9 -0
  101. package/dist/sandbox/pages/AdminLandingPage.d.ts.map +1 -0
  102. package/dist/sandbox/pages/AdminLandingPage.js +40 -0
  103. package/dist/sandbox/pages/AdminLandingPage.js.map +1 -0
  104. package/dist/sandbox/pages/AdminPage.d.ts +2 -0
  105. package/dist/sandbox/pages/AdminPage.d.ts.map +1 -0
  106. package/dist/sandbox/pages/AdminPage.js +448 -0
  107. package/dist/sandbox/pages/AdminPage.js.map +1 -0
  108. package/dist/sandbox/pages/AdminTemplatesPage.d.ts +7 -0
  109. package/dist/sandbox/pages/AdminTemplatesPage.d.ts.map +1 -0
  110. package/dist/sandbox/pages/AdminTemplatesPage.js +155 -0
  111. package/dist/sandbox/pages/AdminTemplatesPage.js.map +1 -0
  112. package/dist/sandbox/pages/SandboxCreatePage.d.ts +2 -0
  113. package/dist/sandbox/pages/SandboxCreatePage.d.ts.map +1 -0
  114. package/dist/sandbox/pages/SandboxCreatePage.js +1121 -0
  115. package/dist/sandbox/pages/SandboxCreatePage.js.map +1 -0
  116. package/dist/sandbox/pages/SandboxDetailPage.d.ts +6 -0
  117. package/dist/sandbox/pages/SandboxDetailPage.d.ts.map +1 -0
  118. package/dist/sandbox/pages/SandboxDetailPage.js +822 -0
  119. package/dist/sandbox/pages/SandboxDetailPage.js.map +1 -0
  120. package/dist/sandbox/pages/SandboxLandingPage.d.ts +12 -0
  121. package/dist/sandbox/pages/SandboxLandingPage.d.ts.map +1 -0
  122. package/dist/sandbox/pages/SandboxListPage.d.ts +6 -0
  123. package/dist/sandbox/pages/SandboxListPage.d.ts.map +1 -0
  124. package/dist/sandbox/pages/SandboxListPage.js +820 -0
  125. package/dist/sandbox/pages/SandboxListPage.js.map +1 -0
  126. package/dist/sandbox/pages/TemplateDetailPage.d.ts +6 -0
  127. package/dist/sandbox/pages/TemplateDetailPage.d.ts.map +1 -0
  128. package/dist/sandbox/pages/TemplateDetailPage.js +691 -0
  129. package/dist/sandbox/pages/TemplateDetailPage.js.map +1 -0
  130. package/dist/sandbox/pages/TemplatesPage.d.ts +8 -0
  131. package/dist/sandbox/pages/TemplatesPage.d.ts.map +1 -0
  132. package/dist/sandbox/pages/UserLandingPage.d.ts +9 -0
  133. package/dist/sandbox/pages/UserLandingPage.d.ts.map +1 -0
  134. package/dist/sandbox/pages/UserLandingPage.js +52 -0
  135. package/dist/sandbox/pages/UserLandingPage.js.map +1 -0
  136. package/dist/sandbox/pages/UserTemplatesPage.d.ts +8 -0
  137. package/dist/sandbox/pages/UserTemplatesPage.d.ts.map +1 -0
  138. package/dist/sandbox/pages/UserTemplatesPage.js +121 -0
  139. package/dist/sandbox/pages/UserTemplatesPage.js.map +1 -0
  140. package/dist/sandbox/providers/SandboxProvider.d.ts +13 -0
  141. package/dist/sandbox/providers/SandboxProvider.d.ts.map +1 -0
  142. package/dist/sandbox/providers/SandboxProvider.js +78 -0
  143. package/dist/sandbox/providers/SandboxProvider.js.map +1 -0
  144. package/dist/sandbox/store/sandboxStore.d.ts +16 -0
  145. package/dist/sandbox/store/sandboxStore.d.ts.map +1 -0
  146. package/dist/sandbox/store/sandboxStore.js +24 -0
  147. package/dist/sandbox/store/sandboxStore.js.map +1 -0
  148. package/dist/sandbox/types/index.d.ts +238 -0
  149. package/dist/sandbox/types/index.d.ts.map +1 -0
  150. package/dist/sandbox/utils/cn.d.ts +8 -0
  151. package/dist/sandbox/utils/cn.d.ts.map +1 -0
  152. package/dist/sandbox/utils/cn.js +10 -0
  153. package/dist/sandbox/utils/cn.js.map +1 -0
  154. package/dist/sandbox/utils/formatters.d.ts +7 -0
  155. package/dist/sandbox/utils/formatters.d.ts.map +1 -0
  156. package/dist/sandbox/utils/formatters.js +10 -0
  157. package/dist/sandbox/utils/formatters.js.map +1 -0
  158. package/dist/sandbox/utils/i18n.d.ts +6 -0
  159. package/dist/sandbox/utils/i18n.d.ts.map +1 -0
  160. package/dist/sandbox/utils/i18n.js +15 -0
  161. package/dist/sandbox/utils/i18n.js.map +1 -0
  162. package/dist/sandbox/utils/navigation.d.ts +5 -0
  163. package/dist/sandbox/utils/navigation.d.ts.map +1 -0
  164. package/dist/sandbox/utils/navigation.js +8 -0
  165. package/dist/sandbox/utils/navigation.js.map +1 -0
  166. package/dist/sandbox/utils/sandboxEvents.d.ts +13 -0
  167. package/dist/sandbox/utils/sandboxEvents.d.ts.map +1 -0
  168. package/dist/sandbox/utils/sandboxEvents.js +20 -0
  169. package/dist/sandbox/utils/sandboxEvents.js.map +1 -0
  170. package/dist/utils/nativeBridge.d.ts +3 -0
  171. package/dist/utils/nativeBridge.d.ts.map +1 -0
  172. package/dist/utils/nativeBridge.js +2 -0
  173. package/package.json +107 -0
@@ -0,0 +1,238 @@
1
+ /**
2
+ * Navigation item for shell integration
3
+ */
4
+ export interface NavItem {
5
+ id: string;
6
+ label: string;
7
+ path: string;
8
+ icon?: React.ReactNode;
9
+ badge?: number;
10
+ order?: number;
11
+ group?: string;
12
+ visible?: boolean;
13
+ /** Nested children items for dropdown menus */
14
+ children?: NavItem[];
15
+ }
16
+ /**
17
+ * Footer item for shell integration
18
+ */
19
+ export interface FooterItem {
20
+ id: string;
21
+ label: string;
22
+ type: 'status' | 'action';
23
+ order?: number;
24
+ section: 'left' | 'center' | 'right';
25
+ }
26
+ /**
27
+ * Base microfrontend root props
28
+ * TODO: Import from '@burdenoff/fe-libs/shared/types' when fe-libs is built
29
+ */
30
+ export interface MicrofrontendRootProps {
31
+ }
32
+ /**
33
+ * Props for the SandboxRoot component
34
+ */
35
+ export interface SandboxRootProps extends MicrofrontendRootProps {
36
+ /**
37
+ * Base path for the sandbox microfrontend
38
+ */
39
+ basePath?: string;
40
+ /**
41
+ * Workspace ID for scoping operations
42
+ */
43
+ workspaceId?: string;
44
+ /**
45
+ * API Gateway URL for GraphQL requests
46
+ */
47
+ apiGatewayUrl?: string;
48
+ /**
49
+ * Authentication token for API requests (platform identity JWT)
50
+ */
51
+ authToken?: string;
52
+ /**
53
+ * Workspace token for workspace-scoped API requests (workspace access JWT).
54
+ * The gateway requires both authToken (Authorization) and workspaceToken
55
+ * (X-Workspace-Authorization) for workspace operations.
56
+ */
57
+ workspaceToken?: string;
58
+ /**
59
+ * Navigation function provided by the shell
60
+ */
61
+ navigate?: (path: string) => void;
62
+ /**
63
+ * Current user information
64
+ */
65
+ currentUser?: {
66
+ id: string;
67
+ email: string;
68
+ firstName?: string;
69
+ lastName?: string;
70
+ };
71
+ /**
72
+ * Optional function to register navigation items with the shell
73
+ * Injected by the shell app
74
+ */
75
+ registerNavItems?: (items: NavItem | NavItem[]) => () => void;
76
+ /**
77
+ * Optional function to register footer items with the shell
78
+ * Injected by the shell app
79
+ */
80
+ registerFooterItems?: (items: FooterItem | FooterItem[]) => () => void;
81
+ }
82
+ /** Props for SandboxAdminRoot — identical shape to SandboxRootProps */
83
+ export type SandboxAdminRootProps = SandboxRootProps;
84
+ /**
85
+ * Sandbox execution mode
86
+ */
87
+ export type SandboxMode = 'DEPLOYMENT' | 'JOB';
88
+ export type SandboxKind = 'USER' | 'INTERNAL';
89
+ export type SandboxSource = 'MANUAL' | 'AI_ASSISTANT' | 'DOCS_BUILDER' | 'SYSTEM';
90
+ /**
91
+ * Sandbox template type - the purpose/category of the sandbox
92
+ */
93
+ export type SandboxTemplateType = 'AI_BUILDER' | 'WORKFLOW_MULTI_NODE' | 'MISC_SHELL' | 'CUSTOM' | 'VIBECONTROLS' | 'DOCS_BUILDER';
94
+ /**
95
+ * Sandbox lifecycle status
96
+ */
97
+ export type SandboxStatus = 'PENDING' | 'PROVISIONING' | 'RUNNING' | 'STOPPING' | 'STOPPED' | 'ERROR' | 'EXPIRED' | 'FAILED';
98
+ /**
99
+ * Container port configuration
100
+ */
101
+ export interface ContainerPort {
102
+ containerPort: number;
103
+ name?: string;
104
+ protocol?: string;
105
+ }
106
+ /**
107
+ * Environment variable for a container
108
+ */
109
+ export interface EnvVar {
110
+ name: string;
111
+ value: string;
112
+ }
113
+ /**
114
+ * Per-container resource limits
115
+ */
116
+ export interface ContainerResources {
117
+ requestsCpu?: string;
118
+ requestsMemory?: string;
119
+ limitsCpu?: string;
120
+ limitsMemory?: string;
121
+ }
122
+ /**
123
+ * Container specification for a sandbox pod
124
+ */
125
+ export interface ContainerSpec {
126
+ name: string;
127
+ image: string;
128
+ ports?: ContainerPort[];
129
+ env?: EnvVar[];
130
+ command?: string[];
131
+ args?: string[];
132
+ resources?: ContainerResources;
133
+ }
134
+ /**
135
+ * Runtime status of a container within a sandbox pod
136
+ */
137
+ export interface ContainerStatus {
138
+ name: string;
139
+ ready: boolean;
140
+ port?: number;
141
+ restartCount?: number;
142
+ }
143
+ /**
144
+ * Sandbox-level resource requests and limits (Kubernetes style)
145
+ */
146
+ export interface SandboxResources {
147
+ cpuRequest: string;
148
+ cpuLimit: string;
149
+ memoryRequest: string;
150
+ memoryLimit: string;
151
+ }
152
+ /**
153
+ * Storage configuration for a sandbox
154
+ */
155
+ export interface SandboxStorage {
156
+ mode: 'NONE' | 'EPHEMERAL' | 'PERSISTENT';
157
+ sizeGi?: number;
158
+ mountPath?: string;
159
+ retainOnDelete: boolean;
160
+ }
161
+ /**
162
+ * Network configuration for a sandbox
163
+ */
164
+ export interface SandboxNetwork {
165
+ exposeService: boolean;
166
+ internalUrl?: string;
167
+ /** Per-container URLs: { "node-a": "http://host:3001", "node-b": "http://host:3002" } */
168
+ containerUrls?: Record<string, string>;
169
+ serviceName?: string;
170
+ }
171
+ /**
172
+ * Sandbox entity (Kubernetes-native)
173
+ */
174
+ export interface Sandbox {
175
+ id: string;
176
+ name: string;
177
+ description?: string;
178
+ kind: SandboxKind;
179
+ source: SandboxSource;
180
+ agentEnabled: boolean;
181
+ template: SandboxTemplateType;
182
+ mode: SandboxMode;
183
+ status: SandboxStatus;
184
+ crdName?: string;
185
+ podName?: string;
186
+ namespace: string;
187
+ runtimeClass: string;
188
+ containers: ContainerSpec[];
189
+ containerStatuses?: ContainerStatus[];
190
+ resources: SandboxResources;
191
+ storage: SandboxStorage;
192
+ network: SandboxNetwork;
193
+ ttlSeconds: number;
194
+ expiresAt?: string;
195
+ metadata?: Record<string, unknown>;
196
+ errorMessage?: string;
197
+ workspaceId: string;
198
+ createdBy: string;
199
+ createdAt: string;
200
+ updatedAt: string;
201
+ stoppedAt?: string;
202
+ }
203
+ /**
204
+ * Sandbox template for quick provisioning (Kubernetes-native)
205
+ */
206
+ export interface SandboxTemplate {
207
+ id: string;
208
+ name: string;
209
+ description?: string;
210
+ template: SandboxTemplateType;
211
+ isDefault: boolean;
212
+ containers: ContainerSpec[];
213
+ resources: SandboxResources;
214
+ storage: SandboxStorage;
215
+ allowedImages?: string[];
216
+ ttlSeconds: number;
217
+ config?: Record<string, unknown>;
218
+ metadata?: Record<string, unknown>;
219
+ workspaceId: string;
220
+ createdBy: string;
221
+ createdAt: string;
222
+ updatedAt: string;
223
+ }
224
+ /**
225
+ * Sandbox filter options
226
+ */
227
+ export interface SandboxFilter {
228
+ search: string;
229
+ kind?: SandboxKind | 'all';
230
+ source?: SandboxSource | 'all';
231
+ template?: SandboxTemplateType | 'all';
232
+ status?: SandboxStatus | 'all';
233
+ }
234
+ /**
235
+ * View mode for the sandbox UI
236
+ */
237
+ export type SandboxView = 'list' | 'templates' | 'admin';
238
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sandbox/types/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM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;AACH,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC;IAC3B,MAAM,CAAC,EAAE,aAAa,GAAG,KAAK,CAAC;IAC/B,QAAQ,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC;IACvC,MAAM,CAAC,EAAE,aAAa,GAAG,KAAK,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,WAAW,GAAG,OAAO,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ /**
4
+ * Utility function to merge Tailwind CSS classes
5
+ * Combines clsx for conditional classes and tailwind-merge for deduplication
6
+ */
7
+ export declare function cn(...inputs: ClassValue[]): string;
8
+ //# sourceMappingURL=cn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/sandbox/utils/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C;;;GAGG;AACH,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,10 @@
1
+ import e from "../../node_modules/clsx/dist/clsx.js";
2
+ import { twMerge as t } from "../../node_modules/tailwind-merge/dist/bundle-mjs.js";
3
+ //#region src/sandbox/utils/cn.ts
4
+ function n(...n) {
5
+ return t(e(n));
6
+ }
7
+ //#endregion
8
+ export { n as cn };
9
+
10
+ //# sourceMappingURL=cn.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cn.js","names":[],"sources":["../../../src/sandbox/utils/cn.ts"],"sourcesContent":["import { type ClassValue, clsx } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\n/**\n * Utility function to merge Tailwind CSS classes\n * Combines clsx for conditional classes and tailwind-merge for deduplication\n */\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"mappings":";;;AAOA,SAAgB,EAAG,GAAG,GAAsB;AAC1C,QAAO,EAAQ,EAAK,EAAO,CAAC"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Format seconds into a human-readable TTL string.
3
+ * @example formatTTL(3600) → "1h"
4
+ * @example formatTTL(5400) → "1h 30m"
5
+ */
6
+ export declare function formatTTL(seconds: number | undefined | null): string;
7
+ //# sourceMappingURL=formatters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.d.ts","sourceRoot":"","sources":["../../../src/sandbox/utils/formatters.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,MAAM,CAOpE"}
@@ -0,0 +1,10 @@
1
+ //#region src/sandbox/utils/formatters.ts
2
+ function e(e) {
3
+ if (e == null || Number.isNaN(e)) return "—";
4
+ let t = Math.floor(e / 3600), n = Math.floor(e % 3600 / 60);
5
+ return t > 0 && n > 0 ? `${t}h ${n}m` : t > 0 ? `${t}h` : `${n}m`;
6
+ }
7
+ //#endregion
8
+ export { e as formatTTL };
9
+
10
+ //# sourceMappingURL=formatters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatters.js","names":[],"sources":["../../../src/sandbox/utils/formatters.ts"],"sourcesContent":["/**\n * Format seconds into a human-readable TTL string.\n * @example formatTTL(3600) → \"1h\"\n * @example formatTTL(5400) → \"1h 30m\"\n */\nexport function formatTTL(seconds: number | undefined | null): string {\n if (seconds == null || Number.isNaN(seconds)) return '—';\n const hours = Math.floor(seconds / 3600);\n const minutes = Math.floor((seconds % 3600) / 60);\n if (hours > 0 && minutes > 0) return `${hours}h ${minutes}m`;\n if (hours > 0) return `${hours}h`;\n return `${minutes}m`;\n}\n"],"mappings":";AAKA,SAAgB,EAAU,GAA4C;AACpE,KAAI,KAAW,QAAQ,OAAO,MAAM,EAAQ,CAAE,QAAO;CACrD,IAAM,IAAQ,KAAK,MAAM,IAAU,KAAK,EAClC,IAAU,KAAK,MAAO,IAAU,OAAQ,GAAG;AAGjD,QAFI,IAAQ,KAAK,IAAU,IAAU,GAAG,EAAM,IAAI,EAAQ,KACtD,IAAQ,IAAU,GAAG,EAAM,KACxB,GAAG,EAAQ"}
@@ -0,0 +1,6 @@
1
+ import { I18nContextValue } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';
2
+
3
+ type TranslationParams = Record<string, string | number>;
4
+ export declare function tWithFallback(t: I18nContextValue['t'], key: string, fallback: string, params?: TranslationParams): string;
5
+ export {};
6
+ //# sourceMappingURL=i18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../../src/sandbox/utils/i18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wDAAwD,CAAC;AAE/F,KAAK,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;AAazD,wBAAgB,aAAa,CAC3B,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC,EACxB,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,iBAAiB,GACzB,MAAM,CAGR"}
@@ -0,0 +1,15 @@
1
+ //#region src/sandbox/utils/i18n.ts
2
+ function e(e, t) {
3
+ return t ? e.replace(/\{(\w+)\}/g, (e, n) => {
4
+ let r = t[n];
5
+ return r == null ? e : String(r);
6
+ }) : e;
7
+ }
8
+ function t(t, n, r, i) {
9
+ let a = t(n, i);
10
+ return a === n ? e(r, i) : a;
11
+ }
12
+ //#endregion
13
+ export { t as tWithFallback };
14
+
15
+ //# sourceMappingURL=i18n.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"i18n.js","names":[],"sources":["../../../src/sandbox/utils/i18n.ts"],"sourcesContent":["import type { I18nContextValue } from '@burdenoff/fe-libs/shared/providers/shell/I18nProvider';\n\ntype TranslationParams = Record<string, string | number>;\n\nfunction interpolateFallback(fallback: string, params?: TranslationParams): string {\n if (!params) {\n return fallback;\n }\n\n return fallback.replace(/\\{(\\w+)\\}/g, (match, key: string) => {\n const value = params[key];\n return value == null ? match : String(value);\n });\n}\n\nexport function tWithFallback(\n t: I18nContextValue['t'],\n key: string,\n fallback: string,\n params?: TranslationParams\n): string {\n const translated = t(key, params);\n return translated === key ? interpolateFallback(fallback, params) : translated;\n}\n"],"mappings":";AAIA,SAAS,EAAoB,GAAkB,GAAoC;AAKjF,QAJK,IAIE,EAAS,QAAQ,eAAe,GAAO,MAAgB;EAC5D,IAAM,IAAQ,EAAO;AACrB,SAAO,KAAS,OAAO,IAAQ,OAAO,EAAM;GAC5C,GANO;;AASX,SAAgB,EACd,GACA,GACA,GACA,GACQ;CACR,IAAM,IAAa,EAAE,GAAK,EAAO;AACjC,QAAO,MAAe,IAAM,EAAoB,GAAU,EAAO,GAAG"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Join base path with a relative path, avoiding double slashes
3
+ */
4
+ export declare function joinPath(base: string, path: string): string;
5
+ //# sourceMappingURL=navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/sandbox/utils/navigation.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAI3D"}
@@ -0,0 +1,8 @@
1
+ //#region src/sandbox/utils/navigation.ts
2
+ function e(e, t) {
3
+ return (e.endsWith("/") ? e.slice(0, -1) : e) + (t.startsWith("/") ? t : `/${t}`);
4
+ }
5
+ //#endregion
6
+ export { e as joinPath };
7
+
8
+ //# sourceMappingURL=navigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation.js","names":[],"sources":["../../../src/sandbox/utils/navigation.ts"],"sourcesContent":["/**\n * Join base path with a relative path, avoiding double slashes\n */\nexport function joinPath(base: string, path: string): string {\n const cleanBase = base.endsWith('/') ? base.slice(0, -1) : base;\n const cleanPath = path.startsWith('/') ? path : `/${path}`;\n return cleanBase + cleanPath;\n}\n"],"mappings":";AAGA,SAAgB,EAAS,GAAc,GAAsB;AAG3D,SAFkB,EAAK,SAAS,IAAI,GAAG,EAAK,MAAM,GAAG,GAAG,GAAG,MACzC,EAAK,WAAW,IAAI,GAAG,IAAO,IAAI"}
@@ -0,0 +1,13 @@
1
+ import { SandboxCreatedPayload, SandboxStartedPayload, SandboxExtendedPayload, SandboxExpiredPayload, SandboxDeletedPayload, SandboxTemplateCreatedPayload, SandboxTemplateDeletedPayload, SandboxExportRequestedPayload } from '@burdenoff/fe-libs/shared/events';
2
+
3
+ export declare function useSandboxEvents(): {
4
+ sandboxCreated: (p: SandboxCreatedPayload) => void;
5
+ sandboxStarted: (p: SandboxStartedPayload) => void;
6
+ sandboxExtended: (p: SandboxExtendedPayload) => void;
7
+ sandboxExpired: (p: SandboxExpiredPayload) => void;
8
+ sandboxDeleted: (p: SandboxDeletedPayload) => void;
9
+ sandboxTemplateCreated: (p: SandboxTemplateCreatedPayload) => void;
10
+ sandboxTemplateDeleted: (p: SandboxTemplateDeletedPayload) => void;
11
+ sandboxExportRequested: (p: SandboxExportRequestedPayload) => void;
12
+ };
13
+ //# sourceMappingURL=sandboxEvents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandboxEvents.d.ts","sourceRoot":"","sources":["../../../src/sandbox/utils/sandboxEvents.ts"],"names":[],"mappings":"AAOA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EAClC,KAAK,6BAA6B,EACnC,MAAM,kCAAkC,CAAC;AAE1C,wBAAgB,gBAAgB;wBAIN,qBAAqB;wBACrB,qBAAqB;yBACpB,sBAAsB;wBACvB,qBAAqB;wBACrB,qBAAqB;gCACb,6BAA6B;gCAE7B,6BAA6B;gCAE7B,6BAA6B;EAK9D"}
@@ -0,0 +1,20 @@
1
+ import { useMemo as e } from "react";
2
+ import { useEventBus as t } from "@burdenoff/fe-libs/shared/events";
3
+ //#region src/sandbox/utils/sandboxEvents.ts
4
+ function n() {
5
+ let n = t();
6
+ return e(() => ({
7
+ sandboxCreated: (e) => n.emit("vc.sandbox.created", e),
8
+ sandboxStarted: (e) => n.emit("vc.sandbox.started", e),
9
+ sandboxExtended: (e) => n.emit("vc.sandbox.extended", e),
10
+ sandboxExpired: (e) => n.emit("vc.sandbox.expired", e),
11
+ sandboxDeleted: (e) => n.emit("vc.sandbox.deleted", e),
12
+ sandboxTemplateCreated: (e) => n.emit("vc.sandbox.template_created", e),
13
+ sandboxTemplateDeleted: (e) => n.emit("vc.sandbox.template_deleted", e),
14
+ sandboxExportRequested: (e) => n.emit("vc.sandbox.export_requested", e)
15
+ }), [n]);
16
+ }
17
+ //#endregion
18
+ export { n as useSandboxEvents };
19
+
20
+ //# sourceMappingURL=sandboxEvents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sandboxEvents.js","names":[],"sources":["../../../src/sandbox/utils/sandboxEvents.ts"],"sourcesContent":["/**\n * Sandbox-namespaced wrapper over the platform `useEventBus()`.\n *\n * Event names + payloads are registered in `fe-libs/src/shared/events/index.tsx`\n * and documented in `workspaces-specs/modules/sandbox/specs/16-event-bus.md`.\n */\nimport { useMemo } from 'react';\nimport {\n useEventBus,\n type SandboxCreatedPayload,\n type SandboxStartedPayload,\n type SandboxExtendedPayload,\n type SandboxExpiredPayload,\n type SandboxDeletedPayload,\n type SandboxTemplateCreatedPayload,\n type SandboxTemplateDeletedPayload,\n type SandboxExportRequestedPayload,\n} from '@burdenoff/fe-libs/shared/events';\n\nexport function useSandboxEvents() {\n const bus = useEventBus();\n return useMemo(\n () => ({\n sandboxCreated: (p: SandboxCreatedPayload) => bus.emit('vc.sandbox.created', p),\n sandboxStarted: (p: SandboxStartedPayload) => bus.emit('vc.sandbox.started', p),\n sandboxExtended: (p: SandboxExtendedPayload) => bus.emit('vc.sandbox.extended', p),\n sandboxExpired: (p: SandboxExpiredPayload) => bus.emit('vc.sandbox.expired', p),\n sandboxDeleted: (p: SandboxDeletedPayload) => bus.emit('vc.sandbox.deleted', p),\n sandboxTemplateCreated: (p: SandboxTemplateCreatedPayload) =>\n bus.emit('vc.sandbox.template_created', p),\n sandboxTemplateDeleted: (p: SandboxTemplateDeletedPayload) =>\n bus.emit('vc.sandbox.template_deleted', p),\n sandboxExportRequested: (p: SandboxExportRequestedPayload) =>\n bus.emit('vc.sandbox.export_requested', p),\n }),\n [bus]\n );\n}\n"],"mappings":";;;AAmBA,SAAgB,IAAmB;CACjC,IAAM,IAAM,GAAa;AACzB,QAAO,SACE;EACL,iBAAiB,MAA6B,EAAI,KAAK,sBAAsB,EAAE;EAC/E,iBAAiB,MAA6B,EAAI,KAAK,sBAAsB,EAAE;EAC/E,kBAAkB,MAA8B,EAAI,KAAK,uBAAuB,EAAE;EAClF,iBAAiB,MAA6B,EAAI,KAAK,sBAAsB,EAAE;EAC/E,iBAAiB,MAA6B,EAAI,KAAK,sBAAsB,EAAE;EAC/E,yBAAyB,MACvB,EAAI,KAAK,+BAA+B,EAAE;EAC5C,yBAAyB,MACvB,EAAI,KAAK,+BAA+B,EAAE;EAC5C,yBAAyB,MACvB,EAAI,KAAK,+BAA+B,EAAE;EAC7C,GACD,CAAC,EAAI,CACN"}
@@ -0,0 +1,3 @@
1
+ export { getPlatform, isNative, isIOS, isAndroid, isWeb, nativeImpact, nativeNotify, nativeToast, nativeConfirm, nativeCopyText, nativeShare, nativeOpenUrl, useNativePlatform, useSafeArea, useNativeKeyboard, useAppState, useDeviceInfo, useHaptics, useStatusBar, } from '@burdenoff/fe-libs/shared/native';
2
+ export type { BurdenoffNativePlatform, BurdenoffNativeBridge, SafeAreaInsets, DeviceInfo, HapticImpactStyle, HapticNotificationType, ToastDuration, ConfirmOptions, ShareOptions, AppState, StatusBarTheme, } from '@burdenoff/fe-libs/shared/native';
3
+ //# sourceMappingURL=nativeBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nativeBridge.d.ts","sourceRoot":"","sources":["../../src/utils/nativeBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,QAAQ,EACR,KAAK,EACL,SAAS,EACT,KAAK,EACL,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,cAAc,EACd,WAAW,EACX,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,UAAU,EACV,YAAY,GACb,MAAM,kCAAkC,CAAC;AAE1C,YAAY,EACV,uBAAuB,EACvB,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,cAAc,GACf,MAAM,kCAAkC,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { isNative as e, nativeCopyText as t, nativeImpact as n, nativeNotify as r, nativeToast as i } from "@burdenoff/fe-libs/shared/native";
2
+ export { e as isNative, t as nativeCopyText, n as nativeImpact, r as nativeNotify, i as nativeToast };
package/package.json ADDED
@@ -0,0 +1,107 @@
1
+ {
2
+ "name": "@burdenoff/microfe-sandbox",
3
+ "version": "2026.510.113",
4
+ "description": "Burdenoff Sandbox Microfrontend - Manage ephemeral sandbox environments",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "package.json",
9
+ "README.md"
10
+ ],
11
+ "imports": {
12
+ "#src/*": "./src/*",
13
+ "#sandbox/*": "./src/sandbox/*"
14
+ },
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ }
20
+ },
21
+ "main": "./dist/index.js",
22
+ "types": "./dist/index.d.ts",
23
+ "scripts": {
24
+ "dev": "vite",
25
+ "build": "tsc && vite build",
26
+ "lint": "eslint .",
27
+ "lint:sanity": "if [ \"${CI:-}\" = \"true\" ]; then bun run lint; else bun run lint -- --cache --cache-location .eslintcache; fi",
28
+ "format": "prettier --write \"src/**/*.{ts,tsx}\"",
29
+ "type:check": "tsc --noEmit",
30
+ "test": "bun test",
31
+ "sanity": "bun run codegen && bun run lint:sanity && bun run format && bun run type:check && bun run test && bun run build",
32
+ "schema:pull": "graphql-codegen --project schema-wspace && graphql-codegen --project schema-global",
33
+ "codegen": "graphql-codegen --project wspace && graphql-codegen --project global",
34
+ "codegen:all": "bun run schema:pull && bun run codegen",
35
+ "switch:status": "bun scripts/deps-mode.ts status",
36
+ "switch:remote": "bun scripts/deps-mode.ts remote",
37
+ "switch:local": "bun scripts/deps-mode.ts local",
38
+ "switch:check": "bun scripts/deps-mode.ts check",
39
+ "prepare": "lefthook install || true",
40
+ "format:check": "prettier --check \"src/**/*.{ts,tsx}\""
41
+ },
42
+ "dependencies": {
43
+ "@apollo/client": "^4.0.11",
44
+ "@burdenoff/fe-libs": "2026.507.125",
45
+ "@tanstack/react-query": "^5.90.16",
46
+ "clsx": "^2.1.1",
47
+ "graphql": "^16.10.0",
48
+ "lucide-react": "^0.468.0",
49
+ "react": "^19.0.0",
50
+ "react-dom": "^19.0.0",
51
+ "react-router-dom": "^7.1.3",
52
+ "tailwind-merge": "^3.4.0",
53
+ "zustand": "^5.0.3"
54
+ },
55
+ "devDependencies": {
56
+ "@eslint/js": "^9.39.2",
57
+ "@graphql-codegen/add": "^5.0.0",
58
+ "@graphql-codegen/cli": "^5.0.0",
59
+ "@graphql-codegen/import-types-preset": "^3.0.0",
60
+ "@graphql-codegen/schema-ast": "^4.0.0",
61
+ "@graphql-codegen/typescript": "^4.0.0",
62
+ "@graphql-codegen/typescript-operations": "^4.0.0",
63
+ "@graphql-codegen/typescript-react-apollo": "^4.0.0",
64
+ "@types/react": "^19.0.2",
65
+ "@types/react-dom": "^19.0.2",
66
+ "@vitejs/plugin-react": "^4.3.4",
67
+ "autoprefixer": "^10.4.20",
68
+ "eslint": "^9.18.0",
69
+ "eslint-plugin-react": "^7.37.5",
70
+ "eslint-plugin-react-hooks": "^7.0.1",
71
+ "eslint-plugin-react-refresh": "^0.4.26",
72
+ "lefthook": "^2.1.1",
73
+ "postcss": "^8.4.49",
74
+ "prettier": "^3.4.2",
75
+ "tailwindcss": "^4.0.0",
76
+ "typescript": "^5.9.0",
77
+ "typescript-eslint": "^8.54.0",
78
+ "vite": "8.0.8",
79
+ "vite-plugin-dts": "3.9.1"
80
+ },
81
+ "peerDependencies": {
82
+ "@apollo/client": "^4.0.11",
83
+ "react": "^19.0.0",
84
+ "react-dom": "^19.0.0",
85
+ "zustand": "^5.0.0"
86
+ },
87
+ "publishConfig": {
88
+ "access": "restricted"
89
+ },
90
+ "overrides": {
91
+ "lodash": ">=4.17.21",
92
+ "lodash-es": ">=4.17.21",
93
+ "dompurify": ">=3.3.4",
94
+ "fast-xml-parser": ">=4.5.5",
95
+ "@xmldom/xmldom": ">=0.8.12",
96
+ "swiper": ">=12.1.2",
97
+ "brace-expansion": ">=1.1.13",
98
+ "follow-redirects": ">=1.15.12",
99
+ "smol-toml": ">=1.6.1",
100
+ "axios": ">=1.15.0",
101
+ "flatted": ">=3.4.1",
102
+ "yaml": ">=2.8.3",
103
+ "picomatch": ">=2.3.2",
104
+ "immutable": ">=3.8.3",
105
+ "minimatch": ">=3.1.3"
106
+ }
107
+ }