@opengeni/runtime 0.13.12 → 0.14.0
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/{chunk-FLRCDJRI.js → chunk-3NUSY22C.js} +6 -6
- package/dist/chunk-3NUSY22C.js.map +1 -0
- package/dist/index.d.ts +15 -3
- package/dist/index.js +282 -9
- package/dist/index.js.map +1 -1
- package/dist/sandbox/index.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +129 -6
- package/src/sandbox/index.ts +5 -5
- package/src/workspace-skills.ts +235 -0
- package/dist/chunk-FLRCDJRI.js.map +0 -1
|
@@ -23377,14 +23377,14 @@ function withDockerNetwork(client, network) {
|
|
|
23377
23377
|
};
|
|
23378
23378
|
}
|
|
23379
23379
|
async function connectDockerNetwork(network, containerId) {
|
|
23380
|
-
const
|
|
23381
|
-
|
|
23382
|
-
|
|
23380
|
+
const { spawnSync: spawnSync2 } = await import("child_process");
|
|
23381
|
+
const result = spawnSync2("docker", ["network", "connect", network, containerId], {
|
|
23382
|
+
encoding: "utf8"
|
|
23383
23383
|
});
|
|
23384
|
-
if (result.
|
|
23384
|
+
if (result.status === 0) {
|
|
23385
23385
|
return;
|
|
23386
23386
|
}
|
|
23387
|
-
const stderr =
|
|
23387
|
+
const stderr = result.stderr ?? result.error?.message ?? "";
|
|
23388
23388
|
if (stderr.includes("already exists")) {
|
|
23389
23389
|
return;
|
|
23390
23390
|
}
|
|
@@ -24048,4 +24048,4 @@ export {
|
|
|
24048
24048
|
collectSandboxEnvironment2 as collectSandboxEnvironment,
|
|
24049
24049
|
parseExposedPorts2 as parseExposedPorts
|
|
24050
24050
|
};
|
|
24051
|
-
//# sourceMappingURL=chunk-
|
|
24051
|
+
//# sourceMappingURL=chunk-3NUSY22C.js.map
|