@kitman-sh/cli 0.16.0 → 0.17.0
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-rv6d2r5v.js → chunk-0f67q0tf.js} +9 -9
- package/dist/{chunk-gpcrp0tc.js → chunk-0wqkz371.js} +3 -3
- package/dist/{chunk-cqejv8e6.js → chunk-2928qj8m.js} +51 -30
- package/dist/{chunk-hbm0hybe.js → chunk-2sazk478.js} +4 -4
- package/dist/{chunk-f02v4cdn.js → chunk-5me7tnrw.js} +3 -3
- package/dist/{chunk-gt7gk0d4.js → chunk-829r4kya.js} +4 -4
- package/dist/{chunk-5jt8b98c.js → chunk-8r1a93rc.js} +4 -4
- package/dist/{chunk-djdhep8n.js → chunk-9a6wbk11.js} +3 -3
- package/dist/{chunk-r58fc2x9.js → chunk-ebpjd7kg.js} +6 -6
- package/dist/{chunk-xc76s9kk.js → chunk-ekyj0bps.js} +7 -7
- package/dist/{chunk-4g7cj90y.js → chunk-g3jqqpky.js} +9 -9
- package/dist/{chunk-zgbjha6j.js → chunk-j37p2y71.js} +190 -350
- package/dist/{chunk-9n6hd7es.js → chunk-jg1pjhba.js} +21 -21
- package/dist/{chunk-yg34g1m8.js → chunk-kx8rpa62.js} +5 -5
- package/dist/{chunk-gwzzacep.js → chunk-m1qp6swh.js} +1 -1
- package/dist/{chunk-n9fhwgzm.js → chunk-nf9rfrvv.js} +34 -34
- package/dist/{chunk-23nvmnkp.js → chunk-nqh0pbgt.js} +1 -1
- package/dist/{chunk-f2y0z04q.js → chunk-pd3azxev.js} +1 -1
- package/dist/{chunk-4v691rg5.js → chunk-pnckztvv.js} +20 -20
- package/dist/{chunk-1scjh42j.js → chunk-qjxgew0k.js} +2 -2
- package/dist/{chunk-x83q18w0.js → chunk-r2kzvdrg.js} +1 -1
- package/dist/{chunk-g6nhny28.js → chunk-r3d2yjsh.js} +25 -25
- package/dist/{chunk-4pq5vq59.js → chunk-vh2a72d1.js} +14 -60
- package/dist/{chunk-rfnasm3c.js → chunk-y64ssczv.js} +289 -71
- package/dist/{chunk-ppdf5m4j.js → chunk-z59pvcbk.js} +187 -178
- package/dist/{chunk-sd8b4k1t.js → chunk-zy21drtv.js} +2 -2
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
empty3,
|
|
13
13
|
add,
|
|
14
14
|
getOrUndefined2,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
merge3,
|
|
17
17
|
Reference,
|
|
18
18
|
fromInputUnsafe,
|
|
@@ -138,8 +138,9 @@ import {
|
|
|
138
138
|
toJsonSchemaDocument,
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-y64ssczv.js";
|
|
142
142
|
import {
|
|
143
|
+
currentTimeMillis,
|
|
143
144
|
WebCrypto,
|
|
144
145
|
makeUnsafe,
|
|
145
146
|
formatIso,
|
|
@@ -175,24 +176,23 @@ import {
|
|
|
175
176
|
StepManifest,
|
|
176
177
|
KitSetup,
|
|
177
178
|
RunnerRpcError
|
|
178
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-j37p2y71.js";
|
|
179
180
|
import {
|
|
180
|
-
currentTimeMillis,
|
|
181
181
|
getCurrent,
|
|
182
182
|
runForEach,
|
|
183
183
|
FileSystem
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-z59pvcbk.js";
|
|
185
185
|
import {
|
|
186
186
|
splitQuestionOptions,
|
|
187
187
|
recommendationProblem,
|
|
188
188
|
questionAdvice
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-pd3azxev.js";
|
|
190
190
|
import {
|
|
191
191
|
guard,
|
|
192
192
|
Id,
|
|
193
193
|
Timestamp,
|
|
194
194
|
ActorType
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-r2kzvdrg.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|
|
@@ -769,7 +769,7 @@ class Suspended extends (/* @__PURE__ */ Class2("effect/workflow/Workflow/Suspen
|
|
|
769
769
|
[ResultTypeId] = ResultTypeId;
|
|
770
770
|
}
|
|
771
771
|
var wrapActivityResult = (effect, isSuspend) => contextWith((context) => {
|
|
772
|
-
const instance =
|
|
772
|
+
const instance = get4(context, InstanceTag);
|
|
773
773
|
return acquireUseRelease(sync2(() => adoptActivityUnsafe(context, instance) ?? registerActivityUnsafe(instance)), () => effect, (registration, exit) => {
|
|
774
774
|
releaseActivityUnsafe(registration);
|
|
775
775
|
const isSuspended = isSuccess2(exit) && isSuspend(exit.value);
|
|
@@ -1420,7 +1420,7 @@ var scopingActivities = (engine) => ({
|
|
|
1420
1420
|
}),
|
|
1421
1421
|
activityExecute: (activity, attempt) => gen(function* () {
|
|
1422
1422
|
const scope = yield* StepScope;
|
|
1423
|
-
if (scope === "" ||
|
|
1423
|
+
if (scope === "" || get4(activity.annotations, ActivityNamed))
|
|
1424
1424
|
return yield* engine.activityExecute(activity, attempt);
|
|
1425
1425
|
return yield* engine.activityExecute(renamed(activity, scopedName(scope, activity.name)), attempt);
|
|
1426
1426
|
})
|
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-y64ssczv.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-z59pvcbk.js";
|
|
32
32
|
import {
|
|
33
33
|
newerKitmanVersion,
|
|
34
34
|
digestSha256,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
get2,
|
|
40
40
|
layer4,
|
|
41
41
|
KitDigest
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-j37p2y71.js";
|
|
43
43
|
|
|
44
44
|
// packages/core/src/npm-registry.ts
|
|
45
45
|
var KitManifest = Struct({
|
|
@@ -60,7 +60,9 @@ import {
|
|
|
60
60
|
exponential,
|
|
61
61
|
jittered,
|
|
62
62
|
spaced,
|
|
63
|
+
upTo,
|
|
63
64
|
all3,
|
|
65
|
+
validate,
|
|
64
66
|
findFirst,
|
|
65
67
|
forEach,
|
|
66
68
|
promise,
|
|
@@ -170,8 +172,9 @@ import {
|
|
|
170
172
|
decodeJsonStringSync,
|
|
171
173
|
encodeUnknownJsonStringSync,
|
|
172
174
|
storable
|
|
173
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-y64ssczv.js";
|
|
174
176
|
import {
|
|
177
|
+
currentTimeMillis,
|
|
175
178
|
SecureRandom,
|
|
176
179
|
layerWebCrypto,
|
|
177
180
|
layer,
|
|
@@ -203,6 +206,7 @@ import {
|
|
|
203
206
|
reportedModelName,
|
|
204
207
|
calverNumbers,
|
|
205
208
|
compareCalver,
|
|
209
|
+
defaultDeployCommand,
|
|
206
210
|
MeasureSample,
|
|
207
211
|
compareCommitMax,
|
|
208
212
|
commitMessageMax,
|
|
@@ -257,9 +261,8 @@ import {
|
|
|
257
261
|
checkServicesFile,
|
|
258
262
|
checkServices,
|
|
259
263
|
serviceChecks
|
|
260
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-j37p2y71.js";
|
|
261
265
|
import {
|
|
262
|
-
currentTimeMillis,
|
|
263
266
|
join,
|
|
264
267
|
interrupt,
|
|
265
268
|
unbounded,
|
|
@@ -304,7 +307,7 @@ import {
|
|
|
304
307
|
writeSrtSettings2,
|
|
305
308
|
srtStepArgv2,
|
|
306
309
|
srtArgv2
|
|
307
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-z59pvcbk.js";
|
|
308
311
|
import {
|
|
309
312
|
writeAgentEnvironmentConfigFile2,
|
|
310
313
|
readManifestSkillPaths2,
|
|
@@ -320,8 +323,12 @@ import {
|
|
|
320
323
|
applyAgentEnvironmentMaterialization2,
|
|
321
324
|
isPathWithin2,
|
|
322
325
|
skillIdentity2
|
|
323
|
-
} from "./chunk-
|
|
324
|
-
import"./chunk-
|
|
326
|
+
} from "./chunk-8r1a93rc.js";
|
|
327
|
+
import"./chunk-0wqkz371.js";
|
|
328
|
+
import {
|
|
329
|
+
ChildProcessSpawner,
|
|
330
|
+
make2
|
|
331
|
+
} from "./chunk-vh2a72d1.js";
|
|
325
332
|
import {
|
|
326
333
|
egressAllowed,
|
|
327
334
|
writeSecretRegistry,
|
|
@@ -331,7 +338,7 @@ import {
|
|
|
331
338
|
secretFilter2,
|
|
332
339
|
opaqueTunnelRefusal2,
|
|
333
340
|
isOpaqueConnectReason2
|
|
334
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-zy21drtv.js";
|
|
335
342
|
import {
|
|
336
343
|
sliceBytes2,
|
|
337
344
|
maxLineBytes2,
|
|
@@ -339,29 +346,25 @@ import {
|
|
|
339
346
|
decodedOption2,
|
|
340
347
|
decoded2,
|
|
341
348
|
readOpencode2
|
|
342
|
-
} from "./chunk-
|
|
349
|
+
} from "./chunk-kx8rpa62.js";
|
|
343
350
|
import {
|
|
344
351
|
uploadRunFile,
|
|
345
352
|
programLease,
|
|
346
353
|
rpcRunFiles,
|
|
347
354
|
programHostsEnv,
|
|
348
355
|
undeclaredHostsEnv
|
|
349
|
-
} from "./chunk-
|
|
350
|
-
import"./chunk-
|
|
356
|
+
} from "./chunk-0f67q0tf.js";
|
|
357
|
+
import"./chunk-g3jqqpky.js";
|
|
351
358
|
import {
|
|
352
359
|
nextInt
|
|
353
|
-
} from "./chunk-
|
|
354
|
-
import"./chunk-
|
|
355
|
-
import
|
|
356
|
-
ChildProcessSpawner,
|
|
357
|
-
make3
|
|
358
|
-
} from "./chunk-4pq5vq59.js";
|
|
359
|
-
import"./chunk-4v691rg5.js";
|
|
360
|
+
} from "./chunk-m1qp6swh.js";
|
|
361
|
+
import"./chunk-pd3azxev.js";
|
|
362
|
+
import"./chunk-pnckztvv.js";
|
|
360
363
|
import {
|
|
361
364
|
Id,
|
|
362
365
|
secretReference,
|
|
363
366
|
secretPlaceholder
|
|
364
|
-
} from "./chunk-
|
|
367
|
+
} from "./chunk-r2kzvdrg.js";
|
|
365
368
|
|
|
366
369
|
// packages/core/src/sync-kit.ts
|
|
367
370
|
import { createHash } from "crypto";
|
|
@@ -7872,6 +7875,19 @@ var daemonLogs = (container) => gen(function* () {
|
|
|
7872
7875
|
return `${state.trim()}
|
|
7873
7876
|
${logs.trim().slice(-3000)}`;
|
|
7874
7877
|
}).pipe(orElseSucceed(() => "nothing, since docker could not show its state or logs"));
|
|
7878
|
+
var addressPoolsExhausted = /address pools have been fully subnetted/;
|
|
7879
|
+
var networkGone = /not found|no such network/i;
|
|
7880
|
+
var unusedNetworks = (own) => gen(function* () {
|
|
7881
|
+
const names = (yield* runCommand2("docker", ["network", "ls", "--filter", "type=custom", "--format", "{{.Name}}"])).split(`
|
|
7882
|
+
`).map((name) => name.trim()).filter((name) => name !== "" && !own.includes(name));
|
|
7883
|
+
const unused = yield* forEach(names, (name) => runCommand2("docker", ["network", "inspect", "--format", "{{len .Containers}}", name]).pipe(map9((containers) => containers.trim() === "0" ? [name] : []), orElseSucceed(() => [])), { concurrency: 8 });
|
|
7884
|
+
return unused.flat();
|
|
7885
|
+
}).pipe(orElseSucceed(() => {
|
|
7886
|
+
return;
|
|
7887
|
+
}));
|
|
7888
|
+
var noAddressPool = (unused) => fail7(new CheckDockerUnavailable({
|
|
7889
|
+
reason: `Docker has no free address pool for the check's networks, as all predefined address pools have been fully subnetted. ${unused === undefined ? "Docker could not list its networks to show which are left behind." : unused.length === 0 ? "Each network of its own has a container attached, so none looks left behind." : `These networks have no container attached, and may have been left behind: ${unused.join(", ")}. Remove the ones nothing uses with docker network rm.`}`
|
|
7890
|
+
}));
|
|
7875
7891
|
var randomHex2 = () => Array.from(crypto.getRandomValues(new Uint8Array(4)), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
7876
7892
|
var dockerCheckDaemon = (input) => ({ id, network: allowed }) => gen(function* () {
|
|
7877
7893
|
const run = `${dockerName2(id)}-${randomHex2()}`;
|
|
@@ -7889,16 +7905,17 @@ var dockerCheckDaemon = (input) => ({ id, network: allowed }) => gen(function* (
|
|
|
7889
7905
|
];
|
|
7890
7906
|
const labelArgs = labels.flatMap(([key, value]) => ["--label", `${key}=${value}`]);
|
|
7891
7907
|
const docker = (args, timeout = "30 seconds") => runCommand2("docker", args, { timeout }).pipe(mapError2((error) => new CheckDockerUnavailable({ reason: error.message })));
|
|
7892
|
-
|
|
7908
|
+
const removeContainers = gen(function* () {
|
|
7893
7909
|
const ids = (yield* docker(["ps", "--all", "--quiet", "--filter", `label=${runLabel}=${run}`])).split(`
|
|
7894
7910
|
`).filter((line) => line.trim() !== "");
|
|
7895
7911
|
if (ids.length > 0)
|
|
7896
7912
|
yield* docker(["rm", "--force", "--volumes", ...ids], "2 minutes");
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
}).pipe(ignore));
|
|
7900
|
-
|
|
7901
|
-
yield*
|
|
7913
|
+
});
|
|
7914
|
+
const removeNetwork = (name) => docker(["network", "rm", name]).pipe(catchIf((error) => networkGone.test(error.reason), () => void_3));
|
|
7915
|
+
yield* acquireRelease(void_3, () => ignore(removeContainers).pipe(andThen2(validate([network, outside], removeNetwork, { discard: true })), retry(spaced("2 seconds").pipe(upTo({ duration: "3 minutes" }))), ignore));
|
|
7916
|
+
const createNetwork = (args) => docker(["network", "create", ...args]).pipe(catchIf((error) => addressPoolsExhausted.test(error.reason), () => flatMap3(unusedNetworks([network, outside]), noAddressPool)));
|
|
7917
|
+
yield* createNetwork(["--opt", "com.docker.network.bridge.enable_icc=false", ...labelArgs, outside]);
|
|
7918
|
+
yield* createNetwork([...allowed === "open" ? [] : ["--internal"], ...labelArgs, network]);
|
|
7902
7919
|
const addressOn = (container) => gen(function* () {
|
|
7903
7920
|
yield* docker(["network", "connect", network, container]);
|
|
7904
7921
|
const address = (yield* docker([
|
|
@@ -7987,7 +8004,7 @@ var codexAppServer = (binary = "codex") => (env) => gen(function* () {
|
|
|
7987
8004
|
const input = yield* unbounded2();
|
|
7988
8005
|
const pending = new Map;
|
|
7989
8006
|
let lastId = 0;
|
|
7990
|
-
const handle = yield* spawner.spawn(
|
|
8007
|
+
const handle = yield* spawner.spawn(make2(binary, ["app-server"], {
|
|
7991
8008
|
cwd: env.home,
|
|
7992
8009
|
extendEnv: true,
|
|
7993
8010
|
env: { HOME: env.home, CODEX_HOME: env.codexHome },
|
|
@@ -8150,7 +8167,7 @@ var handshake = [
|
|
|
8150
8167
|
`).join("");
|
|
8151
8168
|
var kitmanMcpPreflight = (mcp) => gen(function* () {
|
|
8152
8169
|
const spawner = yield* ChildProcessSpawner;
|
|
8153
|
-
const server = yield* spawner.spawn(
|
|
8170
|
+
const server = yield* spawner.spawn(make2(mcp.command, [...mcp.args], {
|
|
8154
8171
|
extendEnv: true,
|
|
8155
8172
|
env: mcp.env,
|
|
8156
8173
|
stdin: { stream: make10(new TextEncoder().encode(handshake)), endOnDone: false },
|
|
@@ -8226,7 +8243,7 @@ var programProcessExecutor = (input) => (work) => gen(function* () {
|
|
|
8226
8243
|
};
|
|
8227
8244
|
const exitCode = sandbox === undefined ? yield* gen(function* () {
|
|
8228
8245
|
const spawner = yield* ChildProcessSpawner;
|
|
8229
|
-
const handle = yield* spawner.spawn(
|
|
8246
|
+
const handle = yield* spawner.spawn(make2(input.bun ?? process.execPath, [file], {
|
|
8230
8247
|
stdin: make10(new TextEncoder().encode(stdin)),
|
|
8231
8248
|
stdout: "inherit",
|
|
8232
8249
|
stderr: "inherit",
|
|
@@ -8663,9 +8680,11 @@ var checkRunner = (work, sandbox, cache, inherited) => (checkout) => ({
|
|
|
8663
8680
|
secretRegistry,
|
|
8664
8681
|
onOutput,
|
|
8665
8682
|
postgres,
|
|
8666
|
-
docker
|
|
8683
|
+
docker,
|
|
8684
|
+
runnerGitConfig
|
|
8667
8685
|
}) => {
|
|
8668
|
-
const
|
|
8686
|
+
const gitEnvironment = runnerGitConfig === true ? { GIT_TERMINAL_PROMPT: "0" } : checkGitEnvironment;
|
|
8687
|
+
const env = { ...added, ...gitEnvironment, KITMAN_RUN_FILES_DIR: filesDir };
|
|
8669
8688
|
const output = onOutput === undefined ? undefined : { onOutput };
|
|
8670
8689
|
if (sandbox === undefined || sandbox.backend === undefined) {
|
|
8671
8690
|
return runShell2(command, {
|
|
@@ -9515,7 +9534,9 @@ var verificationExecutor = (input) => (work) => gen(function* () {
|
|
|
9515
9534
|
};
|
|
9516
9535
|
const sandboxed = input.sandbox?.backend !== undefined;
|
|
9517
9536
|
const revocations = input.revokedSecrets === undefined ? undefined : { revoked: input.revokedSecrets, every: input.revocationEvery ?? "30 seconds" };
|
|
9518
|
-
const
|
|
9537
|
+
const deploysAsOwner = input.runsDeployScripts === true && command.run === defaultDeployCommand.name;
|
|
9538
|
+
const run = runIn(head);
|
|
9539
|
+
const commanded = yield* runApprovedCommand(work, command, head, sandboxed, deploysAsOwner ? (call) => run({ ...call, runnerGitConfig: true }) : run, input.runFiles, revocations);
|
|
9519
9540
|
if ("failed" in commanded)
|
|
9520
9541
|
return { status: "failed", failureSummary: commanded.failed };
|
|
9521
9542
|
const pushed = command.branch === undefined || commanded.result.status !== "exited" || commanded.result.exitCode !== 0 ? undefined : yield* result(pushCommandChange(checkouts, work, head, command.branch));
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-kx8rpa62.js";
|
|
11
|
+
import"./chunk-vh2a72d1.js";
|
|
12
|
+
import"./chunk-z59pvcbk.js";
|
|
13
|
+
import"./chunk-y64ssczv.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
16
16
|
decodedOption2 as decodedOption,
|
|
@@ -801,7 +801,7 @@ From a terminal, \`kitman project show <project>\` shows the same, and \`kitman
|
|
|
801
801
|
path: "projects-and-views#where-a-projects-work-lands",
|
|
802
802
|
level: 3,
|
|
803
803
|
link: "https://kitman.sh/knowledge/docs/projects-and-views#where-a-projects-work-lands",
|
|
804
|
-
text: "### Where a Project's work lands\n\nBy default every Task's ChangeRequest targets the repository's default branch, or the target branch its Task, Milestone or Project names. Under **Settings \u2192 Delivery and releases**, the Workspace sets where delivery lands, and a Team can choose its own; a Project sets its own on its page, under **Delivery**, and otherwise inherits its Team's. On an epic branch, each sub-task's Build branches from its epic's branch (`feature/KIT-1` by default) on a branch of its own (`feature/KIT-1-KIT-2`), its ChangeRequest targets the epic branch, and Shepherd merges it there and keeps the epic branch up to date with the default branch. Once every sub-task is done, the epic's ChangeRequest to the default branch opens, and Release runs only after it merges. A Build, Review, Shepherd or Release Run can override it for itself with `deliveryTarget: default_branch`, for example to ship a hotfix from a sub-task straight to the default branch. Every such Run shows where it landed and where that came from.\n\nFrom a terminal, `kitman land workspace|team <team>|project <project> [default|epic|inherit]` reads or sets it; Code Mode's `workspaces.deliveryTarget`, `teams.deliveryTarget` and `projects.deliveryTarget` do the same."
|
|
804
|
+
text: "### Where a Project's work lands\n\nBy default every Task's ChangeRequest targets the repository's default branch, or the target branch its Task, Milestone or Project names. Under **Settings \u2192 Delivery and releases**, the Workspace sets where delivery lands, and a Team can choose its own; a Project sets its own on its page, under **Delivery**, and otherwise inherits its Team's. On an epic branch, each sub-task's Build branches from its epic's branch (`feature/KIT-1` by default) on a branch of its own (`feature/KIT-1-KIT-2`), its ChangeRequest targets the epic branch, and Shepherd merges it there and keeps the epic branch up to date with the default branch. A sub-task lands where its epic does, by its epic's Project and Team rather than its own, including a Task moved under the epic after it was made; a Task moved out of an epic lands by its own Project or Team again. Once every sub-task is done, the epic's ChangeRequest to the default branch opens, and Release runs only after it merges. A Build, Review, Shepherd or Release Run can override it for itself with `deliveryTarget: default_branch`, for example to ship a hotfix from a sub-task straight to the default branch. Every such Run shows where it landed and where that came from.\n\nFrom a terminal, `kitman land workspace|team <team>|project <project> [default|epic|inherit]` reads or sets it; Code Mode's `workspaces.deliveryTarget`, `teams.deliveryTarget` and `projects.deliveryTarget` do the same."
|
|
805
805
|
},
|
|
806
806
|
{
|
|
807
807
|
title: "Projects and Saved Views \u203A The branch a Project's, a Milestone's or a Task's work merges into",
|
|
@@ -908,7 +908,7 @@ Every list of Tasks has **Filter**, **Group by** and **Order by** controls. A fi
|
|
|
908
908
|
|
|
909
909
|
Group by state, Task Type, assignee, priority, repository, Project, Milestone or Release, and order by your manual order, priority, creation, last update or key. **Triage** includes Triage Tasks, which are left out otherwise.
|
|
910
910
|
|
|
911
|
-
Switch between the list and board layouts. A board has a column per Workflow State
|
|
911
|
+
Switch between the list and board layouts. A board has a column per Workflow State the filter can match, so the Active tab leaves out Backlog, Done and Canceled. Drag a card to another column, or use **Move to**, the arrow button on a card, from the keyboard. Both still offer the states the filter hides: while you drag, they appear as drop targets at the bottom of the board. Dragging within a column changes the manual order.`
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
914
|
title: "Projects and Saved Views \u203A Saved Views",
|
|
@@ -2195,7 +2195,7 @@ var pathOfLink = (link) => {
|
|
|
2195
2195
|
return page === null ? link : page[1] || "index";
|
|
2196
2196
|
};
|
|
2197
2197
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2198
|
-
var pinnedLink2 = (link, version = "0.
|
|
2198
|
+
var pinnedLink2 = (link, version = "0.17.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2199
2199
|
var pageOf = (path) => path.split("#")[0];
|
|
2200
2200
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2201
2201
|
function excerpt(text, queryTerms) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-vh2a72d1.js";
|
|
3
3
|
import {
|
|
4
4
|
HERDR_CORE_GENERATION2,
|
|
5
5
|
HERDR_CORE_INSTALL_COMMAND2,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
herdrCoreLayer2,
|
|
13
13
|
herdrCoreTransportLayer2,
|
|
14
14
|
updateHerdrCore2
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-j37p2y71.js";
|
|
16
|
+
import"./chunk-z59pvcbk.js";
|
|
17
|
+
import"./chunk-y64ssczv.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-y64ssczv.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-z59pvcbk.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-j37p2y71.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-0wqkz371.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-zy21drtv.js";
|
|
8
|
+
import"./chunk-r2kzvdrg.js";
|
|
9
|
+
import"./chunk-y64ssczv.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-g3jqqpky.js";
|
|
8
|
+
import"./chunk-pnckztvv.js";
|
|
9
|
+
import"./chunk-j37p2y71.js";
|
|
10
|
+
import"./chunk-r2kzvdrg.js";
|
|
11
|
+
import"./chunk-z59pvcbk.js";
|
|
12
|
+
import"./chunk-y64ssczv.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-y64ssczv.js";
|
|
17
17
|
import {
|
|
18
18
|
FileSystem,
|
|
19
19
|
Path
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-z59pvcbk.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-8r1a93rc.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-j37p2y71.js";
|
|
35
|
+
import"./chunk-vh2a72d1.js";
|
|
36
|
+
import"./chunk-0wqkz371.js";
|
|
37
|
+
import"./chunk-r2kzvdrg.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -6,7 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-y64ssczv.js";
|
|
10
|
+
import {
|
|
11
|
+
runForEach
|
|
12
|
+
} from "./chunk-z59pvcbk.js";
|
|
10
13
|
import {
|
|
11
14
|
WebSocketConstructor,
|
|
12
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -16,16 +19,13 @@ import {
|
|
|
16
19
|
RunnerReplicaRpcs,
|
|
17
20
|
RunnerRunFileRpcs,
|
|
18
21
|
ProgramRpcs
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
runForEach
|
|
22
|
-
} from "./chunk-ppdf5m4j.js";
|
|
22
|
+
} from "./chunk-j37p2y71.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-pnckztvv.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
|
|
|
46
46
|
var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
|
|
47
47
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
48
48
|
const protocol = yield* build(options.protocol);
|
|
49
|
-
const client = yield*
|
|
49
|
+
const client = yield* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|