feat: update WebSocket connection and add system version sending functionality
- Changed WebSocket connection URL to localhost for testing. - Added a function to send system version to the server upon connection and after a delay. - Improved logging for received messages. chore: update package dependencies - Bump versions for several dependencies including @kevisual/query, lucide-react, vue, and others. - Update package manager version to pnpm@10.26.1. fix: adjust app initialization to use sessionStorage - Modified the app initialization to use a custom sessionStorage implementation backed by an LRU cache. feat: implement sessionStorage with LRU cache - Added a new module for sessionStorage that utilizes LRUCache for efficient caching.
This commit is contained in:
@@ -38,8 +38,12 @@ export const runServer = async (port: number = 51015, listenPath = '127.0.0.1')
|
||||
console.log(`Server is running on ${protocol}://${listenPath}:${_port}`);
|
||||
});
|
||||
}
|
||||
app.server.on(proxyRoute);
|
||||
proxyWs();
|
||||
app.server.on([{
|
||||
id: 'all',
|
||||
func: proxyRoute as any
|
||||
},
|
||||
...proxyWs()
|
||||
]);
|
||||
const manager = new AssistantApp(assistantConfig, app);
|
||||
setTimeout(() => {
|
||||
manager.load({ runtime: 'client' }).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user