@integrity-labs/agt-cli 0.9.9 → 0.9.10
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.
|
@@ -680,11 +680,8 @@ async function ensureFrameworkBinary(frameworkId) {
|
|
|
680
680
|
}
|
|
681
681
|
agentRuntimeAuthenticated = checkClaudeAuth(execFileSync);
|
|
682
682
|
}
|
|
683
|
-
var UPDATE_CHECK_INTERVAL_MS =
|
|
684
|
-
var selfUpdateChecked = false;
|
|
683
|
+
var UPDATE_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
|
|
685
684
|
async function checkAndUpdateCli() {
|
|
686
|
-
if (selfUpdateChecked) return;
|
|
687
|
-
selfUpdateChecked = true;
|
|
688
685
|
const cliPath = process.argv[1] ?? "";
|
|
689
686
|
const isHomebrew = cliPath.includes("/Cellar/") || cliPath.includes("/homebrew/");
|
|
690
687
|
const isDevMode = cliPath.includes("/src/") || cliPath.includes("tsx");
|