Skip to content

docs: add OpenCode and GitHub Copilot CLI platform details - #11

Merged
nhorton merged 1 commit into
mainfrom
planned-opencode
Jan 13, 2026
Merged

docs: add OpenCode and GitHub Copilot CLI platform details#11
nhorton merged 1 commit into
mainfrom
planned-opencode

Conversation

@tylerwillis

Copy link
Copy Markdown
Contributor

Summary

  • Added OpenCode to the supported platforms table with command format (Markdown) and hooks support (No)
  • Updated GitHub Copilot CLI entry with command format (Markdown) and hooks support (tool permissions only)

Based on research of both platforms' documentation:

  • OpenCode: Uses Markdown files in .opencode/command/, no lifecycle hooks
  • GitHub Copilot CLI: Uses Markdown agents in .github/agents/, has tool permissions but no pre/post execution hooks

Test plan

  • Verify table renders correctly in README

🤖 Generated with Claude Code

Add command format and hooks support information for planned platforms:
- OpenCode: Markdown commands, no hooks support
- GitHub Copilot CLI: Markdown commands, tool permissions only (no lifecycle hooks)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tylerwillis

Copy link
Copy Markdown
Contributor Author

@nhorton fyi - I asked claude to research hook availability and command format, but I haven't yet validated whether the information there is correct. Here's the output on the research:

Key Findings

OpenCode:

  • Commands stored in .opencode/command/ as Markdown files
  • Similar pattern to Claude Code (filename = command name)
  • No hooks/lifecycle events - commands execute synchronously
  • Has agents system with permission controls but no pre/post execution hooks

GitHub Copilot CLI:

  • Custom agents in .github/agents/ as Markdown with YAML frontmatter
  • Tool permissions (--allow-tool, --deny-tool) provide some control
  • No lifecycle hooks - known issues where git hooks cause agent to fail
  • MCP server support for extensibility but not command-level hooks

Both platforms use Markdown for commands but neither has the rich hooks system that Claude Code offers (stop_hooks, pre_tool_execution, post_tool_execution).

Here are the source URLs from the research:

OpenCode:

GitHub Copilot CLI:

@nhorton
nhorton merged commit f660d1c into main Jan 13, 2026
1 check passed
@tylerwillis
tylerwillis deleted the planned-opencode branch January 15, 2026 10:31
nhorton added a commit that referenced this pull request Apr 15, 2026
…mpt spam

- Check for `uv` at start of onboarding, install if missing (macOS/Linux/Windows)
- Guide user through /reload-plugins after uv install so MCP server starts
- Verify MCP server is reachable before continuing onboarding
- Warn macOS users about safe-to-dismiss TCC dialogs
- Pre-grant Bash permissions for common plugin operations in setup

Addresses issues #3, #10, #11, #12 from onboarding testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
github-merge-queue Bot pushed a commit that referenced this pull request Apr 15, 2026
)

* fix: improve new_user onboarding to check dependencies and reduce prompt spam

- Check for `uv` at start of onboarding, install if missing (macOS/Linux/Windows)
- Guide user through /reload-plugins after uv install so MCP server starts
- Verify MCP server is reachable before continuing onboarding
- Warn macOS users about safe-to-dismiss TCC dialogs
- Pre-grant Bash permissions for common plugin operations in setup

Addresses issues #3, #10, #11, #12 from onboarding testing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* refactor: consolidate setup permissions into single ALLOW_PERMISSIONS list

Replaces MCP_PERMISSION, DEEPWORK_DIR_PERMISSIONS, and BASH_PERMISSIONS
with one ALLOW_PERMISSIONS array and a single loop. Test assertions now
derive the expected count from the array length instead of hardcoding.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

2 participants