Adds the get_project_libraries hook: the compile route reads a saved project's declared library manifest (by project_id) and uses it as the ESP-IDF resolution scope, preferring it over the client-sent manifest. So a saved project always compiles against only its own declared libraries — never another user's, or another project's, stray install in the shared dir — authoritatively from the server, independent of frontend wiring. Client-sent manifest still used for unsaved examples; None/empty → legacy scan-all. Overlay fills the hook in register_pro; OSS default is no-op (None). |
||
|---|---|---|
| .. | ||
| api | ||
| core | ||
| database | ||
| mcp | ||
| models | ||
| schemas | ||
| services | ||
| utils | ||
| __init__.py | ||
| main.py | ||