@abitat_reece/cli 0.1.18 → 0.1.19

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 +2 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { resolve } from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import { defaultApiUrl, deleteCliSession, loadCliSession, runLoginCommand, sessionConfigPath } from "./auth.js";
8
8
  import { createIphoneStartupPlan } from "./iphone.js";
9
- const DEFAULT_CODEX_APP_SERVER_URL = "ws://127.0.0.1:47777";
9
+ const DEFAULT_CODEX_APP_SERVER_URL = "stdio://";
10
10
  const HOST_DAEMON_CLI_EXPORT = "@abitat_reece/host-daemon/cli";
11
11
  export function parseCommand(args) {
12
12
  const command = args[0];
@@ -68,6 +68,7 @@ export async function runCli(args, input = {}) {
68
68
  function startProcess(process) {
69
69
  const resolved = resolveStartupProcess(process);
70
70
  spawn(resolved.command, resolved.args, {
71
+ cwd: globalThis.process.env.INIT_CWD ?? globalThis.process.cwd(),
71
72
  env: { ...globalThis.process.env, ...resolved.env },
72
73
  stdio: "inherit"
73
74
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abitat_reece/cli",
3
3
  "private": false,
4
- "version": "0.1.18",
4
+ "version": "0.1.19",
5
5
  "description": "Remote Codex control from Mac and iPhone",
6
6
  "type": "module",
7
7
  "bin": {
@@ -15,7 +15,7 @@
15
15
  "node": ">=22"
16
16
  },
17
17
  "dependencies": {
18
- "@abitat_reece/host-daemon": "0.1.18"
18
+ "@abitat_reece/host-daemon": "0.1.19"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "25.6.0",