{"id":50519762,"url":"https://github.com/wellingfeng/cc-menu","last_synced_at":"2026-06-03T03:06:25.745Z","repository":{"id":358777670,"uuid":"1242663417","full_name":"wellingfeng/cc-menu","owner":"wellingfeng","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-19T02:06:54.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-19T04:24:14.786Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/wellingfeng.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-18T16:25:56.000Z","updated_at":"2026-05-19T02:06:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/wellingfeng/cc-menu","commit_stats":null,"previous_names":["wellingfeng/cc-menu"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wellingfeng/cc-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellingfeng%2Fcc-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellingfeng%2Fcc-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellingfeng%2Fcc-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellingfeng%2Fcc-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wellingfeng","download_url":"https://codeload.github.com/wellingfeng/cc-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wellingfeng%2Fcc-menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33845813,"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-03T02:00:06.370Z","response_time":59,"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":[],"created_at":"2026-06-03T03:06:25.337Z","updated_at":"2026-06-03T03:06:25.740Z","avatar_url":"https://github.com/wellingfeng.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CC Menu\n\nCC Menu is a local control plane for AI coding context menus. It turns a small\nExplorer/Finder entry into tested Rust logic for:\n\n- default native launches for Claude Code, Codex, Gemini, and CC-Menu;\n- agent registry and menu-cache generation;\n- Start with Options launches through a local OpenAI-compatible gateway;\n- fixed, fallback, race, and broadcast gateway routing;\n- cc-switch dry-run imports;\n- session indexing and cross-agent resume decisions;\n- Desktop route switching diagnostics; and\n- Windows/macOS adapter output without coupling platform APIs to core logic.\n\nThe implementation is intentionally conservative around system integration:\nthe core produces auditable menu and registry artifacts, and the installer can\nplace them in a per-user install directory. Tests exercise the whole flow using\ntemporary directories instead of mutating Explorer/Finder state.\n\n## Quick Start\n\n```powershell\ncargo run -p cc-menu -- init\ncargo run -p cc-menu -- menu sync\ncargo run -p cc-menu -- menu print --format json\ncargo run -p cc-menu -- launch --agent codex --cwd . --mode native --dry-run\ncargo run -p cc-menu -- gateway chat --strategy fixed --prompt \"hello\"\n```\n\n## Build And Test\n\n```powershell\ncargo fmt --all\ncargo test --workspace\npowershell -ExecutionPolicy Bypass -File scripts\\self-test.ps1\n```\n\nBuild release artifacts and the Windows installer:\n\n```powershell\npowershell -ExecutionPolicy Bypass -File scripts\\build-release.ps1\n```\n\nThe installer is a standalone executable named `cc-menu-setup-win-x64.exe`.\nRun `cc-menu-setup-win-x64.exe --self-test` to verify it can install into a\ntemporary directory, execute the bundled CLI, and uninstall cleanly.\nWhen double-clicked with no arguments, the installer leaves its console window\nopen after installation so the result and next command are visible.\nOn Windows it also writes current-user Explorer context menu entries under\n`HKCU\\Software\\Classes\\Directory\\Background\\shell` and\n`HKCU\\Software\\Classes\\Directory\\shell`.\n\n## GitHub Release\n\nAfter `scripts\\build-release.ps1` succeeds:\n\n```powershell\npowershell -ExecutionPolicy Bypass -File scripts\\publish-release.ps1 -Repo wellingfeng/cc-menu\n```\n\nThe script creates a timestamped tag, uploads the installer, portable zip,\nmanifest, and release notes, then verifies the GitHub Release assets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellingfeng%2Fcc-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwellingfeng%2Fcc-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwellingfeng%2Fcc-menu/lists"}