summaryrefslogtreecommitdiff
path: root/src/abi.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/abi.zig')
-rw-r--r--src/abi.zig7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/abi.zig b/src/abi.zig
index 9154539..c962772 100644
--- a/src/abi.zig
+++ b/src/abi.zig
@@ -773,6 +773,13 @@ pub const Info = struct {
store: Layout,
/// Console completions offered by the sketch.
commands: []const []const u8 = &.{},
+ /// What the sketch was built from: its repository's revision ("jj:<commit>
+ /// <change>", "git:<sha>[+dirty]", or nothing), then `build`. Each
+ /// stretch of a recorded session keeps it.
+ source: []const u8 = "",
+ /// Whether the host records sessions to a file (`App.Options.record`;
+ /// Debug builds do unless told otherwise).
+ record: bool = false,
};
/// Which memory `sketch_defaults` fills.