feat: add WorkBuddy agent support#525
Open
arbing wants to merge 4 commits into
Open
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 (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.