@kitman-sh/cli 0.10.65 → 0.10.66

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.
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-1v319b82.js";
126
+ } from "./chunk-fc0y8kn7.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")) {
@@ -197,7 +197,7 @@ import {
197
197
  harnessNames,
198
198
  herdrRunnerCapabilities2,
199
199
  declaredChecks
200
- } from "./chunk-1v319b82.js";
200
+ } from "./chunk-fc0y8kn7.js";
201
201
  import {
202
202
  Id
203
203
  } from "./chunk-rrnee9mk.js";
@@ -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-1zt2rcea.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
507
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9pp1w29g.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-1zt2rcea.js")), (module) => module.updateHerdrCore(options))
510
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-9pp1w29g.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-qp07hf3f.js"));
736
+ const { syncKitSetup } = yield* promise(() => import("./chunk-n0h0z7yh.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)
@@ -1651,7 +1651,7 @@ var package_default = {
1651
1651
  };
1652
1652
 
1653
1653
  // apps/cli/src/scaffold.ts
1654
- var cliVersion = "0.10.65";
1654
+ var cliVersion = "0.10.66";
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-k4vvmwvj.js"));
1904
+ var agentRuntime = promise(() => import("./chunk-b90vtscf.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-7xtst67f.js"));
2759
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-t6w469gd.js"));
2760
2760
  return yield* makeRunnerRpcClient({
2761
2761
  runnerId: options.runnerId,
2762
2762
  bearer: options.bearer,
@@ -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-mvvp19kb.js"));
3143
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-8mj0z3hb.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-ysw716r4.js")), (build) => build.writeKit);
4345
+ var KitWriter = map8(promise(() => import("./chunk-qp5cdtsr.js")), (build) => build.writeKit);
4346
4346
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4347
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-ysw716r4.js")), (build) => build.buildKit(directory))
4347
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-qp5cdtsr.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) });
@@ -153,7 +153,7 @@ import {
153
153
  runMcpEffect,
154
154
  createAgentAuthSignedFetch,
155
155
  setupMcpAgentCredential
156
- } from "./chunk-1v319b82.js";
156
+ } from "./chunk-fc0y8kn7.js";
157
157
  import {
158
158
  guard,
159
159
  Id,
@@ -197,7 +197,7 @@ import {
197
197
  withHeaders,
198
198
  layerProtocolSocket,
199
199
  ConnectionHooks
200
- } from "./chunk-hmwvsfgq.js";
200
+ } from "./chunk-2z450w92.js";
201
201
 
202
202
  // apps/cli/src/mcp.ts
203
203
  import { tmpdir } from "os";
@@ -12,7 +12,7 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-1v319b82.js";
15
+ } from "./chunk-fc0y8kn7.js";
16
16
  import"./chunk-dk0ftqwg.js";
17
17
  import"./chunk-d3ksv8y1.js";
18
18
  export {
@@ -225,7 +225,7 @@ import {
225
225
  installCommand,
226
226
  checkServicesFile,
227
227
  checkServices
228
- } from "./chunk-1v319b82.js";
228
+ } from "./chunk-fc0y8kn7.js";
229
229
  import {
230
230
  join,
231
231
  interrupt,
@@ -281,8 +281,8 @@ import {
281
281
  applyAgentEnvironmentMaterialization2,
282
282
  isPathWithin2,
283
283
  skillIdentity2
284
- } from "./chunk-kebax0r8.js";
285
- import"./chunk-gbsqf61e.js";
284
+ } from "./chunk-fsbpm71s.js";
285
+ import"./chunk-cctfnp4r.js";
286
286
  import {
287
287
  sliceBytes2,
288
288
  maxLineBytes2,
@@ -302,8 +302,8 @@ import {
302
302
  rpcRunFiles,
303
303
  programHostsEnv,
304
304
  undeclaredHostsEnv
305
- } from "./chunk-y1328g78.js";
306
- import"./chunk-rzxt9mb5.js";
305
+ } from "./chunk-gfr11y10.js";
306
+ import"./chunk-p8akhcme.js";
307
307
  import {
308
308
  nextInt
309
309
  } from "./chunk-q3c7vmby.js";
@@ -311,7 +311,7 @@ import {
311
311
  ChildProcessSpawner,
312
312
  make3
313
313
  } from "./chunk-1rry0tsn.js";
