@openclaw/radius-provider 2026.11.5-beta.1 → 2026.11.5-beta.2
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":"b9e22a59b0c292efddf0e3a2834cc1499b12492be97f8ae43781c38b076b97ed","facadeSource":"extensions/radius/catalog.ts","sources":["extensions/radius/catalog.ts"]},{"output":"index.js","sha256":"ffdabc4013c70259a8b82015a480e925538a83ef47b65b9593d8f2aedc9a2ec1","facadeSource":"extensions/radius/index.ts","sources":["extensions/radius/index.ts","extensions/radius/openclaw.plugin.json"]},{"output":"oauth.js","sha256":"b03f9a9a424adc251f5a26c134aadd136b84893d7bfda4f952f599c29cd302ad","facadeSource":"extensions/radius/oauth.ts","sources":["extensions/radius/oauth.ts"]},{"output":"stream.js","sha256":"32c84ade6670f550c0803f52275402580c8dcf351986312b328a90335bc91fa0","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
|
+
//#region extensions/radius/catalog.ts
|
|
4
4
|
const RADIUS_BASE_URL = "https://radius.pi.dev/v1";
|
|
5
5
|
const THINKING_LEVELS = [
|
|
6
6
|
"off",
|
|
@@ -106,4 +106,5 @@ async function fetchRadiusCatalog(apiKey, signal) {
|
|
|
106
106
|
models: config.models.map(readModel).filter((model) => model !== void 0)
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
|
+
//#endregion
|
|
109
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
|
+
//#region extensions/radius/openclaw.plugin.json
|
|
6
6
|
var openclaw_plugin_default = {
|
|
7
7
|
id: "radius",
|
|
8
8
|
name: "Radius",
|
|
@@ -47,7 +47,8 @@ var openclaw_plugin_default = {
|
|
|
47
47
|
"properties": {}
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region extensions/radius/index.ts
|
|
51
52
|
const loadCatalog = createLazyRuntimeModule(() => import("./catalog.js"));
|
|
52
53
|
const loadOAuth = createLazyRuntimeModule(() => import("./oauth.js"));
|
|
53
54
|
const loadStream = createLazyRuntimeModule(() => import("./stream.js"));
|
|
@@ -159,4 +160,5 @@ var radius_default = defineSingleProviderPluginEntry({
|
|
|
159
160
|
refreshOAuth: async (credential) => (await loadOAuth()).refreshRadiusOAuthCredential(credential)
|
|
160
161
|
}
|
|
161
162
|
});
|
|
163
|
+
//#endregion
|
|
162
164
|
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 { createOAuthRefreshError, createOAuthRefreshResponseError, 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
|
+
//#region 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;
|
|
@@ -156,4 +156,5 @@ async function refreshRadiusOAuthCredential(credential) {
|
|
|
156
156
|
}, { cause });
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
+
//#endregion
|
|
159
160
|
export { loginRadiusOAuth, refreshRadiusOAuthCredential };
|
package/dist/stream.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createProviderHttpError } from "openclaw/plugin-sdk/provider-http";
|
|
|
3
3
|
import { createAssistantMessageEventStream, createToolArgumentPreviewSchedule, parseStreamingJson } from "openclaw/plugin-sdk/llm";
|
|
4
4
|
import { omitNullRequestHeaders } from "openclaw/plugin-sdk/provider-request-headers";
|
|
5
5
|
import { buildAssistantMessage, buildGuardedModelFetch, createEmptyTransportUsage, failTransportStream, iterateSseFrames, mergeTransportHeaders, notifyProviderHttpResponse, parseTerminalToolCallArguments } from "openclaw/plugin-sdk/provider-transport-runtime";
|
|
6
|
-
|
|
6
|
+
//#region extensions/radius/stream.ts
|
|
7
7
|
const MAX_SSE_EVENT_BYTES = 16777216;
|
|
8
8
|
function record(value) {
|
|
9
9
|
const parsed = asOptionalRecord(value);
|
|
@@ -272,4 +272,5 @@ function createRadiusStreamFn() {
|
|
|
272
272
|
return stream;
|
|
273
273
|
};
|
|
274
274
|
}
|
|
275
|
+
//#endregion
|
|
275
276
|
export { createRadiusStreamFn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/radius-provider",
|
|
3
|
-
"version": "2026.11.5-beta.
|
|
3
|
+
"version": "2026.11.5-beta.2",
|
|
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.11.5-beta.
|
|
21
|
+
"pluginApi": ">=2026.11.5-beta.2"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.11.5-beta.
|
|
24
|
+
"openclawVersion": "2026.11.5-beta.2",
|
|
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.11.5-beta.
|
|
43
|
+
"openclaw": ">=2026.11.5-beta.2"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|