@kitman-sh/cli 0.10.64 → 0.10.65

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.
Files changed (26) hide show
  1. package/dist/{chunk-zej59tf2.js → chunk-1rry0tsn.js} +60 -14
  2. package/dist/{chunk-fm4m4v6j.js → chunk-1v319b82.js} +115 -107
  3. package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
  4. package/dist/{chunk-rv4r0n7d.js → chunk-1zt2rcea.js} +4 -4
  5. package/dist/{chunk-ksx5nt4b.js → chunk-60333x3q.js} +5 -5
  6. package/dist/{chunk-s2d1a2my.js → chunk-7xtst67f.js} +7 -7
  7. package/dist/{chunk-m9v1z0gz.js → chunk-cc4cy79t.js} +21 -21
  8. package/dist/{chunk-x306t6v1.js → chunk-csbf77zs.js} +11 -11
  9. package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
  10. package/dist/{chunk-qdn9tnav.js → chunk-dk0ftqwg.js} +18 -26
  11. package/dist/{chunk-3z0p2wtr.js → chunk-gbsqf61e.js} +3 -3
  12. package/dist/{chunk-wjs5fpv0.js → chunk-hmwvsfgq.js} +5 -5
  13. package/dist/{chunk-dzxahdb7.js → chunk-k4vvmwvj.js} +73 -65
  14. package/dist/{chunk-smmgt31x.js → chunk-kebax0r8.js} +9 -9
  15. package/dist/{chunk-b9xcawfx.js → chunk-mvvp19kb.js} +36 -36
  16. package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
  17. package/dist/{chunk-t47h82ew.js → chunk-qp07hf3f.js} +11 -11
  18. package/dist/{chunk-byhwksbq.js → chunk-rm83dbpv.js} +2 -2
  19. package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
  20. package/dist/{chunk-a31qjdsm.js → chunk-rzxt9mb5.js} +7 -7
  21. package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
  22. package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
  23. package/dist/{chunk-fznm6es2.js → chunk-y1328g78.js} +7 -7
  24. package/dist/{chunk-tdp34kqg.js → chunk-ysw716r4.js} +19 -19
  25. package/dist/index.js +4 -4
  26. package/package.json +1 -1
@@ -102,7 +102,7 @@ import {
102
102
  decodeJsonStringOption,
103
103
  encodeJsonStringSync,
104
104
  encodePrettyJsonString
105
- } from "./chunk-677etczq.js";
105
+ } from "./chunk-d3ksv8y1.js";
106
106
  import {
107
107
  currentTimeMillis,
108
108
  SecureRandom,
@@ -141,8 +141,8 @@ import {
141
141
  sessionForApi,
142
142
  readAuthStore,
143
143
  agentCredentialForApi,
144
- make5,
145
144
  make6,
145
+ make7,
146
146
  Service,
147
147
  shouldRefresh,
148
148
  refreshSession,
@@ -153,27 +153,13 @@ import {
153
153
  runMcpEffect,
154
154
  createAgentAuthSignedFetch,
155
155
  setupMcpAgentCredential
156
- } from "./chunk-fm4m4v6j.js";
157
- import {
158
- join,
159
- interrupt,
160
- runForEach,
161
- FileSystem,
162
- Path,
163
- embeddedFile,
164
- extractEmbeddedFile,
165
- map3,
166
- all,
167
- withDefault,
168
- option,
169
- String2
170
- } from "./chunk-qdn9tnav.js";
156
+ } from "./chunk-1v319b82.js";
171
157
  import {
172
158
  guard,
173
159
  Id,
174
160
  Timestamp,
175
161
  ActorType
176
- } from "./chunk-wnwyp9qn.js";
162
+ } from "./chunk-rrnee9mk.js";
177
163
  import {
178
164
  toJsonValue,
179
165
  isOneOf,
@@ -187,17 +173,31 @@ import {
187
173
  isJsonObject,
188
174
  isString,
189
175
  kindOf
190
- } from "./chunk-h6360r1c.js";
176
+ } from "./chunk-v01c0k6j.js";
177
+ import {
178
+ join,
179
+ interrupt,
180
+ runForEach,
181
+ FileSystem,
182
+ Path,
183
+ embeddedFile,
184
+ extractEmbeddedFile,
185
+ map3,
186
+ all,
187
+ withDefault,
188
+ option,
189
+ String2
190
+ } from "./chunk-dk0ftqwg.js";
191
191
  import {
192
192
  nextInt
193
- } from "./chunk-p23kedha.js";
193
+ } from "./chunk-q3c7vmby.js";
194
194
  import {
195
195
  layerJson,
196
- make3,
196
+ make4,
197
197
  withHeaders,
198
198
  layerProtocolSocket,
199
199
  ConnectionHooks
200
- } from "./chunk-wjs5fpv0.js";
200
+ } from "./chunk-hmwvsfgq.js";
201
201
 
