@synkro-sh/cli 1.6.12 → 1.6.13
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 +8 -4
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -6500,7 +6500,7 @@ function writeConfigEnv(opts) {
|
|
|
6500
6500
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
6501
6501
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
6502
6502
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
6503
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.6.
|
|
6503
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.6.13")}`
|
|
6504
6504
|
];
|
|
6505
6505
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
6506
6506
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
@@ -6776,7 +6776,11 @@ async function installCommand(opts = {}) {
|
|
|
6776
6776
|
} catch {
|
|
6777
6777
|
}
|
|
6778
6778
|
const profile = await fetchUserProfile(gatewayUrl, token);
|
|
6779
|
-
const
|
|
6779
|
+
const cloudOnly = gradingMode === "byok" && storageMode === "cloud";
|
|
6780
|
+
const useLocalMcp = !cloudOnly;
|
|
6781
|
+
if (cloudOnly) {
|
|
6782
|
+
console.log("Cloud-only setup (BYOK grading + cloud storage) \u2014 skipping the local container.\n");
|
|
6783
|
+
}
|
|
6780
6784
|
if (hasClaudeCode && !opts.noMcp) {
|
|
6781
6785
|
if (useLocalMcp) {
|
|
6782
6786
|
try {
|
|
@@ -6889,7 +6893,7 @@ async function installCommand(opts = {}) {
|
|
|
6889
6893
|
console.warn(` \u26A0 Could not cache judge prompts: ${err.message}`);
|
|
6890
6894
|
}
|
|
6891
6895
|
console.log();
|
|
6892
|
-
if (
|
|
6896
|
+
if (useLocalMcp) {
|
|
6893
6897
|
const { assertDockerAvailable: assertDockerAvailable2 } = await Promise.resolve().then(() => (init_dockerInstall(), dockerInstall_exports));
|
|
6894
6898
|
try {
|
|
6895
6899
|
assertDockerAvailable2();
|
|
@@ -9136,7 +9140,7 @@ var args = process.argv.slice(2);
|
|
|
9136
9140
|
var cmd = args[0] || "";
|
|
9137
9141
|
var subArgs = args.slice(1);
|
|
9138
9142
|
function printVersion() {
|
|
9139
|
-
console.log("1.6.
|
|
9143
|
+
console.log("1.6.13");
|
|
9140
9144
|
}
|
|
9141
9145
|
function printHelp2() {
|
|
9142
9146
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|