yaver-cli 1.99.373 → 1.99.375
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/package.json +1 -1
- package/src/agent-runtime.js +5 -1
- package/src/update-check.js +1 -1
package/package.json
CHANGED
package/src/agent-runtime.js
CHANGED
|
@@ -8,7 +8,11 @@ const semver = require('semver');
|
|
|
8
8
|
|
|
9
9
|
const PACKAGE = require('../package.json');
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
// Canonical repo lives in the yaver-io org since 2026-07-17. GitHub
|
|
12
|
+
// redirects the old kivanccakmak path for git, but API errors echo the
|
|
13
|
+
// stale owner ("release lookup failed (403) from kivanccakmak/yaver.io"),
|
|
14
|
+
// so resolve releases from the canonical path directly.
|
|
15
|
+
const DEFAULT_REPO = process.env.YAVER_AGENT_REPO || 'yaver-io/yaver.io';
|
|
12
16
|
const WINDOWS_REPO = process.env.YAVER_WINDOWS_AGENT_REPO || 'kivanccakmak/yaver-cli';
|
|
13
17
|
const CACHE_ROOT = process.env.YAVER_AGENT_CACHE_DIR || path.join(os.homedir(), '.yaver', 'bin');
|
|
14
18
|
let resolvedAgentVersionPromise = null;
|
package/src/update-check.js
CHANGED
|
@@ -20,7 +20,7 @@ const STATE_DIR = path.join(os.homedir(), '.yaver');
|
|
|
20
20
|
const STATE_FILE = path.join(STATE_DIR, 'update-check.json');
|
|
21
21
|
const CHECK_INTERVAL_MS = 8 * 60 * 60 * 1000; // 8h
|
|
22
22
|
const FETCH_TIMEOUT_MS = 1500;
|
|
23
|
-
const RELEASES_URL = 'https://github.com/
|
|
23
|
+
const RELEASES_URL = 'https://github.com/yaver-io/yaver.io/releases';
|
|
24
24
|
|
|
25
25
|
function readState() {
|
|
26
26
|
try { return JSON.parse(fs.readFileSync(STATE_FILE, 'utf8')); } catch { return {}; }
|