@inline-openclaw/inline 0.0.31 → 0.0.32
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 +1 -1
- package/dist/index.js +1597 -954
- package/dist/index.js.map +28 -25
- package/dist/inline/actions.d.ts +1 -1
- package/dist/inline/actions.d.ts.map +1 -1
- package/dist/inline/monitor.d.ts.map +1 -1
- package/dist/inline/status-issues.d.ts.map +1 -1
- package/openclaw.plugin.json +586 -0
- package/package.json +5 -4
package/dist/inline/actions.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const inlineMessageActions: {
|
|
|
18
18
|
}) => {
|
|
19
19
|
to: string;
|
|
20
20
|
} | null;
|
|
21
|
-
handleAction: ({ action, params, cfg, accountId, toolContext }: import("openclaw/plugin-sdk
|
|
21
|
+
handleAction: ({ action, params, cfg, accountId, toolContext }: import("openclaw/plugin-sdk").ChannelMessageActionContext) => Promise<{
|
|
22
22
|
content: {
|
|
23
23
|
type: "text";
|
|
24
24
|
text: string;
|
|
@@ -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,
|
|
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 +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;
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status-issues.d.ts","sourceRoot":"","sources":["../../src/inline/status-issues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,sCAAsC,CAAA;
|
|
1
|
+
{"version":3,"file":"status-issues.d.ts","sourceRoot":"","sources":["../../src/inline/status-issues.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,sCAAsC,CAAA;AA8F7C,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,sBAAsB,EAAE,GAAG,kBAAkB,EAAE,CAsFlG"}
|
package/openclaw.plugin.json
CHANGED
|
@@ -3,9 +3,595 @@
|
|
|
3
3
|
"name": "Inline",
|
|
4
4
|
"description": "Inline channel plugin (realtime RPC bot token; DMs + chats).",
|
|
5
5
|
"channels": ["inline"],
|
|
6
|
+
"channelEnvVars": {
|
|
7
|
+
"inline": ["INLINE_TOKEN"]
|
|
8
|
+
},
|
|
6
9
|
"configSchema": {
|
|
7
10
|
"type": "object",
|
|
8
11
|
"additionalProperties": false,
|
|
9
12
|
"properties": {}
|
|
13
|
+
},
|
|
14
|
+
"channelConfigs": {
|
|
15
|
+
"inline": {
|
|
16
|
+
"schema": {
|
|
17
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
18
|
+
"type": "object",
|
|
19
|
+
"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
|
+
},
|
|
35
|
+
"capabilities": {
|
|
36
|
+
"type": "object",
|
|
37
|
+
"properties": {
|
|
38
|
+
"replyThreads": {
|
|
39
|
+
"type": "boolean"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
},
|
|
44
|
+
"dmPolicy": {
|
|
45
|
+
"default": "pairing",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": ["pairing", "allowlist", "open", "disabled"]
|
|
48
|
+
},
|
|
49
|
+
"allowFrom": {
|
|
50
|
+
"type": "array",
|
|
51
|
+
"items": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"systemPrompt": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"groupAllowFrom": {
|
|
59
|
+
"type": "array",
|
|
60
|
+
"items": {
|
|
61
|
+
"type": "string"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"groupPolicy": {
|
|
65
|
+
"default": "allowlist",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"enum": ["open", "disabled", "allowlist"]
|
|
68
|
+
},
|
|
69
|
+
"groups": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"propertyNames": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
"additionalProperties": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {
|
|
77
|
+
"requireMention": {
|
|
78
|
+
"type": "boolean"
|
|
79
|
+
},
|
|
80
|
+
"systemPrompt": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
"tools": {
|
|
84
|
+
"type": "object",
|
|
85
|
+
"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
|
|
106
|
+
},
|
|
107
|
+
"toolsBySender": {
|
|
108
|
+
"type": "object",
|
|
109
|
+
"propertyNames": {
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"additionalProperties": {
|
|
113
|
+
"type": "object",
|
|
114
|
+
"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
|
|
135
|
+
}
|
|
136
|
+
}
|
|
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
|
|
163
|
+
},
|
|
164
|
+
"actions": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"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"
|
|
217
|
+
},
|
|
218
|
+
"blockStreamingCoalesce": {
|
|
219
|
+
"type": "object",
|
|
220
|
+
"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
|
|
238
|
+
},
|
|
239
|
+
"commands": {
|
|
240
|
+
"type": "object",
|
|
241
|
+
"properties": {
|
|
242
|
+
"native": {
|
|
243
|
+
"anyOf": [
|
|
244
|
+
{
|
|
245
|
+
"type": "boolean"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "string",
|
|
249
|
+
"const": "auto"
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
"nativeSkills": {
|
|
254
|
+
"anyOf": [
|
|
255
|
+
{
|
|
256
|
+
"type": "boolean"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"type": "string",
|
|
260
|
+
"const": "auto"
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
"additionalProperties": false
|
|
266
|
+
},
|
|
267
|
+
"accounts": {
|
|
268
|
+
"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
|
+
}
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
"required": ["dmPolicy", "groupPolicy"],
|
|
529
|
+
"additionalProperties": false
|
|
530
|
+
},
|
|
531
|
+
"label": "Inline",
|
|
532
|
+
"description": "OpenClaw channel provider for Inline DMs and chats.",
|
|
533
|
+
"uiHints": {
|
|
534
|
+
"": {
|
|
535
|
+
"label": "Inline",
|
|
536
|
+
"help": "Inline channel provider configuration for realtime bot tokens, direct messages, group chats, and Inline-specific reply behavior."
|
|
537
|
+
},
|
|
538
|
+
"baseUrl": {
|
|
539
|
+
"label": "Inline API Base URL",
|
|
540
|
+
"help": "Inline API base URL. Defaults to https://api.inline.chat."
|
|
541
|
+
},
|
|
542
|
+
"token": {
|
|
543
|
+
"label": "Inline Bot Token",
|
|
544
|
+
"help": "Inline bot token. Use tokenFile or INLINE_TOKEN if you prefer not to store the token in config."
|
|
545
|
+
},
|
|
546
|
+
"tokenFile": {
|
|
547
|
+
"label": "Inline Bot Token File",
|
|
548
|
+
"help": "Path to a file containing the Inline bot token."
|
|
549
|
+
},
|
|
550
|
+
"dmPolicy": {
|
|
551
|
+
"label": "Inline DM Policy",
|
|
552
|
+
"help": "Controls direct-message access: pairing, allowlist, open, or disabled."
|
|
553
|
+
},
|
|
554
|
+
"allowFrom": {
|
|
555
|
+
"label": "Inline DM Allowlist",
|
|
556
|
+
"help": "Inline user IDs allowed to direct-message the bot. Use * only with dmPolicy=open."
|
|
557
|
+
},
|
|
558
|
+
"groupPolicy": {
|
|
559
|
+
"label": "Inline Group Policy",
|
|
560
|
+
"help": "Controls group chat access: allowlist, open, or disabled."
|
|
561
|
+
},
|
|
562
|
+
"groupAllowFrom": {
|
|
563
|
+
"label": "Inline Group Sender Allowlist",
|
|
564
|
+
"help": "Inline user IDs allowed to trigger the bot in groups when groupPolicy=allowlist."
|
|
565
|
+
},
|
|
566
|
+
"requireMention": {
|
|
567
|
+
"label": "Inline Require Mention",
|
|
568
|
+
"help": "Require an explicit bot mention in group chats before routing a message to the agent."
|
|
569
|
+
},
|
|
570
|
+
"replyToBotWithoutMention": {
|
|
571
|
+
"label": "Inline Reply Mention Bypass",
|
|
572
|
+
"help": "Allow replies to bot-authored messages to bypass group mention requirements."
|
|
573
|
+
},
|
|
574
|
+
"capabilities.replyThreads": {
|
|
575
|
+
"label": "Inline Reply Threads",
|
|
576
|
+
"help": "Expose Inline reply-thread chats as OpenClaw native threads."
|
|
577
|
+
},
|
|
578
|
+
"groups": {
|
|
579
|
+
"label": "Inline Group Overrides",
|
|
580
|
+
"help": "Per-group settings keyed by Inline chat ID, including mention and tool policy overrides."
|
|
581
|
+
},
|
|
582
|
+
"actions": {
|
|
583
|
+
"label": "Inline Message Actions",
|
|
584
|
+
"help": "Enable or disable Inline message-tool action groups such as send, reactions, read, edit, participants, pins, and permissions."
|
|
585
|
+
},
|
|
586
|
+
"commands.native": {
|
|
587
|
+
"label": "Inline Native Commands",
|
|
588
|
+
"help": "Controls startup sync for OpenClaw native slash commands."
|
|
589
|
+
},
|
|
590
|
+
"commands.nativeSkills": {
|
|
591
|
+
"label": "Inline Native Skill Commands",
|
|
592
|
+
"help": "Controls whether native skill slash commands are included in startup command sync."
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
}
|
|
10
596
|
}
|
|
11
597
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inline-openclaw/inline",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.32",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
7
|
+
"!dist/tsconfig.tsbuildinfo",
|
|
7
8
|
"openclaw.plugin.json"
|
|
8
9
|
],
|
|
9
10
|
"main": "./dist/index.js",
|
|
@@ -15,7 +16,7 @@
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"scripts": {
|
|
18
|
-
"build": "rm -rf dist
|
|
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
20
|
"lint": "bunx oxlint --ignore-path ../../.oxlintignore src vitest.config.ts",
|
|
20
21
|
"prepack": "bun run build",
|
|
21
22
|
"pretest": "rm -rf coverage",
|
|
@@ -28,12 +29,12 @@
|
|
|
28
29
|
"zod": "^4.1.5"
|
|
29
30
|
},
|
|
30
31
|
"peerDependencies": {
|
|
31
|
-
"openclaw": ">=2026.4.
|
|
32
|
+
"openclaw": ">=2026.4.26"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"@types/node": "^20.11.30",
|
|
35
36
|
"@vitest/coverage-v8": "4.0.16",
|
|
36
|
-
"openclaw": "
|
|
37
|
+
"openclaw": "2026.4.26",
|
|
37
38
|
"typescript": "^5.8.3",
|
|
38
39
|
"vitest": "^4.0.16"
|
|
39
40
|
},
|