codex-copilot-dx 0.1.0 → 0.1.2

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/package.json +2 -2
  2. package/src/config.mjs +1 -1
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "codex-copilot-dx",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Use Codex Desktop app with your GitHub Copilot subscription",
5
5
  "type": "module",
6
6
  "bin": {
7
- "codex-copilot-dx": "./bin/cli.mjs"
7
+ "codex-copilot-dx": "bin/cli.mjs"
8
8
  },
9
9
  "files": [
10
10
  "bin/",
package/src/config.mjs CHANGED
@@ -5,7 +5,7 @@ import os from "node:os";
5
5
  const CONFIG_PATH = path.join(os.homedir(), ".codex", "config.toml");
6
6
 
7
7
  export function ensureCodexConfig(adapterPort = 4142) {
8
- const baseUrl = `http://localhost:${adapterPort}/v1`;
8
+ const baseUrl = `http://127.0.0.1:${adapterPort}/v1`;
9
9
 
10
10
  if (!fs.existsSync(CONFIG_PATH)) {
11
11
  // Codex not installed yet, create minimal config