@kitman-sh/cli 0.13.0 → 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-yyjh1bts.js → chunk-1625ftev.js} +1 -1
- package/dist/{chunk-yqtjm2b8.js → chunk-44mcajbw.js} +13 -13
- package/dist/{chunk-fgghvffp.js → chunk-55sk24xq.js} +1 -1
- package/dist/{chunk-j13cmh82.js → chunk-9sbkchpk.js} +1 -1
- package/dist/{chunk-e2gmxe8a.js → chunk-bc5r812r.js} +2 -2
- package/dist/{chunk-6mqw8yr8.js → chunk-cjzcg317.js} +1 -0
- package/dist/{chunk-bvh0k11b.js → chunk-d4pqzzgy.js} +11 -11
- package/dist/{chunk-yv45kbee.js → chunk-kedmv3za.js} +3 -3
- package/dist/{chunk-n6fnyqtj.js → chunk-nh27qwj1.js} +1 -1
- package/dist/{chunk-xnj2sgbz.js → chunk-nve7atre.js} +2 -2
- package/dist/{chunk-z0fqz3xg.js → chunk-pg4tyn18.js} +3 -3
- package/dist/{chunk-ztdvwf41.js → chunk-qt4r0rxn.js} +1 -1
- package/dist/{chunk-w6pbse20.js → chunk-r3mv87g6.js} +3 -3
- package/dist/{chunk-3dcxyw8s.js → chunk-rpr8qhm1.js} +6 -6
- package/dist/{chunk-r4emjst3.js → chunk-rt5czket.js} +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -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,
|
|
@@ -53,23 +45,31 @@ import {
|
|
|
53
45
|
layer4,
|
|
54
46
|
kitmanMcpServer,
|
|
55
47
|
RunnerRpcProtocolVersion
|
|
56
|
-
} from "./chunk-
|
|
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
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import"./chunk-
|
|
60
|
+
} from "./chunk-9sbkchpk.js";
|
|
61
|
+
import"./chunk-nve7atre.js";
|
|
62
62
|
import {
|
|
63
63
|
AgentDeclaration,
|
|
64
64
|
KitDeclarations,
|
|
65
65
|
describeFlag,
|
|
66
66
|
Described
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-1625ftev.js";
|
|
68
68
|
import {
|
|
69
69
|
ChildProcessSpawner,
|
|
70
70
|
make3
|
|
71
71
|
} from "./chunk-mtkstrh3.js";
|
|
72
|
-
import"./chunk-
|
|
72
|
+
import"./chunk-nh27qwj1.js";
|
|
73
73
|
|
|
74
74
|
// packages/sdk/src/build/index.ts
|
|
75
75
|
class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
|
|
@@ -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.13.
|
|
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) {
|
|
@@ -228,7 +228,7 @@ import {
|
|
|
228
228
|
harnessNames,
|
|
229
229
|
herdrRunnerCapabilities2,
|
|
230
230
|
declaredChecks
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-cjzcg317.js";
|
|
232
232
|
import {
|
|
233
233
|
Id
|
|
234
234
|
} from "./chunk-q5w3v4k1.js";
|
|
@@ -989,10 +989,10 @@ var sandboxMissing = (sandbox, missing) => ({
|
|
|
989
989
|
var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
|
|
990
990
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
991
991
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
992
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
992
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-55sk24xq.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
993
993
|
});
|
|
994
994
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
995
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
995
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-55sk24xq.js")), (module) => module.updateHerdrCore(options))
|
|
996
996
|
});
|
|
997
997
|
var herdrCoreMissing = (error) => {
|
|
998
998
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -1412,7 +1412,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
1412
1412
|
});
|
|
1413
1413
|
var syncKits = (input) => gen(function* () {
|
|
1414
1414
|
const fs = yield* FileSystem;
|
|
1415
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
1415
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-kedmv3za.js"));
|
|
1416
1416
|
const harnesses = yield* syncTargets(input.harness);
|
|
1417
1417
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
1418
1418
|
for (const { name, problem } of chain.skipped)
|
|
@@ -2331,7 +2331,7 @@ var package_default = {
|
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
2333
|
// apps/cli/src/scaffold.ts
|
|
2334
|
-
var cliVersion = "0.13.
|
|
2334
|
+
var cliVersion = "0.13.1";
|
|
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({
|
|
@@ -3507,7 +3507,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
3507
3507
|
});
|
|
3508
3508
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
3509
3509
|
defaultValue: () => (options) => gen(function* () {
|
|
3510
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
3510
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-pg4tyn18.js"));
|
|
3511
3511
|
return yield* makeRunnerRpcClient({
|
|
3512
3512
|
runnerId: options.runnerId,
|
|
3513
3513
|
bearer: options.bearer,
|
|
@@ -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) });
|
|
@@ -24,15 +24,15 @@ import {
|
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-rt5czket.js";
|
|
28
28
|
import {
|
|
29
29
|
instructionsStart,
|
|
30
30
|
instructionsEnd,
|
|
31
31
|
renderMcpServer,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-cjzcg317.js";
|
|
35
|
+
import"./chunk-9sbkchpk.js";
|
|
36
36
|
import"./chunk-mtkstrh3.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-cjzcg317.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")) {
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-cjzcg317.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
25
|
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-nh27qwj1.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-nve7atre.js";
|
|
8
|
+
import"./chunk-nh27qwj1.js";
|
|
9
|
+
import"./chunk-cjzcg317.js";
|
|
10
10
|
import"./chunk-q5w3v4k1.js";
|
|
11
11
|
import"./chunk-0h49y8gf.js";
|
|
12
12
|
import"./chunk-zw3gf6r5.js";
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
runMcpEffect,
|
|
171
171
|
createAgentAuthSignedFetch,
|
|
172
172
|
setupMcpAgentCredential
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-cjzcg317.js";
|
|
174
174
|
import {
|
|
175
175
|
guard,
|
|
176
176
|
Id,
|
|
@@ -194,7 +194,7 @@ import {
|
|
|
194
194
|
import {
|
|
195
195
|
searchDocs2,
|
|
196
196
|
readDoc2
|
|
197
|
-
} from "./chunk-
|
|
197
|
+
} from "./chunk-bc5r812r.js";
|
|
198
198
|
import {
|
|
199
199
|
nextInt
|
|
200
200
|
} from "./chunk-gq7y5v3e.js";
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
withHeaders,
|
|
205
205
|
layerProtocolSocket,
|
|
206
206
|
ConnectionHooks
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-nh27qwj1.js";
|
|
208
208
|
|
|
209
209
|
// apps/cli/src/mcp.ts
|
|
210
210
|
import { tmpdir as tmpdir2 } from "os";
|
|
@@ -247,7 +247,7 @@ import {
|
|
|
247
247
|
installCommand,
|
|
248
248
|
checkServicesFile,
|
|
249
249
|
checkServices
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-cjzcg317.js";
|
|
251
251
|
import {
|
|
252
252
|
join,
|
|
253
253
|
interrupt,
|
|
@@ -304,8 +304,8 @@ import {
|
|
|
304
304
|
applyAgentEnvironmentMaterialization2,
|
|
305
305
|
isPathWithin2,
|
|
306
306
|
skillIdentity2
|
|
307
|
-
} from "./chunk-
|
|
308
|
-
import"./chunk-
|
|
307
|
+
} from "./chunk-rt5czket.js";
|
|
308
|
+
import"./chunk-9sbkchpk.js";
|
|
309
309
|
import {
|
|
310
310
|
egressAllowed,
|
|
311
311
|
writeSecretRegistry,
|
|
@@ -330,8 +330,8 @@ import {
|
|
|
330
330
|
rpcRunFiles,
|
|
331
331
|
programHostsEnv,
|
|
332
332
|
undeclaredHostsEnv
|
|
333
|
-
} from "./chunk-
|
|
334
|
-
import"./chunk-
|
|
333
|
+
} from "./chunk-1625ftev.js";
|
|
334
|
+
import"./chunk-nve7atre.js";
|
|
335
335
|
import {
|
|
336
336
|
nextInt
|
|
337
337
|
} from "./chunk-gq7y5v3e.js";
|
|
@@ -339,7 +339,7 @@ import {
|
|
|
339
339
|
ChildProcessSpawner,
|
|
340
340
|
make3
|
|
341
341
|
} from "./chunk-mtkstrh3.js";
|
|
342
|
-
import"./chunk-
|
|
342
|
+
import"./chunk-nh27qwj1.js";
|
|
343
343
|
|
|
344
344
|
// packages/core/src/sync-kit.ts
|
|
345
345
|
import { createHash } from "crypto";
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-cjzcg317.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-9sbkchpk.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
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
|
}
|