Restore recipe parameters functionality (#3530)

This commit is contained in:
Zane
2025-07-22 10:31:44 -07:00
committed by GitHub
parent 914c537965
commit 246ba19256
28 changed files with 1057 additions and 479 deletions
+4 -1
View File
@@ -165,6 +165,7 @@ export type ExtensionConfig = {
* Whether this extension is bundled with Goose
*/
bundled?: boolean | null;
description?: string | null;
display_name?: string | null;
/**
* The name used to identify this extension
@@ -451,10 +452,11 @@ export type RecipeParameter = {
description: string;
input_type: RecipeParameterInputType;
key: string;
options?: Array<string> | null;
requirement: RecipeParameterRequirement;
};
export type RecipeParameterInputType = 'string' | 'number' | 'boolean' | 'date' | 'file';
export type RecipeParameterInputType = 'string' | 'number' | 'boolean' | 'date' | 'file' | 'select';
export type RecipeParameterRequirement = 'required' | 'optional' | 'user_prompt';
@@ -622,6 +624,7 @@ export type Settings = {
};
export type SubRecipe = {
description?: string | null;
name: string;
path: string;
sequential_when_repeated?: boolean;