@synkro-sh/cli 1.3.14 → 1.3.16

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
@@ -2925,7 +2925,7 @@ function writeConfigEnv(opts) {
2925
2925
  `SYNKRO_GATEWAY_URL=${shellQuoteSingle(safeGateway)}`,
2926
2926
  `SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
2927
2927
  `SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
2928
- `SYNKRO_VERSION=${shellQuoteSingle("1.3.14")}`
2928
+ `SYNKRO_VERSION=${shellQuoteSingle("1.3.16")}`
2929
2929
  ];
2930
2930
  if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
2931
2931
  if (safeOrgId) lines.push(`SYNKRO_ORG_ID=${shellQuoteSingle(safeOrgId)}`);
@@ -3980,6 +3980,7 @@ ${hunks}`;
3980
3980
  "claude",
3981
3981
  ["--print", "--model", "claude-sonnet-4-6", "--output-format", "json", "--no-session-persistence", fullPrompt],
3982
3982
  {
3983
+ stdio: ["ignore", "pipe", "pipe"],
3983
3984
  env: {
3984
3985
  ...process.env,
3985
3986
  CLAUDE_CODE_OAUTH_TOKEN: claudeToken
@@ -3998,7 +3999,7 @@ ${hunks}`;
3998
3999
  proc.on("close", (code) => {
3999
4000
  const latencyMs = Date.now() - t0;
4000
4001
  if (code !== 0) {
4001
- console.warn(` claude exited ${code}: ${stderr.slice(0, 300)}`);
4002
+ console.warn(` claude exited ${code}: ${(stderr || stdout).slice(0, 500)}`);
4002
4003
  resolve2({ findings: [], latencyMs });
4003
4004
  return;
4004
4005
  }