@internal
(patch: { readonly title?: string | undefined })
| 525 | |
| 526 | /** @internal */ |
| 527 | emitMetaUpdated(patch: { readonly title?: string | undefined }): void { |
| 528 | this.emit({ |
| 529 | type: 'session.meta.updated', |
| 530 | sessionId: this.id, |
| 531 | agentId: MAIN_AGENT_ID, |
| 532 | title: patch.title, |
| 533 | patch, |
| 534 | }); |
| 535 | } |
| 536 | |
| 537 | private emit(event: Event): void { |
| 538 | this.rpc.receiveEvent(event); |