@inline-openclaw/inline 0.0.56 → 0.0.58
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 +11 -12
- package/dist/approval-handler.runtime.js +23821 -9708
- package/dist/approval-handler.runtime.js.map +39 -13
- package/dist/channel-plugin-api.js +24770 -10082
- package/dist/channel-plugin-api.js.map +43 -17
- package/dist/runtime-register-api.js +23704 -9528
- package/dist/runtime-register-api.js.map +41 -14
- package/docs/create-inline-bot.md +64 -0
- package/docs/openclaw-setup.md +138 -0
- package/openclaw.plugin.json +71 -5
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -4,8 +4,8 @@ OpenClaw channel plugin for interacting with an OpenClaw agent via **Inline**.
|
|
|
4
4
|
|
|
5
5
|
Status: **beta** (solid foundation; expect iteration).
|
|
6
6
|
|
|
7
|
-
Quick setup guide:
|
|
8
|
-
Create bot/token guide:
|
|
7
|
+
Quick setup guide: [docs/openclaw-setup.md](docs/openclaw-setup.md).
|
|
8
|
+
Create bot/token guide: [docs/create-inline-bot.md](docs/create-inline-bot.md).
|
|
9
9
|
|
|
10
10
|
Supports:
|
|
11
11
|
|
|
@@ -40,13 +40,12 @@ Requires OpenClaw `2026.6.11` or newer.
|
|
|
40
40
|
|
|
41
41
|
| Plugin version | OpenClaw host | Inline realtime SDK | Status | Notes |
|
|
42
42
|
| --- | --- | --- | --- | --- |
|
|
43
|
-
| `0.0.
|
|
44
|
-
| `0.0.
|
|
43
|
+
| `0.0.58` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.15` | Current | Promotes the stable realtime v3 SDK; hardens terminal authentication, model settings, recovered replies and joins, rich streaming delivery, and monitor failure reporting. |
|
|
44
|
+
| `0.0.57` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.14` | Previous | Hardens exact CLI-managed upgrades, deterministic channel listing, default/help consistency, and packed-artifact validation. |
|
|
45
|
+
| `0.0.56` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.14` | Stable | Finalizes unified Inline CLI setup compatibility while preserving the separately installed OpenClaw plugin boundary. |
|
|
46
|
+
| `0.0.55` | `>=2026.6.11 || >=2026.7.1-0` | `0.0.14` | Stable | Enforces empty-payload nudges, canonical visible-text sanitizing, hard access-before-mention policy, explicit auto-threading, and clearer formatting guidance; explicitly admits npm's `2026.7.1-2` stable host version. |
|
|
45
47
|
| `0.0.54` | `>=2026.6.11` | `0.0.13` | Stable | Keeps recovered WebSocket and best-effort cursor warnings out of healthy channel status; validated through OpenClaw `2026.7.1-2`. |
|
|
46
48
|
| `0.0.53` | `>=2026.6.11` | `0.0.13` | Stable | Clears recovered Inline WebSocket errors from channel status after reconnect. |
|
|
47
|
-
| `0.0.52` | `>=2026.6.11` | `0.0.13` | Stable | Patch release for the SDK protocol dependency. |
|
|
48
|
-
| `0.0.51` | `>=2026.6.11` | `0.0.12` | Stable | Added follow-mode mention gating for eligible reply/fresh Inline threads. |
|
|
49
|
-
| `0.0.50` | `>=2026.6.11` | `0.0.11` | Stable | Supported line for current stable OpenClaw. Uses focused plugin SDK entrypoints and canonical ClawHub install metadata. |
|
|
50
49
|
|
|
51
50
|
From npm:
|
|
52
51
|
|
|
@@ -110,7 +109,7 @@ You can also leave `token` unset and provide `INLINE_TOKEN` in the gateway envir
|
|
|
110
109
|
`baseUrl` defaults to `https://api.inline.chat`.
|
|
111
110
|
`dmPolicy` defaults to `pairing` (recommended starting point).
|
|
112
111
|
`defaultTo` is optional and gives outbound sends a fallback target when no explicit target is supplied.
|
|
113
|
-
`
|
|
112
|
+
`groupPolicy` defaults to `"open"`, and `requireMention` defaults to `true`, so group chats are broadly available but only explicit mentions wake the bot unless configured otherwise.
|
|
114
113
|
|
|
115
114
|
### Who can talk to the bot?
|
|
116
115
|
|
|
@@ -122,8 +121,8 @@ Use these settings together:
|
|
|
122
121
|
| DMs | `dmPolicy: "allowlist"` + `allowFrom` | Only listed Inline user ids can DM the bot. |
|
|
123
122
|
| DMs | `dmPolicy: "open"` + `allowFrom: ["*"]` | Any Inline user can DM the bot. Use only for public/demo bots. |
|
|
124
123
|
| DMs | `dmPolicy: "disabled"` | DM messages are ignored. |
|
|
125
|
-
| Groups | `groupPolicy: "
|
|
126
|
-
| Groups | `groupPolicy: "
|
|
124
|
+
| Groups | `groupPolicy: "open"` | Any group chat can reach the bot; this is the default. `requireMention` also defaults to `true`, so ambient messages do not wake it. |
|
|
125
|
+
| Groups | `groupPolicy: "allowlist"` + `groups` | Only listed group chat ids can reach the bot. Setup keeps `requireMention: true` unless explicitly overridden. |
|
|
127
126
|
| Groups | `groupPolicy: "disabled"` | Group messages are ignored. |
|
|
128
127
|
| Group senders | `groupAllowFrom` or `groups.<chat>.allowFrom` | Optional sender allowlist inside allowed groups. Per-group entries override the account-wide list for that group. Leave empty to allow any sender in an allowed group. |
|
|
129
128
|
|
|
@@ -153,10 +152,10 @@ channels:
|
|
|
153
152
|
target: "dm" # dm|channel|both
|
|
154
153
|
|
|
155
154
|
# Group threads/chats:
|
|
156
|
-
groupPolicy: "
|
|
155
|
+
groupPolicy: "open" # open|allowlist|disabled; default open
|
|
157
156
|
groupAllowFrom:
|
|
158
157
|
- "inline:123" # or "user:123" or just "123"
|
|
159
|
-
requireMention: true # optional: default is
|
|
158
|
+
requireMention: true # optional: default is true
|
|
160
159
|
replyToBotWithoutMention: true # if true, replies to bot messages can bypass mention requirement
|
|
161
160
|
replyThreadMode: "auto" # auto|thread|main; auto threads only explicit requests, thread always routes top-level turns
|
|
162
161
|
replyThreadRequireExplicitMention: false # optional, default false; bot-participated reply threads continue without @mention
|