@vectorx/xhs-cloud-cli 0.1.2 → 0.3.0
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.
|
@@ -45,6 +45,7 @@ let AgentDevCommand = class AgentDevCommand extends base_1.Command {
|
|
|
45
45
|
simulatorPort: options.simulatorport ? Number.parseInt(options.simulatorport) : undefined,
|
|
46
46
|
watch: options.watch,
|
|
47
47
|
open: false,
|
|
48
|
+
enableRedLangfuse: Boolean(options.enableRedLangfuse),
|
|
48
49
|
});
|
|
49
50
|
if (options.open) {
|
|
50
51
|
log.info(`${prefix} 正在打开浏览器访问 localhost:${simulatorPort}`);
|
|
@@ -94,6 +95,10 @@ let AgentDevCommand = class AgentDevCommand extends base_1.Command {
|
|
|
94
95
|
flags: "-w, --watch",
|
|
95
96
|
desc: "启用文件监听模式,文件变化时自动重启服务",
|
|
96
97
|
},
|
|
98
|
+
{
|
|
99
|
+
flags: "--enableRedLangfuse",
|
|
100
|
+
desc: "开启 Red Langfuse 上报",
|
|
101
|
+
},
|
|
97
102
|
],
|
|
98
103
|
};
|
|
99
104
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vectorx/xhs-cloud-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "xhs-cloud-cli 主要用于如下场景: - agent 调试、发布 - cloud 云函数的调试、部署",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@koa/router": "^12.0.1",
|
|
19
|
-
"@vectorx/agent-simulator": "0.
|
|
20
|
-
"@vectorx/cloud-toolkit": "0.
|
|
21
|
-
"@vectorx/functions-framework": "0.
|
|
19
|
+
"@vectorx/agent-simulator": "0.3.0",
|
|
20
|
+
"@vectorx/cloud-toolkit": "0.3.0",
|
|
21
|
+
"@vectorx/functions-framework": "0.3.0",
|
|
22
22
|
"address": "^1.1.2",
|
|
23
23
|
"archiver": "^6.0.1",
|
|
24
24
|
"camelcase-keys": "^7.0.2",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"koa": "^2.16.1",
|
|
41
41
|
"koa-body": "^6.0.1",
|
|
42
42
|
"koa-bodyparser": "^4.4.1",
|
|
43
|
+
"langfuse": "^3.38.4",
|
|
43
44
|
"lodash": "^4.17.21",
|
|
44
45
|
"log-symbols": "^3.0.0",
|
|
45
46
|
"lowdb": "^1.0.0",
|