You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commands that support --json or -Json emit a single envelope so scripts can rely on stable top-level fields.
Which version is WINDO—the product or schemaVersion?
The release you have installed is the product (semver) version: the same value as windo version, the installer $WindoVersion (e.g. 3.0.0, 2.9.1), and the JSON field windoVersion. That is the number to use when talking about “WINDO 2.9” vs “WINDO 3.0.”
schemaVersion ("2.6" or "3.0") is only the name of the CLI JSON envelope contract. It stayed 2.6 for every product release from v2.6.0 through v2.9.x because the envelope shape did not get a breaking change until v3.0.0 (when meta was added). So you are not “on WINDO 2.6” in the product sense just because JSON says schemaVersion: "2.6"—you might be on WINDO 2.9.1 with schemaVersion2.6.
Summary:windoVersion = actual WINDO release; schemaVersion = JSON wrapper version for automation authors.
JSON envelope theme (v3.1.0+)
If you prefer the pre-v3 JSON “look” (no top-level meta, and schemaVersion: "2.6") but want to stay on the latest WINDO for runner fixes and security, use presentation-only controls—never an old installer:
Mechanism
Purpose
windo theme classic
Writes jsonEnvelope: classic to %USERPROFILE%\.pwsh_secure\windo_prefs.json. Effective --json output uses a 2.6-shaped envelope (no meta).
windo theme modern
meta + schemaVersion3.0 (when the embedded profile supports it).
windo theme auto
Follow the embedded profile’s default ($SchemaVersion in the installed function).
WINDO_JSON_ENVELOPE
Environment override: classic | modern | auto. Takes precedence over windo_prefs.json.
v2.6.x envelopes had nometa object; schemaVersion was "2.6".
v3.0.0+ adds meta and sets schemaVersion to "3.0". payload shapes for existing commands are unchanged unless noted in the changelog.
Automation should accept schemaVersion2.6 or 3.0 (or branch on schemaVersion if you need meta).
Breaking change from pre-2.6 JSON
Earlier releases returned flat objects (for example { "windoVersion": "2.5.0", ... }). From 2.6.0, the same information lives under payload, with the envelope fields above. Scripts should read payload and check schemaVersion.
Patch releases may bump windoVersion without changing schemaVersion when JSON shape is unchanged.
On-disk audit log
The DPAPI-encrypted log file (windo_history.enc) is not required to use this envelope; only CLI JSON output is standardized here. windo verify continues to validate the existing line format and hash chain.
Last-command metadata
%USERPROFILE%\.pwsh_secure\windo_last_meta.json uses a separate small schema (e.g. schemaVersion"1.0") with commandLine, storedAt, and lastRequestId. It is updated when an elevated run completes (including timeout paths).
Automation exitCode in payload
Several commands mirror $global:WINDO_EXIT_CODE inside payload.exitCode so scripts can parse JSON only (no host exit code). Meanings align with the README table:
v6.0.0+0 = status/resolve/arp/ping success with no unreachable hosts, 2 = bad args or CIDR format error, 3 = at least one host unreachable or probe error
v5.4.0+ status/doctor/prime/repair/shortcuts/startup/shim/open success, write/open failure, or integration attention state
control
0, 2, 3
v4.3.0+ / v4.4.0+ status/prime/actions/queue/run/execute-next/inspect/cancel/history/pulse/clear success, bad subcommand, unknown action, no queued request, or manifest write failure
signal
0, 2, 3
v4.5.0+ status/timeline/last/export success, bad subcommand, or attention state
center
0, 2, 3
v5.0.0+ / v5.3.0+ status/open/tray/panel/studio/actions/preview/run/queue/execute/history/signal success, bad subcommand/action, or attention/native surface state
studio
0, 3
v5.3.0+ guided Power Studio launch success or native desktop unavailable
edition
0, 2, 3
v5.1.0+ status/open/html/pulse success, bad subcommand, or inherited center attention state
rdp
0, 2, 3
v6.0.0+ built-in command for status/firewall/config/troubleshoot handling
wsl
0, 1, 2, 3
v6.0.0+ built-in command for status/check/launch/path/import/export
Target WSL distro name (for install/convert/exec).
command
array | string
In exec, forwarded command arguments (array) or raw tokenized command text in other command paths.
to
string
Target WSL version (1 or 2) for convert.
apply
bool
true only when --apply was provided.
dryRun
bool
true for dry-run preview mode.
commandLine
string
Reconstructed command line for preview.
windo wsl inspect
Field
Type
Description
distribution
object
Target distro snapshot with name, state, default, version, kernel, and ip.
osRelease
array
Raw /etc/os-release lines from WSL execution.
unameExitCode
number | null
Exit code for uname -a probe.
osReleaseExitCode
number | null
Exit code for /etc/os-release probe.
ipExitCode
number | null
Exit code for hostname -I probe.
windo wsl launch
Field
Type
Description
distro
string
Target distribution.
args
array
Arguments in dry-run mode.
command
array
Executed command tokens in run mode.
commandLine
string
Reconstructed command line preview.
dryRun
bool
true for preview execution.
processId
number
Process ID for interactive launch.
output
array
Command output rows when execution returns output.
windo wsl path
Field
Type
Description
direction
string
to-wsl or to-win.
path
string
Source path.
distro
string | null
Optional distro selector.
converted
string | null
Converted path when known.
dryRun
bool
true for preview.
commandLine
string
Planned command line for conversion preview.
windo wsl import|export
Field
Type
Description
distribution
string
Distribution name argument.
tar
string
Tar input path for import checks.
out
string
Export target path.
path
string
Import target path.
version
number
Selected WSL version (1 or 2).
apply
bool
Execution gate flag.
dryRun
bool
Preview marker.
commandLine
string
Reconstructed command in dry-run paths.
output
array
Output rows from run mode.
network-ops payloads (optional module)
The optional extras/samples/network-ops module registers these commands via wincmd.
They return native PowerShell objects by default, and use the WINDO _emit_json command envelope when -AsJson is requested for telemetry-focused paths.
netops-rdp-vnc payload
netops-rdp-vnc uses envelope command rdp when -AsJson is active.
netops-rdp-vnc status
Field
Type
Description
subcommand
string
Always status for status queries.
dryRun
bool
true when check path was requested without applying, for example when confirmation is declined.
scannedAt
string
ISO timestamp for the request snapshot.
service
object
name, status, startup, and exists fields.
config
object
Registry/config posture values used in evaluation.
firewall
object
count and firewall rule rows.
exitCode
number
0 success, 2 when service state is unknown.
netops-rdp-vnc firewall
Field
Type
Description
subcommand
string
Always firewall for firewall operations.
action
string
status, enable, or disable.
requestedPorts
array
Placeholder for port-specific payload shaping.
dryRun
bool
true when requested action is staged without confirmation.
rules
array
Rule rows collected from matching firewall query.
runCommand
array
Commands prepared for mutating operations.
command-executed
array
Commands executed for mutating operations.
updates
array
Planned or applied rule updates.
error
string
Human-readable failure reason when execution fails.
exitCode
number
0 when updates are successfully applied, 2 on pre/post failure, 3 when confirmation was skipped.
netops-wsl payload
netops-wsl uses envelope command wsl when -AsJson is active.
netops-wsl status
Field
Type
Description
command
string
Always status for mode status output.
wslAvailable
bool
wsl.exe discoverability check.
wslStatus
array
Raw output from wsl --status.
wslExitCode
number
Raw wsl --status exit code.
distros
array
Parsed distro rows.
default
string | null
Default distro name.
exitCode
number
0 success, non-zero when preconditions fail.
netops-wsl check install
Field
Type
Description
command
string
Always check install for install preflight.
wslAvailable
bool
wsl.exe discoverability check.
wslStatus
array
Raw output from wsl --status.
distros
array
Parsed distro rows.
default
string | null
Default distro name if available.
notes
array
Preflight notes.
exitCode
number
0 on pass, 2 on preflight failure.
netops-resolve
Rows return:
Host, IpAddress, AddressFamily, and ReverseDns when available.
Present when a mode was written to windo_prefs.json.
reset
bool
Present when the saved mode was removed.
exitCode
number
0 on success, 2 for invalid mode or prefs write failure.
motion payload (v4.2.0+)
Field
Type
Description
motion
object
Effective motion policy: mode (auto, on, quiet, off), source (env, prefs, default), enabled, interactive, environmentValue, preferenceValue, prefsFile, and description.
saved
bool
Present when a mode was written to windo_prefs.json.
reset
bool
Present when saved mode was removed.
pulseRendered
bool
Present for pulse/demo; true when terminal motion was actually rendered.
exitCode
number
0 on success, 2 for invalid mode or prefs write failure.
enabled is computed by combining interactivity, source precedence (env > prefs > default), and CI constraints (WINDO_NO_SPINNER).
For mode=auto, motion is enabled only when interactive and CI constraints allow spinner rendering.
surface payload (v4.2.0+)
Field
Type
Description
subcommand
string
status, prime, pulse, doctor, repair, open, or panel.
Captured output strings from the visible executor.
signal payload (v4.5.0+)
Field
Type
Description
subcommand
string
status, timeline, last, export, or open.
signal
object
Signal Deck state: timeline, control state, last signal, trust, integrity, audit, surface doctor, recommendations, and exitCode.
last
object
Present for last; latest signal timeline row.
htmlPath
string
Present for export/open; local HTML Signal Deck path.
exitCode
number
0 ready, 2 bad subcommand/write failure, 3 attention state.
integrate payload (v5.4.0+)
Field
Type
Description
subcommand
string
status, doctor, prime, repair, shortcuts, startup, shim, or open.
integration
object
Present for status; current-user integration state including shortcut rows, startup script, shim, user PATH posture, native surface state, next commands, and exitCode.
doctor
object
Present for doctor; readiness checks for shell COM, shortcut files, startup wiring, shim, and user PATH.
result
object
Present for repair/open actions; includes per-artifact repair rows or opened folder path.
exitCode
number
0 ready/success, 2 bad args/write/open failure, 3 integration attention state.
Integration repair is current-user scoped. Expected artifacts include Start Menu/Desktop .lnk files, a startup tray .lnk, .pwsh_secure\windo_start_tray.ps1, .pwsh_secure\bin\windo.cmd, and an optional current-user PATH update for new shells.
Present for open/html; local animated edition console path.
pulseRendered
bool
Present for pulse; true when terminal motion was rendered.
exitCode
number
0 ready/success, 2 bad args/write failure, 3 inherited center attention state.
venv payload (v4.0.1+)
Field
Type
Description
action
string
Present for mutating actions: create, activate, deactivate, or remove.
path
string
Virtual environment path when applicable.
exists
bool
Status mode: whether Scripts\Activate.ps1 exists.
active
bool
Status mode: whether VIRTUAL_ENV is set.
activePath
string | null
Active venv path from VIRTUAL_ENV when present.
activateScript
string
Expected Activate.ps1 path.
python
string | null
Venv Python executable path when present, or selected Python command during create.
ok
bool
Create mode: whether Python created a usable venv.
removed
bool
Remove mode success marker.
error
string
Present for bad args or failed action.
exitCode
number
0, 2, or 3.
pkg payload (v4.0.1+)
Field
Type
Description
managers
array
Status rows: id, available, and path for winget, choco, and scoop.
manager
string
Requested manager on error payloads.
error
string
Unsupported manager, missing manager, or missing package-manager args.
exitCode
number
0 on status success, 2 for bad usage. Handoff executions use the normal elevated-command result path.
theme payload (v3.1.0+)
Field
Type
Description
jsonEnvelopeFile
string | null
Value from windo_prefs.json (classic / modern / auto)
environmentOverride
string | null
WINDO_JSON_ENVELOPE when set
effective
object
schemaVersion (2.6 or 3.0) and includeMeta (bool)
embeddedProfileSchema
string
Embedded $SchemaVersion (show mode)
saved
bool
(set mode) true when preset was written
jsonEnvelope
string
(set mode) value saved
prefsFile
string
Path to windo_prefs.json
exitCode
number
0 on success
config payload (v3.0.0+)
Field
Type
Description
secureDir
string
WINDO secure directory (.pwsh_secure)
settings
array
Rows: name, environmentValue (string or null), effectiveNote (human-readable effective behavior). Includes WINDO_*, SUDO_*, CI, and (v3.2.0+) WINDO_EXTRAS_INDEX_URL when relevant.
keybindingPolicy
object
Effective PSReadLine policy (same shape as windo keybindings status --jsonpolicy: enabled, chord, chordSource, fallbackChord, autoDetectAlt, etc.)
v4.2.0+ Effective terminal motion policy when present in newer profiles.
extrasIndexUrl
string
v3.2.1+ Resolved extras catalog URL (WINDO_EXTRAS_INDEX_URL or canonical Exodus-sourced extras/index.json)
exitCode
number
0
The settings array is the machine-readable source of truth for env-driven behavior; extrasIndexUrl duplicates the resolved URL for quick automation without parsing effectiveNote on the WINDO_EXTRAS_INDEX_URL row.
completion payload (v3.4.0+ / v6.0.0+)
Field
Type
Description
completionPolicy
object
Effective completion mode and source (native-first, hybrid, windo, or off).
doctor
object
Present for doctor; reports TabExpansion2, completer registration, profile completer text, early-return risk, sample completions, readiness, and next commands.
repair
object
Present for repair; includes before/after doctor states and optional error text.
saved
bool
Present when a mode was written to windo_prefs.json.
reset
bool
Present when saved mode was removed.
exitCode
number
0 on success, 2 for invalid mode or prefs write failure, 3 for doctor/repair attention state.
Completion/help semantics (v6)
completion command arguments support status, doctor, repair, native-first, hybrid, windo, and off as canonical modes, with compatibility aliases (native, stealth, builtin, builtins) normalized to existing v6 modes.
The same command-topic registry used for completions powers windo help <topic> suggestion behavior, enabling parity between tab-completion and help query normalization.
roadmap payload (release runway)
Field
Type
Description
currentVersion
string
Installed WINDO version.
targetMajor
string
Current public target marker. reserved means future major-package details are intentionally brief.
Present for windo syntax doctor [query] or windo syntax --doctor [query]; includes status, message, bestMatch, matches, recommendations, and exitCode.
exitCode
number
0 when matches exist or doctor finds a safe single path, 3 when no shortcut matched or the doctor reports ambiguity.
mesh payload (v3.6.6+)
Read-only Operator Mesh preview from windo mesh --json. v3.6.7 adds --html, --open, and --output for a local branded cockpit artifact. v3.6.8 adds windo mesh doctor --json, which returns a readiness payload instead of the inventory payload. v4.0.0 adds windo mesh workbench --json, which returns workflow lanes, platform pieces, and recommended flows.
Field
Type
Description
windoVersion
string
Installed WINDO version.
status
string
Current preview state.
counts
object
modules, enabledModules, recipes, and installedExtras.
modules
object
Module root, enabled module ids, and discovered module rows.
recipes
array
Built-in recipe ids with descriptions and preview/run commands.
extras
object
Extras index URL, install root, and locally installed extras.
launchpad
object
Terminal/html/tray commands plus tray support and detected brand assets.
nativeSurface
object
Local Windows-native surface capability map: status, windowsDesktop, windowsFormsAvailable, traySupported, tray/brand paths, shell paths, and native-surface commands.
export
object
Export command, export root, and latest zip when present.
nextCommands
array
Suggested read-only or review-first commands to continue platform setup.
htmlPath
string | null
Set when --html, --open, or --output writes local cockpit HTML.
exitCode
number
0 on success.
windo mesh doctor --json (v3.6.8+)
Field
Type
Description
windoVersion
string
Installed WINDO version.
generatedAt
string
ISO-8601 timestamp for the local doctor run.
readinessLevel
string
READY, ATTENTION, or REPAIR.
score
number
0-100 readiness score after failed-check weighting.
checks
array
Check rows with id, label, ok, detail, fixCommand, and severity.
inventory
object
Embedded windo mesh --json inventory used as the doctor source.
recommendations
array
Suggested next commands or setup actions.
exitCode
number
0 = ready, 3 = attention, 4 = repair required.
windo mesh workbench --json (v4.0.0+)
Field
Type
Description
mode
string
operator-mesh-workbench.
readinessLevel
string
Mirrored doctor readiness level.
score
number
Mirrored doctor readiness score.
counts
object
Modules, enabled modules, recipes, and installed extras.
platform
array
Platform pieces with name, count, ready, command, and path.
lanes
array
Workflow lanes with id, title, summary, cardCount, and recipe/command cards.
recommendedFlow
array
Ordered next-step commands with short rationale.
nativeSurface
object
Embedded native-surface capability map used by the workbench and tray handoff.
doctor
object
Embedded windo mesh doctor --json payload.
inventory
object
Embedded windo mesh --json inventory payload.
htmlPath
string | null
Set when --html, --open, or --output writes local workbench HTML.
exitCode
number
0 on success.
explain payload (v3.6.1 runway)
Read-only execution plan from windo explain <command...>; use windo explain -- <external command...> when the target command has flags that should remain part of the explained command.
Field
Type
Description
windoVersion
string
Installed WINDO version.
target
array
Target command arguments after explain; a leading literal windo is ignored.
commandLine
string
Shell-safe-ish preview of the target command line.
route
string
Planned route, such as external elevated command, published installer update, trust console, recipe elevation, or native tray launchpad.
Set when --html, --open, or -o/--output writes local HTML
exitCode
number
0, 3, or 4 matching status
preflight payload (v3.3.0+)
Read-only readiness scan from windo preflight --json.
Field
Type
Description
windoVersion
string
Embedded profile / CLI version
generatedAt
string
ISO timestamp
ok
bool
True when all checks pass
failedCount
number
Count of checks where ok=false
criticalCount
number
Count of failed checks with severity=critical
checks
array
Rows: id, label, ok, severity, detail, fixCommand
exitCode
number
0, 3, or 4
launchpad payload (v3.3.0+)
Command center from windo launchpad --json; --tray starts a native Windows Forms tray process and does not depend on a browser.
Field
Type
Description
windoVersion
string
Embedded profile / CLI version
generatedAt
string
ISO timestamp
status
string
READY | ATTENTION | REPAIR
score
number
0-100 readiness score
checks
array
Same row shape as preflight
actions
array
Copy/run suggestions: title, command, note
recipes
array
Built-in recipe ids, descriptions, and command templates
modules
array
Discovered module rows
paths
object
secureDir, snapshotDir, profile, brandLogo
htmlPath
string | null
Set when --html, --open, or --output writes local HTML
tray
object
requested, started, scriptPath, iconPath, error; populated by --tray
exitCode
number
0, 3, or 4
keybindings payload (v3.x)
The envelope command is always keybindings. Shape depends on the subcommand.
windo keybindings status --json
Field
Type
Description
profilePath
string
Current $PROFILE
prefsFile
string
windo_prefs.json path
policy
object
Resolved keybinding policy
bindings
array
Rows: chord, registered, matchesPolicy
effectiveChord
string | null
First registered chord among candidates, if any
psReadLineAvailable
bool
Whether Get-PSReadLineKeyHandler was available
exitCode
number
0
windo keybindings doctor --json (v3.2.1+)
Advisory only: inspects PSReadLine handlers for the effective prefix chord (when policy is enabled) and for Shift+Enter / Alt+Enter run chords. Heuristics flag script text that does not look like WINDO’s embedded bindings.
Field
Type
Description
subcommand
string
doctor
policy
object
Same as status
chordChecks
array
Rows: chord, role (prefix | run), handlerPresent, looksLikeWindoBinding, scriptPreview (truncated), advisory (string or null)
anyAdvisory
bool
true if any row has a non-empty advisory
exitCode
number
0 on success; 2 if PSReadLine cannot be loaded (then error may appear instead of these fields)
0 if no issues; 3 if issues non-empty; 2 if root missing
recipes payload (v3.2.0+)
v3.6.9 expands the bundled read-only recipe catalog substantially. The JSON shape is unchanged; callers should treat recipe ids as data returned by windo recipes --json instead of hard-coding a small fixed list.
Field
Type
Description
recipes
array
( list ) Objects: name, description, command
windoVersion
string
Bundled profile version
subcommand
string
show, preview, or run when applicable
preview
object
( show, preview, or recipe --dry-run ) Recipe preview object
preview.name
string
Canonical recipe id
preview.description
string
Recipe description
preview.command
string
Elevated command line template
preview.elevatedCommand
string
Same exact command submitted to the audited elevation path when run
preview.runCommand
string
windo recipes run <name>
preview.previewCommand
string
windo recipes preview <name>
preview.dryRunCommand
string
windo recipes run <name> --dry-run
preview.risk
string
Human-readable risk class
dryRun
bool
Present and true for recipe dry-run payloads
error
string
Unknown recipe / bad usage (exitCode2)
exitCode
number
0 on success
Note:windo recipes preview <name> and recipe --dry-run are read-only and return before scheduled tasks, request/result files, or audit entries are touched. Errors from windo run --recipe / windo recipes run may still use command: recipes in the envelope when JSON is emitted for a bad recipe name.
extras payload (v3.2.0+)
windo extras search --json
Field
Type
Description
query
string
Filter string (may be empty for full catalog)
items
array
Index entries (at minimum id, description; may include maintainer, sourceUrl, sha256)
indexSchema
string
From catalog schemaVersion when present
exitCode
number
0
windo extras fetch <id> --json
Field
Type
Description
id
string
Catalog id
path
string
Downloaded file path
sha256
string
Actual file hash (uppercase hex from Get-FileHash)
Env vars WINDO documents for themes (WINDO_LAST_REQUEST_ID, WINDO_VERSION)
ohMyPoshSegmentExample
object
Sample Oh My Posh segment (template uses {{ .Env.* }})
exportedTo
string
Present when --export <path> succeeds
error
string
Export/write failure (exitCode2)
exitCode
number
0 on success
ai payload (v3.2.5+; Ollama fields v3.2.6+)
Read-only AI / local env hygiene (vendor API and Ollama env names only; values are never emitted). Elevated-session and Machine-scope warnings apply to cloud API key names only; Ollama advisories are separate.
Field
Type
Description
subcommand
string
status or doctor
elevated
bool
true if the current process is running as Administrator
processSetNames
array of string
Names set in Process scope
userSetNames
array of string
Names set in User scope
machineSetNames
array of string
Names set in Machine scope
ollamaSetNames
array of string
v3.2.6+ Subset: Ollama-related names set in any scope
ollamaAdvisory
string | null
v3.2.6+ Informational or risk hint derived from OLLAMA_HOST (never contains secrets)
processEnvFlags
object
Map name → bool (set in process)
userEnvFlags
object
Map name → bool (user scope)
machineEnvFlags
object
Map name → bool (machine scope)
issues
array of string
Non-empty when doctor detects policy concerns
recommendations
array of string
Present on doctor (fixed guidance text)
docHint
string
docs/ai-bridge.md
error
string
Bad subcommand (exitCode2)
exitCode
number
status: 0; doctor: 0 or 3
repair payload (v3.2.7+)
Field
Type
Description
actions
array of string
e.g. keybindings-safe-reset
scope
string
all or keybindings (same behavior today)
keybindingsPolicy
object
Effective policy after safe-reset (same shape as keybindings)
profilePath
string
Current $PROFILE
prefsFile
string
windo_prefs.json path
hints
array of string
Next steps (reload profile, install-latest)
error
string
When exitCode2
exitCode
number
0 on success
help payload (v3.1.2+)
Field
Type
Description
topic
string | null
Normalized topic when provided; null for full index
help topic matching is case-insensitive and alias-aware.
The CLI help/completion index path is the same source of truth for topic names, so automation can rely on consistent topic normalization and suggestions output.
export payload (v3.2.2+)
windo export always writes a zip on disk. --json (global flag) adds a CLI envelope after a successful bundle so automation can capture path and size without parsing human output. The zip itself still contains doctor.json, integrity.json, and audit_excerpt.json — each file uses the usual envelope internally (command may be doctor, integrity, or export for the audit slice).
Field
Type
Description
zipPath
string
Absolute path to the created .zip
sizeBytes
number
File size in bytes
redacted
bool
true if --redact was used
auditExcerptLimit
number
-n value (default 30) — max decrypted entries packed
auditTotalEntries
number
Total decrypted audit rows scanned
auditIncludedInExcerpt
number
Entries included in audit_excerpt.json (last N)
error
string
When exitCode2 (archive failure, missing zip)
exitCode
number
0 on success
backups payload (v3.0.0+)
Lists windo_history*.enc.bak files created by windo cleanup (newest first).
Field
Type
Description
backups
array
Objects: name, fullPath, lastWriteTime, sizeBytes
backupCount
number
(list mode) count of backup files
exitCode
number
0 on success
prunedFiles
array of string
(after --prune --keep N --force) basenames removed
keep
number
requested keep count when pruning
error
string
when exitCode is 2
stats payload (v2.9.0+)
Field
Type
Description
entryCount
number
Decrypted entries after optional time filter
successCount
number
Entries with exit code 0
nonZeroExitCount
number
Entries with non-zero exit
avgDurationMs
number | null
Average of DurationMs when present
logFile
string
Path to encrypted audit log
categories
object
Counts: SUCCESS, NONZERO, ELEVATION_FAILED, OTHER
filterSince
string | null
--since argument if set (YYYY-MM-DD)
filterLastDays
number | null
--last-days value if that flag was used (positive integer)
exitCode
number
Always 0 when JSON is emitted
Time filtering uses each entry’s decrypted Timestamp; --since and --last-days are mutually exclusive. --last-days must be a positive integer (v2.9.1+ rejects zero, non-numeric values, or a missing value after the flag).
profile payload (v2.9.0+)
Field
Type
Description
subcommand
string
v4.2.0+status, doctor, or repair.
profiles
array
Objects: path, filePresent, hasWindoBlock, isCurrentProfile, and v4.2.0+promptIssues.
promptIssues
array
v4.2.0+ Flattened profile prompt findings such as oh-my-posh-unguarded-init and oh-my-posh-missing-cache.
results
array
v4.2.0+ Repair results when windo profile repair --json is used: ok, changed, path, backupPath, and error.
changedCount
number
v4.2.0+ Count of changed profiles during repair.
exitCode
number
0 when OK, 2 for repair failure, 3 when prompt issues are found.
hasWindoBlock is true when the file contains the WINDO profile block marker (# >>> WINDO-BEGIN >>>).