Fix claude
This commit is contained in:
committed by
pullfrog[bot]
parent
02a498e0cb
commit
1f2f671be0
@@ -29,6 +29,10 @@ const JsonPayload = type({
|
||||
});
|
||||
|
||||
// inputs schema - action inputs from core.getInput()
|
||||
// note: tool permissions use .or("undefined") because getInput() || undefined
|
||||
// explicitly sets the property to undefined when empty, which is different from
|
||||
// the property being absent. arktype's "prop?" means "optional to include" but
|
||||
// if included, must match the type - so we need to explicitly allow undefined.
|
||||
export const Inputs = type({
|
||||
prompt: "string",
|
||||
"effort?": Effort,
|
||||
|
||||
Reference in New Issue
Block a user