@cotal-ai/connector-claude-code 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/agui-map.d.ts +18 -20
- package/dist/agui-map.d.ts.map +1 -1
- package/dist/hook.cjs +936 -15605
- package/dist/index.js +14 -5
- package/dist/mcp.cjs +2104 -2089
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -18,10 +18,16 @@ import {
|
|
|
18
18
|
} from "@cotal-ai/core";
|
|
19
19
|
|
|
20
20
|
// ../connector-core/dist/config.js
|
|
21
|
-
import { DEFAULT_SERVER, DEV_OWNER, LAUNCH_MATERIAL_ENV, discardLaunchMaterial, assertLifecycleToken, assertValidChannel, channelInAllow, credsClaims, eventChannel, idFromCreds, isConcreteChannel, loadAgentFile, parseJoinLink,
|
|
21
|
+
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";
|
|
22
|
+
|
|
23
|
+
// ../connector-core/dist/session-env.js
|
|
24
|
+
import { LAUNCH_MATERIAL_ENV, readLaunchMaterial } from "@cotal-ai/core/launch-material";
|
|
22
25
|
|
|
23
26
|
// ../connector-core/dist/agent.js
|
|
24
|
-
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,
|
|
27
|
+
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";
|
|
28
|
+
|
|
29
|
+
// ../connector-core/dist/framing.js
|
|
30
|
+
import { peerLabel } from "@cotal-ai/core";
|
|
25
31
|
|
|
26
32
|
// ../connector-core/dist/manager-call.js
|
|
27
33
|
import { BASELINE_LIFECYCLE_ENDPOINT, assertLifecycleToken as assertLifecycleToken2, dialerFor, invokeCommand, isPermissionDenied, issuedUserCaller, replyRefusedBeforeEffect, resolveService, standaloneConnectOpts } from "@cotal-ai/core";
|
|
@@ -43,7 +49,7 @@ function controlEndpoint(space, name, token = randomBytes(32).toString("base64ur
|
|
|
43
49
|
}
|
|
44
50
|
|
|
45
51
|
// ../connector-core/dist/launch.js
|
|
46
|
-
import { eventChannel as eventChannel2, LAUNCH_MATERIAL_ENV as
|
|
52
|
+
import { eventChannel as eventChannel2, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV3, parsePrincipalKey, principalKey, writeLaunchMaterial } from "@cotal-ai/core";
|
|
47
53
|
import { EVENT_CHANNEL_PREFIX, eventChannel as eventChannel3, eventChannelPrincipal, isEventChannel } from "@cotal-ai/core";
|
|
48
54
|
var OS_ENV_ALLOW = [
|
|
49
55
|
"PATH",
|
|
@@ -172,7 +178,7 @@ function materialEnv(opts) {
|
|
|
172
178
|
material.userAuth = opts.userAuth;
|
|
173
179
|
if (Object.keys(material).length === 0)
|
|
174
180
|
return {};
|
|
175
|
-
return { [
|
|
181
|
+
return { [LAUNCH_MATERIAL_ENV3]: writeLaunchMaterial(material) };
|
|
176
182
|
}
|
|
177
183
|
var ENV_REFERENCE = /\$\{([A-Za-z_][A-Za-z0-9_]*)(?::-[^}]*)?\}/g;
|
|
178
184
|
function mcpServerEnvKeys(servers) {
|
|
@@ -14877,7 +14883,10 @@ function date4(params) {
|
|
|
14877
14883
|
config(en_default());
|
|
14878
14884
|
|
|
14879
14885
|
// ../connector-core/dist/tool-specs.js
|
|
14880
|
-
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";
|
|
14886
|
+
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";
|
|
14887
|
+
|
|
14888
|
+
// ../connector-core/dist/orientation.js
|
|
14889
|
+
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
14881
14890
|
|
|
14882
14891
|
// ../connector-core/dist/docs.js
|
|
14883
14892
|
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(" "));
|