@synkro-sh/cli 1.6.97 → 1.6.98
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 +6 -4
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -11410,7 +11410,7 @@ function writeConfigEnv(opts) {
|
|
|
11410
11410
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
11411
11411
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
11412
11412
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
11413
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.6.
|
|
11413
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.6.98")}`
|
|
11414
11414
|
];
|
|
11415
11415
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
11416
11416
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
@@ -14711,10 +14711,12 @@ function cmdAttach(rest) {
|
|
|
14711
14711
|
process.exit(r.status ?? 0);
|
|
14712
14712
|
}
|
|
14713
14713
|
async function cmdTest() {
|
|
14714
|
-
|
|
14714
|
+
const port = inDockerMode() ? parseInt(process.env.SYNKRO_HOST_GRADER_PORT || "18929", 10) : CHANNEL_PORT;
|
|
14715
|
+
console.log(`Sending smoke-test grading request through the channel (127.0.0.1:${port})...`);
|
|
14715
14716
|
const result = await submitToChannel(
|
|
14716
14717
|
"grade-bash",
|
|
14717
|
-
'Command: echo "hello world"\nIntent: testing channel connectivity'
|
|
14718
|
+
'Command: echo "hello world"\nIntent: testing channel connectivity',
|
|
14719
|
+
{ port }
|
|
14718
14720
|
);
|
|
14719
14721
|
console.log("Raw reply:");
|
|
14720
14722
|
console.log(result);
|
|
@@ -15475,7 +15477,7 @@ var args = process.argv.slice(2);
|
|
|
15475
15477
|
var cmd = args[0] || "";
|
|
15476
15478
|
var subArgs = args.slice(1);
|
|
15477
15479
|
function printVersion() {
|
|
15478
|
-
console.log("1.6.
|
|
15480
|
+
console.log("1.6.98");
|
|
15479
15481
|
}
|
|
15480
15482
|
function printHelp2() {
|
|
15481
15483
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|