@inline-openclaw/inline 0.0.38 → 0.0.40
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 +36 -25
- package/dist/account-inspect-api.js +34 -7
- package/dist/account-inspect-api.js.map +4 -4
- package/dist/approval-handler.runtime.js +1550 -205
- package/dist/approval-handler.runtime.js.map +16 -15
- package/dist/channel-plugin-api.js +2356 -364
- package/dist/channel-plugin-api.js.map +19 -17
- package/dist/index.d.ts +1 -1
- package/dist/inline/accounts.d.ts.map +1 -1
- package/dist/inline/actions.d.ts +1 -1
- package/dist/inline/actions.d.ts.map +1 -1
- package/dist/inline/approval-native.d.ts.map +1 -1
- package/dist/inline/channel.d.ts.map +1 -1
- package/dist/inline/config-schema.d.ts +125 -0
- package/dist/inline/config-schema.d.ts.map +1 -1
- package/dist/inline/exec-approvals.d.ts.map +1 -1
- package/dist/inline/message-tools.d.ts.map +1 -1
- package/dist/inline/monitor.d.ts.map +1 -1
- package/dist/inline/parent-context-tool.d.ts +10 -0
- package/dist/inline/parent-context-tool.d.ts.map +1 -0
- package/dist/inline/policy.d.ts +30 -1
- package/dist/inline/policy.d.ts.map +1 -1
- package/dist/inline/reply-threads.d.ts +12 -0
- package/dist/inline/reply-threads.d.ts.map +1 -1
- package/dist/inline/shared.d.ts +1 -1
- package/dist/inline/thread-participation.d.ts +10 -0
- package/dist/inline/thread-participation.d.ts.map +1 -0
- package/dist/inline/thread-routes.d.ts +28 -0
- package/dist/inline/thread-routes.d.ts.map +1 -0
- package/dist/inline/tool-targets.d.ts +36 -0
- package/dist/inline/tool-targets.d.ts.map +1 -0
- package/dist/runtime-register-api.d.ts.map +1 -1
- package/dist/runtime-register-api.js +1891 -152
- package/dist/runtime-register-api.js.map +19 -15
- package/dist/runtime-setter-api.js +11 -15
- package/dist/runtime-setter-api.js.map +3 -3
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.d.ts.map +1 -1
- package/dist/setup-entry.d.ts +1 -1
- package/dist/setup-plugin-api.js +34 -7
- package/dist/setup-plugin-api.js.map +4 -4
- package/openclaw.plugin.json +725 -58
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: import("openclaw/plugin-sdk/channel-entry-contract").BundledChannelEntryContract<import("openclaw/plugin-sdk").ChannelPlugin>;
|
|
1
|
+
declare const _default: import("openclaw/plugin-sdk/channel-entry-contract").BundledChannelEntryContract<import("openclaw/plugin-sdk/core").ChannelPlugin>;
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../../src/inline/accounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAO9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAI7D,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,OAAO,CAAA;IAChB,UAAU,EAAE,OAAO,CAAA;IACnB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,WAAW,EAAE,QAAQ,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;IAC/C,eAAe,EAAE,OAAO,CAAA;IACxB,qBAAqB,EAAE,mBAAmB,CAAC,uBAAuB,CAAC,CAAA;IACnE,iBAAiB,EAAE,mBAAmB,CAAC,mBAAmB,CAAC,CAAA;IAC3D,MAAM,EAAE,mBAAmB,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,WAAW,GAAG,wBAAwB,GAAG,SAAS,CAAA;AAEvF,MAAM,MAA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,oBAAoB,CAClC,GAAG,EAAE,cAAc,EACnB,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,MAAM,EAAE,CAqBV;AA2DD,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,cAAc,GAAG,MAAM,CAIzE;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAC3C,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;CACxB,GAAG,qBAAqB,CAkExB;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE;IAC3C,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;CACxB,GAAG,sBAAsB,CA6BzB;AAUD,wBAAgB,6BAA6B,CAAC,MAAM,EAAE;IACpD,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;CACxB,GAAG,MAAM,GAAG,IAAI,CAuBhB;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE;IACvD,SAAS,EAAE,MAAM,CAAA;IACjB,cAAc,EAAE,MAAM,CAAA;CACvB,GAAG,MAAM,CAKT;AAED,wBAAsB,kBAAkB,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,MAAM,CAAC,CAmBxF"}
|
package/dist/inline/actions.d.ts
CHANGED
|
@@ -25,7 +25,7 @@ export declare const inlineMessageActions: {
|
|
|
25
25
|
}) => {
|
|
26
26
|
to: string;
|
|
27
27
|
} | null;
|
|
28
|
-
handleAction: ({ action, params, cfg, accountId, mediaAccess, mediaLocalRoots, mediaReadFile, toolContext, }: import("openclaw/plugin-sdk").ChannelMessageActionContext) => Promise<{
|
|
28
|
+
handleAction: ({ action, params, cfg, accountId, mediaAccess, mediaLocalRoots, mediaReadFile, toolContext, }: import("openclaw/plugin-sdk/core").ChannelMessageActionContext) => Promise<{
|
|
29
29
|
content: {
|
|
30
30
|
type: "text";
|
|
31
31
|
text: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/inline/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAE5B,MAAM,sCAAsC,CAAA;AAO7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAML,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAA;AA6PlC,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,cAAc,GAAG,SAAS,CA4B5G;
|
|
1
|
+
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/inline/actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,wBAAwB,EACxB,2BAA2B,EAE5B,MAAM,sCAAsC,CAAA;AAO7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAML,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAA;AA6PlC,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,cAAc,GAAG,SAAS,CA4B5G;AAusBD,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,SAAS,wBAAwB,EAAE,GAAG,OAAO,CAElG;AAyBD,wBAAgB,qCAAqC,CACnD,GAAG,EAAE,cAAc,EACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,OAAO,CAET;AAED,wBAAgB,gCAAgC,CAC9C,GAAG,EAAE,cAAc,EACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACxB,OAAO,CAET;AAED,iBAAS,yBAAyB,CAAC,EACjC,GAAG,EACH,SAAS,GACV,EAAE,UAAU,CAAC,WAAW,CAAC,2BAA2B,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,2BAA2B,CA2B9G;AAyBD,eAAO,MAAM,oBAAoB;;sCAEG;QAAE,GAAG,EAAE,cAAc,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;0CAE9C;QAAE,GAAG,EAAE,cAAc,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE;;;;;;;;;;;;;;;;;CA2mChB,CAAA;AAE1E,eAAO,MAAM,sBAAsB,00BAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approval-native.d.ts","sourceRoot":"","sources":["../../src/inline/approval-native.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAA;AAGrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAmPrE,wBAAgB,qCAAqC,CAAC,MAAM,EAAE;IAC5D,OAAO,EAAE,mBAAmB,CAAA;IAC5B,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,YAAY,CAiBf;AAED,eAAO,MAAM,wBAAwB,EAAE,yBAGtC,CAAA;AAED,eAAO,MAAM,2BAA2B;;
|
|
1
|
+
{"version":3,"file":"approval-native.d.ts","sourceRoot":"","sources":["../../src/inline/approval-native.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,mBAAmB,EAEpB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAA;AAGrF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAmPrE,wBAAgB,qCAAqC,CAAC,MAAM,EAAE;IAC5D,OAAO,EAAE,mBAAmB,CAAA;IAC5B,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,YAAY,CAiBf;AAED,eAAO,MAAM,wBAAwB,EAAE,yBAGtC,CAAA;AAED,eAAO,MAAM,2BAA2B;;4BAxKZ,CAAC;kCACH,CAAC;qCAGY,CAAC;qCAKpC,CAAH;;;;;;;CAiKA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/inline/channel.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,0BAA0B,CAAA;AAmBjC,OAAO,EAQL,KAAK,qBAAqB,EAC3B,MAAM,eAAe,CAAA;AAuuCtB,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/inline/channel.ts"],"names":[],"mappings":"AAEA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,0BAA0B,CAAA;AAmBjC,OAAO,EAQL,KAAK,qBAAqB,EAC3B,MAAM,eAAe,CAAA;AAuuCtB,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,qBAAqB,CAslBpE,CAAA"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const InlineReplyThreadModeSchema: z.ZodEnum<{
|
|
3
|
+
auto: "auto";
|
|
4
|
+
thread: "thread";
|
|
5
|
+
main: "main";
|
|
6
|
+
}>;
|
|
7
|
+
export type InlineReplyThreadMode = z.infer<typeof InlineReplyThreadModeSchema>;
|
|
2
8
|
export declare const InlineAccountSchemaBase: z.ZodObject<{
|
|
3
9
|
name: z.ZodOptional<z.ZodString>;
|
|
4
10
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -33,6 +39,14 @@ export declare const InlineAccountSchemaBase: z.ZodObject<{
|
|
|
33
39
|
}>>>;
|
|
34
40
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
35
41
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
43
|
+
auto: "auto";
|
|
44
|
+
thread: "thread";
|
|
45
|
+
main: "main";
|
|
46
|
+
}>>;
|
|
47
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
36
50
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
37
51
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
38
52
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -47,6 +61,14 @@ export declare const InlineAccountSchemaBase: z.ZodObject<{
|
|
|
47
61
|
}, z.core.$strict>>>>;
|
|
48
62
|
}, z.core.$strict>>>>;
|
|
49
63
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
65
|
+
auto: "auto";
|
|
66
|
+
thread: "thread";
|
|
67
|
+
main: "main";
|
|
68
|
+
}>>;
|
|
69
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
70
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
50
72
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
51
73
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
52
74
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -113,6 +135,7 @@ export declare const InlineAccountSchemaBase: z.ZodObject<{
|
|
|
113
135
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
114
136
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
137
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
138
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
116
139
|
render: z.ZodOptional<z.ZodEnum<{
|
|
117
140
|
text: "text";
|
|
118
141
|
rich: "rich";
|
|
@@ -204,6 +227,14 @@ export declare const InlineAccountSchema: z.ZodObject<{
|
|
|
204
227
|
}>>>;
|
|
205
228
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
206
229
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
231
|
+
auto: "auto";
|
|
232
|
+
thread: "thread";
|
|
233
|
+
main: "main";
|
|
234
|
+
}>>;
|
|
235
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
237
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
207
238
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
208
239
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
209
240
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -218,6 +249,14 @@ export declare const InlineAccountSchema: z.ZodObject<{
|
|
|
218
249
|
}, z.core.$strict>>>>;
|
|
219
250
|
}, z.core.$strict>>>>;
|
|
220
251
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
253
|
+
auto: "auto";
|
|
254
|
+
thread: "thread";
|
|
255
|
+
main: "main";
|
|
256
|
+
}>>;
|
|
257
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
258
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
221
260
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
222
261
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
223
262
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -284,6 +323,7 @@ export declare const InlineAccountSchema: z.ZodObject<{
|
|
|
284
323
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
285
324
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
286
325
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
287
327
|
render: z.ZodOptional<z.ZodEnum<{
|
|
288
328
|
text: "text";
|
|
289
329
|
rich: "rich";
|
|
@@ -375,6 +415,14 @@ export declare const InlineRuntimeAccountSchema: z.ZodObject<{
|
|
|
375
415
|
}>>>;
|
|
376
416
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
377
417
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
auto: "auto";
|
|
420
|
+
thread: "thread";
|
|
421
|
+
main: "main";
|
|
422
|
+
}>>;
|
|
423
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
424
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
378
426
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
379
427
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
380
428
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -389,6 +437,14 @@ export declare const InlineRuntimeAccountSchema: z.ZodObject<{
|
|
|
389
437
|
}, z.core.$strict>>>>;
|
|
390
438
|
}, z.core.$strict>>>>;
|
|
391
439
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
441
|
+
auto: "auto";
|
|
442
|
+
thread: "thread";
|
|
443
|
+
main: "main";
|
|
444
|
+
}>>;
|
|
445
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
446
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
392
448
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
393
449
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
394
450
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -492,6 +548,7 @@ export declare const InlineRuntimeAccountSchema: z.ZodObject<{
|
|
|
492
548
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
493
549
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
550
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
551
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
495
552
|
render: z.ZodOptional<z.ZodEnum<{
|
|
496
553
|
text: "text";
|
|
497
554
|
rich: "rich";
|
|
@@ -546,6 +603,14 @@ export declare const InlineRuntimeConfigSchema: z.ZodObject<{
|
|
|
546
603
|
}>>>;
|
|
547
604
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
548
605
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
606
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
607
|
+
auto: "auto";
|
|
608
|
+
thread: "thread";
|
|
609
|
+
main: "main";
|
|
610
|
+
}>>;
|
|
611
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
612
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
613
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
549
614
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
550
615
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
551
616
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -560,6 +625,14 @@ export declare const InlineRuntimeConfigSchema: z.ZodObject<{
|
|
|
560
625
|
}, z.core.$strict>>>>;
|
|
561
626
|
}, z.core.$strict>>>>;
|
|
562
627
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
628
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
629
|
+
auto: "auto";
|
|
630
|
+
thread: "thread";
|
|
631
|
+
main: "main";
|
|
632
|
+
}>>;
|
|
633
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
634
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
635
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
563
636
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
564
637
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
565
638
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -663,6 +736,7 @@ export declare const InlineRuntimeConfigSchema: z.ZodObject<{
|
|
|
663
736
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
664
737
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
738
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
739
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
666
740
|
render: z.ZodOptional<z.ZodEnum<{
|
|
667
741
|
text: "text";
|
|
668
742
|
rich: "rich";
|
|
@@ -716,6 +790,14 @@ export declare const InlineRuntimeConfigSchema: z.ZodObject<{
|
|
|
716
790
|
}>>>;
|
|
717
791
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
718
792
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
794
|
+
auto: "auto";
|
|
795
|
+
thread: "thread";
|
|
796
|
+
main: "main";
|
|
797
|
+
}>>;
|
|
798
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
799
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
800
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
719
801
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
720
802
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
721
803
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -730,6 +812,14 @@ export declare const InlineRuntimeConfigSchema: z.ZodObject<{
|
|
|
730
812
|
}, z.core.$strict>>>>;
|
|
731
813
|
}, z.core.$strict>>>>;
|
|
732
814
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
815
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
816
|
+
auto: "auto";
|
|
817
|
+
thread: "thread";
|
|
818
|
+
main: "main";
|
|
819
|
+
}>>;
|
|
820
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
821
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
822
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
733
823
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
734
824
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
735
825
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -833,6 +923,7 @@ export declare const InlineRuntimeConfigSchema: z.ZodObject<{
|
|
|
833
923
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
834
924
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
835
925
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
926
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
836
927
|
render: z.ZodOptional<z.ZodEnum<{
|
|
837
928
|
text: "text";
|
|
838
929
|
rich: "rich";
|
|
@@ -888,6 +979,14 @@ export declare const InlineConfigSchema: z.ZodObject<{
|
|
|
888
979
|
}>>>;
|
|
889
980
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
890
981
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
983
|
+
auto: "auto";
|
|
984
|
+
thread: "thread";
|
|
985
|
+
main: "main";
|
|
986
|
+
}>>;
|
|
987
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
988
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
989
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
891
990
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
892
991
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
893
992
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -902,6 +1001,14 @@ export declare const InlineConfigSchema: z.ZodObject<{
|
|
|
902
1001
|
}, z.core.$strict>>>>;
|
|
903
1002
|
}, z.core.$strict>>>>;
|
|
904
1003
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
1004
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
1005
|
+
auto: "auto";
|
|
1006
|
+
thread: "thread";
|
|
1007
|
+
main: "main";
|
|
1008
|
+
}>>;
|
|
1009
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
1010
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1011
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
905
1012
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
906
1013
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
907
1014
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1005,6 +1112,7 @@ export declare const InlineConfigSchema: z.ZodObject<{
|
|
|
1005
1112
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
1006
1113
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1007
1114
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
1115
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
1008
1116
|
render: z.ZodOptional<z.ZodEnum<{
|
|
1009
1117
|
text: "text";
|
|
1010
1118
|
rich: "rich";
|
|
@@ -1058,6 +1166,14 @@ export declare const InlineConfigSchema: z.ZodObject<{
|
|
|
1058
1166
|
}>>>;
|
|
1059
1167
|
groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodOptional<z.ZodObject<{
|
|
1060
1168
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
1169
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
1170
|
+
auto: "auto";
|
|
1171
|
+
thread: "thread";
|
|
1172
|
+
main: "main";
|
|
1173
|
+
}>>;
|
|
1174
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
1175
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1176
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
1061
1177
|
allowFrom: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
1062
1178
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1063
1179
|
tools: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -1072,6 +1188,14 @@ export declare const InlineConfigSchema: z.ZodObject<{
|
|
|
1072
1188
|
}, z.core.$strict>>>>;
|
|
1073
1189
|
}, z.core.$strict>>>>;
|
|
1074
1190
|
requireMention: z.ZodOptional<z.ZodBoolean>;
|
|
1191
|
+
replyThreadMode: z.ZodOptional<z.ZodEnum<{
|
|
1192
|
+
auto: "auto";
|
|
1193
|
+
thread: "thread";
|
|
1194
|
+
main: "main";
|
|
1195
|
+
}>>;
|
|
1196
|
+
replyThreadAutoCreateMinMessages: z.ZodOptional<z.ZodNumber>;
|
|
1197
|
+
replyThreadRequireExplicitMention: z.ZodOptional<z.ZodBoolean>;
|
|
1198
|
+
replyThreadParentHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
1075
1199
|
replyToBotWithoutMention: z.ZodOptional<z.ZodBoolean>;
|
|
1076
1200
|
historyLimit: z.ZodOptional<z.ZodNumber>;
|
|
1077
1201
|
dmHistoryLimit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1175,6 +1299,7 @@ export declare const InlineConfigSchema: z.ZodObject<{
|
|
|
1175
1299
|
label: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<false>]>>;
|
|
1176
1300
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1177
1301
|
maxLines: z.ZodOptional<z.ZodNumber>;
|
|
1302
|
+
maxLineChars: z.ZodOptional<z.ZodNumber>;
|
|
1178
1303
|
render: z.ZodOptional<z.ZodEnum<{
|
|
1179
1304
|
text: "text";
|
|
1180
1305
|
rich: "rich";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../../src/inline/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"config-schema.d.ts","sourceRoot":"","sources":["../../src/inline/config-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuCvB,eAAO,MAAM,2BAA2B;;;;EAAqC,CAAA;AAC7E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AA0H/E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAuCzB,CAAA;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAS9B,CAAA;AAiBF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,eAAO,MAAM,qCAAqC;;;;;aACH,CAAA;AAE/C,wBAAgB,qCAAqC,CAAC,MAAM,EAAE;IAC5D,GAAG,EAAE,cAAc,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC1B,GAAG,OAAO,CAMV"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../src/inline/message-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"message-tools.d.ts","sourceRoot":"","sources":["../../src/inline/message-tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAa5E,KAAK,wBAAwB,GAAG;IAC9B,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AAiXD,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,wBAAwB,GAAG,YAAY,EAAE,CAGtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"monitor.d.ts","sourceRoot":"","sources":["../../src/inline/monitor.ts"],"names":[],"mappings":"AAqEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACjF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,eAAe,CAAA;AAkE9E,KAAK,mBAAmB,GAAG;IACzB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fig;
|
|
4
|
+
agentAccountId?: string;
|
|
5
|
+
sessionKey?: string;
|
|
6
|
+
messageChannel?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare function createInlineParentContextTool(ctx: InlineParentContextToolContext): AnyAgentTool | null;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=parent-context-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parent-context-tool.d.ts","sourceRoot":"","sources":["../../src/inline/parent-context-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAwB5E,KAAK,8BAA8B,GAAG;IACpC,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAA;AA+OD,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,8BAA8B,GAAG,YAAY,GAAG,IAAI,CA2EtG"}
|
package/dist/inline/policy.d.ts
CHANGED
|
@@ -1,19 +1,49 @@
|
|
|
1
1
|
import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
|
|
2
|
+
import type { InlineReplyThreadMode } from "./config-schema.js";
|
|
2
3
|
type InlineToolPolicy = Record<string, unknown>;
|
|
3
4
|
type InlineGroupConfig = {
|
|
4
5
|
requireMention?: boolean | undefined;
|
|
6
|
+
replyThreadMode?: InlineReplyThreadMode | undefined;
|
|
7
|
+
replyThreadAutoCreateMinMessages?: number | undefined;
|
|
8
|
+
replyThreadRequireExplicitMention?: boolean | undefined;
|
|
9
|
+
replyThreadParentHistoryLimit?: number | undefined;
|
|
5
10
|
allowFrom?: Array<string | number> | undefined;
|
|
6
11
|
systemPrompt?: string | undefined;
|
|
7
12
|
tools?: InlineToolPolicy | undefined;
|
|
8
13
|
toolsBySender?: Record<string, InlineToolPolicy | undefined> | undefined;
|
|
9
14
|
};
|
|
10
15
|
type InlineGroups = Record<string, InlineGroupConfig | undefined>;
|
|
16
|
+
export type { InlineReplyThreadMode };
|
|
11
17
|
export declare function resolveInlineGroupRequireMention(params: {
|
|
12
18
|
cfg: OpenClawConfig;
|
|
13
19
|
accountId: string | null | undefined;
|
|
14
20
|
groupId: string | null | undefined;
|
|
15
21
|
requireMentionDefault: boolean;
|
|
16
22
|
}): boolean;
|
|
23
|
+
export declare function resolveInlineGroupReplyThreadMode(params: {
|
|
24
|
+
cfg: OpenClawConfig;
|
|
25
|
+
accountId: string | null | undefined;
|
|
26
|
+
groupId: string | null | undefined;
|
|
27
|
+
defaultMode: InlineReplyThreadMode;
|
|
28
|
+
}): InlineReplyThreadMode;
|
|
29
|
+
export declare function resolveInlineGroupReplyThreadAutoCreateMinMessages(params: {
|
|
30
|
+
cfg: OpenClawConfig;
|
|
31
|
+
accountId: string | null | undefined;
|
|
32
|
+
groupId: string | null | undefined;
|
|
33
|
+
defaultMinMessages: number;
|
|
34
|
+
}): number;
|
|
35
|
+
export declare function resolveInlineGroupReplyThreadRequireExplicitMention(params: {
|
|
36
|
+
cfg: OpenClawConfig;
|
|
37
|
+
accountId: string | null | undefined;
|
|
38
|
+
groupId: string | null | undefined;
|
|
39
|
+
defaultRequireExplicitMention: boolean;
|
|
40
|
+
}): boolean;
|
|
41
|
+
export declare function resolveInlineGroupReplyThreadParentHistoryLimit(params: {
|
|
42
|
+
cfg: OpenClawConfig;
|
|
43
|
+
accountId: string | null | undefined;
|
|
44
|
+
groupId: string | null | undefined;
|
|
45
|
+
defaultLimit: number;
|
|
46
|
+
}): number;
|
|
17
47
|
export declare function resolveInlineGroupSystemPrompt(params: {
|
|
18
48
|
groups: InlineGroups | undefined;
|
|
19
49
|
groupId: string | null | undefined;
|
|
@@ -45,5 +75,4 @@ export declare function resolveInlineGroupAllowFrom(params: {
|
|
|
45
75
|
groupId: string | null | undefined;
|
|
46
76
|
accountAllowFrom: Array<string | number> | undefined;
|
|
47
77
|
}): Array<string | number> | undefined;
|
|
48
|
-
export {};
|
|
49
78
|
//# sourceMappingURL=policy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/inline/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../../src/inline/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAE9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAG/D,KAAK,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAE/C,KAAK,iBAAiB,GAAG;IACvB,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACpC,eAAe,CAAC,EAAE,qBAAqB,GAAG,SAAS,CAAA;IACnD,gCAAgC,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACrD,iCAAiC,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACvD,6BAA6B,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAClD,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,CAAA;IAC9C,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,KAAK,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAA;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,GAAG,SAAS,CAAC,GAAG,SAAS,CAAA;CACzE,CAAA;AAED,KAAK,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,CAAC,CAAA;AACjE,YAAY,EAAE,qBAAqB,EAAE,CAAA;AA0FrC,wBAAgB,gCAAgC,CAAC,MAAM,EAAE;IAC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KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,GAAG,SAAS,CAOrC"}
|
|
@@ -6,6 +6,13 @@ export type InlineReplyThreadMetadata = {
|
|
|
6
6
|
parentMessageId: bigint | null;
|
|
7
7
|
title: string | null;
|
|
8
8
|
};
|
|
9
|
+
export type InlineCreatedReplyThread = {
|
|
10
|
+
childChatId: bigint;
|
|
11
|
+
parentChatId: bigint;
|
|
12
|
+
parentMessageId: bigint;
|
|
13
|
+
title: string | null;
|
|
14
|
+
anchorMessage: Message | null;
|
|
15
|
+
};
|
|
9
16
|
export declare function getInlineReplyThreadsCapabilityConfig(params: {
|
|
10
17
|
cfg: OpenClawConfig;
|
|
11
18
|
accountId?: string | null;
|
|
@@ -31,4 +38,9 @@ export declare function loadInlineReplyThreadAnchorMessage(params: {
|
|
|
31
38
|
parentChatId: bigint;
|
|
32
39
|
parentMessageId: bigint;
|
|
33
40
|
}): Promise<Message | null>;
|
|
41
|
+
export declare function createInlineReplyThreadForMessage(params: {
|
|
42
|
+
client: InlineSdkClient;
|
|
43
|
+
parentChatId: bigint;
|
|
44
|
+
parentMessageId: bigint;
|
|
45
|
+
}): Promise<InlineCreatedReplyThread | null>;
|
|
34
46
|
//# sourceMappingURL=reply-threads.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reply-threads.d.ts","sourceRoot":"","sources":["../../src/inline/reply-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAU,KAAK,OAAO,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"reply-threads.d.ts","sourceRoot":"","sources":["../../src/inline/reply-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAU,KAAK,OAAO,EAAE,MAAM,2BAA2B,CAAA;AA8BjF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E,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;CACxB,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAmC1B;AAED,wBAAsB,iCAAiC,CAAC,MAAM,EAAE;IAC9D,MAAM,EAAE,eAAe,CAAA;IACvB,YAAY,EAAE,MAAM,CAAA;IACpB,eAAe,EAAE,MAAM,CAAA;CACxB,GAAG,OAAO,CAAC,wBAAwB,GAAG,IAAI,CAAC,CA0B3C"}
|
package/dist/inline/shared.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export declare const inlineConfigAdapter: {
|
|
|
44
44
|
}) => OpenClawConfig;
|
|
45
45
|
isConfigured: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => boolean;
|
|
46
46
|
unconfiguredReason: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => string;
|
|
47
|
-
describeAccount: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => import("openclaw/plugin-sdk").ChannelAccountSnapshot;
|
|
47
|
+
describeAccount: (account: ResolvedInlineAccount, cfg: OpenClawConfig) => import("openclaw/plugin-sdk/core").ChannelAccountSnapshot;
|
|
48
48
|
resolveAllowFrom: ({ cfg, accountId }: {
|
|
49
49
|
cfg: OpenClawConfig;
|
|
50
50
|
accountId?: string | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function recordInlineThreadParticipation(accountId: string, parentChatId: bigint, threadId: bigint, opts?: {
|
|
2
|
+
agentId?: string;
|
|
3
|
+
}): void;
|
|
4
|
+
export declare function hasInlineThreadParticipationWithPersistence(params: {
|
|
5
|
+
accountId: string;
|
|
6
|
+
parentChatId: bigint;
|
|
7
|
+
threadId: bigint;
|
|
8
|
+
}): Promise<boolean>;
|
|
9
|
+
export declare function clearInlineThreadParticipationCacheForTest(): void;
|
|
10
|
+
//# sourceMappingURL=thread-participation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thread-participation.d.ts","sourceRoot":"","sources":["../../src/inline/thread-participation.ts"],"names":[],"mappings":"AA4JA,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,MAAM,EAChB,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1B,IAAI,CASN;AAED,wBAAsB,2CAA2C,CAAC,MAAM,EAAE;IACxE,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;CACjB,GAAG,OAAO,CAAC,OAAO,CAAC,CASnB;AAED,wBAAgB,0CAA0C,IAAI,IAAI,CAKjE"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export type InlineReplyThreadRouteRecord = {
|
|
2
|
+
accountId: string;
|
|
3
|
+
parentChatId: string;
|
|
4
|
+
threadId: string;
|
|
5
|
+
createdAt: number;
|
|
6
|
+
updatedAt: number;
|
|
7
|
+
parentMessageId?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
threadLabel?: string;
|
|
10
|
+
agentId?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare function rememberInlineReplyThreadRoute(params: {
|
|
13
|
+
accountId: string;
|
|
14
|
+
parentChatId: bigint | string;
|
|
15
|
+
threadId: bigint | string;
|
|
16
|
+
parentMessageId?: bigint | string | null;
|
|
17
|
+
title?: string | null;
|
|
18
|
+
threadLabel?: string | null;
|
|
19
|
+
agentId?: string | null;
|
|
20
|
+
}): InlineReplyThreadRouteRecord | null;
|
|
21
|
+
export declare function lookupInlineReplyThreadRoute(params: {
|
|
22
|
+
accountId: string;
|
|
23
|
+
parentChatId: bigint | string;
|
|
24
|
+
parentMessageId?: bigint | string | null;
|
|
25
|
+
agentId?: string | null;
|
|
26
|
+
}): Promise<InlineReplyThreadRouteRecord | null>;
|
|
27
|
+
export declare function clearInlineReplyThreadRouteCacheForTest(): void;
|
|
28
|
+
//# sourceMappingURL=thread-routes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thread-routes.d.ts","sourceRoot":"","sources":["../../src/inline/thread-routes.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,4BAA4B,GAAG;IACzC,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,CAAA;AAqRD,wBAAgB,8BAA8B,CAAC,MAAM,EAAE;IACrD,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IACxC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB,GAAG,4BAA4B,GAAG,IAAI,CAqCtC;AAED,wBAAsB,4BAA4B,CAAC,MAAM,EAAE;IACzD,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;IAC7B,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;IACxC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB,GAAG,OAAO,CAAC,4BAA4B,GAAG,IAAI,CAAC,CAgD/C;AAED,wBAAgB,uCAAuC,IAAI,IAAI,CAY9D"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export type InlinePeerTarget = {
|
|
2
|
+
peerId: {
|
|
3
|
+
type: {
|
|
4
|
+
oneofKind: "chat";
|
|
5
|
+
chat: {
|
|
6
|
+
chatId: bigint;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
} | {
|
|
10
|
+
type: {
|
|
11
|
+
oneofKind: "user";
|
|
12
|
+
user: {
|
|
13
|
+
userId: bigint;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
normalized: string;
|
|
18
|
+
};
|
|
19
|
+
export type InlineCurrentSession = {
|
|
20
|
+
target: InlinePeerTarget;
|
|
21
|
+
parentChatId: bigint | null;
|
|
22
|
+
threadId: bigint | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function parseInlineId(raw: unknown, label: string): bigint;
|
|
25
|
+
export declare function parseOptionalInlineId(raw: unknown, label: string): bigint | null;
|
|
26
|
+
export declare function parseInlineTarget(raw: string, label: string): InlinePeerTarget;
|
|
27
|
+
export declare function parseCurrentInlineSession(ctx: {
|
|
28
|
+
messageChannel?: string;
|
|
29
|
+
sessionKey?: string;
|
|
30
|
+
}): InlineCurrentSession | null;
|
|
31
|
+
export declare function parseCurrentInlineTarget(ctx: {
|
|
32
|
+
messageChannel?: string;
|
|
33
|
+
sessionKey?: string;
|
|
34
|
+
}): InlinePeerTarget | null;
|
|
35
|
+
export declare function readStringCandidate(...values: unknown[]): string | undefined;
|
|
36
|
+
//# sourceMappingURL=tool-targets.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tool-targets.d.ts","sourceRoot":"","sources":["../../src/inline/tool-targets.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EACF;QAAE,IAAI,EAAE;YAAE,SAAS,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE;gBAAE,MAAM,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,CAAA;KAAE,GACzD;QAAE,IAAI,EAAE;YAAE,SAAS,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE;gBAAE,MAAM,EAAE,MAAM,CAAA;aAAE,CAAA;SAAE,CAAA;KAAE,CAAA;IAC7D,UAAU,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,gBAAgB,CAAA;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;CACxB,CAAA;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAkBjE;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIhF;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,gBAAgB,CA0B9E;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,GAAG,oBAAoB,GAAG,IAAI,CAoC9B;AAED,wBAAgB,wBAAwB,CAAC,GAAG,EAAE;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,GAAG,gBAAgB,GAAG,IAAI,CAE1B;AAED,wBAAgB,mBAAmB,CAAC,GAAG,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,GAAG,SAAS,CAO5E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime-register-api.d.ts","sourceRoot":"","sources":["../src/runtime-register-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,iBAAiB,EAAE,MAAM,4CAA4C,CAAA;
|
|
1
|
+
{"version":3,"file":"runtime-register-api.d.ts","sourceRoot":"","sources":["../src/runtime-register-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,iBAAiB,EAAE,MAAM,4CAA4C,CAAA;AAUjG,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,iBAAiB,GAAG,IAAI,CAoCrE"}
|