miriad-viz 0.3.2 → 0.3.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.
|
@@ -414,8 +414,8 @@ Extracting PR details from ${repo}...`);
|
|
|
414
414
|
sender: msg.sender,
|
|
415
415
|
mentions: extractMentions(msg.content, msg.sender, agentSet)
|
|
416
416
|
}));
|
|
417
|
-
writeJSON(dataDir, "messages.json", lightMessages);
|
|
418
|
-
outputs.push("messages.json");
|
|
417
|
+
writeJSON(dataDir, "messages-viz.json", lightMessages);
|
|
418
|
+
outputs.push("messages-viz.json");
|
|
419
419
|
} else {
|
|
420
420
|
console.log("\nSkipping chat extraction (no input provided)");
|
|
421
421
|
console.log(" To extract: use Miriad MCP get_messages, save as JSON");
|
package/dist-cli/index.js
CHANGED
|
@@ -525,6 +525,8 @@ function computeNext(progress, existingFiles, logTails, flags = {}, dataSummary,
|
|
|
525
525
|
output.push(` "Your human asked for [arc]. Here's what the data shows..."`);
|
|
526
526
|
output.push("");
|
|
527
527
|
output.push(" Phase B \u2014 Mine the data (mechanical):");
|
|
528
|
+
output.push(" Full messages are in data/messages.json (can be very large).");
|
|
529
|
+
output.push(" Search with grep/jq for quotes.");
|
|
528
530
|
output.push(" Search by each focus agent to understand their arc.");
|
|
529
531
|
output.push(' Search for emotional keywords: "fixed", "broken", "wtf",');
|
|
530
532
|
output.push(' "sorry", "actually", "wrong", all-caps, 3+ exclamation marks.');
|
|
@@ -1016,7 +1018,7 @@ async function runNext(flags) {
|
|
|
1016
1018
|
break;
|
|
1017
1019
|
}
|
|
1018
1020
|
case "transform": {
|
|
1019
|
-
const { runTransform } = await import("./transform-
|
|
1021
|
+
const { runTransform } = await import("./transform-PQYWROS2.js");
|
|
1020
1022
|
const padding = {};
|
|
1021
1023
|
if (nextFlags["pad-start"]) padding.padStartMs = Number(nextFlags["pad-start"]) * 1e3;
|
|
1022
1024
|
if (nextFlags["pad-end"]) padding.padEndMs = Number(nextFlags["pad-end"]) * 1e3;
|
|
@@ -1053,7 +1055,7 @@ async function main() {
|
|
|
1053
1055
|
}
|
|
1054
1056
|
case "extract": {
|
|
1055
1057
|
const { projectDir, progress } = requireProject();
|
|
1056
|
-
const { runExtract } = await import("./extract-
|
|
1058
|
+
const { runExtract } = await import("./extract-ER32ZVS5.js");
|
|
1057
1059
|
await runExtract({
|
|
1058
1060
|
projectDir,
|
|
1059
1061
|
progress,
|
|
@@ -1074,7 +1076,7 @@ async function main() {
|
|
|
1074
1076
|
case "transform": {
|
|
1075
1077
|
const { projectDir, progress } = requireProject();
|
|
1076
1078
|
const { parseDuration } = await import("./parse-duration-NVLCEFAF.js");
|
|
1077
|
-
const { runTransform } = await import("./transform-
|
|
1079
|
+
const { runTransform } = await import("./transform-PQYWROS2.js");
|
|
1078
1080
|
const padding = {};
|
|
1079
1081
|
if (typeof flags["pad-start"] === "string") {
|
|
1080
1082
|
padding.padStartMs = parseDuration(flags["pad-start"]);
|
|
@@ -471,7 +471,7 @@ These are produced by the curate step. Run 'npx miriad-viz curate' first.`
|
|
|
471
471
|
"No chat data \u2014 communication lines will be empty"
|
|
472
472
|
);
|
|
473
473
|
const messages = loadOptional(
|
|
474
|
-
"messages.json",
|
|
474
|
+
"messages-viz.json",
|
|
475
475
|
[],
|
|
476
476
|
"No messages data \u2014 comm lines and particles will rely on timeline events"
|
|
477
477
|
);
|