@synkro-sh/cli 1.6.27 → 1.6.28
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 +3 -3
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -2058,7 +2058,7 @@ export async function readStdin(): Promise<string> {
|
|
|
2058
2058
|
|
|
2059
2059
|
/** Cursor stores transcripts under ~/.cursor/projects/{slug}/agent-transcripts/ */
|
|
2060
2060
|
export function cursorProjectSlug(workspaceRoot: string): string {
|
|
2061
|
-
return workspaceRoot.replace(
|
|
2061
|
+
return workspaceRoot.replace(new RegExp('^[/]+'), '').replace(/[^a-zA-Z0-9]+/g, '-').replace(/^-+|-+$/g, '');
|
|
2062
2062
|
}
|
|
2063
2063
|
|
|
2064
2064
|
/** Resolve transcript JSONL \u2014 payload field, CURSOR_TRANSCRIPT_PATH, or Cursor agent-transcripts dir. */
|
|
@@ -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.28")}`
|
|
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.28");
|
|
10204
10204
|
}
|
|
10205
10205
|
function printHelp2() {
|
|
10206
10206
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|