diff --git a/src/config/unified-config-loader.ts b/src/config/unified-config-loader.ts index 632d2d6d..de6efa48 100644 --- a/src/config/unified-config-loader.ts +++ b/src/config/unified-config-loader.ts @@ -319,8 +319,10 @@ function generateYamlWithComments(config: UnifiedConfig): string { lines.push('# Copilot: GitHub Copilot API proxy (via copilot-api)'); lines.push('# Uses your existing GitHub Copilot subscription with Claude Code.'); lines.push('#'); - lines.push('# WARNING: This uses a reverse-engineered API. Use responsibly.'); - lines.push('# Excessive automated usage may trigger GitHub abuse detection.'); + lines.push('# !! DISCLAIMER - USE AT YOUR OWN RISK !!'); + lines.push('# This uses an UNOFFICIAL reverse-engineered API.'); + lines.push('# Excessive usage may trigger GitHub account restrictions.'); + lines.push('# CCS provides NO WARRANTY and accepts NO RESPONSIBILITY for consequences.'); lines.push('#'); lines.push('# Setup: npx copilot-api auth (authenticate with GitHub)'); lines.push('# Usage: ccs copilot (switch to copilot profile)'); diff --git a/src/config/unified-config-types.ts b/src/config/unified-config-types.ts index 46fb5e76..787b373b 100644 --- a/src/config/unified-config-types.ts +++ b/src/config/unified-config-types.ts @@ -159,8 +159,10 @@ export type CopilotAccountType = 'individual' | 'business' | 'enterprise'; * Enables GitHub Copilot subscription usage via copilot-api proxy. * Strictly opt-in - disabled by default. * - * WARNING: This uses a reverse-engineered API. Excessive automated usage - * may trigger GitHub's abuse-detection systems. + * !! DISCLAIMER - USE AT YOUR OWN RISK !! + * This uses an UNOFFICIAL reverse-engineered API. + * Excessive usage may trigger GitHub account restrictions. + * CCS provides NO WARRANTY and accepts NO RESPONSIBILITY for any consequences. */ export interface CopilotConfig { /** Enable Copilot integration (default: false) - must be explicitly enabled */ diff --git a/ui/src/pages/copilot.tsx b/ui/src/pages/copilot.tsx index 6d4518f2..d18007be 100644 --- a/ui/src/pages/copilot.tsx +++ b/ui/src/pages/copilot.tsx @@ -144,12 +144,19 @@ export function CopilotPage() { ) : (
- {/* Warning Banner */} -
- -

- Reverse-engineered API -

+ {/* Warning Banner - Disclaimer */} +
+
+ + + Unofficial API - Use at Your Own Risk + +
+
    +
  • Reverse-engineered API - may break anytime
  • +
  • Excessive use may trigger account restrictions
  • +
  • No warranty, no responsibility from CCS
  • +
{/* Integration Status */}