{"id":50979375,"url":"https://github.com/qoli/codex-disable-escape-tweak","last_synced_at":"2026-06-19T12:33:57.953Z","repository":{"id":355837370,"uuid":"1229834510","full_name":"qoli/codex-disable-escape-tweak","owner":"qoli","description":"Codex++ tweak that blocks Escape in Codex Desktop renderer windows","archived":false,"fork":false,"pushed_at":"2026-05-05T12:36:38.000Z","size":455,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T14:35:26.718Z","etag":null,"topics":["codex-desktop","codex-plusplus","escape-key","tweak"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qoli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-05T12:31:57.000Z","updated_at":"2026-05-05T12:36:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/qoli/codex-disable-escape-tweak","commit_stats":null,"previous_names":["qoli/codex-disable-escape-tweak"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/qoli/codex-disable-escape-tweak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoli%2Fcodex-disable-escape-tweak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoli%2Fcodex-disable-escape-tweak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoli%2Fcodex-disable-escape-tweak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoli%2Fcodex-disable-escape-tweak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qoli","download_url":"https://codeload.github.com/qoli/codex-disable-escape-tweak/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qoli%2Fcodex-disable-escape-tweak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34532255,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codex-desktop","codex-plusplus","escape-key","tweak"],"created_at":"2026-06-19T12:33:55.416Z","updated_at":"2026-06-19T12:33:57.935Z","avatar_url":"https://github.com/qoli.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codex Disable Escape Tweak\n\nA small [Codex++](https://github.com/b-nnett/codex-plusplus) renderer tweak\nthat consumes `Escape` key events inside Codex Desktop before the app's\nshortcut handlers can interrupt an active response.\n\n\u003cimg src=\"docs/media/disable-escape-demo.gif\" width=\"960\" alt=\"Demo showing Codex++ loading the disable Escape tweak and consuming Escape before Codex shortcuts can interrupt\" /\u003e\n\nThe demo is a cropped and annotated version of a Codex Desktop screen recording.\nIt shows the runtime path: Codex++ loads `co.qoli.disable-escape`, the tweak\nregisters capture-phase key handlers, and `Escape` is consumed before Codex\nshortcut handling sees it.\n\nRelated upstream issue:\n\n- [openai/codex#20767](https://github.com/openai/codex/issues/20767) -\n  `Escape` from CJK IME composition can pass through and interrupt the model.\n\n## What It Does\n\nThe tweak registers capture-phase `keydown`, `keyup`, and `keypress` handlers\non `window` and `document`. When `event.key === \"Escape\"`, it calls\n`stopImmediatePropagation()` and `stopPropagation()`.\n\nThis only affects Codex Desktop renderer windows after Codex++ has loaded the\ntweak. It does not change the global macOS `Escape` key behavior.\n\n## Install\n\nInstall Codex++ first, then copy or symlink this repository into your Codex++\ntweaks directory:\n\n```bash\ncodexplusplus install --no-default-tweaks --no-watcher\ncodexplusplus dev /path/to/codex-disable-escape-tweak --name co.qoli.disable-escape --replace --no-watch\n```\n\nRestart Codex Desktop after installing or reloading the tweak.\n\n## Verify\n\n```bash\ncodexplusplus validate-tweak /path/to/codex-disable-escape-tweak\ncodexplusplus status\ncodexplusplus doctor\n```\n\nCodex++ ad-hoc signs the local app bundle after patching. `spctl` notarization\nchecks may reject the patched app even when `codexplusplus doctor` and\n`codesign --verify` pass.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoli%2Fcodex-disable-escape-tweak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqoli%2Fcodex-disable-escape-tweak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqoli%2Fcodex-disable-escape-tweak/lists"}