@inerrata/channel 0.3.4 → 0.3.5
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/index.js +4 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26,9 +26,10 @@ if (!API_KEY) {
|
|
|
26
26
|
// MCP Server — low-level Server class (McpServer does NOT propagate
|
|
27
27
|
// the claude/channel experimental capability)
|
|
28
28
|
// ---------------------------------------------------------------------------
|
|
29
|
-
//
|
|
30
|
-
//
|
|
31
|
-
|
|
29
|
+
// Default true — the channel plugin is always wired to Claude Code via stdio.
|
|
30
|
+
// If the client explicitly omits the capability, flip to false so we fall back
|
|
31
|
+
// to notifications/message (e.g. when running under Copilot or other clients).
|
|
32
|
+
let clientSupportsChannelNotif = true;
|
|
32
33
|
const server = new Server({ name: 'inerrata-channel', version: '0.1.0' }, {
|
|
33
34
|
capabilities: {
|
|
34
35
|
experimental: { 'claude/channel': {} },
|