@hmharness/cli 0.16.1 → 0.16.2
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/update-check.js +3 -1
- package/package.json +3 -3
package/dist/update-check.js
CHANGED
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
import { readFile, writeFile, mkdir } from 'node:fs/promises';
|
|
9
9
|
import { join } from 'node:path';
|
|
10
10
|
const REGISTRY = 'https://registry.npmjs.org/-/package/@hmharness/cli/dist-tags';
|
|
11
|
-
|
|
11
|
+
// 5 minutes for auto-update mode (fresh enough to catch new releases same-session);
|
|
12
|
+
// the check is a single lightweight GET, not worth caching longer
|
|
13
|
+
const CACHE_TTL_MS = 5 * 60_000;
|
|
12
14
|
/** Numeric per-component semver compare (no dependency, dot-split).
|
|
13
15
|
* Prerelease suffixes degrade to their leading number ('1-beta' -> 1) -
|
|
14
16
|
* good enough for an update hint, never claims to be full semver. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hmharness/cli",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.2",
|
|
4
4
|
"description": "hmharness command line: one-shot tasks, an interactive REPL, a fullscreen TUI, the web frontend, and direct tool invocation.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@hmharness/kernel": "0.9.5",
|
|
47
|
-
"@hmharness/observability": "0.7.
|
|
47
|
+
"@hmharness/observability": "0.7.2",
|
|
48
48
|
"@hmharness/evolution": "0.14.18",
|
|
49
49
|
"@hmharness/domain-harmony": "0.13.7",
|
|
50
50
|
"@hmharness/domain-ops": "0.8.2",
|
|
51
51
|
"@hmharness/agent": "0.14.15",
|
|
52
|
-
"@hmharness/evaluation": "0.8.
|
|
52
|
+
"@hmharness/evaluation": "0.8.3",
|
|
53
53
|
"@hmharness/web": "0.9.3",
|
|
54
54
|
"@hmharness/sandbox": "0.8.3"
|
|
55
55
|
}
|