@cotal-ai/connector-codex 0.76.0 → 0.77.1

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
@@ -178,6 +178,9 @@ function materialEnv(opts) {
178
178
  return {};
179
179
  return { [LAUNCH_MATERIAL_ENV3]: writeLaunchMaterial(material) };
180
180
  }
181
+ function launchArmsEvents(opts) {
182
+ return opts.events !== false || opts.eventsRequired === true;
183
+ }
181
184
 
182
185
  // ../connector-core/dist/agui.js
183
186
  import { AGUI_FRAME_KIND, AGUI_EVENT_TYPE, isAguiFramePart } from "@cotal-ai/core";
@@ -15002,7 +15005,7 @@ var codexConnector = {
15002
15005
  const tuiPref = process.env.COTAL_CODEX_TUI?.trim();
15003
15006
  if (tuiPref) env.COTAL_CODEX_TUI = tuiPref;
15004
15007
  env.COTAL_CODEX_HOME = opts.workspaceRoot ?? process.cwd();
15005
- if (opts.events !== false) {
15008
+ if (launchArmsEvents(opts)) {
15006
15009
  env.COTAL_EVENTS = "1";
15007
15010
  if (!opts.workspaceRoot)
15008
15011
  throw new Error(
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.76.0",
4
+ "version": "0.77.1",
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.76.0",
25
- "@cotal-ai/core": "0.76.0",
24
+ "@cotal-ai/connector-core": "0.77.1",
25
+ "@cotal-ai/core": "0.77.1",
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",