ccjk 13.3.2 → 13.3.4

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.
@@ -1,3 +1,3 @@
1
- const version = "13.3.2";
1
+ const version = "13.3.4";
2
2
 
3
3
  export { version };
package/dist/cli.mjs CHANGED
File without changes
@@ -15,10 +15,10 @@
15
15
  "currentModel": "Current model",
16
16
  "defaultModelOption": "Default - Let Claude Code choose",
17
17
  "defaultStyle": "Default style",
18
- "enterHaikuModel": "Enter default Haiku model",
19
- "enterSonnetModel": "Enter default Sonnet model",
20
- "enterOpusModel": "Enter default Opus model",
21
- "enterPrimaryModel": "Enter primary model name",
18
+ "enterHaikuModel": "Haiku model",
19
+ "enterSonnetModel": "Sonnet model",
20
+ "enterOpusModel": "Opus model",
21
+ "enterPrimaryModel": "Primary model",
22
22
  "envImportSuccess": "Environment variables imported",
23
23
  "envImportFailed": "Environment variables import failed",
24
24
  "existingConfig": "Existing config detected. How to proceed?",
@@ -15,10 +15,10 @@
15
15
  "currentModel": "当前模型",
16
16
  "defaultModelOption": "默认 - 让 Claude Code 自动选择",
17
17
  "defaultStyle": "默认风格",
18
- "enterHaikuModel": "请输入默认 Haiku 模型名称",
19
- "enterSonnetModel": "请输入默认 Sonnet 模型名称",
20
- "enterOpusModel": "请输入默认 Opus 模型名称",
21
- "enterPrimaryModel": "请输入主要使用的模型名称",
18
+ "enterHaikuModel": "Haiku 模型",
19
+ "enterSonnetModel": "Sonnet 模型",
20
+ "enterOpusModel": "Opus 模型",
21
+ "enterPrimaryModel": "主模型",
22
22
  "envImportSuccess": "环境变量已导入",
23
23
  "envImportFailed": "环境变量导入失败",
24
24
  "existingConfig": "检测到已有配置文件,如何处理?",
@@ -3,7 +3,6 @@
3
3
  "description": "CCJK settings template — auto-migrated on upgrade",
4
4
  "model": "default",
