feat(compat): registerTool/registerPrompt accept raw Zod shape, auto-wrap with z.object() #4507
Annotations
1 notice
|
pkg-publish
{
"workflowData": {
"owner": "modelcontextprotocol",
"repo": "typescript-sdk",
"sha": "0febd83f7babf95bc3b268cb534010192b973438",
"ref": "1901"
},
"key": "cI7EyPTGK4",
"runId": 24994595639,
"webhookDebug": {
"action": "requested",
"head_branch": "fweinberger/v2-bc-register-rawshape",
"head_repository_full_name": "modelcontextprotocol/typescript-sdk",
"full_name": "modelcontextprotocol/typescript-sdk",
"isPullRequest": true,
"prNumber": 1901,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "modelcontextprotocol/typescript-sdk:fweinberger/v2-bc-register-rawshape",
"oldPrDataHash": "EtA5RuqAnR",
"lookupKey": "modelcontextprotocol/typescript-sdk:fweinberger/v2-bc-register-rawshape",
"data": {
"owner": "modelcontextprotocol",
"repo": "typescript-sdk",
"sha": "0febd83f7babf95bc3b268cb534010192b973438",
"ref": "1901"
}
}
}
|