chore: bump version to 0.1503

This commit is contained in:
arkon
2026-02-13 21:07:49 +01:00
parent d63fe2063f
commit 26373aabd0
6 changed files with 193 additions and 83 deletions
+13 -2
View File
@@ -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,