@burdenoff/microfe-sandbox 2026.1119.1 → 2026.1119.2
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.
|
@@ -11,14 +11,21 @@
|
|
|
11
11
|
*
|
|
12
12
|
* The registry is Amazon ECR: it is the only first-party registry sandbox-svc
|
|
13
13
|
* allowlists since the Azure decommission (2026-08-15, BOFF-6343).
|
|
14
|
+
*
|
|
15
|
+
* It is the platform's sandbox image registry as fe-libs defines it
|
|
16
|
+
* (`@burdenoff/fe-libs/shared/assistant/sandboxRegistry`), not a copy: the
|
|
17
|
+
* fe-libs release build selects the AWS account from the organization variable
|
|
18
|
+
* AWS_ECR_REGISTRY (reviewed accounts only), so an account move reaches this
|
|
19
|
+
* form with the fe-libs version the shell resolves, without a change here
|
|
20
|
+
* (BOFF-15499).
|
|
14
21
|
*/
|
|
15
|
-
export declare const BURDENOFF_REGISTRY
|
|
22
|
+
export declare const BURDENOFF_REGISTRY: string;
|
|
16
23
|
/**
|
|
17
24
|
* Default vibecontrols-agent sandbox image (same tag as sandbox-svc's
|
|
18
25
|
* DEFAULT_AGENT_SIDECAR_IMAGE). ECR carries one `sandbox/vibecontrols` repo for
|
|
19
26
|
* both envs; the Azure-era `-alpha` variant was never rebuilt.
|
|
20
27
|
*/
|
|
21
|
-
export declare const DEFAULT_SANDBOX_AGENT_IMAGE
|
|
28
|
+
export declare const DEFAULT_SANDBOX_AGENT_IMAGE: string;
|
|
22
29
|
/** Drop the leading Burdenoff registry if present, else return as-is. */
|
|
23
30
|
export declare function stripBurdenoffRegistry(image: string): string;
|
|
24
31
|
/**
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { RELEASE_SANDBOX_IMAGE_REGISTRY as e } from "@burdenoff/fe-libs/shared/assistant/sandboxRegistry";
|
|
1
2
|
// src/sandbox/utils/imageRegistry.ts
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
return e.startsWith(
|
|
3
|
+
var t = e, n = `${t}/sandbox/vibecontrols:2026.815.1`;
|
|
4
|
+
function r(e) {
|
|
5
|
+
return e.startsWith(`${t}/`) ? e.slice(t.length + 1) : e;
|
|
5
6
|
}
|
|
6
|
-
function
|
|
7
|
-
let n =
|
|
8
|
-
return !n || n.startsWith(
|
|
7
|
+
function i(e) {
|
|
8
|
+
let n = e.trim();
|
|
9
|
+
return !n || n.startsWith(`${t}/`) ? n : `${t}/${n}`;
|
|
9
10
|
}
|
|
10
|
-
export {
|
|
11
|
+
export { t as BURDENOFF_REGISTRY, n as DEFAULT_SANDBOX_AGENT_IMAGE, r as stripBurdenoffRegistry, i as withBurdenoffRegistry };
|
|
11
12
|
|
|
12
13
|
//# sourceMappingURL=imageRegistry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"imageRegistry.js","names":["BURDENOFF_REGISTRY","DEFAULT_SANDBOX_AGENT_IMAGE","stripBurdenoffRegistry","image","withBurdenoffRegistry","trimmed"],"sources":["../../../src/sandbox/utils/imageRegistry.ts"],"sourcesContent":["/**\n * Burdenoff container-registry prefix helpers for the create-sandbox form.\n *\n * In \"Burdenoff repositories\" mode the registry is rendered as a fixed prefix\n * and the editable field holds only the path-after-registry; on submit the\n * registry is re-added to produce the FQDN that sandbox-svc's registry\n * allowlist requires. Keeping these as pure, separately-tested functions makes\n * the round-trip impossible to get subtly wrong — most importantly, it\n * guarantees a value that already carries the registry is never double-prefixed\n * (`<registry>/<registry>/…`).\n *\n * The registry is Amazon ECR: it is the only first-party registry sandbox-svc\n * allowlists since the Azure decommission (2026-08-15, BOFF-6343).\n */\nexport const BURDENOFF_REGISTRY =
|
|
1
|
+
{"version":3,"file":"imageRegistry.js","names":["BURDENOFF_REGISTRY","RELEASE_SANDBOX_IMAGE_REGISTRY","DEFAULT_SANDBOX_AGENT_IMAGE","stripBurdenoffRegistry","image","withBurdenoffRegistry","trimmed"],"sources":["../../../src/sandbox/utils/imageRegistry.ts"],"sourcesContent":["import { RELEASE_SANDBOX_IMAGE_REGISTRY } from '@burdenoff/fe-libs/shared/assistant/sandboxRegistry';\n\n/**\n * Burdenoff container-registry prefix helpers for the create-sandbox form.\n *\n * In \"Burdenoff repositories\" mode the registry is rendered as a fixed prefix\n * and the editable field holds only the path-after-registry; on submit the\n * registry is re-added to produce the FQDN that sandbox-svc's registry\n * allowlist requires. Keeping these as pure, separately-tested functions makes\n * the round-trip impossible to get subtly wrong — most importantly, it\n * guarantees a value that already carries the registry is never double-prefixed\n * (`<registry>/<registry>/…`).\n *\n * The registry is Amazon ECR: it is the only first-party registry sandbox-svc\n * allowlists since the Azure decommission (2026-08-15, BOFF-6343).\n *\n * It is the platform's sandbox image registry as fe-libs defines it\n * (`@burdenoff/fe-libs/shared/assistant/sandboxRegistry`), not a copy: the\n * fe-libs release build selects the AWS account from the organization variable\n * AWS_ECR_REGISTRY (reviewed accounts only), so an account move reaches this\n * form with the fe-libs version the shell resolves, without a change here\n * (BOFF-15499).\n */\nexport const BURDENOFF_REGISTRY: string = RELEASE_SANDBOX_IMAGE_REGISTRY;\n\n/**\n * Default vibecontrols-agent sandbox image (same tag as sandbox-svc's\n * DEFAULT_AGENT_SIDECAR_IMAGE). ECR carries one `sandbox/vibecontrols` repo for\n * both envs; the Azure-era `-alpha` variant was never rebuilt.\n */\nexport const DEFAULT_SANDBOX_AGENT_IMAGE = `${BURDENOFF_REGISTRY}/sandbox/vibecontrols:2026.815.1`;\n\n/** Drop the leading Burdenoff registry if present, else return as-is. */\nexport function stripBurdenoffRegistry(image: string): string {\n return image.startsWith(`${BURDENOFF_REGISTRY}/`)\n ? image.slice(BURDENOFF_REGISTRY.length + 1)\n : image;\n}\n\n/**\n * Prepend the Burdenoff registry, but never double it: a value that already\n * starts with the registry (a loaded template, an edited sandbox, or a pasted\n * FQDN) is returned unchanged. Empty/whitespace input returns empty.\n */\nexport function withBurdenoffRegistry(image: string): string {\n const trimmed = image.trim();\n if (!trimmed) return trimmed;\n if (trimmed.startsWith(`${BURDENOFF_REGISTRY}/`)) return trimmed;\n return `${BURDENOFF_REGISTRY}/${trimmed}`;\n}\n"],"mappings":";;AAuBA,IAAaA,IAA6BC,GAO7BC,IAA8B,GAAGF,EAAmB;AAGjE,SAAgBG,EAAuB,GAAuB;CAC5D,OAAOC,EAAM,WAAW,GAAGJ,EAAmB,EAAE,IAC5CI,EAAM,MAAMJ,EAAmB,SAAS,CAAC,IACzCI;AACN;AAOA,SAAgBC,EAAsB,GAAuB;CAC3D,IAAMC,IAAUF,EAAM,KAAK;CAG3B,OAFI,CAACE,KACDA,EAAQ,WAAW,GAAGN,EAAmB,EAAE,IAAUM,IAClD,GAAGN,EAAmB,GAAGM;AAClC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@burdenoff/microfe-sandbox",
|
|
3
|
-
"version": "2026.1119.
|
|
3
|
+
"version": "2026.1119.2",
|
|
4
4
|
"description": "Burdenoff Sandbox Microfrontend - Manage ephemeral sandbox environments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@apollo/client": "^4.3.7",
|
|
49
|
-
"@burdenoff/fe-libs": "2026.1119.
|
|
49
|
+
"@burdenoff/fe-libs": "2026.1119.3",
|
|
50
50
|
"@tanstack/react-query": "^5.107.0",
|
|
51
51
|
"clsx": "^2.1.1",
|
|
52
52
|
"graphql": "^16.15.0",
|