xovris 0.1.0 → 0.2.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.
@@ -1,7 +1,7 @@
1
1
  import { chmod, mkdir, open, readFile, rename, rm } from "node:fs/promises";
2
2
  import { homedir } from "node:os";
3
3
  import { dirname, join } from "node:path";
4
- import { mkdirSync, readFileSync, rmSync } from "node:fs";
4
+ import { closeSync, mkdirSync, openSync, readFileSync, renameSync, rmSync } from "node:fs";
5
5
  import * as p from "@clack/prompts";
6
6
 
7
7
  //#region src/version.ts
@@ -123,6 +123,13 @@ var Api = class {
123
123
  path
124
124
  });
125
125
  }
126
+ /** D01.02.02: a stop no named rule knows, its secrets already hidden - read by Xovris; a refusal is an answer, never a throw. */
127
+ readStop(runId, manager, output) {
128
+ return this.call("POST", `/install-runs/${encodeURIComponent(runId)}/stops`, {
129
+ manager,
130
+ output
131
+ });
132
+ }
126
133
  remove(connectionId) {
127
134
  return this.ok("POST", `/connections/${encodeURIComponent(connectionId)}/remove`);
128
135
  }