@tiens.nguyen/gu-cli 1.0.857 → 1.0.858
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/client-expert-run.mjs +4 -1
- package/package.json +1 -1
package/client-expert-run.mjs
CHANGED
|
@@ -887,7 +887,10 @@ export async function downloadApiPackage(manifest, { onProgress = () => {} } = {
|
|
|
887
887
|
const tmpTar = join(staging, "package.tar.gz");
|
|
888
888
|
await writeFile(tmpTar, bytes);
|
|
889
889
|
onProgress(`unpacking ${bytes.length} bytes…`);
|
|
890
|
-
|
|
890
|
+
// RELATIVE NAMES, run from inside the staging dir. GNU tar (Git Bash / MSYS on Windows, often first
|
|
891
|
+
// on PATH) reads "C:\\x\\package.tar.gz" as host:file and tries to reach a machine called "C", which
|
|
892
|
+
// ends in "gzip: stdin: unexpected end of file". A path with no drive letter works for GNU and bsdtar.
|
|
893
|
+
await run("tar", ["xzf", "package.tar.gz", "-C", "."], { cwd: staging });
|
|
891
894
|
await rm(tmpTar, { force: true });
|
|
892
895
|
await rm(dir, { recursive: true, force: true });
|
|
893
896
|
await mkdir(join(homedir(), ".gonext", "api"), { recursive: true });
|
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.858",
|
|
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",
|