@openclaw/venice-provider 2026.11.1 → 2026.11.3

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,7 +1,7 @@
1
1
  import { parseVeniceModelPricing } from "../pricing-api.js";
2
2
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { buildManifestModelProviderConfig, readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
4
- // extensions/venice/openclaw.plugin.json
4
+ //#region extensions/venice/openclaw.plugin.json
5
5
  var openclaw_plugin_default = {
6
6
  id: "venice",
7
7
  categories: ["models"],
@@ -369,7 +369,8 @@ var openclaw_plugin_default = {
369
369
  "discovery": { "venice": "refreshable" }
370
370
  }
371
371
  };
372
- // extensions/venice/models.ts
372
+ //#endregion
373
+ //#region extensions/venice/models.ts
373
374
  const VENICE_MANIFEST_CATALOG = openclaw_plugin_default.modelCatalog.providers.venice;
374
375
  const VENICE_BASE_URL = VENICE_MANIFEST_CATALOG.baseUrl;
375
376
  const VENICE_DEFAULT_MODEL_REF = readManifestProviderDefaultModelRef(openclaw_plugin_default, "venice");
@@ -454,4 +455,5 @@ const VENICE_MODEL_DISCOVERY_OPTIONS = {
454
455
  authentication: "none",
455
456
  projectRows: projectVeniceModels
456
457
  };
458
+ //#endregion
457
459
  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 };
package/dist/api.js CHANGED
@@ -1 +1,2 @@
1
- export { t as VENICE_BASE_URL, n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG } from "./.setup/models-D2_M1haP.mjs";
1
+ import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-D73jPrCr.mjs";
2
+ export { VENICE_BASE_URL, VENICE_DEFAULT_MODEL_REF, VENICE_MODEL_CATALOG };
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-D2_M1haP.mjs";
1
+ import { a as openclaw_plugin_default, i as VENICE_MODEL_DISCOVERY_OPTIONS, t as VENICE_BASE_URL } from "./.setup/models-D73jPrCr.mjs";
2
2
  import { applyVeniceConfig } from "./onboard.js";
3
3
  import { buildStaticVeniceProvider } from "./provider-catalog.js";
4
4
  import { createVeniceStreamWrapper } from "./stream.js";
@@ -6,7 +6,7 @@ import { fetchVeniceUsage } from "./usage.js";
6
6
  import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
7
7
  import { applyModelCompatPatch } from "openclaw/plugin-sdk/provider-model-shared";
8
8
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
9
- // extensions/venice/index.ts
9
+ //#region extensions/venice/index.ts
10
10
  const PROVIDER_ID = "venice";
11
11
  const XAI_UNSUPPORTED_SCHEMA_KEYWORDS = [
12
12
  "minLength",
@@ -64,4 +64,5 @@ var venice_default = defineSingleProviderPluginEntry({
64
64
  })
65
65
  }
66
66
  });
67
+ //#endregion
67
68
  export { venice_default as default };
