@kitman-sh/cli 0.6.0 → 0.7.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.
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed5,
5
5
  withFiber
6
- } from "./chunk-txyq8r41.js";
6
+ } from "./chunk-704ws2q7.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -15,20 +15,16 @@ import {
15
15
  toCodecJson,
16
16
  Json,
17
17
  guard,
18
- ProgramWorkUnit
19
- } from "./chunk-txyq8r41.js";
20
- import {
21
- LoopManifest
22
- } from "./chunk-hrvcz0m4.js";
18
+ ProgramWorkUnit,
19
+ LoopManifest,
20
+ RunnerRpcError
21
+ } from "./chunk-704ws2q7.js";
23
22
  import {
24
23
  ManifestInvalid,
25
24
  make,
26
25
  Suspended,
27
26
  LoopCheckError
28
- } from "./chunk-n32jhswz.js";
29
- import {
30
- RunnerRpcError
31
- } from "./chunk-xdk488qp.js";
27
+ } from "./chunk-ztmwmk8t.js";
32
28
 
33
29
  // packages/sdk/src/program/engine.ts
34
30
  class JournalWriteFailed extends TaggedError("JournalWriteFailed") {
@@ -69,7 +65,10 @@ class ProgramRefused extends TaggedError2()("ProgramRefused", { reason: String2
69
65
  return this.reason;
70
66
  }
71
67
  }
68
+ var programHostsEnv = "KITMAN_PROGRAM_HOSTS";
69
+ var undeclaredHostsEnv = "KITMAN_UNDECLARED_HOSTS";
70
+ var redirectStatuses = new Set([301, 302, 303, 307, 308]);
72
71
  var readStdin = tryPromise(() => Bun.stdin.text());
73
72
  var isWorkUnit = guard(ProgramWorkUnit);
74
73
 
75
- export { programLease, describeFlag, Described };
74
+ export { programLease, describeFlag, Described, programHostsEnv, undeclaredHostsEnv };