202
202
  // apps/cli/src/mcp.ts
203
203
  import { tmpdir } from "os";
@@ -1941,56 +1941,56 @@ var LivePresenceSubscriptionMessage = Union([
1941
1941
  LivePresenceSubscriptionUpdate
1942
1942
  ]);
1943
1943
 
1944
- class LiveRpcs extends make6(make5("Session", {
1944
+ class LiveRpcs extends make7(make6("Session", {
1945
1945
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1946
1946
  error: LiveRpcError
1947
- }), make5("Subscribe", {
1947
+ }), make6("Subscribe", {
1948
1948
  payload: LiveSubscribeInput,
1949
1949
  success: LiveSubscriptionMessage,
1950
1950
  error: LiveRpcError,
1951
1951
  stream: true
1952
- }), make5("Replay", {
1952
+ }), make6("Replay", {
1953
1953
  payload: LiveReplayInput,
1954
1954
  success: ArraySchema(LiveEvent),
1955
1955
  error: LiveRpcError
1956
- }), make5("Ack", {
1956
+ }), make6("Ack", {
1957
1957
  payload: LiveAckInput,
1958
1958
  success: LiveAckResult,
1959
1959
  error: LiveRpcError
1960
- }), make5("SubscribeWeb", {
1960
+ }), make6("SubscribeWeb", {
1961
1961
  payload: LiveWebSubscribeInput,
1962
1962
  success: LiveWebSubscriptionMessage,
1963
1963
  error: LiveRpcError,
1964
1964
  stream: true
1965
- }), make5("SubscriptionStatus", {
1965
+ }), make6("SubscriptionStatus", {
1966
1966
  payload: { subscriptionId: String4 },
1967
1967
  success: LiveSubscriptionStatus,
1968
1968
  error: LiveRpcError
1969
- }), make5("ReplayWeb", {
1969
+ }), make6("ReplayWeb", {
1970
1970
  payload: LiveWebReplayInput,
1971
1971
  success: LiveWebReplayResult,
1972
1972
  error: LiveRpcError
1973
- }), make5("AckWeb", {
1973
+ }), make6("AckWeb", {
1974
1974
  payload: LiveWebAckInput,
1975
1975
  success: LiveWebAckResult,
1976
1976
  error: LiveRpcError
1977
- }), make5("PublishPresence", {
1977
+ }), make6("PublishPresence", {
1978
1978
  payload: LivePresencePublishInput,
1979
1979
  success: LivePresenceEntry,
1980
1980
  error: LiveRpcError
1981
- }), make5("SubscribePresence", {
1981
+ }), make6("SubscribePresence", {
1982
1982
  payload: LivePresenceSubscribeInput,
1983
1983
  success: LivePresenceSubscriptionMessage,
1984
1984
  error: LiveRpcError,
1985
1985
  stream: true
1986
- }), make5("ClearPresence", {
1986
+ }), make6("ClearPresence", {
1987
1987
  payload: { scope: optional(LiveScope) },
1988
1988
  error: LiveRpcError
1989
- }), make5("RecordSessionUpdate", {
1989
+ }), make6("RecordSessionUpdate", {
1990
1990
  payload: { sessionId: String4, input: SessionUpdateCreate },
1991
1991
  success: SessionUpdate,
1992
1992
  error: LiveRpcError
1993
- }), make5("EndSession", {
1993
+ }), make6("EndSession", {
1994
1994
  payload: { sessionId: String4, input: SessionEnd },
1995
1995
  success: Session,
1996
1996
  error: LiveRpcError
@@ -2042,7 +2042,7 @@ function connectKitmanLiveRoot(protocol) {
2042
2042
  })
2043
2043
  });
2044
2044
  const layer = (isString(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2045
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2045
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2046
2046
  let abandon = () => {};
2047
2047
  const abandoned = new Promise((_resolve, reject) => {
2048
2048
  abandon = reject;
@@ -3,7 +3,7 @@ import {
3
3
  Random,
4
4
  succeed6,
5
5
  withFiber2
6
- } from "./chunk-677etczq.js";
6
+ } from "./chunk-d3ksv8y1.js";
7
7
 
8
8
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Random.js
9
9
  var Random2 = Random;
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- FileSystem,
4
- Path
5
- } from "./chunk-qdn9tnav.js";
6
2
  import {
7
3
  isObject2,
8
4
  isUint8Array,
@@ -16,26 +12,30 @@ import {
16
12
  orElseSucceed,
17
13
  decodeJsonString,
18
14
  encodePrettyJsonString
19
- } from "./chunk-677etczq.js";
20
- import"./chunk-wnwyp9qn.js";
15
+ } from "./chunk-d3ksv8y1.js";
16
+ import"./chunk-rrnee9mk.js";
21
17
  import {
22
18
  isJsonObject
23
- } from "./chunk-h6360r1c.js";
19
+ } from "./chunk-v01c0k6j.js";
20
+ import {
21
+ FileSystem,
22
+ Path
23
+ } from "./chunk-dk0ftqwg.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-smmgt31x.js";
29
+ } from "./chunk-kebax0r8.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-fm4m4v6j.js";
37
- import"./chunk-3z0p2wtr.js";
38
- import"./chunk-zej59tf2.js";
36
+ } from "./chunk-1v319b82.js";
37
+ import"./chunk-gbsqf61e.js";
38
+ import"./chunk-1rry0tsn.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -14,8 +14,8 @@ import {
14
14
  writeSrtSettings2,
15
15
  srtStepArgv2,
16
16
  srtArgv2
17
- } from "./chunk-qdn9tnav.js";
18
- import"./chunk-677etczq.js";
17
+ } from "./chunk-dk0ftqwg.js";
18
+ import"./chunk-d3ksv8y1.js";
19
19
  export {
20
20
  compiled2 as compiled,
21
21
  harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
@@ -18,7 +18,7 @@ import {
18
18
  isMinLength,
19
19
  isMaxLength,
20
20
  FiniteFromString
21
- } from "./chunk-677etczq.js";
21
+ } from "./chunk-d3ksv8y1.js";
22
22
 
