@elizaos/plugin-twitter 1.0.8 → 1.0.9

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 +203 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-twitter",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -62,6 +62,207 @@
62
62
  },
63
63
  "agentConfig": {
64
64
  "pluginType": "elizaos:plugin:1.0.0",
65
- "pluginParameters": {}
65
+ "pluginParameters": {
66
+ "TWITTER_SPACES_ENABLE": {
67
+ "type": "boolean",
68
+ "description": "Flag indicating whether the agent is allowed to join Twitter Spaces.",
69
+ "required": false,
70
+ "sensitive": false
71
+ },
72
+ "MAX_RETRIES": {
73
+ "type": "number",
74
+ "description": "Maximum number of times the system will attempt to log in to Twitter before giving up",
75
+ "required": false,
76
+ "default": 3,
77
+ "sensitive": false
78
+ },
79
+ "TWITTER_USERNAME": {
80
+ "type": "string",
81
+ "description": "Twitter account username used for authentication",
82
+ "required": true,
83
+ "sensitive": false
84
+ },
85
+ "TWITTER_PASSWORD": {
86
+ "type": "string",
87
+ "description": "Twitter account password used for authentication",
88
+ "required": true,
89
+ "sensitive": true
90
+ },
91
+ "TWITTER_EMAIL": {
92
+ "type": "string",
93
+ "description": "Email address associated with the Twitter account; used during login/verification",
94
+ "required": true,
95
+ "sensitive": false
96
+ },
97
+ "TWITTER_2FA_SECRET": {
98
+ "type": "string",
99
+ "description": "Time-based one-time password (2FA) secret used for two-factor authentication during login",
100
+ "required": false,
101
+ "sensitive": true
102
+ },
103
+ "TWITTER_COOKIES_AUTH_TOKEN": {
104
+ "type": "string",
105
+ "description": "Pre-existing Twitter auth_token cookie value used to bypass manual login",
106
+ "required": false,
107
+ "sensitive": true
108
+ },
109
+ "TWITTER_COOKIES_CT0": {
110
+ "type": "string",
111
+ "description": "Pre-existing Twitter ct0 (CSRF) cookie value used to bypass manual login",
112
+ "required": false,
113
+ "sensitive": true
114
+ },
115
+ "TWITTER_COOKIES_GUEST_ID": {
116
+ "type": "string",
117
+ "description": "Pre-existing Twitter guest_id cookie value used to bypass manual login",
118
+ "required": false,
119
+ "sensitive": true
120
+ },
121
+ "TWITTER_API_KEY": {
122
+ "type": "string",
123
+ "description": "Twitter API key used to authenticate with the Twitter API during tests.",
124
+ "required": false,
125
+ "sensitive": true
126
+ },
127
+ "TWITTER_API_SECRET_KEY": {
128
+ "type": "string",
129
+ "description": "Twitter API secret key paired with the API key for authentication.",
130
+ "required": false,
131
+ "sensitive": true
132
+ },
133
+ "TWITTER_ACCESS_TOKEN": {
134
+ "type": "string",
135
+ "description": "OAuth access token used for Twitter API requests in the tests.",
136
+ "required": false,
137
+ "sensitive": true
138
+ },
139
+ "TWITTER_ACCESS_TOKEN_SECRET": {
140
+ "type": "string",
141
+ "description": "OAuth access token secret used with the access token for authentication.",
142
+ "required": false,
143
+ "sensitive": true
144
+ },
145
+ "OPENAI_API_KEY": {
146
+ "type": "string",
147
+ "description": "OpenAI API key supplied to the SttTtsPlugin for GPT/STT/TTS functionality.",
148
+ "required": true,
149
+ "sensitive": true
150
+ },
151
+ "ELEVENLABS_API_KEY": {
152
+ "type": "string",
153
+ "description": "ElevenLabs API key for TTS provided to the SttTtsPlugin. Used if ELEVENLABS_XI_API_KEY is not set.",
154
+ "required": false,
155
+ "sensitive": true
156
+ },
157
+ "ELEVENLABS_XI_API_KEY": {
158
+ "type": "string",
159
+ "description": "Alternative ElevenLabs (Xi) API key for TTS; used as a fallback if ELEVENLABS_API_KEY is not provided.",
160
+ "required": false,
161
+ "sensitive": true
162
+ },
163
+ "PROXY_URL": {
164
+ "type": "string",
165
+ "description": "URL of the proxy server (may include credentials) through which HTTP requests are routed.",
166
+ "required": false,
167
+ "sensitive": true
168
+ },
169
+ "TWITTER_COOKIES": {
170
+ "type": "string",
171
+ "description": "Serialized Twitter session cookies; referenced for cookie-based authentication.",
172
+ "required": false,
173
+ "sensitive": true
174
+ },
175
+ "TWITTER_DRY_RUN": {
176
+ "type": "boolean",
177
+ "description": "When true, all Twitter actions are simulated and nothing is actually posted.",
178
+ "required": false,
179
+ "sensitive": false
180
+ },
181
+ "TWITTER_RETRY_LIMIT": {
182
+ "type": "number",
183
+ "description": "Maximum number of retry attempts when a Twitter action fails.",
184
+ "required": false,
185
+ "default": 5,
186
+ "sensitive": false
187
+ },
188
+ "TWITTER_POLL_INTERVAL": {
189
+ "type": "number",
190
+ "description": "Polling interval in seconds between checks for new Twitter events.",
191
+ "required": false,
192
+ "default": 120,
193
+ "sensitive": false
194
+ },
195
+ "TWITTER_TARGET_USERS": {
196
+ "type": "string",
197
+ "description": "Comma-separated list of Twitter usernames the bot should interact with. Supports '*' wildcard.",
198
+ "required": false,
199
+ "sensitive": false
200
+ },
201
+ "TWITTER_ENABLE_POST_GENERATION": {
202
+ "type": "boolean",
203
+ "description": "Toggle to enable or disable automatic tweet/post generation.",
204
+ "required": false,
205
+ "default": true,
206
+ "sensitive": false
207
+ },
208
+ "TWITTER_POST_INTERVAL_MIN": {
209
+ "type": "number",
210
+ "description": "Minimum interval in minutes between automatically generated posts.",
211
+ "required": false,
212
+ "default": 90,
213
+ "sensitive": false
214
+ },
215
+ "TWITTER_POST_INTERVAL_MAX": {
216
+ "type": "number",
217
+ "description": "Maximum interval in minutes between automatically generated posts.",
218
+ "required": false,
219
+ "default": 180,
220
+ "sensitive": false
221
+ },
222
+ "TWITTER_POST_IMMEDIATELY": {
223
+ "type": "boolean",
224
+ "description": "If true, posts are published immediately after generation, bypassing interval checks.",
225
+ "required": false,
226
+ "sensitive": false
227
+ },
228
+ "TWITTER_INTERACTION_ENABLE": {
229
+ "type": "boolean",
230
+ "description": "Controls whether mention and interaction handling is enabled. Defaults to true when not explicitly set to false.",
231
+ "required": false,
232
+ "default": true,
233
+ "sensitive": false
234
+ },
235
+ "TWITTER_TIMELINE_ENABLE": {
236
+ "type": "boolean",
237
+ "description": "Enables fetching and caching of the Twitter timeline.",
238
+ "required": false,
239
+ "sensitive": false
240
+ },
241
+ "TWITTER_API_SECRET": {
242
+ "type": "string",
243
+ "description": "Twitter API secret credential (referenced in comments for future API-based auth).",
244
+ "required": false,
245
+ "sensitive": true
246
+ },
247
+ "TWITTER_ENABLE_ACTION_PROCESSING": {
248
+ "type": "boolean",
249
+ "description": "Flag to enable or disable processing of Twitter actions",
250
+ "required": false,
251
+ "sensitive": false
252
+ },
253
+ "TWITTER_TIMELINE_MODE": {
254
+ "type": "string",
255
+ "description": "Specifies which Twitter timeline to monitor: 'foryou' (home) or 'following'.",
256
+ "required": false,
257
+ "sensitive": false
258
+ },
259
+ "TWITTER_TIMELINE_POLL_INTERVAL": {
260
+ "type": "number",
261
+ "description": "Polling interval (in seconds) between timeline checks.",
262
+ "required": false,
263
+ "default": 120,
264
+ "sensitive": false
265
+ }
266
+ }
66
267
  }
67
268
  }