@agent-proxy/gateway 0.15.1 → 0.16.1

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -1
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -9584,6 +9584,7 @@ function pushZcodeModels(models, options) {
9584
9584
  const syncedRules = newSlugs.map((slug) => {
9585
9585
  const model = bySlug.get(slug.toLowerCase());
9586
9586
  const context = modelContextWindow(model);
9587
+ const efforts = modelReasoningEfforts(model);
9587
9588
  return {
9588
9589
  modelId: slug,
9589
9590
  providerId,
@@ -9591,7 +9592,8 @@ function pushZcodeModels(models, options) {
9591
9592
  properties: {
9592
9593
  ...context === undefined ? {} : { contextWindow: context },
9593
9594
  inputFormat: { supportsImage: modelInputModalities(model).includes("image") }
9594
- }
9595
+ },
9596
+ ...efforts.length > 0 ? { optionSpecs: { reasoningLevel: { values: [...efforts] } } } : {}
9595
9597
  }
9596
9598
  };
9597
9599
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-proxy/gateway",
3
- "version": "0.15.1",
3
+ "version": "0.16.1",
4
4
  "description": "Agent Proxy 的 Bun 网关与 CLI 业务应用。",
5
5
  "type": "module",
6
6
  "bin": {
@@ -21,12 +21,12 @@
21
21
  "prepack": "bun ../../scripts/verify-package.ts ."
22
22
  },
23
23
  "dependencies": {
24
- "@agent-proxy/agy": "0.15.1",
25
- "@agent-proxy/codebuddy": "0.15.0",
26
- "@agent-proxy/opencode-zen": "0.15.0",
27
- "@agent-proxy/plugin-api": "0.15.0",
28
- "@agent-proxy/qoder": "0.15.0",
29
- "@agent-proxy/zcode": "0.15.0",
24
+ "@agent-proxy/agy": "0.16.1",
25
+ "@agent-proxy/codebuddy": "0.16.0",
26
+ "@agent-proxy/opencode-zen": "0.16.0",
27
+ "@agent-proxy/plugin-api": "0.16.0",
28
+ "@agent-proxy/qoder": "0.16.0",
29
+ "@agent-proxy/zcode": "0.16.0",
30
30
  "bytes": "^3.1.2",
31
31
  "i18next": "^26.4.2",
32
32
  "react": "^19.2.0",
@@ -35,7 +35,7 @@
35
35
  "yaml": "^2.9.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@agent-proxy/models": "0.15.0"
38
+ "@agent-proxy/models": "0.16.0"
39
39
  },
40
40
  "engines": {
41
41
  "bun": ">=1.2.0"
@@ -49,5 +49,5 @@
49
49
  "type": "git",
50
50
  "url": "git+https://github.com/aceHubert/codex-cliproxy-gateway.git"
51
51
  },
52
- "gitHead": "cfb03c81e31c64da3a7314c43c51d954f5302111"
52
+ "gitHead": "559eed932ecf1112d90c17f50a7908411574031a"
53
53
  }