@openclaw/venice-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.
- package/dist/.setup/{models-ZOIqXP1y.mjs → models-VFsL4jET.mjs} +4 -2
- package/dist/.source-module-urls/88442fd9d00c944bdd8e06deff0e58ad3961475f64178d6bd2080dae7f922b01.json +1 -1
- package/dist/api.js +1 -1
- package/dist/index.js +3 -2
- package/dist/models.js +1 -1
- package/dist/onboard.js +3 -2
- package/dist/pricing-api.js +2 -1
- package/dist/provider-catalog.js +3 -2
- package/dist/stream.js +2 -1
- package/package.json +4 -4
|
@@ -2,7 +2,7 @@ import { parseVeniceModelPricing } from "../pricing-api.js";
|
|
|
2
2
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { floorPositiveFiniteNumber } from "openclaw/plugin-sdk/number-runtime";
|
|
4
4
|
import { buildManifestModelProviderConfig, readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
5
|
-
|
|
5
|
+
//#region extensions/venice/openclaw.plugin.json
|
|
6
6
|
var openclaw_plugin_default = {
|
|
7
7
|
id: "venice",
|
|
8
8
|
categories: ["models"],
|
|
@@ -370,7 +370,8 @@ var openclaw_plugin_default = {
|
|
|
370
370
|
"discovery": { "venice": "refreshable" }
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
|
-
|
|
373
|
+
//#endregion
|
|
374
|
+
//#region extensions/venice/models.ts
|
|
374
375
|
const VENICE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.venice;
|
|
375
376
|
const VENICE_BASE_URL = VENICE_MANIFEST_CATALOG.baseUrl;
|
|
376
377
|
const VENICE_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "venice");
|
|
@@ -446,4 +447,5 @@ const VENICE_MODEL_DISCOVERY_OPTIONS = {
|
|
|
446
447
|
authentication: "none",
|
|
447
448
|
projectRows: projectVeniceModels
|
|
448
449
|
};
|
|
450
|
+
//#endregion
|
|
449
451
|
export { openclaw_plugin_default as a, VENICE_MODEL_DISCOVERY_OPTIONS as i, VENICE_DEFAULT_MODEL_REF as n, VENICE_MODEL_CATALOG as r, VENICE_BASE_URL as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"entries":[{"output":"api.js","source":"extensions/venice/api.ts"},{"output":"index.js","source":"extensions/venice/index.ts"},{"output":"models.js","source":"extensions/venice/models.ts"},{"output":"onboard.js","source":"extensions/venice/onboard.ts"},{"output":"pricing-api.js","source":"extensions/venice/pricing-api.ts"},{"output":"provider-catalog.js","source":"extensions/venice/provider-catalog.ts"},{"output":"stream.js","source":"extensions/venice/stream.ts"}],"chunks":[{"output":".setup/models-
|
|
1
|
+
{"version":3,"entries":[{"output":"api.js","source":"extensions/venice/api.ts"},{"output":"index.js","source":"extensions/venice/index.ts"},{"output":"models.js","source":"extensions/venice/models.ts"},{"output":"onboard.js","source":"extensions/venice/onboard.ts"},{"output":"pricing-api.js","source":"extensions/venice/pricing-api.ts"},{"output":"provider-catalog.js","source":"extensions/venice/provider-catalog.ts"},{"output":"stream.js","source":"extensions/venice/stream.ts"}],"chunks":[{"output":".setup/models-VFsL4jET.mjs","sha256":"7400985279b1242c929419058fb21605c2624b2721bda9817a5007b02c44a005","facadeSource":null,"sources":["extensions/venice/models.ts","extensions/venice/openclaw.plugin.json"]},{"output":"api.js","sha256":"fc3a500377e408b4330fec62ce57ae0fc8becd4f05d00c8a9fe3875d92e4d5ab","facadeSource":"extensions/venice/api.ts","sources":[]},{"output":"index.js","sha256":"930debe23d9626f93b5075a068b393314fdcc134e0e2d8d654106374337ddf6f","facadeSource":"extensions/venice/index.ts","sources":["extensions/venice/index.ts"]},{"output":"models.js","sha256":"4c3545cba51a51ee13ad062945213afbf76ec43fd949489ac47480d9db007ae8","facadeSource":"extensions/venice/models.ts","sources":[]},{"output":"onboard.js","sha256":"0a144e0da3df8c50465b82afa849f4d383e77622ce65370302d71c9de9d39342","facadeSource":"extensions/venice/onboard.ts","sources":["extensions/venice/onboard.ts"]},{"output":"pricing-api.js","sha256":"19d663f3b05ced3c05908f78f4034fc13cad3403543ee695199137eda2a58748","facadeSource":"extensions/venice/pricing-api.ts","sources":["extensions/venice/pricing-api.ts"]},{"output":"provider-catalog.js","sha256":"3da7067c948adf7b24503f62982abd159a1976e5d64e67bc35ff0ef7062b0687","facadeSource":"extensions/venice/provider-catalog.ts","sources":["extensions/venice/provider-catalog.ts"]},{"output":"stream.js","sha256":"1f9fbf5c789ab44df868511905c343a9b3622eba9eb161a57ff66b7852e54e19","facadeSource":"extensions/venice/stream.ts","sources":["extensions/venice/stream.ts"]}],"unrenderedSources":["extensions/venice/api.ts"]}
|
package/dist/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as VENICE_BASE_URL, n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG } from "./.setup/models-
|
|
1
|
+
export { t as VENICE_BASE_URL, n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG } from "./.setup/models-VFsL4jET.mjs";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as openclaw_plugin_default, i as VENICE_MODEL_DISCOVERY_OPTIONS, t as VENICE_BASE_URL } from "./.setup/models-
|
|
1
|
+
import { a as openclaw_plugin_default, i as VENICE_MODEL_DISCOVERY_OPTIONS, t as VENICE_BASE_URL } from "./.setup/models-VFsL4jET.mjs";
|
|
2
2
|
import { applyVeniceConfig } from "./onboard.js";
|
|
3
3
|
import { buildStaticVeniceProvider } from "./provider-catalog.js";
|
|
4
4
|
import { createVeniceStreamWrapper } from "./stream.js";
|
|
@@ -7,7 +7,7 @@ import { readProviderJsonObjectResponse } from "openclaw/plugin-sdk/provider-htt
|
|
|
7
7
|
import { applyModelCompatPatch } from "openclaw/plugin-sdk/provider-model-shared";
|
|
8
8
|
import { buildUsageErrorSnapshot, buildUsageHttpErrorSnapshot, parseProviderUsageNonNegativeNumber, resolveProviderUsageApiKeyAuth } from "openclaw/plugin-sdk/provider-usage";
|
|
9
9
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
|
-
|
|
10
|
+
//#region extensions/venice/index.ts
|
|
11
11
|
const PROVIDER_ID = "venice";
|
|
12
12
|
const VENICE_BALANCE_URL = "https://api.venice.ai/api/v1/billing/balance";
|
|
13
13
|
const VENICE_USAGE_RESPONSE_MAX_BYTES = 1048576;
|
|
@@ -125,4 +125,5 @@ var venice_default = defineSingleProviderPluginEntry({
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
|
+
//#endregion
|
|
128
129
|
export { venice_default as default };
|
package/dist/models.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as VENICE_BASE_URL, n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, i as VENICE_MODEL_DISCOVERY_OPTIONS } from "./.setup/models-
|
|
1
|
+
export { t as VENICE_BASE_URL, n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, i as VENICE_MODEL_DISCOVERY_OPTIONS } from "./.setup/models-VFsL4jET.mjs";
|
package/dist/onboard.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-
|
|
1
|
+
import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-VFsL4jET.mjs";
|
|
2
2
|
import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
3
|
-
|
|
3
|
+
//#region extensions/venice/onboard.ts
|
|
4
4
|
const { applyConfig: applyVeniceConfig } = createProviderConnectionPresetAppliers({
|
|
5
5
|
primaryModelRef: VENICE_DEFAULT_MODEL_REF,
|
|
6
6
|
resolveParams: () => ({
|
|
@@ -14,4 +14,5 @@ const { applyConfig: applyVeniceConfig } = createProviderConnectionPresetApplier
|
|
|
14
14
|
}]
|
|
15
15
|
})
|
|
16
16
|
});
|
|
17
|
+
//#endregion
|
|
17
18
|
export { applyVeniceConfig };
|
package/dist/pricing-api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { asFiniteNumberInRange, asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
2
|
import { normalizeModelPricingCatalog } from "openclaw/plugin-sdk/model-catalog-pricing";
|
|
3
|
-
|
|
3
|
+
//#region extensions/venice/pricing-api.ts
|
|
4
4
|
function readVeniceRates(value) {
|
|
5
5
|
const row = asOptionalRecord(value);
|
|
6
6
|
const [input, output, cacheRead, cacheWrite] = [
|
|
@@ -50,4 +50,5 @@ function parseVeniceModelPricing(value) {
|
|
|
50
50
|
function parseVenicePricingCatalog(payload) {
|
|
51
51
|
return normalizeModelPricingCatalog(asOptionalRecord(payload)?.data, parseVeniceModelPricing, { readPricing: (model) => model.type === "text" ? asOptionalRecord(model.model_spec)?.pricing : void 0 });
|
|
52
52
|
}
|
|
53
|
+
//#endregion
|
|
53
54
|
export { parseVeniceModelPricing, parseVenicePricingCatalog };
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-
|
|
2
|
-
|
|
1
|
+
import { r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-VFsL4jET.mjs";
|
|
2
|
+
//#region extensions/venice/provider-catalog.ts
|
|
3
3
|
function buildStaticVeniceProvider() {
|
|
4
4
|
return {
|
|
5
5
|
baseUrl: VENICE_BASE_URL,
|
|
@@ -7,4 +7,5 @@ function buildStaticVeniceProvider() {
|
|
|
7
7
|
models: VENICE_MODEL_CATALOG
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
+
//#endregion
|
|
10
11
|
export { buildStaticVeniceProvider };
|
package/dist/stream.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { asOptionalObjectRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
2
|
import { createPayloadPatchStreamWrapper, normalizeOpenAICompatibleReasoningReplay } from "openclaw/plugin-sdk/provider-stream-shared";
|
|
3
|
-
|
|
3
|
+
//#region extensions/venice/stream.ts
|
|
4
4
|
function stringifyHistoricalValue(value) {
|
|
5
5
|
if (typeof value === "string") return value;
|
|
6
6
|
if (value === null || value === void 0) return "";
|
|
@@ -100,4 +100,5 @@ function createVeniceStreamWrapper(baseStreamFn) {
|
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
+
//#endregion
|
|
103
104
|
export { createVeniceStreamWrapper };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/venice-provider",
|
|
3
|
-
"version": "2026.11.5-beta.
|
|
3
|
+
"version": "2026.11.5-beta.2",
|
|
4
4
|
"description": "OpenClaw Venice provider plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"openclaw": {
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
"minHostVersion": ">=2026.6.9"
|
|
15
15
|
},
|
|
16
16
|
"compat": {
|
|
17
|
-
"pluginApi": ">=2026.11.5-beta.
|
|
17
|
+
"pluginApi": ">=2026.11.5-beta.2"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"openclawVersion": "2026.11.5-beta.
|
|
20
|
+
"openclawVersion": "2026.11.5-beta.2",
|
|
21
21
|
"bundledDist": false
|
|
22
22
|
},
|
|
23
23
|
"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": {
|