fix(extension): restore AI Response Content capture by patching DOM extraction, CSP connect-src, and TS regex literal serialization

This commit is contained in:
Variet Worker
2026-04-10 21:10:33 +09:00
parent 58887f6933
commit a99c283656
22 changed files with 744 additions and 592 deletions

16
scratch_diag_7.py Normal file
View File

@@ -0,0 +1,16 @@
import asyncio
import json
from mcp_client import MCPClient
async def main():
client = MCPClient()
await client.connect()
try:
# Get raw API response
resp = await client.request("EvaluateCascadeLspMethods", {"method": "GetDiagnostics", "params": "{}"})
print(json.dumps(resp, indent=2))
finally:
await client.close()
if __name__ == "__main__":
asyncio.run(main())