Mike
297bd8f533
fix(team): cap renderer IPC payloads to prevent OOM crashes
...
Users with long-running teams (37+ tasks, 10+ agents for an hour) were
hitting constant renderer crashes (issue #36 ). Two hot paths were
serializing unbounded histories across IPC on every tick:
- Provisioning progress: emitLogsProgress and updateProgress both
joined the full provisioningOutputParts array (~20 event-driven call
sites) plus the full CLI log tail, then fanned that out to the
renderer. After an hour, each tick shipped multi-megabyte payloads
and Zustand OOM'd on the immutable state clone.
- Session detail cache: SessionDetail.messages (the raw parsed JSONL)
was being cached and returned over IPC/HTTP even though the renderer
only reads session/chunks/processes/metrics. This roughly doubled
the per-entry cache footprint on large sessions.
Fixes:
- Add progressPayload helpers that cap the log tail to 200 lines and
assistant output to the last 20 parts; empty/whitespace joins
collapse to undefined so the noop guard is explicit rather than
coincidental.
- Apply the cap inside emitLogsProgress, updateProgress, and the two
inline emission paths (stall warning, retry error). Throttle the
log-progress tick 300ms -> 1000ms so Zustand can keep up.
- Add stripSessionDetailMessages and call it at every SessionDetail
production site that crosses IPC/HTTP (both sessions.ts routes,
both cache stores).
- Raise MAX_CACHE_SESSIONS 5 -> 20 now that the per-entry SessionDetail
footprint is bounded. Previously 5 forced constant re-parsing on
every session switch.
Tests: 15 new unit tests covering the helpers (tail slicing, empty
parts, whitespace-only parts, non-mutation of inputs).
2026-04-18 17:44:39 +05:00
777genius
60f946b75e
chore(package): update version to 1.3.0
2026-04-18 12:13:03 +03:00
777genius
1a04b49d24
fix(team): support anthropic opus 4.7 team models
2026-04-18 12:09:26 +03:00
777genius
aa46d439ce
fix(build): allow cpu-features install script
2026-04-18 11:58:56 +03:00
777genius
78c6824d69
feat(team): merge live lead messages and repair transcript resolution
2026-04-18 11:02:21 +03:00
777genius
72f8d4e786
Merge remote-tracking branch 'origin/dev' into dev
2026-04-18 10:38:21 +03:00
777genius
787f5f28ed
chore: rename app branding to Agent Teams UI
2026-04-18 10:34:47 +03:00
SardorBek Sattarov
a42ab3096f
feat(team): auto-resume rate-limited teams when the limit resets
2026-04-18 10:21:23 +03:00
777genius
da9cb93e93
test(ci): stabilize file watcher first-read timing
2026-04-17 23:12:01 +03:00
777genius
94f41ed5a5
test(ci): normalize extension path mocks on windows
2026-04-17 22:59:10 +03:00
777genius
18d9f2b4a4
fix(ci): restore workspace checks
2026-04-17 22:45:19 +03:00
777genius
c70ebfe9a5
fix(extensions): clarify multimodel plugin roadmap
2026-04-17 21:36:16 +03:00
777genius
79050cc318
fix(extensions): tone down script-only skill advisories
2026-04-17 21:32:04 +03:00
777genius
0648509a82
fix(extensions): keep provider placeholders during bootstrap
2026-04-17 21:17:47 +03:00
777genius
6f4fd254cf
fix(extensions): show provider loading placeholders
2026-04-17 21:10:26 +03:00
777genius
14ee2fc550
fix(extensions): reset stale codex skill filters
2026-04-17 21:07:11 +03:00
777genius
b0c4319ba3
fix(extensions): wait for runtime hydration before mcp diagnostics
2026-04-17 21:05:27 +03:00
777genius
f8c11af5b9
fix(extensions): harden mcp diagnostics runtime guards
2026-04-17 21:03:12 +03:00
777genius
c17a08c2d3
fix(extensions): use legacy-safe provider capability fallback
2026-04-17 21:00:23 +03:00
777genius
19c6144ef5
fix(extensions): keep skills banner provider-aware
2026-04-17 20:57:59 +03:00
777genius
4775d4bc45
fix(extensions): use runtime-aware detail copy
2026-04-17 20:55:22 +03:00
777genius
767dfde4cb
fix(extensions): use provider-aware runtime copy
2026-04-17 20:51:25 +03:00
777genius
0287f83274
fix(extensions): avoid misleading mcp diagnostics command copy
2026-04-17 20:30:09 +03:00
777genius
e2c5c8e99b
fix(extensions): avoid success banner when no visible providers remain
2026-04-17 20:28:35 +03:00
777genius
7c21d14bdf
fix(extensions): keep dashboard banner provider-aware
2026-04-17 20:26:44 +03:00
777genius
1ee139b66a
fix(extensions): keep extensions entry points available before auth
2026-04-17 20:24:45 +03:00
777genius
7b16cfe73b
fix(extensions): treat multimodel flavor as runtime-aware before hydration
2026-04-17 20:22:29 +03:00
777genius
3446ef0100
fix(extensions): harden hidden provider runtime handling
2026-04-17 20:20:27 +03:00
777genius
12f6f90701
fix(extensions): hide runtime-injected mcp diagnostics
2026-04-17 20:07:35 +03:00
777genius
27a54f7f32
fix(extensions): tighten plugin applicability copy
2026-04-17 19:47:41 +03:00
777genius
88ac0acdf8
fix(extensions): preserve mcp dialog state on runtime hydration
2026-04-17 15:06:36 +03:00
777genius
1b1c27e9c6
fix(extensions): preserve api key writes on refresh failures
2026-04-17 15:03:34 +03:00
777genius
8075ed10e7
fix(extensions): enforce runtime capability guards for mcp writes
2026-04-17 14:58:09 +03:00
777genius
14a38212c2
fix(extensions): gate codex skill overlays by runtime
2026-04-17 14:51:58 +03:00
777genius
8423656b97
fix(extensions): use safe legacy multimodel capability fallback
2026-04-17 14:46:43 +03:00
777genius
5007f3eebb
fix(extensions): scope mcp api key autofill by install target
2026-04-17 14:44:05 +03:00
777genius
24782411f3
fix(extensions): scope plugin operation state by project
2026-04-17 14:39:26 +03:00
777genius
33917a3161
fix(extensions): support project-scoped api keys
2026-04-17 14:34:46 +03:00
777genius
489e3eb967
fix(extensions): scope mcp renderer state by project
2026-04-17 14:28:25 +03:00
777genius
81c59440bf
fix(extensions): harden mcp diagnostics output
2026-04-17 14:21:17 +03:00
777genius
fd4fd135a1
fix(extensions): hide gemini runtime card
2026-04-17 13:53:39 +03:00
777genius
22209ba958
feat(extensions): support multimodel global mcp scope
2026-04-17 13:23:30 +03:00
777genius
e01858ac98
feat(extensions): add codex-only skills overlays
2026-04-17 13:09:30 +03:00
777genius
f7c1dc16c4
fix(sidebar): polish project group headers
2026-04-17 12:43:51 +03:00
777genius
2bb290bf8a
fix(tasks): default global task grouping to project
2026-04-17 10:15:41 +03:00
777genius
b3427a64ab
feat(extensions): surface provider-aware capabilities in UI
2026-04-17 10:08:33 +03:00
777genius
096437b2fd
feat(extensions): add provider-aware runtime adapters
2026-04-17 10:08:13 +03:00
777genius
1de59cb84f
fix(extensions): validate skill import source paths locally
2026-04-16 23:18:02 +03:00
777genius
2cc7dc5178
fix(extensions): validate skill folder names before review
2026-04-16 23:15:09 +03:00
777genius
1d2e33f5d9
fix(extensions): preserve skill detail refresh context
2026-04-16 23:13:22 +03:00