@elizaos/plugin-telegram 2.0.3-beta.2 → 2.0.3-beta.4

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-telegram",
3
- "version": "2.0.3-beta.2",
3
+ "version": "2.0.3-beta.4",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -30,11 +30,12 @@
30
30
  }
31
31
  },
32
32
  "files": [
33
+ "registry-entry.json",
33
34
  "dist"
34
35
  ],
35
36
  "dependencies": {
36
- "@elizaos/core": "2.0.3-beta.2",
37
- "@elizaos/plugin-commands": "2.0.3-beta.2",
37
+ "@elizaos/core": "2.0.3-beta.4",
38
+ "@elizaos/plugin-commands": "2.0.3-beta.4",
38
39
  "@telegraf/types": "^7.1.0",
39
40
  "@types/node": "^24.0.10",
40
41
  "strip-literal": "^3.0.0",
@@ -45,6 +46,7 @@
45
46
  "devDependencies": {
46
47
  "@biomejs/biome": "^2.4.14",
47
48
  "@elizaos/config": "latest",
49
+ "@elizaos/test-harness": "2.0.3-beta.4",
48
50
  "tsup": "^8.5.1",
49
51
  "typescript": "^6.0.3",
50
52
  "vitest": "^4.0.0"
@@ -53,6 +55,7 @@
53
55
  "build": "tsup && tsc --project tsconfig.build.json",
54
56
  "dev": "tsup --watch",
55
57
  "test": "vitest run",
58
+ "test:harness": "bunx vitest run --config vitest.harness.config.ts",
56
59
  "test:watch": "vitest",
57
60
  "lint": "bunx @biomejs/biome check --write --unsafe .",
58
61
  "lint:check": "bunx @biomejs/biome check .",
@@ -65,7 +68,7 @@
65
68
  "publishConfig": {
66
69
  "access": "public"
67
70
  },
68
- "gitHead": "82fe0f44215954c2417328203f5bd6510985c1fc",
71
+ "gitHead": "f76f55793a0fb8d6b869dd8ddce03970de061e34",
69
72
  "repository": {
70
73
  "type": "git",
71
74
  "url": "git+https://github.com/elizaos-plugins/plugin-telegram.git"
@@ -0,0 +1,72 @@
1
+ {
2
+ "id": "telegram",
3
+ "name": "Telegram",
4
+ "description": "Telegram connector for bot chats, groups, channels, and topic-based conversations through BotFather tokens or an Eliza Cloud webhook gateway.",
5
+ "npmName": "@elizaos/plugin-telegram",
6
+ "version": "2.0.0-beta.0",
7
+ "source": "bundled",
8
+ "tags": [
9
+ "connector",
10
+ "messaging",
11
+ "telegram",
12
+ "chat",
13
+ "social",
14
+ "social-chat"
15
+ ],
16
+ "config": {
17
+ "TELEGRAM_API_ROOT": {
18
+ "type": "string",
19
+ "required": false,
20
+ "sensitive": false,
21
+ "label": "Api Root",
22
+ "help": "Base URL for Telegram Bot API used by the TelegramService, allowing override of the default API endpoint.",
23
+ "advanced": false
24
+ },
25
+ "TELEGRAM_BOT_TOKEN": {
26
+ "type": "secret",
27
+ "required": true,
28
+ "sensitive": true,
29
+ "label": "Bot Token",
30
+ "help": "Telegram bot token used for authenticating and operating the Telegram bot.",
31
+ "advanced": false
32
+ },
33
+ "TELEGRAM_ALLOWED_CHATS": {
34
+ "type": "json",
35
+ "required": false,
36
+ "sensitive": false,
37
+ "label": "Allowed Chats",
38
+ "help": "JSON-encoded array of Telegram chat IDs that are authorized to interact with the bot.",
39
+ "advanced": false
40
+ },
41
+ "TELEGRAM_TEST_CHAT_ID": {
42
+ "type": "string",
43
+ "required": false,
44
+ "sensitive": false,
45
+ "label": "Test Chat Id",
46
+ "help": "Telegram chat ID used by the test suite to send, receive, and validate messages during Telegram bot tests.",
47
+ "advanced": false
48
+ }
49
+ },
50
+ "render": {
51
+ "visible": true,
52
+ "pinTo": [],
53
+ "style": "setup-panel",
54
+ "icon": "Send",
55
+ "group": "connector",
56
+ "groupOrder": 1,
57
+ "actions": ["enable", "configure", "setup-guide"]
58
+ },
59
+ "resources": {
60
+ "homepage": "https://github.com/elizaos-plugins/plugin-telegram#readme",
61
+ "repository": "https://github.com/elizaos-plugins/plugin-telegram",
62
+ "setupGuideUrl": "https://docs.eliza.ai/guides/tutorial-telegram-bot"
63
+ },
64
+ "dependsOn": [],
65
+ "kind": "connector",
66
+ "subtype": "messaging",
67
+ "auth": {
68
+ "kind": "token",
69
+ "credentialKeys": ["TELEGRAM_BOT_TOKEN"]
70
+ },
71
+ "channels": ["telegram"]
72
+ }