@kitman-sh/cli 0.10.77 → 0.10.78

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.
@@ -197,7 +197,7 @@ import {
197
197
  harnessNames,
198
198
  herdrRunnerCapabilities2,
199
199
  declaredChecks
200
- } from "./chunk-nhf6p7cm.js";
200
+ } from "./chunk-g4j97dv5.js";
201
201
  import {
202
202
  Id
203
203
  } from "./chunk-545b129z.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-sf3qqe2h.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
507
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-5sdw5ws3.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-sf3qqe2h.js")), (module) => module.updateHerdrCore(options))
510
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-5sdw5ws3.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-a92c5em8.js"));
736
+ const { syncKitSetup } = yield* promise(() => import("./chunk-k0bjhj9m.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.77";
1654
+ var cliVersion = "0.10.78";
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-dgsdek8k.js"));
1904
+ var agentRuntime = promise(() => import("./chunk-whyjvrf2.js"));
1905
1905
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
1906
1906
  defaultValue: () => gen(function* () {
1907
1907
  const tui = yield* tryPromise({
@@ -2777,7 +2777,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
2777
2777
  });
2778
2778
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
2779
2779
  defaultValue: () => (options) => gen(function* () {
2780
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-2255yqwy.js"));
2780
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-697qeg1j.js"));
2781
2781
  return yield* makeRunnerRpcClient({
2782
2782
  runnerId: options.runnerId,
2783
2783
  bearer: options.bearer,
@@ -3161,7 +3161,7 @@ function mcpCommand(args) {
3161
3161
  if (command.action === "run") {
3162
3162
  if (command.args.length > 0)
3163
3163
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
3164
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-9j3jg9mp.js"));
3164
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-apjzbve5.js"));
3165
3165
  return yield* runMcpServerCommand({ flags: command.flags });
3166
3166
  }
3167
3167
  if (command.action !== "setup")
@@ -4372,9 +4372,9 @@ function claimCommand(args) {
4372
4372
  }
4373
4373
  });
4374
4374
  }
4375
- var KitWriter = map8(promise(() => import("./chunk-7e9frsmw.js")), (build) => build.writeKit);
4375
+ var KitWriter = map8(promise(() => import("./chunk-bj8jqwk3.js")), (build) => build.writeKit);
4376
4376
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
4377
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-7e9frsmw.js")), (build) => build.buildKit(directory))
4377
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-bj8jqwk3.js")), (build) => build.buildKit(directory))
4378
4378
  });
4379
4379
  var uploadKit = (client, workspaceId, built) => gen(function* () {
4380
4380
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -12,7 +12,7 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-nhf6p7cm.js";
15
+ } from "./chunk-g4j97dv5.js";
16
16
  import"./chunk-xb70ys3n.js";
17
17
  import"./chunk-jbwk6k6m.js";
18
18
  export {
@@ -4,9 +4,9 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-vhresvbb.js";
8
- import"./chunk-zseac376.js";
9
- import"./chunk-nhf6p7cm.js";
7
+ } from "./chunk-nnq8d7k0.js";
8
+ import"./chunk-cn6h21ar.js";
9
+ import"./chunk-g4j97dv5.js";
10
10
  import"./chunk-545b129z.js";
11
11
  import"./chunk-tzz4fv17.js";
12
12
  import"./chunk-xb70ys3n.js";
@@ -105,7 +105,7 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-nhf6p7cm.js";
108
+ } from "./chunk-g4j97dv5.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
@@ -757,6 +757,8 @@ var PipelineStatus = Struct({
757
757
  runnerChecks: optionalKey(ArraySchema(String4)),
758
758
  approved: optionalKey(String4),
759
759
  repository: optionalKey(String4),
760
+ conflicts: optionalKey(Boolean2),
761
+ needsRebase: optionalKey(Boolean2),
760
762
  target: optionalKey(Struct({ branch: String4, head: String4, jobs: ArraySchema(PipelineJob) }))
761
763
  });
762
764
  var ReviewThread = Struct({
@@ -153,7 +153,7 @@ import {
153
153
  runMcpEffect,
154
154
  createAgentAuthSignedFetch,
155
155
  setupMcpAgentCredential
156
- } from "./chunk-nhf6p7cm.js";
156
+ } from "./chunk-g4j97dv5.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-zseac376.js";
200
+ } from "./chunk-cn6h21ar.js";
201
201
 
202
202
  // apps/cli/src/mcp.ts
203
203
  import { tmpdir } from "os";
@@ -35,6 +35,14 @@ import {
35
35
  } from "./chunk-jbwk6k6m.js";
36
36
  import"./chunk-545b129z.js";
37
37
  import"./chunk-tzz4fv17.js";
38
+ import {
39
+ decodeText,
40
+ mkString,
41
+ FileSystem,
42
+ Path,
43
+ withDefault,
44
+ String2
45
+ } from "./chunk-xb70ys3n.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-nhf6p7cm.js";
50
- import {
51
- decodeText,
52
- mkString,
53
- FileSystem,
54
- Path,
55
- withDefault,
56
- String2
57
- } from "./chunk-xb70ys3n.js";
57
+ } from "./chunk-g4j97dv5.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-s4bjz35z.js";
62
- import"./chunk-vhresvbb.js";
61
+ } from "./chunk-qbsqc416.js";
62
+ import"./chunk-nnq8d7k0.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-b0h322y4.js";
68
+ } from "./chunk-6h16wtxk.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
71
  make3
72
72
  } from "./chunk-98sg1yyd.js";
