@kitman-sh/cli 0.10.69 → 0.10.71

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-tf5yxkpy.js → chunk-1rry0tsn.js} +60 -14
  2. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  3. package/dist/{chunk-gswz7ngm.js → chunk-4wqjxfbv.js} +5 -5
  4. package/dist/{chunk-qpg9t7he.js → chunk-5n121vsj.js} +7 -7
  5. package/dist/{chunk-0ahahh0f.js → chunk-60333x3q.js} +5 -5
  6. package/dist/{chunk-n0pm4rtm.js → chunk-9e452fhe.js} +197 -108
  7. package/dist/{chunk-q26gt71y.js → chunk-cmatdpfy.js} +5 -5
  8. package/dist/{chunk-zdctyf0w.js → chunk-csbf77zs.js} +8 -8
  9. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  10. package/dist/{chunk-qdyqc4nz.js → chunk-dk0ftqwg.js} +17 -17
  11. package/dist/{chunk-kqcrxea1.js → chunk-g4xsa9ks.js} +35 -24
  12. package/dist/{chunk-9m14d9d8.js → chunk-gxnpdpjz.js} +7 -7
  13. package/dist/{chunk-drsawp1s.js → chunk-h89p59p6.js} +8 -8
  14. package/dist/{chunk-k7mn104k.js → chunk-hr9vd6dj.js} +3 -3
  15. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  16. package/dist/{chunk-0271bhj2.js → chunk-rm83dbpv.js} +2 -2
  17. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  18. package/dist/{chunk-t0rnf6ch.js → chunk-tkmp48ha.js} +4 -4
  19. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  20. package/dist/{chunk-j4pmjnyd.js → chunk-vs10kwdr.js} +12 -12
  21. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  22. package/dist/{chunk-q9n4jkcp.js → chunk-x1zqfxve.js} +11 -6
  23. package/dist/{chunk-jjeawksh.js → chunk-y7p921rs.js} +31 -22
  24. package/dist/{chunk-20qadzgw.js → chunk-zwec6t49.js} +25 -25
  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-qdyqc4nz.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 };
@@ -11,11 +11,11 @@ import {
11
11
  ArraySchema,
12
12
  decodeJsonStringOption,
13
13
  encodeUnknownJsonStringSync
14
- } from "./chunk-677etczq.js";
14
+ } from "./chunk-d3ksv8y1.js";
15
15
  import {
16
16
  replaceSecretReferences,
17
17
  secretReferencesIn
18
- } from "./chunk-wnwyp9qn.js";
18
+ } from "./chunk-rrnee9mk.js";
19
19
 
20
20
  // packages/agent-runtime/src/secret-proxy.ts
21
21
  import { appendFileSync, readFileSync, renameSync, writeFileSync } from "fs";
@@ -23,24 +23,24 @@ import {
23
23
  fnUntraced,
24
24
  encodePrettyJsonString,
25
25
  decodeJsonStringSync
26
- } from "./chunk-677etczq.js";
26
+ } from "./chunk-d3ksv8y1.js";
27
27
  import {
28
28
  isJsonObject,
29
29
  isString
30
- } from "./chunk-h6360r1c.js";
30
+ } from "./chunk-v01c0k6j.js";
31
31
  import {
32
32
  FileSystem,
33
33
  Path,
34
34
  optionalEnv
35
- } from "./chunk-qdyqc4nz.js";
35
+ } from "./chunk-dk0ftqwg.js";
36
36
  import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-n0pm4rtm.js";
40
+ } from "./chunk-9e452fhe.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-k7mn104k.js";
43
+ } from "./chunk-hr9vd6dj.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-677etczq.js";
9
+ } from "./chunk-d3ksv8y1.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-qdyqc4nz.js";
12
+ } from "./chunk-dk0ftqwg.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-n0pm4rtm.js";
22
+ } from "./chunk-9e452fhe.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-q26gt71y.js";
28
+ } from "./chunk-cmatdpfy.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* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make4(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* make3(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -7,11 +7,11 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-zdctyf0w.js";
11
- import"./chunk-tf5yxkpy.js";
12
- import"./chunk-h6360r1c.js";
13
- import"./chunk-qdyqc4nz.js";
14
- import"./chunk-677etczq.js";
10
+ } from "./chunk-csbf77zs.js";
11
+ import"./chunk-1rry0tsn.js";
12
+ import"./chunk-v01c0k6j.js";
13
+ import"./chunk-dk0ftqwg.js";
14
+ import"./chunk-d3ksv8y1.js";
15
15
  export {
16
16
  decoded2 as decoded,
17
17
  decodedOption2 as decodedOption,