@kitman-sh/cli 0.7.3 → 0.7.5
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-80g9af03.js → chunk-0pre510a.js} +2 -2
- package/dist/{chunk-c5nwtn11.js → chunk-1f7qe00x.js} +4 -4
- package/dist/{chunk-1n61xbaq.js → chunk-4gc7b9qt.js} +2 -2
- package/dist/{chunk-nvf0begz.js → chunk-64cz9grx.js} +36 -42
- package/dist/{chunk-0296rete.js → chunk-a44szh8v.js} +12 -12
- package/dist/{chunk-yysejjz0.js → chunk-hpfcwnd9.js} +9 -9
- package/dist/{chunk-8g2twwm8.js → chunk-p2wk2v39.js} +512 -262
- package/dist/{chunk-x6j2j12j.js → chunk-sq2brwmh.js} +1 -1
- package/dist/{chunk-84t0s0s2.js → chunk-tk0gy9wq.js} +5 -5
- package/dist/{chunk-kt08et8q.js → chunk-vz3v0f4j.js} +718 -263
- package/dist/{chunk-zc0ebz8f.js → chunk-xnzxpert.js} +3 -3
- package/dist/index.js +133 -247
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
Int,
|
|
32
32
|
TaggedError2,
|
|
33
33
|
Json
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-p2wk2v39.js";
|
|
35
35
|
import {
|
|
36
36
|
LoopOutcome,
|
|
37
37
|
defineLoop,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
mergeFindings,
|
|
68
68
|
settleRound,
|
|
69
69
|
rallyStop
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-a44szh8v.js";
|
|
71
71
|
|
|
72
72
|
// node_modules/.bun/effect@4.0.4/node_modules/effect/dist/workflow/DurableClock.js
|
|
73
73
|
var TypeId = "~effect/workflow/DurableClock";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
succeed4,
|
|
5
5
|
provide2,
|
|
6
6
|
gen,
|
|
7
|
-
|
|
7
|
+
flatMap2,
|
|
8
8
|
provideContext,
|
|
9
9
|
runForEach,
|
|
10
10
|
RunnerHeaders,
|
|
11
11
|
RunnerRpcProtocolVersion,
|
|
12
12
|
RunnerRpcs
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-p2wk2v39.js";
|
|
14
14
|
import {
|
|
15
15
|
WebSocketConstructor,
|
|
16
16
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
make5,
|
|
20
20
|
withHeaders,
|
|
21
21
|
layerProtocolSocket
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-tk0gy9wq.js";
|
|
23
23
|
|
|
24
24
|
// packages/live/src/rpc/runner-client.ts
|
|
25
25
|
var proxiedWebSocket = (proxy) => succeed4(WebSocketConstructor)((target) => {
|
|
@@ -35,7 +35,7 @@ function runnerRpcUrl2(apiUrl) {
|
|
|
35
35
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
36
36
|
const protocol = yield* build2(options.protocol);
|
|
37
37
|
const client = yield* make5(RunnerRpcs).pipe(provideContext(protocol));
|
|
38
|
-
const authorized = (call) =>
|
|
38
|
+
const authorized = (call) => flatMap2(options.bearer, (token) => withHeaders(call, {
|
|
39
39
|
authorization: `Bearer ${token}`,
|
|
40
40
|
[RunnerHeaders.runnerId]: options.runnerId,
|
|
41
41
|
[RunnerHeaders.protocolVersion]: String(RunnerRpcProtocolVersion)
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
ProgramWorkUnit,
|
|
19
19
|
LoopManifest,
|
|
20
20
|
RunnerRpcError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-p2wk2v39.js";
|
|
22
22
|
import {
|
|
23
23
|
ManifestInvalid,
|
|
24
24
|
make,
|
|
25
25
|
Suspended,
|
|
26
26
|
LoopCheckError
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-a44szh8v.js";
|
|
28
28
|
|
|
29
29
|
// packages/sdk/src/program/engine.ts
|
|
30
30
|
class JournalWriteFailed extends TaggedError("JournalWriteFailed") {
|