@anyr/cc 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 +11 -0
  2. package/bin.mjs +7 -0
  3. package/package.json +33 -0
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @anyr/cc
2
+
3
+ Launch **Claude Code** through [AnyRouter](https://anyrouter.dev) — one key fronts every provider.
4
+
5
+ ```bash
6
+ npx @anyr/cc
7
+ ```
8
+
9
+ First run sets you up: paste an AnyRouter API key, or log in at anyrouter.dev (a key is generated for you). Config is saved to `~/.config/anyrouter/config.yaml` and reused next time.
10
+
11
+ Full docs: https://anyrouter.dev/docs/guides/cli
package/bin.mjs ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+ // @anyr/cc — launch Claude Code through AnyRouter (short alias of @anyrouterdev/cc variants).
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,33 @@
1
+ {
2
+ "name": "@anyr/cc",
3
+ "version": "0.2.0",
4
+ "description": "Launch Claude Code through AnyRouter — one key, every provider. `npx @anyr/cc`",
5
+ "type": "module",
6
+ "bin": {
7
+ "cc": "bin.mjs"
8
+ },
9
+ "files": [
10
+ "bin.mjs",
11
+ "README.md"
12
+ ],
13
+ "keywords": [
14
+ "anyrouter",
15
+ "llm",
16
+ "gateway",
17
+ "claude",
18
+ "cli"
19
+ ],
20
+ "repository": {
21
+ "type": "git",
22
+ "url": "git+https://github.com/duyet/anyrouter.git",
23
+ "directory": "cli/launchers/anyr-cc"
24
+ },
25
+ "homepage": "https://anyrouter.dev/docs/guides/cli",
26
+ "license": "MIT",
27
+ "dependencies": {
28
+ "@anyrouterdev/cli": "^0.2.0"
29
+ },
30
+ "engines": {
31
+ "node": ">=18"
32
+ }
33
+ }