cherry-studio/src
Vaayne aaba77c360 feat: add comprehensive PUT/PATCH support for agents and sessions APIs
- Add PATCH method to agents API for partial updates alongside existing PUT
- Add PUT method to sessions API for complete replacement alongside existing PATCH
- Update API documentation with clear PUT vs PATCH usage examples
- Refactor session status updates to use standard PATCH endpoint
- Ensure both methods use same validation middleware for consistency
- Add comprehensive Swagger documentation for new endpoints

This provides REST-compliant update operations where:
- PUT: Complete resource replacement (idempotent)
- PATCH: Partial resource updates (only specified fields)

Both agents and sessions now support flexible update patterns for different use cases.
2025-09-14 10:17:45 +08:00
..
main feat: add comprehensive PUT/PATCH support for agents and sessions APIs 2025-09-14 10:17:45 +08:00
preload feature: add option to change font (#10133) 2025-09-13 20:36:13 +08:00
renderer refactor(agents): migrate agent hooks to react-query and reorganize structure 2025-09-14 09:51:00 +08:00