The current release is 3.1.2. These notes come from the repository's changelog: the release build moves the changes waiting for the next release into a dated section, so this page follows each release by itself. Moving C# code from 2.x? Migrating to 3.0 lists every rename.
Next release
On master and not yet published to NuGet or the PowerShell Gallery.
What's new
- Prompt themes: five new prompt presets: Minimal, Focus, Timeline, Developer and Cloud.
Export-ConsolePromptwrites the prompt, or a preset, as a JSON prompt theme file thatSet-ConsolePrompt -PathandShow-ConsolePrompt -Pathread (PromptThemeFilein C#). Segments can have their ownBackgroundandForegroundcolours, andSet-ConsolePrompt -Markerchanges the input marker. Terminals that cannot draw the marker show>. - Reading oh-my-posh themes:
Import-ConsolePromptreads an oh-my-posh JSON theme as a prompt theme file (PromptThemeImport.LoadOhMyPosh). It keeps the segments that have an equivalent, along with their colours and common options, and lists inNoteseverything it left out. - Prompt in other shells:
cmon, a Native AOT command, draws the ConsoleMonster prompt in bash, zsh, fish, nushell and cmd through Clink.cmon init <shell>writes the shell's setup script, which passes the exit code, duration, jobs and width tocmon prompt. It reads the same settings and prompt theme files asSet-ConsolePrompt, and--explainlists each segment's value and time. - Command-line parsing: the new
ConsoleMonster.Commandspackage parses command lines with no dependency beyond ConsoleMonster and works with trimming and native AOT.CommandApp,Command,Option<T>,ListOption<T>,Argument<T>andListArgument<T>describe a tool; values convert without reflection (numbers, enumerations in kebab case, durations such as1h30m, dates, paths and arrays). It reads--name value,--name=valueand--name:value,--, negative numbers and@fileresponse files, suggests the nearest name for a typo, and runs value checks, required values and command-wide checks in one pass. Help is aHelpTopicdrawn byHelpView, errors go to standard error, and exit codes are 0, 1, 2 for usage errors and 130 for Ctrl+C.ValueSourcefills values from a configuration file,Useadds middleware,Completereturns completions andCommandBinding<TSettings>binds a settings class. See Usage.
3.1.2 2026-12-04
What's new
- Full-screen run board:
Start-ConsoleRun -Layout Board(LiveRunOptions.Layout = RunLayout.Board) gives a long run the whole screen as aRunBoard: the product's wordmark with a histogram of item durations, the stage track, one lane per group with counts in shared columns, one cell per item, the running items with their full titles, a rail of boxed panels (results, failures by severity, fix first, slowest so far) and a row of charts (pass rate so far, time per item). Hosts add any widget as a panel in the rail or the chart row; panels fit the height by priority and drop out whole. The board adapts at 140, 100 and 80 columns and draws the existing dashboard below 80 × 24. Finished items still reach the scrollback when the run ends. Live widgets in the board's stage track and panels take updates throughLiveRun.Dispatcher, from any thread. - Rows drop panels by priority:
Rows.DropByPriorityshrinksPrioritizedrows toward their minimum height and then removes the lowest priorities whole when the height is short, instead of cutting the last rows.Dashboard.FooterSegmentsadds links and other segments to a dashboard's footer, which now shows when it has only segments. - Header bar subtitles: a subtitle that does not fit drops whole facts from the end (
ad.adatum.com forest assessment · 12 targetsinstead of… · 332…); an ellipsis is used only when the first fact alone is too long. - Stacked bar options:
StackedBar.ShowTotal,ShowSwatchesandColorPassing(New-ConsoleChart -Type Stacked -NoTotal -NoSwatches -ColorPassing) leave out the total, use one status symbol per legend row instead of a swatch and keep the pass colour for the passing share. In aCellMapwithBlocks, queued items are now the empty track. ScatterPlotplaces points by two values with a colour per point, for example each item of a run by finishing order and duration. It takes live points throughUpdate-Consoleand lists its values as text on an accessible profile.CellMap.Blocksdraws a dense strip of coloured blocks, keeping the symbols without colour.- Registry output that reads like regedit: Registry output reads like regedit.
Get-ChildItemandGet-Itemon a registry drive list each key under its parent (HKLM:\SOFTWARE) with its subkey and value counts and up to 12 values as name, type and data: the default value first,REG_DWORDandREG_QWORDin hex and decimal,REG_BINARYshortened with its length, then+N more · Get-ItemProperty lists every value. Several keys end with akeys · values · subkeysline. Get-ItemPropertyon a registry key shows the values without thePS*provider properties, titled with the key path, with each value's type read from the key. Expandable strings show their stored text with the expanded text muted below, andREG_MULTI_SZitems and;-separated lists (Path,PSModulePath,PATHEXT) take one line each, with missing folders muted. More than three keys (...\Uninstall\*) become one table with a row per key and the most common values as columns.Get-ItemPropertyValuestays native.- Secrets masked in everyday output: Everyday views mask values that look like secrets: registry values,
Get-ChildItem Env:and JSON, REST and CSV records show•••••• (masked, 24 chars)for passwords, tokens, keys and connection strings, recognised by name (PASSWORD,SECRET,TOKEN,API_KEY,CONNECTIONSTRING,CREDENTIALand more) or by shape (JWTs, PEM private keys, well-known token prefixes, passwords in connection strings and URLs, app passwords, long hex and base64 blobs). Masking is display-only.$ConsoleMaskSecrets = $falseturns it off for the session and the newSecretssetting (Set-ConsoleSetting Secrets Shown,CONSOLEMONSTER_SECRETS) everywhere; explicitFormat-*commands show values as they are. - Built-in view headings (
Directory:, a registry key, a certificate store, a Select-String file) start at the table's left edge instead of one column in. Get-Servicekeeps each service on one line and names automatic services that are not running;Get-Processsums up which process used the most CPU time.Test-NetConnectionoutput now uses its ConsoleMonster view (it was registered under the wrong type name) and shows only the checks that ran, with ping latency.Win32_ServiceandWin32_ProcessfromGet-CimInstanceorGet-WmiObjectlook likeGet-ServiceandGet-Process; services that stopped with an error show their exit code.Get-ScheduledTaskInfoshows each task's last result as a word, failure codes in hex, tasks that never ran and the next task due.Get-LocalGroupMembermarks members Windows cannot resolve and counts members by source.Get-NetIPConfiguration,Get-NetRouteandGet-DnsClientServerAddresshave compact views with addresses, gateway, DNS servers and the default route.Get-NetAdaptershows link speed for connected adapters ahead of MAC addresses.- SVG and PNG exports no longer show thin seams where half-block characters meet cells of the same colour, such as Basic Powerline separators.
Show-ConsolePrompt -Preset *names each preset above its preview. On the Basic glyph tier, Diamond segments have half-block caps so they no longer look like padded Plain segments.- Product modules can give every type in their namespaces a readable console view with one call:
ModuleLease.RegisterGenericView(display feature level 5). A few wide records become cards, many become a table of the most informative columns; empty fields are hidden, nested objects show their name, collections their first items and count, byte arrays their hex, and sentinels such asint.MaxValueorDateTime.MinValuea mutedneverornot reported. Exact, family and user views and PowerShell format data keep precedence, and the view never runs product getters unless the module allows it. - A generic view's table lifts text shared by every row (such as one computer name) into its header line with the record count, and shows sizes and durations from units the module declares (
DefaultDisplayGenericView.Unitsor[DefaultDisplayUnit]) instead of guessing from member names. - Collected views stop at a row limit with a muted
+N more · pipe to Format-Table for every rowline: 50 table rows or 10 cards by default,RowLimitper view, and$ConsoleViewLengthPreference = 'Full'for every record. A generic view holds no more records than it shows, drawing the first rows as they arrive.SeverityMember(orSeverityMemberson a generic view) orders records worst first. LiveRunOptions.ShowSummary = falseleaves the end of a run to the host, andLiveRunOptions.Summarytakes a callback that builds the host's own summary from the finalRunSnapshotin place of the built-in problems table.- With
$VerbosePreference = 'Continue', a registered default view that stays native says why once per reason, for example that output is redirected or that an explicitOut-Defaultin a script is not the host's own output.
Fixed
- PowerShell resolves
[ConsoleMonster.Text.Markup]after importing the module, so scripts can callMarkup.Escape()to keep brackets in alert messages and other text literal. Invoke-ConsoleRecordingnever showed product default views: the child ran the whole script as one pipeline whoseOut-Defaultwas resolved before the script imported anything, and as script output it did not count as the host's own output. Each top-level statement now runs as its own submission, as at the prompt, so a recording shows what the console shows.- A live run's dashboard stopped at 20 rows, so
HeightPercenthad no effect on tall terminals. It now takes the height the session gives it, and still sheds its parts by priority when that is short. CellMapcut column names at 12 cells (ad.evotec.x…) even when the row had room. Names now show whole when every column fits at the widest name; they are cut at 12 cells, or numbered with a key, only when they do not.- In a narrow panel,
Distributionrows cut their count (2…for 26). The count now always shows whole: the label shortens first, then the bar, and a detail after the count takes what is left. Export-ConsoleFrame -Format Pngfailed with "Height must be between 0 and 1000 cells" for output longer than 1,000 lines. The image now keeps the first lines and ends with a muted+N more linesmarker; SVG and HTML still hold every line.
3.0.3 2026-12-02
Breaking changes
- The status word
Errornow selects the newStatusKind.Error(a check that could not reach a verdict) instead ofFail:-Status Error, anErrorcell or column value andStatusKinds.TryParse("error")all read as Error. UseFailorFailedfor a failure.
Shell prompt migration
| Earlier formatting option | Prompt configuration |
|---|---|
Enable-ConsoleFormatting -Include Prompt -PromptLayout TwoLine | Set-ConsolePrompt -Layout TwoLine, then Enable-ConsoleFormatting -Include Prompt |
Enable-ConsoleFormatting -Include Prompt -PromptSegments 'Path, Git, Status' | Set-ConsolePrompt -Left path,git,status, then Enable-ConsoleFormatting -Include Prompt |
Saved prompt settings in Formatting | Pass the layout and segment lists you want to keep to Set-ConsolePrompt -Layout … -Left … -Right … -Save. A bare Set-ConsolePrompt -Save saves the current Phase 1 defaults if you have yet to configure them. |
What's new
- Shell prompt with presets, hints and transient prompts: The PowerShell prompt has configurable segment lists, Plain, Powerline and Diamond styles, a right area, optional transient prompts and hints, and shell integration on supported terminals. Use
Show-ConsolePrompt -Preset *for a preview. - Run dashboard with busy workers and a check map:
RunDashboardhosts assessment runs. Items finish as Error, Investigate or NotRun as well (RunSnapshot.Errors,Investigate,NotRun, counted as done),RunItem.Severitycarries the item's band,Workersshows "3 of 4 workers busy" with idle slots, andShowMapdraws a category × target map coloured by the worst outcome, with the targets above their columns and each category's progress in its row label (in place of the group rows); a suffix the targets share (.corp.example) moves to the map's title, and a map without room for one row of cells is left out. When even numbered columns do not fit, the map shows those that do and the key ends with "+N more", and a grid counts the categories it leaves out as "+N more rows". Counts leave out outcomes that have not happened (passed always shows) and read in the singular for one ("1 warning"); the "Up next" and "Problems so far" titles count every item, so no "+ N more" line repeats the count; and when the height allows, a blank row separates the parts.Section(title, widget, priority)andSection(title, snapshot => widget, priority)add the host's own parts, such as a score so far; the dashboard fits them into its height with its own parts by priority and shrinks, then drops, the lowest first.CellMap.Cell(row, column, state)builds a named grid andCellMap.ShowColumnLabelsheads its columns (numbered with a key when the names do not fit), andDistribution.WorstFirstwithAdd(label, count, state, detail)ranks buckets worst first with a note. - Error, Investigate and NotRun outcomes:
StatusKindaddsError(a check that threw or timed out, which is not a failure),Investigate(needs a human look) andNotRun(deliberately not executed), with their own symbols on every glyph tier (‼ ? Ø, ASCIIE ? /, words[ERROR][REVIEW][NOTRUN]), translated badge words and existing theme roles (Gap, Warn, Muted), so themes and theme files need no change. Status lists, lanes, cell maps, matrices, calendars and phases show and count them.StatusKinds.TryParsereads every status by its own name (Error,Investigate,NotRun) and alsoerroredandnot run, so a status sent by name through a live update keeps its meaning. - A heartbeat for long CI runs:
ProgressHeartbeatwrites a progress line for CI logs and redirected output every N items or every interval (30 seconds by default):Tests: 120/450 (26%) · 3 failed · 00:01:12. In Azure Pipelines it also moves the task progress throughContinuousIntegration.ReportProgress(##vso[task.setprogress]); GitHub Actions and GitLab have no progress command.Invoke-ConsolePesterwrites it in stream output, and-ExportHtmlnow ends the summary with the report path. - Code frames for slides, with help and indentation guides: Code frames keep PowerShell functions and top-level blocks together when paging, with blank-line and indentation breaks for other languages. Short excerpts scale to their content on slides. Use
-IndentationGuidesfor themed guides and-FunctionName -IncludeHelpto include attached comment-based help. SVG exports preserve the selected source and its line range forImport-ConsoleCodeFrame. Use-NoCodeSourceto omit it. - Toolchain, cloud and battery prompt segments: Optional shell segments show project toolchains, cloud context and battery charge. They refresh asynchronously and prefer local configuration files.
- Test runs carry assessment results.
TestRecordaddsGroup,Severity,ReasonCodeandReason, andTestRecord.ParseStatusreads Error, Errored, Timeout, Investigate, NotRun and NotExecuted.TestRunSummarycounts by group once records name one (GroupLabelnames the column), adds Error, Investigate, Not run and worst-severity columns when the run has them, colours each count by its status (zeros muted), lists skip and not-run reasons by count and the results to investigate after the failures, and ends withReportPathas a link where the terminal supports links. The time column is now headed Test time, because it sums the test durations; the closing line keeps the run's clock. Live file lanes count errors, results to investigate and not-run tests in their own columns (Lane.Errors,Investigate,NotRun), and a file whose tests were all not run keeps its own row instead of folding into the skipped line. The Markdown export and CI job summary carry the same columns, reasons and link.TestRunSnapshotexposesErrors,Investigate,Groups,ReasonsandWorstSeverity. Terminal.UseScreenOwner(owner)declares that another component draws the console screen. Until the scope ends, console output from every thread uses stream mode, so live views, progress and prompts write append-only lines instead of drawing over the owner's frames.Terminal.ScreenOwnernames the owner.- Inline prompts and forms write each frame as one synchronized update (DEC mode 2026), as live views already did, so a redraw on each key no longer flickers in terminals that support it.
- Shares never hide a part: a part above zero but under 1% reads "<1%" and one short of the whole reads ">99%", in stacked bar legends and
NumberFormat.Percent. - Overflow footers give PowerShell advice ("pipe to Format-Table for every row", "pipe to Format-List for every property",
$ConsoleViewLengthPreference) only in PowerShell, where the module orHostOutputis loaded; other hosts show the count alone ("+169 more"). Terminal.WriteError,Terminal.WriteErrorMarkupLineandTerminal.ErrorTargetwrite to standard error with the same capability decisions: redirected standard error is plain.TerminalProfile.WithRedirectedOutput()andWithPlainOutput()give a host the redirected or plain version of a profile instead of building one by hand, so its status markers match the library's own redirected (▲) or plain ([WARN]) output.- Command-line help groups options under headings (
HelpParameter.Group), shows optional values as--report [path](ValueOptional), takes a literalSyntax, and starts each usage line withCommandLineHelp.Program. StatusList.Child(parentKey, label, status, detail)nests detail rows under a row (StatusItem.Children).SecretPrompt.ShowSecureandPrompt.SecureSecretreturn the answer as a read-onlySecureString;Showstill returns the string.
Fixed
- A calendar day marked Unknown or None threw on the ASCII tier; it now shows the status marker.
- Redirected output without
COLUMNScut or wrapped status lists, text and facts at the 80-column layout default, which broke log lines. Line widgets now print whole when the width is unknown (TerminalProfile.IsWidthKnown); tables, panels and charts still lay out at the default.
3.0.2 2026-11-30
What's new
Read-ConsoleSelect -NoSummaryhides the confirmation line after a successful single or multiple selection and still returns the selected objects. Cancellation feedback stays visible. With-Multiplethe default title is Choose items; single selection keeps Choose one.
Fixed
Format-Table -AutoSizemeasures the displayed values against the terminal width when ConsoleMonster formatting is enabled, instead of truncating them to the declared widths.- The module and the nine NuGet packages share one
3.0.Xversion line, and the release resolves the next patch for all of them together.
3.0.1 2026-11-22
Fixed
- When Pester returns no run result, the terminal summary, the CI job summary and the exported dashboard show Pester run incomplete (no result) instead of a passing run.
- Command help describes the shape each parameter expects, the keys interactive views accept and what each command returns to the pipeline.
3.0.0 2026-11-19
Breaking changes
ConsoleMonster now follows the authoring convention shared with ChartForgeX, CanopyX and HtmlForgeX, generated by PowerForge.Generators. Object initializers and property access are unchanged; fluent chains change names. Migrating to 3.0 lists every rename.
- Children are named by their noun:
AddColumn/AddRow/AddValuesbecomeColumn/Row/Values,AddXs(items)becomesXs(items)(anIEnumerable<T>), and modelSetXmethods becomeX. - Callbacks declare a verb instead of going through
Configure(...):Validate,ShowWhen,PreviewBy,ChoicesBy,WhenChanged,Run,WriteTo. - Output uses
Save(path),Save(path, format),Save(stream, format),Render(format)andToSvg/ToHtml/ToText/ToMarkdowninstead ofExport*;ExportFormatisOutputFormatand names the add-on formats too. ThemePreferenceis split into the sharedThemeMode(Auto, Light, Dark) andThemePalette(Default, HighContrast, ColorBlind, Terminal).CONSOLEMONSTER_THEMEvalues are unchanged.- Paint-only tones take the shared
Tone, andStatusKind/Severitymap to it withToTone().GlyphIconbecomes theIconscatalog of icon keys;MenuItem.Iconis the key and free text moves toMenuItem.Mark(-Markin PowerShell;-IconNamestays as an alias of-Iconuntil 4.0). Ui.Panel("Build", p => ...)and the other titled factories take a title and an optional configuration.
2.4.2 2026-11-17
What's new
Get-ChildItemnames take the colour of their kind in the table and the recursive tree, on Windows as well as Unix: folders, links, executables, scripts and source code, archives and packages, images and media, and muted hidden and generated files (.log,.tmp,.bak). The colours come from the theme, so they follow light and dark terminals, the colour depth andNO_COLOR, and need no special font. Terminals that support links make each name a link to the file.- Everyday PowerShell output adds views for
Get-ChildItem Env:(path lists one folder per line, missing folders muted),Get-EventLog,Win32_LogicalDiskandWin32_OperatingSystem,Get-HotFix,Get-WindowsOptionalFeature,Get-NetFirewallRule,Invoke-WebRequestandGet-FileHash, with summary lines for events, drives, updates, features and firewall rules.
2.4.1 2026-11-13
What's new
- Text construction is literal in all three API styles:
new TextBlock(text)matchesUi.Text(text)andNew-ConsoleText. UseTextBlock.FromMarkuporUi.Markupfor markup. Typed chart and progress factories remove casts, and content builders compose images and parsed Markdown through their owning packages. - PowerShell parameter names align with C# while retaining the familiar
Depth,Message,ExcludeandDescendingconventions.Show-ConsoleSettingjoins the singular setting commands.PrintFinalStatedefaults to true for both progress and dashboards;AutoPlaydefaults to true for replay. Help includes scalar defaults, concise synopses and runnable examples. - Everyday PowerShell output adds views and summary lines for Windows volumes, disks, TCP connections, scheduled tasks and local users. Installed PowerShell resources and modules show their version, repository, author and available publication date, with repository counts for longer listings.
Use-ConsoleGroup,Write-ConsoleAnnotationandAdd-ConsoleJobSummarymake GitHub Actions, Azure Pipelines and GitLab CI logs native to their provider. C# usesContinuousIntegration.Group,AnnotateandAddSummary;CONSOLEMONSTER_CIorUseProviderforces a provider or turns commands off. Runs fold by step, Pester annotates failures and adds a Markdown results summary, and the Errors formatting feature annotates script positions. Automatic annotations stop at ten per run/output pipeline with one overflow count; ordinary terminals keep headings, status lines and Markdown output. Annotation paths are relative to the provider workspace, and terminal source labels show the path and line once, relative to the current directory.New-ConsoleFacts,Ui.Facts()and publicViewFactsshare report facts with default-view summaries: bold counts, semantic colours, muted neutral facts and separators that follow the glyph tier.- Quota bars (
BarChartwithMaximum), progress and score gauges use Line bars with a Subtle track; comparisons use Block without a track. A whole of 100 shows a percentage once. Healthy composition shares are neutral, and stacked bars show their total on the right. - Warning markers use
▲on Full and Basic (!on ASCII). Labels, values and headings follow one hierarchy; labelled sparklines show their axis and peak. Numeric text columns align right by default. Dashboard sections fill spare live height while printed reports and app layouts retain their natural sizing. - Gallery reports use the shared facts and bar rules, with static cell/style references in Dark, Light and ColorBlindSafe and a PNG contact-sheet command for review.
- Critical and Fatal log entries use the
CRITlabel and Critical style across Microsoft.Extensions.Logging, Serilog, NLog and live log regions, keeping the message as written. - Native Serilog and NLog output:
ConsoleMonster.Extensions.SerilogaddsWriteTo.ConsoleMonster, andConsoleMonster.Extensions.NLogaddsConsoleMonsterTargetfor code and XML configuration. Both keep native structured events, highlight template values, show unused properties as muted fields and render exceptions throughExceptionView. Entries print above a live view or post to its configured log region; redirected output stays plain and append-only. Neither package requiresMicrosoft.Extensions.Logging. Theme.Schemesships ten named palettes with upstream provenance and licence notices.Set-ConsoleTheme Draculakeeps the faithful colours;-Accessibleselects the checked variant and saves asDracula · accessible. Solarized, Gruvbox, Catppuccin and Tokyo Night pick light or dark for the detected background, while explicit variant names stay fixed. Version 3 files accept a catalogue name inBaseScheme.Show-ConsoleSettinggroups the Theme list into Built in, Follow my terminal, Schemes and Your files, and draws each preview on that theme's own background, so a light scheme no longer sits on a dark terminal. The colour scheme gallery shows every scheme faithful and accessible with the checker's verdict.HostOutputinConsoleMonster.PowerShell.Displayis public: compiled cmdlets in other modules write widgets and markup withHostOutput.WriteandHostOutput.WriteMarkupthrough the same routes as ConsoleMonster's own commands (local console, transcript, ISE, jobs, remoting, redirected output), without importing the ConsoleMonster module.HostOutput.Runruns a cmdlet's ownWriteWarning,WriteVerboseorShouldContinueclear of a running live area, andHostOutput.CanRenderLivesays whether a live view can draw. The module now uses this shared class instead of its own copy.LiveSession.WriteOutside(action)writes output the session does not draw, such as a host warning or a prompt waiting for an answer: the inline area is cleared (full screen leaves the alternate screen), the action runs synchronously, and the area starts again below its output. No frame is drawn while the action waits.- The
Phasesstep ledger (StepCounter) lists each step's items under it, spins running steps and shows their latest detail with a ticking elapsed time. When it is taller than its space, finished groups fold into their row (149/149 · 40s), running steps stay visible (pinned under+N earlierwhen they are above the window), and the window around the furthest started step only moves forward. The final printed ledger lists every item. - Ledger stages nest:
Phases.SetSubItem(or anitemevent keyed phase, item and sub-item) lists packages under the stage that runs them, and a finished stage folds into onedone/total · timerow in a short area.Phases.Insertand the liveinsertoperation put a step planned after the run started at its place. Items have their own clock: a running item shows its elapsed time after its detail and a finished one keeps the time it took; a finishingstateoritemevent can give that time as Value. LogRegion.FitToEntriesmakes a log take only the rows its newest entries need, up toPreferredHeight, and none while it is empty, so a message area under inline progress appears and grows with its messages.MarkdownConsolereads GitHub READMEs:> [!NOTE],[!TIP],[!IMPORTANT],[!WARNING]and[!CAUTION]alerts render with their title and a bar in the alert's colour, task items show✓/○([x]/[ ]on ASCII) with checked items in the pass colour, and YAML front matter is no longer printed as a rule and heading. Markdown and frame exports show the same text.
Fixed
- I've made frame exports use registered module views, with their input and output budgets and automatic fallback when a selector, builder or renderer fails.
- With
Enable-ConsoleFormattingin the profile,pwsh -Commandandpowershell.exe -Commandreturned exit code 0 after a failing script or native command, because theOut-Defaultshim reset$?after the command finished. The shim now hands the command's status back, so the exit code (and$?at an interactive prompt) matches a session without ConsoleMonster (#155). - Re-adding an existing
Phasesstep (the liveaddoperation) changed it back to pending; it now changes only the label, so a running step can be retitled. Rowsmeasured a fraction row before the auto rows after it, so under a height limit a long step list took all the height and the rows below it got none. Fraction rows are now measured after the fixed and auto rows, as documented.- The step ledger separated details from times with
·on every glyph tier; the ASCII tier now uses-, like its other separators. - Capability detection no longer leaves VT processing on for the shell after the process ends: the console mode found before detection is restored at process exit.
- Buffers have limits:
LiveSessionOptions.MaxQueuedEvents(1,000,000 by default) rejects and counts updates while the render thread is far behind, an unfinished captured line is written once it reaches 65,536 characters, log entries keep at most 16,384 characters, and dashboard runspaces release stream records once they reach the log. - The Spectre.Console guide said
:emoji:shortcodes are not supported;Markup.Shortcodes = trueexpands them. - Timed-out Windows recordings cancel a stuck output-pipe read before closing its handle, so cleanup can finalize the recording and report the session timeout. Queued output still drains before the reader finishes.
- Theme checking and verdicts use only the cached terminal palette, without starting OSC probes. Invalid
BaseThemeerrors includeTerminalamong the accepted presets. - Light Unix terminals got the dark palette for tables, lists and charts because the background was only queried before keyboard input. With the automatic theme, output now asks an interactive terminal once (OSC 11 fenced by a device-attributes request, at most 250 ms), never when output is redirected, in CI, with colour off, with
COLORFGBGor a chosen theme, or while keys are waiting. Keys typed during the query go back to the terminal for the shell; Linux kernels that refuse that (dev.tty.legacy_tiocsti=0) skip the query, and the answer from a later keyboard prompt is reused. - Kitty and Ghostty were detected as
Xtermwithout clickable links.TerminalKindaddsKitty,GhosttyandAppleTerminal; Kitty and Ghostty get OSC 8 links, except in a tmux, screen or Zellij pane they started; Terminal.app keeps the text fallback. - An inline dashboard's final frame kept the
ctrl+c stophint, and one stopped with Ctrl+C looked unfinished. The frame left in the scrollback drops key hints, and a cancelled session's dashboard header saysstopped. Show-Console -View TreeshowedName TableCellfor files and folders on macOS and Linux; the tree now shows the name.- The
New-ConsoleCollapsible,New-ConsoleAccordionandNew-ConsoleDataGridhelp examples and theShow-ConsoleMenuerror suggestion useGet-Processinstead of the Windows-onlyGet-Service. - Words log markers omit the repeated level word. Adjacent identical composition fills have a one-cell gap, legends fit each column's labels, and cut flow edges show their failure indicator once.
- Words markers no longer overwrite lane labels or adjacent calendar dates, and status cells omit a repeated status word. Running and Pending retain their own meanings in inferred status columns.
- Comparison distributions keep block fills without tracks. Composition bars retain problem colours, and bars and legend swatches omit text decorations. Full Line bars keep the existing half-cell cap and rounding; ASCII keeps its previous fill calculation.
2.4.0 2026-11-09
What's new
ConsoleImage.FromStream(stream, name)andShow-ConsoleImage/New-ConsoleImage -Bytes $streamread an encoded image from the current position without closing the stream. Non-seekable streams are supported, with the decoder's 64 MiB encoded-input limit.TerminalSchemeandTheme.FromSchemederive themes from terminal palettes. Faithful roles retain their hue when choosing contrast-aware palette candidates, and Gap uses muted text; accessible variants preserve at least half the source chroma when adjusting OKLCH lightness, using same-family palette alternatives where needed. Adjusted tokens are listed byTest-ConsoleTheme. Version 3 files retain embedded schemes and accessible variants; versions 1 and 2 still load.Set-ConsoleTheme Terminaland the settings picker follow the terminal's palette indexes at every colour depth. A guarded OSC 4/10/11 startup probe exposesTerminal.Palette; checks and exports use measured colours when available, with export fallbacks recorded in capability decisions.Autois unchanged.Import-ConsoleThemeimports Windows Terminal JSON, iTerm2 XML plists and flat base16 YAML into version 3 themes, reports the checker verdict and keeps schemes even when checks fail.Set-ConsoleTheme -Path ... -Accessible -Savekeeps an accessible scheme choice across sessions without rewriting its file.AttentionTallycounts findings as rows stream by and keeps a total and the first few names per reason, so the summary that closes a long stream can be a full dashboard frame without holding every row.frame.Attention(tally)adds them; a reason with more findings than samples shows as one countedAttentionGroup: the total, a few names and "+N more".AttentionList.Groupstakes such groups directly.Test-ConsoleThemeand C#ThemeCheck.Runreport text contrast, status separation in normal and simulated colour vision, non-colour markers and Critical's fill. A verdict-first summary shows problems and unknowns, with every measurement available through-DetailedorResults. The settings preview shows the verdict;-Strictstops CI on failures. Palette-dependent contrast and colour-vision measurements report Unknown. Marker results and proven fill failures still appear.ConvertTo-ConsoleViewdrafts a ready-to-paste view from the first 50 sample objects: up to six nonempty columns with the name first, plain property names, compact named presenter columns and a default count/status summary. It reuses default-table presenters, with status words, byte bars and recent relative dates. Long registrations use splats.-AsDataFilewrites data-only columns in a.consoleviews.psd1document, and-Registerinstalls the columns and summary in the current session.Set-ConsoleSetting Density Compacttightens default table, panel, list and layout tile spacing;Comfortableremains the default. Unframed children keep at least one cell of default separation; framed tiles may touch. Explicit padding, gaps and column gaps stay as authored. Themes can setStyle.Densityin version 2 files,CONSOLEMONSTER_DENSITYoverrides it, and the settings preview and current-theme exports follow the choice. C# usesThemeAppearance(ThemeDensity.Compact)andTerminalProfile.WithDensity.New-ConsoleDashboardFramebuilds a dashboard frame from records: facts and states on the title line, meters (composition, ratio, count, fact or missing, chosen by the fields given), a needs-attention list, summary and detail sections, a legend and footer counts. C# getsUi.DashboardFrame()with fluent builders (Fact,State,Meter,Attention,AttentionOf,Section,Legend,FooterCount,FooterHint). Modules that own summary objects still declare frames in C# and register them as default displays.Invoke-ConsoleHeadlessruns a script, usually an app, on a headless terminal with scripted keys, text and mouse input, and returns the final screen's text and cells, every distinct screen and the script's output, so Pester tests can assert on what the user would see.- Inside
Show-ConsoleAppcontent,New-ConsoleLogRegionmakes a retained, scrollable log with the find bar (/or Ctrl+F, Enter,nandN), theLogViewportC# apps use;Ui.LogViewport()covers fluent C#. Watch-ConsoleLoghas the same find bar:/or Ctrl+F searches the history,nandNmove between matches, andqis typing while the bar is open.- A new gallery demo,
server-estate, in PowerShell, C# and C# fluent, and asdotnet new consolemonster --demo server-estate. Thelog-taildemo now searches its run after the live part. ColorBlindSafeLightis a colour-blind-safe theme for light backgrounds: blue pass, dark gold warning and underlined magenta fail.Set-ConsoleTheme ColorBlindSafeandCONSOLEMONSTER_THEME=colorblindpick the light or dark variant from the detected background;ColorBlindSafeLight/ColorBlindSafeDarkandcolorblind-light/colorblind-darkchoose one (ThemePreference.ColorBlindLightandColorBlindDarkin C#).Enable-ConsoleFormatting -ProfileSnippetincludes theSet-ConsoleThemeline for a theme chosen in the session.- Settings that follow you into every session.
Set-ConsoleSetting Theme ColorBlindSafe -Save(orSet-ConsoleTheme ... -Save) writes the theme, colour, glyphs, motion, mouse, accessibility, hyperlinks, language or culture tosettings.jsonin%APPDATA%\ConsoleMonsteror~/.config/ConsoleMonster, which every PowerShell session and every program built on ConsoleMonster reads, so no profile lines are needed.Get-ConsoleSettinglists each value with where it came from, andReset-ConsoleSettingremoves it. A setting for this session beats aCONSOLEMONSTER_*variable, which beats the file, which beats detection;CONSOLEMONSTER_SETTINGSnames another file ornone. Entries that cannot be used are ignored with a warning. In C#,ConsoleSettings.Current,Set,ResetandFilePath(null to keep a program's output fixed). Show-ConsoleSettingschooses those settings with a live preview: each setting is a dropdown, and a table, statuses, progress, a chart and an error redraw as the highlight moves, so themes and glyph sets can be compared before choosing. Save keeps them, Use now applies them to this session, and Escape changes nothing. A setting an environment variable sets is shown locked with the variable's name.Enable-ConsoleFormatting -Savekeeps the chosen features; afterwardsEnable-ConsoleFormattingon its own uses them.- A default view can cover a family of result types. Set
IncludeDerivedTypeson a registration with aRuntimeType, and objects whose type derives from it use that view, so a pipeline that mixes subclasses (one per finding kind, say) renders as one batch instead of one per type. A registration for the exact derived type still wins. - Themes have a style as well as colours. A version 2 theme file can add
"Style": { "Border": ..., "StatusMarkers": ..., "Background": ... }: the frame for panels, tables and inputs that use the default frame,Symbols(✓ ✗ ▴) orWords([OK][FAIL][WARN], easier for screen readers and small symbols) for statuses, and the background the theme is made for. The new Border and StatusMarkers settings (CONSOLEMONSTER_BORDER,CONSOLEMONSTER_STATUS_MARKERS) keep your own style whatever the theme, and the settings picker previews them. A widget that names its own frame keeps it. In C#,Theme.Appearance,Theme.WithAppearance,ThemeAppearance, andTerminalProfile.WithBorderandWithStatusMarkers. - Exports follow the theme you chose:
ExportTheme.Current(-Theme Current) draws with the theme in use on the background it is made for, andExport-ConsoleFrameuses it when a theme was chosen and-Themeis not given.-Theme Autostill gives the dark and the light rendering. - Default views sum themselves up. A line under the view on the console gives the facts worth knowing: folders, files, their size and the largest file for
Get-ChildItem; the process count, their memory and the biggest process forGet-Process; running and stopped services and automatic services that are not running; events by level, the time they cover and a sparkline of when they happened forGet-WinEvent; replies, loss and latency with its shape per destination forTest-Connection; commands, failures, the time they took and the slowest forGet-History; expired and expiring certificates; matches and files forSelect-String; and jobs by state. Small results get no line, andShow-ConsoleTableand captured output never show it. Get-ChildItem -Recurseis one tree instead of a table per folder: folders first, each with the size of the files listed under it, then files with their size and last write time. Folders that were not listed themselves (-File) still hold their files, and a narrow terminal drops the date column. A single folder keeps its table, and so does a listing of more than 5,000 entries, without folder totals.Register-ConsoleView -Summarygives your own types that line: the script gets the objects shown together and returns facts, strings or hashtables withValue,Label,Caption,Presenter,RoleandNewLine. A summary that fails leaves the view as it was.Get-JobandGet-PSDriveget everyday views: jobs with their state, when they started, how long they ran with a bar, unreceived output and the command; drives with used and free space and a usage bar that turns to a warning at 80% and a failure at 95%.- Process memory and history durations draw a data bar against the largest in the list, and services show their start type, marked when an automatic service is not running. The
BytesBarandDurationBarpresenters do the same for any column. Matrix.Overflow = MatrixOverflow.Densekeeps a large matrix visual instead of switching to the attention list. Each column becomes one cell under its band: 104 domain controllers grouped by site fit on one line per check. When the width is too small for that, each band gets one cell showing its worst status, and the list comes only after that. Healthy cells are a solid ■ and queued ones a faint ·, while failures, warnings and running cells keep their own symbols, so problems stand out without colour. ASCII output keeps the status symbols.Responsiveshows a different layout by the width it is actually given, not the terminal width:new Responsive(narrow).When(100, wide). All layouts stay children, so live updates reach the hidden ones.Steadykeeps a live region at the largest size it has needed, so a table that loses rows when workers finish no longer moves everything below it.MinHeightreserves the rows from the first frame, andReset()releases them. The size is held for the width it was rendered at, so a resize starts fresh instead of keeping a narrow, wrapped height. Keep the sameSteadyinstance across frames.
Fixed
- An invalid
CONSOLEMONSTER_DENSITYvalue is ignored and reported in settings problems, so it no longer stops the settings picker or hides a saved Density preference. - A failing or warning diagram link is coloured along its whole length, and a failing node's box in its status, instead of only marking the label with a symbol.
- A matrix inside a
DashboardFramesection no longer collapses to "0 non-healthy cells" when everything is healthy. The frame gave the section its measured width and the matrix switched to its list at that width; a matrix now reports the width it needs to keep the layout it measured, at every width. ColorBlindSafekeeps fail and warning apart under deuteranopia and protanopia: fail is now an underlined rose instead of orange, which looked like the yellow warning. Critical, low and gap tokens no longer fall back to red-green Dark colours.
2.3.0 2026-11-06
Everyday PowerShell covers more of what people type, diagrams read Mermaid, and the mouse can be scripted and shown. Compare-Object, Select-String, Get-Acl, certificates, Group-Object, Measure-Object and durations get readable views with Enable-ConsoleFormatting; Mermaid files and fences draw as diagrams; standalone prompts and grids get the right-click menu; and recordings can drive and show pointer gestures.
What's new
Compare-Objectresults that reach the console use theCompare-ConsoleObjectcomparison view withEnable-ConsoleFormatting: the counts, then the removed (<=), added (=>) and equal (==) items, and with-Propertythe first property names each item. Only the display changes: the objects keepSideIndicator, and assignments,Out-File, pipelines, jobs, remoting and transcripts stay native. It is a built-in view of the defaultOutputfeature, so-NoBuiltInkeeps PowerShell's table. (#120)- Six more everyday views in the default
Outputfeature:Select-String(one table per file with line numbers, the match highlighted and-Contextlines dimmed),Get-Aclon Windows (owner, then one row per rule with allow or deny, the rights in words, what the rule applies to, and inherited or explicit), certificates (Expired,Expiringwithin 30 days orValid, with subject, issuer, expiry, days left and thumbprint),Group-Object(counts with a bar),Measure-Object(only the statistics asked for) andTimeSpanfromMeasure-CommandandNew-TimeSpan(a readable duration beside the exact value). Objects are unchanged and redirected output stays native. (#122) - Mermaid diagrams draw in the terminal.
Show-ConsoleDiagram -PathandDiagram.Loadread Mermaid.mmdfiles and Markdown files with a```mermaidfence, andShow-Console -View MarkdownandMarkdownConsoledraw Mermaid fences as diagrams when ConsoleMonster.Graphics is registered (the PowerShell module bundles it); without it they stay code. Flowcharts, class, state, ER, architecture, mindmap, C4 and requirement diagrams draw; other Mermaid types stay code in Markdown and are named in the file error. ConsoleMonster.Graphics adds ChartForgeX.Markup.Mermaid 3.4.0. (#119) Show-ConsoleGrid, prompts, menus and the other standalone views open the context menu: a right click, the Menu key or Shift+F10 lists the keys that work there, including ones the footer has no room for, and choosing one presses its key. (#118)- Scripted input takes the mouse:
click:12,5,rclick:12,5,dclick:12,5,move:12,5,wheel:12,5,-3anddrag:12,5,30,5at zero-based cells, beside key names and typed text. Tests, the headless terminal, the debug socket and recordings can drive the pointer the way they drive keys. (#118) - The recording player shows input captions: player data can carry
inputs(the time, a label such as↓ ×8orRight-click, and optionally the cell and kind of a pointer gesture). The player draws a pointer with a click ring on that cell and a caption in the corner, outside the screen's text. (#118) - A new gallery showcase,
incident-workbench, in PowerShell, C# and C# fluent: latency samples linked to their chart, a resizable split, wheel zoom, legend toggles, a runbook with an outline, folding sections and toggles, and the right-click context menu, all driven by the mouse.dotnet new consolemonster --demo incident-workbenchstarts a project from it. (#118)
Fixed
- A pointer gesture in a recording that skips delays lands where the previous input left the controls: a click after a splitter drag hits a chart's legend where it is drawn, not where it was. (#118)
2.2.1 2026-11-06
Fixed
- The PowerShell Gallery package preserves the Authenticode signature on
ConsoleMonster.format.ps1xml, including its script blocks. This fixes unsigned format-data errors underAllSigned.
2.2.0 2026-11-05
Apps and documents are easier to move around in. The mouse works wherever the keyboard does, long content folds, panes resize, logs and documents have find, Markdown and command help open in a document viewer, and charts can be explored and linked to tables.
What's new
- The mouse works wherever the keyboard does, and every pointer action has a key in the footer or the context menu. Clicking a footer hint presses its key, header breadcrumbs go back, scroll bars click and drag, toggles flip, text inputs place the caret and select by dragging, double-click opens a row in
DataGrid,TreeSelectand listSelect, andDataGridheaders sort. Right-click, the Menu key or Shift+F10 open a context menu of the keys that work at that moment. Prompts, menus, the command palette, forms,Show-ConsoleGrid, the object explorer and the pager take the mouse too, and diagram nodes and use-case steps respond to clicks.InteractiveOptions.MouseandCONSOLEMONSTER_NOMOUSE=1turn it off everywhere;Show-ConsoleApp -NoMousestill turns it off for one app. Recording, export, CI and redirected output are unchanged. (#106) Collapsiblesections (New-ConsoleCollapsible) have a focusable header and a collapsed summary, and hidden inputs leave focus traversal.Accordion(New-ConsoleAccordion -Content) keeps one section open, with+to expand all and-to collapse all. (#107)Splitter(New-ConsoleSplitter) shows two panes side by side or stacked, with a draggable divider and Ctrl+Shift+arrows when the focused input leaves those keys free.-Filltakes the remaining height, a vertical splitter measures its content, and a splitter with aKeystores its ratio in app state, so the ratio survives a binding that rebuilds the layout. (#107)- A find bar in
LogViewport,TextAreaand the document pager:/or Ctrl+F opens it, matches are highlighted and counted, and Enter and Shift+Enter move between them. In logs and the pagernandNkeep working after the bar closes. A capital letter in the query makes the search case-sensitive. (#107) - Markdown with headings and command help open in a document viewer: an outline beside the text that follows the reading position, the current section's path pinned above it, headings that fold, find that opens folded sections, links with back and forward history, and Ctrl+K to go to a section or parameter. Help gets a header card with module, version and
-WhatIfbadges, tabs for Overview, Parameters, Examples and Related, and related commands that open their own help.Show-ConsoleHelpandhelpwithEnable-ConsoleFormatting -Include Helpuse it on interactive terminals;Show-ConsoleHelp -NoPagerprints instead. Redirected and non-interactive output is unchanged. (#108) Outline(New-ConsoleOutline -Items),Breadcrumb(New-ConsoleBreadcrumb -Segments, or-Ancestorsto follow an outline's current entry) andNavigationHistory<T>are reusable app parts. An outline entry can open and focus a control such as a collapsible section, and the document viewer is built from them. (#108)Tabsunderline the active label above a rule, take focus on their strip (←/→ and the number keys switch tabs there), list their keys in the footer and scroll their labels on narrow terminals. A keyed tab strip (New-ConsoleTabs -Key,new Tabs("key")in C#) keeps the active tab's title in app state, and-OnChangeruns when it changes. C# adds tabs withTabs.Add(TabOptions)or the fluent.Tab(title, c => …). (#108)ChartView(New-ConsoleChartView) is a chart you can explore inside an app: a crosshair that reads every series at the point, also in the footer; legend entries and number keys that hide or show a series; zoom and pan with +/-, the wheel, Shift+Left/Right and drag; and point labels with-PointLabels. It explores any chart through the publicChartPlotcontract, and ChartForgeX line charts explore throughToChartPlot()in ConsoleMonster.Graphics with ChartForgeX's prepared X zoom levels. (#109)- Linked selection: controls that implement
ILinkedSelectionshare their selection through aLinkKeyin app state.DataGrid,ChartView,SelectandMultiSelectdo, with-LinkKeyonNew-ConsoleDataGrid,New-ConsoleChartViewandNew-ConsoleSelect, so selecting a point selects its row and the other way round.New-ConsoleDataGridlists ordinary objects with-InputObjectand-Property. (#109) - New gallery demos in PowerShell, C# and C# fluent:
chart-table,help-sectionsandsettings-tabs.dotnet new consolemonster --demo chart-table|help-sections|settings-tabsstarts a project from them.
Changed
DataGrid.SelectedIndexis the focused row's position, the nameTabs,OutlineandChartViewuse too.DataGrid.Cursorstill works and is marked obsolete.- ConsoleMonster.Graphics uses ChartForgeX and ChartForgeX.Markup 3.4.0 (from 3.3.1).
Fixed
- Double-clicking a row in
Show-ConsoleGridopens its details. - A splitter inside a binding keeps dragging after the binding redraws.
- The find bar's match count is no longer clipped.
Show-ConsoleObjectprints a static view when output is redirected or runs under CI.- Fluent-style projects from
dotnet new consolemonsterbuild. - Examples that read input print a clear message when input is redirected, instead of failing.
2.1.3 2026-11-04
Apps get screens, scoped key bindings and an overlay layer, and can be tested and driven without a terminal. Images draw inline, summary commands get dashboard frames, and diagrams arrive in the core with routed topology rendering in Graphics.
Public API (breaking changes)
I consolidated the pre-launch API: commands and builders that did the same job became one, leaving 89 exported cmdlets, and Commander and file operations moved to ConsoleMonster.CLI, outside the module and the library packages. (#91)
- Constructors return reusable widgets;
Show-ConsoleandShow-ConsoleTabledisplay them. Records useShow-Console -View List, static inspectors useShow-Console -View Tree, and explicit hierarchies useNew-ConsoleTree.Show-ConsoleObjectis a rich interactive explorer. New-ConsoleTableowns table configuration through-Property. Charts and rules are built withNew-ConsoleChartandNew-ConsoleRule, then displayed withShow-Console.Export-ConsoleFrameaccepts objects or widgets and returns text when no path is supplied.- Live addresses use
WidgetId, stored identities useKey, visible item text usesLabel, and view headings useTitle. Semantic styling usesRole, literal colors useColor/BackgroundColor, and text decoration usesDecoration. - Item collections, tabs, menu results and numeric-column formats accept records in their parent definitions.
New-ConsoleStatusList -Layout Stripbuilds phase strips;New-ConsoleRegionhandles alignment and padding. Dashboard and app parameters configure headings and footers. Update-Consolevalidates live updates. Custom C# targets receive events throughLiveSession.Post.Compare-ConsoleObject -Questiondisplays changes and returns the confirmation decision.Enable-ConsoleFormattingenables Output, FormatCommands, Errors, Streams and ReadLine by default.-Includeand-Excludeadjust that set;-ErrorLayout Compact|Standard|Detailedselects error detail. Prompt, Help, Progress and GridView remain opt-in.Get-ConsoleFormattingreports the active features.- Interactive snapshots use
-Mode Snapshot.Show-ConsolePresentation -ScriptPathselects a demo script and optional-Pathrecords it unattended;Get-ConsoleDemoexposes standalone script text through.Source. Recording exports read the cast from-RecordingPathand write to-Path; frame exports and session recording also use-Path.-ChromeStyle None|MacOS|Windows|Linuxselects window decoration. - The PowerShell module ships net472 and net8.0 payloads and bundles the Markdown and graphics add-ons. NuGet packages retain their existing target frameworks. Commander and file-operation application code live in
ConsoleMonster.CLI, outside the library packages and module. - Imports register only the documented allowlist of fully qualified type accelerators. Markdown display and export belong to
ConsoleMonster.Markdown; the rendering core stays dependency-free.
What's new
- Images inline:
Show-ConsoleImage -Path ./chart.png -Width 40draws real pixels in Kitty and Ghostty (Kitty graphics), iTerm2 and WezTerm (iTerm2 inline images) and Windows Terminal (Sixel), half blocks on any other terminal with 256 colours or more, and[image: name WxH]in redirected, CI and no-colour output.New-ConsoleImageplaces an image inside panels and dashboards, andConsoleImageinConsoleMonster.Graphicstakes PNG bytes, a file or a ChartForgeX render.Get-ConsoleCapabilityreports the protocol inImageProtocol. See Inline images. - Apps can have screens without hand-wiring them. Adjacent
New-ConsoleScreencommands (AppScreensin C#) make a screen stack with back navigation on Escape and Backspace, inputs inside screens, focus kept per screen and breadcrumbs in the header. Keys are declared once per input, screen or app (-KeyBinding,KeyBinding), and the footer is built from them, so it never lists a key that does nothing.'1-12'andKeyBinding.Numberedopen numbered items, including two-digit numbers, and letter and digit keys work on other keyboard layouts. Dropdowns (New-ConsoleSelect -Dropdown), dialogs and toasts draw on an overlay layer above the content.Show-ConsoleApp -KeyBindingreplaces-FooterHintsand-HandleInput. Output written while an app runs goes into the app instead of below its footer, panels shrink with their borders in a short window, the command palette has one frame, and the debug socket'streereports why each control has its size (protocol 2). See Interactive applications. - Your text is never rewritten: on the Basic and ASCII glyph tiers (conhost, redirected files, CI logs) only ConsoleMonster's own borders, markers, spinners and icons fall back, while labels, table cells and log lines keep their emoji and symbols. Redirected output (files, pipes, CI logs) is as wide as
COLUMNSwhen it is set, through one width rule that every PowerShell command andGet-ConsoleCapabilityshare. Output that cannot make links clickable printstext (url). - Apps can be tested, recorded and driven like web pages.
HeadlessTerminalruns the full app with no terminal (scripted keys, clicks and resizes in, the composed screen out) behind the newIConsoleDriverseam, which the console also implements.Invoke-ConsoleRecording -Headless -InputScriptandLiveSessionOptions.Recorderrecord what the user saw, including the log panel, footer and dialogs, and captured screens export to GIF, APNG, animated SVG and the HTML player.BrowserHostshows a headless app in a self-contained local page that sends keys and clicks back, and the opt-inDebugSocket(localhost only, token, secrets masked) lets agents read the screen and control tree and send input. See the headless driver guide. - Log panels are app-grade log tails. Lines carry an optional source tag with its own column and a colour that stays the same for that source (
Write-ConsoleLogEntry -Tag, event-log providers inWatch-ConsoleLog).LogFiltershows one tag, a minimum level or matching text without dropping history (New-ConsoleLogRegion -Tag/-Level/-Filter,Watch-ConsoleLog -Level). The appLogViewportfollows new lines, pauses on scroll orPause()with a⏸ Paused · N newline, jumps back with End orFollow(), and takesBorder = Noneinside a panel; it shares one follow, pause and filter model withWatch-ConsoleLog. - Phase strips fan out: the running phase lists its items under the strip, keeping failed and running items visible and folding the rest into
+N morewith counts per status (-FanOut,ParentKeyrecords,Update-Console -ParentKey).-Layout Chaindraws the phases on one line that folds around the current phase to fit a table cell. - ConsoleMonster's own placeholders (
—,…,{…},⚠) follow the glyph tier where cells are drawn, so ASCII output stays ASCII while caller text stays verbatim. On terminals with clickable links, a link the terminal cannot open, such as a bare relative path, keeps its target as text. - Dashboard frames for summary commands (
ConsoleMonster.Frames):DashboardFramecomposes a title line with the estate's facts and state, a row of meters, a "Needs attention" list, summary and detail sections, a legend and a footer into one view. Pipeline objects keep their identity and values. (#90) - Added the
Diagrammodel, widget-returning fluent chains and PowerShell diagram commands for nodes, links, nested groups, connection rows and playable use cases. - Kept diagram models and grouped tree rendering in the dependency-free core. The optional Graphics provider adds ChartForgeX import, routed topology rendering, keyboard navigation and PNG export.
- Added full-text attention summaries, a lossless narrow tree view, and addressed node values and shared
StatusKindupdates through C# handles andUpdate-Console. - Added the typed
TopologyChart.ToDiagram()extension in Graphics, keeping the core free of ChartForgeX types and dependencies. - Interactive apps, menus, grids, watches and log tails print a current static view in redirected, CI and non-interactive sessions. Finite polling counts are preserved, and questions still require a valid default or report the missing value.
- Tables, cards, records, key/value lists, trees and diffs distinguish missing, null and empty data. Record sheets show empty fields by default; explicit empty-field filtering remains available.
- ASCII and Basic output constrain caller text to ASCII and WGL4 respectively. Grid and live-table string sorting use stable ordinal case-insensitive order. See the behaviour contract.
- Live sessions, apps, menus and prompts return a visible cursor on a clean line, with terminal attributes reset after leaving the alternate screen, including cancellation and failed runs.
Changes and fixes
- Unified baseline selection in
DiffOptions.Baselineand documented hashtable configuration for PowerShell date pickers. - Kept omitted diagram statuses unmarked, nested tree hierarchies, preserved wrapped guides and used compact natural topology sizing.
- Let live value boxes grow in bounded steps without shrinking between updates, and made the attention heading bold.
- Reject pipeline input with Show-ConsoleDiagram -Path once, before reading the file.
- Kept node attention details separate from connection failures, using each node's own value or subtitle.
- Preserved imported chart and scenario-step metadata through Diagram edits, measured ASCII captions before topology projection, and kept automatic key hints out of static Diagram runs.
- Kept expanding ASCII captions and tab hit areas aligned, and counted unchanged single-object comparisons once.
- Accessible diagrams keep status, focus and active failures in their tree text even when companion panels are hidden; reduced motion freezes playback and resumes without skipping.
- Preserved Unicode diagram example text in Windows PowerShell 5.1 and PowerShell 7.
- Whole-session recordings keep later full-screen frames after a credential is redacted: credential rules stop at a real row change, an erase, a terminal reset or an alternate-screen switch. (#99)
2.1.2 2026-10-29
- Trees, pickers and the object explorer use shared object identities and default properties. Tree output summarizes empty fields and repeated getter failures, labels elements at the depth limit and renders booleans consistently. A pipeline opens one explorer for its whole collection. (#89)
Show-ConsoleMenutakes menus only; other pipeline objects produce one terminating error that points toGet-Service | Read-ConsoleSelect. Every exported command rejects unsupported pipeline input once instead of per object. (#89)- Prompt widgets fit the content width and their titles are optional, charts keep duplicate labels, byte values show their units and the grid closes on Ctrl+Q. The Basic and ASCII forms of arrows, unchecked boxes, traffic lights and stop signs mean the same as their Full glyphs. (#89)
2.1.1 2026-10-29
Enable-ConsoleFormattingenables everyday output, native format commands, errors, stream colours and ReadLine colours by default.-Includeadds opt-ins,-Excludeleaves selected features native and-Featureselects an exact set. Prompt, Help, Progress and GridView remain opt-in, andGet-ConsoleFormattingreports the active features.-Verboseand-WhatIfmessages stay short, and an already installed progress adapter is restored when a later installation fails. (#88)- After-label trees keep cycle and repeat evidence when labels or state columns are shortened, and show one marker when several state columns are present. Default-view title states and footers wrap at separators and keep each entry together when it fits, also in ASCII output. (#87)
2.1.0 2026-10-28
the everyday path
- Animated slide exports use managed GIF with a useful first frame, a final hold and native slide dimensions. External video export is removed; OS-provided video encoders remain on the roadmap.
- Recording exports add Slow, Normal and Fast reading pace, persistent hold markers, chapter holds, source/chapter trims and chapter speeds across GIF, APNG, HTML and animated SVG. New casts preserve source timestamps so export idle compression stays reversible.
- Terminal exports share centred regular titles, Windows Terminal tabs, rounded body clipping and an 8 px page inset across HTML, SVG and slide graphics.
What's new
Matrix, reference trees and grouped streaming tables provide reusable views for cross-tab results, linked hierarchies and incrementally arriving groups.- The optional
ConsoleMonster.PowerShell.Displaypackage registers exact application types through runspace-owned leases. It preserves original pipeline objects and leaves unregistered values with native PowerShell formatting. - Embedded displays preserve the host's foreground and background colors, including resets and streamed footers. Automatic streams sample up to 200 rows and check a 250 ms boundary on arrivals and completion. Quick completed scopes use a collected table or an optional detailed single-record view; open streams keep one stable grid. Collection status updates on arriving rows after one second, clears before the final view and leaves native warnings and errors intact. Redirected output and transcripts never receive the status line.
- Opt-in console views share compact health glyphs, assessment severity tones, headers, score gauges, legends and consistent spacing. After-label trees retain status and reference evidence; below-row table details include footer evidence, and repeat dimming stays consistent across buffered, chunked and windowed output.
- Matrix cells support status tones and data bars; reference trees retain value columns, basic markers and cycle identities. Card counts are optional, and colorless stacked bars use matching, distinguishable fill markers in their bars and legends.
- Streamed tables reserve identifying names before optional detail columns, measure values through their presenters and shorten long headers before allowing them to consume the row's width.
- Full-screen apps compose independent virtualized data grids, lazy cells, retained tabs, trees, date/range pickers and log viewports. Context footers follow the app registry; form dialogs and cancellable progress share the existing action host. Child processes use a real PTY/ConPTY with screen, mode and focus restoration and a bounded last-output view.
Show-ConsoleGridandShow-ConsoleObjectuse the shared controls and retain their output contracts. See the full-screen controls guide. - Whole-session recordings preserve long lines and cursor-positioned dashboard repaints beyond 64 KiB. Streaming redaction keeps secrets private across reads, colour codes, markers and resizes; complete-record patterns have an explicit, documented fallback. Playback keeps completed synchronized redraws instead of sampling halfway through a repaint. The total
MaxBytescap is unchanged. Explicit destinations no longer wait on default-folder availability checks. - Recorded terminal output gives equivalent cursor movement and redundant blank erasure one encoding while retaining real scrolling, pager states, synchronized redraws and hyperlinks. Combining characters retain the original blank-cell style when they make it visible. Unmodeled terminal controls retain their dependent output.
- Basic and ASCII glyph tiers use readable, single-cell prefixes for hints, search, success, checkboxes and playback controls. Unsupported decorative symbols fall back safely, whole joined emoji use one fallback, and localized prose keeps its original spelling.
- Native flow strips show labelled hops, status glyphs, severed edges and one side branch, with a vertical layout in narrow terminals. PowerShell item commands and pipeline rows compose with live updates and exports. The TLS verdict showcase pairs the flow with a numbered ledger, multi-column context and a double-bordered verdict for healthy and expired certificate chains.
- Gallery programs declare typed fixture data directly and run without capture parameters. The runner drives native prompts and live checkpoints externally;
LiveSession.DelayandWait-ConsoleDashboardshare cancellable waits, whileNew-ConsoleForm -PageDescriptionsexposes per-page guidance in PowerShell. Loaded choice defaults retain their selections and equivalent-command defaults.CommandLine.Buildformats named command arguments with shared quoting rules. - Everyday output now covers JSON/REST and CSV records, richer commands/modules/history, PowerShell 7 ping and .NET DNS/IP objects, plus Windows DNS, adapters and connectivity results. JSON expands small nested values and envelope item tables with depth and row limits; CSV strings keep their spelling and header order with numeric/date alignment. Module groups name each module once and preserve user/system path origins. Network labels use readable names such as IPv4 and Timed out. Narrow table cards retain captions and explicit column truncation.
Show-Console -View Markdownreads CommonMark with pipe tables, highlighted code, link fallbacks and automatic interactive paging. The optionalConsoleMonster.Markdownpackage uses OfficeIMO.Markdown; the rendering core stays dependency-free.-Path,-Contentand-NoPagerwork on PowerShell 5.1 and 7, with complete static output for captures and unattended sessions.- Thirty-six self-contained PowerShell and C# demo pairs cover small starters and full showcases, with metadata, deterministic frames, replays, thumbnails and downloadable sources. The catalogue includes use cases, source line counts and featured showcases.
Get-ConsoleDemobrowses demos; the.Sourceproperty supplies a script,Show-ConsoleDemoruns it, anddotnet new consolemonster --demo <slug>starts a project from the same C# source. Prompt<T>.Snapshot()andRead-Console* -Mode Snapshotrender an initialized prompt without reading input or returning an answer.Lanes.Add(Lane)preserves complete lane state, including start/finish times; lane definitions expose the same timing fields.- Menu choices accept typed description, badge and disabled selectors through
Choice.From; PowerShell exposes per-choice-ChoiceBadge/-ChoiceDisabledon menu items and-Selectionsfor presets that configure several items. Loaded choices preserve requested selections and discard unavailable values; asynchronous loaders also work in inline menus. - Scripted typed demos and live presenter controls share a real PowerShell PTY with OSC 133 readiness.
ConsoleMonster.Graphicsadds PNG, GIF and APNG exports. Slide presets share centred window composition, content fitting that trims unused rows and columns or keeps the full terminal, rounded corners and theme, solid or gradient backgrounds; the core stays dependency-free. - Unix everyday views show file modes, owners and readable file/link sizes with blank directory sizes, omit Windows file-version and process-memory noise, and preserve explicit property selections. Overview summaries use product OS names, one-shot CPU samples, visible disks and primary IPv4 networking with global IPv6. Showcase defaults follow the host, long labels share width with values, and Mac text fields support word editing and
?help. Interactive VT startup can detect light backgrounds through a bounded OSC 11 query. - Parser-independent command-line help metadata supports grouped commands, positional values, option defaults and notes, with localized labels. Shared CLI integrations can grow run totals, preserve narrow table columns and tree labels, and apply scoped profile policies without replacing their terminal target.
LiveRunmonitors large batches with finished-item scrollback, a height-bounded dashboard, pinned warnings and failures, queued work, group progress and a full final summary. PowerShell exposesStart-ConsoleRun,Update-Console -RunandComplete-ConsoleRun; CI uses append-only output with count/time progress updates. Optional keys control the log and groups without pausing work.- HTML and SVG exports, including recording players and animations, support MacOS, Windows, Linux and None window styles through
ChromeStyle/-ChromeStyle. Select None to omit the frame; styles use generic vector controls and the export theme's surface and muted colours. - Whole terminal sessions can be recorded with
Invoke-ConsoleRecording -InteractiveorInvoke-ConsoleRecording, including native output, colours, resizes and chapters. Local asciicast v2 files export through the existing HTML player, animated SVG, text, Markdown and final-frame SVG. Output redaction, idle trimming, a size cap and a labelled PowerShell-only fallback are included. Show-ConsoleOverviewcollects a read-only host snapshot with CPU/memory and disk bars, network addresses and safely available service, update/reboot and security observations. Select sections or return the snapshot with-AsObject; applications can register their own probes. Wide output fits one screen, while narrow layouts stack without hiding volume or login rows.Show-ConsoleObjectexplores nested members with lazy expansion, breadcrumbs, search and keyboard selection.-PassThrureturns the selected value, and-PassThru Pathreturns its PowerShell expression. UseShow-Console -View Treefor static inspection.- HTML and SVG frame titles reserve space after the window dots, truncate with an ellipsis and retain the full title as a tooltip. Very narrow frames keep all three dots visible and hide titles that cannot fit.
New-ConsoleChartconstructs all six numeric chart kinds from records and samples through the shared C#Chartfactory. Use pipeline sorting and selection before construction, explicit histogram edges andExport-ConsoleFramefor text captures.- Everyday Get-Member views show each type name above its table and use full-width member-group sections with counts, preserving native column overrides and script-safe output.
Compare-ConsoleTextcompares strings or files with line numbers, word highlights and collapsed unchanged ranges. It uses side-by-side output from 120 columns, inline output below that,-Context,-IgnoreWhitespaceand plain unified text with-AsUnified. The shared text engine uses linear auxiliary memory and bounded alignment work.Enable-ConsoleFormatting -Include Errorsopts into compact host errors: message first, highlighted invocation and marker, category/target, folded causes and-ErrorLayout Detailedstacks. Captures, files, jobs and transcripts retain native error rendering.Show-Console -View Error -ErrorLayout Compactuses the same view explicitly.Enable-ConsoleFormatting -Include ReadLinethemes loaded PSReadLine syntax, selection and available inline predictions;Streamsalso styles native progress while preserving its view. Shared native preferences follow the latest applied installation across runspaces; the last owner restores the first exact baseline, including after user edits. ReadLine is included in All. All keeps Write-* cmdlets native and excludes the legacy Progress alias feature.Enable-ConsoleFormatting -Include GridViewsupplies anOut-GridViewfallback only where the desktop command is unavailable, usingShow-ConsoleGridfor titles, browse/wait mode and original-object selection. Working native commands stay untouched; disable and module removal restore saved functions and aliases exactly. GridView remains opt-in.- Optional
Enable-ConsoleFormatting -Include Prompt: shortened path, bounded asynchronous cached git state, last-command status and completed-history duration above two seconds; exact prompt restoration and protected oh-my-posh/Starship opt-in with-Force. - Live tails highlight navigation keys, show a warning-colored paused-history state with applied new-line counts, and hide zero discarded-history counts. Source timestamps use the same compact time column at every width, include dates across retained source days, and accept an explicit
Watch-ConsoleLog -TimestampFormator core option. Watch-ConsoleLogfollows files across observed truncation and rotation, or local Windows event logs, using a scrollable log view with source timestamps, level colours, literal filters and highlights. Scrolling pauses following; End resumes it. Redirected and plain output preserve original lines and never read input. The zero-dependencyFileLogTail,LogTailViewandConsoleLogTailAPIs share the same engine.- Windows-style form command lines preserve quoted paths with trailing backslashes and values containing embedded quotes using native Windows argument-quoting rules.
- Hosted-service dashboard durations measure each service's lifetime with a monotonic clock and freeze at its own stop, completion or failure, preserving the result through host shutdown.
Enable-ConsoleFormatting -Include Streamscolors native warning, verbose and debug messages with the active theme, plus errors on PowerShell 7.2+. Included by default; disabling or removing the module restores the original settings. PowerShell keeps its stream commands, prefixes, preferences, redirection and transcripts.- One value-shaping layer for every command (
ConsoleMonster.Values): columns come from-Property, a registered view, PowerShell's own table view, the default display set or a fallback; dictionaries are records, arrays are joined in cells, records are titled likepwsh (90836), secure strings are masked, slow or hanging getters are bounded and marked.Register-ConsoleView -ShaperandValueShaper.Registeradd your own. - Console output reaches every consumer: piped commands get plain lines, PowerShell 7.2+ captures a command typed at the prompt (
$x =,>,-OutVariable, transcripts), andExport-ConsoleFrame -Format Textcaptures widgets on both PowerShell runtimes. Widgets and renderings draw themselves atOut-Default(ConsoleMonster.format.ps1xml, generated from the widget types).Show-Consolefollows the same model. -GroupByheadings are labelled rules with counts ("2 of 3" when-Topcuts a group) and the group count in the footer; the grouped column is left out (-ShowGroupColumn), groups are sorted (-NoSort).- Numbers in a column share the decimals the column needs; short values never wrap; long text stops at three lines (
-Wrap,Table.WrapLines,TableColumn.Unlimited). - One status vocabulary with PowerShell's words (Success, Information, Warning, Error, Failed, Verbose, Debug, Skipped) for
-Status,Write-ConsoleLogEntry -Leveland status columns, with markers in every command and in log regions. - One date format everywhere (
yyyy-MM-dd HH:mm, local time, culture-independent); numbers follow the culture. Show-ConsoleTable -View Record,New-ConsolePanel -Contentwith any object, bar chart thresholds (-Warning,-Critical), check marks for finished progress, a shorter error view, "not compared" in change summaries, shorter default trees for wide objects.Enable-ConsoleFormatting -ProfileSnippet; built-in views for Get-Command, Get-Module, Get-WinEvent, Get-NetIPAddress and Get-Volume; thefctandfclaliases;Example-LoginOverview.ps1.- Widgets for runs of many items:
CellMap(one cell per item, a symbol per state in every tier, an active window that follows the running cell),SummaryBar(bar, done of total, percentage, time left, counters with zeros dimmed),ActivityListids and elapsed time,Lanesoptions (DimPending,BoldActive,ShowRunningCount,CollapseWhen) andFooterBar.Segments. The test-run view uses them: the summary line, the files with skipped ones folded, the outcome of every test, the running test with its time, then the failures. Watch-Console { … } [-Interval 2] [-Count n] [-Differences]reruns a script block and shows its latest output (with its errors and warnings under it, changed cells marked with-Differences); a failed run shows its error and the watch goes on. Piped on or without a console, it prints every run.Invoke-ConsoleRunruns a script block for every input item, one at a time in the caller's scope or with-Parallel -ThrottleLimit nin runspaces ($using:name,-TimeoutSeconds, Ctrl+C), on Windows PowerShell 5.1 and PowerShell 7. A live view shows the summary line, a cell per item, the running items and the failures; the output comes in input order (-Unorderedfor completion order) and failures are error records. Without a console it prints a line per item and a summary.ConsoleRun.ForEachAsyncandRunMonitordo the same from C#.Enable-ConsoleFormatting -Include Errorsprovides opt-in compact error rendering, andStreamsstyles native progress and diagnostic streams while preserving PowerShell commands and preferences.Disable-ConsoleFormattingrestores the previous settings.Show-ConsoleHelp <command>shows a command's help from Get-Help: synopsis, syntax with parameter names, value types and optional parts told apart, a parameter table (type, required, position, pipeline input, default, description), highlighted examples, inputs, outputs, notes and links; cmdlets, functions and scripts with comment-based help on 5.1 and 7, plain lines through a pager.HelpViewandHelpTopicare the C# side.- New package
ConsoleMonster.Extensions.Logging: anILoggerProvider(logging.AddConsoleMonster()) with the level tags and colours ofWrite-ConsoleLogEntry, a timestamp format, short or full categories, scopes, event ids and exceptions; entries go into a running dashboard's log region and print as plain lines when redirected. Depends only on Microsoft.Extensions.Logging.Abstractions. - New package
ConsoleMonster.Hosting:services.AddConsoleDashboard()shows the generic host's hosted services (waiting, starting, running, stopping, stopped, completed, failed, with how long and the failure message), entries reported throughIConsoleDashboardand the log, and draws nothing when redirected, in CI or as a service. Depends only on Microsoft.Extensions.Hosting.Abstractions. - New package
ConsoleMonster.Templates:dotnet new consolemonstercreates an app with a menu, a status report, logging, the host dashboard and native AOT publishing. LogTagsexposes the level tags and styles of the log region.Docs/Proposals/Command-Line-Layer.mdlays out the options for a command-line layer.- Renderings (what
Show-Console*writes on PowerShell 7.2+) are out of band atOut-Default, so they show on their own also between the rows of another table; widgets keepFormat-List *. - Linux and macOS: locale-aware glyphs (LC_ALL, LC_CTYPE, LANG), no cursor queries on Unix, portable display paths; CI on Linux for every push and macOS for pull requests.
Behaviour changes
- macOS recordings acquire a controlling terminal, so Ctrl+C,
/dev/ttyprompts and resize signals reach the child. Recording titles are set once, and terminal input is restored before recorder finalization. Unix API recordings use$SHELLor the platform shell and default missing child locales to UTF-8. - Live runs preserve Unix Ctrl+C handling with keyboard controls enabled. Form and menu command copying uses
ClipboardServicewith pbcopy, wl-copy or xclip; SSH uses OSC 52. The duplicateInteractive.ClipboardAPI is removed, and pbcopy receives a UTF-8 locale. - Frame exports extend a uniform native terminal background through the surrounding padding, so Light captures fill the window body without an inset panel.
- A single object in
Show-ConsoleTablestays a one-row table, as withFormat-Table(a single dictionary is still shown as a record); use-View Recordfor labelled fields. TableColumn.MaxLines = 0now followsTable.WrapLines(3 by default) instead of meaning no limit; useTableColumn.Unlimited(in PowerShell column hashtablesMaxLines = 0keeps meaning no limit).Show-ConsoleGriduses a table fallback when rich interaction is unavailable; explicit unattended interaction mode does not fabricate a selection.New-ConsolePanelscript blocks show their stray output (the numberArrayList.Addreturns, a$true) instead of dropping it.- Inside scripts and functions, and on Windows PowerShell 5.1, Console display commands draw on the screen as before; use
Export-ConsoleFrame -Format Textto capture a constructed widget. - Activity lists (Write-Progress under
Use-ConsoleProgress, dashboards) show each activity's elapsed time on the right (ActivityList.ShowElapsed), and an activity without a percentage spins instead of showing a waiting circle. - The test-run view's header keeps the title, status and clock; the counts moved to the summary line under it.
- Widgets support object initializers and property-named fluent calls through
ConsoleMonster.Building.Ui. The build-time generator emits one extension class per namespace; consumers need no runtime reflection or analyzer. Typed tables useTable.For(items)orUi.Table(items)with expression-based columns. PowerShell, initializer and fluent gallery programs share the same data and rendered output. - Replay shows one frame: a recorded
Dashboard's own header and footer are not replayed, and its title (the default run name inShow-ConsoleReplay), subtitle and status show in the player's header. - Redirected dashboards no longer record their own output again: the log lines that the PowerShell host wrote back through
Console.Outcame back as$log"out" events about every 60 ms (a bug that predates 2.0's replay work).LiveSession.SuspendCapture()lets a host write a session's output without capturing it. - Change tables list an added or removed object's compared properties on their own lines (
ObjectChange.Values), up toChangeView.MaxProperties(6), then "+N more" withChangeView.MoreHint("-PassThru or -View SideBySide" from the cmdlets); the side-by-side view lists them all. - The HTML recording player is one native asset (
ConsoleExporter.PlayerScript,ConsoleExporter.PlayerStyles, embeddedplayer.js/player.css) with a data format (Recording.ExportPlayerData,Export-ConsoleRecording -Format PlayerDataor-Path *.json) and adata-cm-recordingcontract, so sites include the script once for many players; it rewrites only changed rows, wakes at the recording's frame rate, updates the clock and position once a second, pauses off-screen and in hidden tabs, autoplays one player per page and none under reduced motion (headless Chromium, 120x36 busy recording: main thread 4.7% to 2.1%, renderer CPU 9.8% to 4.1%, 0% off-screen, no long tasks). - Rewinding runs:
Show-ConsoleReplayandReplayPlayer(play/pause, speed, frame stepping, a timeline with markers, jumps to markers, failures, warnings and log entries, log search; full screen or inline; markers printed as lines without an interactive console),ReplayMarker.From,LiveSession.Mark/LiveSession.MarkerTarget, opt-in automatic recording (LiveSessionOptions.AutoRecord,AutoRecordMaxBytes,AutoRecordFolder,RecordingName,DefaultRecordingFolder,LiveSession.RecordingPath,Invoke-ConsoleDashboard -AutoRecord), and region swaps recorded as pictures (markup snapshots of the new content and of later changes inside it) so they replay faithfully. - Object comparison and the what-if pattern:
ObjectDiff,ChangeSet,ObjectChange,PropertyChange,DiffOptions,ChangeView(summary, table, side by side, unified, line diffs) andChangePreview(typed confirmation for removals);Compare-ConsoleObject(with-PassThru) andCompare-ConsoleObject -Question(honours-WhatIfand-Confirm:$false, returns the decision). - Identifier columns (Id, ProcessId, PID, ports, Index, Year...) are no longer grouped with thousands separators or totalled:
IdentifierPresenter,CellPresenters.Identifierand theIdentifiercolumn option. - Header bars keep the title on narrow windows; the right side gives way (free text, then the clock, then the status is shortened and dropped).
Terminal.WriteMarkup/Write-ConsoleText -Markupwrap long lines at word boundaries in interactive output (redirected, CI and plain output keep whole lines).- Empty text keeps the existing value wherever null does (phase, status and lane labels and details, spinner and activity text), so
$nullpassed from PowerShell no longer blanks a label. - Terminal progress indicator (OSC 9;4):
TaskbarProgress,ITaskbarProgressSourceon progress bars, lanes, spinners, activity lists, dashboards and the test-run view; live sessions, the status line andTerminal.Statusdrive it and clear it at the end, on Ctrl+C and on exit; only in Windows Terminal or ConEmu, never in CI, redirected or plain output;CONSOLEMONSTER_TASKBAR=0,LiveSessionOptions.TaskbarProgressand an opt-in bell (NotifyOnFinish). Show-ConsoleandConsoleView(Decide,Auto,BuildTable,BuildTree,BuildChart): inspector, table, cards (Table.AlwaysCards), tree, chart, code or text by the shape of the data; presenters by member name and type (CellPresenters.ForMember,StatusEnumPresenter);-View Gridopens the interactive grid.- Opt-in default formatting:
Enable-ConsoleFormatting/Disable-ConsoleFormatting(session-scoped native output adapters) andRegister-ConsoleView; files, processes and services built in; redirected output, pipelines,Format-*,Out-String, jobs and remoting are unaffected. - Targets:
ITerminalTargetwithConsoleTarget,RecordingTarget(TestTerminal.Target,MatchGolden),WriterTargetandNullTarget;Terminal.Use(target)scopes the static methods (async-local),Terminal.DefaultTarget,LiveSessionOptions.Target,InteractiveOptions.Targetandtarget.Write/WriteMarkupLine/Statusextensions; thetargetexample shows the library pattern. - Progress columns:
Lanes.ColumnsandProgressBar.ColumnswithProgressColumns(Spinner, Description, Bar, Percent, Count, Elapsed, Remaining, Rate, ByteRate, Results, Status, Custom), smoothed rate and ETA overRateWindow,HideCompleted,CollapseWhenFinished,Transient, priority-based column dropping and column summaries in the stream heartbeat;-Column,-HideCompleted,-CollapseWhenFinishedand-Transienton the cmdlets. - Built-in labels translated to Polish, German, Spanish, French and Italian (
PromptLabels.For,WidgetLabels,TerminalProfile.WithLanguage,CONSOLEMONSTER_LANGUAGE), following the UI culture;Table.TotalLabeldefaults to the translated word. - Replaceable regions:
RegionWidget,LiveSession.Region(name).Set(widget),RegionHandle,New-ConsoleRegionandUpdate-Console -Content; swaps go through the update queue, keep the surrounding frame and register live widgets in the new content.LiveEvent.Payloadcarries in-process objects (not recorded). - Keyed live tables:
LiveTablewithLiveTableHandle.AddRow/UpdateRow/RemoveRow/Clear, stable column widths,MaxRows(recent rows) andSortColumn;New-ConsoleTableandUpdate-Console -Row;Table.ClearRows. - Emoji and symbol fallback per glyph tier (
SymbolFallback, extensible), applied to markup, rich text and table cells before measuring; opt-in:shortcode:emoji (Markup.Shortcodes,Shortcodes, theEmojicell presenter). Use-ConsoleTarget(file, writer, target or string); PowerShell output follows a non-console target. The Pester view and the render-error frame are translated too.- Spectre markup compatibility: the 256 xterm colour names (
[cadetblue],[grey50],[deepskyblue3], numbered duplicates such as[blue3_1]),[link]url[/]next to[link=url]text[/], OSC 8 only for http, https, mailto and ftp targets (the exporters' filter, now applied to all terminal output), closed unknown tags removed with their text kept,Markup.Strict/Markup.Parse(..., strict: true)to throw instead,Markup.Interpolatefor escaped arguments, andEscapeMarkup()/RemoveMarkup()string helpers. Colliding names follow one rule: in markup a name is the palette colour ([darkred]is palette 52), in-Colorand ConsoleColor parameters it keeps the Write-Host meaning (greyspells Gray);console.<name>andpalette.<name>ask for either meaning in both places. Terminal.WriteMarkupno longer ends the line (Spectre'sMarkup);Terminal.WriteMarkupLinedoes.Write-ConsoleText -Markup -NoNewLine.Terminal.Status/Terminal.StatusAsync: a one-call spinner status withctx.Update(...), removed when the work ends, plain lines in redirected and CI output.Terminal.Clear(),Terminal.HideCursor()/ShowCursor()(restored on exit and Ctrl+C), no-ops in redirected and CI output.ROADMAP.md(decisions, next rounds, backlog) and the one-version policy for products in the README.Write-ConsoleText -LogFilekeeps an existing log's encoding (byte order mark, or UTF-16 text without one), so Write-Color's UTF-16 logs stay UTF-16; a contradicting-Encodingwarns.ConsoleLogFile.DetectEncoding,KeepExistingEncoding,EncodingSpecified.
2.0.0
prototype (unreleased)
What's new
- Rebuilt as a zero-dependency .NET library (netstandard2.0, net472, net8.0) plus a thin binary PowerShell module for Windows PowerShell 5.1 and PowerShell 7.
- Terminal capability detection with
CONSOLEMONSTER_COLOR,CONSOLEMONSTER_GLYPHS,CONSOLEMONSTER_MODEandNO_COLORoverrides; Unicode-safe output throughWriteConsoleW. - Spectre-compatible markup, semantic themes (dark, light, high contrast) and Full/Basic/ASCII glyph tiers.
- Widgets: text, rule, panel, table, tree, key/value, status list, spinner, progress, lanes, phases, bar and stacked bar, sparkline, histogram, braille line/scatter chart, log region, logo and dashboard; layouts Rows, Columns, Grid, Padding, Align and Stack.
- Live sessions: thread-safe updates coalesced at about 15 frames per second, console and PowerShell stream capture, Ctrl+C restore, JSON-lines record and replay (the replayed clock follows the recorded timeline), optional
[mm:ss]prefixes on stream-mode lines (on by default in CI). - Bars come in
Line(progress and lanes default) andBlock(bar and stacked chart default) shapes. - Table width negotiation: column priority, minimum and maximum widths, overflow (wrap with a line limit, truncate, middle truncation, never), hidden-column footer, stable widths in live tables; record cards below a configurable width and a record view for single records.
- Groups with subtotals, totals (sum, count, average, minimum, maximum) and "Showing N of M" top-N.
- Cell presenters shared by tables, cards, key/value lists and trees: status, number, bytes, duration, date (absolute, relative, both; time zone), boolean, in-cell data bar, sparkline and progress, OSC 8 links; tone rules by threshold; readable without colour.
- Object inspector for .NET objects, PSObjects, dictionaries and
JsonElement(net8.0) with depth and item limits, cycle detection, include/exclude and ordering; reflection isolated in one member source. Show-ConsoleTable,Show-Console -View ListandShow-ConsoleTree: Format-Table style-Property(calculated properties, column option hashtables), DefaultDisplayPropertySet,-GroupBy,-Total,-Top,-Width,-PassThru.- Live sessions handle window resizes (full redraw, coalesced while dragging), viewport scrolling, font changes (conhost font polling, width re-probe after Windows Terminal resizes) and windows that are too small (reduced layout by panel priority, then a one-line status).
- Light/dark background detection in conhost and
CONSOLEMONSTER_THEME=light|dark|auto. - Wrapping breaks after spaces, then after separators (path, list and query separators before dots, dashes and colons), then by character;
LogRegion.Wrapwraps long log entries. - Explicit culture for numbers and dates:
CONSOLEMONSTER_CULTURE,TerminalProfile.WithCulture,LiveSessionOptions.Cultureand-Cultureon the Format cmdlets (default: the current culture). - Outside a real local console (jobs, remoting, SSH, the ISE, redirected output, transcripts) cmdlets write through the PowerShell host like Write-Host, so jobs complete, transcripts record and
6>&1captures the output. - Host output keeps colour: coloured host UI writes on a real console with a transcript and in the ISE (plain lines in the transcript), coloured Write-Host-style records in jobs and remoting; redirected output stays plain.
- Rich text: multicolour spans (ConsoleColors exactly as Write-Host shows them, theme roles, hex/RGB, decorations, links, gradients) accepted in every widget, safe by default (data stays literal), with
RichText/RichTextBuilderin C# andNew-ConsoleTextin PowerShell. Write-ConsoleTextwith Write-Color parameter parity plus markup, styles, gradients, padding, wrapping, split lines and Text/CSV/JSON-lines logs;Show-ConsoleStatusLinefor an updating status line.- Print-once output reads the window size on every write.
- Sentinel dates show as "never" and unbounded durations or non-finite numbers as a dash, instead of throwing; charts skip non-finite values.
- Stream and plain output sanitise escape sequences and control characters.
- Dashboards report unknown widget names, failed updates, failed frames and early ends through the host;
LiveSession.GetCounters(); a dashboard that cannot start leaves the screen untouched. - The object inspector has a node budget (
MaxNodes,-MaxNodes), skips blocking getters and lets Ctrl+C through. - Input core: Windows console keys through
ReadConsoleInputW(Ctrl/Alt combinations, Shift+Tab, function keys, AltGr, pastes, resizes, focus), VT input decoding, scripted input for tests and demos, and one keyboard owner shared by prompts and live sessions. - Prompts: confirm (with typed confirmation), text, secret, number, selection, multi-selection and path, with fuzzy filtering, groups, hotkeys, badges, previews, inline validation, typed results, line-based and accessible fallbacks, and defaults or a clear error when nobody can answer.
- Forms and wizards: pages with a progress strip, conditional and dependent fields with async loading, a review page with the equivalent command line, named presets and opt-in remembered choices.
- Menus and the app shell: Shell, Classic and Inline layouts, breadcrumb navigation, a command palette with providers, a key map and footer generated from the active keys, toasts, prompts over the app, and runs into a live dashboard that return to a results summary.
- Menu actions: console output, Write-Host, warnings and errors are collected and shown as a toast or an output dialog instead of drawing over the app; async actions ask through the menu's thread; a blocked Run shows its problem count and opens the item that fixes it; leaving a form with unsaved changes asks to discard them.
- Export: widgets, rendered frames and live-session snapshots to self-contained HTML (light and dark), SVG (box, block and braille drawn as shapes) and text; recordings to an HTML player, an animated SVG and asciicast v3 (ConsoleExporter, Recording, Export-ConsoleFrame, Export-ConsoleRecording, New-ConsoleTable); ScreenCapture draws interactive screens into memory.
- Inline live area (
LiveSessionOptions.Mode = Inline,Invoke-ConsoleDashboard -Inline/-Transient): a live region below the cursor with output scrolling above it; stream lines in CI and redirected output. Write-Progressfrom dashboard runspaces shows as nested activities (ActivityList);Use-ConsoleProgressrenders a script'sWrite-Progressinline.- Public test helpers:
TestTerminal,GoldenFile(CONSOLEMONSTER_UPDATE_GOLDEN=1, readable diffs),ScreenCaptureandAssert-ConsoleOutput. - Long tables print in blocks (
Terminal.StreamingRowThreshold,Terminal.RenderChunks): 50,000 rows use about 76 MB instead of 510 MB. - SVG exports batch shapes into one path per colour;
ExportOptions.Elapsedsets the clock of widget exports;New-ConsoleTablekeeps-Culture(CultureScope). - A Windows CI workflow runs xUnit (net472, net8.0) and Pester (5.1, 7).
- Design system (
Docs/Design-System.md): sharedHeaderBar,FooterBar,DialogChrome, status symbols and spinner. Runs from menus and forms (FormOptions.AfterSubmit) stay in the same frame, and Write-Host colours are kept above inline areas and in log regions. Invoke-ConsolePester: Pester 5 and 6 runs with a live dashboard (inline or full screen), a summary table by file,-ExportHtml, stream lines in CI, and Pester's result object; built on the newTestRun/TestRunView/TestRunSummarywidgets. One-shot console writes go above a running inline area, andLiveSessionOptions.Discoverablekeeps a session out ofLiveSession.Current.- Menu icons follow the glyph tier:
GlyphIconnames (WithIcon(GlyphIcon.Targets),-IconName) with Full, Basic and ASCII forms.Lanes.CountSkippedandHistogram.EdgeFormatadded. ExceptionView,Show-ConsoleErrorandShow-ConsoleError: readable exceptions and ErrorRecords with source lines, script stacks, collapsed framework frames and inner errors.- A dependency-free highlighting engine (
ITextHighlighter,Highlighters,RegexHighlighter, smart values) withCodeView,Show-ConsoleCode,Show-ConsoleJson,Write-ConsoleLogEntry -Highlightand theHighlighttable column option. TextAreaPromptandTextAreaField(Read-ConsoleText -Multiline,New-ConsoleField -Type TextArea) for multi-line text.GridandShow-ConsoleGrid: an interactive table viewer with filter, sort, marks, column chooser and details.- Clipped text in test runs and stat columns ends with the tier's ellipsis.
- Cmdlets with a plain
Consolenoun (seeGet-Command -Module ConsoleMonster) (Show-ConsoleTable,Show-ConsoleTable,New-ConsoleDashboard,Invoke-ConsoleDashboard,Read-ConsoleSelect,Show-ConsoleMenu,Read-ConsoleForm, ...).
Breaking changes
- The Spectre.Console / Terminal.Gui functions of 0.0.x (
New-SpectreImage,New-SpectreRule,New-Terminal*) are removed; 0.0.4 remains on the PowerShell Gallery.
0.0.4 2024-10-26
What's new
- Bump dependencies
- Small fixes
What's Changed
- Bump SixLabors.ImageSharp from 2.1.3 to 2.1.7 in /Sources/ConsoleMonster by @dependabot in https://github.com/EvotecIT/ConsoleMonster/pull/2
- Bump SixLabors.ImageSharp from 2.1.7 to 2.1.8 in /Sources/ConsoleMonster by @dependabot in https://github.com/EvotecIT/ConsoleMonster/pull/3
New Contributors
Full Changelog: https://github.com/EvotecIT/ConsoleMonster/compare/v0.0.3...v0.0.4
- @dependabot made their first contribution in https://github.com/EvotecIT/ConsoleMonster/pull/2
0.0.3 2023-01-01
- Removed Libraries from GIT, you will have to build them using PSPublishModule in the builds folder if you want to play with GIT version
- Updated versions of libraries: - Spectre.Console 0.45.0 - Terminal.Gui 1.8.2
0.0.2 2022-09-06
- Improve
New-SpectreImageto take URL as input - Small improvements for other cmdlets but really WIP
0.0.1 2022-08-28
- Initial release to test things out
Next
- Install: add the package or the module and print a first table.
- Migrating to 3.0: the fluent renames and the few PowerShell changes in 3.0.
- Shell prompt: the prompt that arrived in 3.0.3.