@cotal-ai/connector-codex 0.70.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.js +51 -59
- package/dist/index.js +7 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -11,10 +11,13 @@ 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, peerLabel as peerLabel2, CotalEndpoint, BASELINE_LIFECYCLE_ENDPOINT as BASELINE_LIFECYCLE_ENDPOINT2, BIND_SPLIT_REISSUES, assertLifecycleToken as assertLifecycleToken3, EpEnvelopeError, isPublishPermissionDenied, unansweredRequest, renderLifecycleBlocked, controlReplyFrom,
|
|
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";
|
|
18
21
|
|
|
19
22
|
// ../connector-core/dist/framing.js
|
|
20
23
|
import { peerLabel } from "@cotal-ai/core";
|
|
@@ -39,7 +42,7 @@ function controlEndpoint(space, name, token = randomBytes(32).toString("base64ur
|
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
// ../connector-core/dist/launch.js
|
|
42
|
-
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";
|
|
43
46
|
import { EVENT_CHANNEL_PREFIX, eventChannel as eventChannel3, eventChannelPrincipal, isEventChannel } from "@cotal-ai/core";
|
|
44
47
|
var OS_ENV_ALLOW = [
|
|
45
48
|
"PATH",
|
|
@@ -168,7 +171,7 @@ function materialEnv(opts) {
|
|
|
168
171
|
material.userAuth = opts.userAuth;
|
|
169
172
|
if (Object.keys(material).length === 0)
|
|
170
173
|
return {};
|
|
171
|
-
return { [
|
|
174
|
+
return { [LAUNCH_MATERIAL_ENV3]: writeLaunchMaterial(material) };
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
// ../connector-core/dist/agui.js
|
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.70.
|
|
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.70.
|
|
25
|
-
"@cotal-ai/core": "0.70.
|
|
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",
|