@kitman-sh/cli 0.13.7 → 0.13.9

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-pxvd8w2v.js → chunk-0tjg9eya.js} +1 -1
  2. package/dist/{chunk-9g8tc40f.js → chunk-0wj65j5e.js} +7 -7
  3. package/dist/{chunk-4bgj3b5r.js → chunk-1ht6jwzm.js} +10 -9
  4. package/dist/{chunk-4crf5vhd.js → chunk-53qp6kcp.js} +2 -2
  5. package/dist/{chunk-xt97vb58.js → chunk-69fcvx7d.js} +109 -65
  6. package/dist/{chunk-bbks1scp.js → chunk-6jtjcvnc.js} +60 -46
  7. package/dist/{chunk-4x3zm541.js → chunk-9gg1w4aa.js} +353 -434
  8. package/dist/{chunk-m406nanz.js → chunk-a44ebqzx.js} +6 -6
  9. package/dist/{chunk-t82w7459.js → chunk-aezq3fyy.js} +69 -218
  10. package/dist/{chunk-24h0y27w.js → chunk-cw61zyh5.js} +1 -1
  11. package/dist/{chunk-kk32jckf.js → chunk-ezv4p0zr.js} +4 -4
  12. package/dist/{chunk-mmd7mjv0.js → chunk-fh58za51.js} +3 -3
  13. package/dist/{chunk-m079pjdy.js → chunk-hezxa6q5.js} +7 -7
  14. package/dist/{chunk-vxfajzpz.js → chunk-kq88aaa3.js} +62 -16
  15. package/dist/{chunk-x44re8th.js → chunk-ksgt1tdc.js} +7 -7
  16. package/dist/{chunk-t37qzgmb.js → chunk-pj3mer60.js} +4 -4
  17. package/dist/{chunk-zgraq2y3.js → chunk-qjqa338f.js} +308 -111
  18. package/dist/{chunk-1nxcn08k.js → chunk-qkjfx2ts.js} +16 -16
  19. package/dist/{chunk-byg71zra.js → chunk-rz18qefg.js} +7 -7
  20. package/dist/{chunk-bs5bh8ys.js → chunk-s63fjc69.js} +20 -20
  21. package/dist/{chunk-mtdz4k32.js → chunk-tspf987k.js} +5 -5
  22. package/dist/{chunk-8v0t5kzg.js → chunk-v190zzc5.js} +1 -1
  23. package/dist/{chunk-22z1yemd.js → chunk-wzr1n3zy.js} +11 -5
  24. package/dist/{chunk-jbjz7b6n.js → chunk-x8sewxzm.js} +106 -106
  25. package/dist/{chunk-ggmwpwhf.js → chunk-z5f7g1w1.js} +2 -2
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-zgraq2y3.js";
21
+ } from "./chunk-qjqa338f.js";
22
22
 
23
23
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
24
  var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
@@ -4,7 +4,7 @@ import {
4
4
  Path,
5
5
  optionalEnv,
6
6
  tempDirectoryScoped
7
- } from "./chunk-t82w7459.js";
7
+ } from "./chunk-aezq3fyy.js";
8
8
  import {
9
9
  Reference,
10
10
  TaggedError,
@@ -17,7 +17,7 @@ import {
17
17
  fail7,
18
18
  flatMap3,
19
19
  exit,
20
- map8,
20
+ map7,
21
21
  as,
22
22
  catch_,
23
23
  catchReason,
@@ -31,15 +31,15 @@ import {
31
31
  isString2,
32
32
  encodePrettyJsonString,
33
33
  decodeJsonStringSync
34
- } from "./chunk-zgraq2y3.js";
34
+ } from "./chunk-qjqa338f.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-4x3zm541.js";
39
+ } from "./chunk-9gg1w4aa.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-m079pjdy.js";
42
+ } from "./chunk-hezxa6q5.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -123,7 +123,7 @@ function manifestSkillPaths(manifest) {
123
123
  return isString2(item.skillPath) ? [item.skillPath] : [];
124
124
  }));
125
125
  }
