@kitman-sh/cli 0.12.14 → 0.12.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,23 +53,23 @@ import {
53
53
  layer4,
54
54
  kitmanMcpServer,
55
55
  RunnerRpcProtocolVersion
56
- } from "./chunk-wx3cx43j.js";
56
+ } from "./chunk-cjzcg317.js";
57
57
  import {
58
58
  Packument,
59
59
  tarballMatches
60
- } from "./chunk-xgdyj09a.js";
61
- import"./chunk-51ye0af0.js";
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-q44g4vf7.js";
67
+ } from "./chunk-1625ftev.js";
68
68
  import {
69
69
  ChildProcessSpawner,
70
70
  make3
71
71
  } from "./chunk-mtkstrh3.js";
72
- import"./chunk-5wnjn5r0.js";
72
+ import"./chunk-nh27qwj1.js";
73
73
 
74
74
  // packages/sdk/src/build/index.ts
75
75
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -24,15 +24,15 @@ import {
24
24
  tomlKeyPath2,
25
25
  kitmanSkillEntry,
26
26
  isPathWithin2
27
- } from "./chunk-f0h8f3kw.js";
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-wx3cx43j.js";
35
- import"./chunk-xgdyj09a.js";
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-wx3cx43j.js";
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-wx3cx43j.js";
22
+ } from "./chunk-cjzcg317.js";
23
23
  import {
24
24
  layerJson,
25
25
  make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-5wnjn5r0.js";
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-51ye0af0.js";
8
- import"./chunk-5wnjn5r0.js";
9
- import"./chunk-wx3cx43j.js";
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";
@@ -4,7 +4,7 @@ import {
4
4
  searchDocs2,
5
5
  readDoc2,
6
6
  pinnedLink2
7
- } from "./chunk-gnxa022f.js";
7
+ } from "./chunk-6ymzrhwd.js";
8
8
  export {
9
9
  DefaultDocsSearchLimit2 as DefaultDocsSearchLimit,
10
10
  pinnedLink2 as pinnedLink,
@@ -247,7 +247,7 @@ import {
247
247
  installCommand,
248
248
  checkServicesFile,
249
249
  checkServices
250
- } from "./chunk-wx3cx43j.js";
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-f0h8f3kw.js";
308
- import"./chunk-xgdyj09a.js";
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-q44g4vf7.js";
334
- import"./chunk-51ye0af0.js";
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-5wnjn5r0.js";
342
+ import"./chunk-nh27qwj1.js";
343
343
 
344
344
  // packages/core/src/sync-kit.ts
345
345
  import { createHash } from "crypto";
@@ -6000,12 +6000,11 @@ var deleteRef = (checkouts, repoBinding, ref) => gen(function* () {
6000
6000
  var listenForSignals = (input) => gen(function* () {
6001
6001
  const services = yield* context();
6002
6002
  const clearCheckpoints = clearSettledCheckpoints(input.rpc, input.checkouts).pipe(catch_((error) => logWarning("runner_checkpoints_not_cleared", error.message)), provideContext2(services));
6003
- const held = yield* input.checkouts.held;
6004
- const settled = held.length === 0 ? [] : yield* input.rpc.settledRuns(held);
6005
- yield* forEach(settled, input.checkouts.drop, { discard: true });
6006
6003
  const scope = yield* scope2;
6007
- yield* forkIn(clearCheckpoints, scope);
6008
- yield* input.rpc.listen(input.runnerReplicaId, (signal) => isUpdateAvailable(signal) ? input.update?.(signal.version) ?? void_3 : isRunSettled(signal) ? ignore(input.checkouts.drop(signal.runId)).pipe(provideContext2(services), andThen2(forkIn(clearCheckpoints, scope)), asVoid) : input.signals.push(signal));
6004
+ const dropSettled = (runIds) => forEach(runIds, (runId) => ignore(input.checkouts.drop(runId)), { discard: true }).pipe(provideContext2(services), andThen2(clearCheckpoints), forkIn(scope), asVoid);
6005
+ const held = yield* input.checkouts.held;
6006
+ yield* dropSettled(held.length === 0 ? [] : yield* input.rpc.settledRuns(held));
6007
+ yield* input.rpc.listen(input.runnerReplicaId, (signal) => isUpdateAvailable(signal) ? input.update?.(signal.version) ?? void_3 : isRunSettled(signal) ? dropSettled([signal.runId]) : input.signals.push(signal));
6009
6008
  }).pipe(scoped, catch_((error) => logWarning("runner_signals_disconnected", error.message)), catchDefect((defect) => logError("runner_signals_failed", pretty(die2(defect)))), andThen2(sleep(input.reconnectAfter)), forever);
6010
6009
  var pushWork = (worktree, branch, step, shared, env) => gen(function* () {
6011
6010
  const git = (...args) => runCommand2("git", ["-C", worktree, ...args]);
@@ -36,10 +36,10 @@ import {
36
36
  AgentHarnessIds,
37
37
  sha2562,
38
38
  runCommand2
39
- } from "./chunk-wx3cx43j.js";
39
+ } from "./chunk-cjzcg317.js";
40
40
  import {
41
41
  NpmRegistry
42
- } from "./chunk-xgdyj09a.js";
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-hh7rg13h.js");
17
+ const { runCli } = await import("./chunk-7vkmemp0.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.14",
3
+ "version": "0.12.16",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {