AI chats fail if Terminal is visible

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Since latest update, if the Terminal is visible at all, chatting with the AI gives a connection error:

Connection failed. If the problem persists, please check your internet connection or VPN

This is across all attempted models. This is regardless of ‘type’ of terminal window or any terminal activity. As soon as I close the terminal, or hide it by switching to view another bottom bar window like ‘output’ or ‘ports’, AI chats work just fine again.

Steps to Reproduce

Chat to AI while terminal is open.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.20 (user setup)
VSCode Version: 1.105.1
Commit: a8d8905b06c8da1739af6f789efd59c28ac2a680
Date: 2025-11-22T14:51:59.472Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26200

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This kind of trigger related to terminal visibility is pretty unusual, and we need to investigate it.

Could you please do the following:

  • Open Dev Tools (Help > Toggle Developer Tools)
  • Go to the Console tab
  • Make the terminal visible
  • Try sending an AI chat message
  • Share any error messages that appear in the console

This will help us understand what’s causing the connection issue when the terminal is visible.

When terminal is visible:

[composer] submitChatMaybeAbortCurrent errored! Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at J5d (workbench.desktop.main.js:50:67651)
    at new UAs (workbench.desktop.main.js:50:71867)
    at new GUe (workbench.desktop.main.js:50:73335)
    at GUe.with (workbench.desktop.main.js:50:72303)
    at SGf.resolveRelativePath (workbench.desktop.main.js:8928:42831)
    at workbench.desktop.main.js:4074:1250
    at Array.map (<anonymous>)
    at Ij.getPopulatedContext (workbench.desktop.main.js:4074:1213)
    at Ij.submitChatMaybeAbortCurrent (workbench.desktop.main.js:4058:8950)
    at async ro (workbench.desktop.main.js:6207:3514)
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:4064
await in submitChatMaybeAbortCurrent
(anonymous) @ workbench.desktop.main.js:52
Srr @ workbench.desktop.main.js:52
C6d @ workbench.desktop.main.js:52
n.value @ workbench.desktop.main.js:52
ro @ workbench.desktop.main.js:6207
await in ro
onSubmit @ workbench.desktop.main.js:6207
he @ workbench.desktop.main.js:6134
onSubmit @ workbench.desktop.main.js:6134
handleSubmit @ workbench.desktop.main.js:6028
(anonymous) @ workbench.desktop.main.js:6028
Cal @ workbench.desktop.main.js:444
(anonymous) @ workbench.desktop.main.js:444
Eal @ workbench.desktop.main.js:444
yX @ workbench.desktop.main.js:444
update @ workbench.desktop.main.js:446
Cal @ workbench.desktop.main.js:444
au @ workbench.desktop.main.js:444
Jzd @ workbench.desktop.main.js:444
(anonymous) @ workbench.desktop.main.js:444
workbench.desktop.main.js:6880 [composer] submitChatMaybeAbortCurrent outer error Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at J5d (workbench.desktop.main.js:50:67651)
    at new UAs (workbench.desktop.main.js:50:71867)
    at new GUe (workbench.desktop.main.js:50:73335)
    at GUe.with (workbench.desktop.main.js:50:72303)
    at SGf.resolveRelativePath (workbench.desktop.main.js:8928:42831)
    at workbench.desktop.main.js:4074:1250
    at Array.map (<anonymous>)
    at Ij.getPopulatedContext (workbench.desktop.main.js:4074:1213)
    at Ij.submitChatMaybeAbortCurrent (workbench.desktop.main.js:4058:8950)
    at async ro (workbench.desktop.main.js:6207:3514) {arch: 'x64', platform: 'win32', channel: 'stable', client_version: '2.1.20', requestId: 'dbaf4a7f-7052-491b-a31d-29bc25e861f8', …}
