@cotal-ai/connector-codex 0.77.0 → 0.78.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
@@ -17,13 +17,13 @@ import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV2,
17
17
  import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-material";
18
18
 
19
19
  // ../connector-core/dist/agent.js
20
- import { normalizeMentions, RUN_LAUNCH_DEADLINE_MS, subjectMatches, isConcreteChannel as isConcreteChannel2, assertValidChannel as assertValidChannel2, channelInAllow as channelInAllow2, resolvePeer as resolvePeerInRoster, peerLabel as peerLabel2, CotalEndpoint, acquireLocalConsumer, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken2, EpEnvelopeError, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom, runAgentBearer, partsToText, assertValidRole } from "@cotal-ai/core";
20
+ import { normalizeMentions, RUN_LAUNCH_DEADLINE_MS, subjectMatches, isConcreteChannel as isConcreteChannel2, assertValidChannel as assertValidChannel2, channelInAllow as channelInAllow2, resolvePeer as resolvePeerInRoster, peerLabel as peerLabel2, CotalEndpoint, acquireLocalConsumer, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken2, EpEnvelopeError as EpEnvelopeError2, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom, runAgentBearer, partsToText, assertValidRole } from "@cotal-ai/core";
21
21
 
22
22
  // ../connector-core/dist/framing.js
23
23
  import { peerLabel } from "@cotal-ai/core";
24
24
 
25
25
  // ../connector-core/dist/manager-call.js
26
- import { BASELINE_LIFECYCLE_ENDPOINT, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
26
+ import { BASELINE_LIFECYCLE_ENDPOINT, EpEnvelopeError, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
27
27
 
28
28
  // ../connector-core/dist/runtime.js
29
29
  import { tmpdir } from "node:os";
@@ -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";
@@ -14859,7 +14862,7 @@ function date4(params) {
14859
14862
  config(en_default());
14860
14863
 
14861
14864
  // ../connector-core/dist/tool-specs.js
14862
- import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, EpEnvelopeError as EpEnvelopeError2, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
14865
+ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, EpEnvelopeError as EpEnvelopeError3, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
14863
14866
 
14864
14867
  // ../connector-core/dist/orientation.js
14865
14868
  import { peerLabel as peerLabel3 } 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.77.0",
4
+ "version": "0.78.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.77.0",
25
- "@cotal-ai/core": "0.77.0",
24
+ "@cotal-ai/connector-core": "0.78.0",
25
+ "@cotal-ai/core": "0.78.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",