ccjk 16.0.0-alpha.3 → 16.0.1

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ccjk
2
2
 
3
- > Clavue / Claude Code / Codex / Grok CLI 的统一专业配置工具。所有工具采用完全一致的配置体验(API Key + Base URL + 模型选择),profile 管理、权限策略一站式搞定。参考 zcf 合理交互设计,让配置简单高效、无例外。
3
+ > Clavue / Claude Code / Codex / Grok CLI 的统一专业配置工具。所有工具采用完全一致的配置体验(API Key + Base URL + 模型选择),profile 管理、权限策略一站式搞定。ccjk 统一交互设计,让配置简单高效、无例外。
4
4
 
5
5
  **核心亮点**:Grok CLI 配置已与 Codex、Clavue、Claude Code 完全统一,无任何例外。一次配置,多工具通用。
6
6
 
@@ -18,7 +18,7 @@ import { rm, mkdir, copyFile as copyFile$1 } from 'node:fs/promises';
18
18
  import i18next from 'i18next';
19
19
  import Backend from 'i18next-fs-backend';
20
20
 
21
- const version = "16.0.0-alpha.3";
21
+ const version = "16.0.1";
22
22
  const homepage = "https://github.com/miounet11/ccjk#readme";
23
23
 
24
24
  const i18n = i18next.createInstance();
@@ -397,9 +397,7 @@ const CCJK_CONFIG_FILE = join(CCJK_CONFIG_DIR, "config.toml");
397
397
  const LEGACY_CCJK_CONFIG_FILES = [
398
398
  join(CLAUDE_DIR, ".ccjk-config.json"),
399
399
  join(homedir(), ".ccjk.json"),
400
- join(homedir(), ".ufomiao", "zcf", "config.toml"),
401
- join(homedir(), ".ufomiao", "ccjk", "config.toml"),
402
- join(homedir(), ".zcf", "config.toml")
400
+ join(homedir(), ".ufomiao", "ccjk", "config.toml")
403
401
  ];
404
402
  const CODE_TOOL_TYPES = ["clavue", "claude-code", "codex"];
405
403
  const DEFAULT_CODE_TOOL_TYPE = "clavue";
