@standardagents/code 0.12.0 → 0.12.1
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6491,7 +6491,7 @@ function readVersion() {
|
|
|
6491
6491
|
if (typeof pkg.version === "string" && pkg.version) return pkg.version;
|
|
6492
6492
|
} catch {
|
|
6493
6493
|
}
|
|
6494
|
-
return "0.12.
|
|
6494
|
+
return "0.12.1" ;
|
|
6495
6495
|
}
|
|
6496
6496
|
function isLocalHost(host) {
|
|
6497
6497
|
return host === "localhost" || host === "127.0.0.1" || host === "::1" || host.endsWith(".local") || host.endsWith(".localhost") || /^10\./.test(host) || /^192\.168\./.test(host) || /^172\.(1[6-9]|2\d|3[01])\./.test(host);
|
|
@@ -7349,7 +7349,7 @@ var REGISTRY_URL = `https://registry.npmjs.org/${encodeURIComponent(PKG_NAME)}`;
|
|
|
7349
7349
|
var CACHE_REL_DIR = ".config/standardagents-cli";
|
|
7350
7350
|
var CACHE_FILE = "update-check.json";
|
|
7351
7351
|
var STATE_FILE = "auto-update.json";
|
|
7352
|
-
var CACHE_TTL_MS = 1e3 * 60 * 60 *
|
|
7352
|
+
var CACHE_TTL_MS = 1e3 * 60 * 60 * 3;
|
|
7353
7353
|
var CHECK_TIMEOUT_MS = 4e3;
|
|
7354
7354
|
var IN_FLIGHT_TTL_MS = 15 * 60 * 1e3;
|
|
7355
7355
|
function cacheDir() {
|