openclaw/extensions/amazon-bedrock
Peter Steinberger dea53ea3fa
test(bedrock): keep embedding SDK mocks scoped (#154722)
* test(bedrock): keep embedding SDK mocks scoped

Replace the whole-module AWS SDK autospy with a constructor-only fixture mock. Vitest autospy mutates the real Smithy prototype shared by Bedrock runtime and control-plane clients, so later prototype spies cannot restore their transport methods.

The original 67-file provider order reproduced all 13 release-validation failures before this change. All 289 Bedrock owner tests and three identical provider-order replays passed after it; the full changed gate and independent P2 review passed.

* chore: integrate current main for Bedrock mock repair

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-09-22 08:07:28 -07:00
..
assets feat: give every plugin a compact chat activity icon (#147333) 2026-09-13 13:49:51 -07:00
api.ts
aws-credential-refresh.ts
bedrock-options.ts refactor: deslop prompt-cache landing surface (#141385) 2026-09-07 10:40:11 -07:00
config-api.ts
config-compat.test.ts
config-compat.ts refactor(config): share fill-missing migration primitive (#140727) 2026-09-06 20:51:55 -07:00
control-plane.test.ts
control-plane.ts
discovery-shared.ts
discovery.test.ts fix(bedrock): report failed catalog refreshes (#139750) 2026-09-06 11:27:02 +05:30
discovery.ts fix(bedrock): report failed catalog refreshes (#139750) 2026-09-06 11:27:02 +05:30
embedding-provider.test.ts test(bedrock): keep embedding SDK mocks scoped (#154722) 2026-09-22 08:07:28 -07:00
embedding-provider.ts fix(bedrock): reject malformed embedding response encoding (#133716) 2026-09-01 03:47:21 -07:00
index.test.ts fix(models): default Fable and Astra to medium effort (#145554) 2026-09-11 21:58:35 -07:00
index.ts
lazy-import.test.ts
memory-embedding-adapter.test.ts test(bedrock): consolidate missing-credential selection coverage (#135698) 2026-09-01 17:44:46 -07:00
memory-embedding-adapter.ts fix(gateway): reduce cold model-runtime request stalls (#139911) 2026-09-06 07:53:11 -07:00
openclaw.plugin.json feat: group bundled plugin settings by authored manifest metadata (#149331) 2026-09-16 22:03:41 -07:00
package.json chore(deps): refresh dependencies with seven-day cutoff (#154652) 2026-09-21 16:55:54 -07:00
provider-policy-api.test.ts fix(models): default Fable and Astra to medium effort (#145554) 2026-09-11 21:58:35 -07:00
provider-policy-api.ts perf: stop provider policy loads from compiling the transport graph (#129652) 2026-08-26 00:39:38 -07:00
README.md
register.sync.runtime.ts fix(bedrock): honor prompt caching for supported Nova models (#141060) 2026-09-07 09:06:28 -07:00
setup-api.ts
stream.runtime.accounting-replay.test.ts fix(bedrock): preserve images returned by tools (#149336) 2026-09-16 09:50:57 +05:30
stream.runtime.lifecycle.test.ts fix(bedrock): socket failures before any output skip transport recovery (#137368) 2026-09-05 13:46:08 +03:00
stream.runtime.preview.test.ts perf(amazon-bedrock): bound streamed tool argument preview work (#120248) 2026-09-06 06:44:37 -07:00
stream.runtime.test.ts fix(models): default Fable and Astra to medium effort (#145554) 2026-09-11 21:58:35 -07:00
stream.runtime.ts fix: preserve thinking choices across models and runtimes (#150106) 2026-09-16 10:56:40 -07:00
thinking-policy.ts fix(models): default Fable and Astra to medium effort (#145554) 2026-09-11 21:58:35 -07:00
tsconfig.json

OpenClaw Amazon Bedrock Provider

Official OpenClaw provider plugin for Amazon Bedrock. It adds Bedrock model discovery, text generation, embeddings, and guardrail-aware provider routing for agents that use AWS-hosted models.

Install from OpenClaw:

openclaw plugins install @openclaw/amazon-bedrock-provider

Configure AWS credentials and region through your normal OpenClaw credential/profile setup, then select Bedrock models with the amazon-bedrock/... provider prefix.