@kitman-sh/cli 0.10.52 → 0.10.54
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-x9dhxfts.js → chunk-148mjppg.js} +5 -5
- package/dist/{chunk-mej2bx5n.js → chunk-19aqk325.js} +4 -4
- package/dist/{chunk-jafetf7z.js → chunk-3d6abgjh.js} +2 -2
- package/dist/{chunk-pp1p3g6e.js → chunk-4kssrezn.js} +6 -1
- package/dist/{chunk-ctasxxz5.js → chunk-5j3cxsnp.js} +10 -10
- package/dist/{chunk-7thnf14y.js → chunk-5y5axze6.js} +609 -6
- package/dist/{chunk-mbctzx7e.js → chunk-61k67vxh.js} +76 -1389
- package/dist/{chunk-arvwar2c.js → chunk-7evwar6b.js} +1 -1
- package/dist/{chunk-dre9z977.js → chunk-c0wrcam4.js} +31 -32
- package/dist/{chunk-eg8f5ncv.js → chunk-dkpqwk0q.js} +7 -7
- package/dist/{chunk-r8p3nxcp.js → chunk-eerh2t20.js} +10 -10
- package/dist/chunk-g7vk5tjp.js +1109 -0
- package/dist/{chunk-vjmz23rs.js → chunk-gwcqz1bj.js} +1 -1
- package/dist/{chunk-wh1pa2aa.js → chunk-m32wb6t0.js} +245 -108
- package/dist/{chunk-3bj7sc3v.js → chunk-mmetyep8.js} +7 -7
- package/dist/{chunk-30397r95.js → chunk-mtgkvbk4.js} +4 -4
- package/dist/{chunk-jagzz148.js → chunk-my987gxf.js} +20 -24
- package/dist/{chunk-dzh9e6n2.js → chunk-q0yna8sw.js} +52 -35
- package/dist/{chunk-6vns3ej0.js → chunk-rjfxnk05.js} +5 -5
- package/dist/{chunk-g5bs3f6z.js → chunk-twp7aprz.js} +4 -6
- package/dist/{chunk-x0b92bjb.js → chunk-vtn088tq.js} +6 -6
- package/dist/{chunk-b6thzgc9.js → chunk-wczs5vrq.js} +2 -2
- package/dist/{chunk-11p4wf6n.js → chunk-xgwjcq4z.js} +3 -3
- package/dist/{chunk-fpmwm9bp.js → chunk-y48wz1sa.js} +157 -33
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-1mc9vgcr.js +0 -39
- package/dist/chunk-jfvq7s24.js +0 -145
- package/dist/chunk-txwt6r25.js +0 -1731
- package/dist/chunk-vyv0p5eq.js +0 -3183
- package/dist/chunk-z821b2gp.js +0 -164
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
map8,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-61k67vxh.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-xgwjcq4z.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;
|
|
@@ -46,7 +46,7 @@ var value2 = (self) => {
|
|
|
46
46
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
47
47
|
var TypeId = "~effect/Redacted";
|
|
48
48
|
var isRedacted = (u) => hasProperty(u, TypeId);
|
|
49
|
-
var
|
|
49
|
+
var make = (value, options) => {
|
|
50
50
|
const self = Object.create(Proto);
|
|
51
51
|
if (options?.label) {
|
|
52
52
|
self.label = options.label;
|
|
@@ -101,7 +101,7 @@ var HandleProto = {
|
|
|
101
101
|
var makeHandle = (params) => Object.setPrototypeOf({
|
|
102
102
|
...params
|
|
103
103
|
}, HandleProto);
|
|
104
|
-
var
|
|
104
|
+
var make2 = (spawn) => {
|
|
105
105
|
const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
|
|
106
106
|
const streamLines = (command, options) => splitLines(streamString(command, options));
|
|
107
107
|
return ChildProcessSpawner.of({
|
|
@@ -222,7 +222,7 @@ var parseTemplate = (texts, values) => {
|
|
|
222
222
|
if (word.length === 0)
|
|
223
223
|
return;
|
|
224
224
|
const value = word.map(unwrap2).join("");
|
|
225
|
-
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);
|
|
226
226
|
word = [];
|
|
227
227
|
plain = true;
|
|
228
228
|
braceDepth = 0;
|
|
@@ -328,7 +328,7 @@ var makeStandardCommand = (command, args, options) => Object.assign(Object.creat
|
|
|
328
328
|
args,
|
|
329
329
|
options
|
|
330
330
|
});
|
|
331
|
-
var
|
|
331
|
+
var make3 = function make(...args) {
|
|
332
332
|
if (isTemplateString(args[0])) {
|
|
333
333
|
const [templates, ...expressions] = args;
|
|
334
334
|
const [command, cmdArgs] = parseTemplate2(templates, expressions);
|
|
@@ -386,4 +386,4 @@ var shellScript = (templates, expressions) => {
|
|
|
386
386
|
}
|
|
387
387
|
return script;
|
|
388
388
|
};
|
|
389
|
-
export { isRedacted,
|
|
389
|
+
export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import"./chunk-mmetyep8.js";
|
|
2
3
|
import {
|
|
3
4
|
HERDR_CORE_GENERATION2,
|
|
4
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -11,10 +12,9 @@ import {
|
|
|
11
12
|
herdrCoreLayer2,
|
|
12
13
|
herdrCoreTransportLayer2,
|
|
13
14
|
updateHerdrCore2
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import"./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-mbctzx7e.js";
|
|
15
|
+
} from "./chunk-m32wb6t0.js";
|
|
16
|
+
import"./chunk-xgwjcq4z.js";
|
|
17
|
+
import"./chunk-61k67vxh.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -32,8 +32,17 @@ import {
|
|
|
32
32
|
toCodecJson,
|
|
33
33
|
Json,
|
|
34
34
|
encodePrettyJsonString
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import"./chunk-
|
|
35
|
+
} from "./chunk-61k67vxh.js";
|
|
36
|
+
import"./chunk-4kssrezn.js";
|
|
37
|
+
import"./chunk-7evwar6b.js";
|
|
38
|
+
import {
|
|
39
|
+
decodeText,
|
|
40
|
+
mkString,
|
|
41
|
+
FileSystem,
|
|
42
|
+
Path,
|
|
43
|
+
withDefault,
|
|
44
|
+
String2
|
|
45
|
+
} from "./chunk-xgwjcq4z.js";
|
|
37
46
|
import {
|
|
38
47
|
canonicalJson,
|
|
39
48
|
digestSha256,
|
|
@@ -43,36 +52,23 @@ import {
|
|
|
43
52
|
layer2,
|
|
44
53
|
kitmanMcpServer,
|
|
45
54
|
RunnerRpcProtocolVersion
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
decodeText,
|
|
49
|
-
mkString,
|
|
50
|
-
FileSystem,
|
|
51
|
-
Path,
|
|
52
|
-
withDefault,
|
|
53
|
-
String2
|
|
54
|
-
} from "./chunk-11p4wf6n.js";
|
|
55
|
+
} from "./chunk-m32wb6t0.js";
|
|
55
56
|
import {
|
|
56
57
|
Packument,
|
|
57
58
|
tarballMatches
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import"./chunk-
|
|
60
|
-
import"./chunk-ctasxxz5.js";
|
|
59
|
+
} from "./chunk-twp7aprz.js";
|
|
60
|
+
import"./chunk-5j3cxsnp.js";
|
|
61
61
|
import {
|
|
62
62
|
AgentDeclaration,
|
|
63
|
-
KitDeclarations
|
|
64
|
-
} from "./chunk-txwt6r25.js";
|
|
65
|
-
import {
|
|
63
|
+
KitDeclarations,
|
|
66
64
|
describeFlag,
|
|
67
65
|
Described
|
|
68
|
-
} from "./chunk-
|
|
69
|
-
import"./chunk-x9dhxfts.js";
|
|
66
|
+
} from "./chunk-g7vk5tjp.js";
|
|
70
67
|
import {
|
|
71
68
|
ChildProcessSpawner,
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
74
|
-
import"./chunk-
|
|
75
|
-
import"./chunk-z821b2gp.js";
|
|
69
|
+
make3
|
|
70
|
+
} from "./chunk-mmetyep8.js";
|
|
71
|
+
import"./chunk-148mjppg.js";
|
|
76
72
|
|
|
77
73
|
// packages/sdk/src/build/index.ts
|
|
78
74
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -111,7 +107,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
111
107
|
}));
|
|
112
108
|
var run = (command, args, cwd) => gen(function* () {
|
|
113
109
|
const spawner = yield* ChildProcessSpawner;
|
|
114
|
-
const handle = yield* spawner.spawn(
|
|
110
|
+
const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
|
|
115
111
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
116
112
|
mkString(decodeText(handle.stdout)),
|
|
117
113
|
mkString(decodeText(handle.stderr)),
|