@inline-openclaw/inline 0.0.34 → 0.0.36
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 +73 -19
- package/dist/account-inspect-api.d.ts +3 -0
- package/dist/account-inspect-api.d.ts.map +1 -0
- package/dist/account-inspect-api.js +14998 -0
- package/dist/account-inspect-api.js.map +87 -0
- package/dist/approval-handler.runtime.js +38936 -0
- package/dist/approval-handler.runtime.js.map +154 -0
- package/dist/channel-plugin-api.d.ts +2 -0
- package/dist/channel-plugin-api.d.ts.map +1 -0
- package/dist/channel-plugin-api.js +44554 -0
- package/dist/channel-plugin-api.js.map +167 -0
- package/dist/configured-state.d.ts +4 -0
- package/dist/configured-state.d.ts.map +1 -0
- package/dist/configured-state.js +43 -0
- package/dist/configured-state.js.map +10 -0
- package/dist/index.d.ts +2 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -41525
- package/dist/index.js.map +4 -155
- package/dist/inline/accounts.d.ts +35 -1
- package/dist/inline/accounts.d.ts.map +1 -1
- package/dist/inline/actions.d.ts +15 -8
- package/dist/inline/actions.d.ts.map +1 -1
- package/dist/inline/approval-handler.runtime.d.ts +28 -0
- package/dist/inline/approval-handler.runtime.d.ts.map +1 -0
- package/dist/inline/approval-native.d.ts +22 -0
- package/dist/inline/approval-native.d.ts.map +1 -0
- package/dist/inline/bot-commands-sync.d.ts.map +1 -1
- package/dist/inline/bot-commands-tool.d.ts.map +1 -1
- package/dist/inline/channel.d.ts +1 -1
- package/dist/inline/channel.d.ts.map +1 -1
- package/dist/inline/command-ui.d.ts +43 -0
- package/dist/inline/command-ui.d.ts.map +1 -0
- package/dist/inline/config-schema.d.ts +727 -41
- package/dist/inline/config-schema.d.ts.map +1 -1
- package/dist/inline/doctor.d.ts +5 -0
- package/dist/inline/doctor.d.ts.map +1 -0
- package/dist/inline/exec-approvals.d.ts +54 -0
- package/dist/inline/exec-approvals.d.ts.map +1 -0
- package/dist/inline/interactive-fallback.d.ts +6 -0
- package/dist/inline/interactive-fallback.d.ts.map +1 -0
- package/dist/inline/media.d.ts +10 -0
- package/dist/inline/media.d.ts.map +1 -1
- package/dist/inline/message-formatting.d.ts +5 -1
- package/dist/inline/message-formatting.d.ts.map +1 -1
- package/dist/inline/message-tools.d.ts.map +1 -1
- package/dist/inline/monitor.d.ts +7 -1
- package/dist/inline/monitor.d.ts.map +1 -1
- package/dist/inline/outbound-sanitize.d.ts +12 -0
- package/dist/inline/outbound-sanitize.d.ts.map +1 -0
- package/dist/inline/policy.d.ts +30 -0
- package/dist/inline/policy.d.ts.map +1 -1
- package/dist/inline/profile-tool.d.ts.map +1 -1
- package/dist/inline/secret-contract.d.ts +18 -0
- package/dist/inline/secret-contract.d.ts.map +1 -0
- package/dist/inline/security.d.ts +6 -0
- package/dist/inline/security.d.ts.map +1 -0
- package/dist/inline/setup-core.d.ts +1 -0
- package/dist/inline/setup-core.d.ts.map +1 -1
- package/dist/inline/setup-plugin.d.ts +3 -0
- package/dist/inline/setup-plugin.d.ts.map +1 -0
- package/dist/inline/setup-surface.d.ts.map +1 -1
- package/dist/inline/shared.d.ts +61 -0
- package/dist/inline/shared.d.ts.map +1 -0
- package/dist/inline/status-issues.d.ts.map +1 -1
- package/dist/runtime-register-api.d.ts +3 -0
- package/dist/runtime-register-api.d.ts.map +1 -0
- package/dist/runtime-register-api.js +37064 -0
- package/dist/runtime-register-api.js.map +153 -0
- package/dist/runtime-setter-api.d.ts +2 -0
- package/dist/runtime-setter-api.d.ts.map +1 -0
- package/dist/runtime-setter-api.js +50 -0
- package/dist/runtime-setter-api.js.map +10 -0
- package/dist/runtime.d.ts.map +1 -1
- package/dist/sdk-runtime-compat.d.ts +1 -1
- package/dist/sdk-runtime-compat.d.ts.map +1 -1
- package/dist/secret-contract-api.d.ts +2 -0
- package/dist/secret-contract-api.d.ts.map +1 -0
- package/dist/secret-contract-api.js +87 -0
- package/dist/secret-contract-api.js.map +10 -0
- package/dist/setup-entry.d.ts +3 -0
- package/dist/setup-entry.d.ts.map +1 -0
- package/dist/setup-entry.js +48 -0
- package/dist/setup-entry.js.map +10 -0
- package/dist/setup-plugin-api.d.ts +2 -0
- package/dist/setup-plugin-api.d.ts.map +1 -0
- package/dist/setup-plugin-api.js +15732 -0
- package/dist/setup-plugin-api.js.map +94 -0
- package/openclaw.plugin.json +231 -16
- package/package.json +53 -18
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "inline",
|
|
3
3
|
"name": "Inline",
|
|
4
|
-
"description": "Inline
|
|
4
|
+
"description": "Use OpenClaw from Inline DMs and chats with an Inline bot token.",
|
|
5
5
|
"channels": ["inline"],
|
|
6
6
|
"contracts": {
|
|
7
7
|
"tools": [
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"channelEnvVars": {
|
|
16
|
-
"inline": ["INLINE_TOKEN"]
|
|
16
|
+
"inline": ["INLINE_TOKEN", "INLINE_BOT_TOKEN"]
|
|
17
17
|
},
|
|
18
18
|
"configSchema": {
|
|
19
19
|
"type": "object",
|
|
@@ -26,11 +26,26 @@
|
|
|
26
26
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
27
27
|
"type": "object",
|
|
28
28
|
"additionalProperties": true,
|
|
29
|
+
"$defs": {
|
|
30
|
+
"secretRef": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"additionalProperties": false,
|
|
33
|
+
"properties": {
|
|
34
|
+
"source": { "type": "string", "enum": ["env", "file", "exec"] },
|
|
35
|
+
"provider": { "type": "string" },
|
|
36
|
+
"id": { "type": "string" }
|
|
37
|
+
},
|
|
38
|
+
"required": ["source", "provider", "id"]
|
|
39
|
+
},
|
|
40
|
+
"secretInput": {
|
|
41
|
+
"anyOf": [{ "type": "string" }, { "$ref": "#/$defs/secretRef" }]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
29
44
|
"properties": {
|
|
30
45
|
"name": { "type": "string" },
|
|
31
46
|
"enabled": { "type": "boolean" },
|
|
32
47
|
"baseUrl": { "type": "string" },
|
|
33
|
-
"token": { "
|
|
48
|
+
"token": { "$ref": "#/$defs/secretInput" },
|
|
34
49
|
"tokenFile": { "type": "string" },
|
|
35
50
|
"capabilities": {
|
|
36
51
|
"type": "object",
|
|
@@ -46,12 +61,15 @@
|
|
|
46
61
|
},
|
|
47
62
|
"allowFrom": {
|
|
48
63
|
"type": "array",
|
|
49
|
-
"items": { "type": "string" }
|
|
64
|
+
"items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
|
|
65
|
+
},
|
|
66
|
+
"defaultTo": {
|
|
67
|
+
"anyOf": [{ "type": "string" }, { "type": "number" }]
|
|
50
68
|
},
|
|
51
69
|
"systemPrompt": { "type": "string" },
|
|
52
70
|
"groupAllowFrom": {
|
|
53
71
|
"type": "array",
|
|
54
|
-
"items": { "type": "string" }
|
|
72
|
+
"items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
|
|
55
73
|
},
|
|
56
74
|
"groupPolicy": {
|
|
57
75
|
"default": "allowlist",
|
|
@@ -66,6 +84,7 @@
|
|
|
66
84
|
"additionalProperties": false,
|
|
67
85
|
"properties": {
|
|
68
86
|
"requireMention": { "type": "boolean" },
|
|
87
|
+
"allowFrom": { "$ref": "#/properties/groupAllowFrom" },
|
|
69
88
|
"systemPrompt": { "type": "string" },
|
|
70
89
|
"tools": {
|
|
71
90
|
"type": "object",
|
|
@@ -98,6 +117,11 @@
|
|
|
98
117
|
"dmHistoryLimit": { "type": "integer", "minimum": 0 },
|
|
99
118
|
"parseMarkdown": { "type": "boolean" },
|
|
100
119
|
"mediaMaxMb": { "type": "number", "exclusiveMinimum": 0 },
|
|
120
|
+
"reactionNotifications": { "type": "string", "enum": ["off", "own", "all", "allowlist"] },
|
|
121
|
+
"reactionAllowlist": {
|
|
122
|
+
"type": "array",
|
|
123
|
+
"items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
|
|
124
|
+
},
|
|
101
125
|
"actions": {
|
|
102
126
|
"type": "object",
|
|
103
127
|
"additionalProperties": false,
|
|
@@ -117,6 +141,80 @@
|
|
|
117
141
|
},
|
|
118
142
|
"textChunkLimit": { "type": "integer", "exclusiveMinimum": 0 },
|
|
119
143
|
"chunkMode": { "type": "string", "enum": ["length", "newline"] },
|
|
144
|
+
"streaming": {
|
|
145
|
+
"anyOf": [
|
|
146
|
+
{ "type": "boolean" },
|
|
147
|
+
{ "type": "string", "enum": ["off", "partial", "block", "progress"] },
|
|
148
|
+
{
|
|
149
|
+
"type": "object",
|
|
150
|
+
"additionalProperties": true,
|
|
151
|
+
"properties": {
|
|
152
|
+
"mode": { "type": "string", "enum": ["off", "partial", "block", "progress"] },
|
|
153
|
+
"chunkMode": { "type": "string", "enum": ["length", "newline"] },
|
|
154
|
+
"preview": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"additionalProperties": true,
|
|
157
|
+
"properties": {
|
|
158
|
+
"chunk": {
|
|
159
|
+
"type": "object",
|
|
160
|
+
"additionalProperties": true,
|
|
161
|
+
"properties": {
|
|
162
|
+
"minChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
163
|
+
"maxChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
164
|
+
"breakPreference": {
|
|
165
|
+
"type": "string",
|
|
166
|
+
"enum": ["paragraph", "newline", "sentence"]
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"toolProgress": { "type": "boolean" },
|
|
171
|
+
"commandText": { "type": "string", "enum": ["raw", "status"] }
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"progress": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"additionalProperties": true,
|
|
177
|
+
"properties": {
|
|
178
|
+
"label": {
|
|
179
|
+
"anyOf": [{ "type": "string" }, { "type": "boolean", "const": false }]
|
|
180
|
+
},
|
|
181
|
+
"labels": { "type": "array", "items": { "type": "string" } },
|
|
182
|
+
"maxLines": { "type": "integer", "exclusiveMinimum": 0 },
|
|
183
|
+
"render": { "type": "string", "enum": ["text", "rich"] },
|
|
184
|
+
"toolProgress": { "type": "boolean" },
|
|
185
|
+
"commandText": { "type": "string", "enum": ["raw", "status"] }
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"block": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"additionalProperties": true,
|
|
191
|
+
"properties": {
|
|
192
|
+
"enabled": { "type": "boolean" },
|
|
193
|
+
"coalesce": {
|
|
194
|
+
"type": "object",
|
|
195
|
+
"additionalProperties": true,
|
|
196
|
+
"properties": {
|
|
197
|
+
"minChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
198
|
+
"maxChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
199
|
+
"idleMs": { "type": "integer", "minimum": 0 }
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
208
|
+
"streamMode": { "type": "string", "enum": ["off", "partial", "block", "progress"] },
|
|
209
|
+
"draftChunk": {
|
|
210
|
+
"type": "object",
|
|
211
|
+
"additionalProperties": false,
|
|
212
|
+
"properties": {
|
|
213
|
+
"minChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
214
|
+
"maxChars": { "type": "integer", "exclusiveMinimum": 0 },
|
|
215
|
+
"breakPreference": { "type": "string", "enum": ["paragraph", "newline", "sentence"] }
|
|
216
|
+
}
|
|
217
|
+
},
|
|
120
218
|
"blockStreaming": { "type": "boolean" },
|
|
121
219
|
"streamViaEditMessage": { "type": "boolean" },
|
|
122
220
|
"blockStreamingCoalesce": {
|
|
@@ -140,19 +238,72 @@
|
|
|
140
238
|
}
|
|
141
239
|
}
|
|
142
240
|
},
|
|
241
|
+
"execApprovals": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"additionalProperties": false,
|
|
244
|
+
"properties": {
|
|
245
|
+
"enabled": {
|
|
246
|
+
"anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
|
|
247
|
+
},
|
|
248
|
+
"approvers": {
|
|
249
|
+
"type": "array",
|
|
250
|
+
"items": { "anyOf": [{ "type": "string" }, { "type": "number" }] }
|
|
251
|
+
},
|
|
252
|
+
"agentFilter": { "type": "array", "items": { "type": "string" } },
|
|
253
|
+
"sessionFilter": { "type": "array", "items": { "type": "string" } },
|
|
254
|
+
"target": { "type": "string", "enum": ["dm", "channel", "both"] }
|
|
255
|
+
}
|
|
256
|
+
},
|
|
143
257
|
"accounts": {
|
|
144
258
|
"type": "object",
|
|
145
259
|
"propertyNames": { "type": "string" },
|
|
146
|
-
"additionalProperties":
|
|
260
|
+
"additionalProperties": {
|
|
261
|
+
"type": "object",
|
|
262
|
+
"additionalProperties": true,
|
|
263
|
+
"properties": {
|
|
264
|
+
"name": { "$ref": "#/properties/name" },
|
|
265
|
+
"enabled": { "$ref": "#/properties/enabled" },
|
|
266
|
+
"baseUrl": { "$ref": "#/properties/baseUrl" },
|
|
267
|
+
"token": { "$ref": "#/properties/token" },
|
|
268
|
+
"tokenFile": { "$ref": "#/properties/tokenFile" },
|
|
269
|
+
"capabilities": { "$ref": "#/properties/capabilities" },
|
|
270
|
+
"dmPolicy": { "$ref": "#/properties/dmPolicy" },
|
|
271
|
+
"allowFrom": { "$ref": "#/properties/allowFrom" },
|
|
272
|
+
"defaultTo": { "$ref": "#/properties/defaultTo" },
|
|
273
|
+
"systemPrompt": { "$ref": "#/properties/systemPrompt" },
|
|
274
|
+
"groupAllowFrom": { "$ref": "#/properties/groupAllowFrom" },
|
|
275
|
+
"groupPolicy": { "$ref": "#/properties/groupPolicy" },
|
|
276
|
+
"groups": { "$ref": "#/properties/groups" },
|
|
277
|
+
"requireMention": { "$ref": "#/properties/requireMention" },
|
|
278
|
+
"replyToBotWithoutMention": { "$ref": "#/properties/replyToBotWithoutMention" },
|
|
279
|
+
"historyLimit": { "$ref": "#/properties/historyLimit" },
|
|
280
|
+
"dmHistoryLimit": { "$ref": "#/properties/dmHistoryLimit" },
|
|
281
|
+
"parseMarkdown": { "$ref": "#/properties/parseMarkdown" },
|
|
282
|
+
"mediaMaxMb": { "$ref": "#/properties/mediaMaxMb" },
|
|
283
|
+
"reactionNotifications": { "$ref": "#/properties/reactionNotifications" },
|
|
284
|
+
"reactionAllowlist": { "$ref": "#/properties/reactionAllowlist" },
|
|
285
|
+
"actions": { "$ref": "#/properties/actions" },
|
|
286
|
+
"textChunkLimit": { "$ref": "#/properties/textChunkLimit" },
|
|
287
|
+
"chunkMode": { "$ref": "#/properties/chunkMode" },
|
|
288
|
+
"streaming": { "$ref": "#/properties/streaming" },
|
|
289
|
+
"streamMode": { "$ref": "#/properties/streamMode" },
|
|
290
|
+
"draftChunk": { "$ref": "#/properties/draftChunk" },
|
|
291
|
+
"blockStreaming": { "$ref": "#/properties/blockStreaming" },
|
|
292
|
+
"streamViaEditMessage": { "$ref": "#/properties/streamViaEditMessage" },
|
|
293
|
+
"blockStreamingCoalesce": { "$ref": "#/properties/blockStreamingCoalesce" },
|
|
294
|
+
"commands": { "$ref": "#/properties/commands" },
|
|
295
|
+
"execApprovals": { "$ref": "#/properties/execApprovals" }
|
|
296
|
+
}
|
|
297
|
+
}
|
|
147
298
|
}
|
|
148
299
|
}
|
|
149
300
|
},
|
|
150
301
|
"label": "Inline",
|
|
151
|
-
"description": "OpenClaw
|
|
302
|
+
"description": "Use OpenClaw from Inline DMs and chats with an Inline bot token.",
|
|
152
303
|
"uiHints": {
|
|
153
304
|
"": {
|
|
154
305
|
"label": "Inline",
|
|
155
|
-
"help": "Inline channel
|
|
306
|
+
"help": "Inline channel configuration for bot tokens, direct messages, group chats, and Inline-specific reply behavior."
|
|
156
307
|
},
|
|
157
308
|
"baseUrl": {
|
|
158
309
|
"label": "Inline API Base URL",
|
|
@@ -160,7 +311,7 @@
|
|
|
160
311
|
},
|
|
161
312
|
"token": {
|
|
162
313
|
"label": "Inline Bot Token",
|
|
163
|
-
"help": "Inline bot token. Use tokenFile or
|
|
314
|
+
"help": "Inline bot token. Use tokenFile, INLINE_TOKEN, or INLINE_BOT_TOKEN if you prefer not to store the token in config."
|
|
164
315
|
},
|
|
165
316
|
"tokenFile": {
|
|
166
317
|
"label": "Inline Bot Token File",
|
|
@@ -174,13 +325,17 @@
|
|
|
174
325
|
"label": "Inline DM Allowlist",
|
|
175
326
|
"help": "Inline user IDs allowed to direct-message the bot. Use * only with dmPolicy=open."
|
|
176
327
|
},
|
|
328
|
+
"defaultTo": {
|
|
329
|
+
"label": "Inline Default Target",
|
|
330
|
+
"help": "Default Inline chat target used by outbound message sends when no explicit target is provided."
|
|
331
|
+
},
|
|
177
332
|
"groupPolicy": {
|
|
178
333
|
"label": "Inline Group Policy",
|
|
179
334
|
"help": "Controls group chat access: allowlist, open, or disabled."
|
|
180
335
|
},
|
|
181
336
|
"groupAllowFrom": {
|
|
182
337
|
"label": "Inline Group Sender Allowlist",
|
|
183
|
-
"help": "Inline user IDs allowed to trigger the bot
|
|
338
|
+
"help": "Inline user IDs allowed to trigger the bot inside allowed groups. Leave empty to allow any sender in an allowed group."
|
|
184
339
|
},
|
|
185
340
|
"requireMention": {
|
|
186
341
|
"label": "Inline Require Mention",
|
|
@@ -192,23 +347,83 @@
|
|
|
192
347
|
},
|
|
193
348
|
"capabilities.replyThreads": {
|
|
194
349
|
"label": "Inline Reply Threads",
|
|
195
|
-
"help": "Expose Inline reply-thread chats
|
|
350
|
+
"help": "Expose Inline reply-thread chats through OpenClaw's thread API."
|
|
196
351
|
},
|
|
197
352
|
"groups": {
|
|
198
353
|
"label": "Inline Group Overrides",
|
|
199
|
-
"help": "Per-group settings keyed by Inline chat ID, including mention and tool policy overrides."
|
|
354
|
+
"help": "Per-group settings keyed by Inline chat ID, including sender allowlist, mention, and tool policy overrides."
|
|
355
|
+
},
|
|
356
|
+
"accounts": {
|
|
357
|
+
"label": "Inline Accounts",
|
|
358
|
+
"help": "Named Inline bot accounts. Account entries accept the same token, access, group, reply-thread, command, and streaming fields as channels.inline."
|
|
200
359
|
},
|
|
201
360
|
"actions": {
|
|
202
361
|
"label": "Inline Message Actions",
|
|
203
362
|
"help": "Enable or disable Inline message-tool action groups such as send, reactions, read, edit, participants, pins, and permissions."
|
|
204
363
|
},
|
|
364
|
+
"reactionNotifications": {
|
|
365
|
+
"label": "Inline Reaction Notifications",
|
|
366
|
+
"help": "Controls passive reaction notifications queued into the agent session: \"off\", \"own\" for bot-authored messages, \"all\" for any authorized message, or \"allowlist\" for reactionAllowlist senders."
|
|
367
|
+
},
|
|
368
|
+
"reactionAllowlist": {
|
|
369
|
+
"label": "Inline Reaction Sender Allowlist",
|
|
370
|
+
"help": "Inline user IDs allowed to queue passive reaction notifications when reactionNotifications is \"allowlist\". Supports the same ID/access-group entries as allowFrom."
|
|
371
|
+
},
|
|
205
372
|
"commands.native": {
|
|
206
|
-
"label": "Inline
|
|
207
|
-
"help": "Controls startup sync for
|
|
373
|
+
"label": "Inline Bot Command Sync",
|
|
374
|
+
"help": "Controls startup sync for Inline bot commands."
|
|
208
375
|
},
|
|
209
376
|
"commands.nativeSkills": {
|
|
210
|
-
"label": "Inline
|
|
211
|
-
"help": "Controls whether
|
|
377
|
+
"label": "Inline Skill Command Sync",
|
|
378
|
+
"help": "Controls whether skill bot commands are included in startup command sync."
|
|
379
|
+
},
|
|
380
|
+
"execApprovals": {
|
|
381
|
+
"label": "Inline Exec Approvals",
|
|
382
|
+
"help": "Inline-native exec approval routing and approver authorization. When unset, OpenClaw auto-enables DM-first native approvals if approvers can be resolved for this bot account."
|
|
383
|
+
},
|
|
384
|
+
"execApprovals.enabled": {
|
|
385
|
+
"label": "Inline Exec Approvals Enabled",
|
|
386
|
+
"help": "Controls Inline native exec approvals for this account: unset or \"auto\" enables DM-first native approvals when approvers can be resolved, true forces native approvals on, and false disables them."
|
|
387
|
+
},
|
|
388
|
+
"execApprovals.approvers": {
|
|
389
|
+
"label": "Inline Exec Approval Approvers",
|
|
390
|
+
"help": "Inline user IDs allowed to approve exec requests for this bot account. Use numeric Inline user IDs or user targets such as 123, user:123, or inline:user:123. If unset, OpenClaw falls back to numeric owner IDs inferred from commands.ownerAllowFrom when possible."
|
|
391
|
+
},
|
|
392
|
+
"execApprovals.agentFilter": {
|
|
393
|
+
"label": "Inline Exec Approval Agent Filter",
|
|
394
|
+
"help": "Optional allowlist of agent IDs eligible for Inline exec approvals, for example [\"main\", \"ops-agent\"]. Use this to keep approval prompts scoped to the agents you actually operate from Inline."
|
|
395
|
+
},
|
|
396
|
+
"execApprovals.sessionFilter": {
|
|
397
|
+
"label": "Inline Exec Approval Session Filter",
|
|
398
|
+
"help": "Optional session-key filters matched as substring or regex-style patterns before Inline approval routing is used. Use narrow patterns so Inline approvals only appear for intended sessions."
|
|
399
|
+
},
|
|
400
|
+
"execApprovals.target": {
|
|
401
|
+
"label": "Inline Exec Approval Target",
|
|
402
|
+
"help": "Controls where Inline approval prompts are sent: \"dm\" sends to approver DMs (default), \"channel\" sends to the originating Inline chat/reply thread, and \"both\" sends to both. Channel delivery exposes the command text to the chat, so only use it in trusted groups."
|
|
403
|
+
},
|
|
404
|
+
"streaming": {
|
|
405
|
+
"label": "Inline Streaming Mode",
|
|
406
|
+
"help": "Unified Inline stream preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"partial\" and \"progress\" use Inline edit previews for visible answer text; reasoning stays out of the chat-visible lane."
|
|
407
|
+
},
|
|
408
|
+
"streaming.mode": {
|
|
409
|
+
"label": "Inline Streaming Mode",
|
|
410
|
+
"help": "Canonical Inline preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"progress\" degrades to answer-only edit previews until Inline has a dedicated progress/reasoning lane."
|
|
411
|
+
},
|
|
412
|
+
"streaming.preview.toolProgress": {
|
|
413
|
+
"label": "Inline Draft Tool Progress",
|
|
414
|
+
"help": "Accepted for shared OpenClaw streaming config compatibility. Inline does not render tool-progress text into chat-visible edit previews."
|
|
415
|
+
},
|
|
416
|
+
"streaming.progress.toolProgress": {
|
|
417
|
+
"label": "Inline Progress Tool Lines",
|
|
418
|
+
"help": "Accepted for shared OpenClaw streaming config compatibility. Inline keeps progress/tool details out of chat-visible messages."
|
|
419
|
+
},
|
|
420
|
+
"streaming.block.enabled": {
|
|
421
|
+
"label": "Inline Block Streaming",
|
|
422
|
+
"help": "Enable chunked block-style delivery when channels.inline.streaming.mode=\"block\"."
|
|
423
|
+
},
|
|
424
|
+
"streaming.block.coalesce": {
|
|
425
|
+
"label": "Inline Block Streaming Coalesce",
|
|
426
|
+
"help": "Merge streamed Inline block replies before delivery."
|
|
212
427
|
}
|
|
213
428
|
}
|
|
214
429
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inline-openclaw/inline",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"build": "rm -rf dist src/index.js src/index.js.map && bun build ./src/index.ts --outdir dist --entry-naming '[name].js' --target=node --format=esm --packages=bundle --external openclaw/plugin-sdk --sourcemap=linked && tsc -p tsconfig.json --emitDeclarationOnly",
|
|
19
|
+
"build": "rm -rf dist src/index.js src/index.js.map && bun build ./src/index.ts ./src/setup-entry.ts ./src/setup-plugin-api.ts ./src/configured-state.ts ./src/secret-contract-api.ts ./src/channel-plugin-api.ts ./src/inline/approval-handler.runtime.ts ./src/runtime-setter-api.ts ./src/account-inspect-api.ts ./src/runtime-register-api.ts --outdir dist --entry-naming '[name].js' --target=node --format=esm --packages=bundle --external openclaw/plugin-sdk --sourcemap=linked && tsc -p tsconfig.json --emitDeclarationOnly",
|
|
20
20
|
"lint": "bunx oxlint --ignore-path ../../.oxlintignore src vitest.config.ts",
|
|
21
21
|
"prepack": "bun run build",
|
|
22
22
|
"pretest": "rm -rf coverage",
|
|
@@ -25,31 +25,61 @@
|
|
|
25
25
|
"check": "bun run typecheck && bun run lint && bun run test && bun run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@inline-chat/realtime-sdk": "
|
|
29
|
-
"zod": "
|
|
28
|
+
"@inline-chat/realtime-sdk": "0.0.11",
|
|
29
|
+
"zod": "4.4.3"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"openclaw": ">=2026.
|
|
32
|
+
"openclaw": ">=2026.5.18"
|
|
33
|
+
},
|
|
34
|
+
"peerDependenciesMeta": {
|
|
35
|
+
"openclaw": {
|
|
36
|
+
"optional": true
|
|
37
|
+
}
|
|
33
38
|
},
|
|
34
39
|
"devDependencies": {
|
|
35
|
-
"@types/node": "
|
|
40
|
+
"@types/node": "20.17.19",
|
|
36
41
|
"@vitest/coverage-v8": "4.0.16",
|
|
37
|
-
"openclaw": "2026.
|
|
38
|
-
"typescript": "
|
|
39
|
-
"vitest": "
|
|
42
|
+
"openclaw": "2026.5.18",
|
|
43
|
+
"typescript": "5.8.3",
|
|
44
|
+
"vitest": "4.0.16"
|
|
40
45
|
},
|
|
41
46
|
"openclaw": {
|
|
42
47
|
"extensions": [
|
|
43
48
|
"./dist/index.js"
|
|
44
49
|
],
|
|
50
|
+
"setupEntry": "./dist/setup-entry.js",
|
|
45
51
|
"channel": {
|
|
46
52
|
"id": "inline",
|
|
47
53
|
"label": "Inline",
|
|
48
|
-
"selectionLabel": "Inline (
|
|
54
|
+
"selectionLabel": "Inline (Bot API)",
|
|
55
|
+
"detailLabel": "Inline Bot",
|
|
49
56
|
"docsPath": "/channels/inline",
|
|
50
57
|
"docsLabel": "inline",
|
|
51
|
-
"blurb": "
|
|
52
|
-
"
|
|
58
|
+
"blurb": "Use OpenClaw from Inline DMs and chats with an Inline bot token.",
|
|
59
|
+
"systemImage": "bubble.left.and.bubble.right",
|
|
60
|
+
"markdownCapable": true,
|
|
61
|
+
"commands": {
|
|
62
|
+
"nativeCommandsAutoEnabled": true,
|
|
63
|
+
"nativeSkillsAutoEnabled": true
|
|
64
|
+
},
|
|
65
|
+
"configuredState": {
|
|
66
|
+
"env": {
|
|
67
|
+
"anyOf": [
|
|
68
|
+
"INLINE_TOKEN",
|
|
69
|
+
"INLINE_BOT_TOKEN"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"specifier": "./dist/configured-state.js",
|
|
73
|
+
"exportName": "hasInlineConfiguredState"
|
|
74
|
+
},
|
|
75
|
+
"doctorCapabilities": {
|
|
76
|
+
"dmAllowFromMode": "topOrNested",
|
|
77
|
+
"groupModel": "hybrid",
|
|
78
|
+
"groupAllowFromFallbackToAllowFrom": false,
|
|
79
|
+
"warnOnEmptyGroupSenderAllowlist": true
|
|
80
|
+
},
|
|
81
|
+
"order": 30,
|
|
82
|
+
"quickstartAllowFrom": true,
|
|
53
83
|
"aliases": [
|
|
54
84
|
"inline-chat"
|
|
55
85
|
]
|
|
@@ -58,14 +88,19 @@
|
|
|
58
88
|
"npmSpec": "@inline-openclaw/inline",
|
|
59
89
|
"localPath": "packages/openclaw",
|
|
60
90
|
"defaultChoice": "npm",
|
|
61
|
-
"minHostVersion": ">=2026.
|
|
91
|
+
"minHostVersion": ">=2026.5.18"
|
|
92
|
+
},
|
|
93
|
+
"compat": {
|
|
94
|
+
"pluginApi": ">=2026.5.18"
|
|
95
|
+
},
|
|
96
|
+
"build": {
|
|
97
|
+
"openclawVersion": "2026.5.18"
|
|
98
|
+
},
|
|
99
|
+
"release": {
|
|
100
|
+
"publishToClawHub": true,
|
|
101
|
+
"publishToNpm": true
|
|
62
102
|
}
|
|
63
103
|
},
|
|
64
|
-
"moltbot": {
|
|
65
|
-
"extensions": [
|
|
66
|
-
"./dist/index.js"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
104
|
"publishConfig": {
|
|
70
105
|
"access": "public"
|
|
71
106
|
}
|