Protected ReadonlyeditorProtected ReadonlyloggerProtected ReadonlyopenerProtected ReadonlypendingProtected ReadonlyresourceProtected ReadonlyscmProtected ReadonlyworkspaceStaticIDProtectedcancelProtectedcanProtectedcheckResolve the pending interaction with the given final result. The renderer is the single source of truth for the collected user input and passes the full result here on Finish (or on a per-option click for single-step interactions).
ProtectedemptyProtectederrorProtectedfileThe step last recorded via recordCurrentStep, or undefined if nothing is pending.
ProtectedhandleRemember the step the user is currently viewing so another mount of the same interaction resumes there. Calls for an unknown or already-resolved interaction are silently ignored.
Push the latest partial result so the tool can resolve with it on cancellation. The renderer should call this whenever the user changes step state. Calls for an already-resolved interaction are silently ignored.
ProtectedrefProtectedresolveProtectedresolveProtectedresolve
Auto-deny invocations whose arguments do not validate, handing the validation error back to the model. Without this the confirmation flow would stall: the renderer refuses to mount the interaction (and with it the Allow/Deny buttons) for arguments it cannot render, so a confirmation that nobody can give would be awaited indefinitely.