Files
DeepTutor/scripts
AleFlyX 44a0558305 fix: export the socket namespace under the lazy router profile
`DEEPTUTOR_CHAT_ENGINE=typescript-native` builds the app with `lazy=True`, and
in that profile RouterLoader stores routing patterns on a DeferredRouter
instead of the routers themselves, so `_router_loader.records` stays empty.
collect_api() reads the socket routes from those records because OpenAPI has
no socket namespace, so under that profile the artifact would lose all nine
paths.

Pin the eager loader before anything imports the app, the way
scripts/build_router_index.py already does. Verified by running `--check` in
both profiles: without the pin the lazy profile reports drift, with it both
report the committed surface.
2026-11-26 21:35:51 +08:00
..
2026-06-11 20:03:34 +08:00
2026-09-06 13:46:29 +08:00
2026-06-14 00:53:57 +08:00
2026-06-14 00:53:57 +08:00
2026-08-02 13:07:32 +08:00
2026-05-12 02:20:30 +08:00