@demogo-cn/cli 0.2.9 → 0.2.10
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/README.md +1 -2
- package/lib/core.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ DemoGo CLI lets AI coding tools publish a local project to DemoGo and return a s
|
|
|
6
6
|
|
|
7
7
|
Current MVP delivery uses a local install package.
|
|
8
8
|
|
|
9
|
-
1. Unzip `demogo-cli-v0.2.
|
|
9
|
+
1. Unzip `demogo-cli-v0.2.10.zip`.
|
|
10
10
|
2. Open a terminal in the extracted folder.
|
|
11
11
|
3. Run:
|
|
12
12
|
|
|
@@ -78,4 +78,3 @@ demogo deploy
|
|
|
78
78
|
The package name is `@demogo-cn/cli`; the installed command remains `demogo`.
|
|
79
79
|
If an AI coding tool cannot run `demogo` or `npx @demogo-cn/cli`, it should explain why and then use DemoGo MCP or the Agent API fallback.
|
|
80
80
|
|
|
81
|
-
|
package/lib/core.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { mkdir, readdir, readFile, stat, writeFile } from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
|
|
5
|
-
export const VERSION = "0.2.
|
|
5
|
+
export const VERSION = "0.2.10";
|
|
6
6
|
export const MAX_FILES = 800;
|
|
7
7
|
export const MAX_BYTES = 50 * 1024 * 1024;
|
|
8
8
|
|
|
@@ -352,5 +352,5 @@ function readableHttpError(status, text) {
|
|
|
352
352
|
if (status === 400) return "项目暂时不能发布,请根据 DemoGo 返回的提示修改后再试。";
|
|
353
353
|
if (text?.trim().startsWith("<")) return "服务器返回了异常页面,本次发布没有完成。";
|
|
354
354
|
return `DemoGo 发布失败:HTTP ${status}`;
|
|
355
|
-
}
|
|
355
|
+
}
|
|
356
356
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@demogo-cn/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.10",
|
|
4
4
|
"description": "DemoGo CLI for generating shareable trial links from AI-built pages.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
"node": ">=18.0.0"
|
|
15
15
|
},
|
|
16
16
|
"license": "UNLICENSED"
|
|
17
|
-
}
|
|
17
|
+
}
|