error @ workbench.desktop.main.js:6880
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:4064
await in submitChatMaybeAbortCurrent
(anonymous) @ workbench.desktop.main.js:52
Srr @ workbench.desktop.main.js:52
C6d @ workbench.desktop.main.js:52
n.value @ workbench.desktop.main.js:52
ro @ workbench.desktop.main.js:6207
await in ro
onSubmit @ workbench.desktop.main.js:6207
he @ workbench.desktop.main.js:6134
onSubmit @ workbench.desktop.main.js:6134
handleSubmit @ workbench.desktop.main.js:6028
(anonymous) @ workbench.desktop.main.js:6028
Cal @ workbench.desktop.main.js:444
(anonymous) @ workbench.desktop.main.js:444
Eal @ workbench.desktop.main.js:444
yX @ workbench.desktop.main.js:444
update @ workbench.desktop.main.js:446
Cal @ workbench.desktop.main.js:444
au @ workbench.desktop.main.js:444
Jzd @ workbench.desktop.main.js:444
(anonymous) @ workbench.desktop.main.js:444
workbench.desktop.main.js:4064 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:4064
await in submitChatMaybeAbortCurrent
(anonymous) @ workbench.desktop.main.js:52
Srr @ workbench.desktop.main.js:52
C6d @ workbench.desktop.main.js:52
n.value @ workbench.desktop.main.js:52
ro @ workbench.desktop.main.js:6207
await in ro
onSubmit @ workbench.desktop.main.js:6207
he @ workbench.desktop.main.js:6134
onSubmit @ workbench.desktop.main.js:6134
handleSubmit @ workbench.desktop.main.js:6028
(anonymous) @ workbench.desktop.main.js:6028
Cal @ workbench.desktop.main.js:444
(anonymous) @ workbench.desktop.main.js:444
Eal @ workbench.desktop.main.js:444
yX @ workbench.desktop.main.js:444
update @ workbench.desktop.main.js:446
Cal @ workbench.desktop.main.js:444
au @ workbench.desktop.main.js:444
Jzd @ workbench.desktop.main.js:444
(anonymous) @ workbench.desktop.main.js:444
workbench.desktop.main.js:6880 [composer] Chat incomplete or aborted {arch: 'x64', platform: 'win32', channel: 'stable', client_version: '2.1.20', requestId: 'dbaf4a7f-7052-491b-a31d-29bc25e861f8', …}

When terminal is not visible:
No errors in console. AI Chat works.

Thanks for the logs. Great - the cause is clear now.

The UriError: “If a URI contains an authority component, then the path component must either be empty or begin with a slash” in resolveRelativePath is a parsing bug for Windows paths during terminal context collection. Cursor tries to include terminal info in chat context but mishandles paths.

Please try:

  • Update to the latest version: Help > Check for Updates (2.1.39+ is available you’re on 2.1.20)
  • If the issue persists after updating, temporarily work with the terminal closed or switch to the Output/Ports tab

This is a known Windows terminal integration bug in 2.1.20 - I’ll pass the logs to the team.

Let me know if updating fixed it.

This bug is still there!

Version: 2.2.36 (user setup)
VSCode Version: 1.105.1
Commit: 55c9bc11e99cedd1fb93fbb7996abf779c583150
Date: 2025-12-18T06:25:21.733Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.26100
1 Like

I can confirm that this bug was gone for a while, and now it’s back.

When terminal is visible, AI chats fail. Here is the devtools output:

workbench.desktop.main.js:542 This document requires 'TrustedScript' assignment.
(anonymous) @ workbench.desktop.main.js:542
workbench.desktop.main.js:542 The JavaScript Function constructor does not accept TrustedString arguments. See https://github.com/w3c/webappsec-trusted-types/wiki/Trusted-Types-for-function-constructor for more information.
workbench.desktop.main.js:139 Refused to create a TrustedTypePolicy named 'tokenizeToString' because a policy with that name already exists and the Content Security Policy directive does not 'allow-duplicates': "trusted-types amdLoader
					cellRendererEditorText
					defaultWorkerFactory
					diffEditorWidget
					diffReview
					domLineBreaksComputer
					dompurify
					editorGhostText
					editorViewLayer
					notebookRenderer
					stickyScrollViewLayer
					tokenizeToString
					safeInnerHtml
					editorCppGhostText
					standaloneColorizer
					tokenizeToString
					solidjs
					aibubble
					aibubble2
					aibubbleSearch
					streamingMarkdownPolicy
					notebookChatEditController
					mermaidDiagram
					mermaidDiagram2
					mermaidDiagramOuter".
