@essentialai/cogent-bridge-bundled 3.25.1 → 3.25.2
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/cogent-bridge.mjs +8 -5
- package/package.json +1 -1
package/cogent-bridge.mjs
CHANGED
|
@@ -624,6 +624,7 @@ function hasJoinedInProcess() {
|
|
|
624
624
|
}
|
|
625
625
|
function markCloudAttemptInProcess() {
|
|
626
626
|
cloudAttemptInProcessFlag = true;
|
|
627
|
+
joinedInProcessFlag = false;
|
|
627
628
|
}
|
|
628
629
|
function hasCloudAttemptInProcess() {
|
|
629
630
|
return cloudAttemptInProcessFlag;
|
|
@@ -26389,8 +26390,8 @@ var init_stdio2 = __esm({
|
|
|
26389
26390
|
// src/constants.ts
|
|
26390
26391
|
import { createRequire } from "node:module";
|
|
26391
26392
|
function resolveVersion() {
|
|
26392
|
-
if ("3.25.
|
|
26393
|
-
return "3.25.
|
|
26393
|
+
if ("3.25.2") {
|
|
26394
|
+
return "3.25.2";
|
|
26394
26395
|
}
|
|
26395
26396
|
try {
|
|
26396
26397
|
const require2 = createRequire(import.meta.url);
|
|
@@ -36721,7 +36722,9 @@ var init_message = __esm({
|
|
|
36721
36722
|
replyExpected: import_zod6.z.boolean().optional().describe("Sender declares the message terminal \u2014 no reply expected. Absent/true = a reply is expected."),
|
|
36722
36723
|
error: import_zod6.z.string().nullable().describe("Error message if delivery failed"),
|
|
36723
36724
|
originPlatform: import_zod6.z.enum(["cc", "codex", "slack", "gchat", "web", "gemini", "whatsapp", "telegram", "discord"]).optional().describe("Platform that originated this message"),
|
|
36724
|
-
attachments: import_zod6.z.array(AttachmentSchema).optional().describe("Cogent Mail M2.5 \u2014 file references (byte transport = email)")
|
|
36725
|
+
attachments: import_zod6.z.array(AttachmentSchema).optional().describe("Cogent Mail M2.5 \u2014 file references (byte transport = email)"),
|
|
36726
|
+
isRelayEcho: import_zod6.z.boolean().optional().describe("Relay-stamped: the record is an auto-relay echo"),
|
|
36727
|
+
traceId: import_zod6.z.string().optional().describe("Relay-minted trace id, carried on frames/poll")
|
|
36725
36728
|
});
|
|
36726
36729
|
}
|
|
36727
36730
|
});
|
|
@@ -36847,9 +36850,9 @@ var init_api_requests = __esm({
|
|
|
36847
36850
|
peerSecret: import_zod10.z.string().min(1).max(256).optional().describe("AUD-003: proof of ownership when reclaiming a peer from a different token"),
|
|
36848
36851
|
cwd: import_zod10.z.string().max(FIELD_LIMITS.CWD_MAX).describe("Peer working directory path"),
|
|
36849
36852
|
label: import_zod10.z.string().max(FIELD_LIMITS.PEER_LABEL_MAX).describe("Human-readable peer label"),
|
|
36850
|
-
platform: import_zod10.z.enum(["cc", "codex", "slack", "gchat", "web", "gemini"]).optional().describe("Platform this peer belongs to"),
|
|
36853
|
+
platform: import_zod10.z.enum(["cc", "codex", "slack", "gchat", "web", "gemini", "whatsapp", "telegram", "discord"]).optional().describe("Platform this peer belongs to"),
|
|
36851
36854
|
type: import_zod10.z.enum(["agent", "human"]).optional().describe("Peer type"),
|
|
36852
|
-
transport: import_zod10.z.enum(["ws", "slack-bot", "gchat-bot", "websocket"]).optional().describe("Transport mechanism"),
|
|
36855
|
+
transport: import_zod10.z.enum(["ws", "slack-bot", "gchat-bot", "websocket", "whatsapp-cloud", "telegram-bot", "discord-bot"]).optional().describe("Transport mechanism"),
|
|
36853
36856
|
platformIdentity: import_zod10.z.record(import_zod10.z.string().max(64), import_zod10.z.string().max(FIELD_LIMITS.PLATFORM_IDENTITY_VALUE_MAX)).optional().describe("Platform-specific identity fields"),
|
|
36854
36857
|
role: import_zod10.z.string().max(64).optional().describe("A2A role advertised by this peer (Agent Card)"),
|
|
36855
36858
|
capabilities: import_zod10.z.array(import_zod10.z.string().max(64)).max(16).optional().describe("Capability strings \u2192 A2A Agent Card skills[]")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@essentialai/cogent-bridge-bundled",
|
|
3
|
-
"version": "3.25.
|
|
3
|
+
"version": "3.25.2",
|
|
4
4
|
"description": "Zero-dependency, pre-bundled Cogent MCP bridge — a single self-contained file for fast cold `npx` startup (used by the Codex plugin, whose MCP startup window is short). Functionally identical to @essentialai/cogent-bridge; carries no npm dependencies so `npx` skips dependency install.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|