@kitman-sh/cli 0.13.9 → 0.13.10

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 (27) hide show
  1. package/dist/{chunk-ksgt1tdc.js → chunk-0nh3w4vn.js} +7 -7
  2. package/dist/{chunk-cw61zyh5.js → chunk-24h0y27w.js} +1 -1
  3. package/dist/{chunk-0wj65j5e.js → chunk-2dwqak36.js} +7 -7
  4. package/dist/{chunk-53qp6kcp.js → chunk-4crf5vhd.js} +2 -2
  5. package/dist/{chunk-wzr1n3zy.js → chunk-6n3m0t02.js} +25 -5
  6. package/dist/{chunk-hezxa6q5.js → chunk-6x4wkf0x.js} +7 -7
  7. package/dist/{chunk-s63fjc69.js → chunk-813vn8sn.js} +20 -20
  8. package/dist/{chunk-rz18qefg.js → chunk-bkecckjn.js} +7 -7
  9. package/dist/{chunk-6jtjcvnc.js → chunk-c60xk73g.js} +46 -46
  10. package/dist/{chunk-qkjfx2ts.js → chunk-d4pxty7x.js} +16 -16
  11. package/dist/{chunk-z5f7g1w1.js → chunk-ggmwpwhf.js} +2 -2
  12. package/dist/{chunk-1ht6jwzm.js → chunk-hkg8s472.js} +8 -8
  13. package/dist/{chunk-v190zzc5.js → chunk-j34gensq.js} +1 -1
  14. package/dist/{chunk-69fcvx7d.js → chunk-jkddgvev.js} +74 -54
  15. package/dist/{chunk-a44ebqzx.js → chunk-kj1zjrs9.js} +6 -6
  16. package/dist/{chunk-ezv4p0zr.js → chunk-kk32jckf.js} +4 -4
  17. package/dist/{chunk-fh58za51.js → chunk-mmd7mjv0.js} +3 -3
  18. package/dist/{chunk-tspf987k.js → chunk-mtdz4k32.js} +5 -5
  19. package/dist/{chunk-0tjg9eya.js → chunk-pxvd8w2v.js} +1 -1
  20. package/dist/{chunk-x8sewxzm.js → chunk-r5v7df8h.js} +106 -106
  21. package/dist/{chunk-9gg1w4aa.js → chunk-rz01craf.js} +434 -350
  22. package/dist/{chunk-pj3mer60.js → chunk-s00cj5sw.js} +4 -4
  23. package/dist/{chunk-aezq3fyy.js → chunk-t82w7459.js} +218 -69
  24. package/dist/{chunk-kq88aaa3.js → chunk-vxfajzpz.js} +16 -62
  25. package/dist/{chunk-qjqa338f.js → chunk-zgraq2y3.js} +111 -308
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -1,13 +1,6 @@
1
1
  // @bun
2
2
  import {
3
- isString,
4
- hasProperty,
5
- symbol,
6
- hash,
7
- symbol2,
8
- equals,
9
3
  BaseProto,
10
- PipeInspectableProto,
11
4
  Prototype,
12
5
  some,
13
6
  Service2,
@@ -19,10 +12,13 @@ import {
19
12
  never,
20
13
  flatMap3,
21
14
  andThen2,
22
- map7,
15
+ map8,
23
16
  raceFirst,
24
- scoped
25
- } from "./chunk-qjqa338f.js";
17
+ scoped,
18
+ isRedacted,
19
+ make16,
20
+ value
21
+ } from "./chunk-zgraq2y3.js";
26
22
  import {
27
23
  unwrap,
28
24
  drainFork,
@@ -31,49 +27,7 @@ import {
31
27
  runCollect,
32
28
  runDrain,
33
29
  mkString
34
- } from "./chunk-aezq3fyy.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${isString(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;
30
+ } from "./chunk-t82w7459.js";
77
31
 
78
32
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
79
33
  function nominal() {
@@ -101,8 +55,8 @@ var HandleProto = {
101
55
  var makeHandle = (params) => Object.setPrototypeOf({
102
56
  ...params
103
57
  }, HandleProto);
104
- var make2 = (spawn) => {
105
- const streamString = (command, options) => spawn(command).pipe(map7((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
58
+ var make = (spawn) => {
59
+ const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
106
60
  const streamLines = (command, options) => splitLines(streamString(command, options));
107
61
  return ChildProcessSpawner.of({
108
62
  spawn,
@@ -222,7 +176,7 @@ var parseTemplate = (texts, values) => {
222
176
  if (word.length === 0)
223
177
  return;
224
178
  const value = word.map(unwrap2).join("");
225
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
179
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
226
180
  word = [];
227
181
  plain = true;
228
182
  braceDepth = 0;
@@ -312,23 +266,23 @@ var parseTemplate = (texts, values) => {
312
266
  };
313
267
 
314
268
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
315
- var TypeId2 = "~effect/process/ChildProcess";
316
- var Proto2 = {
269
+ var TypeId = "~effect/process/ChildProcess";
270
+ var Proto = {
317
271
  .../* @__PURE__ */ Prototype({
318
272
  label: "Command",
319
273
  evaluate(fiber) {
320
274
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
321
275
  }
322
276
  }),
323
- [TypeId2]: TypeId2
277
+ [TypeId]: TypeId
324
278
  };
325
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
279
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
326
280
  _tag: "StandardCommand",
327
281
  command,
328
282
  args,
329
283
  options
330
284
  });
331
- var make3 = function make(...args) {
285
+ var make2 = function make(...args) {
332
286
  if (isTemplateString(args[0])) {
333
287
  const [templates, ...expressions] = args;
334
288
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -386,4 +340,4 @@ var shellScript = (templates, expressions) => {
386
340
  }
387
341
  return script;
388
342
  };
389
- export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
343
+ export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };