feat: add WorkBuddy agent support#525
Conversation
arbing
commented
May 21, 2026
- Register WorkBuddy as the agent type for Tencent Cloud CodeBuddy's office AI agent product.
- Use https://www.codebuddy.cn/work/ as the product reference for the WorkBuddy integration context.
- Parse WorkBuddy JSONL transcripts, including user and assistant messages, tool calls, tool results, token usage, and subagent relationships.
- Discover WorkBuddy project sessions under .workbuddy/projects and wire them into incremental sync and source lookup.
- Expose WorkBuddy in README, CLI environment variable help, settings, and frontend agent metadata.
- Register WorkBuddy as the agent type for Tencent Cloud CodeBuddy's office AI agent product. - Use https://www.codebuddy.cn/work/ as the product reference for the WorkBuddy integration context. - Parse WorkBuddy JSONL transcripts, including user and assistant messages, tool calls, tool results, token usage, and subagent relationships. - Discover WorkBuddy project sessions under .workbuddy/projects and wire them into incremental sync and source lookup. - Expose WorkBuddy in README, CLI environment variable help, settings, and frontend agent metadata.
roborev: Combined Review (
|
- Extract token metrics from regular WorkBuddy assistant message events, not only tool-call events. - Cover assistant text response usage so session totals include both text and tool-call output tokens.
- Point the WorkBuddy projects directory to the empty e2e fixture directory. - Prevent the test server from reading real local WorkBuddy sessions.
roborev: Combined Review (
|
- Normalize OpenAI-style prompt tokens to avoid double-counting cached tokens - Add a WorkBuddy rawUsage regression test for cached token totals
roborev: Combined Review (
|
roborev: Combined Review (
|
- Switch WorkBuddy projects to recursive watching so nested session file updates are not missed - Add a registry regression test to keep WorkBuddy off shallow watching
roborev: Combined Review (
|
- Reject invalid WorkBuddy subagent IDs before resolving source files - Validate nested WorkBuddy layout before assigning parent sessions - Derive WorkBuddy projects from configured roots during single-session sync
roborev: Combined Review (
|