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 26f6358
Browse filesBrowse the repository at this point in the historyBrowse files
fix(forms): return pending form handoffs as non-error results
Hosts treat isError results as failed tool calls and exclude them from
MCP App rendering, so the deferred create_pull_request, update_pull_request,
and issue_write forms never appeared. The pending handoff is now a normal
result that keeps its stop message and awaiting_user_submission status.
Handler content is preserved so modern clients keep the stop message in
text instead of replacing it with the structured JSON.
assert.JSONEq(t, `{"status":"awaiting_user_submission","reason":"An interactive form is being shown to the user. The operation has not been performed."}`, mustMarshalJSON(t, result.StructuredContent))
assert.JSONEq(t, `{"status":"awaiting_user_submission","reason":"An interactive form is being shown to the user. The operation has not been performed."}`, mustMarshalJSON(t, result.StructuredContent))
0 commit comments