fix(coding-agent): emit session name changes to extensions
This commit is contained in:
@@ -2683,7 +2683,9 @@ export class AgentSession {
|
||||
*/
|
||||
setSessionName(name: string): void {
|
||||
this.sessionManager.appendSessionInfo(name);
|
||||
this._emit({ type: "session_info_changed", name: this.sessionManager.getSessionName() });
|
||||
const event = { type: "session_info_changed", name: this.sessionManager.getSessionName() } as const;
|
||||
this._emit(event);
|
||||
void this._extensionRunner.emit(event);
|
||||
}
|
||||
|
||||
// =========================================================================
|
||||
|
||||
Reference in New Issue
Block a user