@kitman-sh/cli 0.10.63 → 0.10.64
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.
- package/dist/{chunk-a4798jzf.js → chunk-3z0p2wtr.js} +3 -3
- package/dist/{chunk-d3ksv8y1.js → chunk-677etczq.js} +70 -28
- package/dist/{chunk-wtpwkjws.js → chunk-9p6v3jd2.js} +4 -4
- package/dist/{chunk-hxkk42cg.js → chunk-a31qjdsm.js} +7 -7
- package/dist/{chunk-5y050gx7.js → chunk-b9xcawfx.js} +36 -36
- package/dist/{chunk-1z9p4q8b.js → chunk-byhwksbq.js} +2 -2
- package/dist/{chunk-d8awdfdj.js → chunk-dzxahdb7.js} +60 -60
- package/dist/{chunk-sdpjvc1r.js → chunk-fm4m4v6j.js} +107 -116
- package/dist/{chunk-phmma642.js → chunk-fznm6es2.js} +7 -7
- package/dist/{chunk-v01c0k6j.js → chunk-h6360r1c.js} +1 -1
- package/dist/{chunk-rrz0v4fg.js → chunk-ksx5nt4b.js} +5 -5
- package/dist/{chunk-62mqje8y.js → chunk-m9v1z0gz.js} +21 -21
- package/dist/{chunk-q3c7vmby.js → chunk-p23kedha.js} +1 -1
- package/dist/{chunk-0fdgam8v.js → chunk-qdn9tnav.js} +26 -17
- package/dist/{chunk-wkccjgwb.js → chunk-rv4r0n7d.js} +4 -4
- package/dist/{chunk-1w81w56v.js → chunk-rzr11xyn.js} +2 -2
- package/dist/{chunk-smgvtzd2.js → chunk-s2d1a2my.js} +7 -7
- package/dist/{chunk-z0z56a72.js → chunk-smmgt31x.js} +9 -9
- package/dist/{chunk-hvev0dve.js → chunk-t47h82ew.js} +11 -11
- package/dist/{chunk-88257wax.js → chunk-tdp34kqg.js} +19 -19
- package/dist/{chunk-e3tv8mv2.js → chunk-wjs5fpv0.js} +5 -5
- package/dist/{chunk-rrnee9mk.js → chunk-wnwyp9qn.js} +1 -1
- package/dist/{chunk-09jf8588.js → chunk-x306t6v1.js} +11 -11
- package/dist/{chunk-eawcprsb.js → chunk-zej59tf2.js} +14 -60
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -24,11 +24,11 @@ import {
|
|
|
24
24
|
Record,
|
|
25
25
|
Int,
|
|
26
26
|
fromJsonString
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-677etczq.js";
|
|
28
28
|
import {
|
|
29
29
|
withDefault,
|
|
30
30
|
String2
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-qdn9tnav.js";
|
|
32
32
|
import {
|
|
33
33
|
digestSha256,
|
|
34
34
|
digestSha512,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
get2,
|
|
39
39
|
layer4,
|
|
40
40
|
KitDigest
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-fm4m4v6j.js";
|
|
42
42
|
|
|
43
43
|
// packages/core/src/npm-registry.ts
|
|
44
44
|
var KitManifest = Struct({
|
|
@@ -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
|
|
1334
|
+
var make13 = (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
|
|
1338
|
+
return make13((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
|
|
1351
|
+
return make13((self, that) => {
|
|
1352
1352
|
if (self.length !== that.length)
|
|
1353
1353
|
return false;
|
|
1354
1354
|
for (let i = 0;i < self.length; i++) {
|
|
@@ -1578,7 +1578,7 @@ var ServiceProto = {
|
|
|
1578
1578
|
return self;
|
|
1579
1579
|
},
|
|
1580
1580
|
context(self) {
|
|
1581
|
-
return
|
|
1581
|
+
return make14(this, self);
|
|
1582
1582
|
},
|
|
1583
1583
|
use(f) {
|
|
1584
1584
|
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
@@ -1682,7 +1682,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1682
1682
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1683
1683
|
var empty3 = () => emptyContext2;
|
|
1684
1684
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1685
|
-
var
|
|
1685
|
+
var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1686
1686
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1687
1687
|
var addUnsafe = (self, key, service) => {
|
|
1688
1688
|
const impl = self;
|
|
@@ -3022,7 +3022,7 @@ class FiberImpl {
|
|
|
3022
3022
|
}
|
|
3023
3023
|
let cause = causeInterrupt(fiberId);
|
|
3024
3024
|
if (this.cache.stackFrame) {
|
|
3025
|
-
cause = causeAnnotate(cause,
|
|
3025
|
+
cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
|
|
3026
3026
|
}
|
|
3027
3027
|
if (annotations) {
|
|
3028
3028
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -5119,7 +5119,7 @@ var DeferredImpl = function() {
|
|
|
5119
5119
|
};
|
|
5120
5120
|
DeferredImpl.prototype = DeferredProto;
|
|
5121
5121
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5122
|
-
var
|
|
5122
|
+
var make15 = () => sync(() => makeUnsafe5());
|
|
5123
5123
|
var _await = (self) => callback2((resume) => {
|
|
5124
5124
|
if (self.effect)
|
|
5125
5125
|
return resume(self.effect);
|
|
@@ -5267,9 +5267,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5267
5267
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5268
5268
|
var succeed5 = function() {
|
|
5269
5269
|
if (arguments.length === 1) {
|
|
5270
|
-
return (resource) => succeedContext(
|
|
5270
|
+
return (resource) => succeedContext(make14(arguments[0], resource));
|
|
5271
5271
|
}
|
|
5272
|
-
return succeedContext(
|
|
5272
|
+
return succeedContext(make14(arguments[0], arguments[1]));
|
|
5273
5273
|
};
|
|
5274
5274
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5275
5275
|
var effect = function() {
|
|
@@ -5278,7 +5278,7 @@ var effect = function() {
|
|
|
5278
5278
|
}
|
|
5279
5279
|
return effectImpl(arguments[0], arguments[1]);
|
|
5280
5280
|
};
|
|
5281
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5281
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
|
|
5282
5282
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5283
5283
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5284
5284
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -5857,6 +5857,48 @@ var getCode = (charCode) => {
|
|
|
5857
5857
|
return codes[charCode];
|
|
5858
5858
|
};
|
|
5859
5859
|
|
|
5860
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5861
|
+
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5862
|
+
var value2 = (self) => {
|
|
5863
|
+
if (redactedRegistry.has(self)) {
|
|
5864
|
+
return redactedRegistry.get(self);
|
|
5865
|
+
} else {
|
|
5866
|
+
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5867
|
+
}
|
|
5868
|
+
};
|
|
5869
|
+
|
|
5870
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5871
|
+
var TypeId8 = "~effect/Redacted";
|
|
5872
|
+
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5873
|
+
var make16 = (value, options) => {
|
|
5874
|
+
const self = Object.create(Proto2);
|
|
5875
|
+
if (options?.label) {
|
|
5876
|
+
self.label = options.label;
|
|
5877
|
+
}
|
|
5878
|
+
redactedRegistry.set(self, value);
|
|
5879
|
+
return self;
|
|
5880
|
+
};
|
|
5881
|
+
var Proto2 = {
|
|
5882
|
+
[TypeId8]: {
|
|
5883
|
+
_A: (_) => _
|
|
5884
|
+
},
|
|
5885
|
+
label: undefined,
|
|
5886
|
+
...PipeInspectableProto,
|
|
5887
|
+
toJSON() {
|
|
5888
|
+
return this.toString();
|
|
5889
|
+
},
|
|
5890
|
+
toString() {
|
|
5891
|
+
return `<redacted${isString2(this.label) ? ":" + this.label : ""}>`;
|
|
5892
|
+
},
|
|
5893
|
+
[symbol]() {
|
|
5894
|
+
return hash(redactedRegistry.get(this));
|
|
5895
|
+
},
|
|
5896
|
+
[symbol2](that) {
|
|
5897
|
+
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5898
|
+
}
|
|
5899
|
+
};
|
|
5900
|
+
var value = value2;
|
|
5901
|
+
|
|
5860
5902
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5861
5903
|
function resolve(ast) {
|
|
5862
5904
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5880,16 +5922,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5880
5922
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5881
5923
|
|
|
5882
5924
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5883
|
-
var
|
|
5925
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
5884
5926
|
function isIssue(u) {
|
|
5885
|
-
return hasProperty(u,
|
|
5927
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
5886
5928
|
}
|
|
5887
5929
|
function hasInput(issue) {
|
|
5888
5930
|
return Object.hasOwn(issue, "input");
|
|
5889
5931
|
}
|
|
5890
5932
|
|
|
5891
5933
|
class IssueNodeImpl {
|
|
5892
|
-
[
|
|
5934
|
+
[TypeId9] = TypeId9;
|
|
5893
5935
|
constructor(input, options) {
|
|
5894
5936
|
if (options?.reportInput === true && input !== missing) {
|
|
5895
5937
|
this.input = input;
|
|
@@ -6263,9 +6305,9 @@ function setContent(operation, content) {
|
|
|
6263
6305
|
}
|
|
6264
6306
|
|
|
6265
6307
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6266
|
-
var
|
|
6308
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6267
6309
|
var Transformation = class extends Class3 {
|
|
6268
|
-
[
|
|
6310
|
+
[TypeId10] = TypeId10;
|
|
6269
6311
|
_tag = "Transformation";
|
|
6270
6312
|
decode;
|
|
6271
6313
|
encode;
|
|
@@ -6279,7 +6321,7 @@ var Transformation = class extends Class3 {
|
|
|
6279
6321
|
}
|
|
6280
6322
|
};
|
|
6281
6323
|
function isTransformation(u) {
|
|
6282
|
-
return hasProperty(u,
|
|
6324
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6283
6325
|
}
|
|
6284
6326
|
var makeTransformation = (options) => {
|
|
6285
6327
|
if (isTransformation(options)) {
|
|
@@ -6399,10 +6441,10 @@ var Context = class {
|
|
|
6399
6441
|
this.annotations = annotations;
|
|
6400
6442
|
}
|
|
6401
6443
|
};
|
|
6402
|
-
var
|
|
6444
|
+
var TypeId11 = "~effect/Schema";
|
|
6403
6445
|
|
|
6404
6446
|
class ASTNodeImpl {
|
|
6405
|
-
[
|
|
6447
|
+
[TypeId11] = TypeId11;
|
|
6406
6448
|
annotations;
|
|
6407
6449
|
checks;
|
|
6408
6450
|
encoding;
|
|
@@ -8617,10 +8659,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8617
8659
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8618
8660
|
|
|
8619
8661
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8620
|
-
var
|
|
8662
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8621
8663
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8622
8664
|
var SchemaProto = {
|
|
8623
|
-
[
|
|
8665
|
+
[TypeId12]: TypeId12,
|
|
8624
8666
|
get make() {
|
|
8625
8667
|
const value = make4(this);
|
|
8626
8668
|
Object.defineProperty(this, "make", {
|
|
@@ -8881,7 +8923,7 @@ function recur(ast) {
|
|
|
8881
8923
|
const rest = ast.rest.map(recur);
|
|
8882
8924
|
const [head, ...tail] = rest;
|
|
8883
8925
|
const tailLength = tail.length;
|
|
8884
|
-
return
|
|
8926
|
+
return make13((a, b) => {
|
|
8885
8927
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8886
8928
|
return false;
|
|
8887
8929
|
}
|
|
@@ -8916,7 +8958,7 @@ function recur(ast) {
|
|
|
8916
8958
|
}
|
|
8917
8959
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8918
8960
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8919
|
-
return
|
|
8961
|
+
return make13((a, b) => {
|
|
8920
8962
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8921
8963
|
return false;
|
|
8922
8964
|
}
|
|
@@ -8954,7 +8996,7 @@ function recur(ast) {
|
|
|
8954
8996
|
const types = toType2(ast).types;
|
|
8955
8997
|
const index = getCandidateIndex(types);
|
|
8956
8998
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8957
|
-
return
|
|
8999
|
+
return make13((a, b) => {
|
|
8958
9000
|
const candidates = index(a, false);
|
|
8959
9001
|
for (let i = 0;i < candidates.length; i++) {
|
|
8960
9002
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -8967,7 +9009,7 @@ function recur(ast) {
|
|
|
8967
9009
|
}
|
|
8968
9010
|
case "Suspend": {
|
|
8969
9011
|
let equivalence;
|
|
8970
|
-
return
|
|
9012
|
+
return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
8971
9013
|
}
|
|
8972
9014
|
}
|
|
8973
9015
|
}
|
|
@@ -9065,7 +9107,7 @@ function isSchemaError(u) {
|
|
|
9065
9107
|
}
|
|
9066
9108
|
|
|
9067
9109
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9068
|
-
var
|
|
9110
|
+
var TypeId13 = TypeId12;
|
|
9069
9111
|
function declareConstructor() {
|
|
9070
9112
|
return (typeParameters, run, annotations) => {
|
|
9071
9113
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9178,7 +9220,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9178
9220
|
var encodeSync = encodeUnknownSync;
|
|
9179
9221
|
var make17 = make5;
|
|
9180
9222
|
function isSchema(u) {
|
|
9181
|
-
return hasProperty(u,
|
|
9223
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
9182
9224
|
}
|
|
9183
9225
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9184
9226
|
schema
|
|
@@ -9972,7 +10014,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
9972
10014
|
}
|
|
9973
10015
|
});
|
|
9974
10016
|
}
|
|
9975
|
-
static [
|
|
10017
|
+
static [TypeId13] = TypeId13;
|
|
9976
10018
|
get [ClassTypeId]() {
|
|
9977
10019
|
return ClassTypeId;
|
|
9978
10020
|
}
|
|
@@ -10121,4 +10163,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10121
10163
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10122
10164
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10123
10165
|
|
|
10124
|
-
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,
|
|
10166
|
+
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, Service2, makeUnsafe4, empty3, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, 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, filter2, 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, 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, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
3
|
-
import"./chunk-
|
|
4
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-677etczq.js";
|
|
3
|
+
import"./chunk-wnwyp9qn.js";
|
|
4
|
+
import"./chunk-h6360r1c.js";
|
|
5
5
|
import {
|
|
6
6
|
decideSecretRequest,
|
|
7
7
|
readSecretRegistry,
|
|
8
8
|
appendSecretRefusals
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-rzr11xyn.js";
|
|
10
10
|
|
|
11
11
|
// packages/agent-runtime/src/srt-step.ts
|
|
12
12
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-677etczq.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-qdn9tnav.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-
|
|
22
|
+
} from "./chunk-fm4m4v6j.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make3,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-wjs5fpv0.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*
|
|
49
|
+
const client = yield* make3(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*
|
|
77
|
+
const client = yield* make3(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
decodeJsonStringOption,
|
|
103
103
|
encodeJsonStringSync,
|
|
104
104
|
encodePrettyJsonString
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-677etczq.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,
|
|
144
145
|
make6,
|
|
145
|
-
make7,
|
|
146
146
|
Service,
|
|
147
147
|
shouldRefresh,
|
|
148
148
|
refreshSession,
|
|
@@ -153,13 +153,27 @@ import {
|
|
|
153
153
|
runMcpEffect,
|
|
154
154
|
createAgentAuthSignedFetch,
|
|
155
155
|
setupMcpAgentCredential
|
|
156
|
-
} from "./chunk-
|
|
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";
|
|
157
171
|
import {
|
|
158
172
|
guard,
|
|
159
173
|
Id,
|
|
160
174
|
Timestamp,
|
|
161
175
|
ActorType
|
|
162
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-wnwyp9qn.js";
|
|
163
177
|
import {
|
|
164
178
|
toJsonValue,
|
|
165
179
|
isOneOf,
|
|
@@ -173,31 +187,17 @@ import {
|
|
|
173
187
|
isJsonObject,
|
|
174
188
|
isString,
|
|
175
189
|
kindOf
|
|
176
|
-
} from "./chunk-
|
|
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-0fdgam8v.js";
|
|
190
|
+
} from "./chunk-h6360r1c.js";
|
|
191
191
|
import {
|
|
192
192
|
nextInt
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-p23kedha.js";
|
|
194
194
|
import {
|
|
195
195
|
layerJson,
|
|
196
|
-
|
|
196
|
+
make3,
|
|
197
197
|
withHeaders,
|
|
198
198
|
layerProtocolSocket,
|
|
199
199
|
ConnectionHooks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-wjs5fpv0.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
|
|
1944
|
+
class LiveRpcs extends make6(make5("Session", {
|
|
1945
1945
|
success: Struct({ workspaceId: String4, clientKind: String4 }),
|
|
1946
1946
|
error: LiveRpcError
|
|
1947
|
-
}),
|
|
1947
|
+
}), make5("Subscribe", {
|
|
1948
1948
|
payload: LiveSubscribeInput,
|
|
1949
1949
|
success: LiveSubscriptionMessage,
|
|
1950
1950
|
error: LiveRpcError,
|
|
1951
1951
|
stream: true
|
|
1952
|
-
}),
|
|
1952
|
+
}), make5("Replay", {
|
|
1953
1953
|
payload: LiveReplayInput,
|
|
1954
1954
|
success: ArraySchema(LiveEvent),
|
|
1955
1955
|
error: LiveRpcError
|
|
1956
|
-
}),
|
|
1956
|
+
}), make5("Ack", {
|
|
1957
1957
|
payload: LiveAckInput,
|
|
1958
1958
|
success: LiveAckResult,
|
|
1959
1959
|
error: LiveRpcError
|
|
1960
|
-
}),
|
|
1960
|
+
}), make5("SubscribeWeb", {
|
|
1961
1961
|
payload: LiveWebSubscribeInput,
|
|
1962
1962
|
success: LiveWebSubscriptionMessage,
|
|
1963
1963
|
error: LiveRpcError,
|
|
1964
1964
|
stream: true
|
|
1965
|
-
}),
|
|
1965
|
+
}), make5("SubscriptionStatus", {
|
|
1966
1966
|
payload: { subscriptionId: String4 },
|
|
1967
1967
|
success: LiveSubscriptionStatus,
|
|
1968
1968
|
error: LiveRpcError
|
|
1969
|
-
}),
|
|
1969
|
+
}), make5("ReplayWeb", {
|
|
1970
1970
|
payload: LiveWebReplayInput,
|
|
1971
1971
|
success: LiveWebReplayResult,
|
|
1972
1972
|
error: LiveRpcError
|
|
1973
|
-
}),
|
|
1973
|
+
}), make5("AckWeb", {
|
|
1974
1974
|
payload: LiveWebAckInput,
|
|
1975
1975
|
success: LiveWebAckResult,
|
|
1976
1976
|
error: LiveRpcError
|
|
1977
|
-
}),
|
|
1977
|
+
}), make5("PublishPresence", {
|
|
1978
1978
|
payload: LivePresencePublishInput,
|
|
1979
1979
|
success: LivePresenceEntry,
|
|
1980
1980
|
error: LiveRpcError
|
|
1981
|
-
}),
|
|
1981
|
+
}), make5("SubscribePresence", {
|
|
1982
1982
|
payload: LivePresenceSubscribeInput,
|
|
1983
1983
|
success: LivePresenceSubscriptionMessage,
|
|
1984
1984
|
error: LiveRpcError,
|
|
1985
1985
|
stream: true
|
|
1986
|
-
}),
|
|
1986
|
+
}), make5("ClearPresence", {
|
|
1987
1987
|
payload: { scope: optional(LiveScope) },
|
|
1988
1988
|
error: LiveRpcError
|
|
1989
|
-
}),
|
|
1989
|
+
}), make5("RecordSessionUpdate", {
|
|
1990
1990
|
payload: { sessionId: String4, input: SessionUpdateCreate },
|
|
1991
1991
|
success: SessionUpdate,
|
|
1992
1992
|
error: LiveRpcError
|
|
1993
|
-
}),
|
|
1993
|
+
}), make5("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) =>
|
|
2045
|
+
const client = await runPromise(buildWithScope(layer, scope).pipe(flatMap3((context) => make3(LiveRpcs).pipe(provideContext2(context))), provide(scope)));
|
|
2046
2046
|
let abandon = () => {};
|
|
2047
2047
|
const abandoned = new Promise((_resolve, reject) => {
|
|
2048
2048
|
abandon = reject;
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
writeSrtSettings2,
|
|
15
15
|
srtStepArgv2,
|
|
16
16
|
srtArgv2
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import"./chunk-
|
|
17
|
+
} from "./chunk-qdn9tnav.js";
|
|
18
|
+
import"./chunk-677etczq.js";
|
|
19
19
|
export {
|
|
20
20
|
compiled2 as compiled,
|
|
21
21
|
harnessesUnsupportedInSrt2 as harnessesUnsupportedInSrt,
|