@emotion-machine/claw-messenger 0.1.11 → 0.1.12

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/ws/client.js CHANGED
@@ -16,6 +16,7 @@ const PONG_TIMEOUT_MS = 10_000;
16
16
  /** Close codes that indicate the client should NOT reconnect. */
17
17
  const NO_RECONNECT_CODES = new Set([
18
18
  1008, // Policy violation — connection limit reached (evicted)
19
+ 4001, // Auth failure: missing/invalid/revoked key, or tenant not found
19
20
  4003, // Subscription inactive (cancelled/expired)
20
21
  ]);
21
22
  export class WsClient {
@@ -2,6 +2,14 @@
2
2
  "id": "claw-messenger",
3
3
  "description": "Integrate Claw Messenger to send and receive messages across multiple platforms including iMessage, RCS, and SMS.",
4
4
  "channels": ["claw-messenger"],
5
+ "contracts": {
6
+ "tools": [
7
+ "claw_messenger_status",
8
+ "claw_messenger_switch_service",
9
+ "claw_messenger_create_group",
10
+ "claw_messenger_diagnose"
11
+ ]
12
+ },
5
13
  "configSchema": {
6
14
  "type": "object",
7
15
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,11 +1,19 @@
1
1
  {
2
2
  "name": "@emotion-machine/claw-messenger",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "iMessage, RCS & SMS channel plugin for OpenClaw — no phone or Mac Mini required",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "homepage": "https://clawmessenger.com",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://www.npmjs.com/package/@emotion-machine/claw-messenger"
12
+ },
13
+ "bugs": {
14
+ "url": "https://www.npmjs.com/package/@emotion-machine/claw-messenger",
15
+ "email": "hello@emotionmachine.ai"
16
+ },
9
17
  "keywords": [
10
18
  "openclaw",
11
19
  "openclaw-plugin",