@synkro-sh/cli 1.6.22 → 1.6.23
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 -4
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -1297,8 +1297,7 @@ export function ruleFilterText(action: string, userMessage?: string | null): str
|
|
|
1297
1297
|
const act = (action || '').trim();
|
|
1298
1298
|
if (!user) return act.slice(0, 4000);
|
|
1299
1299
|
if (!act) return user.slice(0, 4000);
|
|
1300
|
-
return (user + '
|
|
1301
|
-
' + act).slice(0, 4000);
|
|
1300
|
+
return (user + '\\n' + act).slice(0, 4000);
|
|
1302
1301
|
}
|
|
1303
1302
|
|
|
1304
1303
|
export async function filterRules(commandText: string, allRules: Rule[]): Promise<Rule[]> {
|
|
@@ -6888,7 +6887,7 @@ function writeConfigEnv(opts) {
|
|
|
6888
6887
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
6889
6888
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
6890
6889
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
6891
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.6.
|
|
6890
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.6.23")}`
|
|
6892
6891
|
];
|
|
6893
6892
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
6894
6893
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
@@ -9555,7 +9554,7 @@ var args = process.argv.slice(2);
|
|
|
9555
9554
|
var cmd = args[0] || "";
|
|
9556
9555
|
var subArgs = args.slice(1);
|
|
9557
9556
|
function printVersion() {
|
|
9558
|
-
console.log("1.6.
|
|
9557
|
+
console.log("1.6.23");
|
|
9559
9558
|
}
|
|
9560
9559
|
function printHelp2() {
|
|
9561
9560
|
console.log(`Synkro CLI \u2014 runtime safety for AI coding agents
|