@kitman-sh/cli 0.50.1 → 0.52.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-8r9k7pqk.js → chunk-2nq80r46.js} +59 -19
- package/dist/{chunk-k5cqc0cs.js → chunk-2t1hcdeq.js} +19 -21
- package/dist/{chunk-apv9h5tz.js → chunk-5yygjn0k.js} +1 -1
- package/dist/{chunk-g3c1vesf.js → chunk-84qb67e2.js} +1 -1
- package/dist/{chunk-rr0rem5d.js → chunk-9hde8p6b.js} +6 -6
- package/dist/{chunk-mtrhqr16.js → chunk-a40yta1r.js} +3 -3
- package/dist/{chunk-h3wes7wf.js → chunk-axfp5tzk.js} +7 -7
- package/dist/{chunk-qfwhsqej.js → chunk-bhz25x76.js} +3 -3
- package/dist/{chunk-hyaq30ne.js → chunk-bj0zchck.js} +179 -188
- package/dist/{chunk-watq46xe.js → chunk-chbdcf34.js} +9 -11
- package/dist/{chunk-7y1w0dhd.js → chunk-eqh0h088.js} +25 -27
- package/dist/{chunk-ecweehc6.js → chunk-h5ydhdhx.js} +23 -23
- package/dist/{chunk-q8m2ygyt.js → chunk-kt26vpwf.js} +9 -9
- package/dist/{chunk-brbym443.js → chunk-mmt6xq48.js} +2 -2
- package/dist/{chunk-v96hm634.js → chunk-my9db578.js} +4 -4
- package/dist/{chunk-72ht3484.js → chunk-pppryg54.js} +6 -6
- package/dist/{chunk-ag79vvjy.js → chunk-q2z8rct0.js} +4 -4
- package/dist/{chunk-s6z4sdkw.js → chunk-qjfzcrv5.js} +4 -4
- package/dist/{chunk-s8ws5fqj.js → chunk-qsbq9gvr.js} +350 -185
- package/dist/{chunk-n00cpb86.js → chunk-tfznw549.js} +2 -2
- package/dist/{chunk-k1fdsn2c.js → chunk-tqspx38s.js} +1 -1
- package/dist/{chunk-9jz94mb7.js → chunk-trtgab3h.js} +3 -3
- package/dist/{chunk-9vdy85kg.js → chunk-wb04fv2s.js} +34 -34
- package/dist/{chunk-5tgpa02q.js → chunk-wxg9k10v.js} +1 -1
- package/dist/{chunk-bk28dr40.js → chunk-xbqd3kqc.js} +14 -14
- package/dist/{chunk-n381rqax.js → chunk-zb4t1yrt.js} +71 -257
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
isString,
|
|
4
|
+
hasProperty,
|
|
5
|
+
symbol,
|
|
6
|
+
hash,
|
|
7
|
+
symbol2,
|
|
8
|
+
equals,
|
|
3
9
|
BaseProto,
|
|
10
|
+
PipeInspectableProto,
|
|
4
11
|
Prototype,
|
|
5
12
|
some,
|
|
6
13
|
Service2,
|
|
@@ -9,18 +16,13 @@ import {
|
|
|
9
16
|
fail3,
|
|
10
17
|
getOrThrow,
|
|
11
18
|
TaggedError,
|
|
12
|
-
ClockRef,
|
|
13
|
-
currentTimeMillis2,
|
|
14
19
|
never,
|
|
15
20
|
flatMap3,
|
|
16
21
|
andThen2,
|
|
17
22
|
map9,
|
|
18
23
|
raceFirst,
|
|
19
|
-
scoped
|
|
20
|
-
|
|
21
|
-
make16,
|
|
22
|
-
value
|
|
23
|
-
} from "./chunk-n381rqax.js";
|
|
24
|
+
scoped
|
|
25
|
+
} from "./chunk-zb4t1yrt.js";
|
|
24
26
|
import {
|
|
25
27
|
unwrap,
|
|
26
28
|
drainFork,
|
|
@@ -29,11 +31,49 @@ import {
|
|
|
29
31
|
runCollect,
|
|
30
32
|
runDrain,
|
|
31
33
|
mkString
|
|
32
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-bj0zchck.js";
|
|
33
35
|
|
|
34
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/
|
|
35
|
-
var
|
|
36
|
-
var
|
|
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;
|
|
37
77
|
|
|
38
78
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
|
|
39
79
|
function nominal() {
|
|
@@ -61,7 +101,7 @@ var HandleProto = {
|
|
|
61
101
|
var makeHandle = (params) => Object.setPrototypeOf({
|
|
62
102
|
...params
|
|
63
103
|
}, HandleProto);
|
|
64
|
-
var
|
|
104
|
+
var make2 = (spawn) => {
|
|
65
105
|
const streamString = (command, options) => spawn(command).pipe(map9((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
|
|
66
106
|
const streamLines = (command, options) => splitLines(streamString(command, options));
|
|
67
107
|
return ChildProcessSpawner.of({
|
|
@@ -182,7 +222,7 @@ var parseTemplate = (texts, values) => {
|
|
|
182
222
|
if (word.length === 0)
|
|
183
223
|
return;
|
|
184
224
|
const value = word.map(unwrap2).join("");
|
|
185
|
-
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ?
|
|
225
|
+
words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
|
|
186
226
|
word = [];
|
|
187
227
|
plain = true;
|
|
188
228
|
braceDepth = 0;
|
|
@@ -272,23 +312,23 @@ var parseTemplate = (texts, values) => {
|
|
|
272
312
|
};
|
|
273
313
|
|
|
274
314
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
|
|
275
|
-
var
|
|
276
|
-
var
|
|
315
|
+
var TypeId2 = "~effect/process/ChildProcess";
|
|
316
|
+
var Proto2 = {
|
|
277
317
|
.../* @__PURE__ */ Prototype({
|
|
278
318
|
label: "Command",
|
|
279
319
|
evaluate(fiber) {
|
|
280
320
|
return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
|
|
281
321
|
}
|
|
282
322
|
}),
|
|
283
|
-
[
|
|
323
|
+
[TypeId2]: TypeId2
|
|
284
324
|
};
|
|
285
|
-
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(
|
|
325
|
+
var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
|
|
286
326
|
_tag: "StandardCommand",
|
|
287
327
|
command,
|
|
288
328
|
args,
|
|
289
329
|
options
|
|
290
330
|
});
|
|
291
|
-
var
|
|
331
|
+
var make3 = function make(...args) {
|
|
292
332
|
if (isTemplateString(args[0])) {
|
|
293
333
|
const [templates, ...expressions] = args;
|
|
294
334
|
const [command, cmdArgs] = parseTemplate2(templates, expressions);
|
|
@@ -346,4 +386,4 @@ var shellScript = (templates, expressions) => {
|
|
|
346
386
|
}
|
|
347
387
|
return script;
|
|
348
388
|
};
|
|
349
|
-
export {
|
|
389
|
+
export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get3,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,19 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
100
|
-
import {
|
|
101
|
-
interrupt,
|
|
102
|
-
getCurrent,
|
|
103
|
-
makeUnsafe2,
|
|
104
|
-
bounded,
|
|
105
|
-
offerAll,
|
|
106
|
-
failCause,
|
|
107
|
-
end,
|
|
108
|
-
shutdownUnsafe,
|
|
109
|
-
fromQueue,
|
|
110
|
-
unwrap
|
|
111
|
-
} from "./chunk-hyaq30ne.js";
|
|
99
|
+
} from "./chunk-zb4t1yrt.js";
|
|
112
100
|
import {
|
|
113
101
|
empty,
|
|
114
102
|
fromInput,
|
|
@@ -122,10 +110,20 @@ import {
|
|
|
122
110
|
ParseOptions,
|
|
123
111
|
RpcClientDefect,
|
|
124
112
|
RpcClientError
|
|
125
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-qsbq9gvr.js";
|
|
126
114
|
import {
|
|
127
|
-
Clock
|
|
128
|
-
|
|
115
|
+
Clock,
|
|
116
|
+
interrupt,
|
|
117
|
+
getCurrent,
|
|
118
|
+
makeUnsafe2,
|
|
119
|
+
bounded,
|
|
120
|
+
offerAll,
|
|
121
|
+
failCause,
|
|
122
|
+
end,
|
|
123
|
+
shutdownUnsafe,
|
|
124
|
+
fromQueue,
|
|
125
|
+
unwrap
|
|
126
|
+
} from "./chunk-bj0zchck.js";
|
|
129
127
|
|
|
130
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
131
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -239,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
239
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
240
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
241
239
|
const services = yield* context();
|
|
242
|
-
const scope =
|
|
240
|
+
const scope = get3(services, Scope);
|
|
243
241
|
const entries = new Map;
|
|
244
242
|
let isShutdown = false;
|
|
245
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -485,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
485
483
|
};
|
|
486
484
|
});
|
|
487
485
|
var clientIdCounter = 0;
|
|
488
|
-
var
|
|
486
|
+
var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
489
487
|
const clientId = clientIdCounter++;
|
|
490
488
|
const {
|
|
491
489
|
codecFor,
|
|
@@ -645,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
645
643
|
return entry;
|
|
646
644
|
}
|
|
647
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
648
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get3(rpc.annotations, ParseOptions);
|
|
649
647
|
const exitSchema2 = exitSchema(rpc);
|
|
650
648
|
let decodeDiscardExit;
|
|
651
649
|
entry = {
|
|
@@ -831,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
831
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
832
830
|
}
|
|
833
831
|
|
|
834
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-kt26vpwf.js";
|
|
8
|
+
import"./chunk-2t1hcdeq.js";
|
|
9
|
+
import"./chunk-qsbq9gvr.js";
|
|
10
|
+
import"./chunk-wxg9k10v.js";
|
|
11
|
+
import"./chunk-bj0zchck.js";
|
|
12
|
+
import"./chunk-zb4t1yrt.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-zb4t1yrt.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-bj0zchck.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-qsbq9gvr.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-zb4t1yrt.js";
|
|
17
17
|
import {
|
|
18
18
|
FileSystem,
|
|
19
19
|
Path
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-bj0zchck.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-my9db578.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-qsbq9gvr.js";
|
|
35
|
+
import"./chunk-a40yta1r.js";
|
|
36
|
+
import"./chunk-2nq80r46.js";
|
|
37
|
+
import"./chunk-wxg9k10v.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-tfznw549.js";
|
|
8
|
+
import"./chunk-wxg9k10v.js";
|
|
9
|
+
import"./chunk-zb4t1yrt.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|