126
- var readManifestSkillPaths2 = (manifestPath) => map8(readExistingText(manifestPath), (text) => manifestSkillPaths(parseJsonObject(text)));
126
+ var readManifestSkillPaths2 = (manifestPath) => map7(readExistingText(manifestPath), (text) => manifestSkillPaths(parseJsonObject(text)));
127
127
  var managedManifestPathForConfig = (paths, file) => gen(function* () {
128
128
  const fs = yield* FileSystem;
129
129
  const manifestRoot = managedManifestRootPath(paths, file);
@@ -944,7 +944,7 @@ var resolveGitSource = (subject, source, input) => gen(function* () {
944
944
  const resolver = yield* SourceResolver;
945
945
  const latest = input.versions === "latest";
946
946
  const ref = latest ? undefined : source.ref;
947
- const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map8((commit) => ({ commit })), catch_((error) => succeed6({
947
+ const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map7((commit) => ({ commit })), catch_((error) => succeed6({
948
948
  problem: `Kitman could not resolve ${subject} from ${source.url}${ref === undefined ? "" : ` at ${ref}`}: ${error.message}`
949
949
  })));
950
950
  if (input.requireReviewedSources !== true)
@@ -13,6 +13,7 @@ import {
13
13
  isSuccess2,
14
14
  addFinalizerExit,
15
15
  effectDiscard,
16
+ currentTimeMillis,
16
17
  forEach,
17
18
  promise,
18
19
  tryPromise,
@@ -24,7 +25,7 @@ import {
24
25
  flatMap3,
25
26
  andThen2,
26
27
  tap2,
27
- map8,
28
+ map7,
28
29
  orDie,
29
30
  context,
30
31
  contextWith,
@@ -75,16 +76,15 @@ import {
75
76
  toEquivalence,
76
77
  toCodecJson,
77
78
  Json
78
- } from "./chunk-zgraq2y3.js";
79
+ } from "./chunk-qjqa338f.js";
79
80
  import {
80
81
  runForEach,
81
82
  FileSystem
82
- } from "./chunk-t82w7459.js";
83
+ } from "./chunk-aezq3fyy.js";
83
84
  import {
84
85
  guard
85
- } from "./chunk-pxvd8w2v.js";
86
+ } from "./chunk-0tjg9eya.js";
86
87
  import {
87
- currentTimeMillis,
88
88
  WebCrypto,
89
89
  SafeJson,
90
90
  AgentSandboxNetwork,
@@ -109,7 +109,7 @@ import {
109
109
  KitDigest,
110
110
  KitSetup,
111
111
  RunnerRpcError
112
- } from "./chunk-4x3zm541.js";
112
+ } from "./chunk-9gg1w4aa.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");
@@ -350,7 +350,7 @@ class ManifestInvalid extends TaggedError2()("ManifestInvalid", {
350
350
  var JsonObjectSchema = Record(String4, Json);
351
351
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workflow/internal/crypto.js
352
352
  var encoder = /* @__PURE__ */ new TextEncoder;
353
- var makeHashDigest = (original) => WebCrypto.use((crypto) => map8(webCryptoDigest(crypto, sha256, encoder.encode(original)), (bytes) => encode(bytes).slice(0, 32)));
353
+ var makeHashDigest = (original) => WebCrypto.use((crypto) => map7(webCryptoDigest(crypto, sha256, encoder.encode(original)), (bytes) => encode(bytes).slice(0, 32)));
354
354
 
355
355
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workflow/Workflow.js
356
356
  var TypeId = "~effect/workflow/Workflow";
@@ -608,7 +608,8 @@ var ticketsProblem = (tickets) => {
608
608
  const { blocked } = wavesOf(tickets);
609
609
  return blocked.length === 0 ? undefined : cycleMessage(blocked);
610
610
  };
611
- var PlanTickets = ArraySchema(PlanTicket).check(makeFilter((tickets) => ticketsProblem(tickets) ?? true));
611
+ var planTicketsOf = (ticket) => ArraySchema(ticket).check(makeFilter((tickets) => ticketsProblem(tickets) ?? true));
612
+ var PlanTickets = planTicketsOf(PlanTicket);
612
613
 
613
614
  class BlockingCycle extends TaggedError2()("BlockingCycle", {
614
615
  tickets: ArraySchema(String4)
@@ -1123,7 +1124,7 @@ var programLease = (work) => ({
1123
1124
  });
1124
1125
  var rpcRunFiles = (rpc, lease) => ({
1125
1126
  createRunFile: (file) => rpc.createRunFile({ lease, ...file }),
1126
- runFileParts: (request) => map8(rpc.runFileParts({ lease, ...request, partNumbers: [...request.partNumbers] }), ({ parts }) => parts),
1127
+ runFileParts: (request) => map7(rpc.runFileParts({ lease, ...request, partNumbers: [...request.partNumbers] }), ({ parts }) => parts),
1127
1128
  completeRunFile: ({ parts, ...request }) => rpc.completeRunFile({ lease, ...request, ...parts === undefined ? undefined : { parts: [...parts] } })
1128
1129
  });
1129
1130
 
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-t82w7459.js";
18
- import"./chunk-zgraq2y3.js";
17
+ } from "./chunk-aezq3fyy.js";
18
+ import"./chunk-qjqa338f.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,