dlw-machine-setup 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/installer.js +4 -6
- package/package.json +1 -1
package/bin/installer.js
CHANGED
|
@@ -3930,24 +3930,22 @@ async function main() {
|
|
|
3930
3930
|
}
|
|
3931
3931
|
const result = await execute(config);
|
|
3932
3932
|
printSummary(result);
|
|
3933
|
+
return;
|
|
3933
3934
|
} catch (error) {
|
|
3934
3935
|
console.error("\n[ERROR]", error instanceof Error ? error.message : String(error));
|
|
3936
|
+
await waitForEnter();
|
|
3935
3937
|
}
|
|
3936
|
-
await waitForEnter();
|
|
3937
3938
|
}
|
|
3938
3939
|
async function collectInputs() {
|
|
3939
3940
|
const selectedIds = await esm_default2({
|
|
3940
3941
|
message: "Personas:",
|
|
3942
|
+
instructions: " Space to select \xB7 Enter to confirm",
|
|
3941
3943
|
choices: personas.map((p) => ({
|
|
3942
3944
|
name: p.name.replace(/ Developer$/, ""),
|
|
3943
3945
|
value: p.id
|
|
3944
3946
|
})),
|
|
3945
|
-
required:
|
|
3947
|
+
required: true
|
|
3946
3948
|
});
|
|
3947
|
-
if (selectedIds.length === 0) {
|
|
3948
|
-
console.log("\nNo personas selected. Exiting.");
|
|
3949
|
-
return null;
|
|
3950
|
-
}
|
|
3951
3949
|
const selectedPersonas = personas.filter((p) => selectedIds.includes(p.id));
|
|
3952
3950
|
const agent = await esm_default5({
|
|
3953
3951
|
message: "AI coding tool:",
|