Spaces:
Runtime error
Runtime error
Commit History
-
Refactor backend: split routes, add services & tests
Restructure the backend into modular API route files and core services. Added new FastAPI route modules (assets, chat, execution, history, sessions, specs) and supporting core modules (config, logging, errors, url_guard) plus LLM integration client and many service updates (api_executor, chat_assistant, llm_planner, response_analyzer). Implemented SSRF protection, rate limiting, spec upload/parse, execution planning and analysis, media hub asset handling, session/context endpoints, and exportable history. Added tests, pytest.ini, updated requirements and .gitignore, removed .env.example, and added documentation/plans/screenshots and upload placeholders. Overall prepares the project for clearer separation of concerns, improved security, and test coverage.ef865f2
-
Add collections scoped to specs and UI support
Introduce collection scoping and collection management across backend and frontend. Backend: add spec_id FK to Collection, accept collection_id on asset upload, infer spec from collection when needed, link assets to collections, return collection_ids with assets, add list/create/delete collection endpoints (with optional spec filtering), reset upload file cursor, and improve spec deletion to delete assets via AssetService and remove spec file from storage. AssetService: validate Supabase key more robustly, persist collection relationships, filter collections/assets to include global or spec-scoped items, and add delete_collection. Frontend: pass active spec into MediaHub, refetch when spec changes, allow selecting/creating/deleting collections, include collection in uploads, and update API client methods to send/receive collection and spec_id data. These changes enable per-spec collections and UI management of collections and asset assignments.481e01c -
Refactor UI to theme variables + add Settings
Replace many hard-coded colors/styles with CSS custom properties and restyle the app for a cohesive theme (App.jsx, index.css, CollectionsPage, HistoryPage, MediaHubPage, ProfilePage). Add new SettingsPage component and wire it into the main app navigation. Improve activity bar icons, header/footers, OTP modal, right-sidebar styling, buttons, and chat input layout. Add a Getting Started section to frontend README and include a Supabase implementation plan file. Co-Authored-By: Amit Chakradeo <9371+amit@users.noreply.github.com>7457a6f
-
Clean and flattened project initialization
3c8d218