@kitman-sh/cli 0.10.103 → 0.10.105
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.
|
@@ -1779,7 +1779,7 @@ var package_default = {
|
|
|
1779
1779
|
};
|
|
1780
1780
|
|
|
1781
1781
|
// apps/cli/src/scaffold.ts
|
|
1782
|
-
var cliVersion = "0.10.
|
|
1782
|
+
var cliVersion = "0.10.105";
|
|
1783
1783
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1784
1784
|
name,
|
|
1785
1785
|
private: true,
|
|
@@ -2982,6 +2982,9 @@ function runnerCommand(args) {
|
|
|
2982
2982
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
2983
2983
|
});
|
|
2984
2984
|
}
|
|
2985
|
+
var RunningKitmanVersion = Reference("kitman/cli/RunningKitmanVersion", {
|
|
2986
|
+
defaultValue: () => kitmanVersion
|
|
2987
|
+
});
|
|
2985
2988
|
var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
2986
2989
|
defaultValue: () => flatMap3(agentRuntime, (runtime) => runtime.commandHostProbe)
|
|
2987
2990
|
});
|
|
@@ -3068,7 +3071,8 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
3068
3071
|
const { fullAccess, sshAgentAvailable } = hostSettings;
|
|
3069
3072
|
const fs = yield* FileSystem;
|
|
3070
3073
|
const container = input.credential !== undefined || (yield* fs.exists("/.dockerenv").pipe(orElseSucceed(() => false))) || (yield* fs.exists("/run/.containerenv").pipe(orElseSucceed(() => false)));
|
|
3071
|
-
const
|
|
3074
|
+
const version = yield* RunningKitmanVersion;
|
|
3075
|
+
const reported = { ...version === undefined ? undefined : { version }, container };
|
|
3072
3076
|
const credential = input.credential ?? (yield* startupStep("load the Runner credential", "10 seconds", storedHerdrRunnerCredential(input.apiUrl, input.runnerId)));
|
|
3073
3077
|
if (credential === undefined)
|
|
3074
3078
|
return yield* new RunnerStopped({ problem: credentialMissing(input.runnerId) });
|
|
@@ -4718,9 +4722,9 @@ function changeRequestCommand(args) {
|
|
|
4718
4722
|
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}`);
|
|
4719
4723
|
});
|
|
4720
4724
|
}
|
|
4721
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4725
|
+
var KitWriter = map8(promise(() => import("./chunk-fzsbapgz.js")), (build) => build.writeKit);
|
|
4722
4726
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4723
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4727
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-fzsbapgz.js")), (build) => build.buildKit(directory))
|
|
4724
4728
|
});
|
|
4725
4729
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4726
4730
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5364,6 +5368,8 @@ function runnerRow(runner) {
|
|
|
5364
5368
|
effectiveTeamAccess,
|
|
5365
5369
|
managementBoundary: "workspace_operator_only",
|
|
5366
5370
|
schedulingBoundary: "scope_and_identity_gated",
|
|
5371
|
+
version: runner.version,
|
|
5372
|
+
latestVersion: runner.latestVersion,
|
|
5367
5373
|
lastHeartbeatAt: runner.lastHeartbeatAt
|
|
5368
5374
|
};
|
|
5369
5375
|
}
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,6 @@ if (args[0] === "srt") {
|
|
|
14
14
|
const { runOpencodeReader } = await import("./chunk-s27r6x3a.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-qcct8vjh.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -35,14 +35,6 @@ import {
|
|
|
35
35
|
} from "./chunk-che5w0y4.js";
|
|
36
36
|
import"./chunk-30mfra3r.js";
|
|
37
37
|
import"./chunk-hxqxdy21.js";
|
|
38
|
-
import {
|
|
39
|
-
decodeText,
|
|
40
|
-
mkString,
|
|
41
|
-
FileSystem,
|
|
42
|
-
Path,
|
|
43
|
-
withDefault,
|
|
44
|
-
String2
|
|
45
|
-
} from "./chunk-9nrr1dwr.js";
|
|
46
38
|
import {
|
|
47
39
|
SecureRandom,
|
|
48
40
|
layerWebCrypto,
|
|
@@ -55,6 +47,14 @@ import {
|
|
|
55
47
|
kitmanMcpServer,
|
|
56
48
|
RunnerRpcProtocolVersion
|
|
57
49
|
} from "./chunk-7z9m11z3.js";
|
|
50
|
+
import {
|
|
51
|
+
decodeText,
|
|
52
|
+
mkString,
|
|
53
|
+
FileSystem,
|
|
54
|
+
Path,
|
|
55
|
+
withDefault,
|
|
56
|
+
String2
|
|
57
|
+
} from "./chunk-9nrr1dwr.js";
|
|
58
58
|
import {
|
|
59
59
|
Packument,
|
|
60
60
|
tarballMatches
|