@demogo-cn/cli 0.3.5 → 0.4.1
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 +3 -2
- package/lib/core.js +2 -1
- package/package.json +2 -1
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.
|
|
9
|
+
1. Unzip `demogo-cli-v0.4.1.zip`.
|
|
10
10
|
2. Open a terminal in the extracted folder.
|
|
11
11
|
3. Run:
|
|
12
12
|
|
|
@@ -60,7 +60,7 @@ Project names are used for display in the DemoGo workbench. Every first publish
|
|
|
60
60
|
|
|
61
61
|
DemoGo supports static pages, single HTML pages, built frontend output, frontend source projects that can build static output, and Node.js single-service trial projects when the platform reports that the Node runtime is available. Node.js projects must provide a start command and listen on `process.env.PORT`.
|
|
62
62
|
|
|
63
|
-
DemoGo does not currently
|
|
63
|
+
DemoGo can allocate an empty MySQL trial database for supported Node.js single-service projects. It does not currently run Redis, MongoDB, PostgreSQL, multi-service apps, WebSocket, or SSR runtimes such as Next/Nuxt/Remix server mode.
|
|
64
64
|
|
|
65
65
|
## npm / npx Status
|
|
66
66
|
|
|
@@ -80,3 +80,4 @@ demogo deploy
|
|
|
80
80
|
The package name is `@demogo-cn/cli`; the installed command remains `demogo`.
|
|
81
81
|
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.
|
|
82
82
|
|
|
83
|
+
|
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.
|
|
5
|
+
export const VERSION = "0.4.1";
|
|
6
6
|
export const MAX_FILES = 800;
|
|
7
7
|
export const MAX_BYTES = 50 * 1024 * 1024;
|
|
8
8
|
|
|
@@ -375,3 +375,4 @@ function readableHttpError(status, text) {
|
|
|
375
375
|
return `DemoGo 发布失败:HTTP ${status}`;
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
+
|
package/package.json
CHANGED