@hsupu/copilot-api 0.7.4 → 0.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -91,6 +91,7 @@ copilot-api start
91
91
  | `logout` | Remove stored GitHub token |
92
92
  | `check-usage` | Show Copilot usage and quota |
93
93
  | `debug` | Display diagnostic information |
94
+ | `patch-claude` | Patch Claude Code's context window limit |
94
95
 
95
96
  ### Start Command Options
96
97
 
@@ -111,6 +112,15 @@ copilot-api start
111
112
  | `--history-limit` | Max history entries in memory | 1000 |
112
113
  | `--auto-compact` | Auto-compress context when exceeding limits | false |
113
114
 
115
+ ### Patch-Claude Command Options
116
+
117
+ | Option | Description | Default |
118
+ |--------|-------------|---------|
119
+ | `--limit`, `-l` | Context window limit in tokens | 128000 |
120
+ | `--restore`, `-r` | Restore original 200k limit | false |
121
+ | `--path`, `-p` | Path to Claude Code cli.js | auto-detect |
122
+ | `--status`, `-s` | Show current patch status | false |
123
+
114
124
  ## API Endpoints
115
125
 
116
126
  ### OpenAI Compatible