@kitman-sh/cli 0.10.95 → 0.10.97

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-vjcn82g3.js → chunk-25q7mg6g.js} +17 -17
  2. package/dist/{chunk-t7ncjd6s.js → chunk-2ndnvcp3.js} +8 -8
  3. package/dist/{chunk-kw83etsy.js → chunk-3snbxcct.js} +21 -21
  4. package/dist/{chunk-c9wzakrx.js → chunk-3tjssyvf.js} +8 -8
  5. package/dist/{chunk-g3r5xp0t.js → chunk-9m9cv82t.js} +2 -2
  6. package/dist/{chunk-a244myqw.js → chunk-c3k32vw4.js} +1 -1
  7. package/dist/{chunk-ampzxrqe.js → chunk-dstm8aen.js} +70 -28
  8. package/dist/{chunk-dh3108wk.js → chunk-gfe4kk5k.js} +5 -5
  9. package/dist/{chunk-fv6kgtze.js → chunk-hsf2sj69.js} +2 -2
  10. package/dist/{chunk-s3qgchay.js → chunk-jtyxjjvs.js} +23 -23
  11. package/dist/{chunk-bk3dpjxq.js → chunk-k4fvnphp.js} +1 -1
  12. package/dist/{chunk-tpdcq44c.js → chunk-k6ndhjcd.js} +23 -23
  13. package/dist/{chunk-et6qa95h.js → chunk-mbqeakm1.js} +1 -1
  14. package/dist/{chunk-mcpesyz2.js → chunk-mkr1nwdy.js} +3 -3
  15. package/dist/{chunk-6aa8y66v.js → chunk-mrzmq4jq.js} +4 -4
  16. package/dist/{chunk-8tq7n7wc.js → chunk-mxqrv47k.js} +5 -5
  17. package/dist/{chunk-4psvc86s.js → chunk-nwqcmdtz.js} +4 -4
  18. package/dist/{chunk-q3nygncv.js → chunk-q4q69zgm.js} +7 -7
  19. package/dist/{chunk-15w92pn6.js → chunk-qr0n7rde.js} +12 -12
  20. package/dist/{chunk-rdv42ygn.js → chunk-rmsm8vnc.js} +4 -4
  21. package/dist/{chunk-qacvrg7j.js → chunk-t8ny8exc.js} +7 -7
  22. package/dist/{chunk-3r7ahnwy.js → chunk-w0sehmpd.js} +14 -60
  23. package/dist/{chunk-2kr43ps6.js → chunk-y8dzp1t8.js} +107 -107
  24. package/dist/{chunk-abf4m4b2.js → chunk-yzmyy4vs.js} +5 -5
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-3r7ahnwy.js";
2
+ import"./chunk-w0sehmpd.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-2kr43ps6.js";
16
- import"./chunk-vjcn82g3.js";
17
- import"./chunk-ampzxrqe.js";
15
+ } from "./chunk-y8dzp1t8.js";
16
+ import"./chunk-25q7mg6g.js";
17
+ import"./chunk-dstm8aen.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -96,7 +96,7 @@ import {
96
96
  Defect,
97
97
  Exit,
98
98
  toCodecJson
99
- } from "./chunk-ampzxrqe.js";
99
+ } from "./chunk-dstm8aen.js";
100
100
  import {
101
101
  interrupt,
102
102
  getCurrent,
@@ -108,7 +108,7 @@ import {
108
108
  shutdownUnsafe,
109
109
  fromQueue,
110
110
  unwrap
111
- } from "./chunk-vjcn82g3.js";
111
+ } from "./chunk-25q7mg6g.js";
112
112
  import {
113
113
  Clock,
114
114
  empty,
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-2kr43ps6.js";
126
+ } from "./chunk-y8dzp1t8.js";
127
127
 
128
128
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
129
129
  class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
483
483
  };
484
484
  });
485
485
  var clientIdCounter = 0;
486
- var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
486
+ var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
487
487
  const clientId = clientIdCounter++;
488
488
  const {
489
489
  codecFor,
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
829
829
  class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
830
830
  }
831
831
 
