Skip to content

Commit 64c2b00

Browse files
cuipengfeiclaude
andcommitted
Merge czy-all into dev
Integrate upstream provider, Codex, plugin layout, and responses updates while preserving local cache-control and routing behavior. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2 parents d310099 + 5d37d5b commit 64c2b00

59 files changed

Lines changed: 4362 additions & 1096 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude-plugin/marketplace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
{
88
"name": "agent-inject",
99
"description": "Inject copilot-api rules and SubagentStart agent context",
10-
"source": "./claude-plugin/agent-inject"
10+
"source": "./plugin/claude/agent-inject"
1111
},
1212
{
1313
"name": "tool-search",
1414
"description": "Register the tool_search MCP bridge for GPT Responses deferred tools",
15-
"source": "./claude-plugin/tool-search"
15+
"source": "./plugin/claude/tool-search"
1616
}
1717
]
1818
}

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ This is a reverse-engineered proxy that exposes the GitHub Copilot API as both a
7676

7777
- **Claude Code agent-inject plugin:** Install from marketplace with `/plugin marketplace add https://github.com/caozhiyuan/copilot-api.git` then `/plugin install agent-inject@copilot-api-marketplace`. Injects `__SUBAGENT_MARKER__` on subagent starts.
7878
- **Claude Code tool-search plugin:** Install from the same marketplace with `/plugin install tool-search@copilot-api-marketplace`. Registers the `tool_search` MCP bridge.
79-
- **Opencode plugin:** Copy `.opencode/plugins/subagent-marker.js` to `~/.config/opencode/plugins/`.
79+
- **Opencode plugin:** Copy `plugin/opencode/subagent-marker.js` to `~/.config/opencode/plugins/`.

NOTICE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Notice
22

3+
## GitHub Copilot Security Notice
4+
5+
Excessive automated or scripted use of Copilot (including rapid or bulk requests, such as via automated tools) may trigger GitHub's abuse-detection systems.
6+
7+
You may receive a warning from GitHub Security, and further anomalous activity could result in temporary suspension of your Copilot access.
8+
9+
GitHub prohibits use of their servers for excessive automated bulk activity or any activity that places undue burden on their infrastructure.
10+
11+
Please review:
12+
13+
- [GitHub Acceptable Use Policies](https://docs.github.com/site-policy/acceptable-use-policies/github-acceptable-use-policies#4-spam-and-inauthentic-activity-on-github)
14+
- [GitHub Copilot Terms](https://docs.github.com/site-policy/github-terms/github-terms-for-additional-products-and-features#github-copilot)
15+
16+
Use this project responsibly to avoid account restrictions.
17+
318
## Project Lineage
419

520
This repository was originally forked from [`ericc-ch/copilot-api`](https://github.com/ericc-ch/copilot-api).

README.md

Lines changed: 54 additions & 216 deletions
Large diffs are not rendered by default.

README.zh-CN.md

Lines changed: 48 additions & 212 deletions
Large diffs are not rendered by default.

desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "copilot-api-desktop",
3-
"version": "1.0.0",
3+
"version": "1.10.12",
44
"description": "Copilot API Desktop App",
55
"main": "out/main/index.js",
66
"scripts": {

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import tseslint from "typescript-eslint"
1111
const configDir = dirname(fileURLToPath(import.meta.url))
1212

1313
export default defineConfig(
14-
{ ignores: ["claude-plugin/**", ".opencode/**", "desktop/**"] },
14+
{ ignores: ["plugin/**", "desktop/**"] },
1515
{ linterOptions: { reportUnusedDisableDirectives: "off" } },
1616
gitignore(),
1717
eslint.configs.recommended,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@jeffreycao/copilot-api",
4-
"version": "1.10.7",
5-
"description": "OpenAI and Anthropic-compatible gateway for GitHub Copilot or third-party providers.",
4+
"version": "1.10.12",
5+
"description": "OpenAI and Anthropic-compatible gateway for GitHub Copilot or Codex or third-party providers.",
66
"keywords": [
77
"ai-gateway",
88
"github-copilot"
File renamed without changes.

claude-plugin/agent-inject/.claude-plugin/plugin.json renamed to plugin/claude/agent-inject/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "agent-inject",
33
"description": "Inject copilot-api rules and SubagentStart agent context",
4-
"version": "1.5.0",
4+
"version": "1.5.1",
55
"author": {
66
"name": "copilot-api maintainers"
77
}

0 commit comments

Comments
 (0)