@cotal-ai/connector-jcode 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
@@ -30,10 +30,13 @@ 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
- 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";
36
+ 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";
37
+
38
+ // ../connector-core/dist/framing.js
39
+ import { peerLabel } from "@cotal-ai/core";
37
40
 
38
41
  // ../connector-core/dist/manager-call.js
39
42
  import { BASELINE_LIFECYCLE_ENDPOINT, assertLifecycleToken as assertLifecycleToken2, dialerFor, invokeCommand, isPermissionDenied, issuedUserCaller, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
@@ -190,14 +193,11 @@ function materialEnv(opts) {
190
193
  // ../connector-core/dist/agui.js
191
194
  import { AGUI_FRAME_KIND, AGUI_EVENT_TYPE, isAguiFramePart } from "@cotal-ai/core";
192
195
  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
196
  var TRUNCATABLE_FIELDS = [
195
197
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_ARGS, field: "delta" },
196
198
  { type: AGUI_EVENT_TYPE2.TOOL_CALL_RESULT, field: "content" },
197
199
  { type: AGUI_EVENT_TYPE2.TEXT_MESSAGE_CONTENT, field: "delta" }
198
200
  ];
199
- var SIZING_ID = "S".repeat(64);
200
- var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
201
201
  var EGRESS_FORBIDDEN_TYPES = /* @__PURE__ */ new Set([
202
202
  AGUI_EVENT_TYPE2.TOOL_CALL_ARGS,
203
203
  AGUI_EVENT_TYPE2.TOOL_CALL_RESULT
@@ -220,6 +220,11 @@ var KNOWN_EVENT_KEYS_BY_TYPE = /* @__PURE__ */ new Map([
220
220
  [AGUI_EVENT_TYPE2.CUSTOM, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "name", "value", "cotal"])]
221
221
  ]);
222
222
 
223
+ // ../connector-core/dist/agui-emitter.js
224
+ import { isAguiFramePart as isAguiFramePart3, isCasLoss, principalKey as principalKey2 } from "@cotal-ai/core";
225
+ var SIZING_ID = "S".repeat(64);
226
+ var SIZING_EXPECTATION = Number.MAX_SAFE_INTEGER;
227
+
223
228
  // ../connector-core/dist/event-wal.js
224
229
  import { assertIdToken } from "@cotal-ai/core";
225
230
 
@@ -227,7 +232,7 @@ import { assertIdToken } from "@cotal-ai/core";
227
232
  import { ensureDirNoSymlink } from "@cotal-ai/core";
228
233
 
229
234
  // ../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";
235
+ import { AGUI_EVENT_TYPE as AGUI_EVENT_TYPE3, AGUI_FRAME_KIND as AGUI_FRAME_KIND3, isAguiFramePart as isAguiFramePart4, registry } from "@cotal-ai/core";
231
236
  var str = (v) => typeof v === "string" ? v : void 0;
232
237
  var CONT = " \xB7 ";
233
238
  var TEXT_PREFIX = "\xBB ";
@@ -334,7 +339,7 @@ var aguiFramePartRenderer = Object.freeze({
334
339
  kind: "part-renderer",
335
340
  name: AGUI_FRAME_KIND3,
336
341
  render(part) {
337
- if (!isAguiFramePart3(part))
342
+ if (!isAguiFramePart4(part))
338
343
  return `[not an AG-UI frame]`;
339
344
  const events = part.events;
340
345
  if (!Array.isArray(events) || events.length === 0)
@@ -14865,7 +14870,10 @@ function date4(params) {
14865
14870
  config(en_default());
14866
14871
 
14867
14872
  // ../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";
14873
+ 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";
14874
+
14875
+ // ../connector-core/dist/orientation.js
14876
+ import { peerLabel as peerLabel3 } from "@cotal-ai/core";
14869
14877
 
14870
14878
  // ../connector-core/dist/docs.js
14871
14879
  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(" "));