fix: make toolInfo.id optional per spec
The spec (apps.mdx) defines toolInfo.id as optional (id?: RequestId), but the TypeScript types and generated schemas had it as required. This allows hosts to pass just the tool definition without needing a request ID, which is useful when the tool name is the primary information needed by the widget.
This commit is contained in:
parent
299a4423fb
commit
4012136885
1 changed files with 7 additions and 5 deletions
6
src/generated/schema.json
generated
6
src/generated/schema.json
generated
|
|
@ -248,7 +248,7 @@
|
|||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["id", "tool"],
|
||||
"required": ["tool"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"theme": {
|
||||
|
|
@ -919,7 +919,7 @@
|
|||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["id", "tool"],
|
||||
"required": ["tool"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"theme": {
|
||||
|
|
@ -2127,7 +2127,7 @@
|
|||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": ["id", "tool"],
|
||||
"required": ["tool"],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"theme": {
|
||||
|
|
|
|||
Loading…
Reference in a new issue