feat(maestro): live directory autocomplete in spawn form (NAP-329)
ci / rust (push) Failing after 5m3s

Adds api.listDir + a reusable dirAutocomplete widget (live dropdown,
Tab/Enter completion, /-drill-in, per-(daemon,dir) cache) wired onto the
cwd and worktree base-repo fields, with matching dropdown styling.
This commit is contained in:
2026-06-15 21:20:36 +00:00
parent 498cb471b7
commit 3aedd7a0a5
5 changed files with 88 additions and 2 deletions
+10
View File
@@ -27,6 +27,16 @@ export interface DaemonInfo {
home_dir?: string;
}
/** One directory's immediate subdirectories on a daemon's host (NAP-329). */
export interface DirListing {
/** Resolved absolute directory that was listed (after ~/relative expansion). */
path: string;
/** Immediate subdirectory names, sorted case-insensitively. */
entries: string[];
/** True when the listing was capped server-side. */
truncated?: boolean;
}
export interface WorktreeSpec {
base_repo: string;
branch: string;