core-agent-ide/codex-rs/app-server/src
Max Johnson c0ecc2e1e1
app-server: thread resume subscriptions (#11474)
This stack layer makes app-server thread event delivery connection-aware
so resumed/attached threads only emit notifications and approval prompts
to subscribed connections.

- Added per-thread subscription tracking in `ThreadState`
(`subscribed_connections`) and mapped subscription ids to `(thread_id,
connection_id)`.
- Updated listener lifecycle so removing a subscription or closing a
connection only removes that connection from the thread’s subscriber
set; listener shutdown now happens when the last subscriber is gone.
- Added `connection_closed(connection_id)` plumbing (`lib.rs` ->
`message_processor.rs` -> `codex_message_processor.rs`) so disconnect
cleanup happens immediately.
- Scoped bespoke event handling outputs through `TargetedOutgoing` to
send requests/notifications only to subscribed connections.
- Kept existing threadresume behavior while aligning with the latest
split-loop transport structure.
2026-02-11 16:21:13 -08:00
..
bespoke_event_handling.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00
codex_message_processor.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00
config_api.rs feat(core): add network constraints schema to requirements.toml (#10958) 2026-02-07 19:48:24 +00:00
dynamic_tools.rs feat(app-server, core): allow text + image content items for dynamic tool outputs (#10567) 2026-02-04 16:12:47 -08:00
error_code.rs Reapply "Add app-server transport layer with websocket support" (#11370) 2026-02-11 18:13:39 +00:00
filters.rs [app-server] feat: add filtering on thread list (#9897) 2026-01-26 21:54:19 +00:00
fuzzy_file_search.rs file-search: multi-root walk (#10240) 2026-01-30 22:20:23 +00:00
lib.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00
main.rs Reapply "Add app-server transport layer with websocket support" (#11370) 2026-02-11 18:13:39 +00:00
message_processor.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00
models.rs Feat: add upgrade to app server modelList (#10556) 2026-02-03 14:53:36 -08:00
outgoing_message.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00
thread_state.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00
transport.rs app-server: thread resume subscriptions (#11474) 2026-02-11 16:21:13 -08:00