@kitman-sh/cli 0.25.0 → 0.27.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.
Files changed (28) hide show
  1. package/dist/{chunk-1phk7q49.js → chunk-0mg7k9b4.js} +116 -115
  2. package/dist/{chunk-eshk0da5.js → chunk-1j38xtvp.js} +2 -2
  3. package/dist/{chunk-63b19adg.js → chunk-225hz7jt.js} +69 -34
  4. package/dist/{chunk-yh0v42dk.js → chunk-39kjyh2y.js} +12 -12
  5. package/dist/{chunk-p34frxzr.js → chunk-3xg9zbmy.js} +5 -5
  6. package/dist/{chunk-rbpn35g5.js → chunk-4qjfn1sa.js} +1 -1
  7. package/dist/{chunk-znhjs0t6.js → chunk-5kqt4bqp.js} +1 -1
  8. package/dist/{chunk-sm340tvm.js → chunk-63cyj9dh.js} +17 -17
  9. package/dist/{chunk-xk96db4j.js → chunk-7j1kf6sa.js} +6 -6
  10. package/dist/{chunk-5c1vqpf3.js → chunk-bv4gcq1h.js} +7 -7
  11. package/dist/{chunk-gf62mx34.js → chunk-cehbrs1y.js} +5 -5
  12. package/dist/{chunk-fmjgw6fw.js → chunk-dyca90hx.js} +1 -1
  13. package/dist/{chunk-3x8t5408.js → chunk-ezsh3z1w.js} +24 -24
  14. package/dist/{chunk-j021bman.js → chunk-gap0vmj7.js} +60 -14
  15. package/dist/{chunk-61dmxexa.js → chunk-h2f26xbd.js} +28 -70
  16. package/dist/{chunk-fyjet273.js → chunk-js64y97w.js} +4 -4
  17. package/dist/{chunk-30s4vp2g.js → chunk-kagajztj.js} +1 -1
  18. package/dist/{chunk-4z5s9xtq.js → chunk-msn6rrx9.js} +4 -4
  19. package/dist/{chunk-e491q405.js → chunk-my92qn4x.js} +7 -7
  20. package/dist/{chunk-4qrb09w4.js → chunk-samxkpbz.js} +3 -3
  21. package/dist/{chunk-py3zfen9.js → chunk-tbmht2qb.js} +7 -7
  22. package/dist/{chunk-1hgsf81a.js → chunk-tsx0347c.js} +1 -1
  23. package/dist/{chunk-q8e58p57.js → chunk-vz38kngm.js} +2 -2
  24. package/dist/{chunk-zn881qsb.js → chunk-yaa3gkpx.js} +4 -4
  25. package/dist/{chunk-7wyejgj2.js → chunk-ydq1nr9e.js} +22 -22
  26. package/dist/{chunk-1ync8395.js → chunk-yr7np5eb.js} +3 -3
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -118,7 +118,7 @@ import {
118
118
  decodeJsonStringOption,
119
119
  encodeJsonStringSync,
120
120
  encodePrettyJsonString
121
- } from "./chunk-61dmxexa.js";
121
+ } from "./chunk-h2f26xbd.js";
122
122
  import {
123
123
  currentTimeMillis,
124
124
  SecureRandom,
@@ -158,8 +158,8 @@ import {
158
158
  sessionForApi,
159
159
  readAuthStore,
160
160
  agentCredentialForApi,
161
- make5,
162
161
  make6,
162
+ make7,
163
163
  Service,
164
164
  shouldRefresh,
165
165
  refreshSession,
@@ -170,7 +170,7 @@ import {
170
170
  runMcpEffect,
171
171
  createAgentAuthSignedFetch,
172
172
  setupMcpAgentCredential
173
- } from "./chunk-1phk7q49.js";
173
+ } from "./chunk-0mg7k9b4.js";
174
174
  import {
175
175
  join,
176
176
  interrupt,
@@ -187,30 +187,30 @@ import {
187
187
  withDefault,
188
188
  option,
189
189
  String2
190
- } from "./chunk-sm340tvm.js";
190
+ } from "./chunk-63cyj9dh.js";
191
191
  import {
192
192
  searchDocs2,
193
193
  readDoc2
194
- } from "./chunk-30s4vp2g.js";
194
+ } from "./chunk-kagajztj.js";
195
195
  import {
196
196
  nextInt
197
- } from "./chunk-znhjs0t6.js";
197
+ } from "./chunk-5kqt4bqp.js";
198
198
  import {
199
199
  recommendationProblem
200
- } from "./chunk-1hgsf81a.js";
200
+ } from "./chunk-tsx0347c.js";
201
201
  import {
202
202
  layerJson,
203
- make3,
203
+ make4,
204
204
  withHeaders,
205
205
  layerProtocolSocket,
206
206
  ConnectionHooks
207
- } from "./chunk-gf62mx34.js";
207
+ } from "./chunk-cehbrs1y.js";
208
208
  import {
209
209
  guard,
210
210
  Id,
211
211
  Timestamp,
212
212
  ActorType
213
- } from "./chunk-rbpn35g5.js";
213
+ } from "./chunk-4qjfn1sa.js";
214
214
 
