@kitman-sh/cli 0.13.14 → 0.13.15
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-vmww6hnk.js → chunk-3syr8kyv.js} +5 -5
- package/dist/{chunk-ef3nzqng.js → chunk-5qeqhjxy.js} +2 -2
- package/dist/{chunk-d4kmyv5h.js → chunk-6kz6qa2h.js} +4 -4
- package/dist/{chunk-hmt2egsx.js → chunk-6qdhhk6r.js} +6 -6
- package/dist/{chunk-st8ggqv1.js → chunk-6z499mrc.js} +21 -21
- package/dist/{chunk-vjsqg4a5.js → chunk-7cx4t4em.js} +7 -7
- package/dist/{chunk-8xpdkxr7.js → chunk-82w8rmkc.js} +60 -14
- package/dist/{chunk-3vbs995s.js → chunk-b07c43pg.js} +117 -108
- package/dist/{chunk-aa30tt6t.js → chunk-fc2bhh5v.js} +2 -2
- package/dist/{chunk-5mxvqg32.js → chunk-ga76znz9.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-zencwg2t.js → chunk-h0jf48ew.js} +1 -1
- package/dist/{chunk-4142qeg3.js → chunk-hn9x2jjs.js} +3 -3
- package/dist/{chunk-89rpg6j9.js → chunk-jattyebv.js} +28 -28
- package/dist/{chunk-dwxqp8ez.js → chunk-my63gy4t.js} +7 -7
- package/dist/{chunk-hgfphycc.js → chunk-nf9gdnsf.js} +17 -26
- package/dist/{chunk-hw9fcfs0.js → chunk-npnbac9a.js} +9 -9
- package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
- package/dist/{chunk-fk5238tn.js → chunk-rqrtf7sb.js} +4 -4
- package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
- package/dist/{chunk-06dwvzv0.js → chunk-ydz5ctsj.js} +63 -63
- package/dist/{chunk-6agcvxbj.js → chunk-z4x9m2bv.js} +10 -10
- package/dist/{chunk-5ba08a9e.js → chunk-zem7mg1b.js} +18 -18
- package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-nf9gdnsf.js";
|
|
18
|
+
import"./chunk-zw3gf6r5.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
make10,
|
|
4
|
-
runForEach,
|
|
5
|
-
compiled2
|
|
6
|
-
} from "./chunk-hgfphycc.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-nf9gdnsf.js";
|
|
34
34
|
import {
|
|
35
35
|
ChildProcessSpawner,
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
36
|
+
make3
|
|
37
|
+
} from "./chunk-82w8rmkc.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: {},
|
|
@@ -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-y1krmnbv.js";
|
|
8
|
+
import"./chunk-q5w3v4k1.js";
|
|
9
|
+
import"./chunk-zw3gf6r5.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-zw3gf6r5.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-nf9gdnsf.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-b07c43pg.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
decodeJsonStringOption,
|
|
119
119
|
encodeJsonStringSync,
|
|
120
120
|
encodePrettyJsonString
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-zw3gf6r5.js";
|
|
122
122
|
import {
|
|
123
123
|
currentTimeMillis,
|
|
124
124
|
SecureRandom,
|
|
@@ -158,8 +158,8 @@ import {
|
|
|
158
158
|
sessionForApi,
|
|
159
159
|
readAuthStore,
|
|
160
160
|
agentCredentialForApi,
|
|
161
|
-
make5,
|
|
162
161
|
make6,
|
|
162
|
+
make7,
|
|
163
163
|
Service,
|
|
164
164
|
shouldRefresh,
|
|
165
165
|
refreshSession,
|
|
@@ -170,7 +170,13 @@ import {
|
|
|
170
170
|
runMcpEffect,
|
|
171
171
|
createAgentAuthSignedFetch,
|
|
172
172
|
setupMcpAgentCredential
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-b07c43pg.js";
|
|
174
|
+
import {
|
|
175
|
+
guard,
|
|
176
|
+
Id,
|
|
177
|
+
Timestamp,
|
|
178
|
+
ActorType
|
|
179
|
+
} from "./chunk-q5w3v4k1.js";
|
|
174
180
|
import {
|
|
175
181
|
join,
|
|
176
182
|
interrupt,
|
|
@@ -187,27 +193,21 @@ import {
|
|
|
187
193
|
withDefault,
|
|
188
194
|
option,
|
|
189
195
|
String2
|
|
190
|
-
} from "./chunk-
|
|
191
|
-
import {
|
|
192
|
-
guard,
|
|
193
|
-
Id,
|
|
194
|
-
Timestamp,
|
|
195
|
-
ActorType
|
|
196
|
-
} from "./chunk-pxvd8w2v.js";
|
|
196
|
+
} from "./chunk-nf9gdnsf.js";
|
|
197
197
|
import {
|
|
198
198
|
searchDocs2,
|
|
199
199
|
readDoc2
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-5qeqhjxy.js";
|
|
201
201
|
import {
|
|
202
202
|
nextInt
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-gq7y5v3e.js";
|
|
204
204
|
import {
|
|
205
205
|
layerJson,
|
|
206
|
-
|
|
206
|
+
make4,
|
|
207
207
|
withHeaders,
|
|
208
208
|
layerProtocolSocket,
|
|
209
209
|
ConnectionHooks
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-3syr8kyv.js";
|
|
211
211
|
|
|
212
212
|
// apps/cli/src/mcp.ts
|
|
213
213
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -1959,56 +1959,56 @@ var LivePresenceSubscriptionMessage = Union([
|
|
|
1959
1959
|
LivePresenceSubscriptionUpdate
|
|
1960
1960
|
]);
|
|
1961
1961
|
|
|
1962
|
-
class LiveRpcs extends make6(
|
|
1962
|
+
class LiveRpcs extends make7(make6("Session", {
|
|
1963
1963
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1964
1964
|
error: LiveRpcError
|
|
1965
|
-
}),
|
|
1965
|
+
}), make6("Subscribe", {
|
|
1966
1966
|
payload: LiveSubscribeInput,
|
|
1967
1967
|
success: LiveSubscriptionMessage,
|
|
1968
1968
|
error: LiveRpcError,
|
|
1969
1969
|
stream: true
|
|
1970
|
-
}),
|
|
1970
|
+
}), make6("Replay", {
|
|
1971
1971
|
payload: LiveReplayInput,
|
|
1972
1972
|
success: ArraySchema(LiveEvent),
|
|
1973
1973
|
error: LiveRpcError
|
|
1974
|
-
}),
|
|
1974
|
+
}), make6("Ack", {
|
|
1975
1975
|
payload: LiveAckInput,
|
|
1976
1976
|
success: LiveAckResult,
|
|
1977
1977
|
error: LiveRpcError
|
|
1978
|
-
}),
|
|
1978
|
+
}), make6("SubscribeWeb", {
|
|
1979
1979
|
payload: LiveWebSubscribeInput,
|
|
1980
1980
|
success: LiveWebSubscriptionMessage,
|
|
1981
1981
|
error: LiveRpcError,
|
|
1982
1982
|
stream: true
|
|
1983
|
-
}),
|
|
1983
|
+
}), make6("SubscriptionStatus", {
|
|
1984
1984
|
payload: { subscriptionId: String4 },
|
|
1985
1985
|
success: LiveSubscriptionStatus,
|
|
1986
1986
|
error: LiveRpcError
|
|
1987
|
-
}),
|
|
1987
|
+
}), make6("ReplayWeb", {
|
|
1988
1988
|
payload: LiveWebReplayInput,
|
|
1989
1989
|
success: LiveWebReplayResult,
|
|
1990
1990
|
error: LiveRpcError
|
|
1991
|
-
}),
|
|
1991
|
+
}), make6("AckWeb", {
|
|
1992
1992
|
payload: LiveWebAckInput,
|
|
1993
1993
|
success: LiveWebAckResult,
|
|
1994
1994
|
error: LiveRpcError
|
|
1995
|
-
}),
|
|
1995
|
+
}), make6("PublishPresence", {
|
|
1996
1996
|
payload: LivePresencePublishInput,
|
|
1997
1997
|
success: LivePresenceEntry,
|
|
1998
1998
|
error: LiveRpcError
|
|
1999
|
-
}),
|
|
1999
|
+
}), make6("SubscribePresence", {
|
|
2000
2000
|
payload: LivePresenceSubscribeInput,
|
|
2001
2001
|
success: LivePresenceSubscriptionMessage,
|
|
2002
2002
|
error: LiveRpcError,
|
|
2003
2003
|
stream: true
|
|
2004
|
-
}),
|
|
2004
|
+
}), make6("ClearPresence", {
|
|
2005
2005
|
payload: { scope: optional(LiveScope) },
|
|
2006
2006
|
error: LiveRpcError
|
|
2007
|
-
}),
|
|
2007
|
+
}), make6("RecordSessionUpdate", {
|
|
2008
2008
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
2009
2009
|
success: SessionUpdate,
|
|
2010
2010
|
error: LiveRpcError
|
|
2011
|
-
}),
|
|
2011
|
+
}), make6("EndSession", {
|
|
2012
2012
|
payload: { sessionId: String4, input: SessionEnd },
|
|
2013
2013
|
success: Session,
|
|
2014
2014
|
error: LiveRpcError
|
|
@@ -2060,7 +2060,7 @@ function connectKitmanLiveRoot(protocol) {
|
|
|
2060
2060
|
})
|
|
2061
2061
|
});
|
|
2062
2062
|
const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
|
|
2063
|
-
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) =>
|
|
2063
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2064
2064
|
let abandon = () => {};
|
|
2065
2065
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2066
2066
|
abandon = reject;
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-zw3gf6r5.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-nf9gdnsf.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-b07c43pg.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3syr8kyv.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
|
|
|
46
46
|
var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
|
|
47
47
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
48
48
|
const protocol = yield* build(options.protocol);
|
|
49
|
-
const client = yield*
|
|
49
|
+
const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -201,7 +201,7 @@ import {
|
|
|
201
201
|
String4,
|
|
202
202
|
toCodecStringTree,
|
|
203
203
|
encodeUnknownJsonStringSync
|
|
204
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-zw3gf6r5.js";
|
|
205
205
|
|
|
206
206
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
207
207
|
var headUnsafe = (self) => {
|
|
@@ -250,15 +250,6 @@ var makeEquivalence = (equivalence) => {
|
|
|
250
250
|
return (self, that) => is(self, that) && is(that, self);
|
|
251
251
|
};
|
|
252
252
|
|
|
253
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
254
|
-
var BigInt2 = globalThis.BigInt;
|
|
255
|
-
var toNumber = (b) => {
|
|
256
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
257
|
-
return none();
|
|
258
|
-
}
|
|
259
|
-
return some(Number(b));
|
|
260
|
-
};
|
|
261
|
-
|
|
262
253
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
263
254
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
264
255
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -1138,7 +1129,7 @@ var MutableRefProto = {
|
|
|
1138
1129
|
};
|
|
1139
1130
|
}
|
|
1140
1131
|
};
|
|
1141
|
-
var
|
|
1132
|
+
var make8 = (value) => {
|
|
1142
1133
|
const ref = Object.create(MutableRefProto);
|
|
1143
1134
|
ref.current = value;
|
|
1144
1135
|
return ref;
|
|
@@ -1299,7 +1290,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1299
1290
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1300
1291
|
var TypeId3 = "~effect/PubSub";
|
|
1301
1292
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1302
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1293
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1303
1294
|
var unbounded = (options) => make5({
|
|
1304
1295
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1305
1296
|
strategy: () => new DroppingStrategy
|
|
@@ -1394,7 +1385,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1394
1385
|
subscribers.delete(subscription);
|
|
1395
1386
|
}
|
|
1396
1387
|
};
|
|
1397
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1388
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1398
1389
|
class UnboundedPubSub {
|
|
1399
1390
|
publisherHead = {
|
|
1400
1391
|
value: AbsentValue,
|
|
@@ -1811,7 +1802,7 @@ var QueueProto = {
|
|
|
1811
1802
|
};
|
|
1812
1803
|
}
|
|
1813
1804
|
};
|
|
1814
|
-
var
|
|
1805
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1815
1806
|
const self = Object.create(QueueProto);
|
|
1816
1807
|
self.dispatcher = fiber.currentDispatcher;
|
|
1817
1808
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1826,14 +1817,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1826
1817
|
};
|
|
1827
1818
|
return succeed2(self);
|
|
1828
1819
|
});
|
|
1829
|
-
var bounded = (capacity) =>
|
|
1820
|
+
var bounded = (capacity) => make9({
|
|
1830
1821
|
capacity
|
|
1831
1822
|
});
|
|
1832
|
-
var sliding = (capacity) =>
|
|
1823
|
+
var sliding = (capacity) => make9({
|
|
1833
1824
|
capacity,
|
|
1834
1825
|
strategy: "sliding"
|
|
1835
1826
|
});
|
|
1836
|
-
var unbounded2 = () =>
|
|
1827
|
+
var unbounded2 = () => make9();
|
|
1837
1828
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1838
1829
|
var offerUnsafe = (self, message) => {
|
|
1839
1830
|
if (self.state._tag !== "Open") {
|
|
@@ -2259,7 +2250,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2259
2250
|
return onError(pull, onCause);
|
|
2260
2251
|
}));
|
|
2261
2252
|
var toTransform = (channel) => channel.transform;
|
|
2262
|
-
var asyncQueue = (scope, f, options) =>
|
|
2253
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2263
2254
|
capacity: options?.bufferSize,
|
|
2264
2255
|
strategy: options?.strategy
|
|
2265
2256
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2300,7 +2291,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2300
2291
|
}));
|
|
2301
2292
|
var readableStreamToPullUnsafe = (options) => {
|
|
2302
2293
|
const reader = options.readable.getReader();
|
|
2303
|
-
const exit = options.exit ??
|
|
2294
|
+
const exit = options.exit ?? make8(undefined);
|
|
2304
2295
|
const pull = suspend3(() => {
|
|
2305
2296
|
if (exit.current)
|
|
2306
2297
|
return exit.current;
|
|
@@ -2914,7 +2905,7 @@ var release = (self, state) => {
|
|
|
2914
2905
|
};
|
|
2915
2906
|
|
|
2916
2907
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2917
|
-
var
|
|
2908
|
+
var make10 = make6;
|
|
2918
2909
|
var get3 = get2;
|
|
2919
2910
|
|
|
2920
2911
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2926,7 +2917,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2926
2917
|
var toChannel2 = (stream) => stream.channel;
|
|
2927
2918
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2928
2919
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2929
|
-
var
|
|
2920
|
+
var make11 = (...values) => fromArray2(values);
|
|
2930
2921
|
var suspend = (stream) => {
|
|
2931
2922
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2932
2923
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3109,7 +3100,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3109
3100
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3110
3101
|
var TypeId10 = "~effect/FileSystem";
|
|
3111
3102
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3112
|
-
var
|
|
3103
|
+
var make12 = (impl) => FileSystem.of({
|
|
3113
3104
|
...impl,
|
|
3114
3105
|
[TypeId10]: TypeId10,
|
|
3115
3106
|
glob: make2(impl),
|
|
@@ -3169,7 +3160,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3169
3160
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3170
3161
|
var TypeId11 = "~effect/Path";
|
|
3171
3162
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3172
|
-
var
|
|
3163
|
+
var make13 = (impl) => Path.of({
|
|
3173
3164
|
...impl,
|
|
3174
3165
|
[TypeId11]: TypeId11,
|
|
3175
3166
|
resolveWithin(root, input) {
|
|
@@ -3244,7 +3235,7 @@ function makeProvider(load, mapInput) {
|
|
|
3244
3235
|
function makeSource(get, transform) {
|
|
3245
3236
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3246
3237
|
}
|
|
3247
|
-
function
|
|
3238
|
+
function make7(get) {
|
|
3248
3239
|
return makeSource(get, identityPath);
|
|
3249
3240
|
}
|
|
3250
3241
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3253,7 +3244,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3253
3244
|
function fromEnvRecord(env, options) {
|
|
3254
3245
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3255
3246
|
const trie = buildEnvTrie(env);
|
|
3256
|
-
return
|
|
3247
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3257
3248
|
}
|
|
3258
3249
|
function fromEnv(options) {
|
|
3259
3250
|
const env = options?.env ?? {
|
|
@@ -3584,4 +3575,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3584
3575
|
...argv
|
|
3585
3576
|
];
|
|
3586
3577
|
|
|
3587
|
-
export { map, makeEquivalence,
|
|
3578
|
+
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, take2, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, tempDirectoryScoped, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
FileSystem,
|
|
4
|
-
Path,
|
|
5
|
-
optionalEnv,
|
|
6
|
-
tempDirectoryScoped
|
|
7
|
-
} from "./chunk-hgfphycc.js";
|
|
8
2
|
import {
|
|
9
3
|
Reference,
|
|
10
4
|
TaggedError,
|
|
@@ -31,15 +25,21 @@ import {
|
|
|
31
25
|
isString2,
|
|
32
26
|
encodePrettyJsonString,
|
|
33
27
|
decodeJsonStringSync
|
|
34
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-zw3gf6r5.js";
|
|
29
|
+
import {
|
|
30
|
+
FileSystem,
|
|
31
|
+
Path,
|
|
32
|
+
optionalEnv,
|
|
33
|
+
tempDirectoryScoped
|
|
34
|
+
} from "./chunk-nf9gdnsf.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-b07c43pg.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-hn9x2jjs.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
isMinLength,
|
|
19
19
|
isMaxLength,
|
|
20
20
|
FiniteFromString
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-zw3gf6r5.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
|
|
24
24
|
var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-82w8rmkc.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-b07c43pg.js";
|
|
16
|
+
import"./chunk-nf9gdnsf.js";
|
|
17
|
+
import"./chunk-zw3gf6r5.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-zw3gf6r5.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-q5w3v4k1.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|