SQ @ workbench.desktop.main.js:139
workbench.desktop.main.js:23 Uncaught Error: Failed to execute 'createPolicy' on 'TrustedTypePolicyFactory': Policy with name "tokenizeToString" already exists.

TypeError: Policy with name "tokenizeToString" already exists.
    at SQ (workbench.desktop.main.js:139:11057)
    at workbench.desktop.main.js:12033:49688
    at SQ (workbench.desktop.main.js:139:11057)
    at workbench.desktop.main.js:12033:49688
    at workbench.desktop.main.js:25:12
workbench.desktop.main.js:55  WARN Missing property "rpcFileLoggerFolder" in oldValue. Filling with value from initValue. Please add a migration if necessary.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-toolsai.datawrangler' wants API proposal 'debugFocus' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-vscode.vscode-copilot-data-analysis' wants API proposal 'chatVariableResolver' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.python' wants API proposal 'terminalShellType' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-python.vscode-python-envs' wants API proposal 'terminalShellType' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'github.copilot-chat' wants API proposal 'chatReadonlyPromptReference' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'ms-azuretools.vscode-azure-github-copilot' wants API proposal 'lmTools' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'vscjava.vscode-java-pack' wants API proposal 'lmTools' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'apidev.azure-api-center' wants API proposal 'chatParticipant' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:55  WARN Via 'product.json#extensionEnabledApiProposals' extension 'apidev.azure-api-center' wants API proposal 'languageModels' but that proposal DOES NOT EXIST. Likely, the proposal has been finalized (check 'vscode.d.ts') or was abandoned.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:15022 The customer named _initialize has been holding on to the lock for 30s. This might be a problem.
(anonymous) @ workbench.desktop.main.js:15022
workbench.desktop.main.js:55  WARN [ms-python.python]: Cannot register 'python.venvPath'. This property is already registered.
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:8806 [KnowledgeBaseService] Error fetching git upstream URL: Error: No full commit provider registered
    at iss.getGitUpstreamURL (workbench.desktop.main.js:542:340007)
    at Gbs.getGitUpstreamUrl (workbench.desktop.main.js:8806:38365)
    at Gbs.refresh (workbench.desktop.main.js:8806:38687)
getGitUpstreamUrl @ workbench.desktop.main.js:8806
workbench.desktop.main.js:13074 [transport] Connect error in unary AI connect ConnectError: [unauthenticated] Error
    at t (workbench.desktop.main.js:12375:457550)
    at async Object.getTeamCommands (workbench.desktop.main.js:585:88139)
    at async vMo.loadTeamCommands (workbench.desktop.main.js:15030:2986) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:15030 Failed to load team commands: ConnectError: [unauthenticated] Error
    at t (workbench.desktop.main.js:12375:457550)
    at async Object.getTeamCommands (workbench.desktop.main.js:585:88139)
    at async vMo.loadTeamCommands (workbench.desktop.main.js:15030:2986)
