@tiens.nguyen/gu-cli 1.0.800 → 1.0.802
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/device-login.mjs +1 -1
- package/gu-repl.mjs +2 -2
- package/package.json +1 -1
package/device-login.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { homedir, platform } from "node:os";
|
|
|
8
8
|
import { join } from "node:path";
|
|
9
9
|
import dotenv from "dotenv";
|
|
10
10
|
|
|
11
|
-
export const DEFAULT_API_BASE = "https://chat-api-v2.
|
|
11
|
+
export const DEFAULT_API_BASE = "https://chat-api-v2.gucli.com";
|
|
12
12
|
const ENV_FILE = join(homedir(), ".gonext", "worker.env");
|
|
13
13
|
const POLL_INTERVAL_MS = 2500;
|
|
14
14
|
const POLL_TIMEOUT_MS = 10 * 60_000; // matches the server's pairing TTL
|
package/gu-repl.mjs
CHANGED
|
@@ -864,7 +864,7 @@ if (!workerKey || !apiBase) {
|
|
|
864
864
|
console.error(red(`gu: setup failed: ${e instanceof Error ? e.message : e}`));
|
|
865
865
|
if (e && e.code === "PAIRING_UNSUPPORTED") {
|
|
866
866
|
console.error(
|
|
867
|
-
"Configure manually: gu-cli set <workerKey> --api-base https://chat-api-v2.
|
|
867
|
+
"Configure manually: gu-cli set <workerKey> --api-base https://chat-api-v2.gucli.com"
|
|
868
868
|
);
|
|
869
869
|
}
|
|
870
870
|
if (e && (e.code === "KEY_REJECTED" || e.code === "KEY_UNCHECKED")) {
|
|
@@ -879,7 +879,7 @@ if (!workerKey || !apiBase) {
|
|
|
879
879
|
console.error(
|
|
880
880
|
red("gu: no worker key / API base found.") +
|
|
881
881
|
`\nRun ${accent("gu-cli login")} to sign in, or configure manually:` +
|
|
882
|
-
"\n gu-cli set <workerKey> --api-base https://chat-api-v2.
|
|
882
|
+
"\n gu-cli set <workerKey> --api-base https://chat-api-v2.gucli.com"
|
|
883
883
|
);
|
|
884
884
|
process.exit(1);
|
|
885
885
|
}
|
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.802",
|
|
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",
|