(sessionId: string, count = 1)
| 549 | // afterwards for the authoritative (un-paginated) transcript, so we only need |
| 550 | // the call to succeed here. |
| 551 | async undoSession(sessionId: string, count = 1): Promise<void> { |
| 552 | await this.http.post( |
| 553 | `/sessions/${encodeURIComponent(sessionId)}:undo`, |
| 554 | { count }, |
| 555 | ); |
| 556 | } |
| 557 | |
| 558 | // POST /sessions/{id}:fork — fork the session into a new child session. |
| 559 | async forkSession(sessionId: string, input?: { title?: string }): Promise<AppSession> { |