Skip to content

feat: add GitHub Copilot CLI as a supported coding agent#139

Open
lufen wants to merge 1 commit into
superdesigndev:mainfrom
lufen:feat/copilot-agent-support
Open

feat: add GitHub Copilot CLI as a supported coding agent#139
lufen wants to merge 1 commit into
superdesigndev:mainfrom
lufen:feat/copilot-agent-support

Conversation

@lufen

@lufen lufen commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

feat: add GitHub Copilot CLI as a supported coding agent

Adds copilot as a fourth CodingAgent alongside claude-code/codex/grok:

  • daemon: buildAgentSpawn's copilot arm (-p/--allow-all/--deny-tool
    SELF_SCHEDULING_TOOLS/--no-ask-user/--output-format json), env
    detection (COPILOT_CLI), execEnv allowlist (COPILOT_GITHUB_TOKEN/
    GH_TOKEN/GITHUB_TOKEN/COPILOT_HOME/COPILOT_MODEL/GH_HOST/
    COPILOT_GH_HOST/COPILOT_PROVIDER_*), skill-install target
    (github-copilot)
  • server: CODING_AGENTS enum, LoopForm/ComposeModal UI, AGENT_LABEL,
    fixes a pre-existing coerceCodingAgent bug in createLoop where the
    agent whitelist was hardcoded to only codex|grok (silently dropping
    copilot AND any future agent) instead of using the shared validator
  • docs: AGENTS.md, create.md agent flag reference

Verified copilot CLI flags/env vars against a live copilot --help
and copilot help environment.

Adds `copilot` as a fourth CodingAgent alongside claude-code/codex/grok:
- daemon: buildAgentSpawn's copilot arm (-p/--allow-all/--deny-tool
  SELF_SCHEDULING_TOOLS/--no-ask-user/--output-format json), env
  detection (COPILOT_CLI), execEnv allowlist (COPILOT_GITHUB_TOKEN/
  GH_TOKEN/GITHUB_TOKEN/COPILOT_HOME/COPILOT_MODEL/GH_HOST/
  COPILOT_GH_HOST/COPILOT_PROVIDER_*), skill-install target
  (github-copilot)
- server: CODING_AGENTS enum, LoopForm/ComposeModal UI, AGENT_LABEL,
  fixes a pre-existing coerceCodingAgent bug in createLoop where the
  agent whitelist was hardcoded to only codex|grok (silently dropping
  copilot AND any future agent) instead of using the shared validator
- docs: AGENTS.md, create.md agent flag reference

Verified copilot CLI flags/env vars against a live `copilot --help`
and `copilot help environment`.
@lufen
lufen force-pushed the feat/copilot-agent-support branch from c0dd6fa to 21dd482 Compare July 15, 2026 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant