@lamemind/loom-deck 0.57.0 → 0.57.1
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/package.json +1 -1
- package/scripts/deck-run +15 -0
package/package.json
CHANGED
package/scripts/deck-run
CHANGED
|
@@ -486,6 +486,21 @@ _prompt_template() { # <kind> → template col placeholder {TASK}, o niente
|
|
|
486
486
|
|
|
487
487
|
if [[ $PROMPT_GIVEN -eq 1 ]]; then
|
|
488
488
|
PROMPT="$PROMPT_TEXT"
|
|
489
|
+
elif [[ $NO_TASK -eq 1 ]]; then
|
|
490
|
+
# Sessione nuda senza `--prompt`: nessun prompt iniziale, punto.
|
|
491
|
+
#
|
|
492
|
+
# Il default `recap` del catalogo NON si applica qui, e la guardia deve stare
|
|
493
|
+
# a monte invece che a valle. Finché il ramo `--no-task` scartava il prompt
|
|
494
|
+
# al momento di comporre il comando in-tab, un `PROMPT` risolto e mai usato
|
|
495
|
+
# era innocuo; da quando il PROMPT_ARG entra anche in quel ramo (T134/D9,
|
|
496
|
+
# per il drain e lo srotolamento) il testo del catalogo ci arriva davvero —
|
|
497
|
+
# e siccome ogni template interpola `{TASK}`, con la task vuota diventa
|
|
498
|
+
# `/loom-works:recap-status ` con l'id monco: la sessione vuota del deck (`c`)
|
|
499
|
+
# nasceva su un recap che nessuno ha chiesto.
|
|
500
|
+
#
|
|
501
|
+
# Stessa ragione per `LOOM_DECK_ENTER_PROMPT`, che interpola `{TASK}` a sua
|
|
502
|
+
# volta e qui resta quindi inerte: senza task non ha nulla da nominare.
|
|
503
|
+
PROMPT=""
|
|
489
504
|
else
|
|
490
505
|
_kind="${PROMPT_KIND:-recap}"
|
|
491
506
|
if [[ "$_kind" == "none" ]]; then
|