xiaodcs-copilot-api 2.5.1-public.2 → 2.5.1-public.4
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 +8 -0
- package/dist/main.js +1 -1
- package/dist/{server-DmKNMBLd.js → models-BOrd_Vgi.js} +1093 -12293
- package/dist/{protocol-BTFLbI8m.js → protocol-CpMGdO6U.js} +5 -3
- package/dist/{runtime-CWU5BNBf.js → runtime-s-DMZGEK.js} +3 -1
- package/dist/server-Bq4fR6aD.js +11507 -0
- package/dist/{start-WdcRgBSL.js → start-BRXpCbKi.js} +286 -4
- package/dist/transport-DahPg_3h.js +2 -0
- package/dist/{transport-DE8Q0wU-.js → transport-hrgJN3gk.js} +2 -2
- package/package.json +2 -2
- package/qoder-bridge/README.md +2 -0
- package/dist/provider-proxy-BbLwvtD_.js +0 -263
- package/dist/transport-HOWgkXsv.js +0 -2
package/README.md
CHANGED
|
@@ -923,3 +923,11 @@ Same reminders as `CLAUDE_PLUGIN_ENABLE_QUESTION_RULES=1` in the `agent-inject`
|
|
|
923
923
|
## Builtin Qoder SDK provider
|
|
924
924
|
|
|
925
925
|
Run `copilot-api auth login --provider qoder` (Edge: `copilot-api-edge`), enter your Qoder PAT, then start the gateway normally. Credentials use the existing protected `config.json`; no separate sidecar or bridge key is needed. Supports text/image Chat Completions, SSE, model discovery and Credits. See [setup and capability limits](qoder-bridge/README.md). This integration is included in source and awaits npm release.
|
|
926
|
+
|
|
927
|
+
### Generate a Codex model list on startup
|
|
928
|
+
|
|
929
|
+
Opt in with `copilot-api start --sync-model-list` (or `copilot-api-edge` for the Edge package). The catalog is written to `model-list.json` beside the active API Home's `config.json`, defaulting to `~/.local/share/copilot-api/`. Use `--model-list-file codex-models.json` to choose a filename, or `--no-sync-model-list` to skip synchronization for one launch.
|
|
930
|
+
|
|
931
|
+
To enable it persistently, add `"modelList": { "enabled": true, "file": "model-list.json", "providers": ["*"], "exclude": [], "overrides": {} }` to your existing configuration. CLI options take precedence. Select only Qoder with `"providers": ["qoder"]`.
|
|
932
|
+
|
|
933
|
+
Configure Codex yourself to read the resulting absolute path through `model_catalog_json`. The gateway does not edit or restart Codex. Compatible models and context budgets are refreshed on startup; failed sources retain their previous entries. Files with manual edits are protected, and a `.bak` plus `.state.json` sidecar support safe updates. Put display/order/window preferences in `overrides`, not in generated JSON. See [model list synchronization](docs/model-list-sync.md) for metadata rules and recovery details.
|
package/dist/main.js
CHANGED
|
@@ -30,7 +30,7 @@ if (isMcpFastPath(process.argv)) {
|
|
|
30
30
|
const { auth } = await import("./auth-DIGdDJx3.js");
|
|
31
31
|
const { debug } = await import("./debug-CuLfQpTq.js");
|
|
32
32
|
const { mcp } = await import("./mcp-DqslOG3W.js");
|
|
33
|
-
const { start } = await import("./start-
|
|
33
|
+
const { start } = await import("./start-BRXpCbKi.js");
|
|
34
34
|
await runMain(defineCommand({
|
|
35
35
|
meta: {
|
|
36
36
|
name: "copilot-api",
|