@@ -226,11 +226,13 @@ async def _exec_author_generate(args: dict[str, Any], ctx: JobContext) -> dict[s
226226 "type" : "string" ,
227227 "title" : ".help/ path" ,
228228 "default" : ".help" ,
229+ "ui:widget" : "path" ,
229230 },
230231 "project_root" : {
231232 "type" : "string" ,
232233 "title" : "Project root" ,
233234 "default" : "." ,
235+ "ui:widget" : "path" ,
234236 },
235237 "all_kinds" : {
236238 "type" : "boolean" ,
@@ -334,6 +336,7 @@ async def _exec_author_init(args: dict[str, Any], ctx: JobContext) -> dict[str,
334336 "title" : "Project root" ,
335337 "default" : "." ,
336338 "description" : "Root of the project to scan." ,
339+ "ui:widget" : "path" ,
337340 },
338341 },
339342 },
@@ -379,16 +382,23 @@ async def _exec_author_status(args: dict[str, Any], ctx: JobContext) -> dict[str
379382 args_schema = {
380383 "type" : "object" ,
381384 "properties" : {
382- "project_path" : {"type" : "string" , "title" : "Project path" , "default" : "" },
385+ "project_path" : {
386+ "type" : "string" ,
387+ "title" : "Project path" ,
388+ "default" : "" ,
389+ "ui:widget" : "path" ,
390+ },
383391 "help_dir" : {
384392 "type" : "string" ,
385393 "title" : ".help/ path (overrides project_path)" ,
386394 "default" : "" ,
395+ "ui:widget" : "path" ,
387396 },
388397 "project_root" : {
389398 "type" : "string" ,
390399 "title" : "Project root (overrides project_path)" ,
391400 "default" : "" ,
401+ "ui:widget" : "path" ,
392402 },
393403 },
394404 },
@@ -437,16 +447,23 @@ async def _exec_author_maintain(args: dict[str, Any], ctx: JobContext) -> dict[s
437447 args_schema = {
438448 "type" : "object" ,
439449 "properties" : {
440- "project_path" : {"type" : "string" , "title" : "Project path" , "default" : "" },
450+ "project_path" : {
451+ "type" : "string" ,
452+ "title" : "Project path" ,
453+ "default" : "" ,
454+ "ui:widget" : "path" ,
455+ },
441456 "help_dir" : {
442457 "type" : "string" ,
443458 "title" : ".help/ path (overrides project_path)" ,
444459 "default" : "" ,
460+ "ui:widget" : "path" ,
445461 },
446462 "project_root" : {
447463 "type" : "string" ,
448464 "title" : "Project root (overrides project_path)" ,
449465 "default" : "" ,
466+ "ui:widget" : "path" ,
450467 },
451468 "features" : {
452469 "type" : "string" ,
@@ -521,7 +538,12 @@ async def _exec_author_lookup(args: dict[str, Any], ctx: JobContext) -> dict[str
521538 "default" : "concept" ,
522539 "description" : "concept | task | reference" ,
523540 },
524- "help_dir" : {"type" : "string" , "title" : ".help/ path" , "default" : ".help" },
541+ "help_dir" : {
542+ "type" : "string" ,
543+ "title" : ".help/ path" ,
544+ "default" : ".help" ,
545+ "ui:widget" : "path" ,
546+ },
525547 },
526548 "required" : ["query" ],
527549 },
@@ -531,8 +553,6 @@ async def _exec_author_lookup(args: dict[str, Any], ctx: JobContext) -> dict[str
531553)
532554
533555
534-
535-
536556# ---------------------------------------------------------------------------
537557# Help: lookup
538558# ---------------------------------------------------------------------------
@@ -604,6 +624,7 @@ async def _exec_help_lookup(args: dict[str, Any], ctx: JobContext) -> dict[str,
604624 "title" : "Template dir" ,
605625 "default" : "" ,
606626 "description" : "Path to .help/templates/ directory. Leave blank to use bundled templates." ,
627+ "ui:widget" : "path" ,
607628 },
608629 },
609630 "required" : ["topic" ],
@@ -663,6 +684,7 @@ async def _exec_help_search(args: dict[str, Any], ctx: JobContext) -> dict[str,
663684 "title" : "Template dir" ,
664685 "default" : "" ,
665686 "description" : "Path to .help/templates/ directory. Leave blank to use bundled templates." ,
687+ "ui:widget" : "path" ,
666688 },
667689 },
668690 "required" : ["query" ],
@@ -714,6 +736,7 @@ async def _exec_help_list(args: dict[str, Any], ctx: JobContext) -> dict[str, An
714736 "title" : "Template dir" ,
715737 "default" : "" ,
716738 "description" : "Path to .help/templates/ directory. Leave blank to use bundled templates." ,
739+ "ui:widget" : "path" ,
717740 },
718741 },
719742 },
0 commit comments