@openclaw/radius-provider 2026.10.10-beta.5 → 2026.11.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"catalog.js","source":"extensions/radius/catalog.ts"},{"output":"index.js","source":"extensions/radius/index.ts"},{"output":"oauth.js","source":"extensions/radius/oauth.ts"},{"output":"stream.js","source":"extensions/radius/stream.ts"}],"chunks":[{"output":"catalog.js","sha256":"
|
|
1
|
+
{"version":3,"entries":[{"output":"catalog.js","source":"extensions/radius/catalog.ts"},{"output":"index.js","source":"extensions/radius/index.ts"},{"output":"oauth.js","source":"extensions/radius/oauth.ts"},{"output":"stream.js","source":"extensions/radius/stream.ts"}],"chunks":[{"output":"catalog.js","sha256":"5a6e95a33e515fd20c71586bb0ecb8694b83a30048709cf042267f68b86339cf","facadeSource":"extensions/radius/catalog.ts","sources":["extensions/radius/catalog.ts"]},{"output":"index.js","sha256":"6c696de571f6e3cac680436cef92687d24c1de63407e412ceb4aaa93b1782ccf","facadeSource":"extensions/radius/index.ts","sources":["extensions/radius/index.ts","extensions/radius/openclaw.plugin.json"]},{"output":"oauth.js","sha256":"100c3a0149011c7c8e1b6e4e030be3b6b1f294d7354cee4ce6b8cb3bfe4c0133","facadeSource":"extensions/radius/oauth.ts","sources":["extensions/radius/oauth.ts"]},{"output":"stream.js","sha256":"05d3c0d9466679792a8d0819725c7f94563cfc4165b71dec1275f6fd3f5a5eed","facadeSource":"extensions/radius/stream.ts","sources":["extensions/radius/stream.ts"]}],"unrenderedSources":[]}
|
package/dist/catalog.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { fetchLiveProviderModelRows } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
|
|
2
2
|
import { asFiniteNumberInRange, asOptionalRecord, asPositiveSafeInteger, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
-
|
|
3
|
+
// extensions/radius/catalog.ts
|
|
4
4
|
const RADIUS_BASE_URL = "https://radius.pi.dev/v1";
|
|
5
5
|
const THINKING_LEVELS = [
|
|
6
6
|
"off",
|
|
@@ -107,5 +107,4 @@ async function fetchRadiusCatalog(apiKey, signal) {
|
|
|
107
107
|
models: config.models.map(readModel).filter((model) => model !== void 0)
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
//#endregion
|
|
111
110
|
export { RADIUS_BASE_URL, fetchRadiusCatalog };
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
|
2
2
|
import { buildOauthProviderAuthResult, resolveOAuthApiKeyMarker } from "openclaw/plugin-sdk/provider-auth";
|
|
3
3
|
import { runLiveProviderCatalog } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
|
|
4
4
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
5
|
-
|
|
5
|
+
// extensions/radius/openclaw.plugin.json
|
|
6
6
|
var openclaw_plugin_default = {
|
|
7
7
|
id: "radius",
|
|
8
8
|
name: "Radius",
|
|
@@ -47,8 +47,7 @@ var openclaw_plugin_default = {
|
|
|
47
47
|
"properties": {}
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
|
|
51
|
-
//#region extensions/radius/index.ts
|
|
50
|
+
// extensions/radius/index.ts
|
|
52
51
|
const loadCatalog = createLazyRuntimeModule(() => import("./catalog.js"));
|
|
53
52
|
const loadOAuth = createLazyRuntimeModule(() => import("./oauth.js"));
|
|
54
53
|
const loadStream = createLazyRuntimeModule(() => import("./stream.js"));
|
|
@@ -166,5 +165,4 @@ var radius_default = defineSingleProviderPluginEntry({
|
|
|
166
165
|
refreshOAuth: async (credential) => (await loadOAuth()).refreshRadiusOAuthCredential(credential)
|
|
167
166
|
}
|
|
168
167
|
});
|
|
169
|
-
//#endregion
|
|
170
168
|
export { radius_default as default };
|
package/dist/oauth.js
CHANGED
|
@@ -4,7 +4,7 @@ import { readProviderJsonObjectResponse } from "openclaw/plugin-sdk/provider-htt
|
|
|
4
4
|
import { throwIfOAuthLoginAborted } from "openclaw/plugin-sdk/provider-oauth-runtime";
|
|
5
5
|
import { fetchWithSsrFGuard } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
6
6
|
import { sleep } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
7
|
-
|
|
7
|
+
// extensions/radius/oauth.ts
|
|
8
8
|
const OAUTH_BASE_URL = "https://radius.pi.dev/v1/oauth";
|
|
9
9
|
const CLIENT_ID = "pi-gateway";
|
|
10
10
|
const REQUEST_TIMEOUT_MS = 3e4;
|
|
@@ -153,5 +153,4 @@ async function refreshRadiusOAuthCredential(credential) {
|
|
|
153
153
|
...parseToken(payload, credential.refresh)
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
|
-
//#endregion
|
|
157
156
|
export { loginRadiusOAuth, refreshRadiusOAuthCredential };
|
package/dist/stream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
|
2
2
|
import { createProviderHttpError } from "openclaw/plugin-sdk/provider-http";
|
|
3
3
|
import { createAssistantMessageEventStream, createToolArgumentPreviewSchedule, parseStreamingJson } from "openclaw/plugin-sdk/llm";
|
|
4
4
|
import { buildAssistantMessage, buildGuardedModelFetch, createEmptyTransportUsage, failTransportStream, notifyProviderHttpResponse, parseTerminalToolCallArguments } from "openclaw/plugin-sdk/provider-transport-runtime";
|
|
5
|
-
|
|
5
|
+
// extensions/radius/stream.ts
|
|
6
6
|
const MAX_SSE_EVENT_BYTES = 16777216;
|
|
7
7
|
function record(value) {
|
|
8
8
|
const parsed = asOptionalRecord(value);
|
|
@@ -286,5 +286,4 @@ function createRadiusStreamFn() {
|
|
|
286
286
|
return stream;
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
|
-
//#endregion
|
|
290
289
|
export { createRadiusStreamFn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/radius-provider",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.11.1",
|
|
4
4
|
"description": "OpenClaw Radius model gateway provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.9.4"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.
|
|
21
|
+
"pluginApi": ">=2026.11.1"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.
|
|
24
|
+
"openclawVersion": "2026.11.1",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"assets/activity.svg"
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"openclaw": ">=2026.
|
|
43
|
+
"openclaw": ">=2026.11.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|