@kitman-sh/cli 0.10.60 → 0.10.61
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-phmma642.js → chunk-1vav1vaf.js} +7 -7
- package/dist/{chunk-a4798jzf.js → chunk-26hcgbe7.js} +3 -3
- package/dist/{chunk-d8awdfdj.js → chunk-43tv7md8.js} +60 -60
- package/dist/{chunk-d3ksv8y1.js → chunk-677etczq.js} +70 -28
- package/dist/{chunk-5y050gx7.js → chunk-769fbeff.js} +36 -36
- package/dist/{chunk-hxkk42cg.js → chunk-7a5njmab.js} +7 -7
- package/dist/{chunk-wtpwkjws.js → chunk-9p6v3jd2.js} +4 -4
- package/dist/{chunk-1z9p4q8b.js → chunk-byhwksbq.js} +2 -2
- package/dist/{chunk-e3tv8mv2.js → chunk-evgrce0h.js} +5 -5
- package/dist/{chunk-9qg17019.js → chunk-eyw9a80g.js} +21 -21
- package/dist/{chunk-v01c0k6j.js → chunk-h6360r1c.js} +1 -1
- package/dist/{chunk-sdpjvc1r.js → chunk-k2bnq58a.js} +107 -115
- package/dist/{chunk-rrz0v4fg.js → chunk-ksx5nt4b.js} +5 -5
- package/dist/{chunk-hvev0dve.js → chunk-mewtccqf.js} +11 -11
- package/dist/{chunk-wkccjgwb.js → chunk-n7g89pj2.js} +4 -4
- package/dist/{chunk-q3c7vmby.js → chunk-p23kedha.js} +1 -1
- package/dist/{chunk-0fdgam8v.js → chunk-qdn9tnav.js} +26 -17
- package/dist/{chunk-z0z56a72.js → chunk-qdx3wa4y.js} +9 -9
- package/dist/{chunk-smgvtzd2.js → chunk-r0s0wvev.js} +7 -7
- package/dist/{chunk-1w81w56v.js → chunk-rzr11xyn.js} +2 -2
- package/dist/{chunk-88257wax.js → chunk-wf3ednaj.js} +19 -19
- package/dist/{chunk-rrnee9mk.js → chunk-wnwyp9qn.js} +1 -1
- package/dist/{chunk-09jf8588.js → chunk-x306t6v1.js} +11 -11
- package/dist/{chunk-eawcprsb.js → chunk-zej59tf2.js} +14 -60
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-677etczq.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,
|
|
144
145
|
make6,
|
|
145
|
-
make7,
|
|
146
146
|
Service,
|
|
147
147
|
shouldRefresh,
|
|
148
148
|
refreshSession,
|
|
@@ -153,13 +153,27 @@ import {
|
|
|
153
153
|
runMcpEffect,
|
|
154
154
|
createAgentAuthSignedFetch,
|
|
155
155
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-k2bnq58a.js";
|
|
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";
|
|
157
171
|
import {
|
|
158
172
|
guard,
|
|
159
173
|
Id,
|
|
160
174
|
Timestamp,
|
|
161
175
|
ActorType
|
|
162
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-wnwyp9qn.js";
|
|
163
177
|
import {
|
|
164
178
|
toJsonValue,
|
|
165
179
|
isOneOf,
|
|
@@ -173,31 +187,17 @@ import {
|
|
|
173
187
|
isJsonObject,
|
|
174
188
|
isString,
|
|
175
189
|
kindOf
|
|
176
|
-
} from "./chunk-
|
|
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";
|
|
190
|
+
} from "./chunk-h6360r1c.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-p23kedha.js";
|
|
194
194
|
import {
|
|
195
195
|
layerJson,
|
|
196
|
-
|
|
196
|
+
make3,
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-evgrce0h.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
|
|
1944
|
+
class LiveRpcs extends make6(make5("Session", {
|
|
1945
1945
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1946
1946
|
error: LiveRpcError
|
|
1947
|
-
}),
|
|
1947
|
+
}), make5("Subscribe", {
|
|
1948
1948
|
payload: LiveSubscribeInput,
|
|
1949
1949
|
success: LiveSubscriptionMessage,
|
|
1950
1950
|
error: LiveRpcError,
|
|
1951
1951
|
stream: true
|
|
1952
|
-
}),
|
|
1952
|
+
}), make5("Replay", {
|
|
1953
1953
|
payload: LiveReplayInput,
|
|
1954
1954
|
success: ArraySchema(LiveEvent),
|
|
1955
1955
|
error: LiveRpcError
|
|
1956
|
-
}),
|
|
1956
|
+
}), make5("Ack", {
|
|
1957
1957
|
payload: LiveAckInput,
|
|
1958
1958
|
success: LiveAckResult,
|
|
1959
1959
|
error: LiveRpcError
|
|
1960
|
-
}),
|
|
1960
|
+
}), make5("SubscribeWeb", {
|
|
1961
1961
|
payload: LiveWebSubscribeInput,
|
|
1962
1962
|
success: LiveWebSubscriptionMessage,
|
|
1963
1963
|
error: LiveRpcError,
|
|
1964
1964
|
stream: true
|
|
1965
|
-
}),
|
|
1965
|
+
}), make5("SubscriptionStatus", {
|
|
1966
1966
|
payload: { subscriptionId: String4 },
|
|
1967
1967
|
success: LiveSubscriptionStatus,
|
|
1968
1968
|
error: LiveRpcError
|
|
1969
|
-
}),
|
|
1969
|
+
}), make5("ReplayWeb", {
|
|
1970
1970
|
payload: LiveWebReplayInput,
|
|
1971
1971
|
success: LiveWebReplayResult,
|
|
1972
1972
|
error: LiveRpcError
|
|
1973
|
-
}),
|
|
1973
|
+
}), make5("AckWeb", {
|
|
1974
1974
|
payload: LiveWebAckInput,
|
|
1975
1975
|
success: LiveWebAckResult,
|
|
1976
1976
|
error: LiveRpcError
|
|
1977
|
-
}),
|
|
1977
|
+
}), make5("PublishPresence", {
|
|
1978
1978
|
payload: LivePresencePublishInput,
|
|
1979
1979
|
success: LivePresenceEntry,
|
|
1980
1980
|
error: LiveRpcError
|
|
1981
|
-
}),
|
|
1981
|
+
}), make5("SubscribePresence", {
|
|
1982
1982
|
payload: LivePresenceSubscribeInput,
|
|
1983
1983
|
success: LivePresenceSubscriptionMessage,
|
|
1984
1984
|
error: LiveRpcError,
|
|
1985
1985
|
stream: true
|
|
1986
|
-
}),
|
|
1986
|
+
}), make5("ClearPresence", {
|
|
1987
1987
|
payload: { scope: optional(LiveScope) },
|
|
1988
1988
|
error: LiveRpcError
|
|
1989
|
-
}),
|
|
1989
|
+
}), make5("RecordSessionUpdate", {
|
|
1990
1990
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
1991
1991
|
success: SessionUpdate,
|
|
1992
1992
|
error: LiveRpcError
|
|
1993
|
-
}),
|
|
1993
|
+
}), make5("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) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2046
2046
|
let abandon = () => {};
|
|
2047
2047
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2048
2048
|
abandon = reject;
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-677etczq.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-qdn9tnav.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-k2bnq58a.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-evgrce0h.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* make3(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* make3(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
3
|
-
import"./chunk-
|
|
4
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-677etczq.js";
|
|
3
|
+
import"./chunk-wnwyp9qn.js";
|
|
4
|
+
import"./chunk-h6360r1c.js";
|
|
5
5
|
import {
|
|
6
6
|
decideSecretRequest,
|
|
7
7
|
readSecretRegistry,
|
|
8
8
|
appendSecretRefusals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-rzr11xyn.js";
|
|
10
10
|
|
|
11
11
|
// packages/agent-runtime/src/srt-step.ts
|
|
12
12
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-qdn9tnav.js";
|
|
18
|
+
import"./chunk-677etczq.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-677etczq.js";
|
|
100
100
|
import {
|
|
101
101
|
interrupt,
|
|
102
102
|
getCurrent,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
shutdownUnsafe,
|
|
109
109
|
fromQueue,
|
|
110
110
|
unwrap
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-qdn9tnav.js";
|
|
112
112
|
import {
|
|
113
113
|
Clock,
|
|
114
114
|
empty,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-k2bnq58a.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 make3 = /* @__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, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make15,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-677etczq.js";
|
|
89
89
|
import {
|
|
90
90
|
tap,
|
|
91
91
|
mapError,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
withDefault,
|
|
98
98
|
option,
|
|
99
99
|
String2
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-qdn9tnav.js";
|
|
101
101
|
import {
|
|
102
102
|
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
digestSha256,
|
|
136
136
|
sha256Hasher,
|
|
137
137
|
raw,
|
|
138
|
-
|
|
138
|
+
make4,
|
|
139
139
|
get,
|
|
140
140
|
put,
|
|
141
141
|
HttpClient,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-k2bnq58a.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-wnwyp9qn.js";
|
|
204
204
|
import {
|
|
205
205
|
toJsonValue,
|
|
206
206
|
isOneOf,
|
|
@@ -210,11 +210,11 @@ import {
|
|
|
210
210
|
isObject,
|
|
211
211
|
isJsonObject,
|
|
212
212
|
isString
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-h6360r1c.js";
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
|
-
|
|
217
|
-
} from "./chunk-
|
|
216
|
+
make2
|
|
217
|
+
} from "./chunk-zej59tf2.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-n7g89pj2.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-n7g89pj2.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-mewtccqf.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1249
1249
|
run: (command, args) => runCommand2(command, args),
|
|
1250
1250
|
attach: (command, args) => gen(function* () {
|
|
1251
1251
|
const spawner = yield* ChildProcessSpawner;
|
|
1252
|
-
const handle = yield* spawner.spawn(
|
|
1252
|
+
const handle = yield* spawner.spawn(make2(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1253
1253
|
const exitCode = yield* handle.exitCode;
|
|
1254
1254
|
if (exitCode !== 0)
|
|
1255
1255
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.61";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1901,7 +1901,7 @@ var Usage = [
|
|
|
1901
1901
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1902
1902
|
].join(`
|
|
1903
1903
|
`);
|
|
1904
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1904
|
+
var agentRuntime = promise(() => import("./chunk-43tv7md8.js"));
|
|
1905
1905
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1906
1906
|
defaultValue: () => gen(function* () {
|
|
1907
1907
|
const tui = yield* tryPromise({
|
|
@@ -2756,7 +2756,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2756
2756
|
});
|
|
2757
2757
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2758
2758
|
defaultValue: () => (options) => gen(function* () {
|
|
2759
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2759
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-r0s0wvev.js"));
|
|
2760
2760
|
return yield* makeRunnerRpcClient({
|
|
2761
2761
|
runnerId: options.runnerId,
|
|
2762
2762
|
bearer: options.bearer,
|
|
@@ -2951,7 +2951,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2951
2951
|
});
|
|
2952
2952
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2953
2953
|
const platform = yield* context();
|
|
2954
|
-
const updated = yield*
|
|
2954
|
+
const updated = yield* make15();
|
|
2955
2955
|
const scope = yield* scope2;
|
|
2956
2956
|
yield* listenForSignals({
|
|
2957
2957
|
rpc,
|
|
@@ -3140,7 +3140,7 @@ function mcpCommand(args) {
|
|
|
3140
3140
|
if (command.action === "run") {
|
|
3141
3141
|
if (command.args.length > 0)
|
|
3142
3142
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3143
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3143
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-769fbeff.js"));
|
|
3144
3144
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3145
3145
|
}
|
|
3146
3146
|
if (command.action !== "setup")
|
|
@@ -4342,9 +4342,9 @@ function claimCommand(args) {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
});
|
|
4344
4344
|
}
|
|
4345
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4345
|
+
var KitWriter = map8(promise(() => import("./chunk-wf3ednaj.js")), (build) => build.writeKit);
|
|
4346
4346
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4347
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4347
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-wf3ednaj.js")), (build) => build.buildKit(directory))
|
|
4348
4348
|
});
|
|
4349
4349
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4350
4350
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5102,7 +5102,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
5102
5102
|
return gen(function* () {
|
|
5103
5103
|
const fs = yield* FileSystem;
|
|
5104
5104
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
5105
|
-
const response = yield* send(
|
|
5105
|
+
const response = yield* send(make4(download.method)(download.url), failed);
|
|
5106
5106
|
if (response.status < 200 || response.status >= 300)
|
|
5107
5107
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
5108
5108
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|