@kitman-sh/cli 0.14.9 → 0.15.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-cwdrhsvk.js → chunk-0ws25xvg.js} +2 -2
- package/dist/{chunk-mgjer6c7.js → chunk-39ykbhq8.js} +3 -3
- package/dist/{chunk-y9x0yv20.js → chunk-3n99j4z0.js} +456 -219
- package/dist/{chunk-vt8aqeby.js → chunk-3ns4sbfb.js} +1 -1
- package/dist/{chunk-h7qv6nzc.js → chunk-4x7a1qkj.js} +7 -7
- package/dist/{chunk-vjt0d9zj.js → chunk-4zc1g45m.js} +7 -7
- package/dist/{chunk-0x5r7h2g.js → chunk-58hehm8d.js} +1123 -105
- package/dist/{chunk-c80dvhxf.js → chunk-5hkdgzh4.js} +1 -6
- package/dist/{chunk-dd7wknyk.js → chunk-8393zths.js} +1500 -113
- package/dist/{chunk-qb9jft1r.js → chunk-8wpg3rph.js} +2 -2
- package/dist/{chunk-enmtmq63.js → chunk-b16qxawc.js} +1 -1
- package/dist/chunk-cf1hxp43.js +3080 -0
- package/dist/chunk-csxxwscf.js +39 -0
- package/dist/{chunk-ftre6ndb.js → chunk-djp6t2g6.js} +6 -6
- package/dist/{chunk-wttgq85b.js → chunk-dx792s4w.js} +1396 -41
- package/dist/{chunk-b2yy07ag.js → chunk-fv2zpgh0.js} +7 -7
- package/dist/{chunk-93xj74qp.js → chunk-fzaecdgv.js} +3 -3
- package/dist/{chunk-2r4jy82z.js → chunk-k2wd9r6t.js} +4 -4
- package/dist/chunk-mrkrt2hg.js +4345 -0
- package/dist/{chunk-6qygqj10.js → chunk-qkt77rtj.js} +6 -6
- package/dist/{chunk-cpss81fx.js → chunk-rt0qfdtg.js} +13 -5
- package/dist/{chunk-czmbgsqr.js → chunk-snwjv2sd.js} +656 -39
- package/dist/{chunk-bmwf2ea5.js → chunk-vg78dz3w.js} +85 -26
- package/dist/{chunk-jsb61dsk.js → chunk-vq7caqt2.js} +1814 -116
- package/dist/{chunk-axr8avvs.js → chunk-wfz64h9p.js} +4 -4
- package/dist/{chunk-e3c15bgw.js → chunk-xx711t5r.js} +4 -4
- package/dist/index.js +4 -4
- package/package.json +2 -1
- package/dist/chunk-3hdjd2c3.js +0 -1192
- package/dist/chunk-qvyqfm54.js +0 -526
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
fail7,
|
|
12
12
|
flatMap3,
|
|
13
13
|
exit,
|
|
14
|
-
|
|
14
|
+
map9,
|
|
15
15
|
as,
|
|
16
16
|
catch_,
|
|
17
17
|
catchReason,
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-dx792s4w.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-vg78dz3w.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-8393zths.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4x7a1qkj.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) =>
|
|
126
|
+
var readManifestSkillPaths2 = (manifestPath) => map9(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(
|
|
947
|
+
const resolved = (isCommitHash(ref) ? succeed6(ref) : resolver.gitCommit(source.url, ref)).pipe(map9((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)
|
|
@@ -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-0ws25xvg.js";
|
|
8
|
+
import"./chunk-5hkdgzh4.js";
|
|
9
|
+
import"./chunk-dx792s4w.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -19,10 +19,10 @@ import {
|
|
|
19
19
|
never,
|
|
20
20
|
flatMap3,
|
|
21
21
|
andThen2,
|
|
22
|
-
|
|
22
|
+
map9,
|
|
23
23
|
raceFirst,
|
|
24
24
|
scoped
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-dx792s4w.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-vg78dz3w.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;
|
|
@@ -102,7 +102,7 @@ var makeHandle = (params) => Object.setPrototypeOf({
|
|
|
102
102
|
...params
|
|
103
103
|
}, HandleProto);
|
|
104
104
|
var make2 = (spawn) => {
|
|
105
|
-
const streamString = (command, options) => spawn(command).pipe(
|
|
105
|
+
const streamString = (command, options) => spawn(command).pipe(map9((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({
|
|
108
108
|
spawn,
|