Expand description
Human output: the dry-run and --verbose report (spec §26, SP1 design §7.4, SP2 design §7.3), the
repository command reports (SP3 design §7.5) and redaction (spec §22). JSON output (spec §32) is built in
json (SP5b).
Re-exports§
pub use crate::exe::ExecutableStatus;
Enums§
- Report
Mode - Which report is rendered.
- Shown 🔒
- How one opaque argument is shown (spec §26 “Sensitive values must be redacted”, §36).
Constants§
- LABEL_
WIDTH 🔒 - SENSITIVE_
NAME_ 🔒PARTS - Substrings that mark an override variable as secret-bearing, whatever the adapter declared.
Functions§
- agent_
mappings_ 🔒remain - The note that agent mappings survive a repository-level
unlink, or nothing when there are none. - agents_
lines agents(SP5a design §3): a padded block per entry — the agent, the executable status, the mechanism, the support level, then the evidence entry’s measured upstream version with its verification date (a probe of whatever happens to be installed would say nothing about the matrix it pairs with), and the full capability matrix without which a support level is never shown (SP4 design §6.1). An empty line separates the entries; there is none after the last.- capability_
label - How a capability is spelled. One vocabulary covers the report and the hedge (SP4 design §7.2).
- capability_
lines - The capability-matrix block of the report: every capability in
Capability::ALL, in that fixed order, each followed by its basis. The matrix is unconditional: SP4 design §6.1 rests on a support level never being shown without it, so every block that shows a support level (report_lines,agents_lines) renders this whole, without a leading or a trailing line of its own. - classify 🔒
- create_
line create(SP5a design §3).- delete_
line delete(SP5a design §3): the stdout line of each outcome. A profile that vanished before the locked delete ran reports the same does-not-exist line as an advisory miss, because that is the state the user asked for.- doctor_
lines - The
doctorreport (SP5c design §7): records grouped underhost,repositoriesand oneagent <id>heading per agent, then the summary line. - has_
sensitive_ 🔒part - is_
dotted_ 🔒identifier A_1,mcp_servers.gh.env.GITHUB_TOKENormcp_servers.chrome-devtools.http_headers.X-Api-Key: TOML bare keys (letters, digits,_,-) joined by dots, as Codex-cdotted paths are.- is_
sensitive 🔒 - labeled 🔒
label:padded to the report column, thenvalue.- link_
line link(SP3 design §7.5).- list_
lines list(SP5a design §3): only the names of the rows whose agents containagent, one per line. The result may be empty; the CLI layer decides what that means for stderr.- missing_
profile_ line - The stdout line for a deleting command whose profile is not there.
- note
- A
note:line. - or_none 🔒
- origin_
word 🔒 - Where a launch’s executable came from, spelled as the report does.
- profiles_
lines profiles(SP5a design §3): one line per row, the profile name padded to the longest name so the agent columns align; an empty listing is the single lineno profiles. A profile with no agent materialized is shown as(none materialized)rather than an empty column.- render_
arg 🔒 - render_
args 🔒 - Renders the opaque arguments for the report. Only the report is redacted; the launched arguments never
change. Redaction is a shallow name rule, never a parser: a
--optionwhose name holds a sensitive part hides its value (--api-key=<redacted>, or the next argument); aNAME=valuewhose (possibly dotted) NAME holds one hides the value (mcp_servers.gh.env.GITHUB_TOKEN=<redacted>); aName: valueheader whose name holds one hides the value (Authorization: <redacted>). Every argument is scanned, including after a--, and boolean-looking names get no exemption, because hiding too much only costs readability. - report_
lines - The report lines, without trailing newlines.
- repositories_
lines repositories(SP5b design §4): a block per stored mapping, a blank line between blocks. The key is printed as stored.- resolve_
lines <agent> resolve(SP3 design §7.5).- sensitive_
value_ 🔒prefix - The shown prefix when
textis aNAME=valueassignment or aName: valueheader whose name holds a sensitive part:NAME=orName:. - shell_
word 🔒 - A path to paste into a command: in double quotes when it contains whitespace, which POSIX shells, PowerShell
and
cmdall read as one argument. - state_
label - How a capability state is spelled: lower case, with spaces (SP4 design §7.1).
- status_
lines statusand<agent> status:agentsholds one resolution per agent line and, for<agent> status, itspresence:value (SP3 design §7.5).- support_
hedge - The one-line stderr hedge for an adapter that is not
Proven, orNonewhen it is (SP4 design §7.2). - support_
label - How a support level is spelled in the report and in the launch hedge (SP4 design §7.1).
- unlink_
lines unlink(SP3 design §7.5).configis the configuration read before the command,keysthe candidates.