@kitman-sh/cli 0.31.0 → 0.33.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-fjdp3rd6.js → chunk-1zb8h7gv.js} +45 -32
- package/dist/{chunk-r2kzvdrg.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-m1qp6swh.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-z59pvcbk.js → chunk-8fyfsajs.js} +179 -31
- package/dist/{chunk-vh2a72d1.js → chunk-9nbqzdqp.js} +60 -14
- package/dist/{chunk-emw9ragp.js → chunk-9tyv6211.js} +21 -21
- package/dist/{chunk-vwynec02.js → chunk-a9ncx2a8.js} +1 -1
- package/dist/{chunk-yjc2w86k.js → chunk-ak1qrm4q.js} +7 -7
- package/dist/{chunk-9vqkjkya.js → chunk-bnhb3cth.js} +2 -2
- package/dist/{chunk-2sazk478.js → chunk-gnq1ryhx.js} +8 -4
- package/dist/{chunk-y64ssczv.js → chunk-h2f26xbd.js} +40 -226
- package/dist/{chunk-s4r49vbj.js → chunk-hgxhpj6m.js} +4 -4
- package/dist/{chunk-qb11yda6.js → chunk-jrwpte6y.js} +41 -41
- package/dist/{chunk-qbrkeg49.js → chunk-mhx0tgm3.js} +7 -7
- package/dist/{chunk-5qrjf4xq.js → chunk-np5n54ky.js} +6 -6
- package/dist/{chunk-xxcxramy.js → chunk-nwbry6c8.js} +130 -124
- package/dist/{chunk-nndgeync.js → chunk-py3133q0.js} +6 -6
- package/dist/{chunk-nk0ew12p.js → chunk-racse7zf.js} +449 -37
- package/dist/chunk-s34am3kw.js +399 -0
- package/dist/{chunk-9a6wbk11.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-njgay1ed.js → chunk-sgkgwzvb.js} +6 -6
- package/dist/{chunk-pd3azxev.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-zy21drtv.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-qjxgew0k.js → chunk-x29m7k25.js} +2 -2
- package/dist/{chunk-9yvknsnj.js → chunk-xkkyx7bn.js} +3 -3
- package/dist/{chunk-38drrdzp.js → chunk-yveqd8ye.js} +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-kx8rpa62.js +0 -230
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-h2f26xbd.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-8fyfsajs.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-nwbry6c8.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-np5n54ky.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)),
|
|
@@ -96,8 +96,9 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-h2f26xbd.js";
|
|
100
100
|
import {
|
|
101
|
+
Clock,
|
|
101
102
|
interrupt,
|
|
102
103
|
getCurrent,
|
|
103
104
|
makeUnsafe2,
|
|
@@ -108,9 +109,8 @@ import {
|
|
|
108
109
|
shutdownUnsafe,
|
|
109
110
|
fromQueue,
|
|
110
111
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-8fyfsajs.js";
|
|
112
113
|
import {
|
|
113
|
-
Clock,
|
|
114
114
|
empty,
|
|
115
115
|
fromInput,
|
|
116
116
|
merge,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-nwbry6c8.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")) {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
829
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
|