73
- import"./chunk-zseac376.js";
73
+ import"./chunk-cn6h21ar.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -37,10 +37,10 @@ import {
37
37
  AgentHarnessIds,
38
38
  sha2562,
39
39
  runCommand2
40
- } from "./chunk-nhf6p7cm.js";
40
+ } from "./chunk-g4j97dv5.js";
41
41
  import {
42
42
  NpmRegistry
43
- } from "./chunk-s4bjz35z.js";
43
+ } from "./chunk-qbsqc416.js";
44
44
 
45
45
  // packages/agent-runtime/src/config-convergence.ts
46
46
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-nhf6p7cm.js";
126
+ } from "./chunk-g4j97dv5.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")) {
@@ -14135,6 +14135,8 @@ class RunnerCapabilityRpcs extends make7(make6("PutQuestion", {
14135
14135
  runnerChecks: optionalKey(ArraySchema(String4)),
14136
14136
  approved: optionalKey(String4),
14137
14137
  repository: optionalKey(String4),
14138
+ conflicts: optionalKey(Boolean2),
14139
+ needsRebase: optionalKey(Boolean2),
14138
14140
  target: optionalKey(Struct({
14139
14141
  branch: String4,
14140
14142
  head: String4,
@@ -26,15 +26,15 @@ import {
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-txvkd5pd.js";
29
+ } from "./chunk-bqpj1be3.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-nhf6p7cm.js";
37
- import"./chunk-s4bjz35z.js";
36
+ } from "./chunk-g4j97dv5.js";
37
+ import"./chunk-qbsqc416.js";
38
38
  import"./chunk-98sg1yyd.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-nhf6p7cm.js";
22
+ } from "./chunk-g4j97dv5.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-zseac376.js";
28
+ } from "./chunk-cn6h21ar.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -38,7 +38,7 @@ import {
38
38
  get2,
39
39
  layer4,
40
40
  KitDigest
41
- } from "./chunk-nhf6p7cm.js";
41
+ } from "./chunk-g4j97dv5.js";
42
42
 
43
43
  // packages/core/src/npm-registry.ts
44
44
  var KitManifest = Struct({
@@ -243,7 +243,7 @@ import {
243
243
  installCommand,
244
244
  checkServicesFile,
245
245
  checkServices
246
- } from "./chunk-nhf6p7cm.js";
246
+ } from "./chunk-g4j97dv5.js";
247
247
  import {
248
248
  join,
249
249
  interrupt,
@@ -299,8 +299,8 @@ import {
299
299
  applyAgentEnvironmentMaterialization2,
300
300
  isPathWithin2,
301
301
  skillIdentity2
302
- } from "./chunk-txvkd5pd.js";
303
- import"./chunk-s4bjz35z.js";
302
+ } from "./chunk-bqpj1be3.js";
303
+ import"./chunk-qbsqc416.js";
304
304
  import {
305
305
  egressAllowed,
306
306
  writeSecretRegistry,
@@ -325,8 +325,8 @@ import {
325
325
  rpcRunFiles,
326
326
  programHostsEnv,
327
327
  undeclaredHostsEnv
328
- } from "./chunk-b0h322y4.js";
329
- import"./chunk-vhresvbb.js";
328
+ } from "./chunk-6h16wtxk.js";
329
+ import"./chunk-nnq8d7k0.js";
330
330
  import {
331
331
  nextInt
332
332
  } from "./chunk-76ctrqm6.js";
@@ -334,7 +334,7 @@ import {
334
334
  ChildProcessSpawner,
335
335
  make3
336
336
  } from "./chunk-98sg1yyd.js";
337
- import"./chunk-zseac376.js";
337
+ import"./chunk-cn6h21ar.js";
338
338
 
339
339
  // packages/core/src/sync-kit.ts
340
340
  import { createHash } from "crypto";
package/dist/index.js CHANGED
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
14
14
  const { runOpencodeReader } = await import("./chunk-9zd52pda.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-jyabymms.js");
17
+ const { runCli } = await import("./chunk-5aebee0q.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.77",
3
+ "version": "0.10.78",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {