mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-05 20:44:07 +08:00
- Introduced a new `Task` presentation type in the `ToolCallStream` to handle task-related projections. - Implemented the `TaskProjection` struct with fields for description, prompt, subagent type, model, resume, and environment. - Added a `project` method to `TaskProjection` to process task-related events and generate interaction updates. - Created a `task_partial` function to format task updates for the agent server message. - Included unit tests to verify the correct behavior of task description projections.