@cotal-ai/connector-jcode 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.
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ function userJcodeHome() {
30
30
  import { registry as registry3 } from "@cotal-ai/core";
31
31
 
32
32
  // ../connector-core/dist/config.js
33
- import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink, readLaunchMaterial } from "@cotal-ai/core";
33
+ import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink, readLaunchMaterial, resolveReadAcl } from "@cotal-ai/core";
34
34
 
35
35
  // ../connector-core/dist/agent.js
36
36
  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";
@@ -190,14 +190,11 @@ function materialEnv(opts) {
190
190
  // ../connector-core/dist/agui.js
191
191
  import { AGUI_FRAME_KIND, AGUI_EVENT_TYPE, isAguiFramePart } from "@cotal-ai/core";
192
192
  import { AGUI_FRAME_KIND as AGUI_FRAME_KIND2, AGUI_EVENT_TYPE as AGUI_EVENT_TYPE2, isAguiFramePart as isAguiFramePart2 } from "@cotal-ai/core";
193
- import { isCasLoss, principalKey as principalKey2 } from "@cotal-ai/core";
194
193
  var TRUNCATABLE_FIELDS = [
195
194
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_ARGS, field: "delta" },
196
195
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_RESULT, field: "content" },
197
196
  { type: AGUI_EVENT_TYPE2.TEXT_MESSAGE_CONTENT, field: "delta" }
198
197
  ];
199
- var SIZING_ID = "S".repeat(64);
200
- var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
201
198
  var EGRESS_FORBIDDEN_TYPES = /* @__PURE__ */ new Set([
202
199
  AGUI_EVENT_TYPE2.TOOL_CALL_ARGS,
203
200
  AGUI_EVENT_TYPE2.TOOL_CALL_RESULT
@@ -220,6 +217,11 @@ var KNOWN_EVENT_KEYS_BY_TYPE = /* @__PURE__ */ new Map([
220
217
  [AGUI_EVENT_TYPE2.CUSTOM, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "name", "value", "cotal"])]
221
218
  ]);
222
219
 
220
+ // ../connector-core/dist/agui-emitter.js
221
+ import { isAguiFramePart as isAguiFramePart3, isCasLoss, principalKey as principalKey2 } from "@cotal-ai/core";
222
+ var SIZING_ID = "S".repeat(64);
223
+ var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
224
+
223
225
  // ../connector-core/dist/event-wal.js
224
226
  import { assertIdToken } from "@cotal-ai/core";
225
227
 
@@ -227,7 +229,7 @@ import { assertIdToken } from "@cotal-ai/core";
227
229
  import { ensureDirNoSymlink } from "@cotal-ai/core";
228
230
 
229
231
  // ../connector-core/dist/agui-render.js
230
- import { AGUI_EVENT_TYPE as AGUI_EVENT_TYPE3, AGUI_FRAME_KIND as AGUI_FRAME_KIND3, isAguiFramePart as isAguiFramePart3, registry } from "@cotal-ai/core";
232
+ import { AGUI_EVENT_TYPE as AGUI_EVENT_TYPE3, AGUI_FRAME_KIND as AGUI_FRAME_KIND3, isAguiFramePart as isAguiFramePart4, registry } from "@cotal-ai/core";
231
233
  var str = (v) => typeof v === "string" ? v : void 0;
232
234
  var CONT = " \xB7 ";
233
235
  var TEXT_PREFIX = "\xBB ";
@@ -334,7 +336,7 @@ var aguiFramePartRenderer = Object.freeze({
334
336
  kind: "part-renderer",
335
337
  name: AGUI_FRAME_KIND3,
336
338
  render(part) {
337
- if (!isAguiFramePart3(part))
339
+ if (!isAguiFramePart4(part))
338
340
  return `[not an AG-UI frame]`;
339
341
  const events = part.events;
340
342
  if (!Array.isArray(events) || events.length === 0)
@@ -14865,7 +14867,7 @@ function date4(params) {
14865
14867
  config(en_default());
14866
14868
 
14867
14869
  // ../connector-core/dist/tool-specs.js
14868
- 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";
14870
+ 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";
14869
14871
 
14870
14872
  // ../connector-core/dist/docs.js
14871
14873
  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(" "));