openclaw/tools/copilot-enforcement
2026-01-26 11:05:20 +05:30
..
check-copilot-usage.ts CLI: GitHub Copilot SDK integration 2026-01-26 11:05:20 +05:30
README.md CLI: GitHub Copilot SDK integration 2026-01-26 11:05:20 +05:30

Copilot SDK enforcement

This tool enforces that the codebase only references the official @github/copilot-sdk package.

What it checks

  • Imports or requires of @github/copilot* packages outside @github/copilot-sdk
  • package.json dependency entries that reference @github/copilot* packages other than @github/copilot-sdk

Usage

Run the check from the repo root:

pnpm copilot:check

The script exits with a non-zero status if any non-SDK usage is found.