@kitman-sh/cli 0.47.0 → 0.48.1

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.
@@ -2230,7 +2230,7 @@ var pathOfLink = (link) => {
2230
2230
  return page === null ? link : page[1] || "index";
2231
2231
  };
2232
2232
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2233
- var pinnedLink2 = (link, version = "0.47.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2233
+ var pinnedLink2 = (link, version = "0.48.1") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2234
2234
  var pageOf = (path) => path.split("#")[0];
2235
2235
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2236
2236
  function excerpt(text, queryTerms) {
@@ -123,10 +123,6 @@ import {
123
123
  option,
124
124
  String2
125
125
  } from "./chunk-xajmb07d.js";
126
- import {
127
- ChildProcessSpawner,
128
- make2
129
- } from "./chunk-zr1kvjzj.js";
130
126
  import {
131
127
  SecureRandom,
132
128
  layerWebCrypto,
@@ -258,6 +254,10 @@ import {
258
254
  herdrRunnerCapabilities2,
259
255
  declaredChecks
260
256
  } from "./chunk-qvvph24z.js";
257
+ import {
258
+ ChildProcessSpawner,
259
+ make2
260
+ } from "./chunk-zr1kvjzj.js";
261
261
  import {
262
262
  Id,
263
263
  Timestamp
@@ -3295,7 +3295,7 @@ var shipped_steps_generated_default = {
3295
3295
  };
3296
3296
 
3297
3297
  // apps/cli/src/scaffold-files.ts
3298
- var cliVersion = "0.47.0";
3298
+ var cliVersion = "0.48.1";
3299
3299
  var shippedLoopSteps = new Map(Object.entries(shipped_steps_generated_default));
3300
3300
  var loopSteps = (loop) => shippedLoopSteps.get(loop) ?? [];
3301
3301
  var replacedStep = (loop) => loopSteps(loop).find((step) => step.from === defaultKitName && step.exported?.startsWith("steps.") === true);
@@ -3560,7 +3560,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
3560
3560
 
3561
3561
  // apps/cli/src/commands.ts
3562
3562
  var ClientId = "kitman-cli";
3563
- var agentRuntime = promise(() => import("./chunk-6k9tx4pd.js"));
3563
+ var agentRuntime = promise(() => import("./chunk-cv7xg2ps.js"));
3564
3564
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
3565
3565
  defaultValue: () => gen(function* () {
3566
3566
  const tui = yield* tryPromise({
@@ -5711,7 +5711,7 @@ function mcpCommand(args) {
5711
5711
  if (command.action === "run") {
5712
5712
  if (command.args.length > 0)
5713
5713
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
5714
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-jadpg7nn.js"));
5714
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-xnzk9v00.js"));
5715
5715
  return yield* runMcpServerCommand({ flags: command.flags });
5716
5716
  }
5717
5717
  if (command.action !== "setup")
@@ -6211,7 +6211,7 @@ function programLoopCommand(command) {
6211
6211
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
6212
6212
  });
6213
6213
  }
6214
- var docsModule = promise(() => import("./chunk-vnfyq39n.js"));
6214
+ var docsModule = promise(() => import("./chunk-8mndybf5.js"));
6215
6215
  function docsCommand(args) {
6216
6216
  return gen(function* () {
6217
6217
  const command = parseCommand(args);
@@ -7222,7 +7222,7 @@ function changeRequestCommand(args) {
7222
7222
  yield* log(command.action === "approve" ? `Approved ${short} of ${changeRequest.title}. A Run waiting on approval of ${short} resumes; one waiting on another head does not.` : `Requested changes to ${short} of ${changeRequest.title}`);
7223
7223
  });
7224
7224
  }
7225
- var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-tf1ctv78.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7225
+ var readOutlines = (directory) => flatMap3(promise(() => import("./chunk-wr2yqtwt.js")), (build) => build.readOutlines(directory)).pipe(mapError2((error) => new CliError({ message: error.message })));
7226
7226
  var loopOutline = (command) => gen(function* () {
7227
7227
  const path = yield* Path;
7228
7228
  const loop = requiredArg(command, "a Loop id");
@@ -7242,9 +7242,9 @@ var loopOutline = (command) => gen(function* () {
7242
7242
  `).pipe(mapError2((error) => new CliError({ message: error.message })));
7243
7243
  yield* log(`Wrote the outline of ${loop} to ${out}`);
7244
7244
  });
7245
- var KitWriter = map9(promise(() => import("./chunk-tf1ctv78.js")), (build) => build.writeKit);
7245
+ var KitWriter = map9(promise(() => import("./chunk-wr2yqtwt.js")), (build) => build.writeKit);
7246
7246
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
7247
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-tf1ctv78.js")), (build) => build.buildKit(directory))
7247
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-wr2yqtwt.js")), (build) => build.buildKit(directory))
7248
7248
  });
7249
7249
  var uploadKit = (client, workspaceId, built) => gen(function* () {
7250
7250
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-t2e3vp41.js";
7
+ } from "./chunk-759fz776.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -32,8 +32,8 @@ import {
32
32
  materializeKitSetup,
33
33
  tomlInline
34
34
  } from "./chunk-qvvph24z.js";
35
- import"./chunk-zr1kvjzj.js";
36
35
  import"./chunk-e2dszepq.js";
36
+ import"./chunk-zr1kvjzj.js";
37
37
  import"./chunk-4vxbxjf8.js";
38
38
 
39
39
  // packages/agent-runtime/src/kit-setup-sync.ts
@@ -192,7 +192,7 @@ import {
192
192
  import {
193
193
  searchDocs2,
194
194
  readDoc2
195
- } from "./chunk-t2e3vp41.js";
195
+ } from "./chunk-759fz776.js";
196
196
  import {
197
197
  nextInt
198
198
  } from "./chunk-04wqa07j.js";
package/dist/index.js CHANGED
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
14
14
  const { runOpencodeReader } = await import("./chunk-kaqwjb64.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-3h6f6wzc.js");
17
+ const { runCli } = await import("./chunk-7cqhmc6t.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.47.0",
3
+ "version": "0.48.1",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "bin": {
@@ -345,10 +345,6 @@ import {
345
345
  skillIdentity2
346
346
  } from "./chunk-0hb5d4rz.js";
347
347
  import"./chunk-e2dszepq.js";
348
- import {
349
- ChildProcessSpawner,
350
- make2
351
- } from "./chunk-zr1kvjzj.js";
352
348
  import {
353
349
  egressAllowed,
354
350
  writeSecretRegistry,
@@ -381,6 +377,10 @@ import {
381
377
  nextInt
382
378
  } from "./chunk-04wqa07j.js";
383
379
  import"./chunk-9ykh05hz.js";
380
+ import {
381
+ ChildProcessSpawner,
382
+ make2
383
+ } from "./chunk-zr1kvjzj.js";
384
384
  import"./chunk-dh7ewhqd.js";
385
385
  import {
386
386
  Id,
@@ -65,10 +65,6 @@ import {
65
65
  Packument,
66
66
  tarballMatches
67
67
  } from "./chunk-e2dszepq.js";
68
- import {
69
- ChildProcessSpawner,
70
- make2
71
- } from "./chunk-zr1kvjzj.js";
72
68
  import {
73
69
  stepDefinedTwice,
74
70
  hostSteps,
@@ -78,6 +74,10 @@ import {
78
74
  } from "./chunk-cps0774f.js";
79
75
  import"./chunk-0n9f624b.js";
80
76
  import"./chunk-9ykh05hz.js";
77
+ import {
78
+ ChildProcessSpawner,
79
+ make2
80
+ } from "./chunk-zr1kvjzj.js";
81
81
  import"./chunk-dh7ewhqd.js";
82
82
  import"./chunk-4vxbxjf8.js";
83
83