@openclaw/mistral-provider 2026.9.6 → 2026.9.7
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/assets/icon.png +0 -0
- package/dist/index.js +7 -12
- package/package.json +4 -4
- package/dist/realtime-transcription-provider.js +0 -8
package/assets/icon.png
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -4,18 +4,10 @@ import { applyMistralConnectionConfig } from "./onboard.js";
|
|
|
4
4
|
import { applyMistralModelCompat } from "./api.js";
|
|
5
5
|
import { mistralMediaUnderstandingProvider } from "./media-understanding-provider.js";
|
|
6
6
|
import { mistralMemoryEmbeddingProviderAdapter } from "./memory-embedding-adapter.js";
|
|
7
|
-
import { buildMistralRealtimeTranscriptionProvider } from "./realtime-transcription-provider.js";
|
|
7
|
+
import { buildMistralRealtimeTranscriptionProvider } from "./realtime-transcription-provider-factory.js";
|
|
8
8
|
import { defineSingleProviderPluginEntry } from "openclaw/plugin-sdk/provider-entry";
|
|
9
|
-
//#region extensions/mistral/index.ts
|
|
10
|
-
const PROVIDER_ID = "mistral";
|
|
11
|
-
function buildMistralReplayPolicy() {
|
|
12
|
-
return {
|
|
13
|
-
sanitizeToolCallIds: true,
|
|
14
|
-
toolCallIdMode: "strict9"
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
9
|
var mistral_default = defineSingleProviderPluginEntry({
|
|
18
|
-
id:
|
|
10
|
+
id: "mistral",
|
|
19
11
|
name: "Mistral Provider",
|
|
20
12
|
description: "Official Mistral provider plugin",
|
|
21
13
|
manifest: openclaw_plugin_default,
|
|
@@ -31,12 +23,15 @@ var mistral_default = defineSingleProviderPluginEntry({
|
|
|
31
23
|
matchesContextOverflowError: ({ errorMessage }) => /\bmistral\b.*(?:input.*too long|token limit.*exceeded)/i.test(errorMessage),
|
|
32
24
|
normalizeResolvedModel: ({ model }) => applyMistralModelCompat(model),
|
|
33
25
|
resolveThinkingProfile,
|
|
34
|
-
buildReplayPolicy: () =>
|
|
26
|
+
buildReplayPolicy: () => ({
|
|
27
|
+
sanitizeToolCallIds: true,
|
|
28
|
+
toolCallIdMode: "strict9"
|
|
29
|
+
})
|
|
35
30
|
},
|
|
36
31
|
register(api) {
|
|
37
32
|
api.registerEmbeddingProvider(mistralMemoryEmbeddingProviderAdapter);
|
|
38
33
|
api.registerMediaUnderstandingProvider(mistralMediaUnderstandingProvider);
|
|
39
|
-
api.registerRealtimeTranscriptionProvider(buildMistralRealtimeTranscriptionProvider
|
|
34
|
+
api.registerRealtimeTranscriptionProvider(buildMistralRealtimeTranscriptionProvider);
|
|
40
35
|
}
|
|
41
36
|
});
|
|
42
37
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/mistral-provider",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.7",
|
|
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.9.
|
|
21
|
+
"pluginApi": ">=2026.9.7"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.9.
|
|
24
|
+
"openclawVersion": "2026.9.7",
|
|
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.9.
|
|
43
|
+
"openclaw": ">=2026.9.7"
|
|
44
44
|
},
|
|
45
45
|
"peerDependenciesMeta": {
|
|
46
46
|
"openclaw": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { buildMistralRealtimeTranscriptionProvider as buildMistralRealtimeTranscriptionProvider$1 } from "./realtime-transcription-provider-factory.js";
|
|
2
|
-
import { createRealtimeTranscriptionWebSocketSession } from "openclaw/plugin-sdk/realtime-transcription-session";
|
|
3
|
-
//#region extensions/mistral/realtime-transcription-provider.ts
|
|
4
|
-
function buildMistralRealtimeTranscriptionProvider() {
|
|
5
|
-
return buildMistralRealtimeTranscriptionProvider$1({ createRealtimeTranscriptionWebSocketSession });
|
|
6
|
-
}
|
|
7
|
-
//#endregion
|
|
8
|
-
export { buildMistralRealtimeTranscriptionProvider };
|