@synkro-sh/cli 1.6.97 → 1.6.99

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 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.97")}`
11413
+ `SYNKRO_VERSION=${shellQuoteSingle("1.6.99")}`
11414
11414
  ];
11415
11415
  if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
11416
11416
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
@@ -12488,10 +12488,6 @@ function writeSynkroFileIfMissing(opts) {
12488
12488
  "",
12489
12489
  `harness = [${harness.map((h) => `"${h}"`).join(", ")}]`,
12490
12490
  "",
12491
- 'ruleset = "default"',
12492
- "",
12493
- "skills = []",
12494
- "",
12495
12491
  "[grader]",
12496
12492
  `location = "${opts.deployLocation || "local"}"`,
12497
12493
  `pool = "${pool}"`,
@@ -14711,10 +14707,12 @@ function cmdAttach(rest) {
14711
14707
  process.exit(r.status ?? 0);
14712
14708
  }
14713
14709
  async function cmdTest() {
14714
- console.log("Sending smoke-test grading request through the channel...");
14710
+ const port = inDockerMode() ? parseInt(process.env.SYNKRO_HOST_GRADER_PORT || "18929", 10) : CHANNEL_PORT;
14711
+ console.log(`Sending smoke-test grading request through the channel (127.0.0.1:${port})...`);
14715
14712
  const result = await submitToChannel(
14716
14713
  "grade-bash",
14717
- 'Command: echo "hello world"\nIntent: testing channel connectivity'
14714
+ 'Command: echo "hello world"\nIntent: testing channel connectivity',
14715
+ { port }
14718
14716
  );
14719
14717
  console.log("Raw reply:");
14720
14718
  console.log(result);
@@ -15475,7 +15473,7 @@ var args = process.argv.slice(2);
15475
15473
  var cmd = args[0] || "";
15476
15474
  var subArgs = args.slice(1);
15477
15475
  function printVersion() {
15478
- console.log("1.6.97");
15476
+ console.log("1.6.99");
15479
15477
  }
15480
15478
  function printHelp2() {
15481
15479
  console.log(`Synkro CLI \u2014 runtime safety for AI coding agents