fix(contracts): retain option descriptions and portable float patterns

This commit is contained in:
morluto committed 2026-10-24 08:22:14 +08:00
1 parent 4f6166e04d
commit 0de322eb91
2 files changed
+9 -3

No files matched your search

+8 -2
View File
@@ -29,10 +29,16 @@ export const registerJavaScriptRecoveryCommands = (
additionalPath: javascriptRecoveryInputSchema.shape.additional_paths,
extractionMode: javascriptRecoveryInputSchema.shape.extraction_mode
.removeDefault()
.optional(),
.optional()
.describe(
javascriptRecoveryInputSchema.shape.extraction_mode.description!,
),
rewriteLevel: javascriptRecoveryInputSchema.shape.rewrite_level
.removeDefault()
.optional(),
.optional()
.describe(
javascriptRecoveryInputSchema.shape.rewrite_level.description!,
),
}),
run: ({ args, options }) =>
withCommandCancellation((signal) =>