claude-code-rust 0.7.0 → 0.8.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/bin/claude-rs.js CHANGED
@@ -24,7 +24,7 @@ function resolveInstall() {
24
24
  return {
25
25
  error:
26
26
  `Missing binary at ${binaryPath}\n` +
27
- "Reinstall with `pnpm add -g claude-code-rust` to fetch release artifacts."
27
+ "Reinstall with `npm install -g claude-code-rust` to fetch release artifacts."
28
28
  };
29
29
  }
30
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-code-rust",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Claude Code Rust - native Rust terminal interface for Claude Code",
5
5
  "keywords": [
6
6
  "cli",
@@ -9,7 +9,7 @@
9
9
  "ai",
10
10
  "terminal"
11
11
  ],
12
- "license": "AGPL-3.0-or-later",
12
+ "license": "Apache-2.0",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/srothgan/claude-code-rust.git"
@@ -29,15 +29,16 @@
29
29
  "README.md"
30
30
  ],
31
31
  "dependencies": {
32
- "@anthropic-ai/claude-agent-sdk": "0.2.63"
32
+ "@anthropic-ai/claude-agent-sdk": "0.2.74"
33
+ },
34
+ "scripts": {
35
+ "postinstall": "node ./scripts/postinstall.js",
36
+ "prepack": "npm --prefix agent-sdk run build"
33
37
  },
34
38
  "engines": {
35
39
  "node": ">=18"
36
40
  },
37
41
  "publishConfig": {
38
42
  "access": "public"
39
- },
40
- "scripts": {
41
- "postinstall": "node ./scripts/postinstall.js"
42
43
  }
43
- }
44
+ }
@@ -27,7 +27,7 @@ async function downloadFile(url, outPath, redirects = 0) {
27
27
  await new Promise((resolve, reject) => {
28
28
  const req = https.get(
29
29
  url,
30
- { headers: { "User-Agent": "claude-code-rust-pnpm-installer" } },
30
+ { headers: { "User-Agent": "claude-code-rust-installer" } },
31
31
  (res) => {
32
32
  const status = res.statusCode ?? 0;
33
33