Extract the monolithic local_connector.rs / local-connector.ts into
separate modules organized by responsibility:
- catalog β static tool/resource catalog and tool/list declarations
- state β in-memory store types (LocalConnectorState, RoomKey, etc.)
- inputs β per-tool deserialization input shapes
- views β structured result types returned to callers
- projection β pure ADP record β room-state projection rules
- engine (TS) / mod (Rust) β LocalConnector orchestration
No behavioral changes. Both SDKs mirrored: catalog/inputs/projection/
state/views submodules in Rust and TypeScript.
Co-Authored-By: Anda Bot <noreply@anda.bot>