@cotal-ai/connector-codex 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/host.d.ts.map +1 -1
- package/dist/host.js +2073 -2066
- package/dist/index.js +14 -5
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11,10 +11,16 @@ import { resolve } from "node:path";
|
|
|
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";
|
|
@@ -36,7 +42,7 @@ function controlEndpoint(space, name, token = randomBytes(32).toString("base64ur
|
|
|
36
42
|
}
|
|
37
43
|
|
|
38
44
|
// ../connector-core/dist/launch.js
|
|
39
|
-
import { eventChannel as eventChannel2, LAUNCH_MATERIAL_ENV as
|
|
45
|
+
import { eventChannel as eventChannel2, LAUNCH_MATERIAL_ENV as LAUNCH_MATERIAL_ENV3, parsePrincipalKey, principalKey, writeLaunchMaterial } from "@cotal-ai/core";
|
|
40
46
|
import { EVENT_CHANNEL_PREFIX, eventChannel as eventChannel3, eventChannelPrincipal, isEventChannel } from "@cotal-ai/core";
|
|
41
47
|
var OS_ENV_ALLOW = [
|
|
42
48
|
"PATH",
|
|
@@ -165,7 +171,7 @@ function materialEnv(opts) {
|
|
|
165
171
|
material.userAuth = opts.userAuth;
|
|
166
172
|
if (Object.keys(material).length === 0)
|
|
167
173
|
return {};
|
|
168
|
-
return { [
|
|
174
|
+
return { [LAUNCH_MATERIAL_ENV3]: writeLaunchMaterial(material) };
|
|
169
175
|
}
|
|
170
176
|
|
|
171
177
|
// ../connector-core/dist/agui.js
|
|
@@ -14848,7 +14854,10 @@ function date4(params) {
|
|
|
14848
14854
|
config(en_default());
|
|
14849
14855
|
|
|
14850
14856
|
// ../connector-core/dist/tool-specs.js
|
|
14851
|
-
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";
|
|
14857
|
+
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";
|
|
14858
|
+
|
|
14859
|
+
// ../connector-core/dist/orientation.js
|
|
14860
|
+
import { peerLabel as peerLabel3 } from "@cotal-ai/core";
|
|
14852
14861
|
|
|
14853
14862
|
// ../connector-core/dist/docs.js
|
|
14854
14863
|
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(" "));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cotal-ai/connector-codex",
|
|
3
3
|
"description": "Cotal connector for OpenAI Codex: a host-mode peer driving codex app-server, with Codex's own TUI attached and the cotal_* tools served over a loopback MCP endpoint.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.70.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"@cotal-ai/core": ">=0.1.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@cotal-ai/connector-core": "0.
|
|
25
|
-
"@cotal-ai/core": "0.
|
|
24
|
+
"@cotal-ai/connector-core": "0.70.1",
|
|
25
|
+
"@cotal-ai/core": "0.70.1",
|
|
26
26
|
"@cotal-ai/smoke-kit": "0.0.0",
|
|
27
27
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
28
28
|
"@nats-io/transport-node": "^3.4.0",
|