-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.52 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.52 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
{
"name": "@elizaos/plugin-telegram",
"version": "2.0.0-alpha.12",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"files": [
"dist"
],
"dependencies": {
"@elizaos/core": "workspace:*",
"@telegraf/types": "7.1.0",
"@types/node": "^24.0.10",
"strip-literal": "^3.0.0",
"telegraf": "4.16.3",
"type-detect": "^4.1.0",
"typescript": "^5.8.3"
},
"devDependencies": {
"@elizaos/config": "1.7.3-alpha.4",
"@eslint/js": "^9.17.0",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"eslint": "^9.17.0",
"prettier": "3.5.3",
"tsup": "8.4.0",
"vitest": "1.6.1"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "bun test",
"test:watch": "bun test --watch",
"lint": "eslint ./src --fix && prettier --write ./src",
"lint:check": "eslint ./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"
},
"gitHead": "646c632924826e2b75c2304a75ee56959fe4a460",
"repository": {
"type": "git",
"url": "git+https://github.com/elizaos-plugins/plugin-telegram.git"
},
"agentConfig": {
"pluginType": "elizaos:plugin:1.0.0",
"pluginParameters": {
"TELEGRAM_API_ROOT": {
"type": "string",
"description": "Base URL for Telegram Bot API used by the TelegramService, allowing override of the default API endpoint.",
"required": false,
"sensitive": false
},
"TELEGRAM_BOT_TOKEN": {
"type": "string",
"description": "Telegram bot token used for authenticating and operating the Telegram bot.",
"required": true,
"sensitive": true
},
"TELEGRAM_ALLOWED_CHATS": {
"type": "string",
"description": "JSON-encoded array of Telegram chat IDs that are authorized to interact with the bot.",
"required": false,
"sensitive": false
},
"TELEGRAM_TEST_CHAT_ID": {
"type": "string",
"description": "Telegram chat ID used by the test suite to send, receive, and validate messages during Telegram bot tests.",
"required": false,
"sensitive": false
}
}
}
}