@kitman-sh/cli 0.12.16 → 0.13.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.
- package/dist/{chunk-6ymzrhwd.js → chunk-bc5r812r.js} +2 -2
- package/dist/{chunk-7vkmemp0.js → chunk-d4pqzzgy.js} +5 -5
- package/dist/{chunk-rcdk29fp.js → chunk-qt4r0rxn.js} +1 -1
- package/dist/{chunk-fn9w3x0q.js → chunk-r3mv87g6.js} +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/{chunk-hrdbtqex.js → chunk-44mcajbw.js} +8 -8
|
@@ -685,7 +685,7 @@ Deleting a Milestone or a Project takes its Tasks out of it; the Tasks stay.`
|
|
|
685
685
|
path: "projects-and-views#when-a-project-releases",
|
|
686
686
|
level: 3,
|
|
687
687
|
link: "https://kitman.sh/knowledge/docs/projects-and-views#when-a-project-releases",
|
|
688
|
-
text: "### When a Project releases\n\nBy default Release runs after each merge. Under **Settings \u2192 Delivery and releases**, the Workspace sets when Release runs, and a Team can choose its own: on each merge, when a Milestone is done, or when the Project is done. A Project sets its own on its page, under **Release**, and otherwise inherits its Team's. A Shepherd or Release Run can still override it for itself, for example to release a hotfix on merge.\n\nName a Project by its version, such as `0.11.0`. When a Project releases per Milestone, the last Task of each Milestone to finish starts one Release: each Milestone before the last cuts the next release candidate (`0.11.0-rc.1`, `0.11.0-rc.2`, ...), and the Milestone that finishes the Project cuts `0.11.0`. When it releases per Project, one Release cuts `0.11.0` once all its Tasks are done. Canceled and duplicate Tasks do not hold a Milestone or Project open. Merges in between start no Release. The Release Run shows the Milestone or Project that started it and the Tasks it ships, and every Shepherd and Release Run shows the trigger it used and where that came from.\n\nFrom a terminal, `kitman release workspace|team <team>|project <project> [merge|milestone|project|inherit]` reads or sets it; Code Mode's `workspaces.releaseTrigger`, `teams.releaseTrigger` and `projects.releaseTrigger` do the same."
|
|
688
|
+
text: "### When a Project releases\n\nBy default Release runs after each merge. Under **Settings \u2192 Delivery and releases**, the Workspace sets when Release runs, and a Team can choose its own: on each merge, when a Milestone is done, or when the Project is done. A Project sets its own on its page, under **Release**, and otherwise inherits its Team's. A Shepherd or Release Run can still override it for itself, for example to release a hotfix on merge.\n\nName a Project by its version, such as `0.11.0`. When a Project releases per Milestone, the last Task of each Milestone to finish starts one Release: each Milestone before the last cuts the next release candidate (`0.11.0-rc.1`, `0.11.0-rc.2`, ...), and the Milestone that finishes the Project cuts `0.11.0`. When it releases per Project, one Release cuts `0.11.0` once all its Tasks are done. Canceled and duplicate Tasks do not hold a Milestone or Project open. Merges in between start no Release. A Project that releases on each merge, by its own setting or one it inherits, never cuts its version: each merge ships under the next version tag, and the Project's page says so under **Release**. The Release Run shows the Milestone or Project that started it and the Tasks it ships, and every Shepherd and Release Run shows the trigger it used and where that came from.\n\nFrom a terminal, `kitman release workspace|team <team>|project <project> [merge|milestone|project|inherit]` reads or sets it; Code Mode's `workspaces.releaseTrigger`, `teams.releaseTrigger` and `projects.releaseTrigger` do the same."
|
|
689
689
|
},
|
|
690
690
|
{
|
|
691
691
|
title: "Projects and Saved Views \u203A Where a Project's work lands",
|
|
@@ -1503,7 +1503,7 @@ var pathOfLink = (link) => {
|
|
|
1503
1503
|
return page === null ? link : page[1] || "index";
|
|
1504
1504
|
};
|
|
1505
1505
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
1506
|
-
var pinnedLink2 = (link, version = "0.
|
|
1506
|
+
var pinnedLink2 = (link, version = "0.13.1") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
1507
1507
|
var pageOf = (path) => path.split("#")[0];
|
|
1508
1508
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
1509
1509
|
function excerpt(text, queryTerms) {
|
|
@@ -2331,7 +2331,7 @@ var package_default = {
|
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
2333
|
// apps/cli/src/scaffold.ts
|
|
2334
|
-
var cliVersion = "0.
|
|
2334
|
+
var cliVersion = "0.13.1";
|
|
2335
2335
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
2336
2336
|
name,
|
|
2337
2337
|
private: true,
|
|
@@ -4039,7 +4039,7 @@ function mcpCommand(args) {
|
|
|
4039
4039
|
if (command.action === "run") {
|
|
4040
4040
|
if (command.args.length > 0)
|
|
4041
4041
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
4042
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
4042
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-r3mv87g6.js"));
|
|
4043
4043
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
4044
4044
|
}
|
|
4045
4045
|
if (command.action !== "setup")
|
|
@@ -4527,7 +4527,7 @@ function programLoopCommand(command) {
|
|
|
4527
4527
|
return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
|
|
4528
4528
|
});
|
|
4529
4529
|
}
|
|
4530
|
-
var docsModule = promise(() => import("./chunk-
|
|
4530
|
+
var docsModule = promise(() => import("./chunk-qt4r0rxn.js"));
|
|
4531
4531
|
function docsCommand(args) {
|
|
4532
4532
|
return gen(function* () {
|
|
4533
4533
|
const command = parseCommand(args);
|
|
@@ -5361,9 +5361,9 @@ function changeRequestCommand(args) {
|
|
|
5361
5361
|
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}`);
|
|
5362
5362
|
});
|
|
5363
5363
|
}
|
|
5364
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
5364
|
+
var KitWriter = map8(promise(() => import("./chunk-44mcajbw.js")), (build) => build.writeKit);
|
|
5365
5365
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
5366
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
5366
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-44mcajbw.js")), (build) => build.buildKit(directory))
|
|
5367
5367
|
});
|
|
5368
5368
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
5369
5369
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
|
|
|
14
14
|
const { runOpencodeReader } = await import("./chunk-5zhh41gb.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-d4pqzzgy.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -34,14 +34,6 @@ import {
|
|
|
34
34
|
encodePrettyJsonString
|
|
35
35
|
} from "./chunk-zw3gf6r5.js";
|
|
36
36
|
import"./chunk-q5w3v4k1.js";
|
|
37
|
-
import {
|
|
38
|
-
decodeText,
|
|
39
|
-
mkString,
|
|
40
|
-
FileSystem,
|
|
41
|
-
Path,
|
|
42
|
-
withDefault,
|
|
43
|
-
String2
|
|
44
|
-
} from "./chunk-0h49y8gf.js";
|
|
45
37
|
import {
|
|
46
38
|
SecureRandom,
|
|
47
39
|
layerWebCrypto,
|
|
@@ -54,6 +46,14 @@ import {
|
|
|
54
46
|
kitmanMcpServer,
|
|
55
47
|
RunnerRpcProtocolVersion
|
|
56
48
|
} from "./chunk-cjzcg317.js";
|
|
49
|
+
import {
|
|
50
|
+
decodeText,
|
|
51
|
+
mkString,
|
|
52
|
+
FileSystem,
|
|
53
|
+
Path,
|
|
54
|
+
withDefault,
|
|
55
|
+
String2
|
|
56
|
+
} from "./chunk-0h49y8gf.js";
|
|
57
57
|
import {
|
|
58
58
|
Packument,
|
|
59
59
|
tarballMatches
|