@agentchatme/agent-core 0.7.3 → 0.8.0

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/dist/presets.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  VERSION,
3
3
  hostedMcpUrl,
4
4
  runProbe
5
- } from "./chunk-7TTV2CQX.js";
5
+ } from "./chunk-WYBLSTYB.js";
6
6
  import {
7
7
  atomicWriteFile,
8
8
  clientHeadersOf,
@@ -13,7 +13,7 @@ import {
13
13
  spawnRun,
14
14
  spawnRunCapturing,
15
15
  workdirExposesHome
16
- } from "./chunk-5KMQ23O6.js";
16
+ } from "./chunk-LPTOKVEE.js";
17
17
 
18
18
  // src/presets/claude-code.ts
19
19
  import * as fs2 from "fs";
@@ -1103,7 +1103,7 @@ var CodexRunner = class {
1103
1103
  const runtime = await inspectCodexRuntime(this.options.codexHome, this.command, CODEX_PROBE_TIMEOUT_MS, options.signal);
1104
1104
  if (!runtime.ok) return { ok: false, detail: runtime.detail };
1105
1105
  const auth = await codexIsLoggedIn(this.options.codexHome, this.command, CODEX_PROBE_TIMEOUT_MS, options.signal);
1106
- if (!auth.ok) return { ok: false, detail: `codex login status failed: ${auth.detail}` };
1106
+ if (!auth.ok) return { ok: false, detail: `codex login status failed: ${auth.detail}${auth.detail.includes("`codex login`") ? "" : " (run `codex login` once and sign in)"}` };
1107
1107
  if (this.workdir() !== this.options.workdir && !this.warnedHome) {
1108
1108
  this.warnedHome = true;
1109
1109
  log.warn(`the run workdir ${this.options.workdir} is your home folder or contains it: ${this.options.profile} runs work in ${this.workdir()} instead, so a peer-started run reaches none of your files there. Point the workdir at a folder of its own to choose another.`);