package/dist/cli.mjs CHANGED
@@ -400,7 +400,7 @@ Defaulting to "claude-code".`));
400
400
  }
401
401
  }
402
402
 
403
- class ZcfUninstaller {
403
+ class CcjkUninstaller {
404
404
  _lang;
405
405
  // Reserved for future i18n support
406
406
  conflictResolution = /* @__PURE__ */ new Map();
@@ -921,7 +921,7 @@ async function uninstall(options = {}) {
921
921
  const config = readCcjkConfig();
922
922
  codeType = config?.codeToolType && isCodeToolType(config.codeToolType) ? config.codeToolType : DEFAULT_CODE_TOOL_TYPE;
923
923
  }
924
- const uninstaller = new ZcfUninstaller(options.lang || "en");
924
+ const uninstaller = new CcjkUninstaller(options.lang || "en");
925
925
  if (codeType === "codex") {
926
926
  const { runCodexUninstall } = await import('./chunks/simple-config.mjs').then(function (n) { return n.br; });
927
927
  await runCodexUninstall();
@@ -1295,7 +1295,7 @@ async function launchWithProfile$1(name) {
1295
1295
  const profile = readProfile$1(name);
1296
1296
  if (!profile) {
1297
1297
  console.log(ansis.red(`Profile "${name}" \u4E0D\u5B58\u5728`));
1298
- console.log(ansis.dim(" \u5148\u8FD0\u884C ccjk init \u914D\u7F6E API\uFF08ZCF \u6D41\u7A0B\u4F1A\u81EA\u52A8\u4FDD\u5B58 profile\uFF09\n"));
1298
+ console.log(ansis.dim(" \u5148\u8FD0\u884C ccjk init \u914D\u7F6E API\uFF08\u4F1A\u81EA\u52A8\u4FDD\u5B58 profile\uFF09\n"));
1299
1299
  return;
1300
1300
  }
1301
1301
  const env = { ...process.env };
@@ -1702,7 +1702,7 @@ function printOtherToolsSection() {
1702
1702
  );
1703
1703
  console.log("");
1704
1704
  }
1705
- function printZcfSection(options) {
1705
+ function printCcjkSection(options) {
1706
1706
  console.log(" ------------ CCJK ------------");
1707
1707
  console.log(
1708
1708
  ` ${ansis.cyan("0.")} ${i18n.t("menu:menuOptions.changeLanguage")} ${ansis.gray(`- ${i18n.t("menu:menuDescriptions.changeLanguage")}`)}`
@@ -1745,7 +1745,7 @@ async function showClaudeCodeMenu() {
1745
1745
  );
1746
1746
  console.log("");
1747
1747
  printOtherToolsSection();
1748
- printZcfSection({
1748
+ printCcjkSection({
1749
1749
  uninstallOption: i18n.t("menu:menuOptions.uninstall"),
1750
1750
  uninstallDescription: i18n.t("menu:menuDescriptions.uninstall"),
1751
1751
  updateOption: i18n.t("menu:menuOptions.checkUpdates"),
@@ -1872,7 +1872,7 @@ async function showCodexMenu() {
1872
1872
  ` ${ansis.cyan("6.")} ${i18n.t("menu:menuOptions.codexConfigureAiMemory")} ${ansis.gray(`- ${i18n.t("menu:menuDescriptions.codexConfigureAiMemory")}`)}`
1873
1873
  );
1874
1874
  console.log("");
1875
- printZcfSection({
1875
+ printCcjkSection({
1876
1876
  uninstallOption: i18n.t("menu:menuOptions.codexUninstall"),
1877
1877
  uninstallDescription: i18n.t("menu:menuDescriptions.codexUninstall"),
1878
1878
  updateOption: i18n.t("menu:menuOptions.codexCheckUpdates"),
package/dist/index.d.mts CHANGED
@@ -12,6 +12,7 @@ declare const CODEX_AGENTS_FILE: string;
12
12
  declare const CODEX_PROMPTS_DIR: string;
13
13
  declare const CCJK_CONFIG_DIR: string;
14
14
  declare const CCJK_CONFIG_FILE: string;
15
+ /** 旧版配置路径(仅用于 migrate,不含当前 canonical ~/.ccjk/config.toml) */
15
16
  declare const LEGACY_CCJK_CONFIG_FILES: string[];
16
17
  declare const CODE_TOOL_TYPES: readonly ["clavue", "claude-code", "codex"];
17
18
  type CodeToolType = (typeof CODE_TOOL_TYPES)[number];
package/dist/index.d.ts CHANGED
@@ -12,6 +12,7 @@ declare const CODEX_AGENTS_FILE: string;
12
12
  declare const CODEX_PROMPTS_DIR: string;
13
13
  declare const CCJK_CONFIG_DIR: string;
14
14
  declare const CCJK_CONFIG_FILE: string;
15
+ /** 旧版配置路径(仅用于 migrate,不含当前 canonical ~/.ccjk/config.toml) */
15
16
  declare const LEGACY_CCJK_CONFIG_FILES: string[];
16
17
  declare const CODE_TOOL_TYPES: readonly ["clavue", "claude-code", "codex"];
17
18
  type CodeToolType = (typeof CODE_TOOL_TYPES)[number];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ccjk",
3
- "version": "16.0.0-alpha.3",
4
- "description": "Clavue / Claude Code / Codex / Grok CLI 统一配置工具(基于 ZCF 交互与配置方法)",
3
+ "version": "16.0.1",
4
+ "description": "Clavue / Claude Code / Codex / Grok CLI 统一配置工具(ccjk 交互与配置方法)",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "ccjk": "bin/ccjk.mjs"