miriad-viz 0.1.2 → 0.1.3
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-cli/index.js +35 -16
- package/dist-lib/chunk-35BGUXRR.js +1479 -0
- package/dist-lib/chunk-35BGUXRR.js.map +1 -0
- package/dist-lib/chunk-5WRI5ZAA.js +29 -0
- package/dist-lib/chunk-5WRI5ZAA.js.map +1 -0
- package/dist-lib/chunk-6IXCK4U7.cjs +467 -0
- package/dist-lib/chunk-6IXCK4U7.cjs.map +1 -0
- package/dist-lib/chunk-DZUJEN5N.cjs +32 -0
- package/dist-lib/chunk-DZUJEN5N.cjs.map +1 -0
- package/dist-lib/chunk-HZ4WWJYB.cjs +1487 -0
- package/dist-lib/chunk-HZ4WWJYB.cjs.map +1 -0
- package/dist-lib/chunk-JES2HAIT.cjs +3282 -0
- package/dist-lib/chunk-JES2HAIT.cjs.map +1 -0
- package/dist-lib/chunk-RKGGKGNS.js +455 -0
- package/dist-lib/chunk-RKGGKGNS.js.map +1 -0
- package/dist-lib/chunk-XVVWVUUW.js +3253 -0
- package/dist-lib/chunk-XVVWVUUW.js.map +1 -0
- package/dist-lib/dist-NZZPWOEV.js +3048 -0
- package/dist-lib/dist-NZZPWOEV.js.map +1 -0
- package/dist-lib/dist-SGILC24K.cjs +3078 -0
- package/dist-lib/dist-SGILC24K.cjs.map +1 -0
- package/dist-lib/index.cjs +59 -1939
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +4 -1926
- package/dist-lib/index.js.map +1 -1
- package/dist-lib/renderer/index.cjs +42 -3693
- package/dist-lib/renderer/index.cjs.map +1 -1
- package/dist-lib/renderer/index.js +3 -3666
- package/dist-lib/renderer/index.js.map +1 -1
- package/dist-lib/viewer/exports.cjs +130 -8269
- package/dist-lib/viewer/exports.cjs.map +1 -1
- package/dist-lib/viewer/exports.js +58 -8177
- package/dist-lib/viewer/exports.js.map +1 -1
- package/package.json +21 -18
package/dist-cli/index.js
CHANGED
|
@@ -343,32 +343,51 @@ function computeNext(progress, existingFiles, logTails, flags = {}, dataSummary,
|
|
|
343
343
|
const hasArtifacts = !!(flags["artifact-input"] || progress.extractConfig?.artifactInput);
|
|
344
344
|
if (!hasRepo && !hasChat && !hasArtifacts) {
|
|
345
345
|
output.push("");
|
|
346
|
-
output.push("
|
|
346
|
+
output.push(" \u26D4 BEFORE EXTRACTING: Ask the human these questions:");
|
|
347
|
+
output.push(" 1. Which channel to visualize? (this one, or a different one?)");
|
|
348
|
+
output.push(" 2. What time range? (full history, or a specific sprint/period?)");
|
|
349
|
+
output.push(" 3. Is there a git repo? (adds commit + PR lanes)");
|
|
350
|
+
output.push(" Wait for answers before running any extraction commands.");
|
|
347
351
|
output.push("");
|
|
348
|
-
output.push("
|
|
349
|
-
output.push("
|
|
352
|
+
output.push(" \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
353
|
+
output.push(" STEP A: EXTRACT CHANNEL DATA (do this FIRST)");
|
|
354
|
+
output.push(" \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
350
355
|
output.push("");
|
|
351
|
-
output.push("
|
|
352
|
-
output.push("
|
|
353
|
-
output.push(" 2. Pass: --chat-input ./messages.json");
|
|
356
|
+
output.push(" \u{1F4D6} Read the extraction script from the KB:");
|
|
357
|
+
output.push(' kb_read(kb: "root", doc: "miriad-viz-extraction-script")');
|
|
354
358
|
output.push("");
|
|
355
|
-
output.push("
|
|
356
|
-
output.push("
|
|
359
|
+
output.push(" Follow the instructions there EXACTLY. It gives you a shell");
|
|
360
|
+
output.push(" script that extracts messages, artifacts, and roster with");
|
|
361
|
+
output.push(" zero token usage. Run it, wait for it to finish, then come");
|
|
362
|
+
output.push(" back here with --chat-input and --artifact-input flags.");
|
|
357
363
|
output.push("");
|
|
358
|
-
output.push("
|
|
359
|
-
output.push("
|
|
360
|
-
output.push(" --to 2026-02-17 Only include data up to this date");
|
|
361
|
-
output.push(" (ISO dates, both inclusive. Omit either for no bound.)");
|
|
364
|
+
output.push(" \u26A0\uFE0F DO NOT use get_messages or any MCP tools to extract");
|
|
365
|
+
output.push(" messages \u2014 it wastes massive tokens. Use the shell script.");
|
|
362
366
|
output.push("");
|
|
363
|
-
output.push("
|
|
364
|
-
output.push("
|
|
367
|
+
output.push(" \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
368
|
+
output.push(" STEP B: RUN EXTRACT (after shell script completes)");
|
|
369
|
+
output.push(" \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550");
|
|
370
|
+
output.push("");
|
|
371
|
+
output.push(" Once you have the raw data, run extract with these flags:");
|
|
372
|
+
output.push(" --chat-input ./raw-data/messages.json");
|
|
373
|
+
output.push(" --artifact-input ./raw-data/artifacts.json");
|
|
374
|
+
output.push("");
|
|
375
|
+
output.push(" Optional \u2014 git repo (adds commit + PR lanes):");
|
|
376
|
+
output.push(" --repo-path /path/to/local/repo");
|
|
377
|
+
output.push("");
|
|
378
|
+
output.push(" Optional \u2014 date range filter:");
|
|
379
|
+
output.push(" --from 2026-02-10 --to 2026-02-17");
|
|
380
|
+
output.push("");
|
|
381
|
+
output.push(" Chat-only (no git) is valid. All flags are optional.");
|
|
365
382
|
}
|
|
366
383
|
}
|
|
367
384
|
output.push("", " Run this command:");
|
|
368
385
|
output.push(` nohup ${command} &> ${logFile} &`);
|
|
369
|
-
output.push(""
|
|
386
|
+
output.push("");
|
|
387
|
+
output.push(" \u26D4 MANDATORY: Set a 3-minute alarm to check progress.");
|
|
388
|
+
output.push(" DO NOT go silent. Report progress to the human every 3 minutes.");
|
|
370
389
|
output.push(` tail -5 ${logFile}`);
|
|
371
|
-
output.push("
|
|
390
|
+
output.push(" Then run 'npx miriad-viz next' to check if outputs are ready.");
|
|
372
391
|
progress.steps[step] = { status: "in_progress" };
|
|
373
392
|
return { action: "printed_command", step, command, progress, output };
|
|
374
393
|
}
|