@synkro-sh/cli 1.6.0 → 1.6.1
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 +12 -2
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -2944,6 +2944,16 @@ async function main() {
|
|
|
2944
2944
|
|
|
2945
2945
|
if (isSafeInRepoRead(toolName, command, cwd)) {
|
|
2946
2946
|
log('bashGuard ' + cmdShort + ' → instant allow (safe in-repo read)');
|
|
2947
|
+
appendLocalTelemetry({
|
|
2948
|
+
capture_type: 'local_verdict',
|
|
2949
|
+
verdict: 'pass',
|
|
2950
|
+
hook_type: 'bash',
|
|
2951
|
+
category: 'safe_read',
|
|
2952
|
+
tool_name: toolName,
|
|
2953
|
+
command: command.slice(0, 200),
|
|
2954
|
+
session_id: sessionId,
|
|
2955
|
+
repo: cwd,
|
|
2956
|
+
});
|
|
2947
2957
|
outputJson({
|
|
2948
2958
|
systemMessage: tagStr + ' bashGuard → pass: safe in-repo read',
|
|
2949
2959
|
hookSpecificOutput: {
|
|
@@ -5990,7 +6000,7 @@ function writeConfigEnv(opts) {
|
|
|
5990
6000
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
5991
6001
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
5992
6002
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
5993
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.6.
|
|
6003
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.6.1")}`
|
|
5994
6004
|
];
|
|
5995
6005
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
5996
6006
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
@@ -7442,7 +7452,7 @@ var args = process.argv.slice(2);
|
|
|
7442
7452
|
var cmd = args[0] || "";
|
|
7443
7453
|
var subArgs = args.slice(1);
|
|
7444
7454
|
function printVersion() {
|
|
7445
|
-
console.log("1.6.
|
|
7455
|
+
console.log("1.6.1");
|
|
7446
7456
|
}
|
|
7447
7457
|
function printHelp() {
|
|
7448
7458
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|