loadTeamCommands @ workbench.desktop.main.js:15030
workbench.desktop.main.js:55   ERR [Extension Host] [otel.error] {"stack":"OTLPExporterError: Bad Request\n\tat IncomingMessage.<anonymous> (c:\\Program Files\\cursor\\resources\\app\\node_modules\\@opentelemetry\\otlp-exporter-base\\build\\src\\transport\\http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)","message":"Bad Request","code":"400","name":"OTLPExporterError","data":"{\"error\":\"Trace spans collection is not enabled for this user\"}"}
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12343 [Extension Host] [otel.error] {"stack":"OTLPExporterError: Bad Request\n\tat IncomingMessage.<anonymous> (c:\\Program Files\\cursor\\resources\\app\\node_modules\\@opentelemetry\\otlp-exporter-base\\build\\src\\transport\\http-transport-utils.js:52:31)\n\tat IncomingMessage.emit (node:events:531:35)\n\tat endReadableNT (node:internal/streams/readable:1698:12)\n\tat process.processTicksAndRejections (node:internal/process/task_queues:90:21)","message":"Bad Request","code":"400","name":"OTLPExporterError","data":"{\"error\":\"Trace spans collection is not enabled for this user\"}"}
Thf @ workbench.desktop.main.js:12343
workbench.desktop.main.js:55  WARN No search provider registered for scheme: vscode-remote, waiting
warn @ workbench.desktop.main.js:55
workbench.desktop.main.js:15371 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:15371
2workbench.desktop.main.js:15042 Error getting git root Error: spawn C:\Program Files\Git\cmd\git.exe ENOENT
isRepoReadyForBackgroundComposer @ workbench.desktop.main.js:15042
workbench.desktop.main.js:13258 Failed to get git telemetry attributes: Error: Failed to execute git
getGitAttributes @ workbench.desktop.main.js:13258
workbench.desktop.main.js:55   ERR [Extension Host] Unable to normalize image path: #
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12343 [Extension Host] Unable to normalize image path: #
Thf @ workbench.desktop.main.js:12343
workbench.desktop.main.js:9994 [composer] submitChatMaybeAbortCurrent errored! Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9988:7914)
    at async bo (workbench.desktop.main.js:12254:3831)
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] submitChatMaybeAbortCurrent outer error Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9988:7914)
    at async bo (workbench.desktop.main.js:12254:3831) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] Chat incomplete or aborted Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] submitChatMaybeAbortCurrent errored! Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9983:18397)
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] submitChatMaybeAbortCurrent outer error Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9983:18397) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] Chat incomplete or aborted Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] submitChatMaybeAbortCurrent errored! Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9983:18397)
    at async Object.bo [as onSubmit] (workbench.desktop.main.js:12254:3831)
    at async workbench.desktop.main.js:12042:143536
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] submitChatMaybeAbortCurrent outer error Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9983:18397)
    at async Object.bo [as onSubmit] (workbench.desktop.main.js:12254:3831)
    at async workbench.desktop.main.js:12042:143536 Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] Chat incomplete or aborted Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:13139 Error checking repo readiness: Error: Failed to execute git
