cc-mirror 1.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.
- package/LICENSE +21 -0
- package/README.md +192 -0
- package/dist/cc-mirror.mjs +4506 -0
- package/dist/tui.mjs +42061 -0
- package/package.json +83 -0
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cc-mirror",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Create multiple isolated Claude Code variants with custom providers (Z.ai, MiniMax, OpenRouter, Claude Code Router)",
|
|
6
|
+
"author": "Numman Ali",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/numman-ali/cc-mirror.git"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/numman-ali/cc-mirror#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/numman-ali/cc-mirror/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"claude",
|
|
18
|
+
"claude-code",
|
|
19
|
+
"anthropic",
|
|
20
|
+
"ai",
|
|
21
|
+
"cli",
|
|
22
|
+
"minimax",
|
|
23
|
+
"openrouter",
|
|
24
|
+
"ccrouter",
|
|
25
|
+
"claude-code-router",
|
|
26
|
+
"zai",
|
|
27
|
+
"glm",
|
|
28
|
+
"llm"
|
|
29
|
+
],
|
|
30
|
+
"bin": {
|
|
31
|
+
"cc-mirror": "dist/cc-mirror.mjs"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"dev": "tsx src/cli/index.ts",
|
|
38
|
+
"tui": "tsx src/cli/index.ts --tui",
|
|
39
|
+
"bundle": "tsx scripts/bundle.ts",
|
|
40
|
+
"prepack": "tsx scripts/bundle.ts",
|
|
41
|
+
"render:tui-svg": "node --import tsx scripts/render-tui-svg.ts",
|
|
42
|
+
"test": "node --test --import tsx 'test/**/*.test.ts'",
|
|
43
|
+
"test:watch": "node --test --watch --import tsx 'test/**/*.test.ts'",
|
|
44
|
+
"test:coverage": "c8 npm test",
|
|
45
|
+
"typecheck": "tsc --noEmit",
|
|
46
|
+
"lint": "eslint src test scripts",
|
|
47
|
+
"lint:fix": "eslint --fix src test scripts",
|
|
48
|
+
"format": "prettier --write \"**/*.{ts,tsx,json,md}\"",
|
|
49
|
+
"format:check": "prettier --check \"**/*.{ts,tsx,json,md}\"",
|
|
50
|
+
"check": "npm run typecheck && npm run lint && npm run test",
|
|
51
|
+
"prepare": "lefthook install || true"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"gradient-string": "^3.0.0",
|
|
55
|
+
"ink": "^4.0.0",
|
|
56
|
+
"ink-big-text": "^2.0.0",
|
|
57
|
+
"ink-box": "^1.0.0",
|
|
58
|
+
"ink-gradient": "^3.0.0",
|
|
59
|
+
"ink-select-input": "^5.0.0",
|
|
60
|
+
"ink-spinner": "^5.0.0",
|
|
61
|
+
"ink-text-input": "^5.0.0",
|
|
62
|
+
"react": "^18.3.1",
|
|
63
|
+
"tweakcc": "^3.2.2"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@types/node": "^22.10.2",
|
|
67
|
+
"@types/react": "^18.3.12",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "^8.51.0",
|
|
69
|
+
"@typescript-eslint/parser": "^8.51.0",
|
|
70
|
+
"c8": "^10.1.3",
|
|
71
|
+
"esbuild": "^0.24.0",
|
|
72
|
+
"eslint": "^9.39.2",
|
|
73
|
+
"eslint-config-prettier": "^9.1.2",
|
|
74
|
+
"eslint-plugin-react": "^7.37.5",
|
|
75
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
76
|
+
"ink-testing-library": "^4.0.0",
|
|
77
|
+
"lefthook": "^1.13.6",
|
|
78
|
+
"prettier": "^3.7.4",
|
|
79
|
+
"tsx": "^4.20.3",
|
|
80
|
+
"typescript": "^5.7.2",
|
|
81
|
+
"typescript-eslint": "^8.51.0"
|
|
82
|
+
}
|
|
83
|
+
}
|