@blockrun/clawrouter 0.12.19 → 0.12.20
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/cli.js +1 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -4811,7 +4811,6 @@ function hashRequestContent(lastUserContent, toolCallNames) {
|
|
|
4811
4811
|
|
|
4812
4812
|
// src/updater.ts
|
|
4813
4813
|
var NPM_REGISTRY = "https://registry.npmjs.org/@blockrun/clawrouter/latest";
|
|
4814
|
-
var UPDATE_URL = "https://blockrun.ai/ClawRouter-update";
|
|
4815
4814
|
var CHECK_TIMEOUT_MS = 5e3;
|
|
4816
4815
|
function compareSemver(a, b) {
|
|
4817
4816
|
const pa = a.split(".").map(Number);
|
|
@@ -4838,7 +4837,7 @@ async function checkForUpdates() {
|
|
|
4838
4837
|
if (compareSemver(latest, VERSION) > 0) {
|
|
4839
4838
|
console.log("");
|
|
4840
4839
|
console.log(`\x1B[33m\u2B06\uFE0F ClawRouter ${latest} available (you have ${VERSION})\x1B[0m`);
|
|
4841
|
-
console.log(` Run: \x1B[
|
|
4840
|
+
console.log(` Run: \x1B[36mnpx @blockrun/clawrouter@latest\x1B[0m`);
|
|
4842
4841
|
console.log("");
|
|
4843
4842
|
}
|
|
4844
4843
|
} catch {
|