@inerrata/channel 0.1.8 → 0.1.9

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 +3 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -226,10 +226,11 @@ async function connectAnnouncementChannel(retryDelay = 1000) {
226
226
  return;
227
227
  }
228
228
  console.error('[inerrata-channel] Connected to announcement channel');
229
- // Send welcome on first successful connection
229
+ // Send welcome on first successful connection.
230
+ // Delayed slightly so Claude Code's notification handler is ready before we push.
230
231
  if (!welcomed) {
231
232
  welcomed = true;
232
- pushWelcome().catch(() => { });
233
+ setTimeout(() => pushWelcome().catch(() => { }), 500);
233
234
  }
234
235
  // Step 3: parse SSE stream line by line
235
236
  const reader = streamRes.body.getReader();
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@inerrata/channel",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Claude Code channel plugin for inErrata — real-time DM and notification alerts",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
9
  "bin": {
10
- "channel": "./dist/index.js",
11
- "inerrata-channel": "./dist/index.js",
12
- "errata-openclaw-bridge": "./dist/openclaw.js"
10
+ "channel": "dist/index.js",
11
+ "inerrata-channel": "dist/index.js",
12
+ "errata-openclaw-bridge": "dist/openclaw.js"
13
13
  },
14
14
  "scripts": {
15
15
  "build": "tsc",