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
+4 -10
View File
@@ -4314,7 +4314,7 @@ NOW: Generate the implementation plan for the task above. Think step by step.`;
private getSessionStateWithRespawn(session: Session) {
const controller = this.respawnControllers.get(session.id);
return {
...session.toDetailedState(),
...session.toLightDetailedState(),
respawnEnabled: controller?.getConfig()?.enabled ?? false,
respawnConfig: controller?.getConfig() ?? null,
respawn: controller?.getStatus() ?? null,
@@ -4327,15 +4327,9 @@ NOW: Generate the implementation plan for the task above. Think step by step.`;
* on-demand when switching tabs via /api/sessions/:id/buffer
*/
private getLightSessionsState() {
return Array.from(this.sessions.values()).map(s => {
const state = this.getSessionStateWithRespawn(s);
return {
...state,
// Exclude full buffers - they're fetched on-demand
terminalBuffer: '',
textOutput: '',
};
});
// getSessionStateWithRespawn already uses toLightDetailedState() which
// excludes terminalBuffer and textOutput — no extra stripping needed
return Array.from(this.sessions.values()).map(s => this.getSessionStateWithRespawn(s));
}
// Clean up old completed scheduled runs