Skip to content

Latest commit

 

History

History
135 lines (115 loc) · 10.9 KB

ROADMAP.md

File metadata and controls

135 lines (115 loc) · 10.9 KB

ConsoleMonster roadmap

This file holds decisions and the backlog. Granular engineering tasks (validation, review follow-ups, small fixes) live in TODO.md.

The aim: ConsoleMonster is complete enough that moving a product onto it never needs a ConsoleMonster change made for that product. Gaps are closed with general extension points, not per-product shims.

Shipped through 2.2.0

  • A zero-dependency .NET library (netstandard2.0, net472, net8.0, net10.0) and a thin binary PowerShell module for Windows PowerShell 5.1 and PowerShell 7, laid out library-first.
  • Terminal detection (VT, colour depth, glyph tier, size, redirection, CI, light or dark background) with environment overrides, Unicode output through WriteConsoleW, Ctrl+C restore, and safe plain output for logs and CI.
  • Markup with the 256-colour palette names, hex, rgb(), theme roles and explicit console. / palette. names; links as OSC 8 with a safe-scheme filter; graceful unknown tags; escape and interpolation helpers.
  • Rich text everywhere text appears, with themes (dark, light, high contrast) and per-tier colour down-mapping.
  • Widgets: tables with width negotiation, groups, totals and presenters; trees; panels; key/value lists; charts; logo; status lists; progress, lanes and phases; log regions; dashboards and layouts.
  • Live sessions, full screen or inline below the cursor, with console capture, record and replay, resize handling and a Write-Progress bridge.
  • Terminal.Status, screen and cursor helpers, and markup without a newline.
  • Prompts, forms and wizards, menus and the app shell, a multi-line text area and an interactive grid.
  • Exceptions and PowerShell errors, a dependency-free highlighting engine (CodeView, Show-Console -View Code, Show-Console -View Json), and Pester runs with a live dashboard.
  • Export to HTML, SVG, text and asciicast, with the HTML recording player as one native script and a data format that sites reuse; public test helpers (TestTerminal, GoldenFile, ScreenCapture, Assert-ConsoleOutput).
  • Raster/PNG export and the ChartForgeX renderer integration ship in the separate ConsoleMonster.Graphics package; terminal rendering stays in the zero-dependency core.
  • Write-ConsoleText with the Write-Color parameters, log formats and correct log-file encoding handling.
  • Targets (ITerminalTarget): console, recording, writer and null targets behind every write, live session, prompt and status helper, with a scoped ambient default and a documented pattern for libraries.
  • Progress columns for lanes and progress bars: built-ins, custom columns, smoothed rate and remaining time, hide-completed, collapse-when-finished and transient modes, and column summaries in stream output.
  • Built-in labels in English, Polish, German, Spanish, French and Italian, following the UI language, including the test-run view.
  • Replaceable regions (RegionWidget, LiveSession.Region, New-ConsoleRegion, Update-Console) and keyed live tables (LiveTable, New-ConsoleTable, Update-Console) with stable widths, a recent-rows window and sorting.
  • Emoji and symbol fallback per glyph tier, extensible by apps, with opt-in :shortcode: emoji in markup and an Emoji cell presenter.
  • Use-ConsoleTarget to send PowerShell output to a file, a writer, a target or a string.
  • The terminal's progress indicator (OSC 9;4, the Windows Terminal tab and taskbar) driven by progress bars, lanes, dashboards, status lines, Use-ConsoleProgress and Invoke-ConsolePester, cleared on every exit path.
  • Show-Console (the best view for any data, ConsoleView in C#) and opt-in default formatting (Enable-ConsoleFormatting, Register-ConsoleView) for files, processes, services and registered types.
  • Rewinding runs: Show-ConsoleReplay (ReplayPlayer in C#), an in-terminal player for recordings with play/pause, speed, frame stepping, a timeline to scrub, jumps to markers, failures, warnings and log entries, and log search; opt-in automatic recording of the last runs (LiveSessionOptions.AutoRecord, Invoke-ConsoleDashboard -AutoRecord); region swaps recorded as pictures so they replay faithfully.
  • Object comparison and the what-if pattern: Compare-ConsoleObject (ObjectDiff, ChangeView) matches objects by key and shows property-level changes with counts (summary, table, side by side, unified), and Compare-ConsoleObject -Question (ChangePreview) previews changes and asks before applying them, with a typed confirmation for removals and -WhatIf support.
  • PowerShell, C# initializer and C# fluent tabs on every demo. Fluent construction starts at Ui, named setters configure the same objects, and ContentBuilder keeps nesting consistent at every depth. Typed rows use Table.For(rows) / Ui.Table(rows). A build-time Roslyn source generator compiles property-named setters into the library; no analyzer or runtime reflection ships. Metadata parity and byte-identical gallery triplets keep the translation complete.
  • Apps with screens, scoped key bindings and an overlay layer for dropdowns, dialogs and toasts; a headless terminal, a browser host and an opt-in debug socket to test, record and drive them (2.1.3).
  • Images in the terminal: Kitty, iTerm2 and Sixel protocols with a half-block fallback, and ChartForgeX renders through ConsoleImage in ConsoleMonster.Graphics (2.1.3).
  • Diagrams: the core Diagram model with nodes, links, groups and playable use cases, and routed topology rendering through ConsoleMonster.Graphics (2.1.3).
  • Interactive navigation (2.2.0, Docs/Proposals/Interactive-Navigation.md): the mouse wherever the keyboard works; collapsible sections, accordions, splitters and a find bar; a document viewer for Markdown and command help built from reusable Outline, Breadcrumb, Tabs and NavigationHistory<T> parts; and ChartView, a chart you can explore over any ChartPlot, with selections linked through app state between controls that implement ILinkedSelection.

Next

The agreed order. Steps 1–4 shipped by 2.1.0 (the everyday-path PR, followed by one PowerShell grammar for every widget and the documentation and website round). Steps 5 and 6 are next; product trials in step 5 happen in the referenced repositories.

  1. The everyday path. Ordinary PowerShell output that is excellent without configuration: one value-shaping layer for every command, capturable output, labelled group headings, one status vocabulary with PowerShell's own words, one date format, short values that never break, Enable-ConsoleFormatting with views for the common commands, and Linux and macOS parity. (Done.)

  2. Live runs. Generic widgets for running many items: an outcome grid (one cell per item, a shape per state), a summary bar, an activity list and lane options; the test-run view built from them; Watch-Console to re-run a script block as a live view; Invoke-ConsoleRun -Parallel with a live view and ordinary output objects (ConsoleRun.ForEachAsync in C#). (Done.)

  3. Better defaults. Enable-ConsoleFormatting can also install the error view for $ErrorView and Write-Progress rendering, each opt-in; Show-ConsoleHelp renders PowerShell's own help objects. (Done.)

  4. .NET. Hosting and logging packages (ConsoleMonster.Hosting, ConsoleMonster.Extensions.Logging) and a dotnet new template, outside the zero-dependency core; a decision paper on a command-line layer (Docs/Proposals/Command-Line-Layer.md, written as part of this step). (Done.)

    Shipped alongside steps 1–4: one PowerShell grammar for widgets (containers take -Content script blocks and items are records with shared property names; see Docs/PowerShell-Conventions.md), command help with real examples for every cmdlet, and website pages and demos for the everyday path, live runs, help and defaults, Linux and SSH, and the .NET packages.

Next:

  1. Trials in real products. TestimoX.CLI and PSPublishModule adopt ConsoleMonster after the everyday path ships. The work happens in those repositories; gaps found there come back here as general extension points.
  2. One definition, every output. The same view definition rendered to the terminal here and, through bridges in their own packages, to other outputs.

Ownership

ConsoleMonster owns terminal views and their text, HTML and SVG exports. The core never emits Markdown; the ConsoleMonster.Markdown add-on owns Markdown display and export. Markdown belongs to OfficeIMO: the add-on uses OfficeIMO.Markdown for reading and document blocks, with widget-specific presenter output kept in the bridge. Raster and PNG rendering live in ConsoleMonster.Graphics, backed by ChartForgeX. Full document authoring belongs to OfficeIMO, and application HTML belongs to HtmlForgeX.

Decided: command-line parsing

Our command-line tools parse with System.CommandLine and write their output with ConsoleMonster. ConsoleMonster does not build its own command-line layer while Microsoft maintains System.CommandLine. The decision paper (Docs/Proposals/Command-Line-Layer.md) is kept, marked declined; Docs/Usage.md (Command-line tools with System.CommandLine) and ConsoleMonster.Examples.Extensions cli show the pairing.

Backlog

Grouped under the step they would join; the rest stays unscheduled.

  • With live runs (step 2): watching a live run remotely, a local browser mirror built on the HTML exporter and Watch-ConsoleSession to attach from another terminal, including over SSH; per-log highlighting in log regions.

  • With better defaults (step 3): collapsing long JSON arrays; one shared highlighting engine for tools that keep their own today (PSPublishModule could consume ConsoleMonster's).

  • With .NET (step 4): a possible AOT-compiled cmon command-line tool; no tool is shipped today.

  • Commander phase 3: a two-panel file manager built on the existing file operations and panel model. The application and host are not shipped.

  • Raster output is available through the optional ConsoleMonster.Graphics package: PNG, GIF and APNG. Further ChartForgeX integration remains a separate proposal.

  • With export/raster work: MP4 without dependencies. -Format Mp4 through Media Foundation on Windows and AVFoundation on macOS, using the encoders shipped by the OS: no external program or download. Linux reports that MP4 is unavailable and suggests GIF. Revisit a managed H.264 encoder in 2027: Proxeno.Kiln is pre-release, and US H.264 patents run to about November 2027.

  • Unscheduled, terminal work: QR codes and barcodes in the terminal through CodeGlyphX.

  • Settings and themes: one settings file with a live picker, themes that cover border, density and status markers, a theme that follows the terminal palette, a theme checker and exports that follow the active theme (Docs/Proposals/Settings-And-Themes.md).

Not planned

  • A full windowing framework.
  • Our own command-line parser: System.CommandLine is maintained by Microsoft and covers parsing, help and completion; ConsoleMonster pairs with it for output.