@inline-openclaw/inline 0.0.53 → 0.0.55

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.
Files changed (112) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +21 -11
  3. package/dist/approval-handler.runtime.js +9260 -3248
  4. package/dist/approval-handler.runtime.js.map +11 -11
  5. package/dist/channel-plugin-api.js +10573 -3600
  6. package/dist/channel-plugin-api.js.map +20 -16
  7. package/dist/runtime-register-api.js +9490 -3294
  8. package/dist/runtime-register-api.js.map +18 -16
  9. package/openclaw.plugin.json +4 -4
  10. package/package.json +17 -9
  11. package/dist/account-inspect-api.d.ts +0 -3
  12. package/dist/account-inspect-api.d.ts.map +0 -1
  13. package/dist/channel-plugin-api.d.ts +0 -2
  14. package/dist/channel-plugin-api.d.ts.map +0 -1
  15. package/dist/configured-state.d.ts +0 -4
  16. package/dist/configured-state.d.ts.map +0 -1
  17. package/dist/inline/accounts.d.ts +0 -54
  18. package/dist/inline/accounts.d.ts.map +0 -1
  19. package/dist/inline/actions.d.ts +0 -43
  20. package/dist/inline/actions.d.ts.map +0 -1
  21. package/dist/inline/approval-handler.runtime.d.ts +0 -29
  22. package/dist/inline/approval-handler.runtime.d.ts.map +0 -1
  23. package/dist/inline/approval-native.d.ts +0 -22
  24. package/dist/inline/approval-native.d.ts.map +0 -1
  25. package/dist/inline/bot-avatar-tool.d.ts +0 -12
  26. package/dist/inline/bot-avatar-tool.d.ts.map +0 -1
  27. package/dist/inline/bot-commands-api.d.ts +0 -16
  28. package/dist/inline/bot-commands-api.d.ts.map +0 -1
  29. package/dist/inline/bot-commands-sync.d.ts +0 -25
  30. package/dist/inline/bot-commands-sync.d.ts.map +0 -1
  31. package/dist/inline/bot-commands-tool.d.ts +0 -6
  32. package/dist/inline/bot-commands-tool.d.ts.map +0 -1
  33. package/dist/inline/channel.d.ts +0 -4
  34. package/dist/inline/channel.d.ts.map +0 -1
  35. package/dist/inline/command-ui.d.ts +0 -43
  36. package/dist/inline/command-ui.d.ts.map +0 -1
  37. package/dist/inline/config-schema.d.ts +0 -1350
  38. package/dist/inline/config-schema.d.ts.map +0 -1
  39. package/dist/inline/doctor.d.ts +0 -5
  40. package/dist/inline/doctor.d.ts.map +0 -1
  41. package/dist/inline/exec-approvals.d.ts +0 -54
  42. package/dist/inline/exec-approvals.d.ts.map +0 -1
  43. package/dist/inline/interactive-fallback.d.ts +0 -6
  44. package/dist/inline/interactive-fallback.d.ts.map +0 -1
  45. package/dist/inline/media.d.ts +0 -36
  46. package/dist/inline/media.d.ts.map +0 -1
  47. package/dist/inline/members-tool.d.ts +0 -8
  48. package/dist/inline/members-tool.d.ts.map +0 -1
  49. package/dist/inline/message-content.d.ts +0 -57
  50. package/dist/inline/message-content.d.ts.map +0 -1
  51. package/dist/inline/message-formatting.d.ts +0 -26
  52. package/dist/inline/message-formatting.d.ts.map +0 -1
  53. package/dist/inline/message-tools.d.ts +0 -10
  54. package/dist/inline/message-tools.d.ts.map +0 -1
  55. package/dist/inline/monitor.d.ts +0 -34
  56. package/dist/inline/monitor.d.ts.map +0 -1
  57. package/dist/inline/normalize.d.ts +0 -3
  58. package/dist/inline/normalize.d.ts.map +0 -1
  59. package/dist/inline/outbound-sanitize.d.ts +0 -14
  60. package/dist/inline/outbound-sanitize.d.ts.map +0 -1
  61. package/dist/inline/parent-context-tool.d.ts +0 -10
  62. package/dist/inline/parent-context-tool.d.ts.map +0 -1
  63. package/dist/inline/policy.d.ts +0 -78
  64. package/dist/inline/policy.d.ts.map +0 -1
  65. package/dist/inline/probe.d.ts +0 -15
  66. package/dist/inline/probe.d.ts.map +0 -1
  67. package/dist/inline/profile-tool.d.ts +0 -6
  68. package/dist/inline/profile-tool.d.ts.map +0 -1
  69. package/dist/inline/reply-threads.d.ts +0 -46
  70. package/dist/inline/reply-threads.d.ts.map +0 -1
  71. package/dist/inline/secret-contract.d.ts +0 -18
  72. package/dist/inline/secret-contract.d.ts.map +0 -1
  73. package/dist/inline/security.d.ts +0 -6
  74. package/dist/inline/security.d.ts.map +0 -1
  75. package/dist/inline/setup-core.d.ts +0 -5
  76. package/dist/inline/setup-core.d.ts.map +0 -1
  77. package/dist/inline/setup-plugin.d.ts +0 -3
  78. package/dist/inline/setup-plugin.d.ts.map +0 -1
  79. package/dist/inline/setup-surface.d.ts +0 -5
  80. package/dist/inline/setup-surface.d.ts.map +0 -1
  81. package/dist/inline/shared.d.ts +0 -61
  82. package/dist/inline/shared.d.ts.map +0 -1
  83. package/dist/inline/space-members.d.ts +0 -22
  84. package/dist/inline/space-members.d.ts.map +0 -1
  85. package/dist/inline/status-issues.d.ts +0 -3
  86. package/dist/inline/status-issues.d.ts.map +0 -1
  87. package/dist/inline/thread-freshness.d.ts +0 -24
  88. package/dist/inline/thread-freshness.d.ts.map +0 -1
  89. package/dist/inline/thread-participation.d.ts +0 -10
  90. package/dist/inline/thread-participation.d.ts.map +0 -1
  91. package/dist/inline/thread-routes.d.ts +0 -32
  92. package/dist/inline/thread-routes.d.ts.map +0 -1
  93. package/dist/inline/threadreply-command.d.ts +0 -48
  94. package/dist/inline/threadreply-command.d.ts.map +0 -1
  95. package/dist/inline/tool-targets.d.ts +0 -36
  96. package/dist/inline/tool-targets.d.ts.map +0 -1
  97. package/dist/openclaw-compat.d.ts +0 -141
  98. package/dist/openclaw-compat.d.ts.map +0 -1
  99. package/dist/runtime-register-api.d.ts +0 -3
  100. package/dist/runtime-register-api.d.ts.map +0 -1
  101. package/dist/runtime-setter-api.d.ts +0 -2
  102. package/dist/runtime-setter-api.d.ts.map +0 -1
  103. package/dist/runtime.d.ts +0 -4
  104. package/dist/runtime.d.ts.map +0 -1
  105. package/dist/sdk-runtime-compat.d.ts +0 -57
  106. package/dist/sdk-runtime-compat.d.ts.map +0 -1
  107. package/dist/secret-contract-api.d.ts +0 -2
  108. package/dist/secret-contract-api.d.ts.map +0 -1
  109. package/dist/setup-entry.d.ts +0 -3
  110. package/dist/setup-entry.d.ts.map +0 -1
  111. package/dist/setup-plugin-api.d.ts +0 -2
  112. package/dist/setup-plugin-api.d.ts.map +0 -1
