@openclaw/venice-provider 2026.8.1-beta.2 → 2026.8.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/api.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{models-B-tcQZD0.js → models-7ngRXOeA.js} +5 -12
- package/dist/models.js +1 -1
- package/dist/onboard.js +1 -1
- package/dist/provider-catalog.js +1 -1
- package/package.json +4 -4
package/dist/api.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./models-
|
|
1
|
+
import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./models-7ngRXOeA.js";
|
|
2
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 } from "./models-
|
|
1
|
+
import { a as openclaw_plugin_default, i as VENICE_MODEL_DISCOVERY_OPTIONS } from "./models-7ngRXOeA.js";
|
|
2
2
|
import { applyVeniceConfig } from "./onboard.js";
|
|
3
3
|
import { buildStaticVeniceProvider } from "./provider-catalog.js";
|
|
4
4
|
import { createVeniceStreamWrapper } from "./stream.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { buildManifestModelProviderConfig, readManifestProviderDefaultModelRef } from "openclaw/plugin-sdk/provider-catalog-shared";
|
|
3
3
|
//#region extensions/venice/openclaw.plugin.json
|
|
4
4
|
var openclaw_plugin_default = {
|
|
5
5
|
id: "venice",
|
|
@@ -357,13 +357,7 @@ const VENICE_DISCOVERY_TIMEOUT_MS = 1e4;
|
|
|
357
357
|
const VENICE_DISCOVERY_CACHE_TTL_MS = 6e4;
|
|
358
358
|
function decorateVeniceModelDefinition(entry) {
|
|
359
359
|
return {
|
|
360
|
-
|
|
361
|
-
name: entry.name,
|
|
362
|
-
reasoning: entry.reasoning,
|
|
363
|
-
input: [...entry.input],
|
|
364
|
-
cost: VENICE_DEFAULT_COST,
|
|
365
|
-
contextWindow: entry.contextWindow,
|
|
366
|
-
maxTokens: entry.maxTokens,
|
|
360
|
+
...entry,
|
|
367
361
|
compat: {
|
|
368
362
|
supportsUsageInStreaming: false,
|
|
369
363
|
...entry.compat
|
|
@@ -371,11 +365,10 @@ function decorateVeniceModelDefinition(entry) {
|
|
|
371
365
|
};
|
|
372
366
|
}
|
|
373
367
|
/** Venice's decorated network-free fallback catalog. */
|
|
374
|
-
const VENICE_MODEL_CATALOG =
|
|
368
|
+
const VENICE_MODEL_CATALOG = buildManifestModelProviderConfig({
|
|
375
369
|
providerId: "venice",
|
|
376
|
-
catalog: VENICE_MANIFEST_CATALOG
|
|
377
|
-
|
|
378
|
-
}));
|
|
370
|
+
catalog: VENICE_MANIFEST_CATALOG
|
|
371
|
+
}).models.map(decorateVeniceModelDefinition);
|
|
379
372
|
function normalizePositiveInt(value) {
|
|
380
373
|
if (typeof value !== "number" || !Number.isFinite(value) || value <= 0) return;
|
|
381
374
|
return Math.floor(value);
|
package/dist/models.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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 "./models-
|
|
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 "./models-7ngRXOeA.js";
|
|
2
2
|
export { VENICE_BASE_URL, VENICE_DEFAULT_MODEL_REF, VENICE_MODEL_CATALOG, VENICE_MODEL_DISCOVERY_OPTIONS };
|
package/dist/onboard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./models-
|
|
1
|
+
import { n as VENICE_DEFAULT_MODEL_REF, r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./models-7ngRXOeA.js";
|
|
2
2
|
import "./api.js";
|
|
3
3
|
import { createModelCatalogPresetAppliers } from "openclaw/plugin-sdk/provider-onboard";
|
|
4
4
|
//#region extensions/venice/onboard.ts
|
package/dist/provider-catalog.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./models-
|
|
1
|
+
import { r as VENICE_MODEL_CATALOG, t as VENICE_BASE_URL } from "./models-7ngRXOeA.js";
|
|
2
2
|
//#region extensions/venice/provider-catalog.ts
|
|
3
3
|
function buildStaticVeniceProvider() {
|
|
4
4
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/venice-provider",
|
|
3
|
-
"version": "2026.8.1
|
|
3
|
+
"version": "2026.8.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.8.1
|
|
17
|
+
"pluginApi": ">=2026.8.1"
|
|
18
18
|
},
|
|
19
19
|
"build": {
|
|
20
|
-
"openclawVersion": "2026.8.1
|
|
20
|
+
"openclawVersion": "2026.8.1",
|
|
21
21
|
"bundledDist": false
|
|
22
22
|
},
|
|
23
23
|
"release": {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"README.md"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"openclaw": ">=2026.8.1
|
|
41
|
+
"openclaw": ">=2026.8.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependenciesMeta": {
|
|
44
44
|
"openclaw": {
|