chore: update deps and pi model discovery

This commit is contained in:
Peter Steinberger
2026-01-31 06:40:45 +01:00
parent 85dd070dea
commit 08ed62852a
32 changed files with 1424 additions and 1419 deletions

View File

@@ -58,15 +58,17 @@ export function createClackPrompter(): WizardPrompter {
initialValues: params.initialValues,
}),
),
text: async (params) =>
guardCancel(
text: async (params) => {
const validate = params.validate;
return guardCancel(
await text({
message: stylePromptMessage(params.message),
initialValue: params.initialValue,
placeholder: params.placeholder,
validate: params.validate,
validate: validate ? (value) => validate(value ?? "") : undefined,
}),
),
);
},
confirm: async (params) =>
guardCancel(
await confirm({