@tiens.nguyen/gu-cli 1.0.794 → 1.0.795
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/gu-repl.mjs +3 -0
- package/package.json +4 -1
package/gu-repl.mjs
CHANGED
|
@@ -2240,6 +2240,9 @@ const UPDATE_CHECK_MS =
|
|
|
2240
2240
|
? Number(process.env.GONEXT_UPDATE_CHECK_MS)
|
|
2241
2241
|
: 60 * 60 * 1000;
|
|
2242
2242
|
async function refreshAvailableUpdates() {
|
|
2243
|
+
// The terminal UI tests (tests/ui) run with no network and compare whole screens: an update
|
|
2244
|
+
// notice that depends on what npm holds today would make every golden screen a coin toss.
|
|
2245
|
+
if (process.env.GU_NO_UPDATE_CHECK === "1") return;
|
|
2243
2246
|
const { updatesAvailable } = await import("./version-check.mjs");
|
|
2244
2247
|
const cliLatest = await (async () => {
|
|
2245
2248
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiens.nguyen/gu-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.795",
|
|
4
4
|
"description": "Gu CLI — the gu terminal plus the local worker that runs agent / OCR / PDF / embedding jobs on your Mac (Ollama / MLX / OpenAI-compatible).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
"postinstall": "node install-path.mjs",
|
|
22
22
|
"test": "python3 -m unittest discover tests -v && node --test",
|
|
23
23
|
"test:js": "node --test",
|
|
24
|
+
"test:ui": "node --test --test-concurrency=1 tests/ui/ui.test.mjs",
|
|
25
|
+
"ui:show": "node tests/ui/show.mjs",
|
|
26
|
+
"ui:accept": "UPDATE_UI=1 node --test --test-concurrency=1 tests/ui/ui.test.mjs",
|
|
24
27
|
"test:keys": "node --test tests/key-choice-regression.test.mjs tests/coding-key-line.test.mjs tests/coding-key-picker.test.mjs tests/coding-key-prompt.test.mjs tests/coding-key-notice.test.mjs tests/coding-key-fallback-line.test.mjs tests/manage-coding-providers.test.mjs tests/add-coding-provider.test.mjs tests/coding-provider-setup.test.mjs",
|
|
25
28
|
"deploy:local": "npm install -g .",
|
|
26
29
|
"run": "gu-cli",
|