cc-zh-watcher 0.1.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 (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +405 -0
  3. package/dist/cli.js +47033 -0
  4. package/package.json +66 -0
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "cc-zh-watcher",
3
+ "version": "0.1.0",
4
+ "description": "Side-channel Chinese ↔ English bridge for Claude Code (single-watcher TUI). Type Chinese, Claude sees English; Claude replies in English, you see Chinese.",
5
+ "type": "module",
6
+ "bin": {
7
+ "cc-zh-watcher": "./dist/cli.js"
8
+ },
9
+ "main": "./dist/cli.js",
10
+ "files": [
11
+ "dist/cli.js",
12
+ "README.md",
13
+ "LICENSE"
14
+ ],
15
+ "scripts": {
16
+ "dev": "bun run src/cli.ts",
17
+ "build": "bun build src/cli.ts --outfile dist/cli.js --target node",
18
+ "compile": "bun build src/cli.ts --compile --outfile dist/cc-zh-watcher",
19
+ "compile:linux-x64": "bun build src/cli.ts --compile --target=bun-linux-x64 --outfile dist/cc-zh-watcher-linux-x64",
20
+ "compile:linux-arm64": "bun build src/cli.ts --compile --target=bun-linux-arm64 --outfile dist/cc-zh-watcher-linux-arm64",
21
+ "compile:darwin-x64": "bun build src/cli.ts --compile --target=bun-darwin-x64 --outfile dist/cc-zh-watcher-darwin-x64",
22
+ "compile:darwin-arm64": "bun build src/cli.ts --compile --target=bun-darwin-arm64 --outfile dist/cc-zh-watcher-darwin-arm64",
23
+ "compile:windows-x64": "bun build src/cli.ts --compile --target=bun-windows-x64 --outfile dist/cc-zh-watcher-windows-x64.exe",
24
+ "compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64 && bun run compile:windows-x64",
25
+ "test": "bun test",
26
+ "typecheck": "tsc --noEmit",
27
+ "prepublishOnly": "bun run typecheck && bun test && bun run build"
28
+ },
29
+ "keywords": [
30
+ "claude-code",
31
+ "claude",
32
+ "translation",
33
+ "chinese",
34
+ "i18n",
35
+ "tui",
36
+ "ink",
37
+ "cli",
38
+ "openai",
39
+ "deepseek"
40
+ ],
41
+ "author": "storm <xm4763@gmail.com>",
42
+ "license": "MIT",
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/CodingForMoney/cc-zh-watcher.git"
46
+ },
47
+ "homepage": "https://github.com/CodingForMoney/cc-zh-watcher/#readme",
48
+ "bugs": {
49
+ "url": "https://github.com/CodingForMoney/cc-zh-watcher/issues"
50
+ },
51
+ "engines": {
52
+ "node": ">=20.0.0"
53
+ },
54
+ "devDependencies": {
55
+ "@types/node": "^20.14.0",
56
+ "@types/react": "^18.3.0",
57
+ "bun-types": "^1.3.13",
58
+ "commander": "^12.1.0",
59
+ "ink": "^5.0.1",
60
+ "ink-text-input": "^6.0.0",
61
+ "react": "^18.3.1",
62
+ "react-devtools-core": "^7.0.1",
63
+ "typescript": "^5.5.0"
64
+ },
65
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
66
+ }