@openclaw/amazon-bedrock-mantle-provider 2026.11.8 → 2026.11.9
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 +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"}],"chunks":[{"output":"api.js","sha256":"5dbfa71539fc9fcafa18ede1a9bd83905cd214375e7df69b78488aa93c9340bb","facadeSource":"extensions/amazon-bedrock-mantle/api.ts","sources":[]},{"output":"discovery.js","sha256":"
|
|
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"}],"chunks":[{"output":"api.js","sha256":"5dbfa71539fc9fcafa18ede1a9bd83905cd214375e7df69b78488aa93c9340bb","facadeSource":"extensions/amazon-bedrock-mantle/api.ts","sources":[]},{"output":"discovery.js","sha256":"d858603840e28b4bfdbb277ee53957a659d2a839ae1fc561f56c2618f9ef0115","facadeSource":"extensions/amazon-bedrock-mantle/discovery.ts","sources":["extensions/amazon-bedrock-mantle/discovery.ts"]},{"output":"index.js","sha256":"ae3bd2c3e05fbe22aabb94f79889d1ea396f7e76ebd7715023f556d2c5b12195","facadeSource":"extensions/amazon-bedrock-mantle/index.ts","sources":["extensions/amazon-bedrock-mantle/index.ts"]},{"output":"mantle-anthropic.runtime.js","sha256":"7dee33b183e5f448a63dfca43343aa1112e18217986932d1992564e0bb7d3f78","facadeSource":"extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts","sources":["extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts"]}],"unrenderedSources":["extensions/amazon-bedrock-mantle/api.ts"]}
|
package/dist/discovery.js
CHANGED
|
@@ -5,7 +5,7 @@ import { isFutureDateTimestampMs, resolveExpiresAtMsFromDurationMs } from "openc
|
|
|
5
5
|
import { readProviderJsonResponse } from "openclaw/plugin-sdk/provider-http";
|
|
6
6
|
import { fetchWithSsrFGuard } from "openclaw/plugin-sdk/ssrf-runtime";
|
|
7
7
|
import { normalizeLowercaseStringOrEmpty, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
|
-
|
|
8
|
+
// extensions/amazon-bedrock-mantle/discovery.ts
|
|
9
9
|
const log = createSubsystemLogger("bedrock-mantle-discovery");
|
|
10
10
|
const DEFAULT_COST = {
|
|
11
11
|
input: 0,
|
|
@@ -336,5 +336,4 @@ async function resolveImplicitMantleProvider(params) {
|
|
|
336
336
|
models: models.length === 0 ? [] : allModels
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
|
-
//#endregion
|
|
340
339
|
export { MANTLE_IAM_TOKEN_MARKER, discoverMantleModels, generateBearerTokenFromIam, resolveImplicitMantleProvider, resolveMantleBearerToken, resolveMantleRuntimeBearerToken, resolveMantleSonnet5Cost };
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-run
|
|
|
4
4
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
5
5
|
import { runLiveProviderCatalog } from "openclaw/plugin-sdk/provider-catalog-live-runtime";
|
|
6
6
|
import { modelCostsEqual, resolveClaudeOpus5ModelIdentity, resolveClaudeSonnet5ModelIdentity } from "openclaw/plugin-sdk/provider-model-shared";
|
|
7
|
-
|
|
7
|
+
// extensions/amazon-bedrock-mantle/index.ts
|
|
8
8
|
/**
|
|
9
9
|
* Amazon Bedrock Mantle plugin entry. Registers the OpenAI-compatible Mantle
|
|
10
10
|
* provider plus Anthropic stream compatibility hooks.
|
|
@@ -66,5 +66,4 @@ var amazon_bedrock_mantle_default = definePluginEntry({
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
//#endregion
|
|
70
69
|
export { amazon_bedrock_mantle_default as default };
|
|
@@ -2,7 +2,7 @@ import { requiresClaudeDefaultSampling, resolveClaudeMythos5ModelIdentity, resol
|
|
|
2
2
|
import Anthropic from "@anthropic-ai/sdk";
|
|
3
3
|
import { adjustMaxTokensForThinking, stream } from "openclaw/plugin-sdk/llm";
|
|
4
4
|
import { buildGuardedModelFetch, copyProviderAcceptanceObserver } from "openclaw/plugin-sdk/provider-transport-runtime";
|
|
5
|
-
|
|
5
|
+
// extensions/amazon-bedrock-mantle/mantle-anthropic.runtime.ts
|
|
6
6
|
/**
|
|
7
7
|
* Anthropic Messages stream adapter for Bedrock Mantle. It rewrites Mantle
|
|
8
8
|
* endpoints to Anthropic-compatible URLs and adjusts thinking-token budgets.
|
|
@@ -97,5 +97,4 @@ function createMantleAnthropicStreamFn() {
|
|
|
97
97
|
});
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
//#endregion
|
|
101
100
|
export { createMantleAnthropicStreamFn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/amazon-bedrock-mantle-provider",
|
|
3
|
-
"version": "2026.11.
|
|
3
|
+
"version": "2026.11.9",
|
|
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.11.
|
|
25
|
+
"pluginApi": ">=2026.11.9"
|
|
26
26
|
},
|
|
27
27
|
"build": {
|
|
28
|
-
"openclawVersion": "2026.11.
|
|
28
|
+
"openclawVersion": "2026.11.9",
|
|
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.11.
|
|
47
|
+
"openclaw": ">=2026.11.9"
|
|
48
48
|
},
|
|
49
49
|
"peerDependenciesMeta": {
|
|
50
50
|
"openclaw": {
|