@openclaw/synthetic-provider 2026.11.5-beta.2 → 2026.11.5-beta.4
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":"api.js","source":"extensions/synthetic/api.ts"},{"output":"index.js","source":"extensions/synthetic/index.ts"},{"output":"models.js","source":"extensions/synthetic/models.ts"},{"output":"onboard.js","source":"extensions/synthetic/onboard.ts"},{"output":"provider-catalog.js","source":"extensions/synthetic/provider-catalog.ts"}],"chunks":[{"output":"api.js","sha256":"c8f329864bbeee7883840241fda3e61f7ac1aa9bfbe3c763ae9be2aed2d42848","facadeSource":"extensions/synthetic/api.ts","sources":[]},{"output":"index.js","sha256":"2e596d053852cbe11f2fb307712aabd87a4933f7c84d90af6cfc49eacf98f10d","facadeSource":"extensions/synthetic/index.ts","sources":["extensions/synthetic/index.ts","extensions/synthetic/openclaw.plugin.json"]},{"output":"models.js","sha256":"29c4ae9282fa41a8aff0606afe56d988bfd2fd11a9f93efe644746014073ab9f","facadeSource":"extensions/synthetic/models.ts","sources":["extensions/synthetic/models.ts"]},{"output":"onboard.js","sha256":"41120dcdb965a8b9fe9783829258e5e3c4e6c98a36fe76199695affe55e7c1fe","facadeSource":"extensions/synthetic/onboard.ts","sources":["extensions/synthetic/onboard.ts"]},{"output":"provider-catalog.js","sha256":"
|
|
1
|
+
{"version":3,"entries":[{"output":"api.js","source":"extensions/synthetic/api.ts"},{"output":"index.js","source":"extensions/synthetic/index.ts"},{"output":"models.js","source":"extensions/synthetic/models.ts"},{"output":"onboard.js","source":"extensions/synthetic/onboard.ts"},{"output":"provider-catalog.js","source":"extensions/synthetic/provider-catalog.ts"}],"chunks":[{"output":"api.js","sha256":"c8f329864bbeee7883840241fda3e61f7ac1aa9bfbe3c763ae9be2aed2d42848","facadeSource":"extensions/synthetic/api.ts","sources":[]},{"output":"index.js","sha256":"2e596d053852cbe11f2fb307712aabd87a4933f7c84d90af6cfc49eacf98f10d","facadeSource":"extensions/synthetic/index.ts","sources":["extensions/synthetic/index.ts","extensions/synthetic/openclaw.plugin.json"]},{"output":"models.js","sha256":"29c4ae9282fa41a8aff0606afe56d988bfd2fd11a9f93efe644746014073ab9f","facadeSource":"extensions/synthetic/models.ts","sources":["extensions/synthetic/models.ts"]},{"output":"onboard.js","sha256":"41120dcdb965a8b9fe9783829258e5e3c4e6c98a36fe76199695affe55e7c1fe","facadeSource":"extensions/synthetic/onboard.ts","sources":["extensions/synthetic/onboard.ts"]},{"output":"provider-catalog.js","sha256":"0904e5de7af044931fc32cfd894b5eb0b7bc6088a749d9e8e57ca65e5d14ce43","facadeSource":"extensions/synthetic/provider-catalog.ts","sources":["extensions/synthetic/provider-catalog.ts"]}],"unrenderedSources":["extensions/synthetic/api.ts"]}
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SYNTHETIC_BASE_URL, SYNTHETIC_MODEL_CATALOG, buildSyntheticModelDefinition } from "./models.js";
|
|
2
|
+
import { resolveDefaultModelMaxTokens } from "openclaw/plugin-sdk/provider-model-shared";
|
|
2
3
|
import { asOptionalRecord, asPositiveSafeInteger, filterStringEntries, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
4
|
//#region extensions/synthetic/provider-catalog.ts
|
|
4
5
|
function buildSyntheticProvider() {
|
|
@@ -33,7 +34,7 @@ function projectSyntheticModels(rows, fallback) {
|
|
|
33
34
|
reasoning: features.includes("reasoning") || efforts.some((effort) => effort !== "none"),
|
|
34
35
|
input: input.includes("image") ? ["text", "image"] : ["text"],
|
|
35
36
|
contextWindow,
|
|
36
|
-
maxTokens: Math.min(asPositiveSafeInteger(record.max_output_length) ?? seed?.maxTokens ??
|
|
37
|
+
maxTokens: Math.min(asPositiveSafeInteger(record.max_output_length) ?? seed?.maxTokens ?? resolveDefaultModelMaxTokens(contextWindow), contextWindow),
|
|
37
38
|
cost: {
|
|
38
39
|
input: readTokenPrice(pricing?.prompt) ?? seed?.cost.input ?? 0,
|
|
39
40
|
output: readTokenPrice(pricing?.completion) ?? seed?.cost.output ?? 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/synthetic-provider",
|
|
3
|
-
"version": "2026.11.5-beta.
|
|
3
|
+
"version": "2026.11.5-beta.4",
|
|
4
4
|
"description": "OpenClaw Synthetic provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.7.2"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.11.5-beta.
|
|
21
|
+
"pluginApi": ">=2026.11.5-beta.4"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.11.5-beta.
|
|
24
|
+
"openclawVersion": "2026.11.5-beta.4",
|
|
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.4"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|