@kitman-sh/cli 0.12.0 → 0.12.2

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.
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-shv2xs9y.js";
22
+ } from "./chunk-c7253rcg.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-wyhg9cyk.js";
28
+ } from "./chunk-fs72937p.js";
29
29
 
30
30
  // packages/live/src/rpc/runner-client.ts
31
31
  var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
@@ -30,6 +30,7 @@ import {
30
30
  String2
31
31
  } from "./chunk-0h49y8gf.js";
32
32
  import {
33
+ newerKitmanVersion,
33
34
  digestSha256,
34
35
  digestSha512,
35
36
  digestWith,
@@ -38,7 +39,7 @@ import {
38
39
  get2,
39
40
  layer4,
40
41
  KitDigest
41
- } from "./chunk-shv2xs9y.js";
42
+ } from "./chunk-c7253rcg.js";
42
43
 
43
44
  // packages/core/src/npm-registry.ts
44
45
  var KitManifest = Struct({
@@ -100,6 +101,7 @@ var untar = (tar) => {
100
101
  return files;
101
102
  };
102
103
  var registryUrl = String2("NPM_CONFIG_REGISTRY").pipe(withDefault("https://registry.npmjs.org"));
104
+ var newerOf = (latest, next) => latest === undefined || next !== undefined && newerKitmanVersion(next, latest) ? next : latest;
103
105
  var npmRegistryAt = (url = registryUrl) => {
104
106
  const base = (isString(url) ? succeed6(url) : orDie(url)).pipe(map8((value) => value.replace(/\/+$/u, "")));
105
107
  const unreachable = (name, version) => (error) => new NpmRegistryError({
@@ -113,9 +115,15 @@ var npmRegistryAt = (url = registryUrl) => {
113
115
  return yield* filterStatusOk(response).pipe(flatMap3(schemaBodyJson(Packument)), mapError2(unreachable(name, version)));
114
116
  });
115
117
  return {
116
- latest: (name) => flatMap3(packument(name, "latest"), (found) => {
117
- const latest = found["dist-tags"].latest;
118
- return latest === undefined ? fail7(new NpmRegistryError({ kind: "not_found", message: `npm has no latest ${name}` })) : succeed6(latest);
118
+ latest: (name, channel = "stable") => flatMap3(packument(name, "latest"), (found) => {
119
+ const { latest, next } = found["dist-tags"];
120
+ const followed = channel === "next" ? newerOf(latest, next) : latest;
121
+ if (followed === undefined)
122
+ return fail7(new NpmRegistryError({
123
+ kind: "not_found",
124
+ message: `npm has no ${channel === "next" ? "latest or next" : "latest"} ${name}`
125
+ }));
126
+ return succeed6(followed);
119
127
  }),
120
128
  kit: (name, wanted) => gen(function* () {
121
129
  const found = yield* packument(name, wanted);
@@ -105,7 +105,7 @@ import {
105
105
  KitDigest,
106
106
  KitSetup,
107
107
  RunnerRpcError
108
- } from "./chunk-shv2xs9y.js";
108
+ } from "./chunk-c7253rcg.js";
109
109
  import {
110
110
  runForEach,
111
111
  FileSystem
@@ -34,6 +34,14 @@ 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";
37
45
  import {
38
46
  SecureRandom,
39
47
  layerWebCrypto,
@@ -45,31 +53,23 @@ import {
45
53
  layer4,
46
54
  kitmanMcpServer,
47
55
  RunnerRpcProtocolVersion
48
- } from "./chunk-shv2xs9y.js";
49
- import {
50
- decodeText,
51
- mkString,
52
- FileSystem,
53
- Path,
54
- withDefault,
55
- String2
56
- } from "./chunk-0h49y8gf.js";
56
+ } from "./chunk-c7253rcg.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-xsdceanv.js";
61
- import"./chunk-cb78rzqd.js";
60
+ } from "./chunk-1wbdexzg.js";
61
+ import"./chunk-13yrey2v.js";
62
62
  import {
63
63
  AgentDeclaration,
64
64
  KitDeclarations,
65
65
  describeFlag,
66
66
  Described
67
- } from "./chunk-pf13sv65.js";
67
+ } from "./chunk-4d4n8qjs.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
70
  make3
71
71
  } from "./chunk-mtkstrh3.js";
72
- import"./chunk-wyhg9cyk.js";
72
+ import"./chunk-fs72937p.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -4224,6 +4224,50 @@ var RunCommandCenterSnapshot = Struct({
4224
4224
  lowerBound: String4.check(isMinLength(1), isMaxLength(512)),
4225
4225
  isComplete: Literal(true)
4226
4226
  });
4227
+ // packages/core/src/release-channel.ts
4228
+ var ReleaseChannels = ["stable", "next"];
4229
+ var ReleaseChannel = Literals(ReleaseChannels);
4230
+ var DefaultReleaseChannel = "stable";
4231
+ var releaseVersion = (version) => {
4232
+ const parts = /^v?(\d+)\.(\d+)\.(\d+)(?:-([^+]+))?(?:\+.*)?$/u.exec(version);
4233
+ if (parts === null)
4234
+ return;
4235
+ const prerelease = parts[4];
4236
+ const devBuild = prerelease !== undefined && /(?:^|-)\d+-g[0-9a-f]+$/u.test(prerelease);
4237
+ const stage = prerelease === undefined ? 1 : devBuild && /^\d+-g[0-9a-f]+$/u.test(prerelease) ? 2 : 0;
4238
+ return {
4239
+ numbers: [...parts.slice(1, 4).map(Number), stage],
4240
+ prerelease: stage === 0 && prerelease !== undefined ? prerelease.split(".") : [],
4241
+ stable: prerelease === undefined,
4242
+ devBuild
4243
+ };
4244
+ };
4245
+ var comparePrereleaseIdentifier = (a, b) => {
4246
+ const [numericA, numericB] = [/^\d+$/u.test(a), /^\d+$/u.test(b)];
4247
+ if (numericA && numericB)
4248
+ return Number(a) - Number(b);
4249
+ if (numericA !== numericB)
4250
+ return numericA ? -1 : 1;
4251
+ return a < b ? -1 : a > b ? 1 : 0;
4252
+ };
4253
+ var comparePrerelease = (a, b) => {
4254
+ for (let index = 0;index < Math.min(a.length, b.length); index++) {
4255
+ const order = comparePrereleaseIdentifier(a[index] ?? "", b[index] ?? "");
4256
+ if (order !== 0)
4257
+ return order;
4258
+ }
4259
+ return a.length - b.length;
4260
+ };
4261
+ var newerKitmanVersion = (candidate, running) => {
4262
+ const [a, b] = [releaseVersion(candidate), releaseVersion(running)];
4263
+ if (a === undefined || b === undefined)
4264
+ return true;
4265
+ const differing = a.numbers.findIndex((part, index) => part !== b.numbers[index]);
4266
+ if (differing === -1)
4267
+ return comparePrerelease(a.prerelease, b.prerelease) > 0;
4268
+ return (a.numbers[differing] ?? 0) > (b.numbers[differing] ?? 0);
4269
+ };
4270
+
4227
4271
  // packages/core/src/agent-environment.ts
4228
4272
  var AgentHarnessIds = ["opencode", "claude-code", "codex", "pi"];
4229
4273
  var AgentEnvironmentPolicy = Union([Literal("recommended"), Literal("required")]);
@@ -7371,6 +7415,7 @@ var Runner = Struct({
7371
7415
  latestVersion: optionalKey(RunnerVersion),
7372
7416
  container: Boolean2,
7373
7417
  automaticUpdates: Boolean2,
7418
+ releaseChannel: optionalKey(ReleaseChannel),
7374
7419
  settings: optionalKey(RunnerSettings),
7375
7420
  appliedSettings: optionalKey(RunnerAppliedSettings),
7376
7421
  lastHeartbeatAt: optionalKey(Timestamp),
@@ -8118,21 +8163,6 @@ function deliveryProviderActions(providerActions, delivery) {
8118
8163
  release: posture("release")
8119
8164
  };
8120
8165
  }
8121
- var releaseVersion = (version) => {
8122
- const parts = /^v?(\d+)\.(\d+)\.(\d+)(-.+)?$/u.exec(version);
8123
- if (parts === null)
8124
- return;
8125
- const suffix = parts[4];
8126
- const stage = suffix === undefined ? 1 : /^-\d+-g[0-9a-f]+$/u.test(suffix) ? 2 : 0;
8127
- return { numbers: [...parts.slice(1, 4).map(Number), stage], stable: suffix === undefined };
8128
- };
8129
- var newerKitmanVersion = (candidate, running) => {
8130
- const [a, b] = [releaseVersion(candidate), releaseVersion(running)];
8131
- if (a === undefined || b === undefined)
8132
- return true;
8133
- const differing = a.numbers.findIndex((part, index) => part !== b.numbers[index]);
8134
- return differing !== -1 && (a.numbers[differing] ?? 0) > (b.numbers[differing] ?? 0);
8135
- };
8136
8166
  // packages/core/src/team-context.ts
8137
8167
  var BranchTemplate = String4.check(isMinLength(1), isMaxLength(160));
8138
8168
  var DeliveryMode = Literals(["gated", "auto"]);
@@ -16052,4 +16082,4 @@ function checkServices(declaration) {
16052
16082
  return isSome(decoded) ? [...new Set(decoded.value.services)] : undefined;
16053
16083
  }
16054
16084
 
16055
- export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, newerKitmanVersion, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
16085
+ export { Clock, currentTimeMillis, WebCrypto, SecureRandom, layerWebCrypto, makeUnsafe, formatIso, empty, fromInput, merge, runMain, layer, layer2, Stdio, Terminal, layer3, error, log, toDate, parseDate, toIso, currentDate, wallClockMillis, waitingOnWords, queueWords, scanDurableSurface, redactResponseSurface, redactCredentials, redactedOutputTail, SafeJson, ReleaseChannels, DefaultReleaseChannel, newerKitmanVersion, AgentHarnessIds, AgentSkillRequirement, AgentMcpServerRequirement, AgentEnvironmentFragment, findForbiddenAgentEnvironmentSecretPath, NetworkHost, RepoBindingProviders, RepoBindingCredentialProviderTypes, findForbiddenRepoBindingSecretPath, AgentSandboxNetwork, runnerAgentSandboxPolicy, agentNetworkAllowlist, verificationNetworkAllowlist, programNetworkHosts, ContextPackModes, DefaultContextPackMode, ProposalStatuses, ProposalTargetTypes, canonicalJson, canonicalSha256, AgentEfforts, AgentCapabilities, tokensSpent, LoopDataSchemaRef, RunDisplayStates, LoopVersion, ProgramLoop, AgentFallback, RunWaitUntils, isTestReportName, checkTests, ProgramWorkUnit, MeasureSample, MeasureEvidence, catchUpPathLimit, CatchUp, RunnerOwnership, RunnerExecutionBackend, MaxRunnerConcurrency, PinnedImage, RunnerSettingNames, RunnerSettingsUpdate, defaultRunnerSettings, shownRunnerSetting, defaultRunnerCapabilities, deliveryProviderActions, MemoryStatuses, MemoryScopes, MaxMemoryListLimit, DecisionStatuses, Session, SessionEnd, SessionUpdate, SessionUpdateCreate, FixFlowRecoveryActions, KitmanAgentCapabilityNames, sha2562, isRunFileRefusalReason, runFileRefusalWords, RunFileRefused, runFileContentType, repositoryKey, createId, digestSha256, digestSha512, digestWith, sha256Hasher, AgentEvent, raw, make5, get, post, put, setHeaders, acceptJson, bodyUint8Array, bodyJsonUnsafe, bodyUrlParams, schemaBodyJson, filterStatusOk, HttpClient, execute, get2, Fetch, layer4, Socket, SocketReadError, SocketError, WebSocketConstructor, layerWebSocketConstructorGlobal, layerWebSocket, runDisplayLabels, listedSummary, KitName, KitDigest, defaultKitName, KitSetup, SetupArchive, kitMcpSecretNames, kitmanMcpServer, KitmanClientError, KitmanEffectClient, CliError, DefaultApiUrl, resolveConfig, apiUrlFromEnv, stepCredentialFromEnv, stepWorkspaceFromEnv, stepSkillsDirFromEnv, stepFittingSkillsFromEnv, stepOutputOnlyFromEnv, mcpCredentialNameFromEnv, userConfigPath, userAuthPath, userHarnessSyncPath, kitSetupCacheDir, bundleCacheDir, localConfigPath, readUserConfig, writeUserConfig, sessionForApi, readAuthStore, storeSession, removeSession, removeAllSessions, agentCredentialForApi, storeAgentCredential, removeAgentCredential, normalizeApiUrl, isStoredAgentCredential, isStreamSchema, getStreamSchemas, make6, exitSchema, ParseOptions, RpcClientDefect, RpcClientError, make7, Service, RunnerHeaders, RunnerRpcProtocolVersion, RunnerRpcError, RunSettled, UpdateAvailable, RunnerReplicaRpcs, RunnerRunFileRpcs, ProgramRpcs, parseCallbackUrl, revokeToken, toStoredSession, browserLogin, openBrowser, shouldRefresh, createSdkClient, refreshSession, AgentAuthClientError, executeAgentCapability, createAgentAuthBearerToken, McpPlatformLive, runMcpEffect, createAgentAuthSignedFetch, setupMcpAgentCredential, generateAgentKeyPair, HERDR_CORE_GENERATION2, HERDR_CORE_INSTALL_COMMAND2, HerdrCoreMissing2, HerdrCoreIncompatible2, HerdrCoreConnectionLost2, HerdrCoreRpcError2, HerdrCoreUpdateFailed2, HerdrCore2, herdrCoreLayer2, herdrCoreTransportLayer2, updateHerdrCore2, CommandFailed2, runCommand2, withoutPreloads2, shellOutputTailChars2, runProcess2, CommandRunner2, runShell2, detectHarnesses2, kitHarnesses, isKitHarness, instructionsStart, instructionsEnd, harnessNames, renderMcpServer, materializeKitSetup, tomlInline, herdrExecutionExtension2, herdrNativeExtensionIds2, herdrRunnerCapabilitiesForRepoBinding2, herdrRunnerCapabilities2, assertHerdrRunnerCapability2, declaredChecks, installCommand, checkServicesFile, checkServices };
@@ -24,15 +24,15 @@ import {
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-0wdm7br1.js";
27
+ } from "./chunk-rgby07sa.js";
28
28
  import {
29
29
  instructionsStart,
30
30
  instructionsEnd,
31
31
  renderMcpServer,
32
32
  materializeKitSetup,
33
33
  tomlInline
34
- } from "./chunk-shv2xs9y.js";
35
- import"./chunk-xsdceanv.js";
34
+ } from "./chunk-c7253rcg.js";
35
+ import"./chunk-1wbdexzg.js";
36
36
  import"./chunk-mtkstrh3.js";
37
37
 
38
38
  // packages/agent-runtime/src/kit-setup-sync.ts
@@ -132,6 +132,9 @@ import {
132
132
  waitingOnWords,
133
133
  queueWords,
134
134
  redactResponseSurface,
135
+ ReleaseChannels,
136
+ DefaultReleaseChannel,
137
+ newerKitmanVersion,
135
138
  NetworkHost,
136
139
  RepoBindingProviders,
137
140
  RepoBindingCredentialProviderTypes,
@@ -149,7 +152,6 @@ import {
149
152
  shownRunnerSetting,
150
153
  defaultRunnerCapabilities,
151
154
  deliveryProviderActions,
152
- newerKitmanVersion,
153
155
  MemoryStatuses,
154
156
  MemoryScopes,
155
157
  MaxMemoryListLimit,
@@ -226,7 +228,7 @@ import {
226
228
  harnessNames,
227
229
  herdrRunnerCapabilities2,
228
230
  declaredChecks
229
- } from "./chunk-shv2xs9y.js";
231
+ } from "./chunk-c7253rcg.js";
230
232
  import {
231
233
  Id
232
234
  } from "./chunk-q5w3v4k1.js";
@@ -534,6 +536,7 @@ var moreUsage = [
534
536
  " kitman workspace list",
535
537
  " kitman workspace create <name>",
536
538
  " kitman workspace use <workspace> [--local] (--local writes it to this directory\u2019s .kitman/config.json)",
539
+ " kitman workspace channel [stable|next] (the releases its Runners and unpinned npm Kits follow; admins set it)",
537
540
  " kitman team list",
538
541
  " kitman team use <team> [--local]"
539
542
  ]
@@ -753,6 +756,7 @@ var examples = [
753
756
  "kitman workspace list",
754
757
  "kitman workspace create Acme",
755
758
  "kitman workspace use acme --local",
759
+ "kitman workspace channel next",
756
760
  "kitman mcp",
757
761
  "kitman mcp setup --name codex",
758
762
  "kitman sync --harness codex",
@@ -985,10 +989,10 @@ var sandboxMissing = (sandbox, missing) => ({
985
989
  var personalCheckBackend = (agentSandbox, dockerAvailable) => agentSandbox === "srt" || agentSandbox === "docker" && dockerAvailable ? agentSandbox : undefined;
986
990
  var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
987
991
  var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
988
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-4x06mdcd.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
992
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-y39h1gzp.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
989
993
  });
990
994
  var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
991
- defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-4x06mdcd.js")), (module) => module.updateHerdrCore(options))
995
+ defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-y39h1gzp.js")), (module) => module.updateHerdrCore(options))
992
996
  });
993
997
  var herdrCoreMissing = (error) => {
994
998
  if (isTagged(error, "HerdrCoreMissing"))
@@ -1408,7 +1412,7 @@ var syncTargets = (harness) => gen(function* () {
1408
1412
  });
1409
1413
  var syncKits = (input) => gen(function* () {
1410
1414
  const fs = yield* FileSystem;
1411
- const { syncKitSetup } = yield* promise(() => import("./chunk-vw462m91.js"));
1415
+ const { syncKitSetup } = yield* promise(() => import("./chunk-c76ngzr6.js"));
1412
1416
  const harnesses = yield* syncTargets(input.harness);
1413
1417
  const chain = yield* input.client.getKitChain(input.workspaceId);
1414
1418
  for (const { name, problem } of chain.skipped)
@@ -1801,6 +1805,7 @@ var machineRunnerCommand = (action, apiUrl, options) => gen(function* () {
1801
1805
  ` state: ${state}`,
1802
1806
  ...problems.flatMap((problem) => [` ${problem.code}: ${problem.message}`, ` fix: ${problem.fix}`]),
1803
1807
  ` kitman: ${version ?? "not installed"}`,
1808
+ ...runner?.releaseChannel === undefined ? [] : [` release channel: ${runner.releaseChannel}`],
1804
1809
  ` service: ${(yield* runnerServiceState(runnerServiceName(runnerId))) ?? "unsupported"}`
1805
1810
  ].join(`
1806
1811
  `));
@@ -2326,7 +2331,7 @@ var package_default = {
2326
2331
  };
2327
2332
 
2328
2333
  // apps/cli/src/scaffold.ts
2329
- var cliVersion = "0.12.0";
2334
+ var cliVersion = "0.12.2";
2330
2335
  var packageJson = (name, scaffold) => `${JSON.stringify({
2331
2336
  name,
2332
2337
  private: true,
@@ -2478,7 +2483,7 @@ var scaffoldKit = (directory, scaffold = {}) => gen(function* () {
2478
2483
 
2479
2484
  // apps/cli/src/commands.ts
2480
2485
  var ClientId = "kitman-cli";
2481
- var agentRuntime = promise(() => import("./chunk-qj6gjtdd.js"));
2486
+ var agentRuntime = promise(() => import("./chunk-hvwkpnv5.js"));
2482
2487
  var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
2483
2488
  defaultValue: () => gen(function* () {
2484
2489
  const tui = yield* tryPromise({
@@ -3064,6 +3069,28 @@ function workspaceCommand(args) {
3064
3069
  yield* writeActiveWorkspace(apiUrl, workspace.id);
3065
3070
  return yield* printRows([{ id: workspace.id, name: workspace.name, slug: workspace.slug, plan: workspace.plan }], command.flags.json);
3066
3071
  }
3072
+ if (command.action === "channel") {
3073
+ const workspaceId = yield* activeWorkspaceId(command.flags);
3074
+ const chosen = command.args[0];
3075
+ if (chosen === undefined) {
3076
+ const workspace = (yield* client.listWorkspaces()).items.find((each) => each.id === workspaceId);
3077
+ if (workspace === undefined)
3078
+ return yield* new CliError({ message: `No Workspace ${workspaceId}` });
3079
+ const releaseChannel = workspace.releaseChannel ?? DefaultReleaseChannel;
3080
+ if (command.flags.json)
3081
+ return yield* printRows([{ id: workspace.id, releaseChannel }], true);
3082
+ return yield* log(`${workspace.name} follows the ${releaseChannel} release channel`);
3083
+ }
3084
+ const releaseChannel = ReleaseChannels.find((channel) => channel === chosen);
3085
+ if (releaseChannel === undefined)
3086
+ return yield* new CliError({
3087
+ message: `The release channel is ${ReleaseChannels.join(" or ")}, not ${chosen}`
3088
+ });
3089
+ const workspace = yield* client.updateWorkspace(workspaceId, { releaseChannel });
3090
+ if (command.flags.json)
3091
+ return yield* printRows([{ id: workspace.id, releaseChannel: workspace.releaseChannel ?? releaseChannel }], true);
3092
+ return yield* log(`${workspace.name} now follows the ${workspace.releaseChannel ?? releaseChannel} release channel`);
3093
+ }
3067
3094
  if (command.action === "use") {
3068
3095
  const workspaceRef = requiredArg(command, "workspace");
3069
3096
  const workspace = yield* resolveWorkspace(client, workspaceRef);
@@ -3480,7 +3507,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
3480
3507
  });
3481
3508
  var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
3482
3509
  defaultValue: () => (options) => gen(function* () {
3483
- const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-s6z4aqag.js"));
3510
+ const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-kvt8cr8m.js"));
3484
3511
  return yield* makeRunnerRpcClient({
3485
3512
  runnerId: options.runnerId,
3486
3513
  bearer: options.bearer,
@@ -4012,7 +4039,7 @@ function mcpCommand(args) {
4012
4039
  if (command.action === "run") {
4013
4040
  if (command.args.length > 0)
4014
4041
  return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
4015
- const { runMcpServerCommand } = yield* promise(() => import("./chunk-h3em3y8r.js"));
4042
+ const { runMcpServerCommand } = yield* promise(() => import("./chunk-11yawd7p.js"));
4016
4043
  return yield* runMcpServerCommand({ flags: command.flags });
4017
4044
  }
4018
4045
  if (command.action !== "setup")
@@ -4500,7 +4527,7 @@ function programLoopCommand(command) {
4500
4527
  return yield* new CliError({ message: `Unknown loop command: ${command.action}` });
4501
4528
  });
4502
4529
  }
4503
- var docsModule = promise(() => import("./chunk-wh2ep6fc.js"));
4530
+ var docsModule = promise(() => import("./chunk-xj6qb52g.js"));
4504
4531
  function docsCommand(args) {
4505
4532
  return gen(function* () {
4506
4533
  const command = parseCommand(args);
@@ -5333,9 +5360,9 @@ function changeRequestCommand(args) {
5333
5360
  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}`);
5334
5361
  });
5335
5362
  }
5336
- var KitWriter = map8(promise(() => import("./chunk-mjdt8wbv.js")), (build) => build.writeKit);
5363
+ var KitWriter = map8(promise(() => import("./chunk-711r4pfw.js")), (build) => build.writeKit);
5337
5364
  var KitBuilder = Reference("kitman/cli/KitBuilder", {
5338
- defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-mjdt8wbv.js")), (build) => build.buildKit(directory))
5365
+ defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-711r4pfw.js")), (build) => build.buildKit(directory))
5339
5366
  });
5340
5367
  var uploadKit = (client, workspaceId, built) => gen(function* () {
5341
5368
  yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
@@ -5981,6 +6008,7 @@ function runnerRow(runner) {
5981
6008
  schedulingBoundary: "scope_and_identity_gated",
5982
6009
  version: runner.version,
5983
6010
  latestVersion: runner.latestVersion,
6011
+ releaseChannel: runner.releaseChannel,
5984
6012
  lastHeartbeatAt: runner.lastHeartbeatAt
5985
6013
  };
5986
6014
  }
@@ -123,7 +123,7 @@ import {
123
123
  ParseOptions,
124
124
  RpcClientDefect,
125
125
  RpcClientError
126
- } from "./chunk-shv2xs9y.js";
126
+ } from "./chunk-c7253rcg.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")) {
@@ -400,7 +400,16 @@ Kitman Web includes user, agent, and operator guides.
400
400
  path: "kits",
401
401
  level: 1,
402
402
  link: "https://kitman.sh/knowledge/docs/kits",
403
- text: "Deploying, installing, publishing and syncing Kits.\n\nA Kit is what Kitman runs and what agents get: Loops, Agents and Schedules, plus a setup of skills, plugins, MCP servers and instructions. It is a repository whose `kitman.config.ts` exports `defineKit({ \u2026 })`. Kits change only at their source.\n\nA Kit reaches the Workspace, a Team or one person in one of two ways, and a name is only ever one of them there:\n\n- **Deployed** from its repository with `kitman deploy`, by hand or from CI through a Deploy Binding.\n- **Installed** from npm with `kitman kit add <name>`. An install follows npm's `latest` unless pinned.\n\nA Team's Tasks and Runs get the Kits of its Owner chain, nearest first: the Team's, then the Workspace's, then Kitman's shipped Kits."
403
+ text: `Deploying, installing, publishing and syncing Kits.
404
+
405
+ A Kit is what Kitman runs and what agents get: Loops, Agents and Schedules, plus a setup of skills, plugins, MCP servers and instructions. It is a repository whose \`kitman.config.ts\` exports \`defineKit({ \u2026 })\`. Kits change only at their source.
406
+
407
+ A Kit reaches the Workspace, a Team or one person in one of two ways, and a name is only ever one of them there:
408
+
409
+ - **Deployed** from its repository with \`kitman deploy\`, by hand or from CI through a Deploy Binding.
410
+ - **Installed** from npm with \`kitman kit add <name>\`. An install follows its Workspace's [release channel](#release-channel) unless pinned.
411
+
412
+ A Team's Tasks and Runs get the Kits of its Owner chain, nearest first: the Team's, then the Workspace's, then Kitman's shipped Kits.`
404
413
  },
405
414
  {
406
415
  title: "Kits Guide \u203A Starting a Kit",
@@ -421,20 +430,14 @@ Kitman Web includes user, agent, and operator guides.
421
430
  path: "kits#listing-installing-and-removing",
422
431
  level: 2,
423
432
  link: "https://kitman.sh/knowledge/docs/kits#listing-installing-and-removing",
424
- text: `## Listing, installing and removing
425
-
426
- \`\`\`sh
427
- kitman kit list [--team <team>|--me]
428
- kitman kit show <name>
429
- kitman kit add <npm name> [--team <team>|--me]
430
- kitman kit pin <name> <version>
431
- kitman kit unpin <name>
432
- kitman kit remove <name> [--yes]
433
- \`\`\`
434
-
435
- \`kitman kit list\` shows each Kit with its version and how it got there: deployed from a repository, or installed from npm. \`kitman kit remove\` removes whichever the name is. A deployed Kit prints what removing it takes away and goes only with \`--yes\`, and needs the rights a deploy does.
436
-
437
- In the web, Knowledge lists a Team's Kits from its Owner chain, and Settings \u2192 Kits shows each deployed Kit's versions, the records it owns and edits made since.`
433
+ text: "## Listing, installing and removing\n\n```sh\nkitman kit list [--team <team>|--me]\nkitman kit show <name>\nkitman kit add <npm name> [--team <team>|--me]\nkitman kit pin <name> <version>\nkitman kit unpin <name>\nkitman kit remove <name> [--yes]\n```\n\n`kitman kit list` shows each Kit with its version and how it got there: deployed from a repository, or installed from npm. `kitman kit remove` removes whichever the name is. A deployed Kit prints what removing it takes away and goes only with `--yes`, and needs the rights a deploy does."
434
+ },
435
+ {
436
+ title: "Kits Guide \u203A Release channel",
437
+ path: "kits#release-channel",
438
+ level: 3,
439
+ link: "https://kitman.sh/knowledge/docs/kits#release-channel",
440
+ text: "### Release channel\n\nAn unpinned npm install follows its Workspace's release channel, the one its Runners follow:\n\n- `stable`, the default: npm's `latest` dist-tag.\n- `next`: the newer of npm's `next` and `latest` dist-tags, so a release candidate published under `next` reaches the install, and a stable release newer than it reaches it too.\n\nA pinned version always wins on either channel. Moving back from `next` to `stable` never downgrades an install: one on a version `next` brought stays on it until npm's `latest` names a newer release. Otherwise a `stable` install follows `latest` wherever it points, back to an older release too when the publisher retags it. A Workspace admin sets the channel in Settings \u2192 General \u2192 Release channel, or with `kitman workspace channel stable|next`.\n\nIn the web, Knowledge lists a Team's Kits from its Owner chain, and Settings \u2192 Kits shows each deployed Kit's versions, the records it owns and edits made since."
438
441
  },
439
442
  {
440
443
  title: "Kits Guide \u203A The Marketplace",
@@ -703,7 +706,14 @@ Runners execute StepAttempts in user-controlled environments. A runner advertise
703
706
  path: "runner-operations#herdr-core",
704
707
  level: 3,
705
708
  link: "https://kitman.sh/knowledge/docs/runner-operations#herdr-core",
706
- text: "### herdr-core\n\nYour Runner runs each agent Step in a [herdr-core](https://herdr.dev) terminal, which pairing installs when `herdr-core` is missing. A personal Runner uses your own herdr-core, so `hc ls` lists its agents next to your terminals and `hc attach <terminal>` lets you watch one and type into it; `hc ls --label kitman.runner=<runner-id>` lists only that Runner's. If you run herdr-app, each Run is a space and each Step a tab in it. A shared Runner uses a herdr-core session of its own, so its agents never appear among your terminals.\n\nWhen a Step ends, your Runner stops every process its agent started, including one it detached into a session of its own, such as a test that launched another `claude`. A process it cannot stop shows as the `processes_unreaped` Runner Problem with the command that stops it. Where your Runner cannot hold every process an agent starts, on `host` without a systemd user manager or on srt outside Linux, it shows the `processes_uncontained` Runner Problem and how to fix it.\n\nWhen Kitman serves a stable release newer than your Runner's, your Runner installs it and restarts on it by itself. It first stops claiming and lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. Release candidates and dev builds are never installed this way. A Runner in a container cannot update itself, so it shows the `update_required` Runner Problem with the release to run its image with, and keeps working on its current version.\n\nWhen a Kitman release raises the protocol its Runners speak, Kitman gives an older Runner no more work and shows it with the `update_required` Runner Problem. The Runner installs the release Kitman serves and restarts on it by itself. If the release still reads the older protocol's work calls, the Runner first lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. Otherwise its running Steps stop and go back to Kitman once their leases expire. A Runner in a container cannot update itself: it waits for its work the same way, then stops. Run it from an image with the release Kitman serves.\n\nSome work needs a Runner new enough to run its kind, such as a Release's deploy, a benchmark or resolving revisions. While no online Runner that serves such work can run it, its Run says so instead of its place in the queue, and names the Runners that serve it and the Kitman version each runs. Within a few minutes, busy or not, each such Runner's owner, or the Workspace admins for a shared one, is told once per piece of work, with how to update it. An agent Step that no online Runner serving it can launch, for want of its Harness or sandbox, or because the Runner takes no agent Steps, says so the same way.\n\nEvery Runner start updates herdr-core to its latest release within the same protocol generation, keeping your terminals running, so herdr-core follows each Kitman update. An update that cannot happen, such as on a machine that is offline or a herdr-core a package manager installed, leaves the Runner working on the herdr-core it has and shows the `update_failed` Runner Problem with its fix.\n\nA Runner without a herdr-core it can use shows the `herdr_core_missing` Runner Problem and stops:\n\n- herdr-core is not installed: run `curl -fsSL https://releases.herdr.dev/core/install.sh | sh`, then restart the Runner.\n- herdr-core lacks something Kitman needs: run `herdr-core update`, then restart the Runner.\n- herdr-core speaks a newer protocol generation than this Kitman: update Kitman."
709
+ text: "### herdr-core\n\nYour Runner runs each agent Step in a [herdr-core](https://herdr.dev) terminal, which pairing installs when `herdr-core` is missing. A personal Runner uses your own herdr-core, so `hc ls` lists its agents next to your terminals and `hc attach <terminal>` lets you watch one and type into it; `hc ls --label kitman.runner=<runner-id>` lists only that Runner's. If you run herdr-app, each Run is a space and each Step a tab in it. A shared Runner uses a herdr-core session of its own, so its agents never appear among your terminals.\n\nWhen a Step ends, your Runner stops every process its agent started, including one it detached into a session of its own, such as a test that launched another `claude`. A process it cannot stop shows as the `processes_unreaped` Runner Problem with the command that stops it. Where your Runner cannot hold every process an agent starts, on `host` without a systemd user manager or on srt outside Linux, it shows the `processes_uncontained` Runner Problem and how to fix it.\n\nWhen Kitman serves a release on your Workspace's release channel newer than your Runner's, your Runner installs it and restarts on it by itself. It first stops claiming and lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. A Runner in a container cannot update itself, so it shows the `update_required` Runner Problem with the release to run its image with, and keeps working on its current version."
710
+ },
711
+ {
712
+ title: "Runner Operations Guide \u203A Release channel",
713
+ path: "runner-operations#release-channel",
714
+ level: 3,
715
+ link: "https://kitman.sh/knowledge/docs/runner-operations#release-channel",
716
+ text: "### Release channel\n\nA Workspace's release channel decides which releases its Runners update themselves to:\n\n- `stable`, the default: only stable releases, such as `0.12.0`.\n- `next`: release candidates Kitman serves too, such as `0.12.0-rc.5`.\n\nDev builds are never installed this way on either channel. A Workspace admin sets the channel in Settings \u2192 General \u2192 Release channel, with `kitman workspace channel next` or `kitman workspace channel stable`, or with the SDK's `updateWorkspace(workspaceId, { releaseChannel })`. Changing it offers each connected Runner the release it now makes due. The same channel decides what its unpinned npm Kits follow; see the [Kits guide](/docs/kits#release-channel).\n\nMoving back from `next` to `stable` never downgrades a Runner: one on a release candidate keeps running it until Kitman serves a stable release newer than it. The Runners page and `kitman runner status` show the channel each Runner follows.\n\nWhen a Kitman release raises the protocol its Runners speak, Kitman gives an older Runner no more work and shows it with the `update_required` Runner Problem. The Runner installs the release Kitman serves and restarts on it by itself. If the release still reads the older protocol's work calls, the Runner first lets its running work finish, for up to 30 minutes, and any Step still running then goes back to Kitman for another Runner. Otherwise its running Steps stop and go back to Kitman once their leases expire. A Runner in a container cannot update itself: it waits for its work the same way, then stops. Run it from an image with the release Kitman serves.\n\nSome work needs a Runner new enough to run its kind, such as a Release's deploy, a benchmark or resolving revisions. While no online Runner that serves such work can run it, its Run says so instead of its place in the queue, and names the Runners that serve it and the Kitman version each runs. Within a few minutes, busy or not, each such Runner's owner, or the Workspace admins for a shared one, is told once per piece of work, with how to update it. An agent Step that no online Runner serving it can launch, for want of its Harness or sandbox, or because the Runner takes no agent Steps, says so the same way.\n\nEvery Runner start updates herdr-core to its latest release within the same protocol generation, keeping your terminals running, so herdr-core follows each Kitman update. An update that cannot happen, such as on a machine that is offline or a herdr-core a package manager installed, leaves the Runner working on the herdr-core it has and shows the `update_failed` Runner Problem with its fix.\n\nA Runner without a herdr-core it can use shows the `herdr_core_missing` Runner Problem and stops:\n\n- herdr-core is not installed: run `curl -fsSL https://releases.herdr.dev/core/install.sh | sh`, then restart the Runner.\n- herdr-core lacks something Kitman needs: run `herdr-core update`, then restart the Runner.\n- herdr-core speaks a newer protocol generation than this Kitman: update Kitman."
707
717
  },
708
718
  {
709
719
  title: "Runner Operations Guide \u203A Harnesses",
@@ -1444,7 +1454,7 @@ var pathOfLink = (link) => {
1444
1454
  return page === null ? link : page[1] || "index";
1445
1455
  };
1446
1456
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
1447
- var pinnedLink2 = (link, version = "0.12.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1457
+ var pinnedLink2 = (link, version = "0.12.2") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
1448
1458
  var pageOf = (path) => path.split("#")[0];
1449
1459
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
1450
1460
  function excerpt(text, queryTerms) {
@@ -247,7 +247,7 @@ import {
247
247
  installCommand,
248
248
  checkServicesFile,
249
249
  checkServices
250
- } from "./chunk-shv2xs9y.js";
250
+ } from "./chunk-c7253rcg.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-0wdm7br1.js";
308
- import"./chunk-xsdceanv.js";
307
+ } from "./chunk-rgby07sa.js";
308
+ import"./chunk-1wbdexzg.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-pf13sv65.js";
334
- import"./chunk-cb78rzqd.js";
333
+ } from "./chunk-4d4n8qjs.js";
334
+ import"./chunk-13yrey2v.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-wyhg9cyk.js";
342
+ import"./chunk-fs72937p.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -4,9 +4,9 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-cb78rzqd.js";
8
- import"./chunk-wyhg9cyk.js";
9
- import"./chunk-shv2xs9y.js";
7
+ } from "./chunk-13yrey2v.js";
8
+ import"./chunk-fs72937p.js";
9
+ import"./chunk-c7253rcg.js";
10
10
  import"./chunk-q5w3v4k1.js";
11
11
  import"./chunk-0h49y8gf.js";
12
12
  import"./chunk-zw3gf6r5.js";
@@ -36,10 +36,10 @@ import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-shv2xs9y.js";
39
+ } from "./chunk-c7253rcg.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-xsdceanv.js";
42
+ } from "./chunk-1wbdexzg.js";
43
43
 
44
44
  // packages/agent-runtime/src/config-convergence.ts
45
45
  var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-xaspqegt.js";
7
+ } from "./chunk-gmm11k85.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -12,7 +12,7 @@ import {
12
12
  herdrCoreLayer2,
13
13
  herdrCoreTransportLayer2,
14
14
  updateHerdrCore2
15
- } from "./chunk-shv2xs9y.js";
15
+ } from "./chunk-c7253rcg.js";
16
16
  import"./chunk-0h49y8gf.js";
17
17
  import"./chunk-zw3gf6r5.js";
18
18
  export {
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-4k5jfyqd.js");
17
+ const { runCli } = await import("./chunk-fq26n6j0.js");
18
18
  runCli(args);
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/cli",
3
- "version": "0.12.0",
3
+ "version": "0.12.2",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {