Expand description
Shared log records used by jk integration and TUI crates.
jk-core keeps the boundary between opaque jj rendering and semantic log state explicit. The
rendered log body is still owned by jj; jk only keeps enough structured metadata to move by
change, preserve selection across refresh, and insert inline details at the right rendered line.
Structs§
- Command
Execution Context - Context captured when a command starts.
- Command
History - Recent command records retained in memory.
- Command
Identity - Command data captured from a typed command spec.
- Command
Preview - Command data shown before a command is allowed to run.
- Command
Record - One retained command-history record.
- Command
Record Finish - Fields required when a command finishes.
- Command
Record Id - A stable command-history id for the current process.
- Command
Record Start - Fields required when a command starts.
- Command
Result Summary - Process result summary retained by history.
- Command
Source - The view and action that caused a command.
- Command
Timing - Timing captured for a command.
- Diff
File Stat - Per-file line counts for a rendered diff.
- Diff
Snapshot - A rendered
jj diffview for one change. - Exit
Status Summary - Exit status data that does not require retaining platform-specific process types.
- Global
Options - Global
jjoptions rendered before the command family. - Global
Options Snapshot - Redacted global
jjoptions retained by command history. - Inspection
Snapshot - A rendered read-only
jjinspection view. - JjCommand
Spec - A typed description of one
jjcommand. - LogEntry
- A semantic log item that the TUI can navigate without knowing how
jjproduced it. - LogSnapshot
- A rendered
jjlog view plus semantic records for navigation. - Output
Policy - Output-related global
jjoptions. - Pending
Command Record - A pending command record handle returned by
CommandHistory::start. - Stream
Summary - Bounded and redacted stream summary.
Enums§
- Color
Policy - Color rendering policy passed to
jj --color. - Command
Family - Broad command family for history filtering.
- Command
Preview Warning - Warning shown beside a command preview when flags or safety class deserve attention.
- Config
Overlay - Config overlays passed through global
jjoptions. - Execution
Mode - How a command should be executed.
- Immutability
Policy - Whether
jjshould enforce immutable commits. - Operation
Integration Policy - Whether
jjshould integrate the loaded operation. - Operation
Load Policy - Which operation
jjshould load before running a command. - Output
Retention - Bounded output retention policy for a command record.
- Pager
Policy - Pager rendering policy passed to
jj. - Refresh
Plan - What should refresh after a command succeeds.
- Safety
Class - The safety class for command preview and confirmation policy.
- Source
Action - App action that triggered a command.
- Source
View - App view that triggered a command.
- Working
Copy Policy - How
jjshould handle working-copy state before running a command.