@@ -1016,11 +1016,11 @@
1016
1016
  },
1017
1017
  "replyThreadMode": {
1018
1018
  "label": "Inline Reply Thread Mode",
1019
- "help": "Controls automatic routing for Inline group replies that start from parent-chat messages: \"auto\" keeps small/new conversations in the parent chat, \"thread\" moves eligible parent-chat replies into child reply threads anchored to the triggering parent messages, and \"main\" keeps automatic replies in the parent chat. Explicit thread tools remain available."
1019
+ "help": "Controls routing for Inline group replies that start from parent-chat messages: \"auto\" creates a child reply thread only when the user explicitly asks for one, \"thread\" routes every eligible top-level turn into a child reply thread anchored to the triggering message, and \"main\" keeps automatic replies in the parent chat. Explicit thread tools remain available."
1020
1020
  },
1021
1021
  "replyThreadAutoCreateMinMessages": {
1022
- "label": "Inline Reply Thread Parent Size",
1023
- "help": "Minimum inbound chat-local message ID before \"thread\" mode auto-creates a child reply thread from a parent-chat message. Defaults to 50; set to 0 to allow immediate thread routing. Existing reply-thread chats always stay in their current thread."
1022
+ "label": "Deprecated Reply Thread Threshold",
1023
+ "help": "Deprecated compatibility setting. Message IDs are not chat message counts, so this value is ignored. Use replyThreadMode: \"auto\" for explicit thread requests, \"thread\" for every eligible top-level turn, or \"main\" to stay flat."
1024
1024
  },
