WorkBuddy AI has no check-in; its daily credit follows a finished chat in the official client. The reporters' capture shows the official chat body carries extra_vars.growthEvent, a JSON string array holding one chat_request_send event (conversation id, input length, model id and name, mode "craft"), and initiator "user". The WorkBuddy AI CLI 5.6.2 builds the same event in reportChatRequestSendTelemetry/appendGrowthEvent. The plugin now adds that event to every WorkBuddy AI chat (the CN site is unchanged), keeps any events and initiator the caller already sent, gives the event the retrying account's conversation on a retry, and inserts extra_vars into the body as text so the rest of it goes as written (#461). initiator comes from the 5.9.4 capture; the 5.6.2 CLI doesn't set it. Run (WSL, Bun 1.4.2, temp HOME): - bun test packages: 366 pass, 0 fail (6 new in growth.test.mjs). - bun scripts/check.mjs workbuddy: ok. Broken by hand on a separate test Mac: dropping the event, the initiator, the retry rewrite or the text insert: 6 fail, then restored. Not tried: a real WorkBuddy AI account. Whether the next day's credit lands is unproven, so #691 stays open for the reporters. Reported-by: xxhhlk Reported-by: dgqyushen
27 lines
669 B
JSON
27 lines
669 B
JSON
{
|
|
"name": "@magpie-community/opencode-workbuddy-auth",
|
|
"version": "0.2.31",
|
|
"description": "OpenCode provider plugins for WorkBuddy's plans: WorkBuddy (CodeBuddy, copilot.tencent.com) and WorkBuddy AI (www.workbuddy.ai)",
|
|
"type": "module",
|
|
"main": "./opencode.mjs",
|
|
"exports": { ".": "./opencode2.mjs" },
|
|
"files": [
|
|
"index.mjs",
|
|
"opencode.mjs",
|
|
"opencode2.mjs",
|
|
"README.md"
|
|
],
|
|
"keywords": [
|
|
"opencode",
|
|
"opencode-plugin",
|
|
"workbuddy",
|
|
"codebuddy"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/magpie-community/plugins.git",
|
|
"directory": "packages/workbuddy"
|
|
}
|
|
}
|