@synkro-sh/cli 1.6.25 → 1.6.27
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 +10 -10
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -2946,7 +2946,7 @@ import {
|
|
|
2946
2946
|
appendSessionAction, readSessionLog, compressSessionLog, log,
|
|
2947
2947
|
outputJson, outputEmpty, setupCursorHookSignals, isEditTool, hookSessionId, GATEWAY_URL,
|
|
2948
2948
|
logGraderUnavailable, filterRules, ruleFilterText, normalizeMode, countEditLineDelta,
|
|
2949
|
-
captureLineMetrics, cursorModelFromPayload,
|
|
2949
|
+
captureLineMetrics, cursorModelFromPayload, resolveTranscriptPath,
|
|
2950
2950
|
type HookConfig, type Rule,
|
|
2951
2951
|
} from './_synkro-common.ts';
|
|
2952
2952
|
import { existsSync, readFileSync } from 'node:fs';
|
|
@@ -3195,7 +3195,7 @@ import {
|
|
|
3195
3195
|
loadJwt, ensureFreshJwt, detectRepo, loadConfig, cweRoute, tag,
|
|
3196
3196
|
localGradeCwe, parseVerdict, reconstructContent, readStdin, log,
|
|
3197
3197
|
outputJson, outputEmpty, setupCursorHookSignals, isEditTool, hookSessionId, filePathFromToolInput, emitBlockScanFindings, dispatchFinding, dispatchCapture, GATEWAY_URL,
|
|
3198
|
-
logGraderUnavailable,
|
|
3198
|
+
logGraderUnavailable, resolveTranscriptPath,
|
|
3199
3199
|
} from './_synkro-common.ts';
|
|
3200
3200
|
import { basename, extname, resolve, join, dirname } from 'node:path';
|
|
3201
3201
|
import { readFileSync, readdirSync, existsSync } from 'node:fs';
|
|
@@ -3707,7 +3707,7 @@ main();
|
|
|
3707
3707
|
import {
|
|
3708
3708
|
loadJwt, ensureFreshJwt, detectRepo, loadConfig, route, tag,
|
|
3709
3709
|
reconstructContent, readStdin, findNearestDeps, filePathFromToolInput, log,
|
|
3710
|
-
outputJson, outputEmpty, setupCursorHookSignals, isEditTool, hookSessionId, dispatchFinding, dispatchCapture, extractTranscript, emitBlockScanFindings, GATEWAY_URL,
|
|
3710
|
+
outputJson, outputEmpty, setupCursorHookSignals, isEditTool, hookSessionId, dispatchFinding, dispatchCapture, extractTranscript, emitBlockScanFindings, resolveTranscriptPath, GATEWAY_URL,
|
|
3711
3711
|
} from './_synkro-common.ts';
|
|
3712
3712
|
import { basename } from 'node:path';
|
|
3713
3713
|
import { readFileSync } from 'node:fs';
|
|
@@ -4074,7 +4074,7 @@ import {
|
|
|
4074
4074
|
extractTranscript, readLastPrompt, appendSessionAction, readSessionLog, compressSessionLog, log,
|
|
4075
4075
|
outputJson, outputEmpty, setupCursorHookSignals, isShellTool, hookSessionId, GATEWAY_URL,
|
|
4076
4076
|
logGraderUnavailable, filterRules, ruleFilterText, normalizeMode, appendLocalTelemetry, isSafeInRepoRead,
|
|
4077
|
-
hashCommand,
|
|
4077
|
+
hashCommand, resolveTranscriptPath,
|
|
4078
4078
|
type HookConfig, type Rule,
|
|
4079
4079
|
} from './_synkro-common.ts';
|
|
4080
4080
|
import { createHash } from 'node:crypto';
|
|
@@ -4364,7 +4364,7 @@ import {
|
|
|
4364
4364
|
parseVerdict, dispatchCapture, ruleMode, postWithRetry, readStdin,
|
|
4365
4365
|
extractTranscript, readLastPrompt, appendSessionAction, readSessionLog, compressSessionLog, log,
|
|
4366
4366
|
outputJson, outputEmpty, setupCursorHookSignals, isAgentTool, hookSessionId, GATEWAY_URL,
|
|
4367
|
-
logGraderUnavailable, filterRules, normalizeMode,
|
|
4367
|
+
logGraderUnavailable, filterRules, normalizeMode, resolveTranscriptPath,
|
|
4368
4368
|
type HookConfig, type Rule,
|
|
4369
4369
|
} from './_synkro-common.ts';
|
|
4370
4370
|
|
|
@@ -4543,7 +4543,7 @@ import {
|
|
|
4543
4543
|
loadJwt, ensureFreshJwt, detectRepo, loadConfig, route, tag, localGrade,
|
|
4544
4544
|
parseVerdict, dispatchCapture, appendSessionAction, readSessionLog, compressSessionLog, postWithRetry, readStdin, log,
|
|
4545
4545
|
outputJson, outputEmpty, setupCursorHookSignals, isPlanTool, hookSessionId, GATEWAY_URL,
|
|
4546
|
-
filterRules,
|
|
4546
|
+
filterRules, resolveTranscriptPath,
|
|
4547
4547
|
} from './_synkro-common.ts';
|
|
4548
4548
|
import { existsSync, readFileSync, writeFileSync, readdirSync, statSync } from 'node:fs';
|
|
4549
4549
|
import { join } from 'node:path';
|
|
@@ -4791,8 +4791,8 @@ main();
|
|
|
4791
4791
|
SESSION_START_TS = `#!/usr/bin/env bun
|
|
4792
4792
|
import {
|
|
4793
4793
|
loadJwt, detectRepo, channelUp, tag, readStdin, writeCachedRepo,
|
|
4794
|
-
outputJson, outputEmpty, setupCursorHookSignals, hookSessionId, GATEWAY_URL,
|
|
4795
|
-
isLocalStorageMode, type HookConfig,
|
|
4794
|
+
outputJson, outputEmpty, setupCursorHookSignals, hookSessionId, resolveTranscriptPath, GATEWAY_URL,
|
|
4795
|
+
isLocalStorageMode, log, type HookConfig,
|
|
4796
4796
|
} from './_synkro-common.ts';
|
|
4797
4797
|
|
|
4798
4798
|
async function main() {
|
|
@@ -7532,7 +7532,7 @@ function writeConfigEnv(opts) {
|
|
|
7532
7532
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
7533
7533
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
7534
7534
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
7535
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.6.
|
|
7535
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.6.27")}`
|
|
7536
7536
|
];
|
|
7537
7537
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
7538
7538
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
@@ -10200,7 +10200,7 @@ var args = process.argv.slice(2);
|
|
|
10200
10200
|
var cmd = args[0] || "";
|
|
10201
10201
|
var subArgs = args.slice(1);
|
|
10202
10202
|
function printVersion() {
|
|
10203
|
-
console.log("1.6.
|
|
10203
|
+
console.log("1.6.27");
|
|
10204
10204
|
}
|
|
10205
10205
|
function printHelp2() {
|
|
10206
10206
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|