@agent-proxy/gateway 0.15.0 → 0.16.0
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/dist/index.js +4 -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
|
});
|
|
@@ -10774,7 +10776,7 @@ function configResponse(paths, providerDeps, instanceOnly = false) {
|
|
|
10774
10776
|
codebuddyAccounts,
|
|
10775
10777
|
qoder: qoderSources.length > 0,
|
|
10776
10778
|
qoderSources,
|
|
10777
|
-
agy: agyCredentialsPresent(providerDeps?.agyCredentialFile ?? defaultAgyCredentialFile(paths.home))
|
|
10779
|
+
agy: agyCredentialsPresent(providerDeps?.agyCredentialFile ?? defaultAgyCredentialFile(paths.home), providerDeps?.agyCredentialProbe)
|
|
10778
10780
|
},
|
|
10779
10781
|
readonly: {
|
|
10780
10782
|
upstreamBaseUrl: sanitizeUrlValue(live.upstreamBaseUrl),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-proxy/gateway",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
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.
|
|
25
|
-
"@agent-proxy/codebuddy": "0.
|
|
26
|
-
"@agent-proxy/opencode-zen": "0.
|
|
27
|
-
"@agent-proxy/plugin-api": "0.
|
|
28
|
-
"@agent-proxy/qoder": "0.
|
|
29
|
-
"@agent-proxy/zcode": "0.
|
|
24
|
+
"@agent-proxy/agy": "0.16.0",
|
|
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.
|
|
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": "
|
|
52
|
+
"gitHead": "062121f545d3391665789b2e8baae842029262be"
|
|
53
53
|
}
|