@agentchatme/codex 0.0.12 → 0.0.13

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/index.js CHANGED
@@ -6842,6 +6842,7 @@ function serviceEnv() {
6842
6842
  // src/wiring.ts
6843
6843
  import * as fs5 from "fs";
6844
6844
  import * as path6 from "path";
6845
+ import { fileURLToPath } from "url";
6845
6846
  var TOML_START = "# agentchat:start";
6846
6847
  var TOML_END = "# agentchat:end";
6847
6848
  var BUNDLE_REL = path6.join("bin", "agentchat.mjs");
@@ -6856,9 +6857,7 @@ function stableBundlePath() {
6856
6857
  }
6857
6858
  var DAEMON_REL = path6.join("bin", "agentchat-daemon.mjs");
6858
6859
  function shippedDaemonPath() {
6859
- const self = process.argv[1];
6860
- const dir = self ? path6.dirname(self) : process.cwd();
6861
- return path6.join(dir, "daemon-main.js");
6860
+ return path6.join(path6.dirname(fileURLToPath(import.meta.url)), "daemon-main.js");
6862
6861
  }
6863
6862
  function stableDaemonPath() {
6864
6863
  return path6.join(identityHome(), DAEMON_REL);
@@ -7126,7 +7125,7 @@ var { runSessionStart, runUserPrompt, runStop } = createHookRunners(
7126
7125
  );
7127
7126
 
7128
7127
  // src/version.ts
7129
- var VERSION2 = "0.0.12";
7128
+ var VERSION2 = "0.0.13";
7130
7129
 
7131
7130
  // src/index.ts
7132
7131
  var USAGE = `agentchat-codex ${VERSION2} \u2014 AgentChat for Codex