@inline-openclaw/inline 0.0.33 → 0.0.35

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.
@@ -3,6 +3,15 @@
3
3
  "name": "Inline",
4
4
  "description": "Inline channel plugin (realtime RPC bot token; DMs + chats).",
5
5
  "channels": ["inline"],
6
+ "contracts": {
7
+ "tools": [
8
+ "inline_members",
9
+ "inline_update_profile",
10
+ "inline_bot_commands",
11
+ "inline_nudge",
12
+ "inline_forward"
13
+ ]
14
+ },
6
15
  "channelEnvVars": {
7
16
  "inline": ["INLINE_TOKEN"]
8
17
  },
@@ -16,30 +25,19 @@
16
25
  "schema": {
17
26
  "$schema": "http://json-schema.org/draft-07/schema#",
18
27
  "type": "object",
28
+ "additionalProperties": true,
19
29
  "properties": {
20
- "name": {
21
- "type": "string"
22
- },
23
- "enabled": {
24
- "type": "boolean"
25
- },
26
- "baseUrl": {
27
- "type": "string"
28
- },
29
- "token": {
30
- "type": "string"
31
- },
32
- "tokenFile": {
33
- "type": "string"
34
- },
30
+ "name": { "type": "string" },
31
+ "enabled": { "type": "boolean" },
32
+ "baseUrl": { "type": "string" },
33
+ "token": { "type": "string" },
34
+ "tokenFile": { "type": "string" },
35
35
  "capabilities": {
36
36
  "type": "object",
37
+ "additionalProperties": false,
37
38
  "properties": {
38
- "replyThreads": {
39
- "type": "boolean"
40
- }
41
- },
42
- "additionalProperties": false
39
+ "replyThreads": { "type": "boolean" }
40
+ }
43
41
  },
44
42
  "dmPolicy": {
45
43
  "default": "pairing",
@@ -48,18 +46,12 @@
48
46
  },
49
47
  "allowFrom": {
50
48
  "type": "array",
51
- "items": {
52
- "type": "string"
53
- }
54
- },
55
- "systemPrompt": {
56
- "type": "string"
49
+ "items": { "type": "string" }
57
50
  },
51
+ "systemPrompt": { "type": "string" },
58
52
  "groupAllowFrom": {
59
53
  "type": "array",
60
- "items": {
61
- "type": "string"
62
- }
54
+ "items": { "type": "string" }
63
55
  },
64
56
  "groupPolicy": {
65
57
  "default": "allowlist",
@@ -68,463 +60,166 @@
68
60
  },
69
61
  "groups": {
70
62
  "type": "object",
71
- "propertyNames": {
72
- "type": "string"
73
- },
63
+ "propertyNames": { "type": "string" },
74
64
  "additionalProperties": {
75
65
  "type": "object",
66
+ "additionalProperties": false,
76
67
  "properties": {
77
- "requireMention": {
78
- "type": "boolean"
79
- },
80
- "systemPrompt": {
81
- "type": "string"
82
- },
68
+ "requireMention": { "type": "boolean" },
69
+ "systemPrompt": { "type": "string" },
83
70
  "tools": {
84
71
  "type": "object",
72
+ "additionalProperties": false,
85
73
  "properties": {
86
- "allow": {
87
- "type": "array",
88
- "items": {
89
- "type": "string"
90
- }
91
- },
92
- "alsoAllow": {
93
- "type": "array",
94
- "items": {
95
- "type": "string"
96
- }
97
- },
98
- "deny": {
99
- "type": "array",
100
- "items": {
101
- "type": "string"
102
- }
103
- }
104
- },
105
- "additionalProperties": false
74
+ "allow": { "type": "array", "items": { "type": "string" } },
75
+ "alsoAllow": { "type": "array", "items": { "type": "string" } },
76
+ "deny": { "type": "array", "items": { "type": "string" } }
77
+ }
106
78
  },
107
79
  "toolsBySender": {
108
80
  "type": "object",
109
- "propertyNames": {
110
- "type": "string"
111
- },
81
+ "propertyNames": { "type": "string" },
112
82
  "additionalProperties": {
113
83
  "type": "object",
84
+ "additionalProperties": false,
114
85
  "properties": {
115
- "allow": {
116
- "type": "array",
117
- "items": {
118
- "type": "string"
86
+ "allow": { "type": "array", "items": { "type": "string" } },
87
+ "alsoAllow": { "type": "array", "items": { "type": "string" } },
88
+ "deny": { "type": "array", "items": { "type": "string" } }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
94
+ },
95
+ "requireMention": { "type": "boolean" },
96
+ "replyToBotWithoutMention": { "type": "boolean" },
97
+ "historyLimit": { "type": "integer", "minimum": 0 },
98
+ "dmHistoryLimit": { "type": "integer", "minimum": 0 },
99
+ "parseMarkdown": { "type": "boolean" },
100
+ "mediaMaxMb": { "type": "number", "exclusiveMinimum": 0 },
101
+ "actions": {
102
+ "type": "object",
103
+ "additionalProperties": false,
104
+ "properties": {
105
+ "send": { "type": "boolean" },
106
+ "reply": { "type": "boolean" },
107
+ "reactions": { "type": "boolean" },
108
+ "read": { "type": "boolean" },
109
+ "search": { "type": "boolean" },
110
+ "edit": { "type": "boolean" },
111
+ "channels": { "type": "boolean" },
112
+ "participants": { "type": "boolean" },
113
+ "delete": { "type": "boolean" },
114
+ "pins": { "type": "boolean" },
115
+ "permissions": { "type": "boolean" }
116
+ }
117
+ },
118
+ "textChunkLimit": { "type": "integer", "exclusiveMinimum": 0 },
119
+ "chunkMode": { "type": "string", "enum": ["length", "newline"] },
120
+ "streaming": {
121
+ "anyOf": [
122
+ { "type": "boolean" },
123
+ { "type": "string", "enum": ["off", "partial", "block", "progress"] },
124
+ {
125
+ "type": "object",
126
+ "additionalProperties": true,
127
+ "properties": {
128
+ "mode": { "type": "string", "enum": ["off", "partial", "block", "progress"] },
129
+ "chunkMode": { "type": "string", "enum": ["length", "newline"] },
130
+ "preview": {
131
+ "type": "object",
132
+ "additionalProperties": true,
133
+ "properties": {
134
+ "chunk": {
135
+ "type": "object",
136
+ "additionalProperties": true,
137
+ "properties": {
138
+ "minChars": { "type": "integer", "exclusiveMinimum": 0 },
139
+ "maxChars": { "type": "integer", "exclusiveMinimum": 0 },
140
+ "breakPreference": {
141
+ "type": "string",
142
+ "enum": ["paragraph", "newline", "sentence"]
143
+ }
119
144
  }
120
145
  },
121
- "alsoAllow": {
122
- "type": "array",
123
- "items": {
124
- "type": "string"
125
- }
146
+ "toolProgress": { "type": "boolean" },
147
+ "commandText": { "type": "string", "enum": ["raw", "status"] }
148
+ }
149
+ },
150
+ "progress": {
151
+ "type": "object",
152
+ "additionalProperties": true,
153
+ "properties": {
154
+ "label": {
155
+ "anyOf": [{ "type": "string" }, { "type": "boolean", "const": false }]
126
156
  },
127
- "deny": {
128
- "type": "array",
129
- "items": {
130
- "type": "string"
157
+ "labels": { "type": "array", "items": { "type": "string" } },
158
+ "maxLines": { "type": "integer", "exclusiveMinimum": 0 },
159
+ "render": { "type": "string", "enum": ["text", "rich"] },
160
+ "toolProgress": { "type": "boolean" },
161
+ "commandText": { "type": "string", "enum": ["raw", "status"] }
162
+ }
163
+ },
164
+ "block": {
165
+ "type": "object",
166
+ "additionalProperties": true,
167
+ "properties": {
168
+ "enabled": { "type": "boolean" },
169
+ "coalesce": {
170
+ "type": "object",
171
+ "additionalProperties": true,
172
+ "properties": {
173
+ "minChars": { "type": "integer", "exclusiveMinimum": 0 },
174
+ "maxChars": { "type": "integer", "exclusiveMinimum": 0 },
175
+ "idleMs": { "type": "integer", "minimum": 0 }
131
176
  }
132
177
  }
133
- },
134
- "additionalProperties": false
178
+ }
135
179
  }
136
180
  }
137
- },
138
- "additionalProperties": false
139
- }
140
- },
141
- "requireMention": {
142
- "type": "boolean"
143
- },
144
- "replyToBotWithoutMention": {
145
- "type": "boolean"
146
- },
147
- "historyLimit": {
148
- "type": "integer",
149
- "minimum": 0,
150
- "maximum": 9007199254740991
151
- },
152
- "dmHistoryLimit": {
153
- "type": "integer",
154
- "minimum": 0,
155
- "maximum": 9007199254740991
156
- },
157
- "parseMarkdown": {
158
- "type": "boolean"
159
- },
160
- "mediaMaxMb": {
161
- "type": "number",
162
- "exclusiveMinimum": 0
181
+ }
182
+ ]
163
183
  },
164
- "actions": {
184
+ "streamMode": { "type": "string", "enum": ["off", "partial", "block", "progress"] },
185
+ "draftChunk": {
165
186
  "type": "object",
187
+ "additionalProperties": false,
166
188
  "properties": {
167
- "send": {
168
- "type": "boolean"
169
- },
170
- "reply": {
171
- "type": "boolean"
172
- },
173
- "reactions": {
174
- "type": "boolean"
175
- },
176
- "read": {
177
- "type": "boolean"
178
- },
179
- "search": {
180
- "type": "boolean"
181
- },
182
- "edit": {
183
- "type": "boolean"
184
- },
185
- "channels": {
186
- "type": "boolean"
187
- },
188
- "participants": {
189
- "type": "boolean"
190
- },
191
- "delete": {
192
- "type": "boolean"
193
- },
194
- "pins": {
195
- "type": "boolean"
196
- },
197
- "permissions": {
198
- "type": "boolean"
199
- }
200
- },
201
- "additionalProperties": false
202
- },
203
- "textChunkLimit": {
204
- "type": "integer",
205
- "exclusiveMinimum": 0,
206
- "maximum": 9007199254740991
207
- },
208
- "chunkMode": {
209
- "type": "string",
210
- "enum": ["length", "newline"]
211
- },
212
- "blockStreaming": {
213
- "type": "boolean"
214
- },
215
- "streamViaEditMessage": {
216
- "type": "boolean"
189
+ "minChars": { "type": "integer", "exclusiveMinimum": 0 },
190
+ "maxChars": { "type": "integer", "exclusiveMinimum": 0 },
191
+ "breakPreference": { "type": "string", "enum": ["paragraph", "newline", "sentence"] }
192
+ }
217
193
  },
194
+ "blockStreaming": { "type": "boolean" },
195
+ "streamViaEditMessage": { "type": "boolean" },
218
196
  "blockStreamingCoalesce": {
219
197
  "type": "object",
198
+ "additionalProperties": false,
220
199
  "properties": {
221
- "minChars": {
222
- "type": "integer",
223
- "exclusiveMinimum": 0,
224
- "maximum": 9007199254740991
225
- },
226
- "maxChars": {
227
- "type": "integer",
228
- "exclusiveMinimum": 0,
229
- "maximum": 9007199254740991
230
- },
231
- "idleMs": {
232
- "type": "integer",
233
- "minimum": 0,
234
- "maximum": 9007199254740991
235
- }
236
- },
237
- "additionalProperties": false
200
+ "minChars": { "type": "integer", "exclusiveMinimum": 0 },
201
+ "maxChars": { "type": "integer", "exclusiveMinimum": 0 },
202
+ "idleMs": { "type": "integer", "minimum": 0 }
203
+ }
238
204
  },
239
205
  "commands": {
240
206
  "type": "object",
207
+ "additionalProperties": false,
241
208
  "properties": {
242
209
  "native": {
243
- "anyOf": [
244
- {
245
- "type": "boolean"
246
- },
247
- {
248
- "type": "string",
249
- "const": "auto"
250
- }
251
- ]
210
+ "anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
252
211
  },
253
212
  "nativeSkills": {
254
- "anyOf": [
255
- {
256
- "type": "boolean"
257
- },
258
- {
259
- "type": "string",
260
- "const": "auto"
261
- }
262
- ]
213
+ "anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
263
214
  }
264
- },
265
- "additionalProperties": false
215
+ }
266
216
  },
267
217
  "accounts": {
268
218
  "type": "object",
269
- "propertyNames": {
270
- "type": "string"
271
- },
272
- "additionalProperties": {
273
- "type": "object",
274
- "properties": {
275
- "name": {
276
- "type": "string"
277
- },
278
- "enabled": {
279
- "type": "boolean"
280
- },
281
- "baseUrl": {
282
- "type": "string"
283
- },
284
- "token": {
285
- "type": "string"
286
- },
287
- "tokenFile": {
288
- "type": "string"
289
- },
290
- "capabilities": {
291
- "type": "object",
292
- "properties": {
293
- "replyThreads": {
294
- "type": "boolean"
295
- }
296
- },
297
- "additionalProperties": false
298
- },
299
- "dmPolicy": {
300
- "default": "pairing",
301
- "type": "string",
302
- "enum": ["pairing", "allowlist", "open", "disabled"]
303
- },
304
- "allowFrom": {
305
- "type": "array",
306
- "items": {
307
- "type": "string"
308
- }
309
- },
310
- "systemPrompt": {
311
- "type": "string"
312
- },
313
- "groupAllowFrom": {
314
- "type": "array",
315
- "items": {
316
- "type": "string"
317
- }
318
- },
319
- "groupPolicy": {
320
- "default": "allowlist",
321
- "type": "string",
322
- "enum": ["open", "disabled", "allowlist"]
323
- },
324
- "groups": {
325
- "type": "object",
326
- "propertyNames": {
327
- "type": "string"
328
- },
329
- "additionalProperties": {
330
- "type": "object",
331
- "properties": {
332
- "requireMention": {
333
- "type": "boolean"
334
- },
335
- "systemPrompt": {
336
- "type": "string"
337
- },
338
- "tools": {
339
- "type": "object",
340
- "properties": {
341
- "allow": {
342
- "type": "array",
343
- "items": {
344
- "type": "string"
345
- }
346
- },
347
- "alsoAllow": {
348
- "type": "array",
349
- "items": {
350
- "type": "string"
351
- }
352
- },
353
- "deny": {
354
- "type": "array",
355
- "items": {
356
- "type": "string"
357
- }
358
- }
359
- },
360
- "additionalProperties": false
361
- },
362
- "toolsBySender": {
363
- "type": "object",
364
- "propertyNames": {
365
- "type": "string"
366
- },
367
- "additionalProperties": {
368
- "type": "object",
369
- "properties": {
370
- "allow": {
371
- "type": "array",
372
- "items": {
373
- "type": "string"
374
- }
375
- },
376
- "alsoAllow": {
377
- "type": "array",
378
- "items": {
379
- "type": "string"
380
- }
381
- },
382
- "deny": {
383
- "type": "array",
384
- "items": {
385
- "type": "string"
386
- }
387
- }
388
- },
389
- "additionalProperties": false
390
- }
391
- }
392
- },
393
- "additionalProperties": false
394
- }
395
- },
396
- "requireMention": {
397
- "type": "boolean"
398
- },
399
- "replyToBotWithoutMention": {
400
- "type": "boolean"
401
- },
402
- "historyLimit": {
403
- "type": "integer",
404
- "minimum": 0,
405
- "maximum": 9007199254740991
406
- },
407
- "dmHistoryLimit": {
408
- "type": "integer",
409
- "minimum": 0,
410
- "maximum": 9007199254740991
411
- },
412
- "parseMarkdown": {
413
- "type": "boolean"
414
- },
415
- "mediaMaxMb": {
416
- "type": "number",
417
- "exclusiveMinimum": 0
418
- },
419
- "actions": {
420
- "type": "object",
421
- "properties": {
422
- "send": {
423
- "type": "boolean"
424
- },
425
- "reply": {
426
- "type": "boolean"
427
- },
428
- "reactions": {
429
- "type": "boolean"
430
- },
431
- "read": {
432
- "type": "boolean"
433
- },
434
- "search": {
435
- "type": "boolean"
436
- },
437
- "edit": {
438
- "type": "boolean"
439
- },
440
- "channels": {
441
- "type": "boolean"
442
- },
443
- "participants": {
444
- "type": "boolean"
445
- },
446
- "delete": {
447
- "type": "boolean"
448
- },
449
- "pins": {
450
- "type": "boolean"
451
- },
452
- "permissions": {
453
- "type": "boolean"
454
- }
455
- },
456
- "additionalProperties": false
457
- },
458
- "textChunkLimit": {
459
- "type": "integer",
460
- "exclusiveMinimum": 0,
461
- "maximum": 9007199254740991
462
- },
463
- "chunkMode": {
464
- "type": "string",
465
- "enum": ["length", "newline"]
466
- },
467
- "blockStreaming": {
468
- "type": "boolean"
469
- },
470
- "streamViaEditMessage": {
471
- "type": "boolean"
472
- },
473
- "blockStreamingCoalesce": {
474
- "type": "object",
475
- "properties": {
476
- "minChars": {
477
- "type": "integer",
478
- "exclusiveMinimum": 0,
479
- "maximum": 9007199254740991
480
- },
481
- "maxChars": {
482
- "type": "integer",
483
- "exclusiveMinimum": 0,
484
- "maximum": 9007199254740991
485
- },
486
- "idleMs": {
487
- "type": "integer",
488
- "minimum": 0,
489
- "maximum": 9007199254740991
490
- }
491
- },
492
- "additionalProperties": false
493
- },
494
- "commands": {
495
- "type": "object",
496
- "properties": {
497
- "native": {
498
- "anyOf": [
499
- {
500
- "type": "boolean"
501
- },
502
- {
503
- "type": "string",
504
- "const": "auto"
505
- }
506
- ]
507
- },
508
- "nativeSkills": {
509
- "anyOf": [
510
- {
511
- "type": "boolean"
512
- },
513
- {
514
- "type": "string",
515
- "const": "auto"
516
- }
517
- ]
518
- }
519
- },
520
- "additionalProperties": false
521
- }
522
- },
523
- "additionalProperties": {}
524
- }
219
+ "propertyNames": { "type": "string" },
220
+ "additionalProperties": true
525
221
  }
526
- },
527
- "additionalProperties": {}
222
+ }
528
223
  },
529
224
  "label": "Inline",
530
225
  "description": "OpenClaw channel provider for Inline DMs and chats.",
@@ -588,6 +283,30 @@
588
283
  "commands.nativeSkills": {
589
284
  "label": "Inline Native Skill Commands",
590
285
  "help": "Controls whether native skill slash commands are included in startup command sync."
286
+ },
287
+ "streaming": {
288
+ "label": "Inline Streaming Mode",
289
+ "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."
290
+ },
291
+ "streaming.mode": {
292
+ "label": "Inline Streaming Mode",
293
+ "help": "Canonical Inline preview mode: \"off\" | \"partial\" | \"block\" | \"progress\". \"progress\" degrades to answer-only edit previews until Inline has a dedicated progress/reasoning lane."
294
+ },
295
+ "streaming.preview.toolProgress": {
296
+ "label": "Inline Draft Tool Progress",
297
+ "help": "Accepted for config compatibility with native channels. Inline does not render tool-progress text into chat-visible edit previews."
298
+ },
299
+ "streaming.progress.toolProgress": {
300
+ "label": "Inline Progress Tool Lines",
301
+ "help": "Accepted for config compatibility with native channels. Inline keeps progress/tool details out of chat-visible messages."
302
+ },
303
+ "streaming.block.enabled": {
304
+ "label": "Inline Block Streaming",
305
+ "help": "Enable chunked block-style delivery when channels.inline.streaming.mode=\"block\"."
306
+ },
307
+ "streaming.block.coalesce": {
308
+ "label": "Inline Block Streaming Coalesce",
309
+ "help": "Merge streamed Inline block replies before delivery."
591
310
  }
592
311
  }
593
312
  }