Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.31 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.31 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
{
"name": "telecode",
"displayName": "TeleCode",
"description": "Bridge VS Code and Telegram - control your IDE from anywhere",
"version": "0.1.0",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "telecode.sendMessage",
"title": "TeleCode: Send Message"
},
{
"command": "telecode.configure",
"title": "TeleCode: Configure Bot Token"
},
{
"command": "telecode.startBot",
"title": "TeleCode: Start Bot"
},
{
"command": "telecode.stopBot",
"title": "TeleCode: Stop Bot"
},
{
"command": "telecode.clearConversation",
"title": "TeleCode: Clear Conversation History"
},
{
"command": "telecode.sendToActiveChat",
"title": "TeleCode: Send to Active Chat"
},
{
"command": "telecode.testSend",
"title": "TeleCode: Test Send"
}
],
"configuration": {
"title": "TeleCode",
"properties": {
"telecode.botToken": {
"type": "string",
"default": "",
"description": "Telegram Bot API Token"
},
"telecode.allowedChatIds": {
"type": "array",
"default": [],
"description": "Allowed Telegram Chat IDs (for security)"
},
"telecode.autoStart": {
"type": "boolean",
"default": false,
"description": "Automatically start bot on VS Code startup"
},
"telecode.enableAIIntegration": {
"type": "boolean",
"default": true,
"description": "Enable automatic AI responses via VS Code Language Model API"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint src --ext ts"
},
"devDependencies": {
"@types/node": "^20.x",
"@types/node-telegram-bot-api": "^0.64.12",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.x",
"@typescript-eslint/parser": "^6.x",
"eslint": "^8.x",
"typescript": "^5.3.0"
},
"dependencies": {
"node-telegram-bot-api": "^0.66.0"
}
}