juggernaut-bedrock 4.2.6 → 5.0.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 +12 -12
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  **Claude Code → Amazon Bedrock in one command.**
4
4
 
5
- Juggernaut is a cross-platform CLI that wires [Claude Code](https://docs.anthropic.com/en/docs/claude-code) to [Amazon Bedrock](https://aws.amazon.com/bedrock/) instead of Anthropic's direct API. One install, one `apply`, then just run `claude` — no shell profile hacks, no manual env vars, no jq.
5
+ Juggernaut is a cross-platform CLI that wires [Claude Code](https://docs.anthropic.com/en/docs/claude-code) to [Amazon Bedrock](https://aws.amazon.com/bedrock/) instead of Anthropic's direct API. Install Claude Code with Anthropic's installer, run one `apply`, then keep typing `claude`.
6
6
 
7
7
  Built for developers shipping with GenAI today: IAM and SSO for teams, API keys for solo runs, and a `doctor` command when something's off.
8
8
 
@@ -16,6 +16,7 @@ Built for developers shipping with GenAI today: IAM and SSO for teams, API keys
16
16
  ## Install
17
17
 
18
18
  ```bash
19
+ curl -fsSL https://claude.ai/install.sh | bash
19
20
  npm install -g juggernaut-bedrock
20
21
  ```
21
22
 
@@ -30,16 +31,16 @@ Works on **macOS**, **Linux**, **Windows**, and **WSL** — `x64` and `arm64`.
30
31
  ## Quickstart
31
32
 
32
33
  ```bash
33
- # 1. Install (above)
34
+ # 1. Install Claude Code and Juggernaut (above)
34
35
 
35
- # 2. Configure IAM/SSO (recommended) or interactive prompt
36
+ # 2. Configure - IAM/SSO (recommended) or interactive prompt
36
37
  juggernaut apply --auth=iam
37
38
 
38
- # 3. Launch Claude Code (token injected automatically)
39
+ # 3. Restart/source your shell, then launch Claude Code
39
40
  claude
40
41
  ```
41
42
 
42
- Bedrock API key auth? Run `juggernaut apply` and follow the prompt — credentials land in your OS keychain, not your shell history.
43
+ Bedrock API key auth? Run `juggernaut apply --auth=bedrock-api-key`; credentials land in your OS keychain, not your shell history.
43
44
 
44
45
  ## What it does
45
46
 
@@ -51,9 +52,9 @@ That one command:
51
52
 
52
53
  1. **Writes** Bedrock config to `~/.claude/settings.json` (or project scope)
53
54
  2. **Sets** model IDs, region, effort level, permission mode, and `CLAUDE_CODE_USE_BEDROCK=1` — only after credentials check out
54
- 3. **Installs** a `claude` launcher shim that reads your token from the keychain and execs the real binary
55
+ 3. **Installs** a marked shell activation block with a `claude` function that delegates to `juggernaut launch`
55
56
 
56
- No `.bashrc` edits. No copying API keys into env vars. No "why isn't Bedrock routing?" at 2am.
57
+ No overwriting the real Claude Code binary. No copying API keys into env vars.
57
58
 
58
59
  ## Why Bedrock?
59
60
 
@@ -70,7 +71,7 @@ No `.bashrc` edits. No copying API keys into env vars. No "why isn't Bedrock rou
70
71
  | Mode | Command | Best for |
71
72
  |------|---------|----------|
72
73
  | **IAM / SSO** | `juggernaut apply --auth=iam` | Teams, enterprise, existing AWS identity |
73
- | **Bedrock API key** | `juggernaut apply` | Solo devs, quick setup |
74
+ | **Bedrock API key** | `juggernaut apply --auth=bedrock-api-key` | Solo devs, quick setup |
74
75
  | **Interactive** | `juggernaut apply` (no flags) | First run — guided prompts |
75
76
  | **Preview** | `juggernaut apply --dry-run` | See what would change, change nothing |
76
77
 
@@ -78,11 +79,10 @@ No `.bashrc` edits. No copying API keys into env vars. No "why isn't Bedrock rou
78
79
 
79
80
  | Command | What it does |
80
81
  |---------|--------------|
81
- | `apply` | Configure Bedrock + install the `claude` shim |
82
+ | `apply` | Configure Bedrock + install shell activation |
82
83
  | `show` | Print your current Juggernaut config |
83
- | `doctor` | Diagnostics block, credentials, launcher |
84
- | `migrate` | Upgrade from v3 shell installer to v4 Go binary |
85
- | `uninstall` | Remove config, token, and shim |
84
+ | `doctor` | Diagnostics for settings, credentials, activation, Claude Code, and legacy v4.2.6 artifacts |
85
+ | `uninstall` | Remove config and token; `--full` also removes shell activation |
86
86
  | `version` | Print installed version (`--json` for machines) |
87
87
 
88
88
  ## Default models
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "juggernaut-bedrock",
3
- "version": "4.2.6",
3
+ "version": "5.0.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": "4.2.6",
13
- "juggernaut-bedrock-linux-arm64": "4.2.6",
14
- "juggernaut-bedrock-darwin-x64": "4.2.6",
15
- "juggernaut-bedrock-darwin-arm64": "4.2.6",
16
- "juggernaut-bedrock-win32-x64": "4.2.6"
12
+ "juggernaut-bedrock-linux-x64": "5.0.0",
13
+ "juggernaut-bedrock-linux-arm64": "5.0.0",
14
+ "juggernaut-bedrock-darwin-x64": "5.0.0",
15
+ "juggernaut-bedrock-darwin-arm64": "5.0.0",
16
+ "juggernaut-bedrock-win32-x64": "5.0.0"
17
17
  },
18
18
  "os": [
19
19
  "darwin",