@boxes-dev/dvb-runtime 1.0.199 → 1.0.201
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/bin/dvb.cjs +19 -13
- package/dist/bin/dvb.cjs.map +1 -1
- package/dist/bin/dvbd.cjs +6 -6
- package/dist/devbox/commands/ide.d.ts.map +1 -1
- package/dist/devbox/commands/ide.js +1 -0
- package/dist/devbox/commands/ide.js.map +1 -1
- package/dist/devbox/commands/mount.d.ts.map +1 -1
- package/dist/devbox/commands/mount.js +1 -0
- package/dist/devbox/commands/mount.js.map +1 -1
- package/dist/devbox/commands/runtimeClient.d.ts +7 -1
- package/dist/devbox/commands/runtimeClient.d.ts.map +1 -1
- package/dist/devbox/commands/runtimeClient.js +4 -0
- package/dist/devbox/commands/runtimeClient.js.map +1 -1
- package/package.json +2 -2
package/dist/bin/dvb.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
"use strict";
|
|
3
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
3
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="216def26-f1b1-5732-9018-83049303d6bc")}catch(e){}}();
|
|
4
4
|
|
|
5
5
|
var __create = Object.create;
|
|
6
6
|
var __defProp = Object.defineProperty;
|
|
@@ -88688,8 +88688,8 @@ var init_otel = __esm({
|
|
|
88688
88688
|
return trimmed && trimmed.length > 0 ? trimmed : void 0;
|
|
88689
88689
|
};
|
|
88690
88690
|
readBuildMetadata = () => {
|
|
88691
|
-
const rawPackageVersion = "1.0.
|
|
88692
|
-
const rawGitSha = "
|
|
88691
|
+
const rawPackageVersion = "1.0.201";
|
|
88692
|
+
const rawGitSha = "34485d8e39bd45e275d9b9f6687c5101110a218a";
|
|
88693
88693
|
const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
|
|
88694
88694
|
const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
|
|
88695
88695
|
return { packageVersion, gitSha };
|
|
@@ -120881,9 +120881,9 @@ var init_sentry = __esm({
|
|
|
120881
120881
|
sentryEnabled = false;
|
|
120882
120882
|
uncaughtExceptionMonitorInstalled = false;
|
|
120883
120883
|
readBuildMetadata2 = () => {
|
|
120884
|
-
const rawPackageVersion = "1.0.
|
|
120885
|
-
const rawGitSha = "
|
|
120886
|
-
const rawSentryRelease = "boxes-dev-dvb@1.0.
|
|
120884
|
+
const rawPackageVersion = "1.0.201";
|
|
120885
|
+
const rawGitSha = "34485d8e39bd45e275d9b9f6687c5101110a218a";
|
|
120886
|
+
const rawSentryRelease = "boxes-dev-dvb@1.0.201+34485d8e39bd45e275d9b9f6687c5101110a218a";
|
|
120887
120887
|
const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
|
|
120888
120888
|
const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
|
|
120889
120889
|
const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
|
|
@@ -124880,7 +124880,7 @@ var init_packageVersion = __esm({
|
|
|
124880
124880
|
return import_node_path8.default.join(process.cwd(), "dvb");
|
|
124881
124881
|
};
|
|
124882
124882
|
readEmbeddedPackageVersion = () => {
|
|
124883
|
-
const raw = "1.0.
|
|
124883
|
+
const raw = "1.0.201";
|
|
124884
124884
|
return trimVersion(raw);
|
|
124885
124885
|
};
|
|
124886
124886
|
readNearestPackageMetadata = (basePath) => {
|
|
@@ -212464,6 +212464,7 @@ ${reason}`
|
|
|
212464
212464
|
alias: options.alias,
|
|
212465
212465
|
appName,
|
|
212466
212466
|
sandboxId,
|
|
212467
|
+
...options.serviceRole ? { serviceRole: options.serviceRole } : {},
|
|
212467
212468
|
credentialMode: modalContext.operationOptions.credentialMode,
|
|
212468
212469
|
credentials: modalContext.operationOptions.credentials,
|
|
212469
212470
|
...modalContext.operationOptions.cwd ? { cwd: modalContext.operationOptions.cwd } : {},
|
|
@@ -212481,7 +212482,8 @@ ${reason}`
|
|
|
212481
212482
|
const createRuntimeClient = dependencies.createRuntimeClient ?? createE2bInitRuntimeClient;
|
|
212482
212483
|
const e2bContext = await resolveE2bContext();
|
|
212483
212484
|
return await createRuntimeClient({
|
|
212484
|
-
controlPlaneToken: e2bContext.controlPlaneToken
|
|
212485
|
+
controlPlaneToken: e2bContext.controlPlaneToken,
|
|
212486
|
+
...options.serviceRole ? { serviceRole: options.serviceRole } : {}
|
|
212485
212487
|
});
|
|
212486
212488
|
};
|
|
212487
212489
|
resolveRuntimeClient = async (options, dependencies = {}) => {
|
|
@@ -212491,7 +212493,8 @@ ${reason}`
|
|
|
212491
212493
|
alias: options.alias,
|
|
212492
212494
|
targetBox: options.targetBox,
|
|
212493
212495
|
cwd: options.cwd,
|
|
212494
|
-
...options.failureContext ? { failureContext: options.failureContext } : {}
|
|
212496
|
+
...options.failureContext ? { failureContext: options.failureContext } : {},
|
|
212497
|
+
...options.serviceRole ? { serviceRole: options.serviceRole } : {}
|
|
212495
212498
|
});
|
|
212496
212499
|
}
|
|
212497
212500
|
if (options.provider === "e2b") {
|
|
@@ -212500,7 +212503,8 @@ ${reason}`
|
|
|
212500
212503
|
alias: options.alias,
|
|
212501
212504
|
targetBox: options.targetBox,
|
|
212502
212505
|
cwd: options.cwd,
|
|
212503
|
-
...options.failureContext ? { failureContext: options.failureContext } : {}
|
|
212506
|
+
...options.failureContext ? { failureContext: options.failureContext } : {},
|
|
212507
|
+
...options.serviceRole ? { serviceRole: options.serviceRole } : {}
|
|
212504
212508
|
});
|
|
212505
212509
|
}
|
|
212506
212510
|
const resolveSpritesBranch = dependencies.resolveSpritesRuntimeClient ?? resolveSpritesRuntimeClient;
|
|
@@ -214634,7 +214638,8 @@ cat ${shellEscape3(filePath)}`
|
|
|
214634
214638
|
provider: target2.computeProvider,
|
|
214635
214639
|
alias: target2.alias,
|
|
214636
214640
|
targetBox: target2.alias,
|
|
214637
|
-
cwd: process.cwd()
|
|
214641
|
+
cwd: process.cwd(),
|
|
214642
|
+
serviceRole: "system"
|
|
214638
214643
|
});
|
|
214639
214644
|
onStage?.("authorizing SSH access");
|
|
214640
214645
|
const publicKey = await readLocalSshPublicKey();
|
|
@@ -226674,7 +226679,8 @@ var init_mount = __esm({
|
|
|
226674
226679
|
resolveMountRuntimeClient = async (options, dependencies = {}) => await resolveRuntimeClient(
|
|
226675
226680
|
{
|
|
226676
226681
|
...options,
|
|
226677
|
-
failureContext: "mount"
|
|
226682
|
+
failureContext: "mount",
|
|
226683
|
+
serviceRole: "system"
|
|
226678
226684
|
},
|
|
226679
226685
|
dependencies
|
|
226680
226686
|
);
|
|
@@ -231938,4 +231944,4 @@ smol-toml/dist/index.js:
|
|
|
231938
231944
|
*/
|
|
231939
231945
|
//# sourceMappingURL=dvb.cjs.map
|
|
231940
231946
|
|
|
231941
|
-
//# debugId=
|
|
231947
|
+
//# debugId=216def26-f1b1-5732-9018-83049303d6bc
|