@synkro-sh/cli 1.4.48 → 1.4.49
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 +7 -6
- package/dist/bootstrap.js.map +1 -1
- package/package.json +1 -1
package/dist/bootstrap.js
CHANGED
|
@@ -1864,11 +1864,10 @@ async function main() {
|
|
|
1864
1864
|
return;
|
|
1865
1865
|
}
|
|
1866
1866
|
|
|
1867
|
-
const proposedShort = proposed.slice(0, 4000);
|
|
1868
1867
|
const graderPrompt = [
|
|
1869
1868
|
'File: ' + filePath,
|
|
1870
|
-
'Content
|
|
1871
|
-
|
|
1869
|
+
'Content:',
|
|
1870
|
+
proposed,
|
|
1872
1871
|
'',
|
|
1873
1872
|
'CWE rules to check against:',
|
|
1874
1873
|
JSON.stringify(cweRules),
|
|
@@ -5036,7 +5035,7 @@ function writeConfigEnv(opts) {
|
|
|
5036
5035
|
`SYNKRO_CREDENTIALS_PATH=${shellQuoteSingle(credsPath)}`,
|
|
5037
5036
|
`SYNKRO_TIER=${shellQuoteSingle(safeTier)}`,
|
|
5038
5037
|
`SYNKRO_INFERENCE=${shellQuoteSingle(safeInference)}`,
|
|
5039
|
-
`SYNKRO_VERSION=${shellQuoteSingle("1.4.
|
|
5038
|
+
`SYNKRO_VERSION=${shellQuoteSingle("1.4.49")}`
|
|
5040
5039
|
];
|
|
5041
5040
|
if (safeSynkroBin) lines.push(`SYNKRO_CLI_BIN=${shellQuoteSingle(safeSynkroBin)}`);
|
|
5042
5041
|
if (safeUserId) lines.push(`SYNKRO_USER_ID=${shellQuoteSingle(safeUserId)}`);
|
|
@@ -5483,10 +5482,12 @@ async function installCommand(opts = {}) {
|
|
|
5483
5482
|
})();
|
|
5484
5483
|
if (profile.localInference || priorLocalFlag && localCcDeps.length === 3) {
|
|
5485
5484
|
try {
|
|
5485
|
+
stopTask();
|
|
5486
|
+
stopTask(CHANNEL_SECONDARY);
|
|
5486
5487
|
const r = installLocalCC();
|
|
5487
5488
|
console.log(`Installed local-CC channel plugin at ${r.pluginPath}`);
|
|
5488
|
-
const t1 =
|
|
5489
|
-
const t2 =
|
|
5489
|
+
const t1 = startTask();
|
|
5490
|
+
const t2 = startTask({ channel: CHANNEL_SECONDARY });
|
|
5490
5491
|
console.log(`Channel 1 (org rules): pueue id=${t1.id} status=${t1.status}`);
|
|
5491
5492
|
console.log(`Channel 2 (CWE scan): pueue id=${t2.id} status=${t2.status}`);
|
|
5492
5493
|
console.log("Waiting for both channels (up to 60s)...");
|