mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-07 16:09:43 +02:00
chore: bump version to 0.1503
This commit is contained in:
+13
-2
@@ -754,14 +754,25 @@ export class Session extends EventEmitter {
|
||||
}
|
||||
|
||||
toDetailedState() {
|
||||
return {
|
||||
...this.toLightDetailedState(),
|
||||
textOutput: this._textOutput.value,
|
||||
terminalBuffer: this._terminalBuffer.value,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Lightweight detailed state that excludes heavy buffers (textOutput, terminalBuffer).
|
||||
* Use for SSE session:updated broadcasts where buffers aren't needed.
|
||||
* Full buffers are fetched on-demand via /api/sessions/:id/terminal.
|
||||
*/
|
||||
toLightDetailedState() {
|
||||
return {
|
||||
...this.toState(),
|
||||
name: this._name,
|
||||
mode: this.mode,
|
||||
claudeSessionId: this._claudeSessionId,
|
||||
totalCost: this._totalCost,
|
||||
textOutput: this._textOutput.value,
|
||||
terminalBuffer: this._terminalBuffer.value,
|
||||
messageCount: this._messages.length,
|
||||
isWorking: this._isWorking,
|
||||
lastPromptTime: this._lastPromptTime,
|
||||
|
||||
Reference in New Issue
Block a user