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.
- package/dashboard/dist/assets/{index-DxAes2EQ.js → index-DIyuyrlO.js} +47 -47
- package/dashboard/dist/index.html +1 -1
- package/dist/auth.d.ts +3 -2
- package/dist/auth.js +42 -29
- package/dist/channels/webhook.d.ts +2 -0
- package/dist/channels/webhook.js +49 -13
- package/dist/dashboard/assets/{index-DxAes2EQ.js → index-DIyuyrlO.js} +47 -47
- package/dist/dashboard/index.html +1 -1
- package/dist/hook-settings.js +23 -3
- package/dist/jsonl-watcher.js +9 -2
- package/dist/pipeline.js +10 -0
- package/dist/server.js +32 -7
- package/dist/session.d.ts +5 -1
- package/dist/session.js +75 -20
- package/dist/sse-writer.js +1 -1
- package/dist/ssrf.d.ts +19 -2
- package/dist/ssrf.js +38 -6
- package/dist/tmux.d.ts +8 -7
- package/dist/tmux.js +51 -36
- package/dist/transcript.js +12 -8
- package/dist/validation.d.ts +4 -0
- package/dist/validation.js +3 -2
- package/package.json +1 -1
package/dist/validation.d.ts
CHANGED
|
@@ -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";
|
package/dist/validation.js
CHANGED
|
@@ -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', '
|
|
125
|
-
'
|
|
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({
|