Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/astercloud/aster
/ initConnection
Function
initConnection
ui/src/composables/useAgentLoop.ts:104–109 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
102
* 初始化 WebSocket 连接
103
*/
104
const
initConnection =
async
() => {
105
if
(!isConnected.value) {
106
await
connect(wsUrl);
107
}
108
return
getInstance();
109
};
110
111
/**
112
* 发送思考事件
Callers
1
execute
Function · 0.85
Calls
2
connect
Function · 0.85
getInstance
Function · 0.85
Tested by
no test coverage detected