5
5
  "env": {
6
- "ANTHROPIC_MODEL": "",
7
6
  "ANTHROPIC_DEFAULT_HAIKU_MODEL": "",
8
7
  "ANTHROPIC_DEFAULT_SONNET_MODEL": "",
9
8
  "ANTHROPIC_DEFAULT_OPUS_MODEL": "",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "ccjk",
3
3
  "type": "module",
4
- "version": "13.3.2",
4
+ "version": "13.3.4",
5
+ "packageManager": "pnpm@10.17.1",
5
6
  "description": "CLI toolkit for Claude Code and Codex setup. Simplifies MCP service installation, API configuration, workflow management, and multi-provider support with guided interactive setup.",
6
7
  "author": {
7
8
  "name": "CCJK Team",
@@ -80,68 +81,6 @@
80
81
  "engines": {
81
82
  "node": ">=20"
82
83
  },
83
- "dependencies": {
84
- "fdir": "^6.5.0",
85
- "globby": "^14.1.0",
86
- "ioredis": "^5.9.3",
87
- "node-cron": "^4.2.1",
88
- "sql.js": "^1.14.0",
89
- "tar": "^7.5.9",
90
- "tinyglobby": "^0.2.15",
91
- "web-tree-sitter": "^0.26.5"
92
- },
93
- "devDependencies": {
94
- "@antfu/eslint-config": "^5.4.1",
95
- "@anthropic-ai/sdk": "^0.52.0",
96
- "@types/better-sqlite3": "^7.6.13",
97
- "@types/fs-extra": "^11.0.4",
98
- "@types/inquirer": "^9.0.9",
99
- "@types/node": "^22.18.6",
100
- "@types/node-cron": "^3.0.11",
101
- "@types/semver": "^7.7.1",
102
- "@types/uuid": "^11.0.0",
103
- "@typescript-eslint/eslint-plugin": "^6.0.0",
104
- "@typescript-eslint/parser": "^6.0.0",
105
- "@vitest/coverage-v8": "^3.2.4",
106
- "@vitest/ui": "^3.2.4",
107
- "ansis": "^4.2.0",
108
- "cac": "^6.7.14",
109
- "chokidar": "^4.0.3",
110
- "concurrently": "^9.2.1",
111
- "consola": "^3.4.2",
112
- "dayjs": "^1.11.19",
113
- "eslint": "^9.36.0",
114
- "eslint-plugin-format": "^1.4.0",
115
- "find-up-simple": "^1.0.1",
116
- "fs-extra": "^11.3.3",
117
- "gray-matter": "^4.0.3",
118
- "handlebars": "^4.7.8",
119
- "husky": "^9.1.7",
120
- "i18next": "^25.8.13",
121
- "i18next-fs-backend": "^2.6.1",
122
- "inquirer": "^12.9.6",
123
- "inquirer-toggle": "^1.0.1",
124
- "lint-staged": "^16.2.7",
125
- "lowdb": "^7.0.1",
126
- "nanoid": "^5.1.6",
127
- "ofetch": "^1.5.1",
128
- "ohash": "^1.1.4",
129
- "ora": "^8.2.0",
130
- "pathe": "^2.0.3",
131
- "pkgroll": "^2.26.3",
132
- "prettier": "^3.8.1",
133
- "semver": "^7.7.4",
134
- "shx": "^0.4.0",
135
- "smol-toml": "^1.6.0",
136
- "tinyexec": "^1.0.2",
137
- "trash": "^10.1.0",
138
- "tsx": "^4.21.0",
139
- "tweetnacl": "^1.0.3",
140
- "typescript": "^5.9.3",
141
- "unbuild": "^3.6.1",
142
- "uuid": "^11.1.0",
143
- "vitest": "^3.2.4"
144
- },
145
84
  "scripts": {
146
85
  "dev": "tsx ./src/cli.ts",
147
86
  "build": "unbuild",
@@ -149,6 +88,7 @@
149
88
  "typecheck": "tsc --noEmit",
150
89
  "release:verify": "node scripts/release-verify.mjs",
151
90
  "release:verify:full": "node scripts/release-verify.mjs --with-tests",
91
+ "prepublishOnly": "node scripts/validate-prepublish.mjs && pnpm contract:check && pnpm build",
152
92
  "lint": "eslint",
153
93
  "lint:fix": "eslint --fix",
154
94
  "test": "vitest",
@@ -170,6 +110,7 @@
170
110
  "test:integration:run": "NODE_ENV=test vitest run --config vitest.integration.config.ts",
171
111
  "test:integration:ui": "NODE_ENV=test vitest --config vitest.integration.config.ts --ui",
172
112
  "test:integration:coverage": "NODE_ENV=test vitest run --config vitest.integration.config.ts --coverage",
113
+ "prepare": "husky",
173
114
  "format": "prettier --write src/**/*.ts",
174
115
  "prepublish:fix": "node scripts/fix-package-catalog.mjs",
175
116
  "cleanup": "node scripts/cleanup.js",
@@ -204,5 +145,67 @@
204
145
  "i18n:check": "tsx scripts/check-i18n.ts",
205
146
  "i18n:report": "tsx scripts/check-i18n.ts --report",
206
147
  "contract:check": "node scripts/check-remote-contract.mjs"
148
+ },
149
+ "dependencies": {
150
+ "fdir": "^6.5.0",
151
+ "globby": "^14.1.0",
152
+ "ioredis": "^5.9.3",
153
+ "node-cron": "^4.2.1",
154
+ "sql.js": "^1.14.0",
155
+ "tar": "^7.5.9",
156
+ "tinyglobby": "^0.2.15",
157
+ "web-tree-sitter": "^0.26.5"
158
+ },
159
+ "devDependencies": {
160
+ "@antfu/eslint-config": "^5.4.1",
161
+ "@anthropic-ai/sdk": "^0.52.0",
162
+ "@types/better-sqlite3": "^7.6.13",
163
+ "@types/fs-extra": "^11.0.4",
164
+ "@types/inquirer": "^9.0.9",
165
+ "@types/node": "^22.18.6",
166
+ "@types/node-cron": "^3.0.11",
167
+ "@types/semver": "^7.7.1",
168
+ "@types/uuid": "^11.0.0",
169
+ "@typescript-eslint/eslint-plugin": "^6.0.0",
170
+ "@typescript-eslint/parser": "^6.0.0",
171
+ "@vitest/coverage-v8": "^3.2.4",
172
+ "@vitest/ui": "^3.2.4",
173
+ "ansis": "^4.2.0",
174
+ "cac": "^6.7.14",
175
+ "chokidar": "^4.0.3",
176
+ "concurrently": "^9.2.1",
177
+ "consola": "^3.4.2",
178
+ "dayjs": "^1.11.19",
179
+ "eslint": "^9.36.0",
180
+ "eslint-plugin-format": "^1.4.0",
181
+ "find-up-simple": "^1.0.1",
182
+ "fs-extra": "^11.3.3",
183
+ "gray-matter": "^4.0.3",
184
+ "handlebars": "^4.7.8",
185
+ "husky": "^9.1.7",
186
+ "i18next": "^25.8.13",
187
+ "i18next-fs-backend": "^2.6.1",
188
+ "inquirer": "^12.9.6",
189
+ "inquirer-toggle": "^1.0.1",
190
+ "lint-staged": "^16.2.7",
191
+ "lowdb": "^7.0.1",
192
+ "nanoid": "^5.1.6",
193
+ "ofetch": "^1.5.1",
194
+ "ohash": "^1.1.4",
195
+ "ora": "^8.2.0",
196
+ "pathe": "^2.0.3",
197
+ "pkgroll": "^2.26.3",
198
+ "prettier": "^3.8.1",
199
+ "semver": "^7.7.4",
200
+ "shx": "^0.4.0",
201
+ "smol-toml": "^1.6.0",
202
+ "tinyexec": "^1.0.2",
203
+ "trash": "^10.1.0",
204
+ "tsx": "^4.21.0",
205
+ "tweetnacl": "^1.0.3",
206
+ "typescript": "^5.9.3",
207
+ "unbuild": "^3.6.1",
208
+ "uuid": "^11.1.0",
209
+ "vitest": "^3.2.4"
207
210
  }
208
- }
211
+ }
@@ -3,7 +3,6 @@
3
3
  "description": "CCJK settings template — auto-migrated on upgrade",
4
4
  "model": "default",
5
5
  "env": {
6
- "ANTHROPIC_MODEL": "",
7
6
  "ANTHROPIC_DEFAULT_HAIKU_MODEL": "",
8
7
  "ANTHROPIC_DEFAULT_SONNET_MODEL": "",
9
8
  "ANTHROPIC_DEFAULT_OPUS_MODEL": "",