@cotal-ai/connector-codex 0.111.1 → 0.113.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/index.js CHANGED
@@ -23553,8 +23553,9 @@ function discoveryEnv() {
23553
23553
  for (const k of Object.keys(env)) if (k.startsWith("COTAL_")) delete env[k];
23554
23554
  return env;
23555
23555
  }
23556
- async function listCodexModels() {
23557
- const child = spawn("codex", ["app-server"], { env: discoveryEnv(), stdio: ["pipe", "pipe", "ignore"] });
23556
+ async function listCodexModels(opts = {}) {
23557
+ const bin = process.env.COTAL_CODEX_BIN?.trim() || opts.resolvedBinaries?.codex || "codex";
23558
+ const child = spawn(bin, ["app-server"], { env: discoveryEnv(), stdio: ["pipe", "pipe", "ignore"] });
23558
23559
  const kill = () => {
23559
23560
  try {
23560
23561
  child.kill("SIGKILL");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cotal-ai/connector-codex",
3
3
  "description": "Cotal connector for OpenAI Codex: a host-mode peer driving codex app-server, with Codex's own TUI attached and the cotal_* tools served over a loopback MCP endpoint.",
4
- "version": "0.111.1",
4
+ "version": "0.113.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,8 +21,8 @@
21
21
  "@cotal-ai/core": ">=0.1.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@cotal-ai/connector-core": "0.111.1",
25
- "@cotal-ai/core": "0.111.1",
24
+ "@cotal-ai/connector-core": "0.113.0",
25
+ "@cotal-ai/core": "0.113.0",
26
26
  "@cotal-ai/smoke-kit": "0.0.0",
27
27
  "@modelcontextprotocol/sdk": "^1.29.0",
28
28
  "@nats-io/transport-node": "^3.4.0",