@elizaos/plugin-twitter 1.0.7 → 1.0.8

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 (1) hide show
  1. package/package.json +2 -233
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-twitter",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -62,237 +62,6 @@
62
62
  },
63
63
  "agentConfig": {
64
64
  "pluginType": "elizaos:plugin:1.0.0",
65
- "pluginParameters": {
66
- "TWITTER_USERNAME": {
67
- "type": "string",
68
- "description": "Twitter/X account username used for login",
69
- "required": true
70
- },
71
- "TWITTER_PASSWORD": {
72
- "type": "string",
73
- "description": "Password for the Twitter/X account",
74
- "required": true
75
- },
76
- "TWITTER_EMAIL": {
77
- "type": "string",
78
- "description": "Email associated with the Twitter/X account (used during login and verification)",
79
- "required": true
80
- },
81
- "TWITTER_2FA_SECRET": {
82
- "type": "string",
83
- "description": "Two-factor authentication secret for login",
84
- "required": false
85
- },
86
- "TWITTER_DRY_RUN": {
87
- "type": "boolean",
88
- "description": "If true, enables testing mode where tweets are not actually posted",
89
- "required": false,
90
- "default": "false"
91
- },
92
- "MAX_TWEET_LENGTH": {
93
- "type": "number",
94
- "description": "Maximum character length allowed for generated tweets",
95
- "required": false,
96
- "default": "280"
97
- },
98
- "TWITTER_SEARCH_ENABLE": {
99
- "type": "boolean",
100
- "description": "Toggle to enable or disable the search functionality",
101
- "required": false,
102
- "default": "false"
103
- },
104
- "TWITTER_RETRY_LIMIT": {
105
- "type": "number",
106
- "description": "Number of login retry attempts before giving up",
107
- "required": false,
108
- "default": "5"
109
- },
110
- "TWITTER_POLL_INTERVAL": {
111
- "type": "number",
112
- "description": "Interval (in seconds) between polling cycles for new interactions or tasks",
113
- "required": false,
114
- "default": "120"
115
- },
116
- "TWITTER_TARGET_USERS": {
117
- "type": "string",
118
- "description": "Comma-separated list of Twitter/X usernames to target for interactions",
119
- "required": false
120
- },
121
- "TWITTER_ENABLE_POST_GENERATION": {
122
- "type": "boolean",
123
- "description": "Master switch to enable or disable automatic tweet generation",
124
- "required": false,
125
- "default": "true"
126
- },
127
- "TWITTER_POST_INTERVAL_MIN": {
128
- "type": "number",
129
- "description": "Minimum interval (in minutes) between automatically generated posts",
130
- "required": false,
131
- "default": "90"
132
- },
133
- "TWITTER_POST_POST_INTERVAL_MAX": {
134
- "type": "number",
135
- "description": "Maximum interval (in minutes) between automatically generated posts",
136
- "required": false,
137
- "default": "180"
138
- },
139
- "TWITTER_POST_IMMEDIATELY": {
140
- "type": "boolean",
141
- "description": "If true, generated tweets bypass the approval workflow and are posted immediately",
142
- "required": false,
143
- "default": "false"
144
- },
145
- "ENABLE_ACTION_PROCESSING": {
146
- "type": "boolean",
147
- "description": "Enables processing of queued actions such as mentions or DMs",
148
- "required": false,
149
- "default": "false"
150
- },
151
- "ACTION_INTERVAL": {
152
- "type": "number",
153
- "description": "Interval (in minutes) between action-processing checks",
154
- "required": false,
155
- "default": "5"
156
- },
157
- "MAX_ACTIONS_PROCESSING": {
158
- "type": "number",
159
- "description": "Maximum number of actions that can be processed concurrently",
160
- "required": false,
161
- "default": "1"
162
- },
163
- "TWITTER_SPACES_ENABLE": {
164
- "type": "boolean",
165
- "description": "Enables Twitter Spaces creation and management features",
166
- "required": false,
167
- "default": "false"
168
- },
169
- "ELEVENLABS_XI_API_KEY": {
170
- "type": "string",
171
- "description": "API key for ElevenLabs, required when using Text-to-Speech in Twitter Spaces",
172
- "required": false
173
- },
174
- "TWITTER_APPROVAL_DISCORD_BOT_TOKEN": {
175
- "type": "string",
176
- "description": "Discord bot token used for the tweet approval workflow",
177
- "required": false
178
- },
179
- "TWITTER_APPROVAL_DISCORD_CHANNEL_ID": {
180
- "type": "string",
181
- "description": "Discord channel ID where generated tweets are sent for approval",
182
- "required": false
183
- },
184
- "TWITTER_APPROVAL_CHECK_INTERVAL": {
185
- "type": "number",
186
- "description": "Interval (in milliseconds) between checks for approval reactions in Discord",
187
- "required": false,
188
- "default": "300000"
189
- },
190
- "DEBUG": {
191
- "type": "string",
192
- "description": "Namespace(s) for enabling debug logs (e.g., \"eliza:*\")",
193
- "required": false
194
- },
195
- "TWITTER_COOKIES_AUTH_TOKEN": {
196
- "type": "string",
197
- "description": "Existing Twitter auth_token cookie value used to skip the login flow if provided.",
198
- "required": false
199
- },
200
- "TWITTER_COOKIES_CT0": {
201
- "type": "string",
202
- "description": "Existing Twitter ct0 cookie value used to skip the login flow if provided.",
203
- "required": false
204
- },
205
- "TWITTER_COOKIES_GUEST_ID": {
206
- "type": "string",
207
- "description": "Existing Twitter guest_id cookie value used to skip the login flow if provided.",
208
- "required": false
209
- },
210
- "MAX_RETRIES": {
211
- "type": "number",
212
- "description": "Maximum number of retries allowed for the Twitter login process before failing.",
213
- "required": false,
214
- "default": 3
215
- },
216
- "PROXY_URL": {
217
- "type": "string",
218
- "description": "HTTP(s) proxy URL to route requests through (necessary when running the client in certain browser environments).",
219
- "required": false
220
- },
221
- "TWITTER_API_KEY": {
222
- "type": "string",
223
- "description": "Twitter API v2 key used for enhanced functionality such as creating polls via the official API.",
224
- "required": false
225
- },
226
- "TWITTER_API_SECRET_KEY": {
227
- "type": "string",
228
- "description": "Twitter API v2 secret corresponding to TWITTER_API_KEY.",
229
- "required": false
230
- },
231
- "TWITTER_ACCESS_TOKEN": {
232
- "type": "string",
233
- "description": "Twitter API v2 access token used to authorize requests for tweet and poll functionality.",
234
- "required": false
235
- },
236
- "TWITTER_ACCESS_TOKEN_SECRET": {
237
- "type": "string",
238
- "description": "Secret associated with TWITTER_ACCESS_TOKEN for authenticating Twitter API v2 requests.",
239
- "required": false
240
- },
241
- "OPENAI_API_KEY": {
242
- "type": "string",
243
- "description": "OpenAI API key supplied to SttTtsPlugin for GPT-based interactions.",
244
- "required": true
245
- },
246
- "ELEVENLABS_API_KEY": {
247
- "type": "string",
248
- "description": "Primary ElevenLabs TTS API key supplied to SttTtsPlugin; if absent, ELEVENLABS_XI_API_KEY is used instead.",
249
- "required": false,
250
- "default": "Falls back to ELEVENLABS_XI_API_KEY when not provided"
251
- },
252
- "TWITTER_COOKIES": {
253
- "type": "string",
254
- "description": "Serialized cookie string used for cookie-based session authentication; if undefined and cookie file is missing, the code falls back to password auth.",
255
- "required": false
256
- },
257
- "TWITTER_POST_INTERVAL_MAX": {
258
- "type": "number",
259
- "description": "Maximum delay, in minutes, between automatically generated posts.",
260
- "required": false,
261
- "default": 180
262
- },
263
- "TWITTER_INTERACTION_ENABLE": {
264
- "type": "boolean",
265
- "description": "Determines whether mentions and interaction handling are enabled; only disabled when explicitly set to false.",
266
- "required": false,
267
- "default": true
268
- },
269
- "TWITTER_TIMELINE_ENABLE": {
270
- "type": "boolean",
271
- "description": "Enables timeline caching and handling logic for the Twitter client.",
272
- "required": false
273
- },
274
- "TWITTER_API_SECRET": {
275
- "type": "string",
276
- "description": "Twitter API secret key for alternative API-based authentication.",
277
- "required": false
278
- },
279
- "TWITTER_ENABLE_ACTION_PROCESSING": {
280
- "type": "boolean",
281
- "description": "Enable or disable processing of queued Twitter actions.",
282
- "required": false,
283
- "default": "true"
284
- },
285
- "TWITTER_TIMELINE_MODE": {
286
- "type": "string",
287
- "description": "Determines which Twitter timeline the client should fetch (e.g., 'following' or 'foryou').",
288
- "required": false
289
- },
290
- "TWITTER_TIMELINE_POLL_INTERVAL": {
291
- "type": "number",
292
- "description": "Interval in seconds between polls of the Twitter timeline.",
293
- "required": false,
294
- "default": 120
295
- }
296
- }
65
+ "pluginParameters": {}
297
66
  }
298
67
  }