@openclaw/cloudflare-ai-gateway-provider 2026.7.2-beta.7 → 2026.7.34
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 +3 -2
- package/dist/stream-wrappers.js +6 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -134,11 +134,12 @@ var cloudflare_ai_gateway_default = definePluginEntry({
|
|
|
134
134
|
agentDir: ctx.agentDir
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
|
-
|
|
137
|
+
const next = applyAuthProfileConfig(ctx.config, {
|
|
138
138
|
profileId: PROFILE_ID,
|
|
139
139
|
provider: PROVIDER_ID,
|
|
140
140
|
mode: "api_key"
|
|
141
|
-
})
|
|
141
|
+
});
|
|
142
|
+
return applyCloudflareAiGatewayConfig(next, {
|
|
142
143
|
accountId,
|
|
143
144
|
gatewayId
|
|
144
145
|
});
|
package/dist/stream-wrappers.js
CHANGED
|
@@ -21,5 +21,10 @@ function wrapCloudflareAiGatewayProviderStream(ctx) {
|
|
|
21
21
|
if (!shouldPatchAnthropicMessagesPayload(ctx.model)) return ctx.streamFn;
|
|
22
22
|
return createCloudflareAiGatewayAnthropicThinkingPrefillWrapper(ctx.streamFn);
|
|
23
23
|
}
|
|
24
|
+
/** Test-only access to wrapper decisions and logger injection points. */
|
|
25
|
+
const testing = {
|
|
26
|
+
log,
|
|
27
|
+
shouldPatchAnthropicMessagesPayload
|
|
28
|
+
};
|
|
24
29
|
//#endregion
|
|
25
|
-
export { wrapCloudflareAiGatewayProviderStream };
|
|
30
|
+
export { testing as __testing, testing, createCloudflareAiGatewayAnthropicThinkingPrefillWrapper, wrapCloudflareAiGatewayProviderStream };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/cloudflare-ai-gateway-provider",
|
|
3
|
-
"version": "2026.7.
|
|
3
|
+
"version": "2026.7.34",
|
|
4
4
|
"description": "OpenClaw Cloudflare AI Gateway provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.7.
|
|
21
|
+
"pluginApi": ">=2026.7.34"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.
|
|
24
|
+
"openclawVersion": "2026.7.34",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.7.
|
|
41
|
+
"openclaw": ">=2026.7.34"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|