@anyrouterdev/claude 0.2.0 → 0.3.1

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/bin.mjs +5 -3
  2. package/package.json +4 -5
package/bin.mjs CHANGED
@@ -2,6 +2,8 @@
2
2
  // @anyrouterdev/claude — launch Claude Code through AnyRouter (alias of @anyrouterdev/cc).
3
3
  import { run } from "@anyrouterdev/cli"
4
4
 
5
- run({ tool: "claude", argv: process.argv.slice(2) }).then((code) => {
6
- process.exitCode = code
7
- })
5
+ run({ tool: "claude", argv: process.argv.slice(2), invokedAs: "@anyrouterdev/claude" }).then(
6
+ (code) => {
7
+ process.exitCode = code
8
+ },
9
+ )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anyrouterdev/claude",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "Launch Claude Code through AnyRouter — one key, every provider. `npx @anyrouterdev/claude`",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,16 +20,15 @@
20
20
  "gateway",
21
21
  "cli"
22
22
  ],
23
- "homepage": "https://anyrouter.dev",
23
+ "homepage": "https://anyrouter.dev/cli",
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "git+https://github.com/duyet/anyrouter.git",
27
- "directory": "cli/launchers/claude"
26
+ "url": "git+https://github.com/anyrouter-dev/cli.git"
28
27
  },
29
28
  "author": "Duyet Le",
30
29
  "license": "MIT",
31
30
  "dependencies": {
32
- "@anyrouterdev/cli": "^0.2.0"
31
+ "@anyrouterdev/cli": "^0.3.1"
33
32
  },
34
33
  "publishConfig": {
35
34
  "access": "public"