@inline-openclaw/inline 0.0.32 → 0.0.34

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.
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/inline/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAE3B,2BAA2B,EAE5B,MAAM,sCAAsC,CAAA;AAO7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA65B9D,iBAAS,yBAAyB,CAAC,EACjC,GAAG,GACJ,EAAE,UAAU,CAAC,WAAW,CAAC,2BAA2B,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,2BAA2B,CA6B9G;AAyBD,eAAO,MAAM,oBAAoB;;2BAER;QAAE,GAAG,EAAE,cAAc,CAAA;KAAE;+BACnB;QAAE,GAAG,EAAE,cAAc,CAAA;KAAE;;;;;;;;;;;;;;;;;CAglCsB,CAAA;AAE1E,eAAO,MAAM,sBAAsB,00BAAmB,CAAA"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/inline/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAE3B,2BAA2B,EAE5B,MAAM,sCAAsC,CAAA;AAO7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA65B9D,iBAAS,yBAAyB,CAAC,EACjC,GAAG,GACJ,EAAE,UAAU,CAAC,WAAW,CAAC,2BAA2B,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,2BAA2B,CA2B9G;AAyBD,eAAO,MAAM,oBAAoB;;2BAER;QAAE,GAAG,EAAE,cAAc,CAAA;KAAE;+BACnB;QAAE,GAAG,EAAE,cAAc,CAAA;KAAE;;;;;;;;;;;;;;;;;CAglCsB,CAAA;AAE1E,eAAO,MAAM,sBAAsB,00BAAmB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAoB9E,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;CACpB,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,KAAK,IAAI,CAAA;AAorCV,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;IAC9B,OAAO,EAAE,UAAU,CAAA;IACnB,WAAW,EAAE,WAAW,CAAA;IACxB,GAAG,CAAC,EAAE;QAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IAC/H,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAy3C/B"}
1
+ {"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAoB9E,KAAK,mBAAmB,GAAG;IACzB,IAAI,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IACzB,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,CAAA;CACpB,CAAA;AAED,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE;IACxB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,KAAK,IAAI,CAAA;AAkwCV,wBAAsB,qBAAqB,CAAC,MAAM,EAAE;IAClD,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;IAC9B,OAAO,EAAE,UAAU,CAAA;IACnB,WAAW,EAAE,WAAW,CAAA;IACxB,GAAG,CAAC,EAAE;QAAE,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;QAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;KAAE,CAAA;IAC/H,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAo6C/B"}
@@ -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,465 +60,92 @@
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"
119
- }
120
- },
121
- "alsoAllow": {
122
- "type": "array",
123
- "items": {
124
- "type": "string"
125
- }
126
- },
127
- "deny": {
128
- "type": "array",
129
- "items": {
130
- "type": "string"
131
- }
132
- }
133
- },
134
- "additionalProperties": false
86
+ "allow": { "type": "array", "items": { "type": "string" } },
87
+ "alsoAllow": { "type": "array", "items": { "type": "string" } },
88
+ "deny": { "type": "array", "items": { "type": "string" } }
89
+ }
135
90
  }
136
91
  }
137
- },
138
- "additionalProperties": false
92
+ }
139
93
  }
140
94
  },
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
163
- },
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 },
164
101
  "actions": {
165
102
  "type": "object",
103
+ "additionalProperties": false,
166
104
  "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"
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
+ }
217
117
  },
118
+ "textChunkLimit": { "type": "integer", "exclusiveMinimum": 0 },
119
+ "chunkMode": { "type": "string", "enum": ["length", "newline"] },
120
+ "blockStreaming": { "type": "boolean" },
121
+ "streamViaEditMessage": { "type": "boolean" },
218
122
  "blockStreamingCoalesce": {
219
123
  "type": "object",
124
+ "additionalProperties": false,
220
125
  "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
126
+ "minChars": { "type": "integer", "exclusiveMinimum": 0 },
127
+ "maxChars": { "type": "integer", "exclusiveMinimum": 0 },
128
+ "idleMs": { "type": "integer", "minimum": 0 }
129
+ }
238
130
  },
239
131
  "commands": {
240
132
  "type": "object",
133
+ "additionalProperties": false,
241
134
  "properties": {
242
135
  "native": {
243
- "anyOf": [
244
- {
245
- "type": "boolean"
246
- },
247
- {
248
- "type": "string",
249
- "const": "auto"
250
- }
251
- ]
136
+ "anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
252
137
  },
253
138
  "nativeSkills": {
254
- "anyOf": [
255
- {
256
- "type": "boolean"
257
- },
258
- {
259
- "type": "string",
260
- "const": "auto"
261
- }
262
- ]
139
+ "anyOf": [{ "type": "boolean" }, { "type": "string", "const": "auto" }]
263
140
  }
264
- },
265
- "additionalProperties": false
141
+ }
266
142
  },
267
143
  "accounts": {
268
144
  "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
- "required": ["dmPolicy", "groupPolicy"],
524
- "additionalProperties": false
525
- }
145
+ "propertyNames": { "type": "string" },
146
+ "additionalProperties": true
526
147
  }
527
- },
528
- "required": ["dmPolicy", "groupPolicy"],
529
- "additionalProperties": false
148
+ }
530
149
  },
531
150
  "label": "Inline",
532
151
  "description": "OpenClaw channel provider for Inline DMs and chats.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inline-openclaw/inline",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",
@@ -57,7 +57,8 @@
57
57
  "install": {
58
58
  "npmSpec": "@inline-openclaw/inline",
59
59
  "localPath": "packages/openclaw",
60
- "defaultChoice": "npm"
60
+ "defaultChoice": "npm",
61
+ "minHostVersion": ">=2026.4.26"
61
62
  }
62
63
  },
63
64
  "moltbot": {