@emotion-machine/claw-messenger 0.1.1 → 0.1.2

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/README.md CHANGED
@@ -16,16 +16,12 @@ After installing, add to your OpenClaw config under `channels`:
16
16
  {
17
17
  "channels": {
18
18
  "claw-messenger": {
19
- "accounts": {
20
- "default": {
21
- "enabled": true,
22
- "apiKey": "cm_live_XXXXXXXX_YYYYYYYYYYYYYY",
23
- "serverUrl": "wss://claw-messenger.onrender.com",
24
- "preferredService": "iMessage", // "iMessage" | "RCS" | "SMS"
25
- "dmPolicy": "pairing", // "open" | "pairing" | "allowlist"
26
- "allowFrom": ["+15551234567"] // only used with "allowlist" policy
27
- }
28
- }
19
+ "enabled": true,
20
+ "apiKey": "cm_live_XXXXXXXX_YYYYYYYYYYYYYY",
21
+ "serverUrl": "wss://claw-messenger.onrender.com",
22
+ "preferredService": "iMessage", // "iMessage" | "RCS" | "SMS"
23
+ "dmPolicy": "pairing", // "open" | "pairing" | "allowlist"
24
+ "allowFrom": ["+15551234567"] // only used with "allowlist" policy
29
25
  }
30
26
  }
31
27
  }
package/dist/channel.d.ts CHANGED
@@ -1,7 +1,3 @@
1
- /**
2
- * Claw Messenger channel plugin — adapted from channel-linq.
3
- * All Linq API interaction is replaced by WebSocket communication to claw-messenger.
4
- */
5
1
  import { type ChannelPlugin } from "openclaw/plugin-sdk";
6
2
  import { type ClawMessengerConfig } from "./config.js";
7
3
  interface ResolvedAccount {
package/dist/channel.js CHANGED
@@ -1,7 +1,3 @@
1
- /**
2
- * Claw Messenger channel plugin — adapted from channel-linq.
3
- * All Linq API interaction is replaced by WebSocket communication to claw-messenger.
4
- */
5
1
  import { buildChannelConfigSchema, DEFAULT_ACCOUNT_ID, formatPairingApproveHint, normalizeE164, PAIRING_APPROVED_MESSAGE, } from "openclaw/plugin-sdk";
6
2
  import { ClawMessengerConfigSchema } from "./config.js";
7
3
  import { getRuntime } from "./runtime.js";
@@ -52,7 +48,7 @@ const meta = {
52
48
  detailLabel: "Claw Messenger",
53
49
  docsPath: "/channels/claw-messenger",
54
50
  docsLabel: "claw-messenger",
55
- blurb: "iMessage, RCS & SMS without a Mac or Linq account — via shared claw-messenger proxy.",
51
+ blurb: "iMessage, RCS & SMS without a Mac or a phone number",
56
52
  systemImage: "message.fill",
57
53
  };
58
54
  export const clawMessengerPlugin = {
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ const VALID_SERVICES = ["iMessage", "RCS", "SMS"];
6
6
  const plugin = {
7
7
  id: "claw-messenger",
8
8
  name: "Claw Messenger",
9
- description: "iMessage, RCS & SMS without a Mac or Linq account — via shared claw-messenger proxy",
9
+ description: "iMessage, RCS & SMS without a Mac or a phone number",
10
10
  configSchema: emptyPluginConfigSchema(),
11
11
  register(api) {
12
12
  setRuntime(api.runtime);
@@ -1,7 +1,3 @@
1
- /**
2
- * Send messages via WebSocket to claw-messenger -> Linq -> iMessage.
3
- * Replaces direct Linq API calls from channel-linq/src/outbound/send.ts.
4
- */
5
1
  import type { WsClient } from "../ws/client.js";
6
2
  export interface SendResult {
7
3
  messageId: string;
@@ -1,7 +1,3 @@
1
- /**
2
- * Send messages via WebSocket to claw-messenger -> Linq -> iMessage.
3
- * Replaces direct Linq API calls from channel-linq/src/outbound/send.ts.
4
- */
5
1
  export async function sendText(ws, to, text, service) {
6
2
  return sendMessage(ws, to, [{ type: "text", value: text }], service);
7
3
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emotion-machine/claw-messenger",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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",