@kitman-sh/cli 0.10.88 → 0.10.90
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-101maext.js → chunk-0gs7cjkt.js} +21 -9
- package/dist/{chunk-ghga9phe.js → chunk-5vsqzmvf.js} +5 -5
- package/dist/{chunk-aj4ev9v2.js → chunk-62565d52.js} +2 -2
- package/dist/{chunk-jv2xwq5v.js → chunk-75d425rk.js} +4 -4
- package/dist/{chunk-maj4dn1b.js → chunk-76ctrqm6.js} +1 -1
- package/dist/{chunk-ybp1mwv9.js → chunk-98sg1yyd.js} +60 -14
- package/dist/{chunk-5dwyvg1z.js → chunk-9zd52pda.js} +5 -5
- package/dist/{chunk-tm2zkgsf.js → chunk-bbvvx5z1.js} +12 -12
- package/dist/{chunk-7202s8t5.js → chunk-dd5aa39j.js} +23 -23
- package/dist/{chunk-dmwqvnmb.js → chunk-e8zm8z3a.js} +8 -8
- package/dist/{chunk-vne4rsj0.js → chunk-fq47a5yd.js} +2 -2
- package/dist/{chunk-a7m6tq5q.js → chunk-j9frwmmt.js} +3 -3
- package/dist/{chunk-caqesagt.js → chunk-jbwk6k6m.js} +28 -70
- package/dist/{chunk-7bv81x50.js → chunk-jq8hhvdv.js} +8 -8
- package/dist/{chunk-p74pmd81.js → chunk-kgdppbdr.js} +1 -1
- package/dist/{chunk-cw2ghw7n.js → chunk-ky974pcr.js} +4 -4
- package/dist/{chunk-9b0agw88.js → chunk-m1ewm9dy.js} +25 -25
- package/dist/{chunk-zy5ywtx2.js → chunk-mgmsx0bm.js} +7 -7
- package/dist/{chunk-h2e1m210.js → chunk-py4t32pa.js} +122 -112
- package/dist/{chunk-ntbwavn3.js → chunk-rq6bn96v.js} +5 -5
- package/dist/{chunk-1mcwey0c.js → chunk-tzz4fv17.js} +1 -1
- package/dist/{chunk-8n5fwxyd.js → chunk-x11j5jcj.js} +21 -21
- package/dist/{chunk-w9j2yb0n.js → chunk-xb70ys3n.js} +17 -17
- package/dist/{chunk-q6yydf12.js → chunk-yx90ye72.js} +7 -7
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-jbwk6k6m.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-xb70ys3n.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-py4t32pa.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-rq6bn96v.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)),
|