juggernaut-bedrock 5.1.6 → 5.2.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.
Files changed (2) hide show
  1. package/README.md +10 -3
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -102,15 +102,20 @@ No overwriting the real Claude Code binary. No copying API keys into env vars.
102
102
  |------|-------|--------------------------|
103
103
  | **Primary** | Claude Sonnet 4.6 | `global.anthropic.claude-sonnet-4-6` |
104
104
  | **Opus** | Claude Opus 4.8 | `global.anthropic.claude-opus-4-8` |
105
+ | **Fable alias** | Claude Fable 5 | Configure with `--fable-model=<bedrock-fable-model-id>` |
105
106
  | **Fast** | Claude Haiku 4.5 | `global.anthropic.claude-haiku-4-5-20251001-v1:0` |
106
107
 
107
- Juggernaut enables Claude Code's 1M context accounting for Opus and Sonnet by appending `[1m]` to the alias environment variables. Claude Code strips the suffix before provider calls. Use `--no-1m-context` to opt out.
108
+ Juggernaut enables Claude Code's 1M context accounting for Opus and Sonnet by appending `[1m]` to the alias environment variables, and does the same for the configured Fable alias when it matches Claude Code's Fable ID. Claude Code strips the suffix before provider calls. Use `--no-1m-context` to opt out.
108
109
 
109
- Override any tier: `juggernaut apply --auth=iam --model=global.anthropic.claude-sonnet-4-6`
110
+ Fable is exposed as an opt-in Claude Code alias. Pass `--fable-model` with a model ID that is available in your Bedrock account and region; Juggernaut does not pin a default Fable ID until one is configured.
111
+
112
+ Override all aliases: `juggernaut apply --auth=iam --model=global.anthropic.claude-sonnet-4-6`
113
+ Override one tier: `juggernaut apply --auth=iam --fable-model=<bedrock-fable-model-id>`
114
+ Set native fallback chain: `juggernaut apply --auth=iam --fallback-model=global.anthropic.claude-opus-4-8,global.anthropic.claude-sonnet-4-6`
110
115
 
111
116
  ## Effort levels
112
117
 
113
- Controls adaptive thinking depth. Valid values: `low | medium | high | xhigh | max`
118
+ Controls adaptive thinking depth. Valid values: `low | medium | high | xhigh | max | auto`. Fixed persisted levels (`low | medium | high | xhigh`) are written to native `effortLevel`; `max` and `auto` are env-only because Claude Code settings do not accept them as persisted `effortLevel` values. Ultracode is separate from `effortLevel` and `CLAUDE_CODE_EFFORT_LEVEL`, so Juggernaut does not expose it as `--effort`.
114
119
 
115
120
  ```bash
116
121
  juggernaut apply --auth=iam --effort=max
@@ -141,6 +146,8 @@ Auto mode on Bedrock requires `CLAUDE_CODE_ENABLE_AUTO_MODE=1` — Juggernaut se
141
146
  ```bash
142
147
  --always-thinking # enable extended thinking by default (alwaysThinkingEnabled)
143
148
  --service-tier=flex # Bedrock service tier: default | flex | priority
149
+ --fable-model=<id> # override Claude Code Fable alias
150
+ --fallback-model=a,b # write Claude Code native fallbackModel chain
144
151
  --opusplan # route /plan to Opus 4.8, execution to Sonnet 4.6
145
152
  --mode=auto # auto-approve safe tool calls with background checks
146
153
  --mantle # enable Mantle routing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juggernaut-bedrock",
3
- "version": "5.1.6",
3
+ "version": "5.2.0",
4
4
  "description": "Route Claude Code through Amazon Bedrock in one command — IAM, SSO, or API key. Cross-platform CLI for GenAI developers.",
5
5
  "bin": {
6
6
  "juggernaut": "./index.js"
@@ -9,11 +9,11 @@
9
9
  "test": "node --test index.test.js"
10
10
  },
11
11
  "optionalDependencies": {
12
- "juggernaut-bedrock-linux-x64": "5.1.6",
13
- "juggernaut-bedrock-linux-arm64": "5.1.6",
14
- "juggernaut-bedrock-darwin-x64": "5.1.6",
15
- "juggernaut-bedrock-darwin-arm64": "5.1.6",
16
- "juggernaut-bedrock-win32-x64": "5.1.6"
12
+ "juggernaut-bedrock-linux-x64": "5.2.0",
13
+ "juggernaut-bedrock-linux-arm64": "5.2.0",
14
+ "juggernaut-bedrock-darwin-x64": "5.2.0",
15
+ "juggernaut-bedrock-darwin-arm64": "5.2.0",
16
+ "juggernaut-bedrock-win32-x64": "5.2.0"
17
17
  },
18
18
  "os": [
19
19
  "darwin",