@vimhead.dev/norn 0.1.0-tip.36679386408.1 → 0.1.0-tip.36824462948.1

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.
Files changed (2) hide show
  1. package/dist/api.d.ts +18 -0
  2. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -204,6 +204,24 @@ export type DeletedNornRunInfo = {
204
204
  readonly name: string;
205
205
  readonly path: string;
206
206
  };
207
+ export type NornRunPruneOptions = {
208
+ readonly deleteRuns: boolean;
209
+ readonly all: boolean;
210
+ readonly olderThan: string | null;
211
+ readonly dryRun: boolean;
212
+ };
213
+ export type NornRunPruneResult = {
214
+ readonly mode: "checkpoints" | "runs";
215
+ readonly dryRun: boolean;
216
+ readonly olderThan: string | null;
217
+ readonly runs: readonly {
218
+ readonly id: string;
219
+ readonly name: string;
220
+ readonly path: string;
221
+ readonly status: "planned" | "pruned" | "skipped" | "failed";
222
+ readonly reason?: string;
223
+ }[];
224
+ };
207
225
  export type NornRunCheckpoint = {
208
226
  readonly id: string;
209
227
  readonly path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vimhead.dev/norn",
3
- "version": "0.1.0-tip.36679386408.1",
3
+ "version": "0.1.0-tip.36824462948.1",
4
4
  "description": "TypeScript SDK for building agent-driven and code-driven Norn workflows.",
5
5
  "type": "module",
6
6
  "license": "MIT",