Commit Graph

147 Commits

Author SHA1 Message Date
CD
c3964f8e7a fix(bridge): rawRPC direct polling + SDK analysis docs + trial-and-error log
- Root cause: getDiagnostics.lastStepIndex is stale, SDK EventMonitor cannot detect real-time step changes
- Fix: Direct rawRPC('GetCascadeTrajectorySteps') polling every 5s
- Relay: PLANNER_RESPONSE, NOTIFY_USER, TASK_BOUNDARY, WAITING steps
- Added: docs/discord-bridge-analysis.md (full SDK architecture analysis)
- Added: docs/devlog/entries/20260308-003.md (trial-and-error history)
- Added: antigravity-sdk-main/ source reference
- Vikunja: #252 done, #253 created, #251 commented
2026-03-08 07:08:25 +09:00
CD
0c3d6cdb6d fix(bridge): step structure discovery + approval watcher + AI text relay
- plannerResponse.response = user-facing text field (confirmed)
- step.runCommand.commandLine = command (not toolCall.argumentsJson)
- Add response watcher: bridge/response/ → ResolveOutstandingSteps RPC
- Fix AI text: use modifiedResponse/response, last-wins, dedup
- Fix flooding: slice(-delta) to skip old steps on reload
- Bot: 404 cache invalidation for deleted Discord channels
2026-03-08 02:29:17 +09:00
CD
876143d397 fix(bridge): align Extension protocol with Bot — 3 mismatches fixed
- Snapshot: response/chat_snapshot.txt → chat_snapshots/*.json
- Command field: cmd.message → cmd.text (matches Bot.write_command)
- RPC: GetConversation (404) → GetCascadeTrajectorySteps
- Bundle sql-wasm.js + sql-wasm.wasm into VSIX (45KB→379KB)
- Handle consumed flag, clean 38 stale commands
- Add extractAIText helper with fallback chain
2026-03-08 01:14:20 +09:00
CD
4bb72921ae feat: embed antigravity-sdk source — zero npm dependencies (45KB VSIX) 2026-03-08 00:45:07 +09:00
CD
bc2fca0da4 feat: complete SDK rewrite — antigravity-sdk v1.6.0 integration (1155→280 lines) 2026-03-08 00:38:45 +09:00
CD
8c0736fe2b probe: Trial E2 — Electron webContents + undocumented VS Code commands 2026-03-07 23:38:25 +09:00
CD
87094e00b0 feat: subscribeToStream on new cascade — real-time StreamCascadeReactiveUpdates subscription 2026-03-07 23:23:16 +09:00
CD
12131b9103 probe: Trial D3 — streaming RPC with protocol_version=1 + cascadeId combined 2026-03-07 23:05:54 +09:00
CD
4d1bb7a443 probe: Trial D2 — fixed protobuf encoding (protocol_version=1, cascadeId, ConnectRPC framing) 2026-03-07 22:58:56 +09:00
CD
2794a26c77 probe: Trial D — streaming RPCs + JSON retry with live auth context 2026-03-07 22:52:30 +09:00
CD
d213c2f0f5 probe: Trial B2 — getChromeDevtoolsMcpUrl, getWsTargets, remote-debugging-port scan 2026-03-07 21:22:23 +09:00
CD
7ba1e1b977 probe: Trial A (extension exports) + Trial B (chat commands) — systematic approach 2026-03-07 20:52:33 +09:00
CD
0d90b257c3 feat: extractFromLogs for AI response text, remove failed RPCs, summary fallback 2026-03-07 20:31:58 +09:00
CD
b0c2f865c8 feat: try LoadTrajectory + multiple RPCs for actual AI response text, summary as fallback 2026-03-07 20:15:27 +09:00
CD
7415ab7890 feat: immediately relay summary when new conversation detected with AI response 2026-03-07 20:06:19 +09:00
CD
41f90b3b15 fix: track ALL trajectories, detect new conversations, summary fallback per-traj 2026-03-07 19:55:34 +09:00
CD
0c9664542e fix: use getDiagnostics for cascade IDs + summary fallback + stop poll spam 2026-03-07 19:43:31 +09:00
CD
dfc76a9b4b fix: fallback chain for step retrieval (5 method+field combos) 2026-03-07 19:32:32 +09:00
CD
b6adeff402 fix: use real API response (trajectoryId, current:true, step count diffing) 2026-03-07 19:25:48 +09:00
CD
be6fae71de fix: correct RPC method names from LS binary (Heartbeat, GetUserTrajectoryDescriptions, GetCascadeTrajectorySteps) 2026-03-07 19:00:11 +09:00
CD
f2ed431aa5 fix: LS ConnectRPC use HTTPS when detected, not port heuristic 2026-03-07 18:31:13 +09:00
CD
91b3a7ef20 feat: LS ConnectRPC bridge for AI response relay to Discord 2026-03-07 18:15:01 +09:00
CD
150967deee probe: getManagerTrace + getWorkbenchTrace + LS port discovery 2026-03-07 18:04:18 +09:00
CD
952883d3d2 probe: getDiagnostics structure discovery for AI response relay 2026-03-07 17:54:45 +09:00
CD
67619e8950 docs: mid-session devlog + entry 002 (sendPromptToAgentPanel discovery) 2026-03-07 17:39:00 +09:00
CD
befa5d7c26 feat: start scanner loops, remove debug enum, enable chat response relay to Discord 2026-03-07 17:29:23 +09:00
CD
8d5e59c60f feat: use sendPromptToAgentPanel + add 171 command reference doc 2026-03-07 17:16:19 +09:00
CD
c85bb64c03 debug: enumerate all antigravity + chat commands at startup 2026-03-07 17:04:26 +09:00
CD
ae0fd78f7a fix: separate panel open and sendTextToChat with 1s delay, try true first 2026-03-07 16:42:21 +09:00
CD
180dba18be fix: try openNewConversation + sendTextToChat, clipboard paste as fallback 2026-03-07 16:31:44 +09:00
CD
c688812089 fix: try sendTextToChat with false param (plain text) first, fix try/catch structure 2026-03-07 16:17:53 +09:00
CD
e4eb7565ea feat: use antigravity.sendTextToChat native API for chat submission 2026-03-07 16:09:05 +09:00
CD
7f81528c18 fix: try carriage return and Enter keybinding for chat submit 2026-03-07 15:59:31 +09:00
CD
5780896273 fix: dynamic chat command discovery + removed toast notification 2026-03-07 15:53:48 +09:00
CD
35f39abf39 fix: simulate Enter key after clipboard paste for chat submission 2026-03-07 15:29:12 +09:00
CD
b42475c610 fix: chat input submit via acceptInput + query param, clipboard paste fallback 2026-03-07 15:24:32 +09:00
CD
02e9e4d424 fix: bot text confirmation on relay + rename @bridge to @gravity + channel dedup 2026-03-07 15:15:56 +09:00
CD
7f15e98e85 fix: try multiple chat open commands for Antigravity compatibility + always consume commands 2026-03-07 15:07:45 +09:00
CD
35ee916440 feat: chat capture (@bridge participant, onDidChangeTextDocument), !stop command, chat snapshot scanner 2026-03-07 14:45:44 +09:00
CD
3c84cf5b4b fix: connect session shows task.md titles + auto-connect option for new projects 2026-03-07 14:20:01 +09:00
CD
98bb037c81 feat: session connect command + auto-registration + bridge/register protocol 2026-03-07 14:15:53 +09:00
CD
887850d0c9 feat: extension detects project name from git remote URL (priority over folder name) 2026-03-07 14:09:27 +09:00
CD
2c56fc7607 feat: multi-project routing — project_name in bridge, per-project channels, extension filtering 2026-03-07 14:07:40 +09:00
CD
2a4ef8d0d9 fix: extension fs.watch accepts all event types + debounce (Windows compatibility) 2026-03-07 14:00:08 +09:00
CD
de6f1c7ffd feat(phase4): !auto on/off 명령어 - Discord에서 Antigravity 자동승인 토글 2026-03-07 13:01:07 +09:00
CD
1af5fb7bd6 feat: extension VSIX 패키지 빌드 (gravity-bridge-0.1.0) 2026-03-07 11:49:06 +09:00
CD
52fed8c1d3 feat(phase3): VS Code Extension 스캐폴드 - bridge 연동 (approve/reject/text relay) 2026-03-07 11:32:30 +09:00