@polterware/polter 0.2.3 → 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/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -870,7 +870,7 @@ function Home({
|
|
|
870
870
|
const basePart = args[0] ?? "";
|
|
871
871
|
const cmdDef = findCommandByValue(basePart);
|
|
872
872
|
const tool = cmdDef?.tool ?? "supabase";
|
|
873
|
-
onNavigate("confirm-execute", { args, tool });
|
|
873
|
+
onNavigate("confirm-execute", { args, tool, interactive: cmdDef?.interactive });
|
|
874
874
|
}
|
|
875
875
|
return;
|
|
876
876
|
}
|
|
@@ -1330,7 +1330,7 @@ function CustomCommand({
|
|
|
1330
1330
|
},
|
|
1331
1331
|
onSubmit: (value) => {
|
|
1332
1332
|
const args = value.split(" ").filter(Boolean);
|
|
1333
|
-
onNavigate("flag-selection", { args, tool: selectedTool });
|
|
1333
|
+
onNavigate("flag-selection", { args, tool: selectedTool, interactive: true });
|
|
1334
1334
|
},
|
|
1335
1335
|
onCancel: () => setPhase("tool-select"),
|
|
1336
1336
|
arrowNavigation: panelMode,
|
|
@@ -1478,7 +1478,7 @@ function FlagSelection({
|
|
|
1478
1478
|
flags,
|
|
1479
1479
|
onSubmit: (selectedFlags) => {
|
|
1480
1480
|
const finalArgs = selectedFlags.length > 0 ? [...args, ...selectedFlags] : args;
|
|
1481
|
-
onNavigate("confirm-execute", { args: finalArgs, tool });
|
|
1481
|
+
onNavigate("confirm-execute", { args: finalArgs, tool, interactive });
|
|
1482
1482
|
},
|
|
1483
1483
|
onCancel: onBack,
|
|
1484
1484
|
isInputActive,
|
|
@@ -3782,7 +3782,7 @@ function FeatureCommands({
|
|
|
3782
3782
|
const basePart = args[0] ?? "";
|
|
3783
3783
|
const cmdDef = findCommandByValue(basePart);
|
|
3784
3784
|
const tool = cmdDef?.tool ?? "supabase";
|
|
3785
|
-
onNavigate("confirm-execute", { args, tool });
|
|
3785
|
+
onNavigate("confirm-execute", { args, tool, interactive: cmdDef?.interactive });
|
|
3786
3786
|
}
|
|
3787
3787
|
return;
|
|
3788
3788
|
}
|
|
@@ -3882,7 +3882,7 @@ function PinnedCommands({
|
|
|
3882
3882
|
const basePart = args[0] ?? "";
|
|
3883
3883
|
const cmdDef = findCommandByValue(basePart);
|
|
3884
3884
|
const tool = cmdDef?.tool ?? "supabase";
|
|
3885
|
-
onNavigate("confirm-execute", { args, tool });
|
|
3885
|
+
onNavigate("confirm-execute", { args, tool, interactive: cmdDef?.interactive });
|
|
3886
3886
|
}
|
|
3887
3887
|
}
|
|
3888
3888
|
};
|
|
@@ -4271,7 +4271,7 @@ function AppPanel() {
|
|
|
4271
4271
|
onHome: nav.goHomeInner,
|
|
4272
4272
|
onExit: handleExit,
|
|
4273
4273
|
onRunSuggestion: (sugTool, sugArgs) => {
|
|
4274
|
-
nav.switchViewAndNavigate("custom-command", "confirm-execute", { tool: sugTool, args: sugArgs });
|
|
4274
|
+
nav.switchViewAndNavigate("custom-command", "confirm-execute", { tool: sugTool, args: sugArgs, interactive: true });
|
|
4275
4275
|
},
|
|
4276
4276
|
width: w,
|
|
4277
4277
|
height: mainContentHeight,
|