You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit beb43b5
Browse filesBrowse the repository at this point in the historyBrowse files
Bertan Ari
committed
fix(vscode-lm): honour wrapper closers in fences and block argument rebinding
Two defects in the leaked tool-call parser introduced by this PR.
The wrapper-tag scan skipped closers as well as openers inside a code
fence, so a quoted closing wrapper tag left the wrapper armed and a later
bare invoke was recovered, breaking the bare-invoke contract. Closers are
now honoured unconditionally; only openers stay fence-gated.
Injected parameter markup in a value split an invoke into adjacent
well-formed matches, letting a later match silently rebind an earlier
argument (e.g. path safe.txt to /evil) and dispatch it. Repeated
parameter names now fail closed.
Also strengthens four suppression tests to assert verbatim leftoverText
passthrough, not just an empty call list.
0 commit comments