-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.03 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@elizaos-plugins/plugin-twitter",
"version": "0.1.9",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"@elizaos/source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "0.25.9",
"@types/hapi__shot": "6.0.0",
"agent-twitter-client": "0.0.18",
"tsup": "8.4.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"vitest": "3.0.8"
},
"scripts": {
"build": "tsup --format esm --dts",
"dev": "tsup --format esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "biome check src/",
"lint:fix": "biome check --apply src/",
"format": "biome format src/",
"format:fix": "biome format --write src/"
},
"agentConfig": {
"pluginType": "elizaos:client:1.0.0",
"pluginParameters": {
"TWITTER_USERNAME": {
"type": "string",
"minLength": 1,
"description": "Twitter account username"
},
"TWITTER_PASSWORD": {
"type": "string",
"minLength": 1,
"description": "Twitter account password"
},
"TWITTER_EMAIL": {
"type": "string",
"optional": true,
"description": "Twitter account email (required for 2FA)"
},
"TWITTER_2FA_SECRET": {
"type": "string",
"optional": true,
"description": "Twitter 2FA secret key"
},
"TWITTER_PREMIUM": {
"type": "boolean",
"default": false,
"description": "Enable premium Twitter features"
},
"TWITTER_DRY_RUN": {
"type": "boolean",
"default": false,
"description": "Test mode without posting to Twitter"
},
"MAX_TWEET_LENGTH": {
"type": "number",
"default": 280,
"description": "Maximum allowed length for tweets"
}
}
}
}