@cotal-ai/connector-codex 0.68.0 → 0.70.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
@@ -11,10 +11,13 @@ import { resolve } from "node:path";
11
11
  import { registry as registry3 } from "@cotal-ai/core";
12
12
 
13
13
  // ../connector-core/dist/config.js
14
- import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink, readLaunchMaterial } from "@cotal-ai/core";
14
+ import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink, readLaunchMaterial, resolveReadAcl } from "@cotal-ai/core";
15
15
 
16
16
  // ../connector-core/dist/agent.js
17
- import { normalizeMentions, RUN_LAUNCH_DEADLINE_MS, subjectMatches, isConcreteChannel as isConcreteChannel2, assertValidChannel as assertValidChannel2, channelInAllow as channelInAllow2, resolvePeer as resolvePeerInRoster, CotalEndpoint, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken3, EpEnvelopeError, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, bearerCommandFailure, partsToText, routeToken } from "@cotal-ai/core";
17
+ import { normalizeMentions, RUN_LAUNCH_DEADLINE_MS, subjectMatches, isConcreteChannel as isConcreteChannel2, assertValidChannel as assertValidChannel2, channelInAllow as channelInAllow2, resolvePeer as resolvePeerInRoster, peerLabel as peerLabel2, CotalEndpoint, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken3, EpEnvelopeError, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom, bearerCommandFailure, partsToText, routeToken } from "@cotal-ai/core";
18
+
19
+ // ../connector-core/dist/framing.js
20
+ import { peerLabel } from "@cotal-ai/core";
18
21
 
19
22
  // ../connector-core/dist/manager-call.js
20
23
  import { BASELINE_LIFECYCLE_ENDPOINT, assertLifecycleToken as assertLifecycleToken2, dialerFor, invokeCommand, isPermissionDenied, issuedUserCaller, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
@@ -171,14 +174,11 @@ function materialEnv(opts) {
171
174
  // ../connector-core/dist/agui.js
172
175
  import { AGUI_FRAME_KIND, AGUI_EVENT_TYPE, isAguiFramePart } from "@cotal-ai/core";
173
176
  import { AGUI_FRAME_KIND as AGUI_FRAME_KIND2, AGUI_EVENT_TYPE as AGUI_EVENT_TYPE2, isAguiFramePart as isAguiFramePart2 } from "@cotal-ai/core";
174
- import { isCasLoss, principalKey as principalKey2 } from "@cotal-ai/core";
175
177
  var TRUNCATABLE_FIELDS = [
176
178
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_ARGS, field: "delta" },
177
179
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_RESULT, field: "content" },
178
180
  { type: AGUI_EVENT_TYPE2.TEXT_MESSAGE_CONTENT, field: "delta" }
179
181
  ];
180
- var SIZING_ID = "S".repeat(64);
181
- var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
182
182
  var EGRESS_FORBIDDEN_TYPES = /* @__PURE__ */ new Set([
183
183
  AGUI_EVENT_TYPE2.TOOL_CALL_ARGS,
184
184
  AGUI_EVENT_TYPE2.TOOL_CALL_RESULT
@@ -201,6 +201,11 @@ var KNOWN_EVENT_KEYS_BY_TYPE = /* @__PURE__ */ new Map([
201
201
  [AGUI_EVENT_TYPE2.CUSTOM, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "name", "value", "cotal"])]
202
202
  ]);
203
203
 
204
+ // ../connector-core/dist/agui-emitter.js
205
+ import { isAguiFramePart as isAguiFramePart3, isCasLoss, principalKey as principalKey2 } from "@cotal-ai/core";
206
+ var SIZING_ID = "S".repeat(64);
207
+ var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
208
+
204
209
  // ../connector-core/dist/event-wal.js
205
210
  import { assertIdToken } from "@cotal-ai/core";
206
211
 
@@ -208,7 +213,7 @@ import { assertIdToken } from "@cotal-ai/core";
208
213
  import { ensureDirNoSymlink } from "@cotal-ai/core";
209
214
 
210
215
  // ../connector-core/dist/agui-render.js
211
- import { AGUI_EVENT_TYPE as AGUI_EVENT_TYPE3, AGUI_FRAME_KIND as AGUI_FRAME_KIND3, isAguiFramePart as isAguiFramePart3, registry } from "@cotal-ai/core";
216
+ import { AGUI_EVENT_TYPE as AGUI_EVENT_TYPE3, AGUI_FRAME_KIND as AGUI_FRAME_KIND3, isAguiFramePart as isAguiFramePart4, registry } from "@cotal-ai/core";
212
217
  var str = (v) => typeof v === "string" ? v : void 0;
213
218
  var CONT = " \xB7 ";
214
219
  var TEXT_PREFIX = "\xBB ";
@@ -315,7 +320,7 @@ var aguiFramePartRenderer = Object.freeze({
315
320
  kind: "part-renderer",
316
321
  name: AGUI_FRAME_KIND3,
317
322
  render(part) {
318
- if (!isAguiFramePart3(part))
323
+ if (!isAguiFramePart4(part))
319
324
  return `[not an AG-UI frame]`;
320
325
  const events = part.events;
321
326
  if (!Array.isArray(events) || events.length === 0)
@@ -14846,7 +14851,10 @@ function date4(params) {
14846
14851
  config(en_default());
14847
14852
 
14848
14853
  // ../connector-core/dist/tool-specs.js
14849
- import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, assertLifecycleToken as assertLifecycleToken4, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, LANG_PROBLEM_DETAIL_KIND } from "@cotal-ai/core";
14854
+ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken4, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
14855
+
14856
+ // ../connector-core/dist/orientation.js
14857
+ import { peerLabel as peerLabel3 } from "@cotal-ai/core";
14850
14858
 
14851
14859
  // ../connector-core/dist/docs.js
14852
14860
  var STOP = new Set("a an and are as at be by do for from has how in is it of on or that the this to use using was what when where which who with you your".split(" "));
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.68.0",
4
+ "version": "0.70.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.68.0",
25
- "@cotal-ai/core": "0.68.0",
24
+ "@cotal-ai/connector-core": "0.70.0",
25
+ "@cotal-ai/core": "0.70.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",