leglas 0.7.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ export type LogDeps = {
2
+ log(line: string): void;
3
+ error(line: string): void;
4
+ };
5
+ /**
6
+ * Read what past explorations decided.
7
+ *
8
+ * The entries are plain markdown in a committed directory and are meant to be
9
+ * read that way, in a pull request or on GitHub. This exists because an agent
10
+ * asked to work on a surface should be able to find what was already tried
11
+ * there without being told where to look, and because a person coming back to
12
+ * a project should not have to know the directory's name.
13
+ */
14
+ export declare function runLog(options: {
15
+ entry: string | null;
16
+ json: boolean;
17
+ cwd: string;
18
+ }, deps: LogDeps): Promise<{
19
+ exitCode: number;
20
+ }>;