File tree 4 files changed +12
-12
lines changed
4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ export class AgentServer {
110
110
// Only continue with server initialization after database is ready
111
111
await this . initializeServer ( options ) ;
112
112
113
+ // wait 250 ms
114
+ await new Promise ( ( resolve ) => setTimeout ( resolve , 250 ) ) ;
115
+
113
116
// Move this message here to be more accurate
114
117
console . log (
115
118
`\x1b[32mStartup successful!\nGo to the dashboard at \x1b[1m${ AGENT_RUNTIME_URL } \x1b[22m\x1b[0m`
Original file line number Diff line number Diff line change
1
+ import { USER_NAME } from '@/constants' ;
1
2
import { SOCKET_MESSAGE_TYPE } from '@elizaos/core' ;
2
3
import EventEmitter from 'eventemitter3' ;
3
4
import { io , type Socket } from 'socket.io-client' ;
4
- import { apiClient } from './api' ;
5
5
import { WorldManager } from './world-manager' ;
6
- import { USER_NAME } from '@/constants' ;
7
6
8
7
const BASE_URL = `http://localhost:${ import . meta. env . VITE_SERVER_PORT } ` ;
9
8
10
- type MessagePayload = Record < string , any > ;
11
-
12
9
/**
13
10
* SocketIOManager handles real-time communication between the client and server
14
11
* using Socket.io. It maintains a single connection to the server and allows
Original file line number Diff line number Diff line change 33
33
"prettier" : " 3.5.3"
34
34
},
35
35
"scripts" : {
36
- "start" : " npx @elizaos/cli@alpha start" ,
36
+ "start" : " npx @elizaos/cli start" ,
37
37
"test-with-cli" : " cd ../cli && bun run build && cd ../plugin-starter && elizaos test" ,
38
- "dev" : " npx @elizaos/cli@alpha dev" ,
38
+ "dev" : " npx @elizaos/cli dev" ,
39
39
"build" : " tsup" ,
40
40
"lint" : " prettier --write ./src" ,
41
- "test" : " npx @elizaos/cli@alpha test" ,
42
- "publish" : " npx @elizaos/cli@alpha plugin publish" ,
41
+ "test" : " npx @elizaos/cli test" ,
42
+ "publish" : " npx @elizaos/cli plugin publish" ,
43
43
"format" : " prettier --write ./src" ,
44
44
"format:check" : " prettier --check ./src"
45
45
},
Original file line number Diff line number Diff line change 32
32
"prettier" : " 3.5.3"
33
33
},
34
34
"scripts" : {
35
- "start" : " npx @elizaos/cli@alpha start" ,
36
- "dev" : " npx @elizaos/cli@alpha dev" ,
35
+ "start" : " npx @elizaos/cli start" ,
36
+ "dev" : " npx @elizaos/cli dev" ,
37
37
"build" : " tsup" ,
38
38
"lint" : " prettier --write ./src" ,
39
- "test" : " npx @elizaos/cli@alpha test" ,
40
- "deploy" : " npx @elizaos/cli@alpha deploy" ,
39
+ "test" : " npx @elizaos/cli test" ,
40
+ "deploy" : " npx @elizaos/cli deploy" ,
41
41
"format" : " prettier --write ./src" ,
42
42
"format:check" : " prettier --check ./src"
43
43
},
You can’t perform that action at this time.
0 commit comments