codex-copilot-dx 0.5.2 → 0.5.3

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
@@ -62,9 +62,11 @@ ccdx update github
62
62
 
63
63
  The npm source installs `codex-copilot-dx@latest` through the registry already
64
64
  configured for npm, including a company mirror. The GitHub source installs the
65
- latest commit from `DaleXiao/codex-copilot-dx` `main`. Both paths use npm's
66
- global installer without shell interpolation. A currently running adapter keeps
67
- its loaded version until it is stopped and started again. The
65
+ latest commit from `DaleXiao/codex-copilot-dx` `main` and opts in to Git fetching
66
+ for that command, as required by npm 12. It does not change npm's persistent
67
+ `allow-git` setting. Both paths use npm's global installer without shell
68
+ interpolation. A currently running adapter keeps its loaded version until it is
69
+ stopped and started again. The
68
70
  `codex-copilot-dx update` compatibility command behaves identically.
69
71
 
70
72
  On first run, it will:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-copilot-dx",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Use Codex Desktop, Claude Code, and Claude App with GitHub Copilot",
5
5
  "author": "Dale Xiao",
6
6
  "type": "module",
@@ -16,9 +16,12 @@ export function normalizeUpdateSource(value) {
16
16
  export function globalUpdateCommand(source, { platform = process.platform } = {}) {
17
17
  const normalized = normalizeUpdateSource(source);
18
18
  if (!normalized) throw new Error(`Update source must be npm or github: ${source}`);
19
+ const args = ["install", "--global"];
20
+ if (normalized === "github") args.push("--allow-git=all");
21
+ args.push(UPDATE_SPECS[normalized]);
19
22
  return {
20
23
  command: platform === "win32" ? "npm.cmd" : "npm",
21
- args: ["install", "--global", UPDATE_SPECS[normalized]],
24
+ args,
22
25
  source: normalized,
23
26
  };
24
27
  }