@cotal-ai/connector-hermes 0.69.0 → 0.70.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 +14 -5
- package/dist/launch.js +2019 -1986
- package/package.json +3 -3
- package/plugin/cotal/_sidecar/standalone.cjs +2017 -1986
package/dist/index.js
CHANGED
|
@@ -11,10 +11,16 @@ import { fileURLToPath } from "node:url";
|
|
|
11
11
|
import { registry as registry3 } from "@cotal-ai/core";
|
|
12
12
|
|
|
13
13
|
// ../connector-core/dist/config.js
|
|
14
|
-
import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink,
|
|
14
|
+
import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV2, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink, resolveReadAcl } from "@cotal-ai/core";
|
|
15
|
+
|
|
16
|
+
// ../connector-core/dist/session-env.js
|
|
17
|
+
import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-material";
|
|
15
18
|
|
|
16
19
|
// ../connector-core/dist/agent.js
|
|
17
|
-
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,
|
|
20
|
+
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, runAgentBearer, partsToText, routeToken } from "@cotal-ai/core";
|
|
21
|
+
|
|
22
|
+
// ../connector-core/dist/framing.js
|
|
23
|
+
import { peerLabel } from "@cotal-ai/core";
|
|
18
24
|
|
|
19
25
|
// ../connector-core/dist/manager-call.js
|
|
20
26
|
import { BASELINE_LIFECYCLE_ENDPOINT, assertLifecycleToken as assertLifecycleToken2, dialerFor, invokeCommand, isPermissionDenied, issuedUserCaller, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
|
|
@@ -23,7 +29,7 @@ import { BASELINE_LIFECYCLE_ENDPOINT, assertLifecycleToken as assertLifecycleTok
|
|
|
23
29
|
var SUN_PATH_MAX_BYTES = process.platform === "darwin" ? 104 : 108;
|
|
24
30
|
|
|
25
31
|
// ../connector-core/dist/launch.js
|
|
26
|
-
import { eventChannel as eventChannel2, LAUNCH_MATERIAL_ENV as
|
|
32
|
+
import { eventChannel as eventChannel2, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV3, parsePrincipalKey, principalKey, writeLaunchMaterial } from "@cotal-ai/core";
|
|
27
33
|
import { EVENT_CHANNEL_PREFIX, eventChannel as eventChannel3, eventChannelPrincipal, isEventChannel } from "@cotal-ai/core";
|
|
28
34
|
var OS_ENV_ALLOW = [
|
|
29
35
|
"PATH",
|
|
@@ -149,7 +155,7 @@ function materialEnv(opts) {
|
|
|
149
155
|
material.userAuth = opts.userAuth;
|
|
150
156
|
if (Object.keys(material).length === 0)
|
|
151
157
|
return {};
|
|
152
|
-
return { [
|
|
158
|
+
return { [LAUNCH_MATERIAL_ENV3]: writeLaunchMaterial(material) };
|
|
153
159
|
}
|
|
154
160
|
|
|
155
161
|
// ../connector-core/dist/agui.js
|
|
@@ -14832,7 +14838,10 @@ function date4(params) {
|
|
|
14832
14838
|
config(en_default());
|
|
14833
14839
|
|
|
14834
14840
|
// ../connector-core/dist/tool-specs.js
|
|
14835
|
-
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";
|
|
14841
|
+
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";
|
|
14842
|
+
|
|
14843
|
+
// ../connector-core/dist/orientation.js
|
|
14844
|
+
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
14836
14845
|
|
|
14837
14846
|
// ../connector-core/dist/docs.js
|
|
14838
14847
|
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(" "));
|