@kitman-sh/cli 0.12.0-rc.4 → 0.12.0-rc.6

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-b50dvx41.js → chunk-0346hwh6.js} +5 -5
  2. package/dist/{chunk-6b0k02x4.js → chunk-0qz10ek8.js} +1 -1
  3. package/dist/{chunk-nzsrse8d.js → chunk-15geyg2d.js} +87 -59
  4. package/dist/{chunk-r1z41qx6.js → chunk-1t12wvv1.js} +109 -108
  5. package/dist/{chunk-7kjsvwzv.js → chunk-4w4spvb1.js} +5 -5
  6. package/dist/{chunk-k81ay8y5.js → chunk-56knbdt6.js} +8 -8
  7. package/dist/{chunk-xavcp9se.js → chunk-5j848ckb.js} +2 -2
  8. package/dist/{chunk-ydydx55z.js → chunk-bvf6e6yg.js} +1 -1
  9. package/dist/{chunk-c9007k48.js → chunk-c6rbt85q.js} +1 -1
  10. package/dist/{chunk-ezf2myj0.js → chunk-e4an66v2.js} +3 -3
  11. package/dist/{chunk-xy5f2nv9.js → chunk-ewhzaqp3.js} +2 -2
  12. package/dist/{chunk-qjd6w9sw.js → chunk-fxm2jhbd.js} +2 -2
  13. package/dist/{chunk-zmcghp8w.js → chunk-gspfm7qh.js} +17 -17
  14. package/dist/{chunk-e7q2frvs.js → chunk-j5t5nye5.js} +7 -7
  15. package/dist/{chunk-rjasmnav.js → chunk-ktr2smac.js} +41 -28
  16. package/dist/{chunk-bq55md8p.js → chunk-nzjb36ad.js} +1 -1
  17. package/dist/{chunk-w0aj9mkz.js → chunk-pd2vz4bm.js} +5 -5
  18. package/dist/{chunk-ckkpqcfv.js → chunk-qrm334c6.js} +4 -4
  19. package/dist/{chunk-kybp1mkk.js → chunk-r5sw3fe0.js} +8 -8
  20. package/dist/{chunk-t2mr6z38.js → chunk-r7f8tjc8.js} +24 -24
  21. package/dist/{chunk-79gx7ek9.js → chunk-vtfwjhzh.js} +28 -70
  22. package/dist/{chunk-aafxvmj1.js → chunk-wc2kba4z.js} +7 -7
  23. package/dist/{chunk-w6cm939j.js → chunk-x6vj1tf8.js} +12 -12
  24. package/dist/{chunk-jntxtx9j.js → chunk-xwya1er0.js} +60 -14
  25. package/dist/{chunk-pw10mq9e.js → chunk-z450wa10.js} +4 -4
  26. package/dist/{chunk-74txrt4s.js → chunk-znar1th3.js} +4 -4
  27. package/dist/index.js +4 -4
  28. package/package.json +1 -1
@@ -12,30 +12,30 @@ import {
12
12
  orElseSucceed,
13
13
  decodeJsonString,
14
14
  encodePrettyJsonString
15
- } from "./chunk-79gx7ek9.js";
16
- import"./chunk-6b0k02x4.js";
15
+ } from "./chunk-vtfwjhzh.js";
16
+ import"./chunk-0qz10ek8.js";
17
17
  import {
18
18
  isJsonObject
19
- } from "./chunk-c9007k48.js";
19
+ } from "./chunk-c6rbt85q.js";
20
20
  import {
21
21
  FileSystem,
22
22
  Path
23
- } from "./chunk-zmcghp8w.js";
23
+ } from "./chunk-gspfm7qh.js";
24
24
  import {
25
25
  tomlTableHeader2,
26
26
  tomlKeyPath2,
27
27
  kitmanSkillEntry,
28
28
  isPathWithin2
29
- } from "./chunk-w0aj9mkz.js";
29
+ } from "./chunk-pd2vz4bm.js";
30
30
  import {
31
31
  instructionsStart,
32
32
  instructionsEnd,
33
33
  renderMcpServer,
34
34
  materializeKitSetup,
35
35
  tomlInline
36
- } from "./chunk-r1z41qx6.js";
37
- import"./chunk-ezf2myj0.js";
38
- import"./chunk-jntxtx9j.js";
36
+ } from "./chunk-1t12wvv1.js";
37
+ import"./chunk-e4an66v2.js";
38
+ import"./chunk-xwya1er0.js";
39
39
 
