@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.
@@ -1,17 +1,19 @@
1
1
  import type { ChannelMessageActionAdapter, ChannelMessageToolDiscovery } from "openclaw/plugin-sdk/channel-contract";
2
2
  import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
3
+ import { type MessageActions } from "@inline-chat/realtime-sdk";
4
+ export declare function resolveInlineMessageActionsParam(params: Record<string, unknown>): MessageActions | undefined;
3
5
  declare function describeInlineMessageTool({ cfg, }: Parameters<NonNullable<ChannelMessageActionAdapter["describeMessageTool"]>>[0]): ChannelMessageToolDiscovery;
4
6
  export declare const inlineMessageActions: {
5
7
  describeMessageTool: typeof describeInlineMessageTool;
6
8
  listActions: ({ cfg }: {
7
9
  cfg: OpenClawConfig;
8
- }) => ("send" | "reply" | "reactions" | "read" | "search" | "edit" | "delete" | "permissions" | "timeout" | "broadcast" | "poll" | "poll-vote" | "react" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file")[];
10
+ }) => ("send" | "reply" | "reactions" | "read" | "search" | "edit" | "delete" | "permissions" | "broadcast" | "poll" | "poll-vote" | "react" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "timeout" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file")[];
9
11
  supportsButtons: ({ cfg }: {
10
12
  cfg: OpenClawConfig;
11
13
  }) => boolean;
12
14
  supportsCards: () => false;
13
15
  supportsAction: ({ action }: {
14
- action: "send" | "reply" | "reactions" | "read" | "search" | "edit" | "delete" | "permissions" | "timeout" | "broadcast" | "poll" | "poll-vote" | "react" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file";
16
+ action: "send" | "reply" | "reactions" | "read" | "search" | "edit" | "delete" | "permissions" | "broadcast" | "poll" | "poll-vote" | "react" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "timeout" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file";
15
17
  }) => boolean;
16
18
  extractToolSend: ({ args }: {
17
19
  args: Record<string, unknown>;
@@ -26,6 +28,6 @@ export declare const inlineMessageActions: {
26
28
  details: unknown;
27
29
  }>;
28
30
  };
29
- export declare const inlineSupportedActions: ("send" | "reply" | "reactions" | "read" | "search" | "edit" | "delete" | "permissions" | "timeout" | "broadcast" | "poll" | "poll-vote" | "react" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file")[];
31
+ export declare const inlineSupportedActions: ("send" | "reply" | "reactions" | "read" | "search" | "edit" | "delete" | "permissions" | "broadcast" | "poll" | "poll-vote" | "react" | "unsend" | "sendWithEffect" | "renameGroup" | "setGroupIcon" | "addParticipant" | "removeParticipant" | "leaveGroup" | "sendAttachment" | "pin" | "unpin" | "list-pins" | "thread-create" | "thread-list" | "thread-reply" | "sticker" | "sticker-search" | "member-info" | "role-info" | "emoji-list" | "emoji-upload" | "sticker-upload" | "role-add" | "role-remove" | "channel-info" | "channel-list" | "channel-create" | "channel-edit" | "channel-delete" | "channel-move" | "category-create" | "category-edit" | "category-delete" | "topic-create" | "topic-edit" | "voice-status" | "event-list" | "event-create" | "timeout" | "kick" | "ban" | "set-profile" | "set-presence" | "download-file" | "upload-file")[];
30
32
  export {};
31
33
  //# sourceMappingURL=actions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src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AAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"bot-commands-tool.d.ts","sourceRoot":"","sources":["../../src/inline/bot-commands-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAmH5E,wBAAgB,2BAA2B,CAAC,GAAG,EAAE;IAC/C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CA2EtB"}
1
+ {"version":3,"file":"bot-commands-tool.d.ts","sourceRoot":"","sources":["../../src/inline/bot-commands-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA0H5E,wBAAgB,2BAA2B,CAAC,GAAG,EAAE;IAC/C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CA2EtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/inline/channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,0BAA0B,CAAA;AAS7E,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,eAAe,CAAA;AAyuBtB,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,qBAAqB,CAomBpE,CAAA"}
1
+ {"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../../src/inline/channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,0BAA0B,CAAA;AAoB7E,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,eAAe,CAAA;AAswBtB,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,qBAAqB,CAgoBpE,CAAA"}