@agentscope-ai/chat 1.1.32 → 1.1.34
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/bin/cli.js +4 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
1
3
|
// const { program } = require('commander');
|
|
2
4
|
const { execSync } = require('child_process');
|
|
3
5
|
|
|
@@ -16,14 +18,14 @@ async function startServer() {
|
|
|
16
18
|
try {
|
|
17
19
|
|
|
18
20
|
try {
|
|
19
|
-
execSync('git clone https://github.com/
|
|
21
|
+
execSync('git clone https://github.com/lishengzxc/agentscope-runtime.git -b dev', {
|
|
20
22
|
stdio: 'inherit',
|
|
21
23
|
})
|
|
22
24
|
|
|
23
25
|
} catch (error) {}
|
|
24
26
|
|
|
25
27
|
execSync(
|
|
26
|
-
'cd agentscope-runtime/web/starter_webui && npm install && npm run dev',
|
|
28
|
+
'cd agentscope-runtime/web/starter_webui && npm install && BASE_URL=http://localhost:3000 TOKEN=123456 npm run dev',
|
|
27
29
|
{
|
|
28
30
|
stdio: 'inherit',
|
|
29
31
|
},
|