@cat-factory/provider-bedrock 0.7.144 → 0.7.146

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.
Files changed (2) hide show
  1. package/README.md +10 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -35,7 +35,9 @@ if (env.BEDROCK_REGION) {
35
35
  secretAccessKey: env.AWS_SECRET_ACCESS_KEY,
36
36
  sessionToken: env.AWS_SESSION_TOKEN,
37
37
  // BEDROCK_MODELS="anthropic.claude-…,meta.llama3-…" → the allow-list below
38
- supportedModels: env.BEDROCK_MODELS?.split(',').map((m) => m.trim()).filter(Boolean),
38
+ supportedModels: env.BEDROCK_MODELS?.split(',')
39
+ .map((m) => m.trim())
40
+ .filter(Boolean),
39
41
  }),
40
42
  )
41
43
  }
@@ -74,13 +76,13 @@ message instead of a deep AWS SDK error. Omit `supportedModels` to forward any m
74
76
 
75
77
  ## Config (`BedrockResolverOptions`)
76
78
 
77
- | Option | Purpose |
78
- | ----------------- | ------------------------------------------------------------------------------------ |
79
- | `region` | AWS region, e.g. `us-east-1`. |
80
- | `accessKeyId` | Explicit AWS access key; omit to use the default AWS credential chain. |
81
- | `secretAccessKey` | Explicit AWS secret key. |
82
- | `sessionToken` | Explicit AWS session token (temporary credentials). |
83
- | `baseURL` | Override the Bedrock base URL (e.g. a VPC endpoint). |
79
+ | Option | Purpose |
80
+ | ----------------- | ----------------------------------------------------------------------------------------- |
81
+ | `region` | AWS region, e.g. `us-east-1`. |
82
+ | `accessKeyId` | Explicit AWS access key; omit to use the default AWS credential chain. |
83
+ | `secretAccessKey` | Explicit AWS secret key. |
84
+ | `sessionToken` | Explicit AWS session token (temporary credentials). |
85
+ | `baseURL` | Override the Bedrock base URL (e.g. a VPC endpoint). |
84
86
  | `supportedModels` | Allow-list of Bedrock model ids; resolving anything outside it throws. Omit to allow any. |
85
87
 
86
88
  ## Related
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cat-factory/provider-bedrock",
3
- "version": "0.7.144",
3
+ "version": "0.7.146",
4
4
  "description": "Opt-in AWS Bedrock model registry for the Agent Architecture Board's AI provisioning facade. Mix into a CompositeModelProvider to add the `bedrock` provider.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "dependencies": {
27
27
  "@ai-sdk/amazon-bedrock": "^4.0.124",
28
28
  "ai": "^6.0.214",
29
- "@cat-factory/agents": "0.37.1",
30
- "@cat-factory/kernel": "0.89.0"
29
+ "@cat-factory/agents": "0.38.0",
30
+ "@cat-factory/kernel": "0.90.0"
31
31
  },
32
32
  "devDependencies": {
33
33
  "typescript": "7.0.1-rc"