@kitman-sh/cli 0.13.5 → 0.13.6

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.
Files changed (27) hide show
  1. package/dist/{chunk-5zth85pj.js → chunk-27pv44t3.js} +2 -2
  2. package/dist/{chunk-5zhh41gb.js → chunk-2x1q8z5t.js} +4 -4
  3. package/dist/{chunk-scj257qb.js → chunk-3teferzd.js} +4 -4
  4. package/dist/{chunk-mtkstrh3.js → chunk-4nfan8t6.js} +14 -60
  5. package/dist/{chunk-0yj73sqp.js → chunk-89hds8q4.js} +24 -24
  6. package/dist/{chunk-rvqsm1w7.js → chunk-9t8afbrw.js} +6 -6
  7. package/dist/{chunk-jmhqrt90.js → chunk-a0wt1r43.js} +23 -23
  8. package/dist/{chunk-z0a98xqg.js → chunk-at4e0xvg.js} +7 -7
  9. package/dist/{chunk-gy9rf14f.js → chunk-bz4bp0q7.js} +3 -3
  10. package/dist/{chunk-cbpb2rww.js → chunk-cabmcvy1.js} +7 -7
  11. package/dist/{chunk-dpfxvmh3.js → chunk-cg3xstek.js} +3 -3
  12. package/dist/{chunk-pn9atvw8.js → chunk-hg8wgm04.js} +4 -4
  13. package/dist/{chunk-tkhxmk5r.js → chunk-j974anp7.js} +1 -1
  14. package/dist/{chunk-gq7y5v3e.js → chunk-mm2m3bys.js} +1 -1
  15. package/dist/{chunk-yfn0hs5r.js → chunk-mwkn1c5q.js} +111 -123
  16. package/dist/{chunk-vg39q6ac.js → chunk-qj412x98.js} +11 -11
  17. package/dist/{chunk-txf9spw3.js → chunk-r08sz4ry.js} +6 -6
  18. package/dist/{chunk-yqdmhwpd.js → chunk-s06x2ktk.js} +7 -7
  19. package/dist/{chunk-q5w3v4k1.js → chunk-s8m2tzdr.js} +1 -1
  20. package/dist/{chunk-y1krmnbv.js → chunk-skqn4h13.js} +2 -2
  21. package/dist/{chunk-0h49y8gf.js → chunk-vktjb2p7.js} +36 -164
  22. package/dist/{chunk-cvzyx4wy.js → chunk-vmzr8xcg.js} +7 -6
  23. package/dist/{chunk-zw3gf6r5.js → chunk-x3cc7dfc.js} +226 -40
  24. package/dist/{chunk-dgeyx2fa.js → chunk-xc1grg7y.js} +2 -2
  25. package/dist/{chunk-kymmwg71.js → chunk-xy7ze8dj.js} +22 -22
  26. package/dist/index.js +4 -4
  27. package/package.json +1 -1
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-0h49y8gf.js";
18
- import"./chunk-zw3gf6r5.js";
17
+ } from "./chunk-vktjb2p7.js";
18
+ import"./chunk-x3cc7dfc.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-cbpb2rww.js";
11
- import"./chunk-mtkstrh3.js";
12
- import"./chunk-0h49y8gf.js";
13
- import"./chunk-zw3gf6r5.js";
10
+ } from "./chunk-cabmcvy1.js";
11
+ import"./chunk-4nfan8t6.js";
12
+ import"./chunk-vktjb2p7.js";
13
+ import"./chunk-x3cc7dfc.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -25,21 +25,21 @@ import {
25
25
  isString2,
26
26
  encodePrettyJsonString,
27
27
  decodeJsonStringSync
28
- } from "./chunk-zw3gf6r5.js";
28
+ } from "./chunk-x3cc7dfc.js";
29
29
  import {
30
30
  FileSystem,
31
31
  Path,
32
32
  optionalEnv,
33
33
  tempDirectoryScoped
34
- } from "./chunk-0h49y8gf.js";
34
+ } from "./chunk-vktjb2p7.js";
35
35
  import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-yfn0hs5r.js";
39
+ } from "./chunk-mwkn1c5q.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-dpfxvmh3.js";
42
+ } from "./chunk-cg3xstek.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -1,13 +1,6 @@
1
1
  // @bun
