storkit: merge 438_story_slash_command_autocomplete_in_web_ui_text_input

This commit is contained in:
dave
2026-03-28 22:09:36 +00:00
parent a53967453e
commit 5992f9bd19
10 changed files with 513 additions and 83 deletions
+2 -3
View File
@@ -154,7 +154,7 @@ pub(super) fn tool_wizard_generate(args: &Value, ctx: &AppContext) -> Result<Str
/// Return true if the project directory has no meaningful source files.
fn is_bare_project(project_root: &Path) -> bool {
let dominated_by_storkit = std::fs::read_dir(project_root)
std::fs::read_dir(project_root)
.ok()
.map(|entries| {
let names: Vec<String> = entries
@@ -171,8 +171,7 @@ fn is_bare_project(project_root: &Path) -> bool {
|| n == "store.json"
})
})
.unwrap_or(true);
dominated_by_storkit
.unwrap_or(true)
}
/// Return a generation hint for a step based on the project root.