@intentic/cli 1.163.1 → 1.165.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-run.command.d.ts","sourceRoot":"","sources":["../../src/sandbox-run/sandbox-run.command.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sandbox-run.command.d.ts","sourceRoot":"","sources":["../../src/sandbox-run/sandbox-run.command.ts"],"names":[],"mappings":"AAUA,OAAO,EAAgB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAC;AAiBlE,eAAO,MAAM,oBAAoB,iDA2E/B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
|
+
import { sandboxIdFromToken } from "@intentic/sandbox-contract/tunnel-ids";
|
|
2
3
|
import { parseNulEnv, replayableEnv, runtimeDirectivesOf, sandboxNames, sandboxRunArgv, sandboxRunCommand, } from "@intentic/sandbox-run";
|
|
3
4
|
import { buildCommand } from "@stricli/core";
|
|
4
5
|
export const sandboxRunCommandCli = buildCommand({
|
|
@@ -37,14 +38,21 @@ export const sandboxRunCommandCli = buildCommand({
|
|
|
37
38
|
brief: "DNS resolvers, space-separated (fresh public resolvers dodge negatively-cached tunnel NXDOMAINs)",
|
|
38
39
|
},
|
|
39
40
|
format: { kind: "parsed", parse: String, optional: true, brief: "sh (default): one quoted command line; json: the docker argv" },
|
|
41
|
+
noLocalPublish: {
|
|
42
|
+
kind: "boolean",
|
|
43
|
+
brief: "Drop the loopback shortcut's -p — what a flow re-asks for when docker refused the derived port",
|
|
44
|
+
},
|
|
40
45
|
},
|
|
41
46
|
},
|
|
42
47
|
func(flags) {
|
|
43
48
|
const env = replayableEnv(parseNulEnv(readFileSync(0, "utf8")));
|
|
49
|
+
const sandboxId = sandboxIdFromToken(env.find(([name]) => name === "CONNECT_TOKEN")?.[1] ?? "");
|
|
44
50
|
const run = {
|
|
45
51
|
names: sandboxNames(flags.slug),
|
|
46
52
|
image: flags.image,
|
|
47
53
|
baseImage: flags.baseImage,
|
|
54
|
+
...(sandboxId !== undefined ? { sandboxId } : {}),
|
|
55
|
+
localPublish: flags.noLocalPublish !== true,
|
|
48
56
|
...(flags.environmentHash !== undefined && flags.environmentHash !== "" ? { environmentHash: flags.environmentHash } : {}),
|
|
49
57
|
env,
|
|
50
58
|
runtime: runtimeDirectivesOf(flags.runtime ?? ""),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sandbox-run.command.js","sourceRoot":"","sources":["../../src/sandbox-run/sandbox-run.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EACH,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,iBAAiB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAuB,MAAM,eAAe,CAAC;AAiBlE,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"sandbox-run.command.js","sourceRoot":"","sources":["../../src/sandbox-run/sandbox-run.command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EACH,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,YAAY,EACZ,cAAc,EACd,iBAAiB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,YAAY,EAAuB,MAAM,eAAe,CAAC;AAiBlE,MAAM,CAAC,MAAM,oBAAoB,GAAG,YAAY,CAU7C;IACC,IAAI,EAAE,EAAE,KAAK,EAAE,iGAAiG,EAAE;IAClH,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,M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
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.165.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -34,31 +34,31 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@puristic/env": "1.
|
|
38
|
-
"@stricli/core": "1.
|
|
37
|
+
"@puristic/env": "1.6.1",
|
|
38
|
+
"@stricli/core": "1.3.0",
|
|
39
39
|
"eta": "4.6.0",
|
|
40
40
|
"tslib": "2.8.1",
|
|
41
41
|
"zod": "4.4.3",
|
|
42
|
-
"@intentic/engine": "1.
|
|
43
|
-
"@intentic/graph": "1.
|
|
44
|
-
"@intentic/need-resolver": "1.
|
|
45
|
-
"@intentic/providers": "1.
|
|
46
|
-
"@intentic/sandbox-contract": "1.
|
|
42
|
+
"@intentic/engine": "1.165.0",
|
|
43
|
+
"@intentic/graph": "1.165.0",
|
|
44
|
+
"@intentic/need-resolver": "1.165.0",
|
|
45
|
+
"@intentic/providers": "1.165.0",
|
|
46
|
+
"@intentic/sandbox-contract": "1.165.0",
|
|
47
47
|
"@intentic/sandbox-run": "0.0.0",
|
|
48
|
-
"@intentic/scaffold": "1.
|
|
49
|
-
"@intentic/state-resolver": "1.
|
|
48
|
+
"@intentic/scaffold": "1.165.0",
|
|
49
|
+
"@intentic/state-resolver": "1.165.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "24.13.2",
|
|
53
53
|
"@types/ssh2": "1.15.5",
|
|
54
54
|
"@typescript/native-preview": "7.0.0-dev.20260707.2",
|
|
55
55
|
"ssh2": "1.17.0",
|
|
56
|
-
"testcontainers": "12.0.
|
|
57
|
-
"tsx": "4.
|
|
58
|
-
"vitest": "4.1.
|
|
56
|
+
"testcontainers": "12.0.4",
|
|
57
|
+
"tsx": "4.23.1",
|
|
58
|
+
"vitest": "4.1.10",
|
|
59
59
|
"yaml": "2.9.0",
|
|
60
60
|
"@intentic/dind-host": "0.0.0",
|
|
61
|
-
"@intentic/sdk": "1.
|
|
61
|
+
"@intentic/sdk": "1.165.0",
|
|
62
62
|
"@intentic/tsconfig": "0.0.0"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|