@cotal-ai/connector-jcode 0.78.1 → 0.81.1

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
@@ -36,7 +36,7 @@ import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV2,
36
36
  import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-material";
37
37
 
38
38
  // ../connector-core/dist/agent.js
39
- 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";
39
+ 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, controlReplyFrom, controlReplyFromThrown, runAgentBearer, partsToText, assertValidRole } from "@cotal-ai/core";
40
40
 
41
41
  // ../connector-core/dist/framing.js
42
42
  import { peerLabel } from "@cotal-ai/core";
@@ -44,6 +44,10 @@ import { peerLabel } from "@cotal-ai/core";
44
44
  // ../connector-core/dist/manager-call.js
45
45
  import { BASELINE_LIFECYCLE_ENDPOINT, EpEnvelopeError, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
46
46
 
47
+ // ../connector-core/dist/agent.js
48
+ var MAX_INBOX = 200;
49
+ var MAX_IN_FLIGHT = MAX_INBOX * 2;
50
+
47
51
  // ../connector-core/dist/runtime.js
48
52
  import { tmpdir } from "node:os";
49
53
  import { join } from "node:path";
@@ -213,7 +217,6 @@ var EGRESS_FORBIDDEN_TYPES = /* @__PURE__ */ new Set([
213
217
  AGUI_EVENT_TYPE2.TOOL_CALL_ARGS,
214
218
  AGUI_EVENT_TYPE2.TOOL_CALL_RESULT
215
219
  ]);
216
- var KNOWN_AGUI_EVENT_TYPES = new Set(Object.values(AGUI_EVENT_TYPE2));
217
220
  var KNOWN_EVENT_KEYS_BY_TYPE = /* @__PURE__ */ new Map([
218
221
  [AGUI_EVENT_TYPE2.RUN_STARTED, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "threadId", "runId", "parentRunId", "input", "cotal"])],
219
222
  [AGUI_EVENT_TYPE2.RUN_FINISHED, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "threadId", "runId", "result", "outcome", "cotal"])],
@@ -14881,7 +14884,7 @@ function date4(params) {
14881
14884
  config(en_default());
14882
14885
 
14883
14886
  // ../connector-core/dist/tool-specs.js
14884
- 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";
14887
+ import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked, EpEnvelopeError as EpEnvelopeError3, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
14885
14888
 
14886
14889
  // ../connector-core/dist/orientation.js
14887
14890
  import { peerLabel as peerLabel3 } from "@cotal-ai/core";