Update CLI chat session bridge (#697)
* feat: add CLI chat sessions with Python agent bridge Introduce a new CLI chat mode that connects Web UI directly to Hermes Agent's AIAgent via a Python bridge subprocess and Socket.IO, bypassing the API Server /v1/responses path. Supports streaming, slash commands (/new, /undo, /retry, /branch, /compress, /save, /title), interrupt, and steer. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * feat: update CLI chat session bridge * fix: extend agent bridge startup timeouts * docs: update bridge chat session design * feat: align bridge compression and provider registry * chore: bump version to 0.5.20 --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -424,7 +424,13 @@ export class GroupChatServer {
|
||||
const servers = Array.isArray(httpServers) ? httpServers : [httpServers]
|
||||
|
||||
this.io = new Server(servers[0], {
|
||||
cors: { origin: '*' }
|
||||
cors: { origin: '*' },
|
||||
pingInterval: 25_000,
|
||||
pingTimeout: 90_000,
|
||||
connectionStateRecovery: {
|
||||
maxDisconnectionDuration: 2 * 60_000,
|
||||
skipMiddlewares: true,
|
||||
},
|
||||
})
|
||||
servers.slice(1).forEach((httpServer) => this.io.attach(httpServer))
|
||||
this.nsp = this.io.of('/group-chat')
|
||||
|
||||
Reference in New Issue
Block a user