314
- import"./chunk-hmwvsfgq.js";
314
+ import"./chunk-2z450w92.js";
315
315
 
316
316
  // packages/core/src/sync-kit.ts
317
317
  import { createHash } from "crypto";
@@ -3288,7 +3288,8 @@ var runAttempt = (request, options) => gen(function* () {
3288
3288
  }
3289
3289
  default:
3290
3290
  yield* requireKitCommands(kitSetup, runsOnHost);
3291
- return { argv: harnessArgv, env: policy.environment, registry: undefined };
3291
+ const env = { ...yield* inheritedEnvironment2(["SSH_AUTH_SOCK"]), ...policy.environment };
3292
+ return { argv: harnessArgv, env, registry: undefined };
3292
3293
  }
3293
3294
  });
3294
3295
  const command = yield* result(tap2(sandboxed, ({ registry }) => andThen2(writeHarnessFiles({
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-1v319b82.js";
41
+ } from "./chunk-fc0y8kn7.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -356,6 +356,7 @@ import {
356
356
  parseFdName,
357
357
  fdName
358
358
  } from "./chunk-1rry0tsn.js";
359
+
359
360
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Tuple.js
360
361
  var makeEquivalence3 = Tuple;
361
362
 
@@ -37,10 +37,10 @@ import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-1v319b82.js";
40
+ } from "./chunk-fc0y8kn7.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-gbsqf61e.js";
43
+ } from "./chunk-cctfnp4r.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -105,7 +105,7 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-1v319b82.js";
108
+ } from "./chunk-fc0y8kn7.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
@@ -26,15 +26,15 @@ import {
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-kebax0r8.js";
29
+ } from "./chunk-fsbpm71s.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-1v319b82.js";
37
- import"./chunk-gbsqf61e.js";
36
+ } from "./chunk-fc0y8kn7.js";
37
+ import"./chunk-cctfnp4r.js";
38
38
  import"./chunk-1rry0tsn.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-1v319b82.js";
22
+ } from "./chunk-fc0y8kn7.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-hmwvsfgq.js";
28
+ } from "./chunk-2z450w92.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -35,6 +35,14 @@ import {
35
35
  } from "./chunk-d3ksv8y1.js";
36
36
  import"./chunk-rrnee9mk.js";
37
37
  import"./chunk-v01c0k6j.js";
38
+ import {
39
+ decodeText,
40
+ mkString,
41
+ FileSystem,
42
+ Path,
43
+ withDefault,
44
+ String2
45
+ } from "./chunk-dk0ftqwg.js";
38
46
  import {
39
47
  SecureRandom,
40
48
  layerWebCrypto,
@@ -46,31 +54,23 @@ import {
46
54
  layer4,
47
55
  kitmanMcpServer,
48
56
  RunnerRpcProtocolVersion
49
- } from "./chunk-1v319b82.js";
50
- import {
51
- decodeText,
52
- mkString,
53
- FileSystem,
54
- Path,
55
- withDefault,
56
- String2
57
- } from "./chunk-dk0ftqwg.js";
57
+ } from "./chunk-fc0y8kn7.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-gbsqf61e.js";
62
- import"./chunk-rzxt9mb5.js";
61
+ } from "./chunk-cctfnp4r.js";
62
+ import"./chunk-p8akhcme.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-y1328g78.js";
68
+ } from "./chunk-gfr11y10.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
71
  make3
72
72
  } from "./chunk-1rry0tsn.js";
73
- import"./chunk-hmwvsfgq.js";
73
+ import"./chunk-2z450w92.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -4,9 +4,9 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-rzxt9mb5.js";
8
- import"./chunk-hmwvsfgq.js";
9
- import"./chunk-1v319b82.js";
7
+ } from "./chunk-p8akhcme.js";
8
+ import"./chunk-2z450w92.js";
9
+ import"./chunk-fc0y8kn7.js";
10
10
  import"./chunk-rrnee9mk.js";
11
11
  import"./chunk-v01c0k6j.js";
12
12
  import"./chunk-dk0ftqwg.js";
package/dist/index.js CHANGED
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
14
14
  const { runOpencodeReader } = await import("./chunk-60333x3q.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-cc4cy79t.js");
17
+ const { runCli } = await import("./chunk-7zm5er63.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.10.65",
3
+ "version": "0.10.66",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {