debug: enumerate all antigravity + chat commands at startup
This commit is contained in:
@@ -97,6 +97,22 @@ export function activate(context: vscode.ExtensionContext) {
|
|||||||
vscode.commands.registerCommand('gravityBridge.reject', () => handleManualAction(false)),
|
vscode.commands.registerCommand('gravityBridge.reject', () => handleManualAction(false)),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Debug: enumerate ALL available antigravity + chat commands
|
||||||
|
setTimeout(async () => {
|
||||||
|
const allCmds = await vscode.commands.getCommands(true);
|
||||||
|
const agCmds = allCmds.filter(c => c.includes('antigravity'));
|
||||||
|
const chatCmds = allCmds.filter(c =>
|
||||||
|
c.includes('chat') && !c.includes('chatEditing') &&
|
||||||
|
(c.includes('send') || c.includes('open') || c.includes('new') ||
|
||||||
|
c.includes('create') || c.includes('accept') || c.includes('submit') ||
|
||||||
|
c.includes('input') || c.includes('message') || c.includes('prompt'))
|
||||||
|
);
|
||||||
|
console.log(`Gravity Bridge: === ANTIGRAVITY COMMANDS (${agCmds.length}) ===`);
|
||||||
|
agCmds.sort().forEach(c => console.log(` AG: ${c}`));
|
||||||
|
console.log(`Gravity Bridge: === CHAT COMMANDS (${chatCmds.length}) ===`);
|
||||||
|
chatCmds.sort().forEach(c => console.log(` CHAT: ${c}`));
|
||||||
|
}, 3000);
|
||||||
|
|
||||||
// Chat document change listener — captures AI text responses
|
// Chat document change listener — captures AI text responses
|
||||||
context.subscriptions.push(
|
context.subscriptions.push(
|
||||||
vscode.workspace.onDidChangeTextDocument((event) => {
|
vscode.workspace.onDidChangeTextDocument((event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user