23
23
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/JsonSchema.js
24
24
  var PRE_2020_TO_2020_COLLISIONS = ["$anchor", "$defs", "$dynamicAnchor", "$dynamicRef", "$vocabulary", "contentSchema", "dependentRequired", "dependentSchemas", "maxContains", "minContains", "prefixItems", "unevaluatedItems", "unevaluatedProperties"];
@@ -6,10 +6,10 @@ import {
6
6
  gen,
7
7
  flatMap3,
8
8
  provideContext2
9
- } from "./chunk-677etczq.js";
9
+ } from "./chunk-d3ksv8y1.js";
10
10
  import {
11
11
  runForEach
12
- } from "./chunk-qdn9tnav.js";
12
+ } from "./chunk-dk0ftqwg.js";
13
13
  import {
14
14
  WebSocketConstructor,
15
15
  layerWebSocketConstructorGlobal,
@@ -19,13 +19,13 @@ import {
19
19
  RunnerReplicaRpcs,
20
20
  RunnerRunFileRpcs,
21
21
  ProgramRpcs
22
- } from "./chunk-fm4m4v6j.js";
22
+ } from "./chunk-1v319b82.js";
23
23
  import {
24
24
  layerJson,
25
- make3,
25
+ make4,
26
26
  withHeaders,
27
27
  layerProtocolSocket
28
- } from "./chunk-wjs5fpv0.js";
28
+ } from "./chunk-hmwvsfgq.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* make3(RunnerProcessRpcs).pipe(provideContext2(protocol));
49
+ const client = yield* make4(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* make3(ProgramRpcs).pipe(provideContext2(protocol));
77
+ const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
78
78
  const authorized = authorizer(options);
79
79
  return {
80
80
  recordActivity: (input) => authorized(client.RecordActivity(input)),
@@ -8,7 +8,7 @@ import {
8
8
  isFunction2,
9
9
  isUndefined2,
10
10
  isObjectOrArray
11
- } from "./chunk-677etczq.js";
11
+ } from "./chunk-d3ksv8y1.js";
12
12
 
13
13
  // packages/core/src/runtime-type.ts
14
14
  var UnsafeJsonObjectKeys = new Set(["__proto__", "constructor", "prototype"]);
@@ -1,12 +1,12 @@
1
1
  // @bun
2
- import"./chunk-677etczq.js";
3
- import"./chunk-wnwyp9qn.js";
4
- import"./chunk-h6360r1c.js";
2
+ import"./chunk-d3ksv8y1.js";
3
+ import"./chunk-rrnee9mk.js";
4
+ import"./chunk-v01c0k6j.js";
5
5
  import {
6
6
  decideSecretRequest,
7
7
  readSecretRegistry,
8
8
  appendSecretRefusals
9
- } from "./chunk-rzr11xyn.js";
9
+ } from "./chunk-1w81w56v.js";
10
10
 
11
11
  // packages/agent-runtime/src/srt-step.ts
12
12
  import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
