[{"data":1,"prerenderedAt":87},["ShallowReactive",2],{"repo-uernamezzj-workbuddy-prompt-patcher-en":3,"i18n-uernamezzj-workbuddy-prompt-patcher-en":84},{"mirrorPool":4,"detail":13,"relatedProjects":83},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgh-proxy.com\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":25,"homepage":26,"pushedAt":27,"ownerAvatar":28,"ownerName":29,"ownerBio":26,"lastSyncTime":30,"lastReleaseTime":31,"tags":32,"license":26,"category":33,"subgroup":26,"releases":34},"uernamezzj","WorkBuddy-Prompt-Patcher",1309875410,"https:\u002F\u002Fgithub.com\u002Fuernamezzj\u002FWorkBuddy-Prompt-Patcher",541,"Python","WorkBuddy desktop client system prompt backup\u002Fpatching\u002Fcustomization tool",{"Python":22,"Batchfile":23,"Shell":24},80.8,12.8,6.4,[],"","2026-11-26","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F120768892?v=4","yao tao","2026-11-26T19:58:17.319247+00:00","2026-11-26T13:04:19Z",[],"tools",[35,47,58,72],{"tag":36,"publishAt":31,"semVer":37,"prerelease":39,"assets":40},"v3.9",[38,38,38],0,false,[41],{"fileName":42,"sizeMb":43,"sha256":44,"downloadCount":45,"originUrl":46},"WorkBuddy-Patcher-v3.9-20261126.zip",0.31,"703e9ef2c24c82ad32639aba0b1ae7a4d1ca642402b8a4f63d61091900c96151",144,"https:\u002F\u002Fgithub.com\u002Fuernamezzj\u002FWorkBuddy-Prompt-Patcher\u002Freleases\u002Fdownload\u002Fv3.9\u002FWorkBuddy-Patcher-v3.9-20261126.zip",{"tag":48,"publishAt":49,"semVer":50,"prerelease":39,"assets":51},"v3.8","2026-11-24T15:37:20Z",[38,38,38],[52],{"fileName":53,"sizeMb":54,"sha256":55,"downloadCount":56,"originUrl":57},"WorkBuddy-Patcher-v3.8-20261124.zip",0.3,"a2ea1527b8a4a8961324b1a2e1750c04e3a7852f09d86800453b3945467f316c",830,"https:\u002F\u002Fgithub.com\u002Fuernamezzj\u002FWorkBuddy-Prompt-Patcher\u002Freleases\u002Fdownload\u002Fv3.8\u002FWorkBuddy-Patcher-v3.8-20261124.zip",{"tag":59,"publishAt":60,"semVer":61,"prerelease":39,"assets":65},"v3.7.1","2026-11-20T19:59:51Z",[62,63,64],3,7,1,[66],{"fileName":67,"sizeMb":68,"sha256":69,"downloadCount":70,"originUrl":71},"WorkBuddy-Patcher-v3.7.1-20261121.zip",0.22,"51c6274213d1ed1565940dd0db40513f0f7aebf7edec7d36e0bcdcb4ff5a251c",2212,"https:\u002F\u002Fgithub.com\u002Fuernamezzj\u002FWorkBuddy-Prompt-Patcher\u002Freleases\u002Fdownload\u002Fv3.7.1\u002FWorkBuddy-Patcher-v3.7.1-20261121.zip",{"tag":73,"publishAt":74,"semVer":75,"prerelease":39,"assets":76},"v3.7","2026-11-13T20:58:19Z",[38,38,38],[77],{"fileName":78,"sizeMb":79,"sha256":80,"downloadCount":81,"originUrl":82},"WorkBuddy-Patcher-v3.7-20261114.zip",0.2,"e98cd257ce4a66069ba9e18f5e0257d3c5b7fbf479182d6da0f9e5fefdb7e33b",629,"https:\u002F\u002Fgithub.com\u002Fuernamezzj\u002FWorkBuddy-Prompt-Patcher\u002Freleases\u002Fdownload\u002Fv3.7\u002FWorkBuddy-Patcher-v3.7-20261114.zip",[],{"description":85,"readmeHtml":86},"A Python patcher that rewrites six prompt-template tracks in the WorkBuddy desktop client at once, with a Windows batch file and a macOS one-click bundle.","\u003Ch2 id=\"project-overview\">Project Overview\u003C\u002Fh2>\u003Cp>The usual approach is to find a template, edit it, restart, discover another place was missed, and repeat. This repo folds six injection tracks into one command: system templates, quick mode, root proxy templates, plugin cache, per-turn reminders and the global \u003Ccode>SOUL.md\u003C\u002Fcode>. A missing track ends the run with exit code 1.\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Item\u003C\u002Fth>\n\u003Cth>Value\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Role\u003C\u002Ftd>\n\u003Ctd>Prompt injection for the WorkBuddy client\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Stack\u003C\u002Ftd>\n\u003Ctd>Python + Windows BAT\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Version\u003C\u002Ftd>\n\u003Ctd>v3.8\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>License\u003C\u002Ftd>\n\u003Ctd>Not declared\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Platforms\u003C\u002Ftd>\n\u003Ctd>Windows, macOS\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Traction\u003C\u002Ftd>\n\u003Ctd>~478 stars\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2 id=\"key-features\">Key Features\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Two editions\u003C\u002Fstrong>: handles the China edition and WorkBuddy AI international (v5.9.4+) side by side, copes with spaces in install paths, and patches both when they coexist on one machine.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Missing-tag fallback\u003C\u002Fstrong>: from client 5.11.x the \u003Ccode>welcomemode\u003C\u002Fcode> template may be a root-proxy mode with no XML tags at all; the script detects that and prepends \u003Ccode>content_policy\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Process locks\u003C\u002Fstrong>: closes \u003Ccode>WorkBuddy.exe\u003C\u002Fcode>, \u003Ccode>WorkBuddyAI.exe\u003C\u002Fcode> and \u003Ccode>workbuddy-editor-sdk-supervisor.exe\u003C\u002Fcode> before patching or restoring.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Factory backup\u003C\u002Fstrong>: seals the original templates on first run, restores them losslessly in one step, and adds newly introduced modes to the backup.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Diagnostics\u003C\u002Fstrong>: \u003Ccode>--verify\u003C\u002Fcode> prints a six-track summary, \u003Ccode>--json-report\u003C\u002Fcode> prints JSON with version fingerprints.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"three-steps\">Three Steps\u003C\u002Fh2>\u003Col>\n\u003Cli>Launch WorkBuddy once and sign in so the client unpacks its plugin cache, then quit it completely.\u003C\u002Fli>\n\u003Cli>On Windows double-click the one-click \u003Ccode>.bat\u003C\u002Fcode>; on macOS double-click the matching \u003Ccode>.command\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Reopen the client and send a message to see whether anything changed.\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"command-line\">Command Line\u003C\u002Fh2>\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-text\">python batch_patch_prompts.py --auto                # full deploy\npython batch_patch_prompts.py --verify --verbose    # check only, per-track detail\npython batch_patch_prompts.py --dry-run --auto      # dry run, writes nothing\npython batch_patch_prompts.py --auto --require-closed\npython batch_patch_prompts.py --auto --json-report\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Cp>Exit code 0 means all six tracks are green, 1 means a gap, 2 means the gate blocked the run because the client was open.\u003C\u002Fp>\n\u003Ch2 id=\"caveats\">Caveats\u003C\u002Fh2>\u003Cul>\n\u003Cli>A silent client upgrade resets the templates; rerun the script afterwards.\u003C\u002Fli>\n\u003Cli>No license is declared, so confirm terms before redistributing.\u003C\u002Fli>\n\u003Cli>The README recommends DeepSeek-V4.1-Flash and warns against GLM-5.3-Flash; that is the author&#39;s preference, not a capability of the script.\u003C\u002Fli>\n\u003Cli>It edits local client files, so keep the one-click restore handy.\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Cblockquote>\n\u003Cp>What it saves is the rework from missing a layer, not the quality of the prompt itself. \u003C\u002Fp>\n\u003C\u002Fblockquote>\n",1795754216136]