2
2
  import {
3
- isString,
4
- hasProperty,
5
- symbol,
6
- hash,
7
- symbol2,
8
- equals,
9
3
  BaseProto,
10
- PipeInspectableProto,
11
4
  Prototype,
12
5
  some,
13
6
  Service2,
@@ -21,8 +14,11 @@ import {
21
14
  andThen2,
22
15
  map8,
23
16
  raceFirst,
24
- scoped
25
- } from "./chunk-zw3gf6r5.js";
17
+ scoped,
18
+ isRedacted,
19
+ make16,
20
+ value
21
+ } from "./chunk-x3cc7dfc.js";
26
22
  import {
27
23
  unwrap,
28
24
  drainFork,
@@ -31,49 +27,7 @@ import {
31
27
  runCollect,
32
28
  runDrain,
33
29
  mkString
34
- } from "./chunk-0h49y8gf.js";
35
-
36
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
38
- var value2 = (self) => {
39
- if (redactedRegistry.has(self)) {
40
- return redactedRegistry.get(self);
41
- } else {
42
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
43
- }
44
- };
45
-
46
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
47
- var TypeId = "~effect/Redacted";
48
- var isRedacted = (u) => hasProperty(u, TypeId);
49
- var make = (value, options) => {
50
- const self = Object.create(Proto);
51
- if (options?.label) {
52
- self.label = options.label;
53
- }
54
- redactedRegistry.set(self, value);
55
- return self;
56
- };
57
- var Proto = {
58
- [TypeId]: {
59
- _A: (_) => _
60
- },
61
- label: undefined,
62
- ...PipeInspectableProto,
63
- toJSON() {
64
- return this.toString();
65
- },
66
- toString() {
67
- return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
68
- },
69
- [symbol]() {
70
- return hash(redactedRegistry.get(this));
71
- },
72
- [symbol2](that) {
73
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
74
- }
75
- };
76
- var value = value2;
30
+ } from "./chunk-vktjb2p7.js";
77
31
 
