@synkro-sh/cli 1.7.90 → 1.7.92
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/bootstrap.js +5 -5
- package/package.json +15 -16
package/dist/bootstrap.js
CHANGED
|
@@ -147,7 +147,7 @@ function getIdentity() {
|
|
|
147
147
|
if (cached2) return cached2;
|
|
148
148
|
let cliVersion = "0.0.0";
|
|
149
149
|
try {
|
|
150
|
-
cliVersion = "1.7.
|
|
150
|
+
cliVersion = "1.7.92";
|
|
151
151
|
} catch {
|
|
152
152
|
}
|
|
153
153
|
const creds = loadCredentialsIdentity();
|
|
@@ -6785,7 +6785,7 @@ var init_dockerInstall = __esm({
|
|
|
6785
6785
|
HOST_PGLITE_PORT = parseInt(process.env.SYNKRO_HOST_PGLITE_PORT || "15433", 10);
|
|
6786
6786
|
CONTAINER_NAME = resolveContainerName();
|
|
6787
6787
|
defaultImageVersion = () => {
|
|
6788
|
-
if (true) return "1.7.
|
|
6788
|
+
if (true) return "1.7.92";
|
|
6789
6789
|
try {
|
|
6790
6790
|
const pkg = JSON.parse(readFileSync17(new URL("../../package.json", import.meta.url), "utf8"));
|
|
6791
6791
|
if (pkg.version) return pkg.version;
|
|
@@ -7830,7 +7830,7 @@ function writeConfigEnv(opts) {
|
|
|
7830
7830
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle2(credsPath)}`,
|
|
7831
7831
|
`SYNKRO_TIER=${shellQuoteSingle2(safeTier)}`,
|
|
7832
7832
|
`SYNKRO_INFERENCE=${shellQuoteSingle2(safeInference)}`,
|
|
7833
|
-
`SYNKRO_VERSION=${shellQuoteSingle2("1.7.
|
|
7833
|
+
`SYNKRO_VERSION=${shellQuoteSingle2("1.7.92")}`
|
|
7834
7834
|
];
|
|
7835
7835
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle2(safeSynkroBin)}`);
|
|
7836
7836
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle2(safeUserId)}`);
|
|
@@ -8572,7 +8572,7 @@ async function installCommand(opts = {}) {
|
|
|
8572
8572
|
await setTelemetryState({ enabled: true, remoteFlushEnabled: telemetryConsent });
|
|
8573
8573
|
emit("install", {
|
|
8574
8574
|
phase: "started",
|
|
8575
|
-
cli_version_to: "1.7.
|
|
8575
|
+
cli_version_to: "1.7.92",
|
|
8576
8576
|
agents_detected: agents.map((a) => a.kind),
|
|
8577
8577
|
with_github: false,
|
|
8578
8578
|
with_local_cc: false,
|
|
@@ -14611,7 +14611,7 @@ var subArgs = args.slice(1);
|
|
|
14611
14611
|
var isDetachedChild = process.env.SYNKRO_TELEMETRY_DETACHED === "1";
|
|
14612
14612
|
var FLUSH_SKIP = /* @__PURE__ */ new Set(["grade", "version", "--version", "-v", "help", "--help", "-h", ""]);
|
|
14613
14613
|
function printVersion() {
|
|
14614
|
-
console.log("1.7.
|
|
14614
|
+
console.log("1.7.92");
|
|
14615
14615
|
}
|
|
14616
14616
|
function printHelp2() {
|
|
14617
14617
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synkro-sh/cli",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.92",
|
|
4
4
|
"description": "Control Layer for AI Agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -27,20 +27,6 @@
|
|
|
27
27
|
"url": "https://github.com/synkro/synkro-cli.git"
|
|
28
28
|
},
|
|
29
29
|
"license": "MIT",
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build:cli": "tsup",
|
|
32
|
-
"build:binary": "bun build --compile --target=bun ./dist/bootstrap.js --outfile=dist/synkro",
|
|
33
|
-
"cli": "tsx cli/bootstrap.js",
|
|
34
|
-
"db": "tsx scripts/query-db.ts",
|
|
35
|
-
"check:hooks": "tsx scripts/check-hooks.ts",
|
|
36
|
-
"smoke:hooks": "tsx scripts/smoke-hooks.ts",
|
|
37
|
-
"check:dist-leak": "tsx scripts/check-dist-leak.ts",
|
|
38
|
-
"check:scan": "tsx scripts/check-scan-router.ts",
|
|
39
|
-
"verify:hooks": "tsx scripts/check-hooks.ts && tsx scripts/smoke-hooks.ts && tsx scripts/check-scan-router.ts && tsx scripts/check-dist-leak.ts",
|
|
40
|
-
"prepublishOnly": "tsx scripts/check-hooks.ts && tsx scripts/smoke-hooks.ts && tsx scripts/check-scan-router.ts && tsup && tsx scripts/check-dist-leak.ts",
|
|
41
|
-
"test": "vitest",
|
|
42
|
-
"test:run": "vitest run"
|
|
43
|
-
},
|
|
44
30
|
"dependencies": {
|
|
45
31
|
"@babel/parser": "^7.25.0",
|
|
46
32
|
"dotenv": "^17.2.3",
|
|
@@ -71,5 +57,18 @@
|
|
|
71
57
|
"typescript": "^5.7.3",
|
|
72
58
|
"vitest": "^4.1.0",
|
|
73
59
|
"zod": "^4.3.6"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build:cli": "tsup",
|
|
63
|
+
"build:binary": "bun build --compile --target=bun ./dist/bootstrap.js --outfile=dist/synkro",
|
|
64
|
+
"cli": "tsx cli/bootstrap.js",
|
|
65
|
+
"db": "tsx scripts/query-db.ts",
|
|
66
|
+
"check:hooks": "tsx scripts/check-hooks.ts",
|
|
67
|
+
"smoke:hooks": "tsx scripts/smoke-hooks.ts",
|
|
68
|
+
"check:dist-leak": "tsx scripts/check-dist-leak.ts",
|
|
69
|
+
"check:scan": "tsx scripts/check-scan-router.ts",
|
|
70
|
+
"verify:hooks": "tsx scripts/check-hooks.ts && tsx scripts/smoke-hooks.ts && tsx scripts/check-scan-router.ts && tsx scripts/check-dist-leak.ts",
|
|
71
|
+
"test": "vitest",
|
|
72
|
+
"test:run": "vitest run"
|
|
74
73
|
}
|
|
75
|
-
}
|
|
74
|
+
}
|