40
40
  // packages/agent-runtime/src/kit-setup-sync.ts
41
41
  class KitSyncError extends TaggedError("KitSyncError") {
@@ -107,7 +107,7 @@ import {
107
107
  decodeJsonStringOption,
108
108
  encodeJsonStringSync,
109
109
  encodePrettyJsonString
110
- } from "./chunk-79gx7ek9.js";
110
+ } from "./chunk-vtfwjhzh.js";
111
111
  import {
112
112
  currentTimeMillis,
113
113
  SecureRandom,
@@ -147,8 +147,8 @@ import {
147
147
  sessionForApi,
148
148
  readAuthStore,
149
149
  agentCredentialForApi,
150
- make5,
151
150
  make6,
151
+ make7,
152
152
  Service,
153
153
  shouldRefresh,
154
154
  refreshSession,
@@ -159,13 +159,13 @@ import {
159
159
  runMcpEffect,
160
160
  createAgentAuthSignedFetch,
161
161
  setupMcpAgentCredential
162
- } from "./chunk-r1z41qx6.js";
162
+ } from "./chunk-1t12wvv1.js";
163
163
  import {
164
164
  guard,
165
165
  Id,
166
166
  Timestamp,
167
167
  ActorType
168
- } from "./chunk-6b0k02x4.js";
168
+ } from "./chunk-0qz10ek8.js";
169
169
  import {
170
170
  toJsonValue,
171
171
  isOneOf,
@@ -178,7 +178,7 @@ import {
178
178
  isJsonObject,
179
179
  isString,
180
180
  kindOf
181
- } from "./chunk-c9007k48.js";
181
+ } from "./chunk-c6rbt85q.js";
182
182
  import {
183
183
  join,
184
184
  interrupt,
@@ -192,21 +192,21 @@ import {
192
192
  withDefault,
193
193
  option,
194
194
  String2
195
- } from "./chunk-zmcghp8w.js";
195
+ } from "./chunk-gspfm7qh.js";
196
196
  import {
197
197
  searchDocs2,
198
198
  readDoc2
199
- } from "./chunk-qjd6w9sw.js";
199
+ } from "./chunk-fxm2jhbd.js";
200
200
  import {
201
201
  nextInt
202
- } from "./chunk-bq55md8p.js";
202
+ } from "./chunk-nzjb36ad.js";
203
203
  import {
204
204
  layerJson,
205
- make3,
205
+ make4,
206
206
  withHeaders,
207
207
  layerProtocolSocket,
208
208
  ConnectionHooks
209
- } from "./chunk-7kjsvwzv.js";
209
+ } from "./chunk-4w4spvb1.js";
210
210
 
211
211
  // apps/cli/src/mcp.ts
212
212
  import { tmpdir as tmpdir2 } from "os";
@@ -1958,56 +1958,56 @@ var LivePresenceSubscriptionMessage = Union([
1958
1958
  LivePresenceSubscriptionUpdate
1959
1959
  ]);
1960
1960
 