78
32
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
79
33
  function nominal() {
@@ -101,7 +55,7 @@ var HandleProto = {
101
55
  var makeHandle = (params) => Object.setPrototypeOf({
102
56
  ...params
103
57
  }, HandleProto);
104
- var make2 = (spawn) => {
58
+ var make = (spawn) => {
105
59
  const streamString = (command, options) => spawn(command).pipe(map8((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
106
60
  const streamLines = (command, options) => splitLines(streamString(command, options));
107
61
  return ChildProcessSpawner.of({
@@ -222,7 +176,7 @@ var parseTemplate = (texts, values) => {
222
176
  if (word.length === 0)
223
177
  return;
224
178
  const value = word.map(unwrap2).join("");
225
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
179
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
226
180
  word = [];
227
181
  plain = true;
228
182
  braceDepth = 0;
@@ -312,23 +266,23 @@ var parseTemplate = (texts, values) => {
312
266
  };
313
267
 
314
268
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
315
- var TypeId2 = "~effect/process/ChildProcess";
316
- var Proto2 = {
269
+ var TypeId = "~effect/process/ChildProcess";
270
+ var Proto = {
317
271
  .../* @__PURE__ */ Prototype({
318
272
  label: "Command",
319
273
  evaluate(fiber) {
320
274
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
321
275
  }
322
276
  }),
323
- [TypeId2]: TypeId2
277
+ [TypeId]: TypeId
324
278
  };
325
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
279
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
326
280
  _tag: "StandardCommand",
327
281
  command,
328
282
  args,
329
283
  options
330
284
  });
331
- var make3 = function make(...args) {
285
+ var make2 = function make(...args) {
332
286
  if (isTemplateString(args[0])) {
333
287
  const [templates, ...expressions] = args;
334
288
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -386,4 +340,4 @@ var shellScript = (templates, expressions) => {
386
340
  }
387
341
  return script;
388
342
  };
389
- export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
343
+ export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
@@ -118,9 +118,8 @@ import {
118
118
  decodeJsonStringOption,
119
119
  encodeJsonStringSync,
120
120
  encodePrettyJsonString
121
- } from "./chunk-zw3gf6r5.js";
121
+ } from "./chunk-x3cc7dfc.js";
122
122
  import {
123
- currentTimeMillis,
124
123
  SecureRandom,
125
124
  makeUnsafe,
126
125
  formatIso,
@@ -158,8 +157,8 @@ import {
158
157
  sessionForApi,
159
158
  readAuthStore,
160
159
  agentCredentialForApi,
160
+ make5,
161
161
  make6,
162
- make7,
163
162
  Service,
164
163
  shouldRefresh,
165
164
  refreshSession,
@@ -170,14 +169,15 @@ import {
170
169
  runMcpEffect,
171
170
  createAgentAuthSignedFetch,
172
171
  setupMcpAgentCredential
173
- } from "./chunk-yfn0hs5r.js";
172
+ } from "./chunk-mwkn1c5q.js";
174
173
  import {
175
174
  guard,
176
175
  Id,
177
176
  Timestamp,
178
177
  ActorType
179
- } from "./chunk-q5w3v4k1.js";
178
+ } from "./chunk-s8m2tzdr.js";
180
179
  import {
180
+ currentTimeMillis,
181
181
  join,
182
182
  interrupt,
183
183
  runForEach,
@@ -190,21 +190,21 @@ import {
190
190
  withDefault,
191
191
  option,
192
192
  String2
193
- } from "./chunk-0h49y8gf.js";
193
+ } from "./chunk-vktjb2p7.js";
194
194
  import {
195
195
  searchDocs2,
196
196
  readDoc2
197
- } from "./chunk-dgeyx2fa.js";
197
+ } from "./chunk-xc1grg7y.js";
198
198
  import {
199
199
  nextInt
200
- } from "./chunk-gq7y5v3e.js";
200
+ } from "./chunk-mm2m3bys.js";
201
201
  import {
202
202
  layerJson,
203
- make4,
203
+ make3,
204
204
  withHeaders,
205
205
  layerProtocolSocket,
206
206
  ConnectionHooks
207
- } from "./chunk-txf9spw3.js";
207
+ } from "./chunk-r08sz4ry.js";
208
208
 
209
209
  // apps/cli/src/mcp.ts
210
210
  import { tmpdir as tmpdir2 } from "os";
@@ -1956,56 +1956,56 @@ var LivePresenceSubscriptionMessage = Union([
1956
1956
  LivePresenceSubscriptionUpdate
1957
1957
  ]);
1958
1958
 
1959
- class LiveRpcs extends make7(make6("Session", {
1959
+ class LiveRpcs extends make6(make5("Session", {
1960
1960
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1961
1961
  error: LiveRpcError
1962
- }), make6("Subscribe", {
1962
+ }), make5("Subscribe", {
1963
1963
  payload: LiveSubscribeInput,
1964
1964
  success: LiveSubscriptionMessage,
1965
1965
  error: LiveRpcError,
1966
1966
  stream: true
1967
- }), make6("Replay", {
1967
+ }), make5("Replay", {
1968
1968
  payload: LiveReplayInput,
1969
1969
  success: ArraySchema(LiveEvent),
1970
1970
  error: LiveRpcError
1971
- }), make6("Ack", {
1971
+ }), make5("Ack", {
1972
1972
  payload: LiveAckInput,
1973
1973
  success: LiveAckResult,
1974
1974
  error: LiveRpcError
1975
- }), make6("SubscribeWeb", {
1975
+ }), make5("SubscribeWeb", {
1976
1976
  payload: LiveWebSubscribeInput,
1977
1977
  success: LiveWebSubscriptionMessage,
1978
1978
  error: LiveRpcError,
1979
1979
  stream: true
1980
- }), make6("SubscriptionStatus", {
1980
+ }), make5("SubscriptionStatus", {
1981
1981
  payload: { subscriptionId: String4 },
1982
1982
  success: LiveSubscriptionStatus,
1983
1983
  error: LiveRpcError
1984
- }), make6("ReplayWeb", {
1984
+ }), make5("ReplayWeb", {
1985
1985
  payload: LiveWebReplayInput,
1986
1986
  success: LiveWebReplayResult,
1987
1987
  error: LiveRpcError
1988
- }), make6("AckWeb", {
1988
+ }), make5("AckWeb", {
1989
1989
  payload: LiveWebAckInput,
1990
1990
  success: LiveWebAckResult,
1991
1991
  error: LiveRpcError
1992
- }), make6("PublishPresence", {
1992
+ }), make5("PublishPresence", {
1993
1993
  payload: LivePresencePublishInput,
1994
1994
  success: LivePresenceEntry,
1995
1995
  error: LiveRpcError
1996
- }), make6("SubscribePresence", {
1996
+ }), make5("SubscribePresence", {
1997
1997
  payload: LivePresenceSubscribeInput,
1998
1998
  success: LivePresenceSubscriptionMessage,
1999
1999
  error: LiveRpcError,
2000
2000
  stream: true
2001
- }), make6("ClearPresence", {
2001
+ }), make5("ClearPresence", {
2002
2002
  payload: { scope: optional(LiveScope) },
2003
2003
  error: LiveRpcError
2004
- }), make6("RecordSessionUpdate", {
2004
+ }), make5("RecordSessionUpdate", {
2005
2005
  payload: { sessionId: String4, input: SessionUpdateCreate },
2006
2006
  success: SessionUpdate,
2007
2007
  error: LiveRpcError
2008
- }), make6("EndSession", {
2008
+ }), make5("EndSession", {
2009
2009
  payload: { sessionId: String4, input: SessionEnd },
2010
2010
  success: Session,
2011
2011
  error: LiveRpcError
@@ -2057,7 +2057,7 @@ function connectKitmanLiveRoot(protocol) {
2057
2057
  })
2058
2058
  });
2059
2059
  const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2060
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2060
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2061
2061
  let abandon = () => {};
2062
2062
  const abandoned = new Promise((_resolve, reject) => {
2063
2063
  abandon = reject;
@@ -4,12 +4,12 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-z0a98xqg.js";
8
- import"./chunk-txf9spw3.js";
9
- import"./chunk-yfn0hs5r.js";
10
- import"./chunk-q5w3v4k1.js";
11
- import"./chunk-0h49y8gf.js";
12
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-at4e0xvg.js";
8
+ import"./chunk-r08sz4ry.js";
9
+ import"./chunk-mwkn1c5q.js";
10
+ import"./chunk-s8m2tzdr.js";
11
+ import"./chunk-vktjb2p7.js";
12
+ import"./chunk-x3cc7dfc.js";
13
13
  export {
14
14
  makeProgramRpcClient2 as makeProgramRpcClient,
15
15
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -41,7 +41,7 @@ import {
41
41
  isFailure2,
42
42
  hasInterrupts,
43
43
  makeUnsafe5,
44
- make16,
44
+ make15,
45
45
  _await,
46
46
  fail5,
47
47
  isDoneUnsafe,
@@ -168,14 +168,13 @@ import {
168
168
  decodeJsonStringSync,
169
169
  encodeUnknownJsonStringSync,
170
170
  storable
171
- } from "./chunk-zw3gf6r5.js";
171
+ } from "./chunk-x3cc7dfc.js";
172
172
  import {
173
173
  Id,
174
174
  secretReference,
175
175
  secretPlaceholder
176
- } from "./chunk-q5w3v4k1.js";
176
+ } from "./chunk-s8m2tzdr.js";
177
177
  import {
178
- currentTimeMillis,
179
178
  SecureRandom,
180
179
  layerWebCrypto,
181
180
  layer,
@@ -247,8 +246,9 @@ import {
247
246
  installCommand,
248
247
  checkServicesFile,
249
248
  checkServices
250
- } from "./chunk-yfn0hs5r.js";
249
+ } from "./chunk-mwkn1c5q.js";
251
250
  import {
251
+ currentTimeMillis,
252
252
  join,
253
253
  interrupt,
254
254
  unbounded,
@@ -256,7 +256,7 @@ import {
256
256
  unbounded2,
257
257
  offer,
258
258
  makeUnsafe3,
259
- make11,
259
+ make10,
260
260
  fromQueue,
261
261
  fromPubSub,
262
262
  map2,
@@ -288,7 +288,7 @@ import {
288
288
  writeSrtSettings2,
289
289
  srtStepArgv2,
290
290
  srtArgv2
291
- } from "./chunk-0h49y8gf.js";
291
+ } from "./chunk-vktjb2p7.js";
292
292
  import {
293
293
  writeAgentEnvironmentConfigFile2,
294
294
  readManifestSkillPaths2,
@@ -304,8 +304,8 @@ import {
304
304
  applyAgentEnvironmentMaterialization2,
305
305
  isPathWithin2,
306
306
  skillIdentity2
307
- } from "./chunk-scj257qb.js";
308
- import"./chunk-dpfxvmh3.js";
307
+ } from "./chunk-3teferzd.js";
308
+ import"./chunk-cg3xstek.js";
309
309
  import {
310
310
  egressAllowed,
311
311
  writeSecretRegistry,
@@ -315,7 +315,7 @@ import {
315
315
  secretFilter2,
316
316
  opaqueTunnelRefusal2,
317
317
  isOpaqueConnectReason2
318
- } from "./chunk-y1krmnbv.js";
318
+ } from "./chunk-skqn4h13.js";
319
319
  import {
320
320
  sliceBytes2,
321
321
  maxLineBytes2,
@@ -323,23 +323,23 @@ import {
323
323
  decodedOption2,
324
324
  decoded2,
325
325
  readOpencode2
326
- } from "./chunk-cbpb2rww.js";
326
+ } from "./chunk-cabmcvy1.js";
327
327
  import {
328
328
  uploadRunFile,
329
329
  programLease,
330
330
  rpcRunFiles,
331
331
  programHostsEnv,
332
332
  undeclaredHostsEnv
333
- } from "./chunk-cvzyx4wy.js";
334
- import"./chunk-z0a98xqg.js";
333
+ } from "./chunk-vmzr8xcg.js";
334
+ import"./chunk-at4e0xvg.js";
335
335
  import {
336
336
  nextInt
337
- } from "./chunk-gq7y5v3e.js";
337
+ } from "./chunk-mm2m3bys.js";
338
338
  import {
339
339
  ChildProcessSpawner,
340
- make3
341
- } from "./chunk-mtkstrh3.js";
342
- import"./chunk-txf9spw3.js";
340
+ make2
341
+ } from "./chunk-4nfan8t6.js";
342
+ import"./chunk-r08sz4ry.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -7037,7 +7037,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7037
7037
  const input = yield* unbounded2();
7038
7038
  const pending = new Map;
7039
7039
  let lastId = 0;
7040
- const handle = yield* spawner.spawn(make3(binary, ["app-server"], {
7040
+ const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
7041
7041
  cwd: env.home,
7042
7042
  extendEnv: true,
7043
7043
  env: { HOME: env.home, CODEX_HOME: env.codexHome },
@@ -7060,7 +7060,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
7060
7060
  return {
7061
7061
  request: (method, params) => gen(function* () {
7062
7062
  const id = ++lastId;
7063
- const deferred = yield* make16();
7063
+ const deferred = yield* make15();
7064
7064
  pending.set(id, deferred);
7065
7065
  yield* send({ id, method, params });
7066
7066
  return yield* _await(deferred).pipe(mapError2((error) => new CodexAppServerFailed({ reason: `${method}: ${error.message}` })));
@@ -7200,10 +7200,10 @@ var handshake = [
7200
7200
  `).join("");
7201
7201
  var kitmanMcpPreflight = (mcp) => gen(function* () {
7202
7202
  const spawner = yield* ChildProcessSpawner;
7203
- const server = yield* spawner.spawn(make3(mcp.command, [...mcp.args], {
7203
+ const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
7204
7204
  extendEnv: true,
7205
7205
  env: mcp.env,
7206
- stdin: { stream: make11(new TextEncoder().encode(handshake)), endOnDone: false },
7206
+ stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
7207
7207
  stderr: "ignore"
7208
7208
  }));
7209
7209
  const reply = yield* server.stdout.pipe(decodeText, splitLines, map2((line) => getOrUndefined(decodeJsonStringOption(line))), filter((message) => isJsonObject(message) && message.id === 2), runHead);
@@ -7276,8 +7276,8 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
7276
7276
  };
7277
7277
  const exitCode = sandbox === undefined ? yield* gen(function* () {
7278
7278
  const spawner = yield* ChildProcessSpawner;
7279
- const handle = yield* spawner.spawn(make3(input.bun ?? process.execPath, [file], {
7280
- stdin: make11(new TextEncoder().encode(stdin)),
7279
+ const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
7280
+ stdin: make10(new TextEncoder().encode(stdin)),
7281
7281
  stdout: "inherit",
7282
7282
  stderr: "inherit",
7283
7283
  extendEnv: false,
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-zw3gf6r5.js";
9
+ } from "./chunk-x3cc7dfc.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-0h49y8gf.js";
12
+ } from "./chunk-vktjb2p7.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-yfn0hs5r.js";
22
+ } from "./chunk-mwkn1c5q.js";
23
23
  import {
24
24
  layerJson,
25
- make4,
25
+ make3,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-txf9spw3.js";
28
+ } from "./chunk-r08sz4ry.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* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
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* make4(ProgramRpcs).pipe(provideContext2(protocol));
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)),
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-y1krmnbv.js";
8
- import"./chunk-q5w3v4k1.js";
9
- import"./chunk-zw3gf6r5.js";
7
+ } from "./chunk-skqn4h13.js";
8
+ import"./chunk-s8m2tzdr.js";
9
+ import"./chunk-x3cc7dfc.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,
@@ -25,16 +25,16 @@ import {
25
25
  isJsonObject,
26
26
  isString2,
27
27
  encodeUnknownJsonStringSync
28
- } from "./chunk-zw3gf6r5.js";
28
+ } from "./chunk-x3cc7dfc.js";
29
29
  import {
30
- make11,
30
+ make10,
31
31
  runForEach,
32
32
  compiled2
33
- } from "./chunk-0h49y8gf.js";
33
+ } from "./chunk-vktjb2p7.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
- make3
37
- } from "./chunk-mtkstrh3.js";
36
+ make2
37
+ } from "./chunk-4nfan8t6.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -167,8 +167,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
167
167
  var isolatedRead = (store, name, input) => gen(function* () {
168
168
  const spawner = yield* ChildProcessSpawner;
169
169
  const [command, ...args] = opencodeReaderCommand();
170
- const handle = yield* spawner.spawn(make3(command, args, {
171
- stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
170
+ const handle = yield* spawner.spawn(make2(command, args, {
171
+ stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
172
172
  stderr: "ignore",
173
173
  extendEnv: false,
174
174
  env: {},
@@ -24,11 +24,11 @@ import {
24
24
  Record,
25
25
  Int,
26
26
  fromJsonString
27
- } from "./chunk-zw3gf6r5.js";
27
+ } from "./chunk-x3cc7dfc.js";
28
28
  import {
29
29
  withDefault,
30
30
  String2
31
- } from "./chunk-0h49y8gf.js";
31
+ } from "./chunk-vktjb2p7.js";
32
32
  import {
33
33
  newerKitmanVersion,
34
34
  digestSha256,
@@ -39,7 +39,7 @@ import {
39
39
  get2,
40
40
  layer4,
41
41
  KitDigest
42
- } from "./chunk-yfn0hs5r.js";
42
+ } from "./chunk-mwkn1c5q.js";
43
43
 
44
44
  // packages/core/src/npm-registry.ts
45
45
  var KitManifest = Struct({
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-mtkstrh3.js";
2
+ import"./chunk-4nfan8t6.js";
3
3
  import {
4
4
  HERDR_CORE_GENERATION2,
5
5
  HERDR_CORE_INSTALL_COMMAND2,
@@ -12,9 +12,9 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-yfn0hs5r.js";
16
- import"./chunk-0h49y8gf.js";
17
- import"./chunk-zw3gf6r5.js";
15
+ } from "./chunk-mwkn1c5q.js";
16
+ import"./chunk-vktjb2p7.js";
17
+ import"./chunk-x3cc7dfc.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-dgeyx2fa.js";
7
+ } from "./chunk-xc1grg7y.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-zw3gf6r5.js";
6
+ } from "./chunk-x3cc7dfc.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;