feat(compat): registerTool/registerPrompt accept raw Zod shape, auto-wrap with z.object() #4468
Annotations
1 notice
|
pkg-publish
{
"workflowData": {
"owner": "modelcontextprotocol",
"repo": "typescript-sdk",
"sha": "aba1d39980f436428703a6d17f788d78bd0d2c46",
"ref": "1901"
},
"key": "x1bz0QhWw2",
"runId": 24897180594,
"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": "aba1d39980f436428703a6d17f788d78bd0d2c46",
"ref": "1901"
}
}
}
|