@anyrouterdev/claude 0.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 (3) hide show
  1. package/README.md +9 -0
  2. package/bin.mjs +7 -0
  3. package/package.json +37 -0
package/README.md ADDED
@@ -0,0 +1,9 @@
1
+ # @anyrouterdev/claude
2
+
3
+ Launch [Claude Code](https://claude.com/claude-code) through [AnyRouter](https://anyrouter.dev). Verbose alias of [`@anyrouterdev/cc`](https://www.npmjs.com/package/@anyrouterdev/cc).
4
+
5
+ ```bash
6
+ npx @anyrouterdev/claude
7
+ ```
8
+
9
+ Full docs: https://anyrouter.dev/docs/guides/cli
package/bin.mjs ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ // @anyrouterdev/claude — launch Claude Code through AnyRouter (alias of @anyrouterdev/cc).
3
+ import { run } from "@anyrouterdev/cli"
4
+
5
+ run({ tool: "claude", argv: process.argv.slice(2) }).then((code) => {
6
+ process.exitCode = code
7
+ })
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "@anyrouterdev/claude",
3
+ "version": "0.2.0",
4
+ "description": "Launch Claude Code through AnyRouter — one key, every provider. `npx @anyrouterdev/claude`",
5
+ "type": "module",
6
+ "bin": {
7
+ "anyrouter-claude": "bin.mjs"
8
+ },
9
+ "files": [
10
+ "bin.mjs",
11
+ "README.md"
12
+ ],
13
+ "engines": {
14
+ "node": ">=18"
15
+ },
16
+ "keywords": [
17
+ "anyrouter",
18
+ "claude-code",
19
+ "llm",
20
+ "gateway",
21
+ "cli"
22
+ ],
23
+ "homepage": "https://anyrouter.dev",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://github.com/duyet/anyrouter.git",
27
+ "directory": "cli/launchers/claude"
28
+ },
29
+ "author": "Duyet Le",
30
+ "license": "MIT",
31
+ "dependencies": {
32
+ "@anyrouterdev/cli": "^0.2.0"
33
+ },
34
+ "publishConfig": {
35
+ "access": "public"
36
+ }
37
+ }