feat(maestro): live directory autocomplete in spawn form (NAP-329)
ci / rust (push) Failing after 5m3s
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user