dis-gravity 0.0.0-stage → 1.1.0
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/LICENSE.txt +20 -0
- package/README.md +312 -2
- package/bin/dis-gravity.js +702 -0
- package/changelog.md +89 -0
- package/dist/extension.js +9670 -0
- package/media/discord.svg +4 -0
- package/media/icon.png +0 -0
- package/media/screenshot-chat.png +0 -0
- package/media/screenshot-settings.png +0 -0
- package/package.json +206 -5
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
2
|
+
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
|
|
3
|
+
<path d="M8 10h.01M12 10h.01M16 10h.01"/>
|
|
4
|
+
</svg>
|
package/media/icon.png
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,207 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "dis-gravity",
|
|
3
|
+
"displayName": "Dis-Gravity",
|
|
4
|
+
"description": "Dis-Gravity - The ultimate Discord bridge for your IDE",
|
|
5
|
+
"version": "1.1.0",
|
|
6
|
+
"publisher": "anonk",
|
|
7
|
+
"icon": "media/icon.png",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/sambath-rethinakumar/Dis-Gravity.git"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://github.com/sambath-rethinakumar/Dis-Gravity#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/sambath-rethinakumar/Dis-Gravity/issues"
|
|
16
|
+
},
|
|
17
|
+
"author": "Anon King",
|
|
18
|
+
"preview": false,
|
|
19
|
+
"bin": {
|
|
20
|
+
"dis-gravity": "bin/dis-gravity.js"
|
|
21
|
+
},
|
|
22
|
+
|
|
23
|
+
"keywords": [
|
|
24
|
+
"discord",
|
|
25
|
+
"chat",
|
|
26
|
+
"bridge",
|
|
27
|
+
"ai",
|
|
28
|
+
"language-model",
|
|
29
|
+
"copilot",
|
|
30
|
+
"gemini",
|
|
31
|
+
"antigravity",
|
|
32
|
+
"cursor",
|
|
33
|
+
"windsurf",
|
|
34
|
+
"agentic-ide"
|
|
35
|
+
],
|
|
36
|
+
"galleryBanner": {
|
|
37
|
+
"color": "#5865F2",
|
|
38
|
+
"theme": "dark"
|
|
39
|
+
},
|
|
40
|
+
"engines": {
|
|
41
|
+
"vscode": "^1.93.0"
|
|
42
|
+
},
|
|
43
|
+
"categories": [
|
|
44
|
+
"Chat",
|
|
45
|
+
"Other"
|
|
46
|
+
],
|
|
47
|
+
"activationEvents": [
|
|
48
|
+
"onStartupFinished"
|
|
49
|
+
],
|
|
50
|
+
"extensionKind": [
|
|
51
|
+
"ui"
|
|
52
|
+
],
|
|
53
|
+
"main": "./dist/extension.js",
|
|
54
|
+
"contributes": {
|
|
55
|
+
"viewsContainers": {
|
|
56
|
+
"activitybar": [
|
|
57
|
+
{
|
|
58
|
+
"id": "antigravity-discord",
|
|
59
|
+
"title": "Discord",
|
|
60
|
+
"icon": "media/discord.svg"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
"views": {
|
|
65
|
+
"antigravity-discord": [
|
|
66
|
+
{
|
|
67
|
+
"type": "webview",
|
|
68
|
+
"id": "antigravity-discord.chatView",
|
|
69
|
+
"name": "Discord Chat"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"commands": [
|
|
74
|
+
{
|
|
75
|
+
"command": "antigravity-discord.reconnect",
|
|
76
|
+
"title": "Dis-Gravity: Reconnect"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"configuration": {
|
|
80
|
+
"title": "Dis-Gravity",
|
|
81
|
+
"properties": {
|
|
82
|
+
"antigravity-discord.botToken": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"default": "",
|
|
85
|
+
"description": "Discord Bot Token"
|
|
86
|
+
},
|
|
87
|
+
"antigravity-discord.channelId": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"default": "",
|
|
90
|
+
"description": "Discord Channel ID to bridge"
|
|
91
|
+
},
|
|
92
|
+
"antigravity-discord.debugPort": {
|
|
93
|
+
"type": "number",
|
|
94
|
+
"default": 9000,
|
|
95
|
+
"description": "Antigravity remote debugging port (--remote-debugging-port)"
|
|
96
|
+
},
|
|
97
|
+
"antigravity-discord.allowedUsers": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"default": "",
|
|
100
|
+
"description": "Allowed Discord User IDs (comma-separated). Leave empty to allow all users in the channel."
|
|
101
|
+
},
|
|
102
|
+
"antigravity-discord.agentProvider": {
|
|
103
|
+
"type": "string",
|
|
104
|
+
"enum": [
|
|
105
|
+
"auto",
|
|
106
|
+
"antigravity",
|
|
107
|
+
"cursor",
|
|
108
|
+
"windsurf",
|
|
109
|
+
"copilot",
|
|
110
|
+
"cli"
|
|
111
|
+
],
|
|
112
|
+
"enumDescriptions": [
|
|
113
|
+
"Automatically detect host IDE and agent",
|
|
114
|
+
"Google Antigravity (CDP Bridge :9000)",
|
|
115
|
+
"Cursor AI (CDP Composer & Chat :9000)",
|
|
116
|
+
"Windsurf (CDP Cascade Agent :9000)",
|
|
117
|
+
"Visual Studio Code (Native Language Model API / Copilot)",
|
|
118
|
+
"Universal Terminal / CLI Agent (Antigravity agy, Claude Code, Aider, Shell)"
|
|
119
|
+
],
|
|
120
|
+
"default": "auto",
|
|
121
|
+
"description": "AI Agent Provider to bridge with Discord"
|
|
122
|
+
},
|
|
123
|
+
"antigravity-discord.tableStyle": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"enum": [
|
|
126
|
+
"image",
|
|
127
|
+
"cards",
|
|
128
|
+
"rounded",
|
|
129
|
+
"boxed",
|
|
130
|
+
"ascii",
|
|
131
|
+
"minimal",
|
|
132
|
+
"raw"
|
|
133
|
+
],
|
|
134
|
+
"enumDescriptions": [
|
|
135
|
+
"High-resolution visual table card (PNG) rendered natively in Discord - Mobile & Desktop friendly (Recommended)",
|
|
136
|
+
"Mobile Record Cards (compact key-value items per row, zero line wrapping on mobile screens)",
|
|
137
|
+
"Rounded Unicode box borders (╭─┬─╮, │, ╰─┴─╯)",
|
|
138
|
+
"Standard Unicode box borders (┌─┬─┐, │, └─┴─┘)",
|
|
139
|
+
"Pure ASCII borders (+---+, |, +---+)",
|
|
140
|
+
"Minimalist borders (underlined header only)",
|
|
141
|
+
"Raw Markdown table (standard GFM pipes without box conversion)"
|
|
142
|
+
],
|
|
143
|
+
"default": "image",
|
|
144
|
+
"description": "Style of tabular columns rendered in Discord"
|
|
145
|
+
},
|
|
146
|
+
"antigravity-discord.autoAttachTableImages": {
|
|
147
|
+
"type": "boolean",
|
|
148
|
+
"default": true,
|
|
149
|
+
"description": "Automatically render and attach visual table PNG images to Discord messages whenever tables are detected in AI responses"
|
|
150
|
+
},
|
|
151
|
+
"antigravity-discord.cursorPort": {
|
|
152
|
+
"type": "number",
|
|
153
|
+
"default": 9000,
|
|
154
|
+
"description": "Remote debugging port for Cursor AI Composer & Chat (--remote-debugging-port)"
|
|
155
|
+
},
|
|
156
|
+
"antigravity-discord.windsurfPort": {
|
|
157
|
+
"type": "number",
|
|
158
|
+
"default": 9000,
|
|
159
|
+
"description": "Remote debugging port for Windsurf Cascade Agent (--remote-debugging-port)"
|
|
160
|
+
},
|
|
161
|
+
"antigravity-discord.cliAgentPath": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"default": "auto",
|
|
164
|
+
"description": "Universal CLI agent engine: 'auto' (detects agy, claude, aider), or exact executable path"
|
|
165
|
+
},
|
|
166
|
+
"antigravity-discord.enableCopilotReAct": {
|
|
167
|
+
"type": "boolean",
|
|
168
|
+
"default": true,
|
|
169
|
+
"description": "Enable autonomous multi-step ReAct agent loop for VS Code Copilot with tool execution and approvals"
|
|
170
|
+
},
|
|
171
|
+
"antigravity-discord.copilotMaxToolSteps": {
|
|
172
|
+
"type": "number",
|
|
173
|
+
"default": 10,
|
|
174
|
+
"description": "Maximum tool execution iterations per request in VS Code Copilot ReAct loop"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"scripts": {
|
|
180
|
+
"compile": "node esbuild.js",
|
|
181
|
+
"compile:production": "node esbuild.js --production",
|
|
182
|
+
"watch": "node esbuild.js --watch",
|
|
183
|
+
"lint": "eslint src",
|
|
184
|
+
"typecheck": "tsc --noEmit",
|
|
185
|
+
"test": "vitest run",
|
|
186
|
+
"test:watch": "vitest",
|
|
187
|
+
"prepackage": "npm run compile:production",
|
|
188
|
+
"package": "vsce package"
|
|
189
|
+
},
|
|
190
|
+
"dependencies": {
|
|
191
|
+
"discord.js": "^14.16.0",
|
|
192
|
+
"ws": "^8.19.0"
|
|
193
|
+
},
|
|
194
|
+
"devDependencies": {
|
|
195
|
+
"@types/vscode": "^1.93.0",
|
|
196
|
+
"@types/ws": "^8.18.1",
|
|
197
|
+
"@vscode/vsce": "^3.7.1",
|
|
198
|
+
"esbuild": "^0.25.1",
|
|
199
|
+
"typescript": "^5.5.0",
|
|
200
|
+
"vitest": "^4.0.18"
|
|
201
|
+
},
|
|
202
|
+
"__metadata": {
|
|
203
|
+
"targetPlatform": "universal",
|
|
204
|
+
"isApplicationScoped": false,
|
|
205
|
+
"isBuiltin": false
|
|
206
|
+
}
|
|
6
207
|
}
|