@kitman-sh/cli 0.10.64 → 0.10.65

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 (26) hide show
  1. package/dist/{chunk-zej59tf2.js → chunk-1rry0tsn.js} +60 -14
  2. package/dist/{chunk-fm4m4v6j.js → chunk-1v319b82.js} +115 -107
  3. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  4. package/dist/{chunk-rv4r0n7d.js → chunk-1zt2rcea.js} +4 -4
  5. package/dist/{chunk-ksx5nt4b.js → chunk-60333x3q.js} +5 -5
  6. package/dist/{chunk-s2d1a2my.js → chunk-7xtst67f.js} +7 -7
  7. package/dist/{chunk-m9v1z0gz.js → chunk-cc4cy79t.js} +21 -21
  8. package/dist/{chunk-x306t6v1.js → chunk-csbf77zs.js} +11 -11
  9. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  10. package/dist/{chunk-qdn9tnav.js → chunk-dk0ftqwg.js} +18 -26
  11. package/dist/{chunk-3z0p2wtr.js → chunk-gbsqf61e.js} +3 -3
  12. package/dist/{chunk-wjs5fpv0.js → chunk-hmwvsfgq.js} +5 -5
  13. package/dist/{chunk-dzxahdb7.js → chunk-k4vvmwvj.js} +73 -65
  14. package/dist/{chunk-smmgt31x.js → chunk-kebax0r8.js} +9 -9
  15. package/dist/{chunk-b9xcawfx.js → chunk-mvvp19kb.js} +36 -36
  16. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  17. package/dist/{chunk-t47h82ew.js → chunk-qp07hf3f.js} +11 -11
  18. package/dist/{chunk-byhwksbq.js → chunk-rm83dbpv.js} +2 -2
  19. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  20. package/dist/{chunk-a31qjdsm.js → chunk-rzxt9mb5.js} +7 -7
  21. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  22. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  23. package/dist/{chunk-fznm6es2.js → chunk-y1328g78.js} +7 -7
  24. package/dist/{chunk-tdp34kqg.js → chunk-ysw716r4.js} +19 -19
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -1,6 +1,13 @@
1
1
  // @bun
2
2
  import {
3
+ isString2,
4
+ hasProperty,
5
+ symbol,
6
+ hash,
7
+ symbol2,
8
+ equals,
3
9
  BaseProto,
10
+ PipeInspectableProto,
4
11
  Prototype,
5
12
  some,
6
13
  Service2,
@@ -14,11 +21,8 @@ import {
14
21
  andThen2,
15
22
  map8,
16
23
  raceFirst,
17
- scoped,
18
- isRedacted,
19
- make16,
20
- value
21
- } from "./chunk-677etczq.js";
24
+ scoped
25
+ } from "./chunk-d3ksv8y1.js";
22
26
  import {
23
27
  unwrap,
24
28
  drainFork,
@@ -27,7 +31,49 @@ import {
27
31
  runCollect,
28
32
  runDrain,
29
33
  mkString
30
- } from "./chunk-qdn9tnav.js";
34
+ } from "./chunk-dk0ftqwg.js";
35
+
36
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
38
+ var value2 = (self) => {
39
+ if (redactedRegistry.has(self)) {
40
+ return redactedRegistry.get(self);
41
+ } else {
42
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
43
+ }
44
+ };
45
+
46
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
47
+ var TypeId = "~effect/Redacted";
48
+ var isRedacted = (u) => hasProperty(u, TypeId);
49
+ var make = (value, options) => {
50
+ const self = Object.create(Proto);
51
+ if (options?.label) {
52
+ self.label = options.label;
53
+ }
54
+ redactedRegistry.set(self, value);
55
+ return self;
56
+ };
57
+ var Proto = {
58
+ [TypeId]: {
59
+ _A: (_) => _
60
+ },
61
+ label: undefined,
62
+ ...PipeInspectableProto,
63
+ toJSON() {
64
+ return this.toString();
65
+ },
66
+ toString() {
67
+ return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
68
+ },
69
+ [symbol]() {
70
+ return hash(redactedRegistry.get(this));
71
+ },
72
+ [symbol2](that) {
73
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
74
+ }
75
+ };
76
+ var value = value2;
31
77
 
32
78
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
33
79
  function nominal() {
@@ -55,7 +101,7 @@ var HandleProto = {
55
101
  var makeHandle = (params) => Object.setPrototypeOf({
56
102
  ...params
57
103
  }, HandleProto);
58
- var make = (spawn) => {
104
+ var make2 = (spawn) => {
59
105
  const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
60
106
  const streamLines = (command, options) => splitLines(streamString(command, options));
61
107
  return ChildProcessSpawner.of({
@@ -176,7 +222,7 @@ var parseTemplate = (texts, values) => {
176
222
  if (word.length === 0)
177
223
  return;
178
224
  const value = word.map(unwrap2).join("");
179
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
225
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
180
226
  word = [];
181
227
  plain = true;
182
228
  braceDepth = 0;
@@ -266,23 +312,23 @@ var parseTemplate = (texts, values) => {
266
312
  };
267
313
 
268
314
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
269
- var TypeId = "~effect/process/ChildProcess";
270
- var Proto = {
315
+ var TypeId2 = "~effect/process/ChildProcess";
316
+ var Proto2 = {
271
317
  .../* @__PURE__ */ Prototype({
272
318
  label: "Command",
273
319
  evaluate(fiber) {
274
320
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
275
321
  }
276
322
  }),
277
- [TypeId]: TypeId
323
+ [TypeId2]: TypeId2
278
324
  };
279
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
325
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
280
326
  _tag: "StandardCommand",
281
327
  command,
282
328
  args,
283
329
  options
284
330
  });
285
- var make2 = function make(...args) {
331
+ var make3 = function make(...args) {
286
332
  if (isTemplateString(args[0])) {
287
333
  const [templates, ...expressions] = args;
288
334
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -340,4 +386,4 @@ var shellScript = (templates, expressions) => {
340
386
  }
341
387
  return script;
342
388
  };
343
- export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
389
+ export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };