@kitman-sh/cli 0.12.0-rc.6 → 0.12.0-rc.7

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.
@@ -1444,7 +1444,7 @@ var pathOfLink = (link) => {
1444
1444
  return page === null ? link : page[1] || "index";
1445
1445
  };
1446
1446
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1447
- var pinnedLink2 = (link, version = "0.12.0-rc.6") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1447
+ var pinnedLink2 = (link, version = "0.12.0-rc.7") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1448
1448
  var pageOf = (path) => path.split("#")[0];
1449
1449
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1450
1450
  function excerpt(text, queryTerms) {
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-fxm2jhbd.js";
7
+ } from "./chunk-2e91ymwn.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -2328,7 +2328,7 @@ var package_default = {
2328
2328
  };
2329
2329
 
2330
2330
  // apps/cli/src/scaffold.ts
2331
- var cliVersion = "0.12.0-rc.6";
2331
+ var cliVersion = "0.12.0-rc.7";
2332
2332
  var packageJson = (name, scaffold) => `${JSON.stringify({
2333
2333
  name,
2334
2334
  private: true,
@@ -4014,7 +4014,7 @@ function mcpCommand(args) {
4014
4014
  if (command.action === "run") {
4015
4015
  if (command.args.length > 0)
4016
4016
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4017
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-r7f8tjc8.js"));
4017
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-xe8qf2xy.js"));
4018
4018
  return yield* runMcpServerCommand({ flags: command.flags });
4019
4019
  }
4020
4020
  if (command.action !== "setup")
@@ -4502,7 +4502,7 @@ function programLoopCommand(command) {
4502
4502
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4503
4503
  });
4504
4504
  }
4505
- var docsModule = promise(() => import("./chunk-bvf6e6yg.js"));
4505
+ var docsModule = promise(() => import("./chunk-8twjqszj.js"));
4506
4506
  function docsCommand(args) {
4507
4507
  return gen(function* () {
4508
4508
  const command = parseCommand(args);
@@ -5335,9 +5335,9 @@ function changeRequestCommand(args) {
5335
5335
  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}`);
5336
5336
  });
5337
5337
  }
5338
- var KitWriter = map8(promise(() => import("./chunk-x6vj1tf8.js")), (build) => build.writeKit);
5338
+ var KitWriter = map8(promise(() => import("./chunk-bheg4ybe.js")), (build) => build.writeKit);
5339
5339
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5340
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-x6vj1tf8.js")), (build) => build.buildKit(directory))
5340
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-bheg4ybe.js")), (build) => build.buildKit(directory))
5341
5341
  });
5342
5342
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5343
5343
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -196,7 +196,7 @@ import {
196
196
  import {
197
197
  searchDocs2,
198
198
  readDoc2
199
- } from "./chunk-fxm2jhbd.js";
199
+ } from "./chunk-2e91ymwn.js";
200
200
  import {
201
201
  nextInt
202
202
  } from "./chunk-nzjb36ad.js";
package/dist/index.js CHANGED
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
14
14
  const { runOpencodeReader } = await import("./chunk-0346hwh6.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-ktr2smac.js");
17
+ const { runCli } = await import("./chunk-xcf887a4.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.12.0-rc.6",
3
+ "version": "0.12.0-rc.7",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {
@@ -35,6 +35,14 @@ import {
35
35
  } from "./chunk-vtfwjhzh.js";
36
36
  import"./chunk-0qz10ek8.js";
37
37
  import"./chunk-c6rbt85q.js";
38
+ import {
39
+ decodeText,
40
+ mkString,
41
+ FileSystem,
42
+ Path,
43
+ withDefault,
44
+ String2
45
+ } from "./chunk-gspfm7qh.js";
38
46
  import {
39
47
  SecureRandom,
40
48
  layerWebCrypto,
@@ -47,14 +55,6 @@ import {
47
55
  kitmanMcpServer,
48
56
  RunnerRpcProtocolVersion
49
57
  } from "./chunk-1t12wvv1.js";
50
- import {
51
- decodeText,
52
- mkString,
53
- FileSystem,
54
- Path,
55
- withDefault,
56
- String2
57
- } from "./chunk-gspfm7qh.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches