@cotal-ai/connector-codex 0.68.0 → 0.69.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.
Files changed (3) hide show
  1. package/dist/host.js +244 -196
  2. package/dist/index.js +9 -7
  3. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ 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
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";
@@ -171,14 +171,11 @@ function materialEnv(opts) {
171
171
  // ../connector-core/dist/agui.js
172
172
  import { AGUI_FRAME_KIND, AGUI_EVENT_TYPE, isAguiFramePart } from "@cotal-ai/core";
173
173
  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
174
  var TRUNCATABLE_FIELDS = [
176
175
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_ARGS, field: "delta" },
177
176
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_RESULT, field: "content" },
178
177
  { type: AGUI_EVENT_TYPE2.TEXT_MESSAGE_CONTENT, field: "delta" }
179
178
  ];
180
- var SIZING_ID = "S".repeat(64);
181
- var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
182
179
  var EGRESS_FORBIDDEN_TYPES = /* @__PURE__ */ new Set([
183
180
  AGUI_EVENT_TYPE2.TOOL_CALL_ARGS,
184
181
  AGUI_EVENT_TYPE2.TOOL_CALL_RESULT
@@ -201,6 +198,11 @@ var KNOWN_EVENT_KEYS_BY_TYPE = /* @__PURE__ */ new Map([
201
198
  [AGUI_EVENT_TYPE2.CUSTOM, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "name", "value", "cotal"])]
202
199
  ]);
203
200
 
201
+ // ../connector-core/dist/agui-emitter.js
202
+ import { isAguiFramePart as isAguiFramePart3, isCasLoss, principalKey as principalKey2 } from "@cotal-ai/core";
203
+ var SIZING_ID = "S".repeat(64);
204
+ var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
205
+
204
206
  // ../connector-core/dist/event-wal.js
205
207
  import { assertIdToken } from "@cotal-ai/core";
206
208
 
@@ -208,7 +210,7 @@ import { assertIdToken } from "@cotal-ai/core";
208
210
  import { ensureDirNoSymlink } from "@cotal-ai/core";
209
211
 
210
212
  // ../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";
213
+ import { AGUI_EVENT_TYPE as AGUI_EVENT_TYPE3, AGUI_FRAME_KIND as AGUI_FRAME_KIND3, isAguiFramePart as isAguiFramePart4, registry } from "@cotal-ai/core";
212
214
  var str = (v) => typeof v === "string" ? v : void 0;
213
215
  var CONT = " \xB7 ";
214
216
  var TEXT_PREFIX = "\xBB ";
@@ -315,7 +317,7 @@ var aguiFramePartRenderer = Object.freeze({
315
317
  kind: "part-renderer",
316
318
  name: AGUI_FRAME_KIND3,
317
319
  render(part) {
318
- if (!isAguiFramePart3(part))
320
+ if (!isAguiFramePart4(part))
319
321
  return `[not an AG-UI frame]`;
320
322
  const events = part.events;
321
323
  if (!Array.isArray(events) || events.length === 0)
@@ -14846,7 +14848,7 @@ function date4(params) {
14846
14848
  config(en_default());
14847
14849
 
14848
14850
  // ../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";
14851
+ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, assertLifecycleToken as assertLifecycleToken4, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
14850
14852
 
14851
14853
  // ../connector-core/dist/docs.js
14852
14854
  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.69.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.69.0",
25
+ "@cotal-ai/core": "0.69.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",