fix: bot text confirmation on relay + rename @bridge to @gravity + channel dedup

This commit is contained in:
2026-03-07 15:15:56 +09:00
parent af14e5fbc7
commit 02e9e4d424
3 changed files with 9 additions and 4 deletions

5
bot.py
View File

@@ -475,6 +475,11 @@ class GravityBot(commands.Bot):
if text:
self.bridge.write_command(project, text, project_name=project)
await message.add_reaction("📨")
embed = discord.Embed(
description=f"📨 → **{project}** IDE에 전달됨\n`{text[:100]}`",
color=discord.Color.blurple(),
)
await message.channel.send(embed=embed, delete_after=10)
await self.process_commands(message)

View File

@@ -27,8 +27,8 @@
"contributes": {
"chatParticipants": [
{
"id": "gravity-bridge.bridge",
"name": "bridge",
"id": "gravity-bridge.gravity",
"name": "gravity",
"fullName": "Gravity Bridge",
"description": "대화 히스토리를 Discord로 전송 + AI 제어",
"isSticky": false
@@ -72,4 +72,4 @@
}
}
}
}
}

View File

@@ -107,7 +107,7 @@ export function activate(context: vscode.ExtensionContext) {
// Register @bridge Chat Participant for history relay
try {
const participant = vscode.chat.createChatParticipant(
'gravity-bridge.bridge',
'gravity-bridge.gravity',
bridgeChatHandler
);
participant.iconPath = new vscode.ThemeIcon('radio-tower');