@tiens.nguyen/gu-cli 1.0.879 → 1.0.880
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 -1
- package/package.json +1 -1
package/gu-repl.mjs
CHANGED
|
@@ -8983,7 +8983,9 @@ async function askKeyName(prompt = " key name: ") {
|
|
|
8983
8983
|
*/
|
|
8984
8984
|
async function askServerKey({ host = "", nameHint = '"work", "personal"', optional = false } = {}) {
|
|
8985
8985
|
const ps = await import("./coding-provider-setup.mjs");
|
|
8986
|
-
|
|
8986
|
+
// Esc is said here (#249): the prompt that follows is bare text, with nothing on it saying a
|
|
8987
|
+
// way out exists — Esc cancels the whole add, nothing saved.
|
|
8988
|
+
console.log("\n" + GUTTER + dim(`A name just tells keys apart — ${nameHint}. Esc to cancel.`));
|
|
8987
8989
|
const name = (await askKeyName()).trim();
|
|
8988
8990
|
console.log(GUTTER + dim(SECRET_KEY_HINT));
|
|
8989
8991
|
const secret = (await askSecret(` API key${host ? ` for ${host}` : ""}${name ? ` (${name})` : ""}: `)).trim();
|
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.880",
|
|
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",
|