pull/21111/merge
Shawn 2026-04-08 07:13:31 +00:00 committed by GitHub
commit dd0a0a7d65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

View File

@ -532,6 +532,26 @@ export namespace ACP {
}
return
}
case "session.updated": {
const props = event.properties
const session = this.sessionManager.tryGet(props.sessionID)
if (!session) return
if (!props.info.title) return
await this.connection
.sessionUpdate({
sessionId: session.id,
update: {
sessionUpdate: "session_info_update",
title: props.info.title,
updatedAt: new Date(props.info.time.updated).toISOString(),
},
})
.catch((error) => {
log.error("failed to send session_info_update to ACP", { error })
})
return
}
}
}