@elizaos/plugin-discord 1.3.8 → 2.0.0-alpha.10

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 (99) hide show
  1. package/dist/accounts.d.ts +164 -0
  2. package/dist/accounts.d.ts.map +1 -0
  3. package/dist/actions/chatWithAttachments.d.ts +4 -0
  4. package/dist/actions/chatWithAttachments.d.ts.map +1 -0
  5. package/dist/actions/createPoll.d.ts +4 -0
  6. package/dist/actions/createPoll.d.ts.map +1 -0
  7. package/dist/actions/deleteMessage.d.ts +4 -0
  8. package/dist/actions/deleteMessage.d.ts.map +1 -0
  9. package/dist/actions/downloadMedia.d.ts +4 -0
  10. package/dist/actions/downloadMedia.d.ts.map +1 -0
  11. package/dist/actions/editMessage.d.ts +4 -0
  12. package/dist/actions/editMessage.d.ts.map +1 -0
  13. package/dist/actions/getUserInfo.d.ts +4 -0
  14. package/dist/actions/getUserInfo.d.ts.map +1 -0
  15. package/dist/actions/joinChannel.d.ts +4 -0
  16. package/dist/actions/joinChannel.d.ts.map +1 -0
  17. package/dist/actions/leaveChannel.d.ts +4 -0
  18. package/dist/actions/leaveChannel.d.ts.map +1 -0
  19. package/dist/actions/listChannels.d.ts +4 -0
  20. package/dist/actions/listChannels.d.ts.map +1 -0
  21. package/dist/actions/pinMessage.d.ts +4 -0
  22. package/dist/actions/pinMessage.d.ts.map +1 -0
  23. package/dist/actions/reactToMessage.d.ts +4 -0
  24. package/dist/actions/reactToMessage.d.ts.map +1 -0
  25. package/dist/actions/readChannel.d.ts +4 -0
  26. package/dist/actions/readChannel.d.ts.map +1 -0
  27. package/dist/actions/searchMessages.d.ts +4 -0
  28. package/dist/actions/searchMessages.d.ts.map +1 -0
  29. package/dist/actions/sendDM.d.ts +4 -0
  30. package/dist/actions/sendDM.d.ts.map +1 -0
  31. package/dist/actions/sendMessage.d.ts +4 -0
  32. package/dist/actions/sendMessage.d.ts.map +1 -0
  33. package/dist/actions/serverInfo.d.ts +4 -0
  34. package/dist/actions/serverInfo.d.ts.map +1 -0
  35. package/dist/actions/summarizeConversation.d.ts +4 -0
  36. package/dist/actions/summarizeConversation.d.ts.map +1 -0
  37. package/dist/actions/transcribeMedia.d.ts +4 -0
  38. package/dist/actions/transcribeMedia.d.ts.map +1 -0
  39. package/dist/actions/unpinMessage.d.ts +4 -0
  40. package/dist/actions/unpinMessage.d.ts.map +1 -0
  41. package/dist/allowlist.d.ts +198 -0
  42. package/dist/allowlist.d.ts.map +1 -0
  43. package/dist/attachments.d.ts +92 -0
  44. package/dist/attachments.d.ts.map +1 -0
  45. package/dist/banner.d.ts +39 -0
  46. package/dist/banner.d.ts.map +1 -0
  47. package/dist/compat.d.ts +56 -0
  48. package/dist/compat.d.ts.map +1 -0
  49. package/dist/config.d.ts +156 -0
  50. package/dist/config.d.ts.map +1 -0
  51. package/dist/constants.d.ts +2 -0
  52. package/dist/constants.d.ts.map +1 -0
  53. package/dist/environment.d.ts +22 -0
  54. package/dist/environment.d.ts.map +1 -0
  55. package/dist/generated/prompts/typescript/prompts.d.ts +44 -0
  56. package/dist/generated/prompts/typescript/prompts.d.ts.map +1 -0
  57. package/dist/generated/specs/spec-helpers.d.ts +49 -0
  58. package/dist/generated/specs/spec-helpers.d.ts.map +1 -0
  59. package/dist/generated/specs/specs.d.ts +87 -0
  60. package/dist/generated/specs/specs.d.ts.map +1 -0
  61. package/dist/index.browser.d.ts +34 -0
  62. package/dist/index.browser.d.ts.map +1 -0
  63. package/dist/index.d.ts +2 -942
  64. package/dist/index.d.ts.map +1 -0
  65. package/dist/index.js +9865 -7014
  66. package/dist/index.js.map +132 -1
  67. package/dist/messages.d.ts +55 -0
  68. package/dist/messages.d.ts.map +1 -0
  69. package/dist/messaging.d.ts +129 -0
  70. package/dist/messaging.d.ts.map +1 -0
  71. package/dist/native-commands.d.ts +142 -0
  72. package/dist/native-commands.d.ts.map +1 -0
  73. package/dist/permissionEvents.d.ts +42 -0
  74. package/dist/permissionEvents.d.ts.map +1 -0
  75. package/dist/permissions.d.ts +36 -0
  76. package/dist/permissions.d.ts.map +1 -0
  77. package/dist/providers/channelState.d.ts +14 -0
  78. package/dist/providers/channelState.d.ts.map +1 -0
  79. package/dist/providers/guildInfo.d.ts +15 -0
  80. package/dist/providers/guildInfo.d.ts.map +1 -0
  81. package/dist/providers/voiceState.d.ts +12 -0
  82. package/dist/providers/voiceState.d.ts.map +1 -0
  83. package/dist/service.d.ts +403 -0
  84. package/dist/service.d.ts.map +1 -0
  85. package/dist/test-setup.d.ts +1 -0
  86. package/dist/test-setup.d.ts.map +1 -0
  87. package/dist/tests.d.ts +123 -0
  88. package/dist/tests.d.ts.map +1 -0
  89. package/dist/types.d.ts +315 -0
  90. package/dist/types.d.ts.map +1 -0
  91. package/dist/utils.d.ts +44 -0
  92. package/dist/utils.d.ts.map +1 -0
  93. package/dist/vitest.config.d.ts +3 -0
  94. package/dist/vitest.config.d.ts.map +1 -0
  95. package/dist/voice.d.ts +230 -0
  96. package/dist/voice.d.ts.map +1 -0
  97. package/package.json +134 -123
  98. package/LICENSE +0 -21
  99. package/README.md +0 -531
