Support agent status hooks over SSH (#1865)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Brennan Benson
2026-05-14 16:06:23 -07:00
committed by GitHub
co-authored by Orca
parent dcf5bf0dce
commit 2cadcbc4e1
31 changed files with 2829 additions and 158 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ const MAX_WARNED_KEYS = 32
export const HOOK_REQUEST_SLOWLORIS_MS = 5_000
/** Bound paneKey size — `${tabId}:${paneId}` is well under 200 chars in
* practice; cap defends per-pane caches against pathological input. */
* practice; cap defends per-pane caches against pathological input.
* Exported so non-HTTP ingest paths (e.g. Orca's `ingestRemote`) can apply
* the same cap as defense-in-depth. */
export const MAX_PANE_KEY_LEN = 200
/** Per-listener-instance state that holds caches needing per-PTY teardown