1025
1025
  "replyThreadRequireExplicitMention": {
1026
1026
  "label": "Inline Reply Thread Mentions",
@@ -1032,7 +1032,7 @@
1032
1032
  },
1033
1033
  "groups": {
1034
1034
  "label": "Inline Group Overrides",
1035
- "help": "Per-group settings keyed by Inline chat ID, including sender allowlist, mention, reply-thread mode, reply-thread mention/history policy, parent-size threshold, and tool policy overrides."
1035
+ "help": "Per-group settings keyed by Inline chat ID, including sender allowlist, mention, reply-thread mode, reply-thread mention/history policy, deprecated threshold compatibility, and tool policy overrides."
1036
1036
  },
1037
1037
  "accounts": {
1038
1038
  "label": "Inline Accounts",
package/package.json CHANGED
@@ -1,11 +1,19 @@
1
1
  {
2
2
  "name": "@inline-openclaw/inline",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "license": "Apache-2.0",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/inline-chat/inline.git",
8
+ "directory": "openclaw"
9
+ },
5
10
  "type": "module",
6
11
  "files": [
7
- "dist",
8
- "!dist/tsconfig.tsbuildinfo",
12
+ "dist/*.js",
13
+ "dist/*.js.map",
14
+ "dist/index.d.ts",
15
+ "dist/index.d.ts.map",
16
+ "LICENSE",
9
17
  "openclaw.plugin.json"
10
18
  ],
11
19
  "main": "./dist/index.js",
@@ -25,11 +33,11 @@
25
33
  "check": "bun run typecheck && bun run lint && bun run test && bun run build"
26
34
  },
27
35
  "dependencies": {
28
- "@inline-chat/realtime-sdk": "0.0.13",
36
+ "@inline-chat/realtime-sdk": "0.0.14",
29
37
  "zod": "4.4.3"
30
38
  },
31
39
  "peerDependencies": {
32
- "openclaw": ">=2026.6.11"
40
+ "openclaw": ">=2026.6.11 || >=2026.7.1-0"
33
41
  },