@@ -0,0 +1,164 @@
1
+ import type { IAgentRuntime } from "@elizaos/core";
2
+ /**
3
+ * Default account identifier used when no specific account is configured
4
+ */
5
+ export declare const DEFAULT_ACCOUNT_ID = "default";
6
+ /**
7
+ * Source of the Discord token
8
+ */
9
+ export type DiscordTokenSource = "env" | "config" | "character" | "none";
10
+ /**
11
+ * Result of token resolution
12
+ */
13
+ export interface DiscordTokenResolution {
14
+ token: string;
15
+ source: DiscordTokenSource;
16
+ }
17
+ /**
18
+ * Configuration for a single Discord account
19
+ */
20
+ export interface DiscordAccountConfig {
21
+ /** Optional display name for this account */
22
+ name?: string;
23
+ /** If false, do not start this Discord account */
24
+ enabled?: boolean;
25
+ /** Discord bot token for this account */
26
+ token?: string;
27
+ /** Allow bot-authored messages to trigger replies */
28
+ allowBots?: boolean;
29
+ /** Controls how guild channel messages are handled */
30
+ groupPolicy?: "open" | "disabled" | "allowlist";
31
+ /** Outbound text chunk size (chars) */
32
+ textChunkLimit?: number;
33
+ /** Max lines per message */
34
+ maxLinesPerMessage?: number;
35
+ /** Max media size in MB */
36
+ mediaMaxMb?: number;
37
+ /** History limit for context */
38
+ historyLimit?: number;
39
+ /** Max DM turns to keep as history context */
40
+ dmHistoryLimit?: number;
41
+ /** DM configuration */
42
+ dm?: DiscordDmConfig;
43
+ /** Per-guild configuration */
44
+ guilds?: Record<string, DiscordGuildEntry>;
45
+ /** Channel IDs to allow */
46
+ channelIds?: string[];
47
+ /** Listen-only channel IDs */
48
+ listenChannelIds?: string[];
49
+ /** Whether to ignore bot messages */
50
+ shouldIgnoreBotMessages?: boolean;
51
+ /** Whether to ignore direct messages */
52
+ shouldIgnoreDirectMessages?: boolean;
53
+ /** Whether to respond only to mentions */
54
+ shouldRespondOnlyToMentions?: boolean;
55
+ }
56
+ /**
57
+ * DM-specific configuration
58
+ */
59
+ export interface DiscordDmConfig {
60
+ /** If false, ignore all incoming Discord DMs */
61
+ enabled?: boolean;
62
+ /** Direct message access policy */
63
+ policy?: "open" | "disabled" | "allowlist" | "pairing";
64
+ /** Allowlist for DM senders (ids or names) */
65
+ allowFrom?: Array<string | number>;
66
+ /** If true, allow group DMs */
67
+ groupEnabled?: boolean;
68
+ /** Optional allowlist for group DM channels */
69
+ groupChannels?: Array<string | number>;
70
+ }
71
+ /**
72
+ * Channel-specific configuration within a guild
73
+ */
74
+ export interface DiscordGuildChannelConfig {
75
+ /** Whether this channel is allowed */
76
+ allow?: boolean;
77
+ /** Require bot mention to respond */
78
+ requireMention?: boolean;
79
+ /** Skills to load for this channel */
80
+ skills?: string[];
81
+ /** If false, disable the bot for this channel */
82
+ enabled?: boolean;
83
+ /** Allowlist for channel senders */
84
+ users?: Array<string | number>;
85
+ /** System prompt snippet for this channel */
86
+ systemPrompt?: string;
87
+ /** Auto-create threads for replies */
88
+ autoThread?: boolean;
89
+ }
90
+ /**
91
+ * Guild-level configuration
92
+ */
93
+ export interface DiscordGuildEntry {
94
+ /** Guild slug for name-based matching */
95
+ slug?: string;
96
+ /** Require bot mention to respond */
97
+ requireMention?: boolean;
98
+ /** Reaction notification mode */
99
+ reactionNotifications?: "off" | "own" | "all" | "allowlist";
100
+ /** Allowlist for guild users */
101
+ users?: Array<string | number>;
102
+ /** Per-channel configuration */
103
+ channels?: Record<string, DiscordGuildChannelConfig>;
104
+ }
105
+ /**
106
+ * Multi-account Discord configuration structure
107
+ */
108
+ export interface DiscordMultiAccountConfig {
109
+ /** Default/base configuration applied to all accounts */
110
+ enabled?: boolean;
111
+ token?: string;
112
+ /** Per-account configuration overrides */
113
+ accounts?: Record<string, DiscordAccountConfig>;
114
+ }
115
+ /**
116
+ * Resolved Discord account with all configuration merged
117
+ */
118
+ export interface ResolvedDiscordAccount {
119
+ accountId: string;
120
+ enabled: boolean;
121
+ name?: string;
122
+ token: string;
123
+ tokenSource: DiscordTokenSource;
124
+ config: DiscordAccountConfig;
125
+ }
126
+ /**
127
+ * Normalizes an account ID, returning the default if not provided
128
+ */
129
+ export declare function normalizeAccountId(accountId?: string | null): string;
130
+ /**
131
+ * Normalizes a Discord token by trimming and removing "Bot " prefix
132
+ */
133
+ export declare function normalizeDiscordToken(raw?: string | null): string | undefined;
134
+ /**
135
+ * Gets the multi-account configuration from runtime settings
136
+ */
137
+ export declare function getMultiAccountConfig(runtime: IAgentRuntime): DiscordMultiAccountConfig;
138
+ /**
139
+ * Lists all configured account IDs
140
+ */
141
+ export declare function listDiscordAccountIds(runtime: IAgentRuntime): string[];
142
+ /**
143
+ * Resolves the default account ID to use
144
+ */
145
+ export declare function resolveDefaultDiscordAccountId(runtime: IAgentRuntime): string;
146
+ /**
147
+ * Resolves the Discord token for a specific account
148
+ */
149
+ export declare function resolveDiscordToken(runtime: IAgentRuntime, opts?: {
150
+ accountId?: string | null;
151
+ }): DiscordTokenResolution;
152
+ /**
153
+ * Resolves a complete Discord account configuration
154
+ */
155
+ export declare function resolveDiscordAccount(runtime: IAgentRuntime, accountId?: string | null): ResolvedDiscordAccount;
156
+ /**
157
+ * Lists all enabled Discord accounts
158
+ */
159
+ export declare function listEnabledDiscordAccounts(runtime: IAgentRuntime): ResolvedDiscordAccount[];
160
+ /**
161
+ * Checks if multi-account mode is enabled
162
+ */
163
+ export declare function isMultiAccountEnabled(runtime: IAgentRuntime): boolean;
164
+ //# sourceMappingURL=accounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounts.d.ts","sourceRoot":"","sources":["../accounts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAEnD;;GAEG;AACH,eAAO,MAAM,kBAAkB,YAAY,CAAC;AAE5C;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC;AAEzE;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,kBAAkB,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC,6CAA6C;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qDAAqD;IACrD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,WAAW,CAAC;IAChD,uCAAuC;IACvC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4BAA4B;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2BAA2B;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,cAAc,CAAC,EAAE,MAAM,CAAC;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;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,CAM7E;AAiFD;;GAEG;AACH,wBAAgB,mBAAmB,CAClC,OAAO,EAAE,aAAa,EACtB,IAAI,GAAE;IAAE,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAAO,GACtC,sBAAsB,CAiCxB;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CACpC,OAAO,EAAE,aAAa,EACtB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GACvB,sBAAsB,CAqBxB;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACzC,OAAO,EAAE,aAAa,GACpB,sBAAsB,EAAE,CAI1B;AAED;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAGrE"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const chatWithAttachments: Action;
3
+ export default chatWithAttachments;
4
+ //# sourceMappingURL=chatWithAttachments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chatWithAttachments.d.ts","sourceRoot":"","sources":["../../actions/chatWithAttachments.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,MAAM,EAiBX,MAAM,eAAe,CAAC;AAuDvB,eAAO,MAAM,mBAAmB,EAAE,MAgUjC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const createPoll: Action;
3
+ export default createPoll;
4
+ //# sourceMappingURL=createPoll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPoll.d.ts","sourceRoot":"","sources":["../../actions/createPoll.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAkDvB,eAAO,MAAM,UAAU,EAAE,MA6MxB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ declare const deleteMessage: Action;
3
+ export default deleteMessage;
4
+ //# sourceMappingURL=deleteMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteMessage.d.ts","sourceRoot":"","sources":["../../actions/deleteMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAWX,MAAM,eAAe,CAAC;AA6BvB,QAAA,MAAM,aAAa,EAAE,MA4LpB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const downloadMedia: Action;
3
+ export default downloadMedia;
4
+ //# sourceMappingURL=downloadMedia.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"downloadMedia.d.ts","sourceRoot":"","sources":["../../actions/downloadMedia.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAiBX,MAAM,eAAe,CAAC;AAuCvB,eAAO,MAAM,aAAa,EAAE,MA6L3B,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ declare const editMessage: Action;
3
+ export default editMessage;
4
+ //# sourceMappingURL=editMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"editMessage.d.ts","sourceRoot":"","sources":["../../actions/editMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAWX,MAAM,eAAe,CAAC;AAgCvB,QAAA,MAAM,WAAW,EAAE,MAkMlB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const getUserInfo: Action;
3
+ export default getUserInfo;
4
+ //# sourceMappingURL=getUserInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUserInfo.d.ts","sourceRoot":"","sources":["../../actions/getUserInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAiFvB,eAAO,MAAM,WAAW,EAAE,MA+MzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const joinChannel: Action;
3
+ export default joinChannel;
4
+ //# sourceMappingURL=joinChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"joinChannel.d.ts","sourceRoot":"","sources":["../../actions/joinChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAcX,MAAM,eAAe,CAAC;AAmJvB,eAAO,MAAM,WAAW,EAAE,MAkSzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const leaveChannel: Action;
3
+ export default leaveChannel;
4
+ //# sourceMappingURL=leaveChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"leaveChannel.d.ts","sourceRoot":"","sources":["../../actions/leaveChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAaX,MAAM,eAAe,CAAC;AAkLvB,eAAO,MAAM,YAAY,EAAE,MA6U1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const listChannels: Action;
3
+ export default listChannels;
4
+ //# sourceMappingURL=listChannels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listChannels.d.ts","sourceRoot":"","sources":["../../actions/listChannels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,MAAM,EASN,MAAM,eAAe,CAAC;AAOvB,eAAO,MAAM,YAAY,EAAE,MAkM1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const pinMessage: Action;
3
+ export default pinMessage;
4
+ //# sourceMappingURL=pinMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pinMessage.d.ts","sourceRoot":"","sources":["../../actions/pinMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAwCvB,eAAO,MAAM,UAAU,EAAE,MA2OxB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const reactToMessage: Action;
3
+ export default reactToMessage;
4
+ //# sourceMappingURL=reactToMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reactToMessage.d.ts","sourceRoot":"","sources":["../../actions/reactToMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AA+GvB,eAAO,MAAM,cAAc,EAAE,MAqT5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const readChannel: Action;
3
+ export default readChannel;
4
+ //# sourceMappingURL=readChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"readChannel.d.ts","sourceRoot":"","sources":["../../actions/readChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAyEvB,eAAO,MAAM,WAAW,EAAE,MAiVzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const searchMessages: Action;
3
+ export default searchMessages;
4
+ //# sourceMappingURL=searchMessages.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"searchMessages.d.ts","sourceRoot":"","sources":["../../actions/searchMessages.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAgIvB,eAAO,MAAM,cAAc,EAAE,MA8N5B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const sendDM: Action;
3
+ export default sendDM;
4
+ //# sourceMappingURL=sendDM.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendDM.d.ts","sourceRoot":"","sources":["../../actions/sendDM.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAsHvB,eAAO,MAAM,MAAM,EAAE,MA6IpB,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const sendMessage: Action;
3
+ export default sendMessage;
4
+ //# sourceMappingURL=sendMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sendMessage.d.ts","sourceRoot":"","sources":["../../actions/sendMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AA2BvB,eAAO,MAAM,WAAW,EAAE,MA4JzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { Action } from "@elizaos/core";
2
+ export declare const serverInfo: Action;
3
+ export default serverInfo;
4
+ //# sourceMappingURL=serverInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serverInfo.d.ts","sourceRoot":"","sources":["../../actions/serverInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,MAAM,EASN,MAAM,eAAe,CAAC;AAiFvB,eAAO,MAAM,UAAU,EAAE,MAkJxB,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const summarize: Action;
3
+ export default summarize;
4
+ //# sourceMappingURL=summarizeConversation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"summarizeConversation.d.ts","sourceRoot":"","sources":["../../actions/summarizeConversation.ts"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,MAAM,EAmBX,MAAM,eAAe,CAAC;AA2LvB,eAAO,MAAM,SAAS,EAAE,MAiTvB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const transcribeMedia: Action;
3
+ export default transcribeMedia;
4
+ //# sourceMappingURL=transcribeMedia.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcribeMedia.d.ts","sourceRoot":"","sources":["../../actions/transcribeMedia.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAeX,MAAM,eAAe,CAAC;AAmDvB,eAAO,MAAM,eAAe,EAAE,MA6N7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type Action } from "@elizaos/core";
2
+ export declare const unpinMessage: Action;
3
+ export default unpinMessage;
4
+ //# sourceMappingURL=unpinMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unpinMessage.d.ts","sourceRoot":"","sources":["../../actions/unpinMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,MAAM,EAYX,MAAM,eAAe,CAAC;AAwCvB,eAAO,MAAM,YAAY,EAAE,MAgQ1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,198 @@
1
+ import type { Guild, GuildMember, User } from "discord.js";
2
+ import type { DiscordAccountConfig, DiscordGuildEntry } from "./accounts";
3
+ /**
4
+ * Normalized allowlist structure for Discord entities
5
+ */
6
+ export interface DiscordAllowList {
7
+ allowAll: boolean;
8
+ ids: Set<string>;
9
+ names: Set<string>;
10
+ }
11
+ /**
12
+ * Match source type for allowlist matching
13
+ */
14
+ export type AllowListMatchSource = "wildcard" | "id" | "name" | "tag";
15
+ /**
16
+ * Result of an allowlist match operation
17
+ */
18
+ export interface DiscordAllowListMatch {
19
+ allowed: boolean;
20
+ matchKey?: string;
21
+ matchSource?: AllowListMatchSource;
22
+ }
23
+ /**
24
+ * Match source for channel configuration
25
+ */
26
+ export type ChannelMatchSource = "id" | "name" | "slug" | "wildcard" | "parent";
27
+ /**
28
+ * Resolved channel configuration with match metadata
29
+ */
30
+ export interface DiscordChannelConfigResolved {
31
+ allowed: boolean;
32
+ requireMention?: boolean;
33
+ skills?: string[];
34
+ enabled?: boolean;
35
+ users?: Array<string | number>;
36
+ systemPrompt?: string;
37
+ autoThread?: boolean;
38
+ matchKey?: string;
39
+ matchSource?: ChannelMatchSource;
40
+ }
41
+ /**
42
+ * Normalizes a Discord slug (channel name, guild name, etc.)
43
+ * Converts to lowercase, removes special characters, replaces spaces with dashes
44
+ */
45
+ export declare function normalizeDiscordSlug(value: string): string;
46
+ /**
47
+ * Formats a Discord user tag for matching
48
+ */
49
+ export declare function formatDiscordUserTag(user: User | GuildMember): string;
50
+ /**
51
+ * Normalizes a raw allowlist array into a structured DiscordAllowList
52
+ */
53
+ export declare function normalizeDiscordAllowList(raw: Array<string | number> | undefined, prefixes?: string[]): DiscordAllowList | null;
54
+ /**
55
+ * Checks if a candidate matches the allowlist
56
+ */
57
+ export declare function allowListMatches(list: DiscordAllowList, candidate: {
58
+ id?: string;
59
+ name?: string;
60
+ tag?: string;
61
+ }): boolean;
62
+ /**
63
+ * Resolves an allowlist match with detailed match information
64
+ */
65
+ export declare function resolveDiscordAllowListMatch(params: {
66
+ allowList: DiscordAllowList;
67
+ candidate: {
68
+ id?: string;
69
+ name?: string;
70
+ tag?: string;
71
+ };
72
+ }): DiscordAllowListMatch;
73
+ /**
74
+ * Checks if a Discord user is allowed based on an allowlist
75
+ */
76
+ export declare function resolveDiscordUserAllowed(params: {
77
+ allowList?: Array<string | number>;
78
+ userId: string;
79
+ userName?: string;
80
+ userTag?: string;
81
+ }): boolean;
82
+ /**
83
+ * Checks if a user is authorized for commands in DMs
84
+ */
85
+ export declare function resolveDiscordCommandAuthorized(params: {
86
+ isDirectMessage: boolean;
87
+ allowFrom?: Array<string | number>;
88
+ author: User;
89
+ }): boolean;
90
+ /**
91
+ * Resolves guild entry configuration by ID or slug
92
+ */
93
+ export declare function resolveDiscordGuildEntry(params: {
94
+ guild?: Guild | null;
95
+ guildEntries?: Record<string, DiscordGuildEntry>;
96
+ }): (DiscordGuildEntry & {
97
+ id?: string;
98
+ }) | null;
99
+ /**
100
+ * Resolves channel configuration from guild info
101
+ */
102
+ export declare function resolveDiscordChannelConfig(params: {
103
+ guildInfo?: (DiscordGuildEntry & {
104
+ id?: string;
105
+ }) | null;
106
+ channelId: string;
107
+ channelName?: string;
108
+ channelSlug?: string;
109
+ }): DiscordChannelConfigResolved | null;
110
+ /**
111
+ * Resolves channel configuration with thread/parent fallback
112
+ */
113
+ export declare function resolveDiscordChannelConfigWithFallback(params: {
114
+ guildInfo?: (DiscordGuildEntry & {
115
+ id?: string;
116
+ }) | null;
117
+ channelId: string;
118
+ channelName?: string;
119
+ channelSlug?: string;
120
+ parentId?: string;
121
+ parentName?: string;
122
+ parentSlug?: string;
123
+ isThread?: boolean;
124
+ }): DiscordChannelConfigResolved | null;
125
+ /**
126
+ * Determines if a mention is required for the bot to respond
127
+ */
128
+ export declare function resolveDiscordShouldRequireMention(params: {
129
+ isGuildMessage: boolean;
130
+ isThread: boolean;
131
+ botId?: string | null;
132
+ threadOwnerId?: string | null;
133
+ channelConfig?: DiscordChannelConfigResolved | null;
134
+ guildInfo?: (DiscordGuildEntry & {
135
+ id?: string;
136
+ }) | null;
137
+ isAutoThreadOwnedByBot?: boolean;
138
+ }): boolean;
139
+ /**
140
+ * Checks if a thread was created by the bot via autoThread feature
141
+ */
142
+ export declare function isDiscordAutoThreadOwnedByBot(params: {
143
+ isThread: boolean;
144
+ channelConfig?: DiscordChannelConfigResolved | null;
145
+ botId?: string | null;
146
+ threadOwnerId?: string | null;
147
+ }): boolean;
148
+ /**
149
+ * Checks if a group (guild channel) is allowed by the policy
150
+ */
151
+ export declare function isDiscordGroupAllowedByPolicy(params: {
152
+ groupPolicy: "open" | "disabled" | "allowlist";
153
+ guildAllowlisted: boolean;
154
+ channelAllowlistConfigured: boolean;
155
+ channelAllowed: boolean;
156
+ }): boolean;
157
+ /**
158
+ * Resolves if a group DM is allowed
159
+ */
160
+ export declare function resolveGroupDmAllow(params: {
161
+ channels?: Array<string | number>;
162
+ channelId: string;
163
+ channelName?: string;
164
+ channelSlug?: string;
165
+ }): boolean;
166
+ /**
167
+ * Determines if a reaction notification should be emitted
168
+ */
169
+ export declare function shouldEmitDiscordReactionNotification(params: {
170
+ mode?: "off" | "own" | "all" | "allowlist";
171
+ botId?: string;
172
+ messageAuthorId?: string;
173
+ userId: string;
174
+ userName?: string;
175
+ userTag?: string;
176
+ allowlist?: Array<string | number>;
177
+ }): boolean;
178
+ /**
179
+ * Validates a message against all allowlist policies
180
+ */
181
+ export declare function validateMessageAllowed(params: {
182
+ accountConfig: DiscordAccountConfig;
183
+ isDirectMessage: boolean;
184
+ isGroupDm: boolean;
185
+ guild?: Guild | null;
186
+ channelId: string;
187
+ channelName?: string;
188
+ author: User;
189
+ botId?: string;
190
+ }): {
191
+ allowed: boolean;
192
+ reason?: string;
193
+ channelConfig?: DiscordChannelConfigResolved | null;
194
+ guildInfo?: (DiscordGuildEntry & {
195
+ id?: string;
196
+ }) | null;
197
+ };
198
+ //# sourceMappingURL=allowlist.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allowlist.d.ts","sourceRoot":"","sources":["../allowlist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC3D,OAAO,KAAK,EACX,oBAAoB,EAEpB,iBAAiB,EACjB,MAAM,YAAY,CAAC;AAEpB;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,G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