aegis-bridge 2.5.3 → 2.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -128,10 +128,14 @@ export declare const persistedStateSchema: z.ZodRecord<z.ZodString, z.ZodObject<
128
128
  byteOffset: z.ZodNumber;
129
129
  monitorOffset: z.ZodNumber;
130
130
  status: z.ZodEnum<{
131
+ error: "error";
131
132
  unknown: "unknown";
132
133
  permission_prompt: "permission_prompt";
133
134
  idle: "idle";
134
135
  working: "working";
136
+ compacting: "compacting";
137
+ context_warning: "context_warning";
138
+ waiting_for_input: "waiting_for_input";
135
139
  bash_approval: "bash_approval";
136
140
  plan_mode: "plan_mode";
137
141
  ask_question: "ask_question";
@@ -121,8 +121,9 @@ export function isValidUUID(id) {
121
121
  }
122
122
  // ── JSON.parse boundary validation (Issue #410) ──────────────────
123
123
  const UIStateEnum = z.enum([
124
- 'idle', 'working', 'permission_prompt', 'bash_approval',
125
- 'plan_mode', 'ask_question', 'settings', 'unknown',
124
+ 'idle', 'working', 'compacting', 'context_warning', 'waiting_for_input',
125
+ 'permission_prompt', 'bash_approval', 'plan_mode', 'ask_question',
126
+ 'settings', 'error', 'unknown',
126
127
  ]);
127
128
  /** Schema for persisted SessionState (sessions: { [id]: SessionInfo }). */
128
129
  export const persistedStateSchema = z.record(z.string(), z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aegis-bridge",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "type": "module",
5
5
  "description": "Orchestrate Claude Code sessions via API. Create, brief, monitor, refine, ship.",
6
6
  "main": "dist/server.js",