34
42
  "peerDependenciesMeta": {
35
43
  "openclaw": {
@@ -38,10 +46,10 @@
38
46
  },
39
47
  "devDependencies": {
40
48
  "@types/node": "20.17.19",
41
- "@vitest/coverage-v8": "4.0.16",
42
- "openclaw": "2026.6.11",
49
+ "@vitest/coverage-v8": "4.1.10",
50
+ "openclaw": "2026.7.1-2",
43
51
  "typescript": "5.8.3",
44
- "vitest": "4.0.16"
52
+ "vitest": "4.1.10"
45
53
  },
46
54
  "openclaw": {
47
55
  "extensions": [
@@ -95,7 +103,7 @@
95
103
  "pluginApi": ">=2026.6.11"
96
104
  },
97
105
  "build": {
98
- "openclawVersion": "2026.6.11"
106
+ "openclawVersion": "2026.7.1-2"
99
107
  },
100
108
  "release": {
101
109
  "publishToClawHub": true,
@@ -1,3 +0,0 @@
1
- import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
2
- export declare function inspectInlineReadOnlyAccount(cfg: OpenClawConfig, accountId?: string | null): import("./inline/accounts.js").InspectedInlineAccount;
3
- //# sourceMappingURL=account-inspect-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account-inspect-api.d.ts","sourceRoot":"","sources":["../src/account-inspect-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAG9D,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,cAAc,EAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,yDAE1F"}
@@ -1,2 +0,0 @@
1
- export { inlineChannelPlugin } from "./inline/channel.js";
2
- //# sourceMappingURL=channel-plugin-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"channel-plugin-api.d.ts","sourceRoot":"","sources":["../src/channel-plugin-api.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare function hasInlineConfiguredState(params: {
2
- env?: NodeJS.ProcessEnv;
3
- }): boolean;
4
- //# sourceMappingURL=configured-state.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"configured-state.d.ts","sourceRoot":"","sources":["../src/configured-state.ts"],"names":[],"mappings":"AAEA,wBAAgB,wBAAwB,CAAC,MAAM,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAA;CAAE,GAAG,OAAO,CAKrF"}
@@ -1,54 +0,0 @@
1
- import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
2
- import type { InlineRuntimeConfig } from "./config-schema.js";
3
- export type ResolvedInlineAccount = {
4
- accountId: string;
5
- name: string;
6
- enabled: boolean;
7
- configured: boolean;
8
- baseUrl: string | null;
9
- token: string | null;
10
- tokenFile: string | null;
11
- tokenSource: "config" | "env" | "file" | "none";
12
- tokenConfigured: boolean;
13
- reactionNotifications: InlineRuntimeConfig["reactionNotifications"];
14
- reactionAllowlist: InlineRuntimeConfig["reactionAllowlist"];
15
- config: InlineRuntimeConfig;
16
- };
17
- export type InlineCredentialStatus = "available" | "configured_unavailable" | "missing";
18
- export type InspectedInlineAccount = {
19
- accountId: string;
20
- name: string;
21
- enabled: boolean;
22
- configured: boolean;
23
- baseUrl: string | null;
24
- token: string | null;
25
- tokenFile: string | null;
26
- tokenSource: "config" | "env" | "file" | "none";
27
- tokenStatus: InlineCredentialStatus;
28
- tokenConfigured: boolean;
29
- config: InlineRuntimeConfig;
30
- };
31
- export declare function resolveInlineEnvToken(env?: NodeJS.ProcessEnv): string | null;
32
- export declare function listInlineAccountIds(cfg: OpenClawConfig, env?: NodeJS.ProcessEnv): string[];
33
- export declare function resolveDefaultInlineAccountId(cfg: OpenClawConfig): string;
34
- export declare function resolveInlineAccount(params: {
35
- cfg: OpenClawConfig;
36
- accountId?: string | null;
37
- env?: NodeJS.ProcessEnv;
38
- }): ResolvedInlineAccount;
39
- export declare function inspectInlineAccount(params: {
40
- cfg: OpenClawConfig;
41
- accountId?: string | null;
42
- env?: NodeJS.ProcessEnv;
43
- }): InspectedInlineAccount;
44
- export declare function findInlineTokenOwnerAccountId(params: {
45
- cfg: OpenClawConfig;
46
- accountId: string;
47
- env?: NodeJS.ProcessEnv;
48
- }): string | null;
49
- export declare function formatDuplicateInlineTokenReason(params: {
50
- accountId: string;
51
- ownerAccountId: string;
52
- }): string;
53
- export declare function resolveInlineToken(account: ResolvedInlineAccount): Promise<string>;
54
- //# sourceMappingURL=accounts.d.ts.map
@@ -1 +0,0 @@
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,MAAM,sBAAsB,GAAG;IACnC,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,WAAW,EAAE,sBAAsB,CAAA;IACnC,eAAe,EAAE,OAAO,CAAA;IACxB,MAAM,EAAE,mBAAmB,CAAA;CAC5B,CAAA;AAgBD,wBAAgB,qBAAqB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,MAAM,GAAG,IAAI,CAMzF;AA4FD,wBAAgB,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"}
@@ -1,43 +0,0 @@
1
- import type { ChannelMessageActionAdapter, ChannelMessageActionName, ChannelMessageToolDiscovery } from "openclaw/plugin-sdk/channel-contract";
2
- import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
3
- import { type MessageActions } from "@inline-chat/realtime-sdk";
4
- type InlineMessageActionName = ChannelMessageActionName | "upload-file" | "download-file" | "compose-action" | "typing" | "stop-typing" | "uploading-photo" | "uploading-document" | "uploading-video" | "recording-voice" | "forward" | "forwardMessages" | "get-messages" | "getMessages" | "bot-commands" | "botCommands" | "peer-bot-commands" | "peerBotCommands" | "translate" | "translateMessages" | "invite-to-space" | "inviteToSpace" | "delete-attachment" | "deleteMessageAttachment";
5
- export declare function resolveInlineMessageActionsParam(params: Record<string, unknown>): MessageActions | undefined;
6
- export declare function supportsInlineMessageButtons(actions: readonly InlineMessageActionName[]): boolean;
7
- export declare function supportsInlineMessageButtonsForConfig(cfg: OpenClawConfig, accountId?: string | null): boolean;
8
- export declare function supportsInlineReactionsForConfig(cfg: OpenClawConfig, accountId?: string | null): boolean;
9
- declare function describeInlineMessageTool({ cfg, accountId, }: Parameters<NonNullable<ChannelMessageActionAdapter["describeMessageTool"]>>[0]): ChannelMessageToolDiscovery;
10
- export declare const inlineMessageActions: {
11
- describeMessageTool: typeof describeInlineMessageTool;
12
- listActions: ({ cfg, accountId }: {
13
- cfg: OpenClawConfig;
14
- accountId?: string | null;
15
- }) => InlineMessageActionName[];
16
- supportsButtons: ({ cfg, accountId }: {
17
- cfg: OpenClawConfig;
18
- accountId?: string | null;
19
- }) => boolean;
20
- supportsCards: () => false;
21
- supportsAction: ({ action }: {
22
- 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";
23
- }) => boolean;
24
- messageActionTargetAliases: Partial<Record<"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", {
25
- aliases: string[];
26
- deliveryTargetAliases?: string[];
27
- }>>;
28
- extractToolSend: ({ args }: {
29
- args: Record<string, unknown>;
30
- }) => {
31
- to: string;
32
- } | null;
33
- handleAction: ({ action, params, cfg, accountId, mediaAccess, mediaLocalRoots, mediaReadFile, toolContext, }: import("openclaw/plugin-sdk/core").ChannelMessageActionContext) => Promise<{
34
- content: {
35
- type: "text";
36
- text: string;
37
- }[];
38
- details: unknown;
39
- }>;
40
- };
41
- export declare const inlineSupportedActions: InlineMessageActionName[];
42
- export {};
43
- //# sourceMappingURL=actions.d.ts.map
@@ -1 +0,0 @@
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;AAM7C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAC9D,OAAO,EAML,KAAK,cAAc,EAEpB,MAAM,2BAA2B,CAAA;AA0ClC,KAAK,uBAAuB,GACxB,wBAAwB,GACxB,aAAa,GACb,eAAe,GACf,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,iBAAiB,GACjB,oBAAoB,GACpB,iBAAiB,GACjB,iBAAiB,GACjB,SAAS,GACT,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,cAAc,GACd,aAAa,GACb,mBAAmB,GACnB,iBAAiB,GACjB,WAAW,GACX,mBAAmB,GACnB,iBAAiB,GACjB,eAAe,GACf,mBAAmB,GACnB,yBAAyB,CAAA;AAo+B7B,wBAAgB,gCAAgC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,cAAc,GAAG,SAAS,CA4B5G;AA82CD,wBAAgB,4BAA4B,CAAC,OAAO,EAAE,SAAS,uBAAuB,EAAE,GAAG,OAAO,CAEjG;AA8YD,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,CAyL9G;AA2XD,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;;;;;;;;;;;;;;;;;;;;;CA8sDhB,CAAA;AAE1E,eAAO,MAAM,sBAAsB,2BAAmB,CAAA"}
@@ -1,29 +0,0 @@
1
- import { InlineSdkClient, type InputPeer, type MessageActions } from "@inline-chat/realtime-sdk";
2
- type InlinePendingDelivery = {
3
- text: string;
4
- actions?: MessageActions;
5
- };
6
- type InlineApprovalSendTarget = {
7
- chatId: bigint;
8
- } | {
9
- userId: bigint;
10
- };
11
- type InlinePreparedTarget = {
12
- sendTarget: InlineApprovalSendTarget;
13
- peerId: InputPeer;
14
- typingChatId?: bigint;
15
- };
16
- type InlinePendingApproval = {
17
- messageId: bigint;
18
- peerId: InputPeer;
19
- text: string;
20
- parseMarkdown: boolean;
21
- typingChatId?: bigint;
22
- };
23
- export type InlineApprovalHandlerContext = {
24
- client: InlineSdkClient;
25
- parseMarkdown?: boolean;
26
- };
27
- export declare const inlineApprovalNativeRuntime: import("openclaw/plugin-sdk/approval-handler-runtime").ChannelApprovalNativeRuntimeAdapter<InlinePendingDelivery, InlinePreparedTarget, InlinePendingApproval, never, unknown>;
28
- export {};
29
- //# sourceMappingURL=approval-handler.runtime.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"approval-handler.runtime.d.ts","sourceRoot":"","sources":["../../src/inline/approval-handler.runtime.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,eAAe,EAEf,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAA;AAYlC,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,CAAC,EAAE,cAAc,CAAA;CACzB,CAAA;AACD,KAAK,wBAAwB,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AACvE,KAAK,oBAAoB,GAAG;IAC1B,UAAU,EAAE,wBAAwB,CAAA;IACpC,MAAM,EAAE,SAAS,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AACD,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,OAAO,CAAA;IACtB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAOD,MAAM,MAAM,4BAA4B,GAAG;IACzC,MAAM,EAAE,eAAe,CAAA;IACvB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AAkJD,eAAO,MAAM,2BAA2B,gLA0JtC,CAAA"}
@@ -1,22 +0,0 @@
1
- import type { ExecApprovalRequest } from "openclaw/plugin-sdk/approval-runtime";
2
- import type { ChannelApprovalCapability } from "openclaw/plugin-sdk/channel-contract";
3
- import type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";
4
- export declare function buildInlineExecApprovalPendingPayload(params: {
5
- request: ExecApprovalRequest;
6
- nowMs: number;
7
- }): ReplyPayload;
8
- export declare const inlineApprovalCapability: ChannelApprovalCapability;
9
- export declare const inlineNativeApprovalAdapter: {
10
- auth: {
11
- authorizeActorAction?: ChannelApprovalCapability["authorizeActorAction"];
12
- getActionAvailabilityState?: ChannelApprovalCapability["getActionAvailabilityState"];
13
- getExecInitiatingSurfaceState?: ChannelApprovalCapability["getExecInitiatingSurfaceState"];
14
- resolveApproveCommandBehavior?: ChannelApprovalCapability["resolveApproveCommandBehavior"];
15
- };
16
- delivery: ChannelApprovalCapability["delivery"];
17
- nativeRuntime: ChannelApprovalCapability["nativeRuntime"];
18
- render: ChannelApprovalCapability["render"];
19
- native: ChannelApprovalCapability["native"];
20
- describeExecApprovalSetup: ChannelApprovalCapability["describeExecApprovalSetup"];
21
- };
22
- //# sourceMappingURL=approval-native.d.ts.map
@@ -1 +0,0 @@
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;;4BAhGC,CAAC;kCAEE,CAAC;qCAA4F,CAAC;qCAA+F,CAAC;;;;;;;CAgGzO,CAAA"}
@@ -1,12 +0,0 @@
1
- import type { AnyAgentTool, OpenClawConfig } from "openclaw/plugin-sdk/core";
2
- type ToolFsPolicy = {
3
- workspaceOnly?: boolean;
4
- };
5
- export declare function createInlineBotAvatarTool(ctx: {
6
- config?: OpenClawConfig;
7
- agentAccountId?: string;
8
- workspaceDir?: string;
9
- fsPolicy?: ToolFsPolicy;
10
- }): AnyAgentTool | null;
11
- export {};
12
- //# sourceMappingURL=bot-avatar-tool.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bot-avatar-tool.d.ts","sourceRoot":"","sources":["../../src/inline/bot-avatar-tool.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA8D5E,KAAK,YAAY,GAAG;IAClB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAA;AA4WD,wBAAgB,yBAAyB,CAAC,GAAG,EAAE;IAC7C,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,YAAY,CAAA;CACxB,GAAG,YAAY,GAAG,IAAI,CAyGtB"}
@@ -1,16 +0,0 @@
1
- export type InlineBotCommand = {
2
- command: string;
3
- description: string;
4
- sort_order?: number;
5
- sortOrder?: number;
6
- };
7
- export declare function normalizeInlineBotBaseUrl(baseUrl: string): string;
8
- export declare function normalizeInlineBotCommandName(raw: string): string;
9
- export declare function callInlineBotApi<T>(params: {
10
- baseUrl: string;
11
- token: string;
12
- methodName: string;
13
- method: "GET" | "POST";
14
- body?: unknown;
15
- }): Promise<T>;
16
- //# sourceMappingURL=bot-commands-api.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bot-commands-api.d.ts","sourceRoot":"","sources":["../../src/inline/bot-commands-api.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AASD,wBAAgB,yBAAyB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED,wBAAgB,6BAA6B,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjE;AAED,wBAAsB,gBAAgB,CAAC,CAAC,EAAE,MAAM,EAAE;IAChD,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;IAClB,MAAM,EAAE,KAAK,GAAG,MAAM,CAAA;IACtB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,GAAG,OAAO,CAAC,CAAC,CAAC,CA4Db"}
@@ -1,25 +0,0 @@
1
- import type { OpenClawConfig } from "openclaw/plugin-sdk/core";
2
- import { type ResolvedInlineAccount } from "./accounts.js";
3
- type InlineCommandsSyncLogger = {
4
- info?: (message: string) => void;
5
- warn?: (message: string) => void;
6
- };
7
- export declare function shouldSyncInlineNativeCommands(cfg: OpenClawConfig): boolean;
8
- export declare function shouldSyncInlineNativeCommandsForAccount(params: {
9
- cfg: OpenClawConfig;
10
- account: ResolvedInlineAccount;
11
- }): boolean;
12
- export declare function shouldSyncInlineNativeSkillsForAccount(params: {
13
- cfg: OpenClawConfig;
14
- account: ResolvedInlineAccount;
15
- }): boolean;
16
- export declare function syncInlineNativeCommands(params: {
17
- cfg: OpenClawConfig;
18
- logger?: InlineCommandsSyncLogger;
19
- }): Promise<{
20
- attempted: number;
21
- synced: number;
22
- failed: number;
23
- }>;
24
- export {};
25
- //# sourceMappingURL=bot-commands-sync.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bot-commands-sync.d.ts","sourceRoot":"","sources":["../../src/inline/bot-commands-sync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAK9D,OAAO,EAML,KAAK,qBAAqB,EAC3B,MAAM,eAAe,CAAA;AAKtB,KAAK,wBAAwB,GAAG;IAC9B,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;CACjC,CAAA;AA8GD,wBAAgB,8BAA8B,CAAC,GAAG,EAAE,cAAc,GAAG,OAAO,CAI3E;AAED,wBAAgB,wCAAwC,CAAC,MAAM,EAAE;IAC/D,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;CAC/B,GAAG,OAAO,CAOV;AAED,wBAAgB,sCAAsC,CAAC,MAAM,EAAE;IAC7D,GAAG,EAAE,cAAc,CAAA;IACnB,OAAO,EAAE,qBAAqB,CAAA;CAC/B,GAAG,OAAO,CAOV;AA2CD,wBAAsB,wBAAwB,CAAC,MAAM,EAAE;IACrD,GAAG,EAAE,cAAc,CAAA;IACnB,MAAM,CAAC,EAAE,wBAAwB,CAAA;CAClC,GAAG,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC,CA0GjE"}
@@ -1,6 +0,0 @@
1
- import type { AnyAgentTool, OpenClawConfig } from "openclaw/plugin-sdk/core";
2
- export declare function createInlineBotCommandsTool(ctx: {
3
- config?: OpenClawConfig;
4
- agentAccountId?: string;
5
- }): AnyAgentTool | null;
6
- //# sourceMappingURL=bot-commands-tool.d.ts.map
@@ -1 +0,0 @@
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,4 +0,0 @@
1
- import { type ChannelPlugin } from "openclaw/plugin-sdk/core";
2
- import { type ResolvedInlineAccount } from "./accounts.js";
3
- export declare const inlineChannelPlugin: ChannelPlugin<ResolvedInlineAccount>;
4
- //# sourceMappingURL=channel.d.ts.map
@@ -1 +0,0 @@
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;AAqwCtB,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,qBAAqB,CAomBpE,CAAA"}
@@ -1,43 +0,0 @@
1
- import type { ReplyPayload } from "openclaw/plugin-sdk/reply-payload";
2
- export type InlineReplyMarkupButton = {
3
- text: string;
4
- callback_data: string;
5
- };
6
- type InlineChannelData = ReplyPayload["channelData"];
7
- type ProviderInfo = {
8
- id: string;
9
- count: number;
10
- };
11
- export declare function parseInlineCommandsPageCallback(raw: string | undefined): {
12
- page: number | "noop";
13
- agentId?: string;
14
- } | null;
15
- export declare function buildInlineCommandsListChannelData(params: {
16
- currentPage: number;
17
- totalPages: number;
18
- agentId?: string;
19
- }): InlineChannelData | null;
20
- export declare function buildInlineModelProviderButtons(providers: ProviderInfo[]): InlineReplyMarkupButton[][];
21
- export declare function buildInlineModelsMenuChannelData(params: {
22
- providers: ProviderInfo[];
23
- }): InlineChannelData | null;
24
- export declare function buildInlineModelsProviderChannelData(params: {
25
- providers: ProviderInfo[];
26
- }): InlineChannelData | null;
27
- export declare function buildInlineModelsAddProviderChannelData(params: {
28
- providers: Array<{
29
- id: string;
30
- }>;
31
- }): InlineChannelData | null;
32
- export declare function buildInlineModelsListChannelData(params: {
33
- provider: string;
34
- models: readonly string[];
35
- currentModel?: string;
36
- currentPage: number;
37
- totalPages: number;
38
- pageSize?: number;
39
- modelNames?: ReadonlyMap<string, string>;
40
- }): InlineChannelData | null;
41
- export declare function buildInlineModelBrowseChannelData(): InlineChannelData;
42
- export {};
43
- //# sourceMappingURL=command-ui.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command-ui.d.ts","sourceRoot":"","sources":["../../src/inline/command-ui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAA;AAGrE,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,KAAK,iBAAiB,GAAG,YAAY,CAAC,aAAa,CAAC,CAAA;AAEpD,KAAK,YAAY,GAAG;IAClB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAuDD,wBAAgB,+BAA+B,CAC7C,GAAG,EAAE,MAAM,GAAG,SAAS,GACtB;IAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAgBpD;AAED,wBAAgB,kCAAkC,CAAC,MAAM,EAAE;IACzD,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB,GAAG,iBAAiB,GAAG,IAAI,CAG3B;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,YAAY,EAAE,GACxB,uBAAuB,EAAE,EAAE,CAY7B;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE;IACvD,SAAS,EAAE,YAAY,EAAE,CAAA;CAC1B,GAAG,iBAAiB,GAAG,IAAI,CAG3B;AAED,wBAAgB,oCAAoC,CAAC,MAAM,EAAE;IAC3D,SAAS,EAAE,YAAY,EAAE,CAAA;CAC1B,GAAG,iBAAiB,GAAG,IAAI,CAE3B;AAED,wBAAgB,uCAAuC,CAAC,MAAM,EAAE;IAC9D,SAAS,EAAE,KAAK,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACjC,GAAG,iBAAiB,GAAG,IAAI,CAU3B;AAED,wBAAgB,gCAAgC,CAAC,MAAM,EAAE;IACvD,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,SAAS,MAAM,EAAE,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzC,GAAG,iBAAiB,GAAG,IAAI,CAqD3B;AAED,wBAAgB,iCAAiC,IAAI,iBAAiB,CAErE"}