@cotal-ai/connector-jcode 0.73.0 → 0.76.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/host.d.ts.map +1 -1
- package/dist/host.js +43032 -42579
- package/dist/index.js +6 -6
- package/dist/mcp.js +115 -34
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -36,13 +36,13 @@ 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, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as
|
|
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, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom, runAgentBearer, partsToText, assertValidRole } from "@cotal-ai/core";
|
|
40
40
|
|
|
41
41
|
// ../connector-core/dist/framing.js
|
|
42
42
|
import { peerLabel } from "@cotal-ai/core";
|
|
43
43
|
|
|
44
44
|
// ../connector-core/dist/manager-call.js
|
|
45
|
-
import { BASELINE_LIFECYCLE_ENDPOINT,
|
|
45
|
+
import { BASELINE_LIFECYCLE_ENDPOINT, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
|
|
46
46
|
|
|
47
47
|
// ../connector-core/dist/runtime.js
|
|
48
48
|
import { tmpdir } from "node:os";
|
|
@@ -157,11 +157,11 @@ function launchEnv(opts = {}) {
|
|
|
157
157
|
}
|
|
158
158
|
function aclEnv(opts) {
|
|
159
159
|
const env = {};
|
|
160
|
-
if (opts.subscribe
|
|
160
|
+
if (opts.subscribe)
|
|
161
161
|
env.COTAL_SUBSCRIBE = opts.subscribe.join(",");
|
|
162
|
-
if (opts.allowSubscribe
|
|
162
|
+
if (opts.allowSubscribe)
|
|
163
163
|
env.COTAL_ALLOW_SUBSCRIBE = opts.allowSubscribe.join(",");
|
|
164
|
-
if (opts.allowPublish
|
|
164
|
+
if (opts.allowPublish)
|
|
165
165
|
env.COTAL_ALLOW_PUBLISH = opts.allowPublish.join(",");
|
|
166
166
|
if (opts.capabilities?.length)
|
|
167
167
|
env.COTAL_CAPABILITIES = opts.capabilities.join(",");
|
|
@@ -14878,7 +14878,7 @@ function date4(params) {
|
|
|
14878
14878
|
config(en_default());
|
|
14879
14879
|
|
|
14880
14880
|
// ../connector-core/dist/tool-specs.js
|
|
14881
|
-
import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as
|
|
14881
|
+
import { isConcreteChannel as isConcreteChannel3, channelInAllow as channelInAllow3, AmbiguousPeerError, peerLabel as peerLabel4, assertLifecycleToken as assertLifecycleToken3, isPermissionDenied as isPermissionDenied2, renderLifecycleBlocked as renderLifecycleBlocked2, EpEnvelopeError as EpEnvelopeError2, LANG_PROBLEM_DETAIL_KIND, formatAge, presenceAges } from "@cotal-ai/core";
|
|
14882
14882
|
|
|
14883
14883
|
// ../connector-core/dist/orientation.js
|
|
14884
14884
|
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|