@kitman-sh/cli 0.10.61 → 0.10.62
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-x306t6v1.js → chunk-09jf8588.js} +11 -11
- package/dist/{chunk-qdn9tnav.js → chunk-0fdgam8v.js} +17 -26
- package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
- package/dist/{chunk-byhwksbq.js → chunk-1z9p4q8b.js} +2 -2
- package/dist/{chunk-769fbeff.js → chunk-5y050gx7.js} +36 -36
- package/dist/{chunk-26hcgbe7.js → chunk-a4798jzf.js} +3 -3
- package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
- package/dist/{chunk-43tv7md8.js → chunk-d8awdfdj.js} +60 -60
- package/dist/{chunk-evgrce0h.js → chunk-e3tv8mv2.js} +5 -5
- package/dist/{chunk-zej59tf2.js → chunk-eawcprsb.js} +60 -14
- package/dist/{chunk-wf3ednaj.js → chunk-ft2fm6ye.js} +19 -19
- package/dist/{chunk-mewtccqf.js → chunk-hvev0dve.js} +11 -11
- package/dist/{chunk-7a5njmab.js → chunk-hxkk42cg.js} +7 -7
- package/dist/{chunk-eyw9a80g.js → chunk-kz8e6cfc.js} +21 -21
- package/dist/{chunk-1vav1vaf.js → chunk-phmma642.js} +7 -7
- package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
- package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
- package/dist/{chunk-ksx5nt4b.js → chunk-rrz0v4fg.js} +5 -5
- package/dist/{chunk-k2bnq58a.js → chunk-sdpjvc1r.js} +115 -107
- package/dist/{chunk-r0s0wvev.js → chunk-smgvtzd2.js} +7 -7
- package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
- package/dist/{chunk-n7g89pj2.js → chunk-wkccjgwb.js} +4 -4
- package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
- package/dist/{chunk-qdx3wa4y.js → chunk-z0z56a72.js} +9 -9
- 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-qdn9tnav.js";
|
|
7
2
|
import {
|
|
8
3
|
getOrUndefined,
|
|
9
4
|
liftThrowable,
|
|
@@ -27,16 +22,21 @@ import {
|
|
|
27
22
|
NullOr,
|
|
28
23
|
Finite,
|
|
29
24
|
encodeUnknownJsonStringSync
|
|
30
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-d3ksv8y1.js";
|
|
31
26
|
import {
|
|
32
27
|
isNumber,
|
|
33
28
|
isJsonObject,
|
|
34
29
|
isString
|
|
35
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-v01c0k6j.js";
|
|
31
|
+
import {
|
|
32
|
+
make11,
|
|
33
|
+
runForEach,
|
|
34
|
+
compiled2
|
|
35
|
+
} from "./chunk-0fdgam8v.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
make3
|
|
39
|
+
} from "./chunk-eawcprsb.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -169,8 +169,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
169
169
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
|
-
const handle = yield* spawner.spawn(
|
|
173
|
-
stdin:
|
|
172
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
173
|
+
stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
String4,
|
|
200
200
|
toCodecStringTree,
|
|
201
201
|
encodeUnknownJsonStringSync
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-d3ksv8y1.js";
|
|
203
203
|
|
|
204
204
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
205
205
|
var headUnsafe = (self) => {
|
|
@@ -248,15 +248,6 @@ var makeEquivalence = (equivalence) => {
|
|
|
248
248
|
return (self, that) => is(self, that) && is(that, self);
|
|
249
249
|
};
|
|
250
250
|
|
|
251
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
252
|
-
var BigInt2 = globalThis.BigInt;
|
|
253
|
-
var toNumber = (b) => {
|
|
254
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
255
|
-
return none();
|
|
256
|
-
}
|
|
257
|
-
return some(Number(b));
|
|
258
|
-
};
|
|
259
|
-
|
|
260
251
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
261
252
|
var bigint0 = /* @__PURE__ */ BigInt(0);
|
|
262
253
|
var bigint1 = /* @__PURE__ */ BigInt(1);
|
|
@@ -1136,7 +1127,7 @@ var MutableRefProto = {
|
|
|
1136
1127
|
};
|
|
1137
1128
|
}
|
|
1138
1129
|
};
|
|
1139
|
-
var
|
|
1130
|
+
var make8 = (value) => {
|
|
1140
1131
|
const ref = Object.create(MutableRefProto);
|
|
1141
1132
|
ref.current = value;
|
|
1142
1133
|
return ref;
|
|
@@ -1297,7 +1288,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1297
1288
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1298
1289
|
var TypeId3 = "~effect/PubSub";
|
|
1299
1290
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1300
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1291
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1301
1292
|
var unbounded = (options) => make5({
|
|
1302
1293
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1303
1294
|
strategy: () => new DroppingStrategy
|
|
@@ -1392,7 +1383,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1392
1383
|
subscribers.delete(subscription);
|
|
1393
1384
|
}
|
|
1394
1385
|
};
|
|
1395
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1386
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1396
1387
|
class UnboundedPubSub {
|
|
1397
1388
|
publisherHead = {
|
|
1398
1389
|
value: AbsentValue,
|
|
@@ -1809,7 +1800,7 @@ var QueueProto = {
|
|
|
1809
1800
|
};
|
|
1810
1801
|
}
|
|
1811
1802
|
};
|
|
1812
|
-
var
|
|
1803
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1813
1804
|
const self = Object.create(QueueProto);
|
|
1814
1805
|
self.dispatcher = fiber.currentDispatcher;
|
|
1815
1806
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1824,14 +1815,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1824
1815
|
};
|
|
1825
1816
|
return succeed2(self);
|
|
1826
1817
|
});
|
|
1827
|
-
var bounded = (capacity) =>
|
|
1818
|
+
var bounded = (capacity) => make9({
|
|
1828
1819
|
capacity
|
|
1829
1820
|
});
|
|
1830
|
-
var sliding = (capacity) =>
|
|
1821
|
+
var sliding = (capacity) => make9({
|
|
1831
1822
|
capacity,
|
|
1832
1823
|
strategy: "sliding"
|
|
1833
1824
|
});
|
|
1834
|
-
var unbounded2 = () =>
|
|
1825
|
+
var unbounded2 = () => make9();
|
|
1835
1826
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1836
1827
|
var offerUnsafe = (self, message) => {
|
|
1837
1828
|
if (self.state._tag !== "Open") {
|
|
@@ -2257,7 +2248,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2257
2248
|
return onError(pull, onCause);
|
|
2258
2249
|
}));
|
|
2259
2250
|
var toTransform = (channel) => channel.transform;
|
|
2260
|
-
var asyncQueue = (scope, f, options) =>
|
|
2251
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2261
2252
|
capacity: options?.bufferSize,
|
|
2262
2253
|
strategy: options?.strategy
|
|
2263
2254
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2298,7 +2289,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2298
2289
|
}));
|
|
2299
2290
|
var readableStreamToPullUnsafe = (options) => {
|
|
2300
2291
|
const reader = options.readable.getReader();
|
|
2301
|
-
const exit = options.exit ??
|
|
2292
|
+
const exit = options.exit ?? make8(undefined);
|
|
2302
2293
|
const pull = suspend3(() => {
|
|
2303
2294
|
if (exit.current)
|
|
2304
2295
|
return exit.current;
|
|
@@ -2912,7 +2903,7 @@ var release = (self, state) => {
|
|
|
2912
2903
|
};
|
|
2913
2904
|
|
|
2914
2905
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2915
|
-
var
|
|
2906
|
+
var make10 = make6;
|
|
2916
2907
|
var get3 = get2;
|
|
2917
2908
|
|
|
2918
2909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2924,7 +2915,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2924
2915
|
var toChannel2 = (stream) => stream.channel;
|
|
2925
2916
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2926
2917
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2927
|
-
var
|
|
2918
|
+
var make11 = (...values) => fromArray2(values);
|
|
2928
2919
|
var suspend = (stream) => {
|
|
2929
2920
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2930
2921
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3089,7 +3080,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3089
3080
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3090
3081
|
var TypeId10 = "~effect/FileSystem";
|
|
3091
3082
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3092
|
-
var
|
|
3083
|
+
var make12 = (impl) => FileSystem.of({
|
|
3093
3084
|
...impl,
|
|
3094
3085
|
[TypeId10]: TypeId10,
|
|
3095
3086
|
glob: make2(impl),
|
|
@@ -3149,7 +3140,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3149
3140
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3150
3141
|
var TypeId11 = "~effect/Path";
|
|
3151
3142
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3152
|
-
var
|
|
3143
|
+
var make13 = (impl) => Path.of({
|
|
3153
3144
|
...impl,
|
|
3154
3145
|
[TypeId11]: TypeId11,
|
|
3155
3146
|
resolveWithin(root, input) {
|
|
@@ -3224,7 +3215,7 @@ function makeProvider(load, mapInput) {
|
|
|
3224
3215
|
function makeSource(get, transform) {
|
|
3225
3216
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3226
3217
|
}
|
|
3227
|
-
function
|
|
3218
|
+
function make7(get) {
|
|
3228
3219
|
return makeSource(get, identityPath);
|
|
3229
3220
|
}
|
|
3230
3221
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3233,7 +3224,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3233
3224
|
function fromEnvRecord(env, options) {
|
|
3234
3225
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3235
3226
|
const trie = buildEnvTrie(env);
|
|
3236
|
-
return
|
|
3227
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3237
3228
|
}
|
|
3238
3229
|
function fromEnv(options) {
|
|
3239
3230
|
const env = options?.env ?? {
|
|
@@ -3560,4 +3551,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3560
3551
|
...argv
|
|
3561
3552
|
];
|
|
3562
3553
|
|
|
3563
|
-
export { map, makeEquivalence,
|
|
3554
|
+
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, 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, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
ArraySchema,
|
|
12
12
|
decodeJsonStringOption,
|
|
13
13
|
encodeUnknownJsonStringSync
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-d3ksv8y1.js";
|
|
15
15
|
import {
|
|
16
16
|
replaceSecretReferences,
|
|
17
17
|
secretReferencesIn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-rrnee9mk.js";
|
|
19
19
|
|
|
20
20
|
// packages/agent-runtime/src/secret-proxy.ts
|
|
21
21
|
import { appendFileSync, readFileSync, renameSync, writeFileSync } from "fs";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-0fdgam8v.js";
|
|
18
|
+
import"./chunk-d3ksv8y1.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-d3ksv8y1.js";
|
|
106
106
|
import {
|
|
107
107
|
currentTimeMillis,
|
|
108
108
|
SecureRandom,
|
|
@@ -141,8 +141,8 @@ import {
|
|
|
141
141
|
sessionForApi,
|
|
142
142
|
readAuthStore,
|
|
143
143
|
agentCredentialForApi,
|
|
144
|
-
make5,
|
|
145
144
|
make6,
|
|
145
|
+
make7,
|
|
146
146
|
Service,
|
|
147
147
|
shouldRefresh,
|
|
148
148
|
refreshSession,
|
|
@@ -153,27 +153,13 @@ import {
|
|
|
153
153
|
runMcpEffect,
|
|
154
154
|
createAgentAuthSignedFetch,
|
|
155
155
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
157
|
-
import {
|
|
158
|
-
join,
|
|
159
|
-
interrupt,
|
|
160
|
-
runForEach,
|
|
161
|
-
FileSystem,
|
|
162
|
-
Path,
|
|
163
|
-
embeddedFile,
|
|
164
|
-
extractEmbeddedFile,
|
|
165
|
-
map3,
|
|
166
|
-
all,
|
|
167
|
-
withDefault,
|
|
168
|
-
option,
|
|
169
|
-
String2
|
|
170
|
-
} from "./chunk-qdn9tnav.js";
|
|
156
|
+
} from "./chunk-sdpjvc1r.js";
|
|
171
157
|
import {
|
|
172
158
|
guard,
|
|
173
159
|
Id,
|
|
174
160
|
Timestamp,
|
|
175
161
|
ActorType
|
|
176
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-rrnee9mk.js";
|
|
177
163
|
import {
|
|
178
164
|
toJsonValue,
|
|
179
165
|
isOneOf,
|
|
@@ -187,17 +173,31 @@ import {
|
|
|
187
173
|
isJsonObject,
|
|
188
174
|
isString,
|
|
189
175
|
kindOf
|
|
190
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-v01c0k6j.js";
|
|
177
|
+
import {
|
|
178
|
+
join,
|
|
179
|
+
interrupt,
|
|
180
|
+
runForEach,
|
|
181
|
+
FileSystem,
|
|
182
|
+
Path,
|
|
183
|
+
embeddedFile,
|
|
184
|
+
extractEmbeddedFile,
|
|
185
|
+
map3,
|
|
186
|
+
all,
|
|
187
|
+
withDefault,
|
|
188
|
+
option,
|
|
189
|
+
String2
|
|
190
|
+
} from "./chunk-0fdgam8v.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-q3c7vmby.js";
|
|
194
194
|
import {
|
|
195
195
|
layerJson,
|
|
196
|
-
|
|
196
|
+
make4,
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-e3tv8mv2.js";
|
|
201
201
|
|
|
202
202
|
// apps/cli/src/mcp.ts
|
|
203
203
|
import { tmpdir } from "os";
|
|
@@ -1941,56 +1941,56 @@ var LivePresenceSubscriptionMessage = Union([
|
|
|
1941
1941
|
LivePresenceSubscriptionUpdate
|
|
1942
1942
|
]);
|
|
1943
1943
|
|
|
1944
|
-
class LiveRpcs extends make6(
|
|
1944
|
+
class LiveRpcs extends make7(make6("Session", {
|
|
1945
1945
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1946
1946
|
error: LiveRpcError
|
|
1947
|
-
}),
|
|
1947
|
+
}), make6("Subscribe", {
|
|
1948
1948
|
payload: LiveSubscribeInput,
|
|
1949
1949
|
success: LiveSubscriptionMessage,
|
|
1950
1950
|
error: LiveRpcError,
|
|
1951
1951
|
stream: true
|
|
1952
|
-
}),
|
|
1952
|
+
}), make6("Replay", {
|
|
1953
1953
|
payload: LiveReplayInput,
|
|
1954
1954
|
success: ArraySchema(LiveEvent),
|
|
1955
1955
|
error: LiveRpcError
|
|
1956
|
-
}),
|
|
1956
|
+
}), make6("Ack", {
|
|
1957
1957
|
payload: LiveAckInput,
|
|
1958
1958
|
success: LiveAckResult,
|
|
1959
1959
|
error: LiveRpcError
|
|
1960
|
-
}),
|
|
1960
|
+
}), make6("SubscribeWeb", {
|
|
1961
1961
|
payload: LiveWebSubscribeInput,
|
|
1962
1962
|
success: LiveWebSubscriptionMessage,
|
|
1963
1963
|
error: LiveRpcError,
|
|
1964
1964
|
stream: true
|
|
1965
|
-
}),
|
|
1965
|
+
}), make6("SubscriptionStatus", {
|
|
1966
1966
|
payload: { subscriptionId: String4 },
|
|
1967
1967
|
success: LiveSubscriptionStatus,
|
|
1968
1968
|
error: LiveRpcError
|
|
1969
|
-
}),
|
|
1969
|
+
}), make6("ReplayWeb", {
|
|
1970
1970
|
payload: LiveWebReplayInput,
|
|
1971
1971
|
success: LiveWebReplayResult,
|
|
1972
1972
|
error: LiveRpcError
|
|
1973
|
-
}),
|
|
1973
|
+
}), make6("AckWeb", {
|
|
1974
1974
|
payload: LiveWebAckInput,
|
|
1975
1975
|
success: LiveWebAckResult,
|
|
1976
1976
|
error: LiveRpcError
|
|
1977
|
-
}),
|
|
1977
|
+
}), make6("PublishPresence", {
|
|
1978
1978
|
payload: LivePresencePublishInput,
|
|
1979
1979
|
success: LivePresenceEntry,
|
|
1980
1980
|
error: LiveRpcError
|
|
1981
|
-
}),
|
|
1981
|
+
}), make6("SubscribePresence", {
|
|
1982
1982
|
payload: LivePresenceSubscribeInput,
|
|
1983
1983
|
success: LivePresenceSubscriptionMessage,
|
|
1984
1984
|
error: LiveRpcError,
|
|
1985
1985
|
stream: true
|
|
1986
|
-
}),
|
|
1986
|
+
}), make6("ClearPresence", {
|
|
1987
1987
|
payload: { scope: optional(LiveScope) },
|
|
1988
1988
|
error: LiveRpcError
|
|
1989
|
-
}),
|
|
1989
|
+
}), make6("RecordSessionUpdate", {
|
|
1990
1990
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
1991
1991
|
success: SessionUpdate,
|
|
1992
1992
|
error: LiveRpcError
|
|
1993
|
-
}),
|
|
1993
|
+
}), make6("EndSession", {
|
|
1994
1994
|
payload: { sessionId: String4, input: SessionEnd },
|
|
1995
1995
|
success: Session,
|
|
1996
1996
|
error: LiveRpcError
|
|
@@ -2042,7 +2042,7 @@ function connectKitmanLiveRoot(protocol) {
|
|
|
2042
2042
|
})
|
|
2043
2043
|
});
|
|
2044
2044
|
const layer = (isString(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
|
|
2045
|
-
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) =>
|
|
2045
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2046
2046
|
let abandon = () => {};
|
|
2047
2047
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2048
2048
|
abandon = reject;
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-d3ksv8y1.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-0fdgam8v.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-sdpjvc1r.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|