@@ -75,14 +75,10 @@ import {
75
75
  toEquivalence,
76
76
  toCodecJson,
77
77
  Json
78
- } from "./chunk-677etczq.js";
79
- import {
80
- runForEach,
81
- FileSystem
82
- } from "./chunk-qdn9tnav.js";
78
+ } from "./chunk-d3ksv8y1.js";
83
79
  import {
84
80
  guard
85
- } from "./chunk-wnwyp9qn.js";
81
+ } from "./chunk-rrnee9mk.js";
86
82
  import {
87
83
  currentTimeMillis,
88
84
  WebCrypto,
@@ -109,7 +105,11 @@ import {
109
105
  KitDigest,
110
106
  KitSetup,
111
107
  RunnerRpcError
112
- } from "./chunk-fm4m4v6j.js";
108
+ } from "./chunk-1v319b82.js";
109
+ import {
110
+ runForEach,
111
+ FileSystem
112
+ } from "./chunk-dk0ftqwg.js";
113
113
 
114
114
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/crypto/internal/webCrypto.js
115
115
  var subtleUnavailable = () => new Error("crypto.subtle is unavailable; browsers expose it only in secure contexts");
@@ -1,12 +1,4 @@
1
1
  // @bun
2
- import {
3
- decodeText,
4
- mkString,
5
- FileSystem,
6
- Path,
7
- withDefault,
8
- String2
9
- } from "./chunk-qdn9tnav.js";
10
2
  import {
11
3
  isString2,
12
4
  hasProperty,
@@ -40,9 +32,9 @@ import {
40
32
  toCodecJson,
41
33
  Json,
42
34
  encodePrettyJsonString
43
- } from "./chunk-677etczq.js";
44
- import"./chunk-wnwyp9qn.js";
45
- import"./chunk-h6360r1c.js";
35
+ } from "./chunk-d3ksv8y1.js";
36
+ import"./chunk-rrnee9mk.js";
37
+ import"./chunk-v01c0k6j.js";
46
38
  import {
47
39
  SecureRandom,
48
40
  layerWebCrypto,
@@ -54,23 +46,31 @@ import {
54
46
  layer4,
55
47
  kitmanMcpServer,
56
48
  RunnerRpcProtocolVersion
57
- } from "./chunk-fm4m4v6j.js";
49
+ } from "./chunk-1v319b82.js";
50
+ import {
51
+ decodeText,
52
+ mkString,
53
+ FileSystem,
54
+ Path,
55
+ withDefault,
56
+ String2
57
+ } from "./chunk-dk0ftqwg.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-3z0p2wtr.js";
62
- import"./chunk-a31qjdsm.js";
61
+ } from "./chunk-gbsqf61e.js";
62
+ import"./chunk-rzxt9mb5.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-fznm6es2.js";
68
+ } from "./chunk-y1328g78.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
- make2
72
- } from "./chunk-zej59tf2.js";
73
- import"./chunk-wjs5fpv0.js";
71
+ make3
72
+ } from "./chunk-1rry0tsn.js";
73
+ import"./chunk-hmwvsfgq.js";
74
74
 
75
75
  // packages/sdk/src/build/index.ts
76
76
  class DependencyInstallFailed extends TaggedError2()("DependencyInstallFailed", {
@@ -109,7 +109,7 @@ var ConfigAgents = Record(String4, Struct({
109
109
  }));
110
110
  var run = (command, args, cwd) => gen(function* () {
111
111
  const spawner = yield* ChildProcessSpawner;
112
- const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
112
+ const handle = yield* spawner.spawn(make3(command, args, { cwd, stdin: "ignore" }));
113
113
  const [stdout, stderr, exitCode] = yield* all3([
114
114
  mkString(decodeText(handle.stdout)),
115
115
  mkString(decodeText(handle.stderr)),
package/dist/index.js CHANGED
@@ -5,15 +5,15 @@
5
5
  var args = process.argv.slice(2);
6
6
  if (args[0] === "srt") {
7
7
  process.argv.splice(2, 1);
8
- const { runSrtCli } = await import("./chunk-byhwksbq.js");
8
+ const { runSrtCli } = await import("./chunk-rm83dbpv.js");
9
9
  await runSrtCli();
10
10
  } else if (args[0] === "srt-step") {
11
- const { runSrtStep } = await import("./chunk-9p6v3jd2.js");
11
+ const { runSrtStep } = await import("./chunk-wtpwkjws.js");
12
12
  await runSrtStep(args.slice(1));
13
13
  } else if (args[0] === "opencode-read") {
14
- const { runOpencodeReader } = await import("./chunk-ksx5nt4b.js");
14
+ const { runOpencodeReader } = await import("./chunk-60333x3q.js");
15
15
  runOpencodeReader();
16
16
  } else {
17
- const { runCli } = await import("./chunk-m9v1z0gz.js");
17
+ const { runCli } = await import("./chunk-cc4cy79t.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.10.64",
3
+ "version": "0.10.65",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "bin": {