@openclaw/amazon-bedrock-mantle-provider 2026.10.7 → 2026.10.8
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"entries":[{"output":"api.js","source":"extensions/amazon-bedrock-mantle/api.ts"},{"output":"discovery.js","source":"extensions/amazon-bedrock-mantle/discovery.ts"},{"output":"index.js","source":"extensions/amazon-bedrock-mantle/index.ts"},{"output":"mantle-anthropic.runtime.js","source":"extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts"},{"output":"register.sync.runtime.js","source":"extensions/amazon-bedrock-mantle/register.sync.runtime.ts"}],"chunks":[{"output":"api.js","sha256":"5dbfa71539fc9fcafa18ede1a9bd83905cd214375e7df69b78488aa93c9340bb","facadeSource":"extensions/amazon-bedrock-mantle/api.ts","sources":[]},{"output":"discovery.js","sha256":"dd73eaf1908e484fc926a995be49bcf13a10ea8bd81588bc1609c67ebfa33187","facadeSource":"extensions/amazon-bedrock-mantle/discovery.ts","sources":["extensions/amazon-bedrock-mantle/discovery.ts"]},{"output":"index.js","sha256":"95cf800dddfdeab86a68bcdf91d9fad5332711319ec80c39206306717dc6749e","facadeSource":"extensions/amazon-bedrock-mantle/index.ts","sources":["extensions/amazon-bedrock-mantle/index.ts"]},{"output":"mantle-anthropic.runtime.js","sha256":"f765854a94e0cf9dedf5da50aff0664a8112e155f59183255874408d795f4e5f","facadeSource":"extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts","sources":["extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts"]},{"output":"register.sync.runtime.js","sha256":"7e53a4ebeb68d1e562c83af65ab00d7586f0ee4171bef17e280a94eab16edb4d","facadeSource":"extensions/amazon-bedrock-mantle/register.sync.runtime.ts","sources":["extensions/amazon-bedrock-mantle/register.sync.runtime.ts"]}],"unrenderedSources":["extensions/amazon-bedrock-mantle/api.ts"]}
|
package/dist/discovery.js
CHANGED
|
@@ -197,15 +197,22 @@ async function discoverMantleModels(params) {
|
|
|
197
197
|
});
|
|
198
198
|
try {
|
|
199
199
|
if (!response.ok) throw new LiveModelCatalogHttpError("amazon-bedrock-mantle", response.status);
|
|
200
|
-
const models = (await readMantleModelDiscoveryJson(response)).data.filter((model) => model.id?.trim()).map((model) =>
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
200
|
+
const models = (await readMantleModelDiscoveryJson(response)).data.filter((model) => model.id?.trim()).map((model) => {
|
|
201
|
+
const definition = {
|
|
202
|
+
id: model.id,
|
|
203
|
+
name: model.id,
|
|
204
|
+
reasoning: inferReasoningSupport(model.id),
|
|
205
|
+
input: ["text"],
|
|
206
|
+
cost: DEFAULT_COST,
|
|
207
|
+
contextWindow: DEFAULT_CONTEXT_WINDOW,
|
|
208
|
+
maxTokens: DEFAULT_MAX_TOKENS
|
|
209
|
+
};
|
|
210
|
+
if (/^openai\.gpt-\d/.test(model.id)) {
|
|
211
|
+
definition.api = "openai-responses";
|
|
212
|
+
definition.baseUrl = `${mantleEndpoint(region)}/openai/v1`;
|
|
213
|
+
}
|
|
214
|
+
return definition;
|
|
215
|
+
}).toSorted((left, right) => left.id.localeCompare(right.id));
|
|
209
216
|
discoveryCache.set(region, {
|
|
210
217
|
bearerToken,
|
|
211
218
|
models,
|
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "amazon-bedrock-mantle",
|
|
3
3
|
"categories": ["models"],
|
|
4
4
|
"name": "Amazon Bedrock Mantle",
|
|
5
|
-
"description": "OpenClaw Amazon Bedrock Mantle provider plugin for OpenAI
|
|
5
|
+
"description": "OpenClaw Amazon Bedrock Mantle provider plugin for OpenAI Responses, Chat Completions, and Anthropic Messages routing.",
|
|
6
6
|
"activation": {
|
|
7
7
|
"onStartup": false
|
|
8
8
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/amazon-bedrock-mantle-provider",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.8",
|
|
4
4
|
"description": "OpenClaw Amazon Bedrock Mantle provider plugin for OpenAI-compatible model routing.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"minHostVersion": ">=2026.5.12-beta.1"
|
|
23
23
|
},
|
|
24
24
|
"compat": {
|
|
25
|
-
"pluginApi": ">=2026.10.
|
|
25
|
+
"pluginApi": ">=2026.10.8"
|
|
26
26
|
},
|
|
27
27
|
"build": {
|
|
28
|
-
"openclawVersion": "2026.10.
|
|
28
|
+
"openclawVersion": "2026.10.8",
|
|
29
29
|
"bundledDist": false
|
|
30
30
|
},
|
|
31
31
|
"release": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"assets/activity.svg"
|
|
45
45
|
],
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"openclaw": ">=2026.10.
|
|
47
|
+
"openclaw": ">=2026.10.8"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"openclaw": {
|