832
- export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
832
+ export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
@@ -75,10 +75,10 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-ampzxrqe.js";
78
+ } from "./chunk-dstm8aen.js";
79
79
  import {
80
80
  guard
81
- } from "./chunk-et6qa95h.js";
81
+ } from "./chunk-mbqeakm1.js";
82
82
  import {
83
83
  currentTimeMillis,
84
84
  WebCrypto,
@@ -105,11 +105,11 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-2kr43ps6.js";
108
+ } from "./chunk-y8dzp1t8.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
112
- } from "./chunk-vjcn82g3.js";
112
+ } from "./chunk-25q7mg6g.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-qacvrg7j.js";
8
- import"./chunk-8tq7n7wc.js";
9
- import"./chunk-2kr43ps6.js";
10
- import"./chunk-et6qa95h.js";
11
- import"./chunk-bk3dpjxq.js";
12
- import"./chunk-vjcn82g3.js";
13
- import"./chunk-ampzxrqe.js";
7
+ } from "./chunk-t8ny8exc.js";
8
+ import"./chunk-mxqrv47k.js";
9
+ import"./chunk-y8dzp1t8.js";
10
+ import"./chunk-mbqeakm1.js";
11
+ import"./chunk-k4fvnphp.js";
12
+ import"./chunk-25q7mg6g.js";
13
+ import"./chunk-dstm8aen.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -32,9 +32,9 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-ampzxrqe.js";
36
- import"./chunk-et6qa95h.js";
37
- import"./chunk-bk3dpjxq.js";
35
+ } from "./chunk-dstm8aen.js";
36
+ import"./chunk-mbqeakm1.js";
37
+ import"./chunk-k4fvnphp.js";
38
38
  import {
39
39
  SecureRandom,
40
40
  layerWebCrypto,
@@ -46,7 +46,7 @@ import {
46
46
  layer4,
47
47
  kitmanMcpServer,
48
48
  RunnerRpcProtocolVersion
49
- } from "./chunk-2kr43ps6.js";
49
+ } from "./chunk-y8dzp1t8.js";
50
50
  import {
51
51
  decodeText,
52
52
  mkString,
@@ -54,23 +54,23 @@ import {
54
54
  Path,
55
55
  withDefault,
56
56
  String2
57
- } from "./chunk-vjcn82g3.js";
57
+ } from "./chunk-25q7mg6g.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-mcpesyz2.js";
62
- import"./chunk-qacvrg7j.js";
61
+ } from "./chunk-mkr1nwdy.js";
62
+ import"./chunk-t8ny8exc.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-4psvc86s.js";
68
+ } from "./chunk-nwqcmdtz.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
- make3
72
- } from "./chunk-3r7ahnwy.js";
73
- import"./chunk-8tq7n7wc.js";
71
+ make2
72
+ } from "./chunk-w0sehmpd.js";
73
+ import"./chunk-mxqrv47k.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
109
109
  }));
110
110
  var run = (command, args, cwd) => gen(function* () {
111
111
  const spawner = yield* ChildProcessSpawner;
112
- const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
112
+ const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
113
113
  const [stdout, stderr, exitCode] = yield* all3([
114
114
  mkString(decodeText(handle.stdout)),
115
115
  mkString(decodeText(handle.stderr)),
@@ -4,10 +4,10 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-fv6kgtze.js";
8
- import"./chunk-et6qa95h.js";
9
- import"./chunk-bk3dpjxq.js";
10
- import"./chunk-ampzxrqe.js";
7
+ } from "./chunk-hsf2sj69.js";
8
+ import"./chunk-mbqeakm1.js";
9
+ import"./chunk-k4fvnphp.js";
10
+ import"./chunk-dstm8aen.js";
11
11
  export {
12
12
  isOpaqueConnectReason2 as isOpaqueConnectReason,
13
13
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-ampzxrqe.js";
9
+ } from "./chunk-dstm8aen.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-vjcn82g3.js";
12
+ } from "./chunk-25q7mg6g.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-2kr43ps6.js";
22
+ } from "./chunk-y8dzp1t8.js";
23
23
  import {
24
24
  layerJson,
25
- make4,
25
+ make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-8tq7n7wc.js";
28
+ } from "./chunk-mxqrv47k.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
46
46
  var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
47
47
  var makeRunnerRpcClient2 = (options) => gen(function* () {
48
48
  const protocol = yield* build(options.protocol);
49
- const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
50
50
  const authorized = authorizer(options);
51
51
  return {
52
52
  claim: (input) => authorized(client.Claim(input)),
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
74
74
  });
75
75
  var makeProgramRpcClient2 = (options) => gen(function* () {
76
76
  const protocol = yield* build(options.protocol);
77
- const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -1,13 +1,6 @@
1
1
  // @bun
2
2
  import {
3
- isString2,
4
- hasProperty,
5
- symbol,
6
- hash,
7
- symbol2,
8
- equals,
9
3
  BaseProto,
10
- PipeInspectableProto,
11
4
  Prototype,
12
5
  some,
13
6
  Service2,
@@ -21,8 +14,11 @@ import {
21
14
  andThen2,
22
15
  map8,
23
16
  raceFirst,
24
- scoped
25
- } from "./chunk-ampzxrqe.js";
17
+ scoped,
18
+ isRedacted,
19
+ make16,
20
+ value
21
+ } from "./chunk-dstm8aen.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-vjcn82g3.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;
30
+ } from "./chunk-25q7mg6g.js";
77
31
 
78
32
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
79
33
  function nominal() {
@@ -101,7 +55,7 @@ var HandleProto = {
101
55
  var makeHandle = (params) => Object.setPrototypeOf({
102
56
  ...params
103
57
  }, HandleProto);
104
- var make2 = (spawn) => {
58
+ var make = (spawn) => {
105
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({
@@ -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 };