@kitman-sh/cli 0.12.0-rc.7 → 0.12.0
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.
- package/dist/{chunk-gspfm7qh.js → chunk-0h49y8gf.js} +1 -1
- package/dist/{chunk-pd2vz4bm.js → chunk-0wdm7br1.js} +13 -15
- package/dist/{chunk-xcf887a4.js → chunk-4k5jfyqd.js} +39 -41
- package/dist/{chunk-znar1th3.js → chunk-4x06mdcd.js} +4 -4
- package/dist/{chunk-0346hwh6.js → chunk-5zhh41gb.js} +4 -5
- package/dist/{chunk-ewhzaqp3.js → chunk-5zth85pj.js} +2 -2
- package/dist/{chunk-j5t5nye5.js → chunk-cb78rzqd.js} +4 -4
- package/dist/{chunk-56knbdt6.js → chunk-cbpb2rww.js} +19 -21
- package/dist/{chunk-nzjb36ad.js → chunk-gq7y5v3e.js} +1 -1
- package/dist/{chunk-z450wa10.js → chunk-gy9rf14f.js} +3 -4
- package/dist/{chunk-xe8qf2xy.js → chunk-h3em3y8r.js} +111 -113
- package/dist/{chunk-bheg4ybe.js → chunk-mjdt8wbv.js} +18 -19
- package/dist/{chunk-xwya1er0.js → chunk-mtkstrh3.js} +4 -4
- package/dist/{chunk-qrm334c6.js → chunk-pf13sv65.js} +4 -4
- package/dist/{chunk-0qz10ek8.js → chunk-q5w3v4k1.js} +4 -4
- package/dist/{chunk-15geyg2d.js → chunk-qj6gjtdd.js} +87 -90
- package/dist/{chunk-wc2kba4z.js → chunk-s6z4aqag.js} +6 -7
- package/dist/{chunk-1t12wvv1.js → chunk-shv2xs9y.js} +92 -94
- package/dist/{chunk-r5sw3fe0.js → chunk-vw462m91.js} +10 -12
- package/dist/{chunk-8twjqszj.js → chunk-wh2ep6fc.js} +1 -1
- package/dist/{chunk-4w4spvb1.js → chunk-wyhg9cyk.js} +3 -3
- package/dist/{chunk-2e91ymwn.js → chunk-xaspqegt.js} +1 -1
- package/dist/{chunk-e4an66v2.js → chunk-xsdceanv.js} +5 -5
- package/dist/{chunk-5j848ckb.js → chunk-y1krmnbv.js} +2 -2
- package/dist/{chunk-vtfwjhzh.js → chunk-zw3gf6r5.js} +154 -24
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-c6rbt85q.js +0 -141
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
isString,
|
|
4
4
|
hasProperty,
|
|
5
5
|
isTagged,
|
|
6
6
|
Reference,
|
|
@@ -32,17 +32,8 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-c6rbt85q.js";
|
|
38
|
-
import {
|
|
39
|
-
decodeText,
|
|
40
|
-
mkString,
|
|
41
|
-
FileSystem,
|
|
42
|
-
Path,
|
|
43
|
-
withDefault,
|
|
44
|
-
String2
|
|
45
|
-
} from "./chunk-gspfm7qh.js";
|
|
35
|
+
} from "./chunk-zw3gf6r5.js";
|
|
36
|
+
import"./chunk-q5w3v4k1.js";
|
|
46
37
|
import {
|
|
47
38
|
SecureRandom,
|
|
48
39
|
layerWebCrypto,
|
|
@@ -54,23 +45,31 @@ import {
|
|
|
54
45
|
layer4,
|
|
55
46
|
kitmanMcpServer,
|
|
56
47
|
RunnerRpcProtocolVersion
|
|
57
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-shv2xs9y.js";
|
|
49
|
+
import {
|
|
50
|
+
decodeText,
|
|
51
|
+
mkString,
|
|
52
|
+
FileSystem,
|
|
53
|
+
Path,
|
|
54
|
+
withDefault,
|
|
55
|
+
String2
|
|
56
|
+
} from "./chunk-0h49y8gf.js";
|
|
58
57
|
import {
|
|
59
58
|
Packument,
|
|
60
59
|
tarballMatches
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-xsdceanv.js";
|
|
61
|
+
import"./chunk-cb78rzqd.js";
|
|
63
62
|
import {
|
|
64
63
|
AgentDeclaration,
|
|
65
64
|
KitDeclarations,
|
|
66
65
|
describeFlag,
|
|
67
66
|
Described
|
|
68
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-pf13sv65.js";
|
|
69
68
|
import {
|
|
70
69
|
ChildProcessSpawner,
|
|
71
70
|
make3
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import"./chunk-
|
|
71
|
+
} from "./chunk-mtkstrh3.js";
|
|
72
|
+
import"./chunk-wyhg9cyk.js";
|
|
74
73
|
|
|
75
74
|
// packages/sdk/src/build/index.ts
|
|
76
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -139,7 +138,7 @@ var inKit = (directory, file, what) => gen(function* () {
|
|
|
139
138
|
return resolved;
|
|
140
139
|
});
|
|
141
140
|
var readText = (directory, text, what) => gen(function* () {
|
|
142
|
-
if (
|
|
141
|
+
if (isString(text))
|
|
143
142
|
return text;
|
|
144
143
|
const fs = yield* FileSystem;
|
|
145
144
|
const file = yield* inKit(directory, text.file, what);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
isString,
|
|
4
4
|
hasProperty,
|
|
5
5
|
symbol,
|
|
6
6
|
hash,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-zw3gf6r5.js";
|
|
26
26
|
import {
|
|
27
27
|
unwrap,
|
|
28
28
|
drainFork,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
runCollect,
|
|
32
32
|
runDrain,
|
|
33
33
|
mkString
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-0h49y8gf.js";
|
|
35
35
|
|
|
36
36
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
37
37
|
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
@@ -64,7 +64,7 @@ var Proto = {
|
|
|
64
64
|
return this.toString();
|
|
65
65
|
},
|
|
66
66
|
toString() {
|
|
67
|
-
return `<redacted${
|
|
67
|
+
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
68
68
|
},
|
|
69
69
|
[symbol]() {
|
|
70
70
|
return hash(redactedRegistry.get(this));
|
|
@@ -75,10 +75,10 @@ import {
|
|
|
75
75
|
toEquivalence,
|
|
76
76
|
toCodecJson,
|
|
77
77
|
Json
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-zw3gf6r5.js";
|
|
79
79
|
import {
|
|
80
80
|
guard
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-q5w3v4k1.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-
|
|
108
|
+
} from "./chunk-shv2xs9y.js";
|
|
109
109
|
import {
|
|
110
110
|
runForEach,
|
|
111
111
|
FileSystem
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-0h49y8gf.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");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
isObject,
|
|
4
4
|
isSuccess2,
|
|
5
5
|
decodeUnknownExit,
|
|
6
6
|
optionalKey,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-zw3gf6r5.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"];
|
|
@@ -79,7 +79,7 @@ var guards = new WeakMap;
|
|
|
79
79
|
function hasUndefinedProperty(value) {
|
|
80
80
|
if (Array.isArray(value))
|
|
81
81
|
return value.some(hasUndefinedProperty);
|
|
82
|
-
if (!
|
|
82
|
+
if (!isObject(value))
|
|
83
83
|
return false;
|
|
84
84
|
return Object.values(value).some((entry) => entry === undefined || hasUndefinedProperty(entry));
|
|
85
85
|
}
|
|
@@ -87,7 +87,7 @@ function withoutUndefined(value) {
|
|
|
87
87
|
if (Array.isArray(value)) {
|
|
88
88
|
return value.map(withoutUndefined);
|
|
89
89
|
}
|
|
90
|
-
if (!
|
|
90
|
+
if (!isObject(value) || Object.getPrototypeOf(value) !== Object.prototype)
|
|
91
91
|
return value;
|
|
92
92
|
return Object.fromEntries(Object.entries(value).flatMap(([key, entry]) => entry === undefined ? [] : [[key, withoutUndefined(entry)]]));
|
|
93
93
|
}
|