(anonymous) @ workbench.desktop.main.js:13139
workbench.desktop.main.js:15371 An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing.
mountTo @ workbench.desktop.main.js:15371
index.html?id=1dd7146f-48da-4774-b8c3-ca0ccc1e465a&origin=af5879e4-94a6-4d6b-aa49-866480482d91&swVersion=4&extensionId=jonathan-yeung.mark-sharp&platform=electron&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&parentOrigin=vscode-file%3A%2F%2Fvscode-app&remoteAuthority=ssh-remote%2B7b22686f73744e616d65223a226f6666696365227d:281 Found unexpected service worker controller. Found: vscode-webview://11enlc0jchonpik86ln23fkuhn3dg23j377pm7ok7l89kdh7hd6o/service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&id=35615df9-f36a-4a10-aa69-6ecef3842373&remoteAuthority=ssh-remote+7b22686f73744e616d65223a226f6666696365227d. Expected: service-worker.js?v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&id=1dd7146f-48da-4774-b8c3-ca0ccc1e465a&remoteAuthority=ssh-remote+7b22686f73744e616d65223a226f6666696365227d. Waiting for controllerchange.
main.1c2bb264.js:2 Received Initialization Parameters: {"themeType":"dark","themeSetting":"vscode","licenseType":0,"editorMode":0,"editorDirectionality":"ltr","useDefaultMermaidThemes":false,"styleOverrides":{"fontSize":14,"fontFamily":""},"formatSettings":{"bulletListMarker":"asTyped","orderedListDelimiter":"asTyped","orderedListIncrementStyle":"asTyped","tableAlignment":0}}
main.1c2bb264.js:2 Adding Window Message Listener
main.1c2bb264.js:2 Sending 'webview-ready' Message to Extension
main.1c2bb264.js:2 Calculating Footnote Matches
main.1c2bb264.js:2 commonKeys: 
main.1c2bb264.js:2 uniqueAnchorKeys: 
main.1c2bb264.js:2 uniqueReferenceKeys: 
main.1c2bb264.js:2 Disposing of Update Listener.
main.1c2bb264.js:2 Markdown document parsed into editor state.
main.1c2bb264.js:2 clearing history
main.1c2bb264.js:2 Executing 'ON_DOCUMENT_INITIALIZED' callback in collapsiblePlugin.
main.1c2bb264.js:2 Setting selection to anchor: 6, 0
main.1c2bb264.js:2 Processing element node 4 gaining focus
main.1c2bb264.js:2 HeaderTextNodeTransformer.onModification called for 6
main.1c2bb264.js:2 Adding Update Listener.
main.1c2bb264.js:2 An img element was found in the DOM with ID: ; src: https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226f6666696365227d.vscode-resource.vscode-cdn.net/c%3A/Users/alex/.cursor-server/extensions/jonathan-yeung.mark-sharp-1.9.0-universal/build/#; alt: 
main.1c2bb264.js:2 Sending message to extension to process image with id VynGIg; src #; alt .
3main.1c2bb264.js:2 An img element was found in the DOM with ID: ; src: https://vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226f6666696365227d.vscode-resource.vscode-cdn.net/c%3A/Users/alex/.cursor-server/extensions/jonathan-yeung.mark-sharp-1.9.0-universal/build/#; alt: 
vscode-remote+ssh-002dremote-002b7b22686f73744e616d65223a226f6666696365227d.vscode-resource.vscode-cdn.net/c%3A/Users/alex/.cursor-server/extensions/jonathan-yeung.mark-sharp-1.9.0-universal/build/#:1  Failed to load resource: the server responded with a status of 404 ()
workbench.desktop.main.js:55   ERR [Extension Host] Unable to normalize image path: #
error @ workbench.desktop.main.js:55
workbench.desktop.main.js:12343 [Extension Host] Unable to normalize image path: #
Thf @ workbench.desktop.main.js:12343
workbench.desktop.main.js:9994 [composer] submitChatMaybeAbortCurrent errored! Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9983:18397)
    at async Object.bo [as onSubmit] (workbench.desktop.main.js:12254:3831)
    at async workbench.desktop.main.js:12042:143536
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] submitChatMaybeAbortCurrent outer error Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9983:18397)
    at async Object.bo [as onSubmit] (workbench.desktop.main.js:12254:3831)
    at async workbench.desktop.main.js:12042:143536 Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] Chat incomplete or aborted Object
_log @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] submitChatMaybeAbortCurrent errored! Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9988:7914)
    at async bo (workbench.desktop.main.js:12254:3831)
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:9994
workbench.desktop.main.js:13074 [composer] submitChatMaybeAbortCurrent outer error Error: [UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character
    at ANd (workbench.desktop.main.js:50:67655)
    at new ZBs (workbench.desktop.main.js:50:71872)
    at new TWe (workbench.desktop.main.js:50:73340)
    at TWe.with (workbench.desktop.main.js:50:72308)
    at rpm.resolveRelativePath (workbench.desktop.main.js:14986:42831)
    at workbench.desktop.main.js:10004:1172
    at Array.map (<anonymous>)
    at KK.getPopulatedContext (workbench.desktop.main.js:10004:1135)
    at KK.submitChatMaybeAbortCurrent (workbench.desktop.main.js:9988:7914)
    at async bo (workbench.desktop.main.js:12254:3831) Object
error @ workbench.desktop.main.js:13074
workbench.desktop.main.js:9994 [composer] Failed to get complete AI response