Skip to content

Refine build pipe CLI output with colors and conditional inputs#655

Open
lchoquel wants to merge 4 commits intofeature/tweaks2from
feature/tweaks3
Open

Refine build pipe CLI output with colors and conditional inputs#655
lchoquel wants to merge 4 commits intofeature/tweaks2from
feature/tweaks3

Conversation

@lchoquel
Copy link
Member

@lchoquel lchoquel commented Feb 8, 2026

Summary

  • Clean up build pipe CLI output: replace per-file lines with a consolidated recap
  • Add --bundle-view/--no-bundle-view flag (disabled by default) to make bundle view generation opt-in
  • Only generate inputs.json when the pipe actually requires inputs, with a note to fill it before running
  • Enrich the bundle.plx recap line with domain and main pipe name
  • Add color styling: bold magenta for output paths, red for main pipe name, green for structure names
  • Add quiet parameter to generate_structures_from_blueprints() for suppressed output when called from builder
  • Promote several log.debug/log.dev calls to log.verbose for better observability

Test plan

  • make agent-check passes (ruff, pyright, mypy)
  • make agent-test passes
  • pipelex build pipe "Given a theme, write a Haiku" --no-logo shows clean recap with colored output
  • pipelex build pipe "Given a theme, write a Haiku" --no-extras --no-logo shows PLX-only recap
  • pipelex build pipe "Given a theme, write a Haiku" --bundle-view --no-logo includes bundle_view line
  • pipelex run shows bold magenta output path in recap

🤖 Generated with Claude Code


Note

Medium Risk
Moderate risk due to behavior changes in pipelex build pipe outputs (new flags, conditional file generation, graph saving semantics), though changes are largely CLI/observability-focused and don’t alter core pipeline execution logic.

Overview
pipelex build pipe output is reworked to be less noisy: per-file success secho lines are replaced with log.verbose messages and a single colored recap showing what was generated (bundle, optional bundle view, structures, optional inputs.json, runner, and graph formats). Generation of inputs.json is now conditional on the pipe having inputs, and a new --bundle-view/--no-bundle-view flag makes bundle view HTML/SVG generation opt-in.

Graph saving helper _save_graph_outputs_to_dir now returns the list of generated graph formats (instead of a count) so the recap can report mermaidflow/reactflow per section, and structure generation gains a quiet mode for suppressed CLI output. Minor UX polish includes styled output paths in pipelex run recaps, and multiple internal logs are promoted from debug/dev to verbose (graph/reactflow, library loading, telemetry). Dependency lockfile bumps several packages (e.g., anthropic, openai, posthog, coverage).

Written by Cursor Bugbot for commit 3dbe575. This will update automatically on new commits. Configure here.

lchoquel and others added 3 commits February 8, 2026 00:16
Replace noisy per-file `✅` messages with `log.verbose()` and a single
consolidated recap matching the `pipelex run` output pattern. Individual
file saves are now hidden at default verbosity, and a clean summary lists
output directory contents with format names. The "how to run" hint now
shows `pipelex run <dir>` instead of verbose flag-based invocation.

Also adds a `quiet` parameter to `generate_structures_from_blueprints()`
so callers can suppress per-file progress output when embedding structure
generation in a larger workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add --bundle-view/--no-bundle-view flag (disabled by default) to make
  bundle view HTML/SVG generation opt-in
- Show domain and main pipe name in the bundle.plx recap line
- Only generate inputs.json when the pipe actually requires inputs
- Add a note prompting users to fill inputs.json before running
- Promote several log.debug/log.dev calls to log.verbose for better
  observability in graph_factory, library_manager, and telemetry

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Style the "Output saved to" path in bold magenta for both build and run
commands, use red for the main pipe name, and green for structure names
in the build pipe recap.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

saved_formats.append("reactflow")

return saved_count
return saved_formats
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Graph format tracking omits non-HTML saved files

Low Severity

_save_graph_outputs_to_dir only appends to saved_formats when mermaidflow_html or reactflow_html are generated, but not for graphspec_json, mermaidflow_mmd, or reactflow_viewspec. If a user configures graphs to generate only non-HTML formats, files get saved to disk but the recap shows no graph output — and saved_graph_sections stays empty because the caller checks truthiness of the returned list.

Fix in Cursor Fix in Web

The `no_extras` path already returns early, so the subsequent check is
always true. Dedent the extras generation block to reduce nesting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant