@warlock.js/ai-bedrock 5.34.2 → 5.35.0
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/CHANGELOG.md +6 -0
- package/llms-full.txt +3 -16
- package/llms.txt +1 -2
- package/package.json +3 -3
- package/skills/{setup-bedrock/SKILL.md → SKILL.md} +2 -2
- package/skills/index.md +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to `@warlock.js/ai-bedrock` are documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). `@warlock.js/*` packages are released in lockstep — every package shares the same version number, so a version below may list only the changes that affected this package.
|
|
6
6
|
|
|
7
|
+
## 5.34.3 - 2026-10-20
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- The agent skill now exports as `warlock-js-ai-bedrock`; package discovery descriptions stay within 450 characters.
|
|
12
|
+
|
|
7
13
|
## 5.34.2 - 2026-10-19
|
|
8
14
|
|
|
9
15
|
### Fixed
|
package/llms-full.txt
CHANGED
|
@@ -4,24 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
> Generated artifact. Concatenates every SKILL.md and reference file under `@warlock.js/ai-bedrock/skills/`. Re-run `node scripts/generate-llms.mjs` after any change.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## ai-bedrock `@warlock.js/ai-bedrock/skills/SKILL.md`
|
|
8
8
|
|
|
9
9
|
---
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
# @warlock.js/ai-bedrock
|
|
14
|
-
|
|
15
|
-
This adapter supplies provider-backed models for `@warlock.js/ai`. Read `setup-bedrock.md` to construct `BedrockSDK`, configure region, the AWS credential chain, model capabilities and embeddings, and understand provider-specific behavior.
|
|
16
|
-
|
|
17
|
-
For agent composition, read the `run-ai-agent` topic of the `@warlock.js/ai` package. Keep provider configuration here and application orchestration in that package.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
## setup-bedrock `@warlock.js/ai-bedrock/setup-bedrock/SKILL.md`
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
name: setup-bedrock
|
|
24
|
-
description: 'Wire @warlock.js/ai-bedrock — new BedrockSDK({region, apiKey?, credentials?, provider?}) for AWS Bedrock Converse API + Titan embeddings. AWS credential chain or an Amazon Bedrock API key (bearer). .model({name, vision?, reasoning?, promptCaching?, pdf?, audio?}) with cost-truth capabilities inferred per family, extended thinking via options.reasoning → Converse thinking budget_tokens, prompt caching via options.cacheControl → cachePoint on tools (Claude), system and the last message, 1h TTL via promptCacheTtl, usage inputIncludesCache: false + cachedTokens/cacheWriteTokens/cacheWrite1hTokens, built-in Claude prices for global./us. profiles (BEDROCK_GLOBAL_PRICING, BEDROCK_US_PRICING, bedrockPricingFor), ServiceUnavailableException → ProviderOverloadedError. Triggers: `apiKey`, `AWS_BEARER_TOKEN_BEDROCK`, `providerOptions`, `BedrockCallOptions`, `countTokens`, `BedrockSDK`, `bedrock.model`, `bedrock.embedder`, `bedrock.count`, `BedrockRuntimeClient`, `reasoning`, `thinking`, `budget_tokens`, `cachePoint`, `cacheControl`, `ai.providerTool`, `systemTool`, `nova_grounding`, `server_tool_use`, `streamChunks`, `promptCaching`, `cachedTokens`, `cacheWriteTokens`; "how do I use AWS Bedrock", "wire Claude/Nova/Llama on Bedrock", "Titan embeddings", "Bedrock Converse API", "Claude 3.7/4 extended thinking on Bedrock", "Bedrock prompt caching cost"; typical import `import { BedrockSDK } from "@warlock.js/ai-bedrock"`. Skip: agent wiring — the `run-ai-agent` topic of the `warlock-js-ai` skill; provider choice — the `pick-ai-provider` topic of the `warlock-js-ai` skill; embeddings concepts — the `embed-text` topic of the `warlock-js-ai` skill; competing libs `@aws-sdk/client-bedrock-runtime`, `@ai-sdk/amazon-bedrock`; sibling adapters `@warlock.js/ai-openai`, `@warlock.js/ai-anthropic`, `@warlock.js/ai-google`, `@warlock.js/ai-ollama`.'
|
|
10
|
+
name: warlock-js-ai-bedrock
|
|
11
|
+
description: 'Amazon Bedrock adapter for Warlock AI: `BedrockSDK`, `BedrockCallOptions`, `bedrockPricingFor` and regional pricing registries. Use for "run Claude on AWS", "configure Bedrock credentials", Converse streaming, tools, caching or Titan embeddings through `model()` and `embedder()`. Not this package → @warlock.js/ai-anthropic for direct Anthropic access; @warlock.js/ai for orchestration.'
|
|
25
12
|
---
|
|
26
13
|
|
|
27
14
|
# `@warlock.js/ai-bedrock`
|
package/llms.txt
CHANGED
|
@@ -6,5 +6,4 @@
|
|
|
6
6
|
|
|
7
7
|
## Skills
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [setup-bedrock](@warlock.js/ai-bedrock/setup-bedrock/SKILL.md): Wire @warlock.js/ai-bedrock — new BedrockSDK({region, apiKey?, credentials?, provider?}) for AWS Bedrock Converse API + Titan embeddings. AWS credential chain or an Amazon Bedrock API key (bearer). .model({name, vision?, reasoning?, promptCaching?, pdf?, audio?}) with cost-truth capabilities inferred per family, extended thinking via options.reasoning → Converse thinking budget_tokens, prompt caching via options.cacheControl → cachePoint on tools (Claude), system and the last message, 1h TTL via promptCacheTtl, usage inputIncludesCache: false + cachedTokens/cacheWriteTokens/cacheWrite1hTokens, built-in Claude prices for global./us. profiles (BEDROCK_GLOBAL_PRICING, BEDROCK_US_PRICING, bedrockPricingFor), ServiceUnavailableException → ProviderOverloadedError. Triggers: `apiKey`, `AWS_BEARER_TOKEN_BEDROCK`, `providerOptions`, `BedrockCallOptions`, `countTokens`, `BedrockSDK`, `bedrock.model`, `bedrock.embedder`, `bedrock.count`, `BedrockRuntimeClient`, `reasoning`, `thinking`, `budget_tokens`, `cachePoint`, `cacheControl`, `ai.providerTool`, `systemTool`, `nova_grounding`, `server_tool_use`, `streamChunks`, `promptCaching`, `cachedTokens`, `cacheWriteTokens`; "how do I use AWS Bedrock", "wire Claude/Nova/Llama on Bedrock", "Titan embeddings", "Bedrock Converse API", "Claude 3.7/4 extended thinking on Bedrock", "Bedrock prompt caching cost"; typical import `import { BedrockSDK } from "@warlock.js/ai-bedrock"`. Skip: agent wiring — the `run-ai-agent` topic of the `warlock-js-ai` skill; provider choice — the `pick-ai-provider` topic of the `warlock-js-ai` skill; embeddings concepts — the `embed-text` topic of the `warlock-js-ai` skill; competing libs `@aws-sdk/client-bedrock-runtime`, `@ai-sdk/amazon-bedrock`; sibling adapters `@warlock.js/ai-openai`, `@warlock.js/ai-anthropic`, `@warlock.js/ai-google`, `@warlock.js/ai-ollama`.
|
|
9
|
+
- [ai-bedrock](@warlock.js/ai-bedrock/skills/SKILL.md): Amazon Bedrock adapter for Warlock AI: `BedrockSDK`, `BedrockCallOptions`, `bedrockPricingFor` and regional pricing registries. Use for "run Claude on AWS", "configure Bedrock credentials", Converse streaming, tools, caching or Titan embeddings through `model()` and `embedder()`. Not this package → @warlock.js/ai-anthropic for direct Anthropic access; @warlock.js/ai for orchestration.
|
package/package.json
CHANGED
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
"directory": "packages/ai-bedrock"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
|
-
"@warlock.js/ai": "5.
|
|
18
|
+
"@warlock.js/ai": "5.35.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-sdk/client-bedrock-runtime": "^3.1048.0",
|
|
22
|
-
"@warlock.js/logger": "5.
|
|
22
|
+
"@warlock.js/logger": "5.35.0"
|
|
23
23
|
},
|
|
24
|
-
"version": "5.
|
|
24
|
+
"version": "5.35.0",
|
|
25
25
|
"main": "./cjs/index.cjs",
|
|
26
26
|
"module": "./esm/index.mjs",
|
|
27
27
|
"types": "./esm/index.d.mts",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description: '
|
|
2
|
+
name: warlock-js-ai-bedrock
|
|
3
|
+
description: 'Amazon Bedrock adapter for Warlock AI: `BedrockSDK`, `BedrockCallOptions`, `bedrockPricingFor` and regional pricing registries. Use for "run Claude on AWS", "configure Bedrock credentials", Converse streaming, tools, caching or Titan embeddings through `model()` and `embedder()`. Not this package → @warlock.js/ai-anthropic for direct Anthropic access; @warlock.js/ai for orchestration.'
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# `@warlock.js/ai-bedrock`
|
package/skills/index.md
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: "Provider adapter for AWS Bedrock Converse API and Titan embeddings in Warlock AI applications. Exports `BedrockSDK` with model and provider configuration for the shared AI contracts. Use when connecting this provider, configuring region, the AWS credential chain, model capabilities and embeddings, or diagnosing provider requests and usage. Read `setup-bedrock` for construction and examples using AWS credentials. Not this package: agent loops, tools and workflows → @warlock.js/ai; HTTP and MCP tools → @warlock.js/ai-tools."
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# @warlock.js/ai-bedrock
|
|
6
|
-
|
|
7
|
-
This adapter supplies provider-backed models for `@warlock.js/ai`. Read `setup-bedrock.md` to construct `BedrockSDK`, configure region, the AWS credential chain, model capabilities and embeddings, and understand provider-specific behavior.
|
|
8
|
-
|
|
9
|
-
For agent composition, read the `run-ai-agent` topic of the `@warlock.js/ai` package. Keep provider configuration here and application orchestration in that package.
|