Private
Public Access
0
0

Antigravity is dog shit.

This commit is contained in:
2026-05-20 07:51:58 -04:00
parent 180dc167d2
commit e2305ff49a
15 changed files with 123 additions and 50 deletions
+6 -2
View File
@@ -229,8 +229,10 @@ def build_file_items(base_dir: Path, files: list[str | dict[str, Any]]) -> list[
if ast_mask:
mask_sections = []
from src import mcp_client
for symbol, mode in ast_mask.items():
for symbol_raw, mode in ast_mask.items():
if mode == "hide": continue
import re
symbol = re.sub(r'\(\d+-\d+\)$', '', symbol_raw)
res = ""
if suffix_lower == ".py":
res = mcp_client.py_get_definition(str(path), symbol) if mode == "def" else mcp_client.py_get_signature(str(path), symbol)
@@ -429,9 +431,11 @@ def build_tier3_context(file_items: list[dict[str, Any]], screenshot_base_dir: P
if ast_mask and not item.get("error"):
mask_sections = []
from src import mcp_client
for symbol, mode in ast_mask.items():
for symbol_raw, mode in ast_mask.items():
if mode == "hide":
continue
import re
symbol = re.sub(r'\(\d+-\d+\)$', '', symbol_raw)
res = ""
if path.suffix == ".py":
res = mcp_client.py_get_definition(str(path), symbol) if mode == "def" else mcp_client.py_get_signature(str(path), symbol)