package/dist/models.js CHANGED
@@ -1 +1,2 @@
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-D2_M1haP.mjs";
1
+ import { i as VENICE_MODEL_DISCOVERY_OPTIONS, n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-D73jPrCr.mjs";
2
+ export { VENICE_BASE_URL, VENICE_DEFAULT_MODEL_REF, VENICE_MODEL_CATALOG, VENICE_MODEL_DISCOVERY_OPTIONS };
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-D2_M1haP.mjs";
1
+ import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-D73jPrCr.mjs";
2
2
  import { createProviderConnectionPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
3
- // extensions/venice/onboard.ts
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 };
@@ -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
- // extensions/venice/pricing-api.ts
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 };
@@ -1,5 +1,5 @@
1
- import { r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-D2_M1haP.mjs";
2
- // extensions/venice/provider-catalog.ts
1
+ import { r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./.setup/models-D73jPrCr.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: structuredClone(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
- // extensions/venice/stream.ts
3
+ //#region extensions/venice/stream.ts
4
4
  function isVeniceDeepSeekV4ModelId(modelId) {
5
5
  return modelId === "deepseek-v4-flash" || modelId === "deepseek-v4-pro";
6
6
  }
@@ -115,4 +115,5 @@ function createVeniceStreamWrapper(baseStreamFn) {
115
115
  applyVeniceGeminiToolHistoryCompatibility(payload, context, model);
116
116
  });
117
117
  }
118
+ //#endregion
118
119
  export { createVeniceStreamWrapper };
package/dist/usage.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { readProviderJsonObjectResponse } from "openclaw/plugin-sdk/provider-http";
2
2
  import { buildUsageErrorSnapshot, buildUsageHttpErrorSnapshot, parseProviderUsageNonNegativeNumber } from "openclaw/plugin-sdk/provider-usage";
3
- // extensions/venice/usage.ts
3
+ //#region extensions/venice/usage.ts
4
4
  const VENICE_BALANCE_URL = "https://api.venice.ai/api/v1/billing/balance";
5
5
  const VENICE_USAGE_RESPONSE_MAX_BYTES = 1048576;
6
6
  async function fetchVeniceUsage(params) {
@@ -72,4 +72,5 @@ async function fetchVeniceUsage(params) {
72
72
  ...data.canConsume === false ? { summary: "API consumption unavailable" } : {}
73
73
  };
74
74
  }
75
+ //#endregion
75
76
  export { fetchVeniceUsage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/venice-provider",
3
- "version": "2026.11.1",
3
+ "version": "2026.11.3",
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.1"
17
+ "pluginApi": ">=2026.11.3"
18
18
  },
19
19
  "build": {
20
- "openclawVersion": "2026.11.1",
20
+ "openclawVersion": "2026.11.3",
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.1"
43
+ "openclaw": ">=2026.11.3"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {
@@ -1 +0,0 @@
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"},{"output":"usage.js","source":"extensions/venice/usage.ts"}],"chunks":[{"output":".setup/models-D2_M1haP.mjs","sha256":"f1a18955dd80e5eb9010b993041752ee05d54a79547b0df2d9c970207cc358d6","facadeSource":null,"sources":["extensions/venice/models.ts","extensions/venice/openclaw.plugin.json"]},{"output":"api.js","sha256":"7bb34be5e6d4ec8bb909074a5337318706d066a3f34331594f2cf1ef1a8fe650","facadeSource":"extensions/venice/api.ts","sources":[]},{"output":"index.js","sha256":"731ecdf1154f6fbf2654e4173c8fe96c680d1bee5a3bbfe2f462e4e4eb65d5e3","facadeSource":"extensions/venice/index.ts","sources":["extensions/venice/index.ts"]},{"output":"models.js","sha256":"9384ba29edc85a024bb6f59246b530bbe9b4e413c3c3c8896f8e1931aa23ff42","facadeSource":"extensions/venice/models.ts","sources":[]},{"output":"onboard.js","sha256":"cdb97e84fefa2318642fa76a560ab3adce42c79e6fc8578f7ea42f7aef83f3c3","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":"6fb1881ba867454028111612dc182379f9fd534aaf8861e0bd0379c4e1fb73e5","facadeSource":"extensions/venice/provider-catalog.ts","sources":["extensions/venice/provider-catalog.ts"]},{"output":"stream.js","sha256":"b10e6be3a7ee5b7684c3942b7649ba2ad848dc0d736de0750fa30b04e81fde53","facadeSource":"extensions/venice/stream.ts","sources":["extensions/venice/stream.ts"]},{"output":"usage.js","sha256":"962055e6385e1402fb99408c205c38c9908e088339247617eb382fc28ee51d12","facadeSource":"extensions/venice/usage.ts","sources":["extensions/venice/usage.ts"]}],"unrenderedSources":["extensions/venice/api.ts"]}