@openclaw/venice-provider 2026.11.5 → 2026.11.10-beta.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.
- package/dist/.setup/{models-VFsL4jET.mjs → models-ZOIqXP1y.mjs} +2 -4
- package/dist/.source-module-urls/88442fd9d00c944bdd8e06deff0e58ad3961475f64178d6bd2080dae7f922b01.json +1 -1
- package/dist/api.js +1 -1
- package/dist/index.js +2 -3
- package/dist/models.js +1 -1
- package/dist/onboard.js +2 -3
- package/dist/pricing-api.js +1 -2
- package/dist/provider-catalog.js +2 -3
- package/dist/stream.js +1 -2
- 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
|
+
// extensions/venice/openclaw.plugin.json
|
|
6
6
|
var openclaw_plugin_default = {
|
|
7
7
|
id: "venice",
|
|
8
8
|
categories: ["models"],
|
|
@@ -370,8 +370,7 @@ var openclaw_plugin_default = {
|
|
|
370
370
|
"discovery": { "venice": "refreshable" }
|
|
371
371
|
}
|
|
372
372
|
};
|
|
373
|
-
|
|
374
|
-
//#region extensions/venice/models.ts
|
|
373
|
+
// extensions/venice/models.ts
|
|
375
374
|
const VENICE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.venice;
|
|
376
375
|
const VENICE_BASE_URL = VENICE_MANIFEST_CATALOG.baseUrl;
|
|
377
376
|
const VENICE_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "venice");
|
|
@@ -447,5 +446,4 @@ const VENICE_MODEL_DISCOVERY_OPTIONS = {
|
|
|
447
446
|
authentication: "none",
|
|
448
447
|
projectRows: projectVeniceModels
|
|
449
448
|
};
|
|
450
|
-
//#endregion
|
|
451
449
|
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-ZOIqXP1y.mjs","sha256":"e1b7d1a8e7e70102c51a63e8b057d35d2446dad876c93ff41af8d08912ee6dbd","facadeSource":null,"sources":["extensions/venice/models.ts","extensions/venice/openclaw.plugin.json"]},{"output":"api.js","sha256":"94b8052dadae92cb8f56622540d4f2a2feb5313331cef2ee9b9ce55d80817c25","facadeSource":"extensions/venice/api.ts","sources":[]},{"output":"index.js","sha256":"b3e05c107292767d28e71f7781472d35e886703717ec651411a1e9f207d934d7","facadeSource":"extensions/venice/index.ts","sources":["extensions/venice/index.ts"]},{"output":"models.js","sha256":"28a38b81587718fd3cac87710e3bbce722165cbe200bb834a1908f437bb8fc3a","facadeSource":"extensions/venice/models.ts","sources":[]},{"output":"onboard.js","sha256":"761c4f9eb4f2fac0b4b531f51db847c9792f39743f74632d6f61430abf5348d7","facadeSource":"extensions/venice/onboard.ts","sources":["extensions/venice/onboard.ts"]},{"output":"pricing-api.js","sha256":"ce228915187a0739fbea273f4545f21b1de7e49b3a5b41e13efd540a0e89ac83","facadeSource":"extensions/venice/pricing-api.ts","sources":["extensions/venice/pricing-api.ts"]},{"output":"provider-catalog.js","sha256":"a91a51a5881f76a3e378860fbd8a79e3196458b21d212acce3f20dbaa576ddfe","facadeSource":"extensions/venice/provider-catalog.ts","sources":["extensions/venice/provider-catalog.ts"]},{"output":"stream.js","sha256":"754eb6ef1a1847d413260aac3ba69ea706a8957293eb007a6f5ecfea37067e87","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-ZOIqXP1y.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-ZOIqXP1y.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
|
+
// 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,5 +125,4 @@ var venice_default = defineSingleProviderPluginEntry({
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
|
-
//#endregion
|
|
129
128
|
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-ZOIqXP1y.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-ZOIqXP1y.mjs";
|
|
2
2
|
import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
3
|
-
|
|
3
|
+
// extensions/venice/onboard.ts
|
|
4
4
|
const { applyConfig: applyVeniceConfig } = createProviderConnectionPresetAppliers({
|
|
5
5
|
primaryModelRef: VENICE_DEFAULT_MODEL_REF,
|
|
6
6
|
resolveParams: () => ({
|
|
@@ -14,5 +14,4 @@ const { applyConfig: applyVeniceConfig } = createProviderConnectionPresetApplier
|
|
|
14
14
|
}]
|
|
15
15
|
})
|
|
16
16
|
});
|
|
17
|
-
//#endregion
|
|
18
17
|
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
|
+
// extensions/venice/pricing-api.ts
|
|
4
4
|
function readVeniceRates(value) {
|
|
5
5
|
const row = asOptionalRecord(value);
|
|
6
6
|
const [input, output, cacheRead, cacheWrite] = [
|
|
@@ -50,5 +50,4 @@ 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
|
|
54
53
|
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-ZOIqXP1y.mjs";
|
|
2
|
+
// extensions/venice/provider-catalog.ts
|
|
3
3
|
function buildStaticVeniceProvider() {
|
|
4
4
|
return {
|
|
5
5
|
baseUrl: VENICE_BASE_URL,
|
|
@@ -7,5 +7,4 @@ function buildStaticVeniceProvider() {
|
|
|
7
7
|
models: VENICE_MODEL_CATALOG
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
|
-
//#endregion
|
|
11
10
|
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
|
+
// 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,5 +100,4 @@ function createVeniceStreamWrapper(baseStreamFn) {
|
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
//#endregion
|
|
104
103
|
export { createVeniceStreamWrapper };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/venice-provider",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.10-beta.1",
|
|
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.
|
|
17
|
+
"pluginApi": ">=2026.11.10-beta.1"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"openclawVersion": "2026.11.
|
|
20
|
+
"openclawVersion": "2026.11.10-beta.1",
|
|
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.
|
|
43
|
+
"openclaw": ">=2026.11.10-beta.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|