@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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. 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
- // Set after the client sends notifications/initialized true only for Claude Code
30
- // which declares experimental: { 'claude/channel': {} } in its capabilities.
31
- let clientSupportsChannelNotif = false;
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': {} },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inerrata/channel",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "description": "Claude Code channel plugin for inErrata — real-time DM and notification alerts",
5
5
  "type": "module",
6
6
  "files": [