forked from atimics/plugin-farcaster
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
155 lines (155 loc) · 4.78 KB
/
Copy pathpackage.json
File metadata and controls
155 lines (155 loc) · 4.78 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@elizaos/plugin-farcaster",
"version": "1.7.2",
"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": "^1.7.0",
"@neynar/nodejs-sdk": "^3.34.0",
"lru-cache": "^11.1.0",
"typescript": "5.8.3",
"zod": "^3.25.9"
},
"devDependencies": {
"@elizaos/cli": "^1.7.0",
"vitest": "^3.0.0"
},
"scripts": {
"build": "bun run build.ts",
"dev": "bun run build.ts --watch",
"test": "elizaos test",
"test:watch": "vitest watch",
"test:unit": "vitest run __tests__/unit",
"test:e2e": "vitest run __tests__/e2e",
"test:coverage": "vitest run --coverage",
"lint": "prettier --write ./src",
"clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json tsconfig.tsbuildinfo",
"format": "prettier --write ./src",
"format:check": "prettier --check ./src"
},
"publishConfig": {
"access": "public"
},
"agentConfig": {
"pluginType": "elizaos:client:1.0.0",
"pluginParameters": {
"FARCASTER_DRY_RUN": {
"type": "boolean",
"description": "Enables or disables dry run mode when interacting with Farcaster; when true, operations are simulated but not executed.",
"required": false,
"sensitive": false
},
"FARCASTER_FID": {
"type": "number",
"description": "The Farcaster FID (user identifier) used to publish or manage casts for a specific account.",
"required": true,
"default": 123,
"sensitive": false
},
"MAX_CAST_LENGTH": {
"type": "number",
"description": "Maximum number of characters allowed in a Farcaster cast.",
"required": false,
"default": 320,
"sensitive": false
},
"FARCASTER_POLL_INTERVAL": {
"type": "number",
"description": "Polling interval in milliseconds for Farcaster operations such as fetching new casts.",
"required": false,
"default": 1000,
"sensitive": false
},
"ENABLE_POST": {
"type": "boolean",
"description": "Enables or disables the ability to post casts to Farcaster.",
"required": false,
"default": true,
"sensitive": false
},
"POST_INTERVAL_MIN": {
"type": "number",
"description": "Minimum interval in milliseconds between automated posts.",
"required": false,
"default": 1000,
"sensitive": false
},
"POST_INTERVAL_MAX": {
"type": "number",
"description": "Maximum interval in milliseconds between automated posts.",
"required": false,
"default": 5000,
"sensitive": false
},
"ENABLE_ACTION_PROCESSING": {
"type": "boolean",
"description": "Turns on or off automated action processing for Farcaster events.",
"required": false,
"default": true,
"sensitive": false
},
"ACTION_INTERVAL": {
"type": "number",
"description": "Interval in milliseconds between action-processing cycles.",
"required": false,
"default": 1000,
"sensitive": false
},
"POST_IMMEDIATELY": {
"type": "boolean",
"description": "If true, posts are published immediately instead of waiting for a schedule.",
"required": false,
"default": true,
"sensitive": false
},
"MAX_ACTIONS_PROCESSING": {
"type": "number",
"description": "Maximum number of Farcaster actions to process in a single batch.",
"required": false,
"default": 10,
"sensitive": false
},
"FARCASTER_SIGNER_UUID": {
"type": "string",
"description": "UUID of the Neynar signer associated with the Farcaster account, required to sign casts.",
"required": true,
"default": "test-signer",
"sensitive": false
},
"FARCASTER_NEYNAR_API_KEY": {
"type": "string",
"description": "API key used to authenticate with the Neynar Farcaster API.",
"required": true,
"default": "test-key",
"sensitive": true
},
"FARCASTER_HUB_URL": {
"type": "string",
"description": "Base URL for the Farcaster hub the client should communicate with.",
"required": false,
"default": "https://api.example.com",
"sensitive": false
}
}
},
"gitHead": "646c632924826e2b75c2304a75ee56959fe4a460",
"repository": {
"type": "git",
"url": "git+https://github.com/elizaos-plugins/plugin-farcaster.git"
}
}