@kitman-sh/cli 0.12.15 → 0.12.16
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-m9revazf.js → chunk-6ymzrhwd.js} +4 -4
- package/dist/{chunk-saeb3621.js → chunk-7vkmemp0.js} +6 -6
- package/dist/{chunk-ekr50hg6.js → chunk-fn9w3x0q.js} +41 -41
- package/dist/{chunk-f8ck3syn.js → chunk-rcdk29fp.js} +1 -1
- package/dist/{chunk-hkwxb1am.js → chunk-rpr8qhm1.js} +4 -5
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/{chunk-44mcajbw.js → chunk-hrdbtqex.js} +8 -8
|
@@ -227,7 +227,7 @@ People create Tasks and hand them to agents. An agent works on a Task through a
|
|
|
227
227
|
link: "https://kitman.sh/knowledge/docs/handing-work-to-agents#ready-for-agents",
|
|
228
228
|
text: `## Ready for agents
|
|
229
229
|
|
|
230
|
-
Moving a Task to a state agents pick up from, such as **Ready for agents**, or creating it in one, starts its Task Type's default Loop for it. Creating a Task with a Loop chosen, or by starting a Run from words, starts only that Run, and the tickets Plan builds itself and a Firewatch alert's Task start only the Runs their Loops give them. Tickets filed as Tasks are picked up once their blockers are related; Plan's File as Tasks waits until the Plan Run ends without building them. You become the Run's Delivery Owner: its Questions and its handoff come to you. When
|
|
230
|
+
Moving a Task to a state agents pick up from, such as **Ready for agents**, or creating it in one, starts its Task Type's default Loop for it. Creating a Task with a Loop chosen, or by starting a Run from words, starts only that Run, and the tickets Plan builds itself and a Firewatch alert's Task start only the Runs their Loops give them. Tickets filed as Tasks are picked up once their blockers are related; Plan's File as Tasks waits until the Plan Run ends without building them. You become the Run's Delivery Owner: its Questions and its handoff come to you. When a tool you set up, such as Kitman's MCP in your coding agent, moved it, you are still the Delivery Owner; when a Run's agent moved it, that Run's owner is. When another agent or a Triage Rule moved the Task, the Task's assignee is the Delivery Owner, or else its human creator, or else the owner of the Run that created it; with none of these, its Team gets a **Start** item in the Inbox. The Run queues for a Runner like any other, by the Task's priority.
|
|
231
231
|
|
|
232
232
|
Nothing new starts while the Task already has a Run that has not finished. To give a new Task blockers before it starts, create it in another state, add its relations, then move it.
|
|
233
233
|
|
|
@@ -281,7 +281,7 @@ Research answers an Investigation Task's question. A researcher Agent investigat
|
|
|
281
281
|
link: "https://kitman.sh/knowledge/docs/handing-work-to-agents#waiting-on-other-tasks",
|
|
282
282
|
text: `## Waiting on other Tasks
|
|
283
283
|
|
|
284
|
-
A Task with an open blocker stays in **Ready for agents** and shows what it is waiting on, such as "Waiting on KIT-158". It starts by itself once its last blocker is done, owned by its assignee, else its creator. If it has
|
|
284
|
+
A Task with an open blocker stays in **Ready for agents** and shows what it is waiting on, such as "Waiting on KIT-158". It starts by itself once its last blocker is done, owned by whoever would have owned it when it was moved there: you, if you or a tool or Run acting for you moved it, else its assignee, else its creator. If it has none of these, it stays there and its Team gets a **Start** item in the Inbox.
|
|
285
285
|
|
|
286
286
|
Only a Task in a completed state counts as done. A finished Run or an open ChangeRequest on a blocker starts nothing, and neither does a canceled blocker: remove its relation to release the Task.
|
|
287
287
|
|
|
@@ -294,7 +294,7 @@ To start it now, use **Start run** and choose **Start anyway**, or pass \`--over
|
|
|
294
294
|
link: "https://kitman.sh/knowledge/docs/handing-work-to-agents#when-a-run-cannot-start",
|
|
295
295
|
text: `## When a Run cannot start
|
|
296
296
|
|
|
297
|
-
When Kitman cannot start a Run for the Task, the move still happens, and the person who moved it gets a **Start** item in their Inbox. It says what is missing: the Task Type has no default Loop, the Loop no longer exists, or the Loop needs something Kitman could not choose, such as a repository.
|
|
297
|
+
When Kitman cannot start a Run for the Task, the move still happens, and the person who moved it gets a **Start** item in their Inbox. It says what is missing: the Task Type has no default Loop, the Loop no longer exists, or the Loop needs something Kitman could not choose, such as a repository. The Task page, its board card and its list row say the same, as **Agents cannot start it**, until a Run starts or the Task leaves the pickup state.
|
|
298
298
|
|
|
299
299
|
Open the item and use **Start run** in it: pick the Loop, and give what is missing, such as the repository to work in. The item clears itself once a Run starts for the Task, or when the Task leaves the state.`
|
|
300
300
|
},
|
|
@@ -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.12.
|
|
1506
|
+
var pinnedLink2 = (link, version = "0.12.16") => 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.12.
|
|
2334
|
+
var cliVersion = "0.12.16";
|
|
2335
2335
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
2336
2336
|
name,
|
|
2337
2337
|
private: true,
|
|
@@ -2483,7 +2483,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
|
|
|
2483
2483
|
|
|
2484
2484
|
// apps/cli/src/commands.ts
|
|
2485
2485
|
var ClientId = "kitman-cli";
|
|
2486
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
2486
|
+
var agentRuntime = promise(() => import("./chunk-rpr8qhm1.js"));
|
|
2487
2487
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
2488
2488
|
defaultValue: () => gen(function* () {
|
|
2489
2489
|
const tui = yield* tryPromise({
|
|
@@ -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-fn9w3x0q.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-rcdk29fp.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-hrdbtqex.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-hrdbtqex.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) });
|