fix: update assignTask to use BufferAccumulator API

- Fix TypeScript error: assignTask() was still using string assignment
- Add extended timeout to session.test.ts afterAll hook to prevent
  flaky test failures during cleanup

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
arkonandClaude Opus 4.5 committed 2026-01-21 05:10:57 +01:00
1 parent d15cda0042
commit 78ee062c4d
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -1317,9 +1317,9 @@ export class Session extends EventEmitter {
assignTask(taskId: string): void {
this._currentTaskId = taskId;
this._status = 'busy';
this._terminalBuffer = '';
this._terminalBuffer.clear();
this._outputBuffer = '';
this._textOutput = '';
this._textOutput.clear();
this._errorBuffer = '';
this._messages = [];
this._lastActivityAt = Date.now();