mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 21:49:42 +02:00
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:
+2
-2
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user