fix(extension): restore AI Response Content capture by patching DOM extraction, CSP connect-src, and TS regex literal serialization
This commit is contained in:
16
scratch_diag_7.py
Normal file
16
scratch_diag_7.py
Normal 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())
|
||||
Reference in New Issue
Block a user