@magpie-community/opencode-workbuddy-auth 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.mjs +8 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -819,8 +819,14 @@ const FLAGGED = [
819
819
  [/(?<!the )Codex CLI is an open source project led by OpenAI\./gi, "The Codex CLI is an open source project led by OpenAI."],
820
820
  // DeepSeek Harness (DSH) opens its system prompt with this line, which
821
821
  // WorkBuddy refuses as 11128 (magpie-community/plugins#279; the same
822
- // refusal traced in smart-open/TraeWorkAssistant#125).
823
- [/You are an AI agent powered by DeepSeek Harness\.?/gi, "You are an AI agent that helps the user with programming tasks."],
822
+ // refusal traced in smart-open/TraeWorkAssistant#125). WorkBuddy matches
823
+ // the line whole and exactly, so a comma is enough to pass: measured on
824
+ // 2026-10-30 against copilot.tencent.com, one account, streamed, the line
825
+ // as DSH writes it answered 400 code 11128 and the same line with the
826
+ // comma answered 200. Saying it in another agent's terms passed too, but
827
+ // took the harness's own name out of the only line that says which agent
828
+ // runs here, and that name is what the rest of the prompt refers back to.
829
+ [/You are an AI agent powered by DeepSeek Harness\.?/gi, "You are an AI agent, powered by DeepSeek Harness."],
824
830
  // A line WorkBuddy refuses in a long DeepSeek Harness chat, measured 400
825
831
  // then 200 with this wording by tearslee (magpie-community/plugins#291). The
826
832
  // model can quote it back into an assistant message, which the move to
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magpie-community/opencode-workbuddy-auth",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "OpenCode provider plugins for WorkBuddy's plans: WorkBuddy (CodeBuddy, copilot.tencent.com) and WorkBuddy AI (www.workbuddy.ai)",
5
5
  "type": "module",
6
6
  "main": "./index.mjs",