miriad-viz 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist-cli/index.js +23 -3
  2. package/package.json +1 -1
package/dist-cli/index.js CHANGED
@@ -140,9 +140,8 @@ function computeNext(progress, existingFiles, logTails, flags = {}, dataSummary,
140
140
  return { action: "all_done", progress, output: output2 };
141
141
  }
142
142
  const config = STEP_CONFIG[step];
143
- const output = [
144
- config.creative ? "\u26D4 FOLLOW THESE INSTRUCTIONS EXACTLY. This is a CREATIVE step \u2014 present results to the human and WAIT for their direction before proceeding." : "\u26D4 FOLLOW THESE INSTRUCTIONS EXACTLY. This is a mechanical step \u2014 run it, report the result, then call `next` again."
145
- ];
143
+ const stepPrefix = step === "extract" ? "\u26D4 FOLLOW THESE INSTRUCTIONS EXACTLY. This step requires human input BEFORE running any commands." : config.creative ? "\u26D4 FOLLOW THESE INSTRUCTIONS EXACTLY. This is a CREATIVE step \u2014 present results to the human and WAIT for their direction before proceeding." : "\u26D4 FOLLOW THESE INSTRUCTIONS EXACTLY. This is a mechanical step \u2014 run it, report the result, then call `next` again.";
144
+ const output = [stepPrefix];
146
145
  const state = progress.steps[step];
147
146
  if (state.status === "error") {
148
147
  output.push("", `\u2717 ${config.label} failed: ${state.error || "unknown error"}`);
@@ -439,6 +438,27 @@ function computeNext(progress, existingFiles, logTails, flags = {}, dataSummary,
439
438
  const logFile = config.logFile || `${step}.log`;
440
439
  output.push("", `\u{1F4CB} ${config.label}`);
441
440
  if (step === "extract") {
441
+ output.push("");
442
+ output.push(" \u250C\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510");
443
+ output.push(" \u2502 \u26D4 BEFORE RUNNING ANYTHING \u2014 Talk to the human first \u2502");
444
+ output.push(" \u2502 \u2502");
445
+ output.push(" \u2502 1. Explain what miriad-viz does (animated timeline \u2502");
446
+ output.push(" \u2502 visualization of channel activity \u2014 commits, PRs, \u2502");
447
+ output.push(" \u2502 messages, agent interactions rendered as video) \u2502");
448
+ output.push(" \u2502 \u2502");
449
+ output.push(" \u2502 2. Ask about scope: \u2502");
450
+ output.push(' \u2502 "Which time period? Full channel history, or a \u2502');
451
+ output.push(' \u2502 specific sprint/week/date range?" \u2502');
452
+ output.push(" \u2502 \u2502");
453
+ output.push(" \u2502 3. Ask about data sources: \u2502");
454
+ output.push(' \u2502 "Do you have a git repo for this project? \u2502');
455
+ output.push(' \u2502 Where is the chat data?" \u2502');
456
+ output.push(" \u2502 \u2502");
457
+ output.push(" \u2502 4. Confirm the plan before extracting. \u2502");
458
+ output.push(" \u2502 \u2502");
459
+ output.push(" \u2502 Only run the extraction command AFTER the human \u2502");
460
+ output.push(" \u2502 confirms the scope and data sources. \u2502");
461
+ output.push(" \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518");
442
462
  const rulesDoc = readBundledDoc("miriad-viz-rules");
443
463
  if (rulesDoc) {
444
464
  output.push("");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "miriad-viz",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/snorrees/miriad-viz.git"