@openclaw/deepinfra-provider 2026.7.2-beta.1 → 2026.7.2-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/api.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as DEEPINFRA_DEFAULT_MODEL_REF } from "./provider-models-BLNlFB8o.js";
1
+ import { n as DEEPINFRA_DEFAULT_MODEL_REF } from "./provider-models-CXaqRQOl.js";
2
2
  import { buildDeepInfraImageGenerationProvider } from "./image-generation-provider.js";
3
3
  import { deepinfraMediaUnderstandingProvider } from "./media-understanding-provider.js";
4
4
  import { deepinfraMemoryEmbeddingProviderAdapter } from "./memory-embedding-adapter.js";
@@ -1,4 +1,4 @@
1
- import { t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
2
  import { DEEPINFRA_EMBED_FALLBACK_MODELS, normalizeDeepInfraModelRef } from "./media-models.js";
3
3
  import { createRemoteEmbeddingProvider, resolveRemoteEmbeddingClient } from "openclaw/plugin-sdk/memory-core-host-engine-embeddings";
4
4
  //#region extensions/deepinfra/embedding-provider.ts
@@ -1,4 +1,4 @@
1
- import { t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
2
  import { DEEPINFRA_IMAGE_FALLBACK_MODELS, normalizeDeepInfraBaseUrl, normalizeDeepInfraModelRef } from "./media-models.js";
3
3
  import { createOpenAiCompatibleImageGenerationProvider, imageSourceUploadFileName } from "openclaw/plugin-sdk/image-generation";
4
4
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createDeepInfraAnthropicCacheWrapper } from "./cache-wrapper.js";
2
- import { l as getDeepInfraSurfaceFallbackCatalog, r as DEEPINFRA_DEFAULT_MODEL_REF, s as discoverDeepInfraModels, u as hasDeepInfraApiKey } from "./provider-models-BLNlFB8o.js";
2
+ import { a as discoverDeepInfraModels, c as hasDeepInfraApiKey, n as DEEPINFRA_DEFAULT_MODEL_REF, s as getDeepInfraSurfaceFallbackCatalog } from "./provider-models-CXaqRQOl.js";
3
3
  import { buildDeepInfraImageGenerationProvider } from "./image-generation-provider.js";
4
4
  import { buildDeepInfraMediaUnderstandingProvider } from "./media-understanding-provider.js";
5
5
  import { buildDeepInfraMemoryEmbeddingAdapter } from "./memory-embedding-adapter.js";
@@ -10,7 +10,7 @@ import { listDeepInfraImageGenCatalog, listDeepInfraVideoGenCatalog } from "./su
10
10
  import { buildDeepInfraVideoGenerationProvider } from "./video-generation-provider.js";
11
11
  import { readConfiguredProviderCatalogEntries } from "openclaw/plugin-sdk/provider-catalog-shared";
12
12
  import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
13
- import { PASSTHROUGH_GEMINI_REPLAY_HOOKS } from "openclaw/plugin-sdk/provider-model-shared";
13
+ import { buildProviderReplayFamilyHooks } from "openclaw/plugin-sdk/provider-model-shared";
14
14
  import { createOpenRouterWrapper, isProxyReasoningUnsupported } from "openclaw/plugin-sdk/provider-stream";
15
15
  //#region extensions/deepinfra/index.ts
16
16
  const PROVIDER_ID = "deepinfra";
@@ -84,7 +84,7 @@ var deepinfra_default = defineSingleProviderPluginEntry({
84
84
  api,
85
85
  baseUrl
86
86
  } : void 0,
87
- ...PASSTHROUGH_GEMINI_REPLAY_HOOKS,
87
+ ...buildProviderReplayFamilyHooks({ family: "passthrough-gemini" }),
88
88
  wrapStreamFn: (ctx) => {
89
89
  const thinkingLevel = isProxyReasoningUnsupported(ctx.modelId) ? void 0 : ctx.thinkingLevel;
90
90
  return createDeepInfraAnthropicCacheWrapper(createOpenRouterWrapper(ctx.streamFn, thinkingLevel));
@@ -1,4 +1,4 @@
1
- import { t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
2
  import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  //#region extensions/deepinfra/media-models.ts
4
4
  const DEEPINFRA_NATIVE_BASE_URL = "https://api.deepinfra.com/v1/inference";
@@ -1,4 +1,4 @@
1
- import { t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
2
  import { DEEPINFRA_STT_FALLBACK_MODELS, DEEPINFRA_VLM_FALLBACK_MODELS } from "./media-models.js";
3
3
  import { describeImageWithModel, describeImagesWithModel, transcribeOpenAiCompatibleAudio } from "openclaw/plugin-sdk/media-understanding";
4
4
  //#region extensions/deepinfra/media-understanding-provider.ts
@@ -32,4 +32,4 @@ function buildDeepInfraMediaUnderstandingProvider(options) {
32
32
  }
33
33
  const deepinfraMediaUnderstandingProvider = buildDeepInfraMediaUnderstandingProvider();
34
34
  //#endregion
35
- export { buildDeepInfraMediaUnderstandingProvider, deepinfraMediaUnderstandingProvider, transcribeDeepInfraAudio };
35
+ export { buildDeepInfraMediaUnderstandingProvider, deepinfraMediaUnderstandingProvider };
package/dist/onboard.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as DEEPINFRA_DEFAULT_MODEL_REF, t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { n as DEEPINFRA_DEFAULT_MODEL_REF } from "./provider-models-CXaqRQOl.js";
2
2
  import { applyAgentDefaultModelPrimary } from "openclaw/plugin-sdk/provider-onboard";
3
3
  //#region extensions/deepinfra/onboard.ts
4
4
  function applyDeepInfraConfig(cfg, modelRef = DEEPINFRA_DEFAULT_MODEL_REF) {
@@ -19,4 +19,4 @@ function applyDeepInfraConfig(cfg, modelRef = DEEPINFRA_DEFAULT_MODEL_REF) {
19
19
  }, modelRef);
20
20
  }
21
21
  //#endregion
22
- export { DEEPINFRA_BASE_URL, DEEPINFRA_DEFAULT_MODEL_REF, applyDeepInfraConfig };
22
+ export { applyDeepInfraConfig };
@@ -1,4 +1,4 @@
1
- import { a as DEEPINFRA_MODEL_CATALOG, o as buildDeepInfraModelDefinition, s as discoverDeepInfraModels, t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { a as discoverDeepInfraModels, i as buildDeepInfraModelDefinition, r as DEEPINFRA_MODEL_CATALOG, t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
2
  import { buildSingleProviderApiKeyCatalog } from "openclaw/plugin-sdk/provider-catalog-shared";
3
3
  //#region extensions/deepinfra/provider-catalog.ts
4
4
  function buildStaticDeepInfraProvider() {
@@ -1,7 +1,7 @@
1
1
  import { buildManifestModelProviderConfig } from "openclaw/plugin-sdk/provider-catalog-shared";
2
2
  import { asPositiveSafeInteger } from "openclaw/plugin-sdk/string-coerce-runtime";
3
3
  import { isProviderApiKeyConfigured } from "openclaw/plugin-sdk/provider-auth";
4
- import { LiveModelCatalogHttpError, clearLiveCatalogCacheForTests, getCachedLiveProviderModelRows } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
4
+ import { LiveModelCatalogHttpError, getCachedLiveProviderModelRows } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
5
5
  import { createSubsystemLogger } from "openclaw/plugin-sdk/runtime-env";
6
6
  import { hasConfiguredSecretInput } from "openclaw/plugin-sdk/secret-input";
7
7
  //#region extensions/deepinfra/openclaw.plugin.json
@@ -143,16 +143,12 @@ const DEEPINFRA_MANIFEST_PROVIDER = buildManifestModelProviderConfig({
143
143
  });
144
144
  const DEEPINFRA_BASE_URL = DEEPINFRA_MANIFEST_PROVIDER.baseUrl;
145
145
  const DEEPINFRA_MODELS_URL = `${DEEPINFRA_BASE_URL}/models?sort_by=openclaw&filter=with_meta`;
146
- const DEEPINFRA_DEFAULT_MODEL_ID = "deepseek-ai/DeepSeek-V4-Flash";
147
- const DEEPINFRA_DEFAULT_MODEL_REF = `deepinfra/${DEEPINFRA_DEFAULT_MODEL_ID}`;
146
+ const DEEPINFRA_DEFAULT_MODEL_REF = `deepinfra/deepseek-ai/DeepSeek-V4-Flash`;
148
147
  const DEEPINFRA_DEFAULT_CONTEXT_WINDOW = 128e3;
149
148
  const DEEPINFRA_DEFAULT_MAX_TOKENS = 8192;
150
149
  const DEEPINFRA_MODEL_CATALOG = DEEPINFRA_MANIFEST_PROVIDER.models;
151
150
  const DISCOVERY_TIMEOUT_MS = 5e3;
152
151
  const DISCOVERY_CACHE_TTL_MS = 300 * 1e3;
153
- function resetDeepInfraModelCacheForTest() {
154
- clearLiveCatalogCacheForTests();
155
- }
156
152
  const SURFACE_FOR_TAG = {
157
153
  chat: "chat",
158
154
  vlm: "vlm",
@@ -410,4 +406,4 @@ async function discoverDeepInfraModels(options) {
410
406
  return [...liveModels, ...manifestModels];
411
407
  }
412
408
  //#endregion
413
- export { DEEPINFRA_MODEL_CATALOG as a, discoverDeepInfraSurfaces as c, resetDeepInfraModelCacheForTest as d, DEEPINFRA_MODELS_URL as i, getDeepInfraSurfaceFallbackCatalog as l, DEEPINFRA_DEFAULT_MODEL_ID as n, buildDeepInfraModelDefinition as o, DEEPINFRA_DEFAULT_MODEL_REF as r, discoverDeepInfraModels as s, DEEPINFRA_BASE_URL as t, hasDeepInfraApiKey as u };
409
+ export { discoverDeepInfraModels as a, hasDeepInfraApiKey as c, buildDeepInfraModelDefinition as i, DEEPINFRA_DEFAULT_MODEL_REF as n, discoverDeepInfraSurfaces as o, DEEPINFRA_MODEL_CATALOG as r, getDeepInfraSurfaceFallbackCatalog as s, DEEPINFRA_BASE_URL as t };
@@ -1,2 +1,2 @@
1
- import { a as DEEPINFRA_MODEL_CATALOG, c as discoverDeepInfraSurfaces, d as resetDeepInfraModelCacheForTest, i as DEEPINFRA_MODELS_URL, l as getDeepInfraSurfaceFallbackCatalog, n as DEEPINFRA_DEFAULT_MODEL_ID, o as buildDeepInfraModelDefinition, r as DEEPINFRA_DEFAULT_MODEL_REF, s as discoverDeepInfraModels, t as DEEPINFRA_BASE_URL, u as hasDeepInfraApiKey } from "./provider-models-BLNlFB8o.js";
2
- export { DEEPINFRA_BASE_URL, DEEPINFRA_DEFAULT_MODEL_ID, DEEPINFRA_DEFAULT_MODEL_REF, DEEPINFRA_MODELS_URL, DEEPINFRA_MODEL_CATALOG, buildDeepInfraModelDefinition, discoverDeepInfraModels, discoverDeepInfraSurfaces, getDeepInfraSurfaceFallbackCatalog, hasDeepInfraApiKey, resetDeepInfraModelCacheForTest };
1
+ import { a as discoverDeepInfraModels, c as hasDeepInfraApiKey, i as buildDeepInfraModelDefinition, n as DEEPINFRA_DEFAULT_MODEL_REF, o as discoverDeepInfraSurfaces, r as DEEPINFRA_MODEL_CATALOG, s as getDeepInfraSurfaceFallbackCatalog, t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
+ export { DEEPINFRA_BASE_URL, DEEPINFRA_DEFAULT_MODEL_REF, DEEPINFRA_MODEL_CATALOG, buildDeepInfraModelDefinition, discoverDeepInfraModels, discoverDeepInfraSurfaces, getDeepInfraSurfaceFallbackCatalog, hasDeepInfraApiKey };
@@ -1,4 +1,4 @@
1
- import { t as DEEPINFRA_BASE_URL } from "./provider-models-BLNlFB8o.js";
1
+ import { t as DEEPINFRA_BASE_URL } from "./provider-models-CXaqRQOl.js";
2
2
  import { DEEPINFRA_TTS_FALLBACK_MODELS, DEFAULT_DEEPINFRA_TTS_VOICE, normalizeDeepInfraModelRef } from "./media-models.js";
3
3
  import { asObject, createOpenAiCompatibleSpeechProvider } from "openclaw/plugin-sdk/speech";
4
4
  //#region extensions/deepinfra/speech-provider.ts
@@ -1,4 +1,4 @@
1
- import { c as discoverDeepInfraSurfaces } from "./provider-models-BLNlFB8o.js";
1
+ import { o as discoverDeepInfraSurfaces } from "./provider-models-CXaqRQOl.js";
2
2
  import { DEEPINFRA_VIDEO_ASPECT_RATIOS, DEEPINFRA_VIDEO_DURATIONS } from "./media-models.js";
3
3
  //#region extensions/deepinfra/surface-model-catalogs.ts
4
4
  const PROVIDER_ID = "deepinfra";
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/deepinfra-provider",
3
- "version": "2026.7.2-beta.1",
3
+ "version": "2026.7.2-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/deepinfra-provider",
9
- "version": "2026.7.2-beta.1"
9
+ "version": "2026.7.2-beta.2"
10
10
  }
11
11
  }
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/deepinfra-provider",
3
- "version": "2026.7.2-beta.1",
3
+ "version": "2026.7.2-beta.2",
4
4
  "description": "OpenClaw DeepInfra provider plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.6.8"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.7.2-beta.1"
21
+ "pluginApi": ">=2026.7.2-beta.2"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.7.2-beta.1",
24
+ "openclawVersion": "2026.7.2-beta.2",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -39,7 +39,7 @@
39
39
  "README.md"
40
40
  ],
41
41
  "peerDependencies": {
42
- "openclaw": ">=2026.7.2-beta.1"
42
+ "openclaw": ">=2026.7.2-beta.2"
43
43
  },
44
44
  "peerDependenciesMeta": {
45
45
  "openclaw": {