dis-gravity 0.0.0-stage โ†’ 1.2.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/changelog.md ADDED
@@ -0,0 +1,182 @@
1
+ # Changelog
2
+
3
+ ## [1.2.4] โ€” 2026-11-04
4
+
5
+ ### Added
6
+ - ๐Ÿš€ **Mission Control Home Cockpit (`/home`, `!home`, `/dash`)**:
7
+ - Interactive, permanent single-embed remote dashboard providing a comprehensive view of workspace health, git branch status, active IDE document, agent engine, reasoning model, and system hardware telemetry.
8
+ - Multi-row interactive action buttons: `[ ๐Ÿš€ Prompt Modal ]`, `[ ๐Ÿงช Run Tests ]`, `[ ๐ŸŒฟ Git Diff ]`, `[ ๐Ÿ“‚ Workspaces ]`, `[ ๐Ÿ’ฌ New Chat ]`, `[ ๐ŸŽฎ Palette ]`, `[ โšก Models ]`, and `[ ๐Ÿ”„ Refresh ]`.
9
+ - โšก **Contextual Next-Action Predictor Bars**:
10
+ - Automatically appends smart contextual action rows to execution results, eliminating mobile typing friction.
11
+ - After `/sh` fails: 1-tap `[ ๐Ÿž Ask AI to Fix ]` (diagnoses stderr and requests targeted fix), `[ ๐Ÿ”„ Rerun ]`, `[ โšก Git Diff ]`.
12
+ - After `/sh` succeeds: `[ ๐Ÿ“Š Git Status ]`, `[ ๐Ÿš€ Commit & Push ]`, `[ ๐Ÿ”„ Rerun ]`.
13
+ - After `/diff`: `[ ๐Ÿค– Review with AI ]`, `[ โž• Stage All ]`, `[ ๐Ÿš€ Commit ]`, `[ โ†ฉ๏ธ Revert Changes ]`.
14
+ - After `/cat`: `[ โœ๏ธ Edit with AI ]`, `[ โšก Git Diff ]`.
15
+ - ๐Ÿ–ผ๏ธ **2x Retina Visual Diff PNG Cards**:
16
+ - Extends Dis-Gravity's zero-dependency headless Chromium visual engine with `renderDiffToPng`.
17
+ - Converts unified git diffs into high-DPI dark-mode PNG image cards with line-number gutters, green tinted addition lines, red tinted deletion lines, and monospace styling, completely overcoming mobile Discord code wrapping.
18
+ - ๐Ÿงต **Autonomous Task Thread Isolation (`autoThreadTasks`)**:
19
+ - Automatically creates a dedicated Discord thread (e.g. `๐Ÿง  Planning Mode: Build Auth Service`) for long-running autonomous tasks (`/plan`, `/goal`, `/grill`), streaming live steps inside the thread and leaving the main channel pristine.
20
+ - ๐ŸŽ™๏ธ **Voicecoding 2.0 Guard & Safety Countdown**:
21
+ - Added preview confirmation cards for transcribed Discord mobile voice notes.
22
+ - Includes a 4-second auto-execute countdown with `[ โšก Confirm & Run ]`, `[ โœ๏ธ Edit Prompt ]`, and `[ ๐Ÿ›‘ Cancel ]` buttons.
23
+ - Automatically pauses auto-countdown if high-risk destructive operations (`rm -rf`, `git reset --hard`, `drop table`, `del /f`) are detected.
24
+ - ๐Ÿ“ **Discord Native Mobile Modals**:
25
+ - `modal:custom_prompt`: Ergonomic multi-line modal dialog for drafting long coding prompts comfortably on mobile.
26
+ - `modal:git_commit`: 1-tap commit message modal with optional push toggle.
27
+ - ๐Ÿ”” **Urgent Push Mention on Action Approvals (`urgentMentionOnApproval`)**:
28
+ - Pings the authorized Discord user ID (`<@userId>`) when the AI agent is blocked waiting for human approval, triggering native mobile vibration and push alerts.
29
+ - โ†ฉ๏ธ **1-Tap Rollback & Workspace Checkpoints**:
30
+ - Automatic git stash checkpoints before file modifications with interactive `[ โ†ฉ๏ธ Revert Changes ]` button for instant, risk-free rollbacks.
31
+
32
+ ## [1.2.3] โ€” 2026-10-28
33
+
34
+ ### Added
35
+ - ๐Ÿ“ฑ **Mobile IDE Connection & Control SEO Architecture**:
36
+ - Full landing page overhaul targeting *"how can I connect my IDE to mobile"* and *"how to control IDE with mobile"*.
37
+ - Step-by-step Google Featured Snippet numbered guide (`#how-to-connect`).
38
+ - Google Schema.org `HowTo` and `FAQPage` JSON-LD graphs with exact-match search queries.
39
+ - Mobile control capability matrix (`#how-to-control`) highlighting 1-tap 38ms approvals, remote `/sh` terminal, and real-time step streaming.
40
+
41
+ ### Fixed
42
+ - ๐Ÿ›ก๏ธ **Action Approval Button Resolution & Interaction Reliability**:
43
+ - **Radio Option Priority in Prompt Dialogs**: Restructured `answerPrompt` to evaluate multi-choice radio options before generic action buttons, preventing false "Submit" clicks when radio options are present.
44
+ - **Prompt Button State Bypass**: Removed blocking `this.state !== "idle"` check in prompt button handler, allowing immediate 38ms DOM clicks even during background processing.
45
+ - **False-Positive Prompt Elimination**: Scoped `getActivePrompt` and `answerPrompt` strictly to modal dialogs (`[role="dialog"]`, `.monaco-dialog-box`, `.modal-container`, `.notification-toast`, and approval cards), filtering out status bar indicators ("0" with aria "No Problems"), accessibility elements ("No more older messages"), and chat input stop/cancel buttons ("Cancel (Ctrl+D)").
46
+ - **Graceful Busy Agent Message Queueing**: Eliminated `Error: Inject failed: agent_busy` crash when messages are sent while the IDE agent is active. Incoming Discord messages are now queued with position status notifications and dispatched automatically once the IDE agent completes its task.
47
+ - **Browser & Action Approval Dialog Matching**: Enhanced `getActivePrompt` and `answerPrompt` to reliably capture and interact with modal approval dialogs (`[role="dialog"]`, `.monaco-dialog-box`, and dialog buttons) including `Always Allow`, `Deny`, `Allow`, `Cancel`, `Proceed`, `Run`, and `Skip`.
48
+ - **Numeric & Clean Text Button Mapping**: Normalized button labels to strip leading emojis/icons, ensuring both direct Discord button clicks (`Always Allow`, `Deny`) and numbered chat replies (`1`, `2`) resolve accurately without index offset drift.
49
+ - **Session Preservation on Prompt Response**: Added `isPromptResponse` flag to prevent `processMessage` from triggering `createNewConversation()` when answering prompt approvals in the main channel, preserving pending prompts and active sessions.
50
+ - **Multi-Choice Radio Value Mapping**: Extended `answerPrompt` to check option IDs, option values, radio values, and label text for seamless selection on complex question prompts.
51
+ - **Unblocked MCP & Claude Desktop Responses**: Restructured `nU` response filter to prevent false-positive drops on legitimate assistant messages mentioning `mcpServers`, Claude Desktop configuration, or tokens. Constrained boilerplate filtering strictly to short (< 300 chars) exact IDE dialog headers, preserving markdown code blocks and explanations.
52
+ - **Silent Drop Elimination**: Added defensive fallback logging and notice dispatch in `processMessage` so mobile Discord users are never left hanging if response filtering triggers.
53
+
54
+ ## [1.2.2] โ€” 2026-10-27
55
+
56
+ ### Added
57
+ - ๐Ÿช„ **Frictionless Onboarding Engine for Claude Desktop (`.mcpb` / `.dxt`)**:
58
+ - **Zero-Friction Startup Auto-Bootstrap**: When only `bot_token` is provided in Claude Desktop settings, `mcp/server.js` automatically auto-provisions Message Content Intent, inspects bot application, detects joined Discord servers, auto-creates a locked private `#dis-gravity` channel, auto-whitelists the owner's Discord ID, and connects live without requiring manual channel ID copying.
59
+ - **New MCP Tool `setup_discord_bridge`**: Enables configuring Dis-Gravity interactively directly from Claude chat. Validates token format, auto-provisions intents, opens browser OAuth invite if needed, awaits server join, creates `#dis-gravity`, whitelists the owner, and connects live.
60
+ - **Optimized User Configuration**: Updated `manifest.json` marking `channel_id` optional with automatic private channel creation.
61
+
62
+ ## [1.2.1] โ€” 2026-10-27
63
+
64
+ ### Added
65
+ - ๐Ÿš€ **Feature Gap Closure between `.vsix` and Claude Desktop `.mcpb` / `.dxt`**:
66
+ - **Concurrent Discord Gateway WebSocket**: Runs `discord.js` directly within Node's event loop in `mcp/server.js`, enabling real-time inbound Discord commands without blocking stdio JSON-RPC.
67
+ - **Discord Remote Slash Commands**: Execute commands directly from Discord into the Claude workspace via `/sh <cmd>`, `/diff`, `/cat <file>`, `/tree`, `/info`, `/status`, and `/help`.
68
+ - **Interactive Status Dashboard Buttons**: Interactive Discord button components (`๐Ÿ”„ Refresh`, `๐ŸŒฟ Git Diff`, `๐Ÿ–ฅ๏ธ System Info`) in `/status` embed replies.
69
+ - **2x Retina PNG Table Cards**: High-DPI table card rendering using host headless browsers (Edge/Chrome) with zero native dependencies, automatically attached to Discord notifications and slash commands.
70
+ - **6 New MCP Tools for Claude Desktop**:
71
+ - `run_workspace_command`: Terminal execution with optional mobile confirmation.
72
+ - `get_git_diff`: Live Git status and unified diff stat streaming.
73
+ - `render_table_card`: Programmatic table-to-image rendering.
74
+ - `read_workspace_file`: Workspace file inspection with path traversal protection.
75
+ - `list_workspace_tree`: Workspace directory structure generator.
76
+ - `get_incoming_messages`: Inbound Discord prompt and instruction queue.
77
+ - **MCP Resources**: Exposed `discord://chat` and `discord://latest-prompt` resources.
78
+ - **Shared Core Engine (`lib/core.js`)**: Modular library for fail-closed security whitelist validation, path traversal firewall, headless rasterization, and hardware telemetry.
79
+
80
+ ## [1.2.0] โ€” 2026-10-27
81
+
82
+ ### Added
83
+ - ๐Ÿช„ **Frictionless Guided Onboarding Wizard (`npx dis-gravity setup` / Command Palette: `Dis-Gravity: Run Setup Wizard`)**: Reduces onboarding from ~15 multi-step manual tasks down to a ~60โ€“90 second automated wizard requiring only one manual action: pasting the Discord bot token.
84
+ - โšก **Automated Message Content Intent Provisioning**: Dis-Gravity automatically enables `GATEWAY_MESSAGE_CONTENT_LIMITED` (1 << 19) via Discord's REST API (`PATCH /applications/@me`), eliminating the #1 silent setup failure where messages could not be read.
85
+ - ๐Ÿ” **VS Code SecretStorage Integration**: Migrated Discord Bot Token storage from plain-text `settings.json` to VS Code `SecretStorage` (`context.secrets`) with automatic zero-loss migration for existing configurations.
86
+ - ๐Ÿ”’ **Automated Private Channel & Security Setup**: Automatically detects server authorization, creates a locked private `#dis-gravity` channel (accessible strictly to the bot and server owner), auto-whitelists the app owner's user ID, and delivers an instant welcome notification.
87
+ - ๐Ÿ’พ **CLI Secure Config Management**: Automatically saves and loads credentials in `~/.dis-gravity/config.json` with strict `0600` user-only permissions.
88
+ - โšก **Interactive Sidebar Setup Card**: Embedded a one-click setup card in the Dis-Gravity webview panel to launch setup directly from the IDE sidebar.
89
+ - ๐Ÿงช **Native Test Suite**: Added zero-dependency automated unit test suite using Node.js native test runner (`node --test`).
90
+
91
+ ### Fixed
92
+ - ๐Ÿ› **Antigravity IDE Proceed Button DOM Matching**: Fixed an issue where Antigravity IDE confirmation button keyboard shortcut labels (`Proceed\nTab`) failed strict button text regex matching.
93
+ - ๐Ÿ› **Discord Action Approval Numeric ID Mapping**: Fixed issue where tapping interactive Discord approval buttons sent numeric option IDs (`optId: "1"`) that failed to resolve against prompt action buttons, preventing plan execution from Discord.
94
+ - ๐Ÿ’ฌ **Seamless Chat Fallback for Custom Prompt Responses**: Added graceful chat injection fallback so custom instructions typed in Discord are seamlessly delivered to the agent rather than erroring out.
95
+
96
+ ## [1.1.0] โ€” 2026-10-23
97
+
98
+ ### Added
99
+ - ๐Ÿš€ **Standalone CLI Daemon (`npx dis-gravity` / `bin/dis-gravity.js`) (Gaps M-01 & M-02)**: Run Dis-Gravity outside of VS Code as an independent background daemon! Seamlessly bridges Discord to JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, CLion), Neovim, Emacs, Zed, and headless remote servers with full remote shell execution, git inspection, file exploration, and CLI AI agents (`agy`, `claude`, `aider`, `shell`).
100
+ - ๐Ÿง  **Autonomous ReAct Agent Loop for VS Code Copilot (Gap M-03)**: In standard VS Code, `CopilotAgentProvider` runs a full autonomous ReAct agent loop (`view_file`, `edit_file`, `run_command`, `git_diff`, `list_dir`) with live step streaming and interactive Discord action buttons (`[ ๐ŸŸข Allow ]`, `[ ๐Ÿ”ด Deny ]`) for sensitive modifications!
101
+ - ๐Ÿ–ฅ๏ธ **Host Health & Workspace Dashboard (`/info`, `/workspace`, `!info`) (Gap G-10)**: Real-time host hardware and project health dashboard in Discord: active project, git branch, dirty files count, open editor tabs, host OS, CPU specs, memory utilization, and system uptime with 1-click action buttons.
102
+ - ๐Ÿ–ผ๏ธ **Headless Table PNG Rendering Fallback (Gap M-07)**: Headless browser (Edge / Chrome) rasterizer fallback ensuring high-resolution visual table PNG cards render reliably even in environments without an open CDP port (VS Code LM, CLI, and Standalone Daemon).
103
+ - ๐ŸŒ **Cursor Mode Chips & Codebase Mentions (Gap M-04)**: Cursor Composer mode switching (`/plan`, `/edit`) and codebase context mention integration.
104
+ - ๐ŸŒ **Windsurf Cascade Webview & Iframe Discovery (Gap M-05)**: Deep iframe and webview traversal to discover Cascade input in Windsurf.
105
+ - โš™๏ธ **Multi-IDE Settings & Port Discovery (Gaps M-08 & M-09)**: Dedicated configuration keys for `cursorPort`, `windsurfPort`, `cliAgentPath`, `enableCopilotReAct`, and `copilotMaxToolSteps`.
106
+ - ๐ŸŒ **Multi-IDE Full Feature Parity (`agentProvider: auto | antigravity | cursor | windsurf | copilot | cli`)**: Upgraded placeholder provider stubs to full production-grade autonomous implementations across all major IDEs (Cursor AI, Windsurf, VS Code Copilot, Universal Terminal / CLI Agent).
107
+ - ๐Ÿ–ผ๏ธ **High-Resolution Visual Table Image Rendering & Mobile Cards (`/table`, `!table`)**: Eliminates the mobile Discord codeblock line-wrapping problem that scrambles multi-column ASCII tables. Dynamically renders Markdown tables into crisp, high-DPI (2x retina) PNG image cards via Chromium's HTML5 Canvas, styled with Discord's dark palette, rounded containers, bold headers, and colored status chips.
108
+ - โณ **Live Step Streaming & Tool Observability (G-05)**: Replaced static timer with dynamic, real-time step streaming in Discord status messages. Automatically inspects DOM tool blocks, active spinners, task cards, and thinking containers to display active tool execution steps.
109
+ - ๐Ÿ›ก๏ธ **Tool Approvals & Action Confirmation Dialogs (G-08)**: Full remote bridging for tool execution approvals, permission prompts, and executable plan proceed cards. Renders native color-coded Discord action rows (`[ ๐ŸŸข Proceed / Allow ]`, `[ ๐Ÿ”ด Cancel / Deny ]`, `[ ๐Ÿ›ก๏ธ Always Allow ]`).
110
+ - ๐Ÿ“ฆ **Artifact Discovery & Asset Delivery (`/artifact`, `/get`, `!artifact`, `!get`) (G-09)**: Discover and download AI-generated artifacts (plans, walkthroughs, patches, diagrams, logs) directly in Discord.
111
+ - ๐Ÿ›ก๏ธ **Security Whitelist Alerts**: Clear on-boot warnings and `/status` notifications when `allowedUsers` is unconfigured.
112
+ - ๐Ÿ“– **Comprehensive 3-Minute Quickstart Guide**: Detailed Discord Bot setup with Privileged Gateway Intents (Message Content Intent) troubleshooting and platform-specific shortcut launch guides.
113
+
114
+ ### Fixed
115
+ - ๐Ÿ“‚ **Multi-Window Discord Leadership Handoff & Dynamic Standby Polling**: Resolved issue where switching workspace via /action to an already open IDE window left the Discord bridge running on the old workspace. Implemented dynamic standby polling across inactive windows, multi-window detection via storage.json and CDP, automated leader handoff signals via shared storage, and active window focusing via CDP Page.bringToFront.
116
+ - ๐Ÿ“‚ **Fixed Workspace Opening via /action & Added Interactive Workspace Switcher**: Fixed failure where selecting workbench.action.openWorkspace via /action opened a desktop modal dialog on the host PC and failed with Error: Canceled. Added a high-performance recent workspace discovery engine (state.vscdb & storage.json), direct workspace autocomplete options in /action (๐Ÿ“‚ Open Workspace: <Name>), an interactive Discord Select Menu & 1-click button picker (ction:select_workspace, ction:open_ws:<path>), and chat shortcut commands (!workspace open, !openws, !switchws).
117
+ - ๐Ÿ–ผ๏ธ **Fixed Missing Visual Table Images in Discord**: Resolved premature table string replacement before image extraction and relaxed CDP target evaluation requirements.
118
+ - ๐Ÿง  **Fixed `/plan`, `/goal`, and `/grill` Not Activating IDE Modes**: Automatically selects and inserts native Lexical `contextScopeItemMention` command chips into the editor before prompt submission.
119
+
120
+ ## [1.0.0] โ€” 2026-10-20
121
+
122
+ ### Added
123
+ - ๐ŸŒฟ **Git Status & Review (`/git status`, `!git status`)**: Remote inspection of working tree branches, ahead/behind status, staged changes, unstaged changes, and untracked files with interactive action buttons (`[ ๐Ÿ” View Diff ]`, `[ โœ… Stage All ]`, `[ ๐Ÿš€ Push ]`, `[ ๐Ÿ“Š Status ]`).
124
+ - ๐Ÿ” **Colored Git Diff Inspector (`/diff`, `/git diff`, `!diff`)**: Full git diff inspection with Discord `diff` syntax highlighting (`+` green, `-` red). Includes diffstat summary, targeted file diffs (`/diff <file>`), staged change support (`staged: true`), and automatic `.patch` file generation and attachment for diffs exceeding message length limits.
125
+ - ๐Ÿ“œ **Git Commit Log (`/git log`, `!git log`)**: View recent commit hashes, summaries, author names, and relative timestamps directly from Discord.
126
+ - ๐Ÿ“ **Remote File Inspection (`/cat`, `!cat`)**: Inspect workspace files remotely with language-specific syntax highlighting, line numbers, and optional line range slicing (`/cat <path> [startLine] [endLine]`). Automatically detects binary files and attaches oversized text files.
127
+ - ๐ŸŒณ **Workspace Directory Tree (`/tree`, `!tree`)**: Visual ASCII directory tree generator with customizable depth (`depth: 1-5`, default: 2), directory/file counters, and automated noise filtering (`node_modules`, `.git`, `.disgravity`, `dist`, build caches).
128
+ - ๐Ÿ“‚ **Remote File Opener (`/open`, `!open`)**: Open any file in the active editor tab of Antigravity IDE directly from Discord.
129
+ - ๐Ÿ“Ž **Inbound Attachment Downloader & Multimodal Prompt Ingestion**: Automatically downloads image screenshots, crash logs, and code files sent in Discord messages directly into `.disgravity/attachments/` in the workspace root, tagging them into the agent prompt (`[Attached Image: ...]`, `[Attached File: ...]`) for full vision and context analysis.
130
+ - ๐Ÿ’ป **Remote Terminal & Shell Runner (`/sh`, `!sh`, `$`)**: Execute any shell command directly in the host workstation workspace root from Discord. Outputs command exit code, execution duration, and formatted stdout/stderr code blocks with auto-truncation for Discord message limits.
131
+ - ๐Ÿ›ก๏ธ **User Authorization Whitelist (`allowedUsers`)**: Protect your IDE from unauthorized server members. Only configured Discord user IDs can execute commands, trigger actions, or interact with the AI assistant. Unregistered users receive an explicit ephemeral rejection.
132
+ - ๐Ÿงต **Persistent Conversation Thread Mapping**: Thread-to-conversation bindings are now automatically saved to VS Code `workspaceState` and restored on extension launch, surviving window reloads (`!reload`), IDE restarts, and crashes.
133
+ - โš™๏ธ **Allowed Users Sidebar Setting**: Added Allowed Users configuration to both `package.json` settings and the Dis-Gravity webview sidebar panel with auto-save.
134
+ - ๐ŸŽฎ **1-Click IDE Command Palette Dashboard (`/palette`)**: Complete remote control for triggering any VS Code / Antigravity command from Discord with 1-click native buttons. Includes 25 interactive buttons per view across Featured, Developer (`Reload Window`, `Restart Host`, `DevTools`, `Settings`, `Keybindings`, `Process Explorer`), Terminal (`New Terminal`, `Toggle Term`, `Clear Term`, `Kill Term`, `Split Term`), Files (`Save All`, `Close All`, `Reopen Closed`, `New File`, `Save File`), Git (`Sync`, `Pull`, `Push`, `Stage All`, `Unstage All`), and View categories. Features instant window reload notice before restarting.
135
+ - โšก **Live Command Palette Autocomplete & Action Execution (`/action`)**: Registered `/action <command>` slash command with live real-time Discord autocomplete querying both curated friendly titles and all live registered commands (`vscode.commands.getCommands()`) in the IDE.
136
+ - ๐Ÿ” **Interactive Command Search Modal**: Added `[ ๐Ÿ” Search Any... ]` button that opens a native Discord modal popup to search across all ~1,000+ IDE commands by keyword and dynamically generates 1-click buttons for the matching search results.
137
+ - ๐Ÿš€ **Command Palette Text Shortcuts**: Instant chat shortcuts for `!palette [category]`, `!reload` / `!restart` (Reload Window), `!save` (Save All), `!terminal` (New Terminal), and `!run <commandId>` / `!cmd <commandId>` (arbitrary command ID execution).
138
+ - ๐Ÿง  **AI Reasoning Effort Switcher (Low / Medium / High)**: Full remote control for models with dedicated thinking/reasoning effort levels (such as Gemini 3.8 Flash, Claude Opus, and Claude Sonnet). Added `/effort <level>` slash command with autocomplete choices (`Low`, `Medium`, `High`), expanded `/models` dropdown menu with individual model+effort variations, added 1-tap quick action buttons (`[ ๐ŸŸข Low Effort ]`, `[ ๐ŸŸก Medium Effort ]`, `[ ๐Ÿ”ด High Effort ]`) to `/status` and `/models`, and supported text command shortcuts (`!effort high`, `!low`, `!medium`, `!high`, `!model <name> <effort>`).
139
+ - โšก **Native Discord Slash Commands (`/`) & IDE Actions Bridge**: Registered Discord application commands (`/plan`, `/goal`, `/grill`, `/stop`, `/status`, `/models`, `/model`, `/effort`, `/new`, `/help`) that appear in Discord's native `/` autocomplete command picker with instant guild registration.
140
+ - ๐Ÿ›‘ **Emergency Agent Cancellation**: Added `/stop` slash command and text shortcut (`!stop`, `cancel`) that triggers CDP to immediately click the IDE's cancel button (`input-send-button-cancel-tooltip`), stopping long-running or runaway agent tasks remotely.
141
+ - โšก **Interactive Model Switcher Dropdown**: Attached a Discord `StringSelectMenu` to `/models` commands allowing one-tap AI model switching directly from Discord desktop and mobile.
142
+ - ๐Ÿ“Š **Rich Status & Control Panel**: Added `/status` command displaying real-time CDP bridge connection, active AI model, token usage, agent busy/idle state, and quick action buttons (`[ ๐Ÿ›‘ Stop Agent ]`, `[ ๐Ÿ”„ New Chat ]`, `[ โšก Models ]`).
143
+ - ๐Ÿ’ฌ **Text-Command Fallbacks**: Full support for typing `/cmd` or `!cmd` in regular chat messages and threads (`!plan`, `!goal`, `!grill`, `!stop`, `!status`, `!models`, `!new`, `!help`).
144
+ - ๐Ÿ“‹ Native Discord interactive components for IDE prompts: tap options directly via Discord Buttons (color-coded for Yes/No/Options), native Modal popup for custom write-in responses, and Skip button with instant double-click protection.
145
+ - ๐Ÿ“‹ Interactive prompt support: forward selection and confirmation prompts to Discord and submit choices back to IDE
146
+
147
+ - ๐Ÿ–ผ๏ธ **Fixed Missing Visual Table Images in Discord**: Resolved a dual-issue bug that prevented Markdown tables from attaching their PNG image cards. Previously, `cleanResponse` prematurely called `formatMarkdownTablesForDiscord` before passing the text to `sendToThread`/`sendMessage`, replacing markdown table syntax with placeholder text before table extraction could run. Additionally, fixed the CDP table renderer (`renderTableToPng`) by removing strict execution-context restrictions (evaluating in default context first), correcting WebSocket target discovery, waiting strictly for response message ID 9911, and adding defensive fallback to mobile cards (`renderTableAsCards`) so missing image promises are never made if image generation fails.
148
+ - ๐Ÿง  **Fixed `/plan`, `/goal`, and `/grill` Not Activating IDE Modes**: Previously sent slash commands as raw text strings without creating Antigravity's Lexical decorator chips, leaving the IDE in default execution mode. Now automatically drives the Lexical typeahead to select and insert the native `contextScopeItemMention` command chip (attaching the IDE's full system prompt instructions for Planning Mode, Goal Mode, etc.) before inserting the prompt and submitting.
149
+ - ๐Ÿ› Fixed `/models` failure ("Model dialog did not open"): updated selector to target Antigravity IDE's Base-UI `[data-testid="model-selector-panel"]` and `[role="menu"]` container, added detection for `div[role="menuitem"]` items and effort submenus (High/Medium/Low), prevented dropdown toggling when already open, and improved model alias resolution.
150
+ - ๐Ÿ› Fixed model dialog prematurely opening and closing on `/models`: prevented double-click toggle race condition by polling for panel visibility (6 attempts @ 100ms) after DOM trigger click before falling back to CDP mouse clicks, stripped trailing badge text from model names, provided explicit error diagnostics when parsing items, and packaged/installed the updated extension directly into Antigravity IDE.
151
+ - ๐Ÿ”„ Added background task & autonomous watchdog: automatically captures and delivers completion responses and follow-up turns (e.g. after background terminal tasks or reactive agent wakeups) to the active Discord thread.
152
+ - ๐Ÿ“‹ Added idle prompt detection: automatically discovers and forwards interactive question prompts to Discord even when triggered outside direct Discord message turns.
153
+ - ๐Ÿ› Fixed prompt question text missing in Discord by properly stripping style, script, and SVG noise and correctly targeting rich-text question containers.
154
+ - ๐Ÿ› Fixed missing file paths, directory chips, and symbol links in Discord responses caused by dropping `<button>` elements during HTML-to-Markdown conversion.
155
+ - ๐ŸŽจ Added table markdown parsing and preserved code block syntax highlighting language.
156
+ - ๐Ÿ› Fixed assistant status messages (analyzing, completed, queue, error, and webview typing messages) to display in English instead of Italian.
157
+ - ๐ŸŽจ Enhanced Discord visual fidelity to match IDE chat: normalized H1โ€“H3 headings and adapted H4+ subheadings for Discord markdown, converted horizontal dividers to clean visual rules (`โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€`), preserved task list checkboxes (`โœ…` / `โฌœ`), and formatted GitHub alert blockquotes (`> โ„น๏ธ **NOTE:**`, `> โš ๏ธ **WARNING:**`).
158
+ - ๐Ÿ›ก๏ธ Hardened noise filter (`cleanResponse` / `RC`): strictly scoped system status patterns to prevent dropping bulleted list items and status translation arrows (`โณ`, `โœ…`).
159
+ - โœ‚๏ธ Markdown-aware message chunking (`sU`): balanced unclosed code block fences across 2000-character chunks to prevent broken syntax highlighting.
160
+ - ๐Ÿ” Multi-attempt chat DOM extraction: prioritized conversation turn traversal to reliably extract Markdown without falling back to plain text `innerText`.
161
+ - ๐Ÿ›ก๏ธ Resolved duplicate extension conflict with legacy `anonk.antigravity-discord-custom` and protected `registerWebviewViewProvider` against collision crashes.
162
+
163
+ ### Removed
164
+ - โŒ Removed auto-click / auto-accept background clicking mechanism
165
+
166
+ ## [0.1.0] โ€” 2026-02-26
167
+
168
+ ### Added
169
+
170
+ - ๐Ÿค– Discord โ†” AI agent bridge via Chrome DevTools Protocol (CDP)
171
+ - โœ… Auto-accept: automatically clicks Accept / Run / Always Allow buttons (always-on when CDP is connected)
172
+ - ๐Ÿ“‹ Message queue: concurrent Discord messages are queued (up to 5) instead of rejected
173
+ - ๐ŸŽจ Rich markdown formatting on Discord: code blocks with syntax highlighting, bold, italic, inline code, lists, blockquotes
174
+ - โš™๏ธ Settings GUI in the sidebar panel with tabbed interface (Chat / Settings)
175
+ - ๐Ÿ“ก Live connection status indicators (Discord + CDP + Auto-Accept) with green/red dots
176
+ - ๐Ÿงต Reasoning threads on Discord for each processed message
177
+ - โœ‚๏ธ Smart message splitting for Discord's 2000-character limit
178
+ - ๐ŸŽจ VS Code theme integration for chat and settings panels
179
+ - ๐Ÿ”„ Reconnect command and button
180
+ - ๐Ÿ”‡ Noise filtering: strips Antigravity UI chrome and auto-accept scan logs from responses
181
+ - ๐Ÿ” First-message retry: automatically retries if the agent doesn't start processing
182
+ - Auto-save settings with debounce