{"id":50813997,"url":"https://github.com/langgugemaster/cli-approval-deck","last_synced_at":"2026-06-13T07:33:55.905Z","repository":{"id":361570343,"uuid":"1254967875","full_name":"langgugemaster/cli-approval-deck","owner":"langgugemaster","description":"A pixel-duck macOS approval deck for Codex CLI and Claude Code.","archived":false,"fork":false,"pushed_at":"2026-05-31T08:20:03.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-31T10:10:18.232Z","etag":null,"topics":["claude-code","codex-cli","developer-tools","macos","pixel-art","swift"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/langgugemaster.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-05-31T08:18:48.000Z","updated_at":"2026-05-31T08:21:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/langgugemaster/cli-approval-deck","commit_stats":null,"previous_names":["langgugemaster/cli-approval-deck"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/langgugemaster/cli-approval-deck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgugemaster%2Fcli-approval-deck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgugemaster%2Fcli-approval-deck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgugemaster%2Fcli-approval-deck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgugemaster%2Fcli-approval-deck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/langgugemaster","download_url":"https://codeload.github.com/langgugemaster/cli-approval-deck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/langgugemaster%2Fcli-approval-deck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34276501,"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-13T02:00:06.617Z","response_time":62,"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":["claude-code","codex-cli","developer-tools","macos","pixel-art","swift"],"created_at":"2026-06-13T07:33:55.200Z","updated_at":"2026-06-13T07:33:55.895Z","avatar_url":"https://github.com/langgugemaster.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI Approval Deck\n\n![macOS](https://img.shields.io/badge/macOS-13%2B-111827?style=flat-square)\n![Swift](https://img.shields.io/badge/Swift-AppKit-f97316?style=flat-square)\n![License](https://img.shields.io/badge/license-MIT-22c55e?style=flat-square)\n\nA tiny pixel-art command center for people who start an AI coding agent and then\nwalk away to make coffee.\n\nCLI Approval Deck keeps a floating panel above your macOS desktop. A pixel duck\nwatches proxied Codex CLI and Claude Code sessions. When a command needs approval,\nthe duck raises a green checkmark sign and the panel exposes one large approval bar.\n\n## Features\n\n- Always-on-top pixel-art panel with a duck mascot.\n- Dock icon and menu bar `[A]` menu.\n- Hide the panel completely and restore it from the menu bar.\n- Concurrent Codex CLI and Claude Code session monitoring.\n- One-click approval for the first safe menu action: `Yes, proceed` or\n  `Yes, allow once`.\n- No network service, database, or third-party Python dependency.\n\n## Install\n\nDownload the latest DMG from the\n[GitHub Releases page](https://github.com/langgugemaster/cli-approval-deck/releases/latest),\nor build it locally:\n\nBuild the app and DMG:\n\n```bash\npython3 scripts/package_app.py\n```\n\nArtifacts are written to:\n\n```text\ndist/CLI Approval Deck.app\ndist/CLI-Approval-Deck.dmg\n```\n\nDrag `CLI Approval Deck.app` into `/Applications`, launch it, then install the\nterminal hooks:\n\n```bash\n\"/Applications/CLI Approval Deck.app/Contents/Resources/install-shell-hooks\"\nsource ~/.zshrc\n```\n\nAfter that, use the normal commands:\n\n```bash\ncodex\nclaude\n```\n\nThe hooks route new sessions through a local PTY proxy. Existing terminal sessions\ncannot be attached after launch because their PTYs already belong to another process.\n\n## Run From Source\n\n```bash\nswift run ApprovalFloat\n./bin/cli-approval-run codex\n./bin/cli-approval-run claude\n```\n\n## Verify\n\n```bash\npython3 -m unittest discover -s tests/unit -v\nswift test\nswift build\npython3 scripts/package_app.py\n```\n\n## How It Works\n\nThe wrapper launches the requested CLI inside a pseudo-terminal, preserving raw-mode\ninput, terminal resizing, and full-screen TUI behavior. It recognizes Codex and Claude\npermission prompts, publishes local JSON requests under `~/.cli-approval-float`, and\nsends the selected response back to the matching PTY.\n\n## License\n\nMIT. Let the duck work.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanggugemaster%2Fcli-approval-deck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanggugemaster%2Fcli-approval-deck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanggugemaster%2Fcli-approval-deck/lists"}