This commit adds comprehensive API process functionality including:
- Remote streaming support
- Session management and context handling
- Media type support (video/audio/image)
- Asset management and path isolation
- Workflow refactoring and optimization
- Security improvements and state violation handling
- Gallery and image resolution features
- Audio support
- Analysis tools
- Version guard
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* api: add WebSocket /ping endpoint and update session guard to support WebSocket subprotocol auth; add tests (test_api_ping.py)
* Initial websocket support using ping
* Initial websocket support using ping
* Initial websocket support using ping
* Combine imports
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Add API scopes
* Remove system memory limit (#986)
# Conflicts:
# facefusion/program.py
* Add session_id, make token size more reasonable (#983)
* Add session_id, make token size more reasonable
* Use more direct approach
* Fix more stuff
* Fix ignore comments
* Fix naming
* Fix lint
* Introduce API scelleton
* Raw impl for session
* Simple state endpoint
* Apply _body naming
* Finalize session testing and comment out tons of useless code
* Clean and refactor part1
* Clean and refactor part2
* Clean and refactor part2
* Clean and refactor part2
* Clean and refactor part2
* Refactor middleware
* Refactor middleware
* Clean and refactor part3
* TDD and 2 beers
* TDD and 2 beers
* Complete state endpoints
* You can only set what is already present
* Use only JSON as response
* Use default logger
* Improve auth extraction
* Extend api command with more args
* Adjust API messages