@cotal-ai/connector-opencode 0.78.1 → 0.79.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
@@ -17,7 +17,7 @@ import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV2,
17
17
  import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-material";
18
18
 
19
19
  // ../connector-core/dist/agent.js
20
- 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";
20
+ 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";
21
21
 
22
22
  // ../connector-core/dist/framing.js
23
23
  import { peerLabel } from "@cotal-ai/core";
@@ -25,6 +25,10 @@ import { peerLabel } from "@cotal-ai/core";
25
25
  // ../connector-core/dist/manager-call.js
26
26
  import { BASELINE_LIFECYCLE_ENDPOINT, EpEnvelopeError, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
27
27
 
28
+ // ../connector-core/dist/agent.js
29
+ var MAX_INBOX = 200;
30
+ var MAX_IN_FLIGHT = MAX_INBOX * 2;
31
+
28
32
  // ../connector-core/dist/runtime.js
29
33
  import { tmpdir } from "node:os";
30
34
  import { join } from "node:path";
@@ -201,7 +205,6 @@ var EGRESS_FORBIDDEN_TYPES = /* @__PURE__ */ new Set([
201
205
  AGUI_EVENT_TYPE2.TOOL_CALL_ARGS,
202
206
  AGUI_EVENT_TYPE2.TOOL_CALL_RESULT
203
207
  ]);
204
- var KNOWN_AGUI_EVENT_TYPES = new Set(Object.values(AGUI_EVENT_TYPE2));
205
208
  var KNOWN_EVENT_KEYS_BY_TYPE = /* @__PURE__ */ new Map([
206
209
  [AGUI_EVENT_TYPE2.RUN_STARTED, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "threadId", "runId", "parentRunId", "input", "cotal"])],
207
210
  [AGUI_EVENT_TYPE2.RUN_FINISHED, /* @__PURE__ */ new Set(["type", "timestamp", "rawEvent", "threadId", "runId", "result", "outcome", "cotal"])],
@@ -14869,7 +14872,7 @@ function date4(params) {
14869
14872
  config(en_default());
14870
14873
 
14871
14874
  // ../connector-core/dist/tool-specs.js
14872
- 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";
14875
+ 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";
14873
14876
 
14874
14877
  // ../connector-core/dist/orientation.js
14875
14878
  import { peerLabel as peerLabel3 } from "@cotal-ai/core";