215
215
  // apps/cli/src/mcp.ts
216
216
  import { tmpdir as tmpdir2 } from "os";
@@ -1947,56 +1947,56 @@ var LivePresenceSubscriptionMessage = Union([
1947
1947
  LivePresenceSubscriptionUpdate
1948
1948
  ]);
1949
1949
 
1950
- class LiveRpcs extends make6(make5("Session", {
1950
+ class LiveRpcs extends make7(make6("Session", {
1951
1951
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1952
1952
  error: LiveRpcError
1953
- }), make5("Subscribe", {
1953
+ }), make6("Subscribe", {
1954
1954
  payload: LiveSubscribeInput,
1955
1955
  success: LiveSubscriptionMessage,
1956
1956
  error: LiveRpcError,
1957
1957
  stream: true
1958
- }), make5("Replay", {
1958
+ }), make6("Replay", {
1959
1959
  payload: LiveReplayInput,
1960
1960
  success: ArraySchema(LiveEvent),
1961
1961
  error: LiveRpcError
1962
- }), make5("Ack", {
1962
+ }), make6("Ack", {
1963
1963
  payload: LiveAckInput,
1964
1964
  success: LiveAckResult,
1965
1965
  error: LiveRpcError
1966
- }), make5("SubscribeWeb", {
1966
+ }), make6("SubscribeWeb", {
1967
1967
  payload: LiveWebSubscribeInput,
1968
1968
  success: LiveWebSubscriptionMessage,
1969
1969
  error: LiveRpcError,
1970
1970
  stream: true
1971
- }), make5("SubscriptionStatus", {
1971
+ }), make6("SubscriptionStatus", {
1972
1972
  payload: { subscriptionId: String4 },
1973
1973
  success: LiveSubscriptionStatus,
1974
1974
  error: LiveRpcError
1975
- }), make5("ReplayWeb", {
1975
+ }), make6("ReplayWeb", {
1976
1976
  payload: LiveWebReplayInput,
1977
1977
  success: LiveWebReplayResult,
1978
1978
  error: LiveRpcError
1979
- }), make5("AckWeb", {
1979
+ }), make6("AckWeb", {
1980
1980
  payload: LiveWebAckInput,
1981
1981
  success: LiveWebAckResult,
1982
1982
  error: LiveRpcError
1983
- }), make5("PublishPresence", {
1983
+ }), make6("PublishPresence", {
1984
1984
  payload: LivePresencePublishInput,
1985
1985
  success: LivePresenceEntry,
1986
1986
  error: LiveRpcError
1987
- }), make5("SubscribePresence", {
1987
+ }), make6("SubscribePresence", {
1988
1988
  payload: LivePresenceSubscribeInput,
1989
1989
  success: LivePresenceSubscriptionMessage,
1990
1990
  error: LiveRpcError,
1991
1991
  stream: true
1992
- }), make5("ClearPresence", {
1992
+ }), make6("ClearPresence", {
1993
1993
  payload: { scope: optional(LiveScope) },
1994
1994
  error: LiveRpcError
1995
- }), make5("RecordSessionUpdate", {
1995
+ }), make6("RecordSessionUpdate", {
1996
1996
  payload: { sessionId: String4, input: SessionUpdateCreate },
1997
1997
  success: SessionUpdate,
1998
1998
  error: LiveRpcError
1999
- }), make5("EndSession", {
1999
+ }), make6("EndSession", {
2000
2000
  payload: { sessionId: String4, input: SessionEnd },
2001
2001
  success: Session,
2002
2002
  error: LiveRpcError
@@ -2048,7 +2048,7 @@ function connectKitmanLiveRoot(protocol) {
2048
2048
  })
2049
2049
  });
2050
2050
  const layer = (isString2(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2051
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2051
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2052
2052
  let abandon = () => {};
2053
2053
  const abandoned = new Promise((_resolve, reject) => {
2054
2054
  abandon = reject;
@@ -1,6 +1,13 @@
1
1
  // @bun
2
2
  import {
3
+ isString,
4
+ hasProperty,
5
+ symbol,
6
+ hash,
7
+ symbol2,
8
+ equals,
3
9
  BaseProto,
10
+ PipeInspectableProto,
4
11
  Prototype,
5
12
  some,
6
13
  Service2,
@@ -14,11 +21,8 @@ import {
14
21
  andThen2,
15
22
  map9,
16
23
  raceFirst,
17
- scoped,
18
- isRedacted,
19
- make16,
20
- value
21
- } from "./chunk-61dmxexa.js";
24
+ scoped
25
+ } from "./chunk-h2f26xbd.js";
22
26
  import {
23
27
  unwrap,
24
28
  drainFork,
@@ -27,7 +31,49 @@ import {
27
31
  runCollect,
28
32
  runDrain,
29
33
  mkString
30
- } from "./chunk-sm340tvm.js";
34
+ } from "./chunk-63cyj9dh.js";
35
+
36
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
37
+ var redactedRegistry = /* @__PURE__ */ new WeakMap;
38
+ var value2 = (self) => {
39
+ if (redactedRegistry.has(self)) {
40
+ return redactedRegistry.get(self);
41
+ } else {
42
+ throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
43
+ }
44
+ };
45
+
46
+ // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
47
+ var TypeId = "~effect/Redacted";
48
+ var isRedacted = (u) => hasProperty(u, TypeId);
49
+ var make = (value, options) => {
50
+ const self = Object.create(Proto);
51
+ if (options?.label) {
52
+ self.label = options.label;
53
+ }
54
+ redactedRegistry.set(self, value);
55
+ return self;
56
+ };
57
+ var Proto = {
58
+ [TypeId]: {
59
+ _A: (_) => _
60
+ },
61
+ label: undefined,
62
+ ...PipeInspectableProto,
63
+ toJSON() {
64
+ return this.toString();
65
+ },
66
+ toString() {
67
+ return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
68
+ },
69
+ [symbol]() {
70
+ return hash(redactedRegistry.get(this));
71
+ },
72
+ [symbol2](that) {
73
+ return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
74
+ }
75
+ };
76
+ var value = value2;
31
77
 
32
78
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Brand.js
33
79
  function nominal() {
@@ -55,7 +101,7 @@ var HandleProto = {
55
101
  var makeHandle = (params) => Object.setPrototypeOf({
56
102
  ...params
57
103
  }, HandleProto);
58
- var make = (spawn) => {
104
+ var make2 = (spawn) => {
59
105
  const streamString = (command, options) => spawn(command).pipe(map9((handle) => decodeText(options?.includeStderr === true ? handle.all : drainFork(handle.stdout, handle.stderr))), unwrap);
60
106
  const streamLines = (command, options) => splitLines(streamString(command, options));
61
107
  return ChildProcessSpawner.of({
@@ -176,7 +222,7 @@ var parseTemplate = (texts, values) => {
176
222
  if (word.length === 0)
177
223
  return;
178
224
  const value = word.map(unwrap2).join("");
179
- words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make16(value) : value);
225
+ words.push(word.length === 1 && isRedacted(word[0]) ? word[0] : word.some(isRedacted) ? make(value) : value);
180
226
  word = [];
181
227
  plain = true;
182
228
  braceDepth = 0;
@@ -266,23 +312,23 @@ var parseTemplate = (texts, values) => {
266
312
  };
267
313
 
268
314
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/process/ChildProcess.js
269
- var TypeId = "~effect/process/ChildProcess";
270
- var Proto = {
315
+ var TypeId2 = "~effect/process/ChildProcess";
316
+ var Proto2 = {
271
317
  .../* @__PURE__ */ Prototype({
272
318
  label: "Command",
273
319
  evaluate(fiber) {
274
320
  return getUnsafe(fiber.context, ChildProcessSpawner).spawn(this);
275
321
  }
276
322
  }),
277
- [TypeId]: TypeId
323
+ [TypeId2]: TypeId2
278
324
  };
279
- var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto), {
325
+ var makeStandardCommand = (command, args, options) => Object.assign(Object.create(Proto2), {
280
326
  _tag: "StandardCommand",
281
327
  command,
282
328
  args,
283
329
  options
284
330
  });
285
- var make2 = function make(...args) {
331
+ var make3 = function make(...args) {
286
332
  if (isTemplateString(args[0])) {
287
333
  const [templates, ...expressions] = args;
288
334
  const [command, cmdArgs] = parseTemplate2(templates, expressions);
@@ -340,4 +386,4 @@ var shellScript = (templates, expressions) => {
340
386
  }
341
387
  return script;
342
388
  };
343
- export { ExitCode, ProcessId, makeHandle, make, ChildProcessSpawner, display, make2, parseFdName, fdName };
389
+ export { isRedacted, make, value, ExitCode, ProcessId, makeHandle, make2, ChildProcessSpawner, display, make3, parseFdName, fdName };
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
1331
1331
  });
1332
1332
 
1333
1333
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
1334
- var make13 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1334
+ var make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
1335
1335
  var isStrictEquivalent = (x, y) => x === y;
1336
1336
  var strictEqual = () => isStrictEquivalent;
1337
1337
  function Tuple(elements) {
1338
- return make13((self, that) => {
1338
+ return make14((self, that) => {
1339
1339
  if (self.length !== that.length) {
1340
1340
  return false;
1341
1341
  }
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
1348
1348
  });
1349
1349
  }
1350
1350
  function Array_(item) {
1351
- return make13((self, that) => {
1351
+ return make14((self, that) => {
1352
1352
  if (self.length !== that.length)
1353
1353
  return false;
1354
1354
  for (let i = 0;i < self.length; i++) {
@@ -1580,7 +1580,7 @@ var ServiceProto = {
1580
1580
  return self;
1581
1581
  },
1582
1582
  context(self) {
1583
- return make14(this, self);
1583
+ return make15(this, self);
1584
1584
  },
1585
1585
  use(f) {
1586
1586
  return withFiber((fiber) => f(get4(fiber.context, this)));
@@ -1684,7 +1684,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
1684
1684
  var isReference = (u) => !!u[ReferenceTypeId];
1685
1685
  var empty3 = () => emptyContext2;
1686
1686
  var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
1687
- var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1687
+ var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1688
1688
  var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
1689
1689
  var addUnsafe = (self, key, service) => {
1690
1690
  const impl = self;
@@ -3075,7 +3075,7 @@ class FiberImpl {
3075
3075
  }
3076
3076
  let cause = causeInterrupt(fiberId);
3077
3077
  if (this.cache.stackFrame) {
3078
- cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
3078
+ cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
3079
3079
  }
3080
3080
  if (annotations) {
3081
3081
  cause = causeAnnotate(cause, annotations);
@@ -5183,7 +5183,7 @@ var DeferredImpl = function() {
5183
5183
  };
5184
5184
  DeferredImpl.prototype = DeferredProto;
5185
5185
  var makeUnsafe5 = () => new DeferredImpl;
5186
- var make15 = () => sync(() => makeUnsafe5());
5186
+ var make16 = () => sync(() => makeUnsafe5());
5187
5187
  var _await = (self) => callback2((resume) => {
5188
5188
  if (self.effect)
5189
5189
  return resume(self.effect);
@@ -5331,9 +5331,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
5331
5331
  var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
5332
5332
  var succeed5 = function() {
5333
5333
  if (arguments.length === 1) {
5334
- return (resource) => succeedContext(make14(arguments[0], resource));
5334
+ return (resource) => succeedContext(make15(arguments[0], resource));
5335
5335
  }
5336
- return succeedContext(make14(arguments[0], arguments[1]));
5336
+ return succeedContext(make15(arguments[0], arguments[1]));
5337
5337
  };
5338
5338
  var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
5339
5339
  var effect = function() {
@@ -5342,7 +5342,7 @@ var effect = function() {
5342
5342
  }
5343
5343
  return effectImpl(arguments[0], arguments[1]);
5344
5344
  };
5345
- var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
5345
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
5346
5346
  var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
5347
5347
  var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
5348
5348
  var mergeAllEffect = (layers, memoMap, scope) => {
@@ -5985,48 +5985,6 @@ for (let i = 0;i < alphabet2.length; i++)
5985
5985
  var decodeString = (str) => map5(decode2(str), (_) => decoder2.decode(_));
5986
5986
  var decoder2 = /* @__PURE__ */ new TextDecoder;
5987
5987
 
5988
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
5989
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
5990
- var value2 = (self) => {
5991
- if (redactedRegistry.has(self)) {
5992
- return redactedRegistry.get(self);
5993
- } else {
5994
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
5995
- }
5996
- };
5997
-
5998
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
5999
- var TypeId8 = "~effect/Redacted";
6000
- var isRedacted = (u) => hasProperty(u, TypeId8);
6001
- var make16 = (value, options) => {
6002
- const self = Object.create(Proto2);
6003
- if (options?.label) {
6004
- self.label = options.label;
6005
- }
6006
- redactedRegistry.set(self, value);
6007
- return self;
6008
- };
6009
- var Proto2 = {
6010
- [TypeId8]: {
6011
- _A: (_) => _
6012
- },
6013
- label: undefined,
6014
- ...PipeInspectableProto,
6015
- toJSON() {
6016
- return this.toString();
6017
- },
6018
- toString() {
6019
- return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
6020
- },
6021
- [symbol]() {
6022
- return hash(redactedRegistry.get(this));
6023
- },
6024
- [symbol2](that) {
6025
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
6026
- }
6027
- };
6028
- var value = value2;
6029
-
6030
5988
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
6031
5989
  function resolve(ast) {
6032
5990
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -6058,16 +6016,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
6058
6016
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
6059
6017
 
6060
6018
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
6061
- var TypeId9 = "~effect/SchemaIssue/Issue";
6019
+ var TypeId8 = "~effect/SchemaIssue/Issue";
6062
6020
  function isIssue(u) {
6063
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6021
+ return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
6064
6022
  }
6065
6023
  function hasInput(issue) {
6066
6024
  return Object.hasOwn(issue, "input");
6067
6025
  }
6068
6026
 
6069
6027
  class IssueNodeImpl {
6070
- [TypeId9] = TypeId9;
6028
+ [TypeId8] = TypeId8;
6071
6029
  constructor(input, options) {
6072
6030
  if (options?.reportInput === true && input !== missing) {
6073
6031
  this.input = input;
@@ -6455,9 +6413,9 @@ function getContent(operation) {
6455
6413
  }
6456
6414
 
6457
6415
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6458
- var TypeId10 = "~effect/SchemaTransformation/Transformation";
6416
+ var TypeId9 = "~effect/SchemaTransformation/Transformation";
6459
6417
  var Transformation = class extends Class3 {
6460
- [TypeId10] = TypeId10;
6418
+ [TypeId9] = TypeId9;
6461
6419
  _tag = "Transformation";
6462
6420
  decode;
6463
6421
  encode;
@@ -6471,7 +6429,7 @@ var Transformation = class extends Class3 {
6471
6429
  }
6472
6430
  };
6473
6431
  function isTransformation(u) {
6474
- return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6432
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6475
6433
  }
6476
6434
  var makeTransformation = (options) => {
6477
6435
  if (isTransformation(options)) {
@@ -6591,10 +6549,10 @@ var Context = class {
6591
6549
  this.annotations = annotations;
6592
6550
  }
6593
6551
  };
6594
- var TypeId11 = "~effect/Schema";
6552
+ var TypeId10 = "~effect/Schema";
6595
6553
 
6596
6554
  class ASTNodeImpl {
6597
- [TypeId11] = TypeId11;
6555
+ [TypeId10] = TypeId10;
6598
6556
  annotations;
6599
6557
  checks;
6600
6558
  encoding;
@@ -8816,10 +8774,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8816
8774
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8817
8775
 
8818
8776
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8819
- var TypeId12 = "~effect/Schema/Schema";
8777
+ var TypeId11 = "~effect/Schema/Schema";
8820
8778
  var RebuildOptions = /* @__PURE__ */ Symbol();
8821
8779
  var SchemaProto = {
8822
- [TypeId12]: TypeId12,
8780
+ [TypeId11]: TypeId11,
8823
8781
  get make() {
8824
8782
  const value = make4(this);
8825
8783
  Object.defineProperty(this, "make", {
@@ -10292,7 +10250,7 @@ function recur(ast) {
10292
10250
  const rest = ast.rest.map(recur);
10293
10251
  const [head, ...tail] = rest;
10294
10252
  const tailLength = tail.length;
10295
- return make13((a, b) => {
10253
+ return make14((a, b) => {
10296
10254
  if (!Array.isArray(a) || !Array.isArray(b)) {
10297
10255
  return false;
10298
10256
  }
@@ -10327,7 +10285,7 @@ function recur(ast) {
10327
10285
  }
10328
10286
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
10329
10287
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
10330
- return make13((a, b) => {
10288
+ return make14((a, b) => {
10331
10289
  if (!isObject(a) || !isObject(b)) {
10332
10290
  return false;
10333
10291
  }
@@ -10365,7 +10323,7 @@ function recur(ast) {
10365
10323
  const types = toType2(ast).types;
10366
10324
  const index = getCandidateIndex(types);
10367
10325
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
10368
- return make13((a, b) => {
10326
+ return make14((a, b) => {
10369
10327
  const candidates = index(a, false);
10370
10328
  for (let i = 0;i < candidates.length; i++) {
10371
10329
  const [is, equivalence] = compiled[candidates[i]];
@@ -10378,7 +10336,7 @@ function recur(ast) {
10378
10336
  }
10379
10337
  case "Suspend": {
10380
10338
  let equivalence;
10381
- return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
10339
+ return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
10382
10340
  }
10383
10341
  }
10384
10342
  }
@@ -10476,7 +10434,7 @@ function isSchemaError(u) {
10476
10434
  }
10477
10435
 
10478
10436
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
10479
- var TypeId13 = TypeId12;
10437
+ var TypeId12 = TypeId11;
10480
10438
  function declareConstructor() {
10481
10439
  return (typeParameters, run, annotations) => {
10482
10440
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
@@ -10589,7 +10547,7 @@ function encodeUnknownSync(schema, options) {
10589
10547
  var encodeSync = encodeUnknownSync;
10590
10548
  var make17 = make5;
10591
10549
  function isSchema(u) {
10592
- return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
10550
+ return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
10593
10551
  }
10594
10552
  var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
10595
10553
  schema
@@ -11489,7 +11447,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
11489
11447
  }
11490
11448
  });
11491
11449
  }
11492
- static [TypeId13] = TypeId13;
11450
+ static [TypeId12] = TypeId12;
11493
11451
  get [ClassTypeId]() {
11494
11452
  return ClassTypeId;
11495
11453
  }
@@ -11783,4 +11741,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
11783
11741
  var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
11784
11742
  var storable = (value) => isString2(value) ? storableText(value) : Array.isArray(value) ? value.map(storable) : isJsonObject(value) ? Object.fromEntries(Object.entries(value).map(([key, field]) => [storableText(key), storable(field)])) : value;
11785
11743
 
11786
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty4, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
11744
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty4, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
@@ -7,10 +7,10 @@ import {
7
7
  decoded2,
8
8
  readOpencode2,
9
9
  runOpencodeReader2
10
- } from "./chunk-e491q405.js";
11
- import"./chunk-j021bman.js";
12
- import"./chunk-sm340tvm.js";
13
- import"./chunk-61dmxexa.js";
10
+ } from "./chunk-my92qn4x.js";
11
+ import"./chunk-gap0vmj7.js";
12
+ import"./chunk-63cyj9dh.js";
13
+ import"./chunk-h2f26xbd.js";
14
14
  export {
15
15
  decoded2 as decoded,
16
16
  decodedOption2 as decodedOption,
@@ -2211,7 +2211,7 @@ var pathOfLink = (link) => {
2211
2211
  return page === null ? link : page[1] || "index";
2212
2212
  };
2213
2213
  var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
2214
- var pinnedLink2 = (link, version = "0.25.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2214
+ var pinnedLink2 = (link, version = "0.27.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
2215
2215
  var pageOf = (path) => path.split("#")[0];
2216
2216
  var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
2217
2217
  function excerpt(text, queryTerms) {
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-j021bman.js";
2
+ import"./chunk-gap0vmj7.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-1phk7q49.js";
16
- import"./chunk-sm340tvm.js";
17
- import"./chunk-61dmxexa.js";
15
+ } from "./chunk-0mg7k9b4.js";
16
+ import"./chunk-63cyj9dh.js";
17
+ import"./chunk-h2f26xbd.js";
18
18
  export {
19
19
  HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
20
20
  HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
- make10,
3
+ make11,
4
4
  runForEach,
5
5
  compiled2
6
- } from "./chunk-sm340tvm.js";
6
+ } from "./chunk-63cyj9dh.js";
7
7
  import {
8
8
  getOrUndefined,
9
9
  liftThrowable,
@@ -30,11 +30,11 @@ import {
30
30
  isJsonObject,
31
31
  isString2,
32
32
  encodeUnknownJsonStringSync
33
- } from "./chunk-61dmxexa.js";
33
+ } from "./chunk-h2f26xbd.js";
34
34
  import {
35
35
  ChildProcessSpawner,
36
- make2
37
- } from "./chunk-j021bman.js";
36
+ make3
37
+ } from "./chunk-gap0vmj7.js";
38
38
 
39
39
  // packages/agent-runtime/src/opencode-store.ts
40
40
  import { lstatSync, readFileSync, realpathSync } from "fs";
@@ -172,8 +172,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
172
172
  var isolatedRead = (store, name, input) => gen(function* () {
173
173
  const spawner = yield* ChildProcessSpawner;
174
174
  const [command, ...args] = opencodeReaderCommand();
175
- const handle = yield* spawner.spawn(make2(command, args, {
176
- stdin: make10(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
175
+ const handle = yield* spawner.spawn(make3(command, args, {
176
+ stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
177
177
  stderr: "ignore",
178
178
  extendEnv: false,
179
179
  env: {},
@@ -4,9 +4,9 @@ import {
4
4
  opaqueTunnelRefusal2,
5
5
  isOpaqueConnectReason2,
6
6
  runSrtStep2
7
- } from "./chunk-q8e58p57.js";
8
- import"./chunk-rbpn35g5.js";
9
- import"./chunk-61dmxexa.js";
7
+ } from "./chunk-vz38kngm.js";
8
+ import"./chunk-4qjfn1sa.js";
9
+ import"./chunk-h2f26xbd.js";
10
10
  export {
11
11
  isOpaqueConnectReason2 as isOpaqueConnectReason,
12
12
  opaqueTunnelRefusal2 as opaqueTunnelRefusal,