fix(schema): Allow undefined for optional props of Inputs (#102)
* fix(schema): Add union with undefined to the tool permission props. * fix(schema): Add union with undefined to the tool permission props. * Add CI tests. * fix: reduced nesting in tests. * Add project-based config for vitest to run all tests by a single command.
This commit is contained in:
committed by
pullfrog[bot]
parent
f34379415e
commit
26312055c5
@@ -119890,10 +119890,10 @@ var Inputs = type({
|
||||
prompt: "string",
|
||||
"effort?": Effort,
|
||||
"agent?": AgentName.or("null"),
|
||||
"web?": ToolPermissionInput,
|
||||
"search?": ToolPermissionInput,
|
||||
"write?": ToolPermissionInput,
|
||||
"bash?": BashPermissionInput,
|
||||
"web?": ToolPermissionInput.or("undefined"),
|
||||
"search?": ToolPermissionInput.or("undefined"),
|
||||
"write?": ToolPermissionInput.or("undefined"),
|
||||
"bash?": BashPermissionInput.or("undefined"),
|
||||
"cwd?": "string|null"
|
||||
});
|
||||
function isAgentName(value2) {
|
||||
|
||||
Reference in New Issue
Block a user