@hsupu/copilot-api 0.7.3 → 0.7.5
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 +11 -0
- package/dist/main.js +617 -387
- package/dist/main.js.map +1 -1
- package/package.json +3 -6
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
|
|
|
@@ -109,6 +110,16 @@ copilot-api start
|
|
|
109
110
|
| `--proxy-env` | Use proxy from environment | false |
|
|
110
111
|
| `--history` | Enable request history UI at `/history` | false |
|
|
111
112
|
| `--history-limit` | Max history entries in memory | 1000 |
|
|
113
|
+
| `--auto-compact` | Auto-compress context when exceeding limits | false |
|
|
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 |
|
|
112
123
|
|
|
113
124
|
## API Endpoints
|
|
114
125
|
|