@cotal-ai/connector-hermes 0.85.0 → 0.86.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 +13 -2
- package/dist/launch.js +1565 -1343
- package/package.json +3 -3
- package/plugin/cotal/_sidecar/standalone.cjs +1574 -1352
package/dist/index.js
CHANGED
|
@@ -6900,7 +6900,7 @@ import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-m
|
|
|
6900
6900
|
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";
|
|
6901
6901
|
|
|
6902
6902
|
// ../connector-core/dist/framing.js
|
|
6903
|
-
import { peerLabel } from "@cotal-ai/core";
|
|
6903
|
+
import { peerLabel } from "@cotal-ai/core/peer-label";
|
|
6904
6904
|
|
|
6905
6905
|
// ../connector-core/dist/manager-call.js
|
|
6906
6906
|
import { BASELINE_LIFECYCLE_ENDPOINT, EpEnvelopeError, dialerFor, goalFollowRefusal, invokeCommand, isPermissionDenied, issuedUserCaller, managerCallerBinding, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
|
|
@@ -21726,7 +21726,7 @@ function date4(params) {
|
|
|
21726
21726
|
config(en_default());
|
|
21727
21727
|
|
|
21728
21728
|
// ../connector-core/dist/tool-specs.js
|
|
21729
|
-
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";
|
|
21729
|
+
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, presenceText } from "@cotal-ai/core";
|
|
21730
21730
|
|
|
21731
21731
|
// ../connector-core/dist/orientation.js
|
|
21732
21732
|
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
@@ -21736,6 +21736,14 @@ var STOP = new Set("a an and are as at be by do for from has how in is it of on
|
|
|
21736
21736
|
|
|
21737
21737
|
// ../connector-core/dist/tool-specs.js
|
|
21738
21738
|
var NO_TOOL_ARGS = external_exports.strictObject({});
|
|
21739
|
+
var managerInstanceArg = external_exports.string().refine((value) => {
|
|
21740
|
+
try {
|
|
21741
|
+
assertLifecycleToken3(value, "instance");
|
|
21742
|
+
return true;
|
|
21743
|
+
} catch {
|
|
21744
|
+
return false;
|
|
21745
|
+
}
|
|
21746
|
+
}, "instance must be a lifecycle token ([a-z0-9]{26,32})").optional().describe("Optional manager instance id for a multi-manager space. When omitted, a seat a manager launched uses that manager and any other caller lets the mesh select one; on a user-auth mesh with several of your managers live, that selection refuses and lists their ids. A pin that cannot be resolved is refused without falling back to another manager.");
|
|
21739
21747
|
|
|
21740
21748
|
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
21741
21749
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -23465,6 +23473,9 @@ var MAX_DRAIN_BYTES = 64 * 1024 * 1024;
|
|
|
23465
23473
|
// ../connector-core/dist/gateway.js
|
|
23466
23474
|
import { assertValidName } from "@cotal-ai/core";
|
|
23467
23475
|
var CONNECTION_ID = external_exports.string().min(1).describe("The connection_id cotal_connect returned in THIS conversation. Never reuse another conversation's.");
|
|
23476
|
+
var GATEWAY_LISTENING = "Messages reach you only when you call a tool: to listen, call cotal_wait, which returns as soon as a message arrives. When the person asks you to stay on Cotal or keep listening, call cotal_wait again each time it returns and handle each message as it arrives, until they ask you to stop.";
|
|
23477
|
+
var GATEWAY_CONNECTING = "Cotal connects this conversation to the person's Cotal space. Call cotal_connect once with a short name for this conversation, then pass the returned connection_id on every other cotal tool call. Each conversation needs its own connection. Never reuse another conversation's connection_id.";
|
|
23478
|
+
var GATEWAY_INSTRUCTIONS = `${GATEWAY_CONNECTING} ${GATEWAY_LISTENING}`;
|
|
23468
23479
|
|
|
23469
23480
|
// ../connector-core/dist/control.js
|
|
23470
23481
|
var MAX_FRAME_BYTES = 1 << 20;
|