@openclaw/mistral-provider 2026.10.5-beta.3 → 2026.10.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.
@@ -1,2 +1 @@
1
- import { t as buildMistralProvider } from "./.setup/provider-catalog-DV4UQ-rA.mjs";
2
- export { buildMistralProvider };
1
+ export { t as buildMistralProvider } from "./.setup/provider-catalog-DV4UQ-rA.mjs";
@@ -81,6 +81,7 @@ function measureTranscriptDeltaBytes(partialText, delta) {
81
81
  return Buffer.byteLength(delta, "utf8") - (completesSplitSurrogatePair ? 2 : 0);
82
82
  }
83
83
  function buildMistralRealtimeTranscriptionProvider({ createRealtimeTranscriptionWebSocketSession }) {
84
+ const isConfigured = ({ providerConfig }) => Boolean(normalizeProviderConfig(providerConfig).apiKey || normalizeMistralApiKey(process.env.MISTRAL_API_KEY));
84
85
  return {
85
86
  id: "mistral",
86
87
  label: "Mistral Realtime Transcription",
@@ -88,7 +89,8 @@ function buildMistralRealtimeTranscriptionProvider({ createRealtimeTranscription
88
89
  defaultModel: MISTRAL_REALTIME_DEFAULT_MODEL,
89
90
  autoSelectOrder: 45,
90
91
  resolveConfig: ({ rawConfig }) => normalizeProviderConfig(rawConfig),
91
- isConfigured: ({ providerConfig }) => Boolean(normalizeProviderConfig(providerConfig).apiKey || normalizeMistralApiKey(process.env.MISTRAL_API_KEY)),
92
+ isConfigured,
93
+ isConfiguredAsync: async (ctx) => isConfigured(ctx),
92
94
  createSession: (req) => {
93
95
  const config = normalizeProviderConfig(req.providerConfig);
94
96
  const apiKey = config.apiKey || normalizeMistralApiKey(process.env.MISTRAL_API_KEY);
@@ -113,9 +115,7 @@ function buildMistralRealtimeTranscriptionProvider({ createRealtimeTranscription
113
115
  terminal = true;
114
116
  clearPartial();
115
117
  transport.closeNow();
116
- try {
117
- callbacks.onError?.(error);
118
- } catch {}
118
+ callbacks.onError?.(error);
119
119
  };
120
120
  return createRealtimeTranscriptionWebSocketSession({
121
121
  providerId: "mistral",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/mistral-provider",
3
- "version": "2026.10.5-beta.3",
3
+ "version": "2026.10.10-beta.1",
4
4
  "description": "OpenClaw Mistral provider plugin",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,10 +18,10 @@
18
18
  "minHostVersion": ">=2026.7.2"
19
19
  },
20
20
  "compat": {
21
- "pluginApi": ">=2026.10.5-beta.3"
21
+ "pluginApi": ">=2026.10.10-beta.1"
22
22
  },
23
23
  "build": {
24
- "openclawVersion": "2026.10.5-beta.3",
24
+ "openclawVersion": "2026.10.10-beta.1",
25
25
  "bundledDist": false
26
26
  },
27
27
  "release": {
@@ -40,7 +40,7 @@
40
40
  "assets/activity.svg"
41
41
  ],
42
42
  "peerDependencies": {
43
- "openclaw": ">=2026.10.5-beta.3"
43
+ "openclaw": ">=2026.10.10-beta.1"
44
44
  },
45
45
  "peerDependenciesMeta": {
46
46
  "openclaw": {