@essentialai/cogent-plugin 3.24.0 → 3.24.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/.claude-plugin/plugin.json +1 -1
- package/bridge/cogent-bridge.mjs +22 -6
- package/commands/init.md +1 -0
- package/commands/register.md +2 -1
- package/commands/send.md +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cogent",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.1",
|
|
4
4
|
"description": "Inter-session communication bridge for Claude Code with Slack integration. Enables CC agents and Slack team members to communicate in real time.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Essential AI Solutions",
|
package/bridge/cogent-bridge.mjs
CHANGED
|
@@ -26389,8 +26389,8 @@ var init_stdio2 = __esm({
|
|
|
26389
26389
|
// src/constants.ts
|
|
26390
26390
|
import { createRequire } from "node:module";
|
|
26391
26391
|
function resolveVersion() {
|
|
26392
|
-
if ("3.24.
|
|
26393
|
-
return "3.24.
|
|
26392
|
+
if ("3.24.1") {
|
|
26393
|
+
return "3.24.1";
|
|
26394
26394
|
}
|
|
26395
26395
|
try {
|
|
26396
26396
|
const require2 = createRequire(import.meta.url);
|
|
@@ -36055,10 +36055,24 @@ function registerRegisterPeerTool(server) {
|
|
|
36055
36055
|
{
|
|
36056
36056
|
method: "POST",
|
|
36057
36057
|
headers: { "Content-Type": "application/json" },
|
|
36058
|
-
|
|
36059
|
-
|
|
36060
|
-
|
|
36061
|
-
|
|
36058
|
+
// 🔴 NO `label` — let the relay name the channel.
|
|
36059
|
+
//
|
|
36060
|
+
// This used to send `Auto-created by ${label}`, which the relay's own
|
|
36061
|
+
// CreateSessionRequestSchema can NEVER accept: it requires
|
|
36062
|
+
// /^[a-z0-9][a-z0-9-]{1,30}[a-z0-9]$/ (lowercase, digits, hyphens, 3-32 chars).
|
|
36063
|
+
// "Auto-created by ..." has a capital A and spaces, so EVERY auto-create got
|
|
36064
|
+
// HTTP 400 INVALID_INPUT and the zero-config path — register with no channel
|
|
36065
|
+
// configured — could not work at all. Measured against a real relay 2026-09-15:
|
|
36066
|
+
// this body 400s, the same POST without a label returns 201.
|
|
36067
|
+
//
|
|
36068
|
+
// The 400 was visible as far back as 3.5.2 and was read as "don't fall into
|
|
36069
|
+
// auto-create" (see e2e/team-join-live.e2e.test.ts), so the symptom was routed
|
|
36070
|
+
// around and the path itself stayed broken.
|
|
36071
|
+
//
|
|
36072
|
+
// Omitting the label is not a workaround: the relay generates one with
|
|
36073
|
+
// collision-retry scoped to the org (generateSessionLabel + isLabelTaken). A
|
|
36074
|
+
// client-side slug would have to re-implement that and could still collide.
|
|
36075
|
+
body: JSON.stringify({ secret: autoSecret })
|
|
36062
36076
|
}
|
|
36063
36077
|
);
|
|
36064
36078
|
if (!resp.ok) {
|
|
@@ -36077,6 +36091,8 @@ function registerRegisterPeerTool(server) {
|
|
|
36077
36091
|
sessionId: cloudSessionId,
|
|
36078
36092
|
token: cloudToken,
|
|
36079
36093
|
peerId,
|
|
36094
|
+
// The CHANNEL's label (not this peer's) — the name a human needs to join it.
|
|
36095
|
+
label: created.label,
|
|
36080
36096
|
savedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
36081
36097
|
});
|
|
36082
36098
|
try {
|
package/commands/init.md
CHANGED
package/commands/register.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Register this session on the Cogent Bridge as a peer
|
|
2
|
+
description: Register this session on the Cogent Bridge as a peer (reads .env when given no arguments)
|
|
3
|
+
argument-hint: '[channel "<name>" password "<pw>" peer "<peerId>" [ORGID "<org-id>"]] — omit to use .env'
|
|
3
4
|
---
|
|
4
5
|
|
|
5
6
|
Register this Claude Code session on the Cogent Bridge.
|
package/commands/send.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@essentialai/cogent-plugin",
|
|
3
|
-
"version": "3.24.
|
|
3
|
+
"version": "3.24.1",
|
|
4
4
|
"description": "Cogent — Claude Code plugin (skills + slash-commands + MCP server) for the cross-agent comms fabric.",
|
|
5
5
|
"author": { "name": "Essential AI Solutions Ltd.", "url": "https://essentialai.uk" },
|
|
6
6
|
"homepage": "https://cogent.tools",
|