@datalyr/wizard 1.0.5 → 1.0.7
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/bin/wizard.js +7 -3
- package/dist/bin/wizard.js.map +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -10
package/dist/bin/wizard.js
CHANGED
|
@@ -2135,8 +2135,12 @@ async function runAgentWizard(_config, options = {}) {
|
|
|
2135
2135
|
enableServerSideConversions: false
|
|
2136
2136
|
};
|
|
2137
2137
|
if (!p.isCancel(runningAds) && runningAds) {
|
|
2138
|
+
p.note(
|
|
2139
|
+
`${import_chalk.default.dim("Use")} ${import_chalk.default.cyan("\u2191\u2193")} ${import_chalk.default.dim("to navigate,")} ${import_chalk.default.cyan("Space")} ${import_chalk.default.dim("to select,")} ${import_chalk.default.cyan("Enter")} ${import_chalk.default.dim("to confirm")}`,
|
|
2140
|
+
"Controls"
|
|
2141
|
+
);
|
|
2138
2142
|
const adPlatformChoices = await p.multiselect({
|
|
2139
|
-
message: "Select your ad platforms:",
|
|
2143
|
+
message: "Select your ad platforms (Space to toggle, Enter to confirm):",
|
|
2140
2144
|
options: AD_PLATFORMS.filter((p2) => p2.id !== "none").map((platform) => ({
|
|
2141
2145
|
value: platform.id,
|
|
2142
2146
|
label: platform.label,
|
|
@@ -2228,7 +2232,7 @@ ${import_chalk.default.bold("High-value events")} are the key actions that matte
|
|
|
2228
2232
|
"Suggested Events"
|
|
2229
2233
|
);
|
|
2230
2234
|
const selectedEventNames = await p.multiselect({
|
|
2231
|
-
message: "Select events to track:",
|
|
2235
|
+
message: "Select events to track (Space to toggle, Enter to confirm):",
|
|
2232
2236
|
options: eventOptions,
|
|
2233
2237
|
initialValues: ["__all_recommended__"],
|
|
2234
2238
|
required: false
|
|
@@ -2370,7 +2374,7 @@ async function executeAgent(params) {
|
|
|
2370
2374
|
}
|
|
2371
2375
|
try {
|
|
2372
2376
|
const controller = new AbortController();
|
|
2373
|
-
const timeoutId = setTimeout(() => controller.abort(),
|
|
2377
|
+
const timeoutId = setTimeout(() => controller.abort(), 3e5);
|
|
2374
2378
|
const response = await fetch(`${LLM_GATEWAY_URL}/agent`, {
|
|
2375
2379
|
method: "POST",
|
|
2376
2380
|
headers: {
|