@kitman-sh/cli 0.13.10 → 0.13.11
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-t82w7459.js → chunk-0h49y8gf.js} +17 -26
- package/dist/{chunk-kj1zjrs9.js → chunk-3rkhx6gq.js} +6 -6
- package/dist/{chunk-d4pxty7x.js → chunk-5an78wy8.js} +5 -5
- package/dist/{chunk-kk32jckf.js → chunk-5zhh41gb.js} +4 -4
- package/dist/{chunk-4crf5vhd.js → chunk-5zth85pj.js} +2 -2
- package/dist/{chunk-j34gensq.js → chunk-7rpd6a98.js} +1 -1
- package/dist/{chunk-jkddgvev.js → chunk-acneym1p.js} +30 -30
- package/dist/{chunk-mtdz4k32.js → chunk-cbpb2rww.js} +10 -10
- package/dist/{chunk-rz01craf.js → chunk-dtkejy3r.js} +118 -108
- package/dist/{chunk-bkecckjn.js → chunk-fcb6skhx.js} +10 -10
- package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
- package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
- package/dist/{chunk-0nh3w4vn.js → chunk-h7mnz0w3.js} +7 -7
- package/dist/{chunk-s00cj5sw.js → chunk-j48k8j8y.js} +4 -4
- package/dist/{chunk-813vn8sn.js → chunk-jyq4790r.js} +18 -18
- package/dist/{chunk-2dwqak36.js → chunk-krqb80g6.js} +9 -9
- package/dist/{chunk-vxfajzpz.js → chunk-mtkstrh3.js} +60 -14
- package/dist/{chunk-r5v7df8h.js → chunk-mx3zt8v8.js} +61 -61
- package/dist/{chunk-6n3m0t02.js → chunk-p0vqjc0n.js} +2 -2
- package/dist/{chunk-6x4wkf0x.js → chunk-p8fhxfa0.js} +3 -3
- package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
- package/dist/{chunk-c60xk73g.js → chunk-rh9g6sef.js} +21 -21
- package/dist/{chunk-hkg8s472.js → chunk-xzfj61cp.js} +7 -7
- package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
- package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
make10,
|
|
4
|
-
runForEach,
|
|
5
|
-
compiled2
|
|
6
|
-
} from "./chunk-t82w7459.js";
|
|
7
2
|
import {
|
|
8
3
|
getOrUndefined,
|
|
9
4
|
liftThrowable,
|
|
@@ -30,11 +25,16 @@ import {
|
|
|
30
25
|
isJsonObject,
|
|
31
26
|
isString2,
|
|
32
27
|
encodeUnknownJsonStringSync
|
|
33
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-zw3gf6r5.js";
|
|
29
|
+
import {
|
|
30
|
+
make11,
|
|
31
|
+
runForEach,
|
|
32
|
+
compiled2
|
|
33
|
+
} from "./chunk-0h49y8gf.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
make3
|
|
37
|
+
} from "./chunk-mtkstrh3.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/opencode-store.ts
|
|
40
40
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -167,8 +167,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
167
167
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
168
168
|
const spawner = yield* ChildProcessSpawner;
|
|
169
169
|
const [command, ...args] = opencodeReaderCommand();
|
|
170
|
-
const handle = yield* spawner.spawn(
|
|
171
|
-
stdin:
|
|
170
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
171
|
+
stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
172
172
|
stderr: "ignore",
|
|
173
173
|
extendEnv: false,
|
|
174
174
|
env: {},
|