1961
- class LiveRpcs extends make6(make5("Session", {
1961
+ class LiveRpcs extends make7(make6("Session", {
1962
1962
  success: Struct({ workspaceId: String4, clientKind: String4 }),
1963
1963
  error: LiveRpcError
1964
- }), make5("Subscribe", {
1964
+ }), make6("Subscribe", {
1965
1965
  payload: LiveSubscribeInput,
1966
1966
  success: LiveSubscriptionMessage,
1967
1967
  error: LiveRpcError,
1968
1968
  stream: true
1969
- }), make5("Replay", {
1969
+ }), make6("Replay", {
1970
1970
  payload: LiveReplayInput,
1971
1971
  success: ArraySchema(LiveEvent),
1972
1972
  error: LiveRpcError
1973
- }), make5("Ack", {
1973
+ }), make6("Ack", {
1974
1974
  payload: LiveAckInput,
1975
1975
  success: LiveAckResult,
1976
1976
  error: LiveRpcError
1977
- }), make5("SubscribeWeb", {
1977
+ }), make6("SubscribeWeb", {
1978
1978
  payload: LiveWebSubscribeInput,
1979
1979
  success: LiveWebSubscriptionMessage,
1980
1980
  error: LiveRpcError,
1981
1981
  stream: true
1982
- }), make5("SubscriptionStatus", {
1982
+ }), make6("SubscriptionStatus", {
1983
1983
  payload: { subscriptionId: String4 },
1984
1984
  success: LiveSubscriptionStatus,
1985
1985
  error: LiveRpcError
1986
- }), make5("ReplayWeb", {
1986
+ }), make6("ReplayWeb", {
1987
1987
  payload: LiveWebReplayInput,
1988
1988
  success: LiveWebReplayResult,
1989
1989
  error: LiveRpcError
1990
- }), make5("AckWeb", {
1990
+ }), make6("AckWeb", {
1991
1991
  payload: LiveWebAckInput,
1992
1992
  success: LiveWebAckResult,
1993
1993
  error: LiveRpcError
1994
- }), make5("PublishPresence", {
1994
+ }), make6("PublishPresence", {
1995
1995
  payload: LivePresencePublishInput,
1996
1996
  success: LivePresenceEntry,
1997
1997
  error: LiveRpcError
1998
- }), make5("SubscribePresence", {
1998
+ }), make6("SubscribePresence", {
1999
1999
  payload: LivePresenceSubscribeInput,
2000
2000
  success: LivePresenceSubscriptionMessage,
2001
2001
  error: LiveRpcError,
2002
2002
  stream: true
2003
- }), make5("ClearPresence", {
2003
+ }), make6("ClearPresence", {
2004
2004
  payload: { scope: optional(LiveScope) },
2005
2005
  error: LiveRpcError
2006
- }), make5("RecordSessionUpdate", {
2006
+ }), make6("RecordSessionUpdate", {
2007
2007
  payload: { sessionId: String4, input: SessionUpdateCreate },
2008
2008
  success: SessionUpdate,
2009
2009
  error: LiveRpcError
2010
- }), make5("EndSession", {
2010
+ }), make6("EndSession", {
2011
2011
  payload: { sessionId: String4, input: SessionEnd },
2012
2012
  success: Session,
2013
2013
  error: LiveRpcError
@@ -2059,7 +2059,7 @@ function connectKitmanLiveRoot(protocol) {
2059
2059
  })
2060
2060
  });
2061
2061
  const layer = (isString(protocol) ? liveWebSocketProtocol(protocol) : protocol()).pipe(provideMerge(hooks));
2062
- const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2062
+ const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make4(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
2063
2063
  let abandon = () => {};
2064
2064
  const abandoned = new Promise((_resolve, reject) => {
2065
2065
  abandon = reject;
@@ -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++) {
@@ -1579,7 +1579,7 @@ var ServiceProto = {
1579
1579
  return self;
1580
1580
  },
1581
1581
  context(self) {
1582
- return make14(this, self);
1582
+ return make15(this, self);
1583
1583
  },
1584
1584
  use(f) {
1585
1585
  return withFiber((fiber) => f(get4(fiber.context, this)));
@@ -1683,7 +1683,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
1683
1683
  var isReference = (u) => !!u[ReferenceTypeId];
1684
1684
  var empty3 = () => emptyContext2;
1685
1685
  var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
1686
- var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1686
+ var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
1687
1687
  var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
1688
1688
  var addUnsafe = (self, key, service) => {
1689
1689
  const impl = self;
@@ -3029,7 +3029,7 @@ class FiberImpl {
3029
3029
  }
3030
3030
  let cause = causeInterrupt(fiberId);
3031
3031
  if (this.cache.stackFrame) {
3032
- cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
3032
+ cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
3033
3033
  }
3034
3034
  if (annotations) {
3035
3035
  cause = causeAnnotate(cause, annotations);
@@ -5126,7 +5126,7 @@ var DeferredImpl = function() {
5126
5126
  };
5127
5127
  DeferredImpl.prototype = DeferredProto;
5128
5128
  var makeUnsafe5 = () => new DeferredImpl;
5129
- var make15 = () => sync(() => makeUnsafe5());
5129
+ var make16 = () => sync(() => makeUnsafe5());
5130
5130
  var _await = (self) => callback2((resume) => {
5131
5131
  if (self.effect)
5132
5132
  return resume(self.effect);
@@ -5274,9 +5274,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
5274
5274
  var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
5275
5275
  var succeed5 = function() {
5276
5276
  if (arguments.length === 1) {
5277
- return (resource) => succeedContext(make14(arguments[0], resource));
5277
+ return (resource) => succeedContext(make15(arguments[0], resource));
5278
5278
  }
5279
- return succeedContext(make14(arguments[0], arguments[1]));
5279
+ return succeedContext(make15(arguments[0], arguments[1]));
5280
5280
  };
5281
5281
  var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
5282
5282
  var effect = function() {
@@ -5285,7 +5285,7 @@ var effect = function() {
5285
5285
  }
5286
5286
  return effectImpl(arguments[0], arguments[1]);
5287
5287
  };
5288
- var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
5288
+ var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
5289
5289
  var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
5290
5290
  var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
5291
5291
  var mergeAllEffect = (layers, memoMap, scope) => {
@@ -5865,48 +5865,6 @@ var getCode = (charCode) => {
5865
5865
  return codes[charCode];
5866
5866
  };
5867
5867
 
5868
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
5869
- var redactedRegistry = /* @__PURE__ */ new WeakMap;
5870
- var value2 = (self) => {
5871
- if (redactedRegistry.has(self)) {
5872
- return redactedRegistry.get(self);
5873
- } else {
5874
- throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
5875
- }
5876
- };
5877
-
5878
- // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
5879
- var TypeId8 = "~effect/Redacted";
5880
- var isRedacted = (u) => hasProperty(u, TypeId8);
5881
- var make16 = (value, options) => {
5882
- const self = Object.create(Proto2);
5883
- if (options?.label) {
5884
- self.label = options.label;
5885
- }
5886
- redactedRegistry.set(self, value);
5887
- return self;
5888
- };
5889
- var Proto2 = {
5890
- [TypeId8]: {
5891
- _A: (_) => _
5892
- },
5893
- label: undefined,
5894
- ...PipeInspectableProto,
5895
- toJSON() {
5896
- return this.toString();
5897
- },
5898
- toString() {
5899
- return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
5900
- },
5901
- [symbol]() {
5902
- return hash(redactedRegistry.get(this));
5903
- },
5904
- [symbol2](that) {
5905
- return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
5906
- }
5907
- };
5908
- var value = value2;
5909
-
5910
5868
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
5911
5869
  function resolve(ast) {
5912
5870
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -5930,16 +5888,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
5930
5888
  var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
5931
5889
 
5932
5890
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
5933
- var TypeId9 = "~effect/SchemaIssue/Issue";
5891
+ var TypeId8 = "~effect/SchemaIssue/Issue";
5934
5892
  function isIssue(u) {
5935
- return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
5893
+ return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
5936
5894
  }
5937
5895
  function hasInput(issue) {
5938
5896
  return Object.hasOwn(issue, "input");
5939
5897
  }
5940
5898
 
5941
5899
  class IssueNodeImpl {
5942
- [TypeId9] = TypeId9;
5900
+ [TypeId8] = TypeId8;
5943
5901
  constructor(input, options) {
5944
5902
  if (options?.reportInput === true && input !== missing) {
5945
5903
  this.input = input;
@@ -6313,9 +6271,9 @@ function setContent(operation, content) {
6313
6271
  }
6314
6272
 
6315
6273
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
6316
- var TypeId10 = "~effect/SchemaTransformation/Transformation";
6274
+ var TypeId9 = "~effect/SchemaTransformation/Transformation";
6317
6275
  var Transformation = class extends Class3 {
6318
- [TypeId10] = TypeId10;
6276
+ [TypeId9] = TypeId9;
6319
6277
  _tag = "Transformation";
6320
6278
  decode;
6321
6279
  encode;
@@ -6329,7 +6287,7 @@ var Transformation = class extends Class3 {
6329
6287
  }
6330
6288
  };
6331
6289
  function isTransformation(u) {
6332
- return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
6290
+ return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
6333
6291
  }
6334
6292
  var makeTransformation = (options) => {
6335
6293
  if (isTransformation(options)) {
@@ -6449,10 +6407,10 @@ var Context = class {
6449
6407
  this.annotations = annotations;
6450
6408
  }
6451
6409
  };
6452
- var TypeId11 = "~effect/Schema";
6410
+ var TypeId10 = "~effect/Schema";
6453
6411
 
6454
6412
  class ASTNodeImpl {
6455
- [TypeId11] = TypeId11;
6413
+ [TypeId10] = TypeId10;
6456
6414
  annotations;
6457
6415
  checks;
6458
6416
  encoding;
@@ -8667,10 +8625,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
8667
8625
  var constructorCompiler = (ast) => resolve2(ast).makeEffect;
8668
8626
 
8669
8627
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
8670
- var TypeId12 = "~effect/Schema/Schema";
8628
+ var TypeId11 = "~effect/Schema/Schema";
8671
8629
  var RebuildOptions = /* @__PURE__ */ Symbol();
8672
8630
  var SchemaProto = {
8673
- [TypeId12]: TypeId12,
8631
+ [TypeId11]: TypeId11,
8674
8632
  get make() {
8675
8633
  const value = make4(this);
8676
8634
  Object.defineProperty(this, "make", {
@@ -8931,7 +8889,7 @@ function recur(ast) {
8931
8889
  const rest = ast.rest.map(recur);
8932
8890
  const [head, ...tail] = rest;
8933
8891
  const tailLength = tail.length;
8934
- return make13((a, b) => {
8892
+ return make14((a, b) => {
8935
8893
  if (!Array.isArray(a) || !Array.isArray(b)) {
8936
8894
  return false;
8937
8895
  }
@@ -8966,7 +8924,7 @@ function recur(ast) {
8966
8924
  }
8967
8925
  const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
8968
8926
  const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
8969
- return make13((a, b) => {
8927
+ return make14((a, b) => {
8970
8928
  if (!isObject2(a) || !isObject2(b)) {
8971
8929
  return false;
8972
8930
  }
@@ -9004,7 +8962,7 @@ function recur(ast) {
9004
8962
  const types = toType2(ast).types;
9005
8963
  const index = getCandidateIndex(types);
9006
8964
  const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
9007
- return make13((a, b) => {
8965
+ return make14((a, b) => {
9008
8966
  const candidates = index(a, false);
9009
8967
  for (let i = 0;i < candidates.length; i++) {
9010
8968
  const [is, equivalence] = compiled[candidates[i]];
@@ -9017,7 +8975,7 @@ function recur(ast) {
9017
8975
  }
9018
8976
  case "Suspend": {
9019
8977
  let equivalence;
9020
- return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
8978
+ return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
9021
8979
  }
9022
8980
  }
9023
8981
  }
@@ -9115,7 +9073,7 @@ function isSchemaError(u) {
9115
9073
  }
9116
9074
 
9117
9075
  // node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
9118
- var TypeId13 = TypeId12;
9076
+ var TypeId12 = TypeId11;
9119
9077
  function declareConstructor() {
9120
9078
  return (typeParameters, run, annotations) => {
9121
9079
  return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
@@ -9228,7 +9186,7 @@ function encodeUnknownSync(schema, options) {
9228
9186
  var encodeSync = encodeUnknownSync;
9229
9187
  var make17 = make5;
9230
9188
  function isSchema(u) {
9231
- return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
9189
+ return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
9232
9190
  }
9233
9191
  var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
9234
9192
  schema
@@ -10059,7 +10017,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
10059
10017
  }
10060
10018
  });
10061
10019
  }
10062
- static [TypeId13] = TypeId13;
10020
+ static [TypeId12] = TypeId12;
10063
10021
  get [ClassTypeId]() {
10064
10022
  return ClassTypeId;
10065
10023
  }
@@ -10208,4 +10166,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
10208
10166
  var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
10209
10167
  var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
10210
10168
 
10211
- export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, 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, 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, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, 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, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, 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, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
10169
+ export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, 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, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, 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, 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, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, 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, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, 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, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
@@ -4,13 +4,13 @@ import {
4
4
  runnerRpcUrl2,
5
5
  makeRunnerRpcClient2,
6
6
  makeProgramRpcClient2
7
- } from "./chunk-e7q2frvs.js";
8
- import"./chunk-7kjsvwzv.js";
9
- import"./chunk-r1z41qx6.js";
10
- import"./chunk-6b0k02x4.js";
11
- import"./chunk-c9007k48.js";
12
- import"./chunk-zmcghp8w.js";
13
- import"./chunk-79gx7ek9.js";
7
+ } from "./chunk-j5t5nye5.js";
8
+ import"./chunk-4w4spvb1.js";
9
+ import"./chunk-1t12wvv1.js";
10
+ import"./chunk-0qz10ek8.js";
11
+ import"./chunk-c6rbt85q.js";
12
+ import"./chunk-gspfm7qh.js";
13
+ import"./chunk-vtfwjhzh.js";
14
14
  export {
15
15
  makeProgramRpcClient2 as makeProgramRpcClient,
16
16
  makeRunnerRpcClient2 as makeRunnerRpcClient,
@@ -32,9 +32,9 @@ import {
32
32
  toCodecJson,
33
33
  Json,
34
34
  encodePrettyJsonString
35
- } from "./chunk-79gx7ek9.js";
36
- import"./chunk-6b0k02x4.js";
37
- import"./chunk-c9007k48.js";
35
+ } from "./chunk-vtfwjhzh.js";
36
+ import"./chunk-0qz10ek8.js";
37
+ import"./chunk-c6rbt85q.js";
38
38
  import {
39
39
  SecureRandom,
40
40
  layerWebCrypto,
@@ -46,7 +46,7 @@ import {
46
46
  layer4,
47
47
  kitmanMcpServer,
48
48
  RunnerRpcProtocolVersion
49
- } from "./chunk-r1z41qx6.js";
49
+ } from "./chunk-1t12wvv1.js";
50
50
  import {
51
51
  decodeText,
52
52
  mkString,
@@ -54,23 +54,23 @@ import {
54
54
  Path,
55
55
  withDefault,
56
56
  String2
57
- } from "./chunk-zmcghp8w.js";
57
+ } from "./chunk-gspfm7qh.js";
58
58
  import {
59
59
  Packument,
60
60
  tarballMatches
61
- } from "./chunk-ezf2myj0.js";
62
- import"./chunk-e7q2frvs.js";
61
+ } from "./chunk-e4an66v2.js";
62
+ import"./chunk-j5t5nye5.js";
63
63
  import {
64
64
  AgentDeclaration,
65
65
  KitDeclarations,
66
66
  describeFlag,
67
67
  Described
68
- } from "./chunk-ckkpqcfv.js";
68
+ } from "./chunk-qrm334c6.js";
69
69
  import {
70
70
  ChildProcessSpawner,
71
- make2
72
- } from "./chunk-jntxtx9j.js";
73
- import"./chunk-7kjsvwzv.js";
71
+ make3
72
+ } from "./chunk-xwya1er0.js";
73
+ import"./chunk-4w4spvb1.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)),
@@ -1,6 +1,13 @@
1
1
  // @bun
2
2
  import {
3
+ isString2,
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
  map8,
16
23
  raceFirst,
17
- scoped,
18
- isRedacted,
19
- make16,
20
- value
21
- } from "./chunk-79gx7ek9.js";
24
+ scoped
25
+ } from "./chunk-vtfwjhzh.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-zmcghp8w.js";
34
+ } from "./chunk-gspfm7qh.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${isString2(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(map8((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 };