# 🚀 CodeBuddy Code v2.101.0 Release

## 📦 Version Information

| Component | Version |
|-----------|---------|
| CodeBuddy Code CLI | v2.101.0 |
| Agent SDK JS | v0.3.163 |
| Agent SDK Python | v0.3.162 |

## ✨ New Features

### Trace Error/Cancellation Observability Enhancements

The trace list now includes preview fields such as error count, first error message, and first error location. The detail page adds an error overview panel grouped by tool/agent, supporting one-click navigation to the first error span, significantly improving troubleshooting efficiency. The Web UI top bar adds status filter tabs (All / Errors / Running / Cancelled / Success), error rows are highlighted in the list, the Timeline view supports an "errors only" filter, and error messages can be copied with one click.

## 🐛 Bug Fixes

- **X-Agent-Intent Request Header**: Fixed an issue where ask mode was reported as craft; the request header now correctly reads the actual mode from session metadata
- **Blank Trace UI on Rejection**: Resolved the issue where the trace page showed no nodes when the user rejected a tool call. Added a three-level fallback mechanism to ensure cancelled spans are fully persisted, classified by actual rejection source (default reject / permission reject / plan reject / ask cancel), so the trace UI can group and filter accordingly
- **Spinner Abnormally Hidden During Synchronous Sub-agent Execution**: Fixed an issue where the main process spinner disappeared prematurely when sub-agent state mirroring failed; the loading indicator now stays in sync with running tasks
- **Protocol Prompt Rendered Verbatim After Tool Rejection**: The UI now replaces protocol-level English prompts with a brief Chinese label, avoiding leaking technical details to users
- **Visual Differentiation for Cancelled Spans**: The detail panel now displays cancelled spans with a neutral gray banner, distinct from the red error styling for actual failures, to avoid misjudgment
