Loading...
Loading...
Compare original and translation side by side
npx skillsnpx skills[$patch-codex-fast] Patch my local Codex app so Fast mode and Plugins work in API key mode.[$patch-codex-fast] Patch my local Codex app so Fast mode and Plugins work in API key mode.SKILL.mddoctorzed-remote-statuspatch-zed-remotesupportsSshSKILL.mddoctorzed-remote-statuspatch-zed-remotesupportsSshpython3 scripts/patch_codex_fast.py doctor
python3 scripts/patch_codex_fast.py patch
python3 scripts/patch_codex_fast.py patch-zed-remote
python3 scripts/patch_codex_fast.py zed-remote-status
python3 scripts/patch_codex_fast.py rollbackpythonpython3python .\scripts\patch_codex_fast.py doctor
python .\scripts\patch_codex_fast.py patch
python .\scripts\patch_codex_fast.py patch-zed-remote
python .\scripts\patch_codex_fast.py zed-remote-status
python .\scripts\patch_codex_fast.py rollback./scripts/macos-patch.sh
./scripts/macos-rollback.sh.\scripts\windows-patch.ps1
.\scripts\windows-rollback.ps1python3 scripts/patch_codex_fast.py doctor
python3 scripts/patch_codex_fast.py patch
python3 scripts/patch_codex_fast.py patch-zed-remote
python3 scripts/patch_codex_fast.py zed-remote-status
python3 scripts/patch_codex_fast.py rollbackpython3pythonpython .\scripts\patch_codex_fast.py doctor
python .\scripts\patch_codex_fast.py patch
python .\scripts\patch_codex_fast.py patch-zed-remote
python .\scripts\patch_codex_fast.py zed-remote-status
python .\scripts\patch_codex_fast.py rollback./scripts/macos-patch.sh
./scripts/macos-rollback.sh.\scripts\windows-patch.ps1
.\scripts\windows-rollback.ps1/Applications/Codex.app/Contents/Resources/Applications/Codex.app%LOCALAPPDATA%\Programs\Codex\resources%LOCALAPPDATA%\Programs\Codex\Codex.exe--resources-dir--app-path/Applications/Codex.app/Contents/Resources/Applications/Codex.app%LOCALAPPDATA%\Programs\Codex\resources%LOCALAPPDATA%\Programs\Codex\Codex.exe--resources-dir--app-pathpython3 scripts/patch_codex_fast.py rollbackpython .\scripts\patch_codex_fast.py rollbackapp.asarapp//Applications/Codex.appOperation not permittedapp/app.asarpython3 scripts/patch_codex_fast.py rollbackpython .\scripts\patch_codex_fast.py rollbackapp/app.asar/Applications/Codex.appapp/app.asarNo patches were appliedapp/webview/assetsgrep -rl "authMethod" *.js | xargs grep -l "fast_mode"
grep -rl "pluginsDisabledTooltip" *.jsNo patches were appliedapp/webview/assetsgrep -rl "authMethod" *.js | xargs grep -l "fast_mode"
grep -rl "pluginsDisabledTooltip" *.jsapikeyapikeychatgptchatgptreturn falsereturn false(apikey|chatgpt)
Patch the same logical gates described in the README if automated patterns no longer match. Also preserve Chrome by checking these app-bundle surfaces:
```bash
grep -rl "chrome-internal" app/.vite/build
grep -rl "externalBrowserUseAllowed" app/.vite/build
grep -rl "isExternalBrowserUseAvailable" app/webview/assetschrome-internalchromeisExternalBrowserUseAvailablegrep -rl "id:\`zed\`" app/.vite/build
grep -rl "supportsSsh" app/.vite/build
grep -rl "vscode-remote://" app/.vite/buildssh://user@host[:port]/path(apikey|chatgpt)
如果自动匹配模式失效,请按照README中描述的逻辑进行手动补丁。同时,请通过检查以下应用包内容来保留Chrome插件功能:
```bash
grep -rl "chrome-internal" app/.vite/build
grep -rl "externalBrowserUseAllowed" app/.vite/build
grep -rl "isExternalBrowserUseAvailable" app/webview/assetschrome-internalchromeisExternalBrowserUseAvailablegrep -rl "id:\`zed\`" app/.vite/build
grep -rl "supportsSsh" app/.vite/build
grep -rl "vscode-remote://" app/.vite/buildssh://user@host[:port]/path