ccman 3.3.20 → 3.3.22

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 (2) hide show
  1. package/dist/index.js +9 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -426,6 +426,8 @@ var init_codex = __esm({
426
426
  "gmncodex.com",
427
427
  "gmncode.cn",
428
428
  "cdn.gmncode.cn",
429
+ "gmncode.com",
430
+ // Keep the historical typo for compatibility with previously written configs.
429
431
  "gmn.codex.com",
430
432
  "cdn.gmncode.com"
431
433
  ];
@@ -2871,7 +2873,9 @@ var init_claude_clean = __esm({
2871
2873
 
2872
2874
  // ../core/dist/index.js
2873
2875
  import { readFileSync as readFileSync10 } from "fs";
2874
- var pkg, VERSION;
2876
+ import { join as join5, dirname as dirname7 } from "path";
2877
+ import { fileURLToPath as fileURLToPath6 } from "url";
2878
+ var __filename6, __dirname6, pkg, VERSION;
2875
2879
  var init_dist2 = __esm({
2876
2880
  "../core/dist/index.js"() {
2877
2881
  "use strict";
@@ -2893,7 +2897,9 @@ var init_dist2 = __esm({
2893
2897
  init_merge_advanced();
2894
2898
  init_export();
2895
2899
  init_claude_clean();
2896
- pkg = JSON.parse(readFileSync10(new URL("../package.json", import.meta.url), "utf-8"));
2900
+ __filename6 = fileURLToPath6(import.meta.url);
2901
+ __dirname6 = dirname7(__filename6);
2902
+ pkg = JSON.parse(readFileSync10(join5(__dirname6, "../../package.json"), "utf-8"));
2897
2903
  VERSION = pkg.version;
2898
2904
  }
2899
2905
  });
@@ -7372,7 +7378,7 @@ var GMN1_PROFILE = {
7372
7378
  },
7373
7379
  {
7374
7380
  label: "\u5168\u7403\u8FB9\u7F18 B",
7375
- url: "https://gmn.codex.com",
7381
+ url: "https://gmncode.com",
7376
7382
  description: "\u5168\u7403\u8FB9\u7F18\u8282\u70B9\u52A0\u901F"
7377
7383
  },
7378
7384
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ccman",
3
- "version": "3.3.20",
3
+ "version": "3.3.22",
4
4
  "type": "module",
5
5
  "description": "Manage Codex, Claude Code, Gemini CLI, OpenCode, OpenClaw, and MCP API service provider configurations",
6
6
  "main": "./dist/index.js",
@@ -11,6 +11,11 @@
11
11
  "dist",
12
12
  "README.md"
13
13
  ],
14
+ "scripts": {
15
+ "build": "tsup",
16
+ "dev": "NODE_ENV=development tsx src/index.ts",
17
+ "clean": "rm -rf dist"
18
+ },
14
19
  "keywords": [
15
20
  "codex",
16
21
  "claude",
@@ -52,10 +57,5 @@
52
57
  },
53
58
  "engines": {
54
59
  "node": ">=18.0.0"
55
- },
56
- "scripts": {
57
- "build": "tsup",
58
- "dev": "NODE_ENV=development tsx src/index.ts",
59
- "clean": "rm -rf dist"
60
60
  }
61
61
  }