@kitman-sh/cli 0.42.2 → 0.44.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-3gax0xq6.js → chunk-134jdvs6.js} +2 -2
- package/dist/{chunk-hfy8nmat.js → chunk-1c4wk9dr.js} +3 -3
- package/dist/{chunk-q6qn9c47.js → chunk-1k6z8q79.js} +135 -297
- package/dist/{chunk-sasjamqz.js → chunk-3mbp8cse.js} +205 -44
- package/dist/{chunk-1w517sym.js → chunk-3zy2vbp0.js} +10 -10
- package/dist/{chunk-17715h5w.js → chunk-5ccz7ghp.js} +69 -55
- package/dist/{chunk-1gr39h4v.js → chunk-7rj9d0rp.js} +21 -2
- package/dist/{chunk-wre79w3z.js → chunk-8a7337s1.js} +1 -1
- package/dist/{chunk-qndcafax.js → chunk-9h16pekj.js} +1 -1
- package/dist/{chunk-gqgbah9q.js → chunk-d0rx9esz.js} +6 -6
- package/dist/{chunk-t8y2y7ha.js → chunk-d2tpz1yp.js} +1 -1
- package/dist/{chunk-re7cr0kk.js → chunk-dj873p0e.js} +17 -17
- package/dist/{chunk-r5b36fgg.js → chunk-dp6v658s.js} +4 -4
- package/dist/{chunk-vjkgbsry.js → chunk-dre4f6s4.js} +9 -9
- package/dist/{chunk-33zd0yt4.js → chunk-gw0pc35c.js} +17 -17
- package/dist/{chunk-sbk4evb4.js → chunk-hmctc4eq.js} +3 -3
- package/dist/{chunk-hg9y4ykj.js → chunk-j60f2tr1.js} +4 -4
- package/dist/{chunk-tpmyf5mk.js → chunk-k2re3tp5.js} +1 -1
- package/dist/{chunk-drw8m50d.js → chunk-ncp13gyf.js} +2 -2
- package/dist/{chunk-rc4wvjf2.js → chunk-qkwkxn4d.js} +349 -102
- package/dist/{chunk-2bt9e1fj.js → chunk-wh3pjr9r.js} +11 -11
- package/dist/{chunk-c3ms91a6.js → chunk-wkg1v0kd.js} +20 -20
- package/dist/{chunk-mc0xxx2z.js → chunk-wvnsqt17.js} +6 -6
- package/dist/{chunk-b4td2pgc.js → chunk-x0ma41ys.js} +94 -84
- package/dist/{chunk-dhe1fwhw.js → chunk-zkvrxna8.js} +2 -2
- package/dist/{chunk-y6mjtq6n.js → chunk-zvmdyf3v.js} +53 -33
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
currentTimeMillis,
|
|
4
|
+
make11,
|
|
5
|
+
runForEach,
|
|
6
|
+
toPull,
|
|
7
|
+
FileSystem,
|
|
8
|
+
compiled2
|
|
9
|
+
} from "./chunk-3mbp8cse.js";
|
|
2
10
|
import {
|
|
3
11
|
isSome,
|
|
4
12
|
getOrElse,
|
|
@@ -35,19 +43,11 @@ import {
|
|
|
35
43
|
isJsonObject,
|
|
36
44
|
isString2,
|
|
37
45
|
encodeUnknownJsonStringSync
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import {
|
|
40
|
-
currentTimeMillis,
|
|
41
|
-
make10,
|
|
42
|
-
runForEach,
|
|
43
|
-
toPull,
|
|
44
|
-
FileSystem,
|
|
45
|
-
compiled2
|
|
46
|
-
} from "./chunk-sasjamqz.js";
|
|
46
|
+
} from "./chunk-x0ma41ys.js";
|
|
47
47
|
import {
|
|
48
48
|
ChildProcessSpawner,
|
|
49
49
|
make3
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-134jdvs6.js";
|
|
51
51
|
|
|
52
52
|
// packages/agent-runtime/src/opencode-store.ts
|
|
53
53
|
import { lstatSync, readFileSync, realpathSync, writeSync } from "fs";
|
|
@@ -266,7 +266,7 @@ var spawnReader = (request) => gen(function* () {
|
|
|
266
266
|
const spawner = yield* ChildProcessSpawner;
|
|
267
267
|
const [command, ...args] = opencodeReaderCommand();
|
|
268
268
|
return yield* spawner.spawn(make3(command, args, {
|
|
269
|
-
stdin:
|
|
269
|
+
stdin: make11(new TextEncoder().encode(request)),
|
|
270
270
|
stderr: "ignore",
|
|
271
271
|
extendEnv: false,
|
|
272
272
|
env: {},
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
isSome,
|
|
9
9
|
map4,
|
|
10
10
|
Service2,
|
|
11
|
-
|
|
11
|
+
empty4,
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,7 +96,20 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-x0ma41ys.js";
|
|
100
|
+
import {
|
|
101
|
+
Clock,
|
|
102
|
+
interrupt,
|
|
103
|
+
getCurrent,
|
|
104
|
+
makeUnsafe2,
|
|
105
|
+
bounded,
|
|
106
|
+
offerAll,
|
|
107
|
+
failCause,
|
|
108
|
+
end,
|
|
109
|
+
shutdownUnsafe,
|
|
110
|
+
fromQueue,
|
|
111
|
+
unwrap
|
|
112
|
+
} from "./chunk-3mbp8cse.js";
|
|
100
113
|
import {
|
|
101
114
|
empty,
|
|
102
115
|
fromInput,
|
|
@@ -110,20 +123,7 @@ import {
|
|
|
110
123
|
ParseOptions,
|
|
111
124
|
RpcClientDefect,
|
|
112
125
|
RpcClientError
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import {
|
|
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-sasjamqz.js";
|
|
126
|
+
} from "./chunk-1k6z8q79.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
237
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
238
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
239
239
|
const services = yield* context();
|
|
240
|
-
const scope =
|
|
240
|
+
const scope = get4(services, Scope);
|
|
241
241
|
const entries = new Map;
|
|
242
242
|
let isShutdown = false;
|
|
243
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -260,7 +260,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
260
260
|
const middleware = getRpcClientMiddleware(rpc);
|
|
261
261
|
return (payload, opts) => {
|
|
262
262
|
const headers = opts?.headers ? fromInput(opts.headers) : empty;
|
|
263
|
-
const context = opts?.context ??
|
|
263
|
+
const context = opts?.context ?? empty4();
|
|
264
264
|
if (!isStream) {
|
|
265
265
|
const onRequest = (span) => onEffectRequest(rpc, middleware, span, rpc.payloadSchema.make(payload), headers, context, opts?.discard ?? false);
|
|
266
266
|
return disableTracing ? onRequest(undefined) : useSpan(spanName(spanPrefix, rpc._tag), {
|
|
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
643
643
|
return entry;
|
|
644
644
|
}
|
|
645
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
646
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get4(rpc.annotations, ParseOptions);
|
|
647
647
|
const exitSchema2 = exitSchema(rpc);
|
|
648
648
|
let decodeDiscardExit;
|
|
649
649
|
entry = {
|
|
@@ -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-d0rx9esz.js";
|
|
8
|
+
import"./chunk-wkg1v0kd.js";
|
|
9
|
+
import"./chunk-1k6z8q79.js";
|
|
10
|
+
import"./chunk-9h16pekj.js";
|
|
11
|
+
import"./chunk-3mbp8cse.js";
|
|
12
|
+
import"./chunk-x0ma41ys.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|