@kitman-sh/cli 0.17.0 → 0.18.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.
- package/dist/{chunk-qjxgew0k.js → chunk-1j38xtvp.js} +2 -2
- package/dist/{chunk-ebpjd7kg.js → chunk-2bagaygt.js} +6 -6
- package/dist/{chunk-jg1pjhba.js → chunk-4p1k3yyc.js} +21 -21
- package/dist/{chunk-r2kzvdrg.js → chunk-4qjfn1sa.js} +1 -1
- package/dist/{chunk-m1qp6swh.js → chunk-5kqt4bqp.js} +1 -1
- package/dist/{chunk-z59pvcbk.js → chunk-63cyj9dh.js} +174 -31
- package/dist/{chunk-0wqkz371.js → chunk-9jffw2mk.js} +3 -3
- package/dist/{chunk-0f67q0tf.js → chunk-bqhfbng3.js} +9 -9
- package/dist/{chunk-2928qj8m.js → chunk-d3gs4jvd.js} +69 -69
- package/dist/{chunk-vh2a72d1.js → chunk-gap0vmj7.js} +60 -14
- package/dist/{chunk-y64ssczv.js → chunk-h2f26xbd.js} +40 -226
- package/dist/{chunk-829r4kya.js → chunk-hj8ex4x6.js} +4 -4
- package/dist/{chunk-8r1a93rc.js → chunk-jaa8qjky.js} +9 -9
- package/dist/{chunk-2sazk478.js → chunk-js64y97w.js} +4 -4
- package/dist/{chunk-5me7tnrw.js → chunk-mca2zp8p.js} +2 -2
- package/dist/{chunk-g3jqqpky.js → chunk-mg3mxhxe.js} +7 -7
- package/dist/{chunk-pnckztvv.js → chunk-mqsxwm53.js} +5 -5
- package/dist/{chunk-kx8rpa62.js → chunk-my92qn4x.js} +10 -10
- package/dist/{chunk-nf9rfrvv.js → chunk-n05bj55h.js} +24 -24
- package/dist/{chunk-r3d2yjsh.js → chunk-nfnw3dh1.js} +24 -24
- package/dist/{chunk-9a6wbk11.js → chunk-samxkpbz.js} +3 -3
- package/dist/{chunk-pd3azxev.js → chunk-tsx0347c.js} +1 -1
- package/dist/{chunk-zy21drtv.js → chunk-vz38kngm.js} +2 -2
- package/dist/{chunk-nqh0pbgt.js → chunk-wg6xkkcr.js} +1 -1
- package/dist/{chunk-ekyj0bps.js → chunk-x8zzax0f.js} +10 -10
- package/dist/{chunk-j37p2y71.js → chunk-zmqm4mrm.js} +118 -117
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -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 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
|
|
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
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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(
|
|
5334
|
+
return (resource) => succeedContext(make15(arguments[0], resource));
|
|
5335
5335
|
}
|
|
5336
|
-
return succeedContext(
|
|
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) =>
|
|
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) => {
|
|
@@ -5820,150 +5820,6 @@ var flatMapEager = flatMapEager2;
|
|
|
5820
5820
|
var catchEager = catchEager2;
|
|
5821
5821
|
var fnUntracedEager2 = fnUntracedEager;
|
|
5822
5822
|
|
|
5823
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/BigInt.js
|
|
5824
|
-
var BigInt2 = globalThis.BigInt;
|
|
5825
|
-
var toNumber = (b) => {
|
|
5826
|
-
if (b > BigInt2(Number.MAX_SAFE_INTEGER) || b < BigInt2(Number.MIN_SAFE_INTEGER)) {
|
|
5827
|
-
return none();
|
|
5828
|
-
}
|
|
5829
|
-
return some(Number(b));
|
|
5830
|
-
};
|
|
5831
|
-
|
|
5832
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/ByteSize.js
|
|
5833
|
-
var bigint03 = /* @__PURE__ */ BigInt(0);
|
|
5834
|
-
var bigint12 = /* @__PURE__ */ BigInt(1);
|
|
5835
|
-
var decimalBase = /* @__PURE__ */ BigInt(1000);
|
|
5836
|
-
var binaryBase = /* @__PURE__ */ BigInt(1024);
|
|
5837
|
-
var decimalUnits = [{
|
|
5838
|
-
symbol: "B",
|
|
5839
|
-
factor: bigint12,
|
|
5840
|
-
names: ["B", "byte", "bytes"]
|
|
5841
|
-
}, {
|
|
5842
|
-
symbol: "kB",
|
|
5843
|
-
factor: decimalBase,
|
|
5844
|
-
names: ["kB", "kilobyte", "kilobytes"]
|
|
5845
|
-
}, {
|
|
5846
|
-
symbol: "MB",
|
|
5847
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(2),
|
|
5848
|
-
names: ["MB", "megabyte", "megabytes"]
|
|
5849
|
-
}, {
|
|
5850
|
-
symbol: "GB",
|
|
5851
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(3),
|
|
5852
|
-
names: ["GB", "gigabyte", "gigabytes"]
|
|
5853
|
-
}, {
|
|
5854
|
-
symbol: "TB",
|
|
5855
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(4),
|
|
5856
|
-
names: ["TB", "terabyte", "terabytes"]
|
|
5857
|
-
}, {
|
|
5858
|
-
symbol: "PB",
|
|
5859
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(5),
|
|
5860
|
-
names: ["PB", "petabyte", "petabytes"]
|
|
5861
|
-
}, {
|
|
5862
|
-
symbol: "EB",
|
|
5863
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(6),
|
|
5864
|
-
names: ["EB", "exabyte", "exabytes"]
|
|
5865
|
-
}, {
|
|
5866
|
-
symbol: "ZB",
|
|
5867
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(7),
|
|
5868
|
-
names: ["ZB", "zettabyte", "zettabytes"]
|
|
5869
|
-
}, {
|
|
5870
|
-
symbol: "YB",
|
|
5871
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(8),
|
|
5872
|
-
names: ["YB", "yottabyte", "yottabytes"]
|
|
5873
|
-
}, {
|
|
5874
|
-
symbol: "RB",
|
|
5875
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(9),
|
|
5876
|
-
names: ["RB", "ronnabyte", "ronnabytes"]
|
|
5877
|
-
}, {
|
|
5878
|
-
symbol: "QB",
|
|
5879
|
-
factor: decimalBase ** /* @__PURE__ */ BigInt(10),
|
|
5880
|
-
names: ["QB", "quettabyte", "quettabytes"]
|
|
5881
|
-
}];
|
|
5882
|
-
var binaryUnits = [decimalUnits[0], {
|
|
5883
|
-
symbol: "KiB",
|
|
5884
|
-
factor: binaryBase,
|
|
5885
|
-
names: ["KiB", "kibibyte", "kibibytes"]
|
|
5886
|
-
}, {
|
|
5887
|
-
symbol: "MiB",
|
|
5888
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(2),
|
|
5889
|
-
names: ["MiB", "mebibyte", "mebibytes"]
|
|
5890
|
-
}, {
|
|
5891
|
-
symbol: "GiB",
|
|
5892
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(3),
|
|
5893
|
-
names: ["GiB", "gibibyte", "gibibytes"]
|
|
5894
|
-
}, {
|
|
5895
|
-
symbol: "TiB",
|
|
5896
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(4),
|
|
5897
|
-
names: ["TiB", "tebibyte", "tebibytes"]
|
|
5898
|
-
}, {
|
|
5899
|
-
symbol: "PiB",
|
|
5900
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(5),
|
|
5901
|
-
names: ["PiB", "pebibyte", "pebibytes"]
|
|
5902
|
-
}, {
|
|
5903
|
-
symbol: "EiB",
|
|
5904
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(6),
|
|
5905
|
-
names: ["EiB", "exbibyte", "exbibytes"]
|
|
5906
|
-
}, {
|
|
5907
|
-
symbol: "ZiB",
|
|
5908
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(7),
|
|
5909
|
-
names: ["ZiB", "zebibyte", "zebibytes"]
|
|
5910
|
-
}, {
|
|
5911
|
-
symbol: "YiB",
|
|
5912
|
-
factor: binaryBase ** /* @__PURE__ */ BigInt(8),
|
|
5913
|
-
names: ["YiB", "yobibyte", "yobibytes"]
|
|
5914
|
-
}];
|
|
5915
|
-
var allUnits = [...decimalUnits, .../* @__PURE__ */ binaryUnits.slice(1)];
|
|
5916
|
-
var unitsByName = /* @__PURE__ */ new Map(/* @__PURE__ */ allUnits.flatMap((unit) => unit.names.map((name) => [name, unit])));
|
|
5917
|
-
var make4 = (value) => value;
|
|
5918
|
-
var invalid2 = (message) => {
|
|
5919
|
-
throw new Error(`Invalid ByteSize: ${message}`);
|
|
5920
|
-
};
|
|
5921
|
-
var fromNumber = (input) => {
|
|
5922
|
-
if (!Number.isSafeInteger(input) || input < 0) {
|
|
5923
|
-
return invalid2(`expected a non-negative safe integer, received ${input}`);
|
|
5924
|
-
}
|
|
5925
|
-
return make4(BigInt(input));
|
|
5926
|
-
};
|
|
5927
|
-
var maxSafeInteger = /* @__PURE__ */ BigInt(Number.MAX_SAFE_INTEGER);
|
|
5928
|
-
var scaleDecimal = (quantity, factor) => {
|
|
5929
|
-
const match = /^(\d+)(?:\.(\d+))?(?:e([+-]\d+))?$/.exec(quantity);
|
|
5930
|
-
if (match === null)
|
|
5931
|
-
return;
|
|
5932
|
-
const fraction = match[2] ?? "";
|
|
5933
|
-
const numerator = BigInt(match[1] + fraction) * factor;
|
|
5934
|
-
const shift = Number(match[3] ?? 0) - fraction.length;
|
|
5935
|
-
if (shift >= 0)
|
|
5936
|
-
return numerator * BigInt(10) ** BigInt(shift);
|
|
5937
|
-
const scale = BigInt(10) ** BigInt(-shift);
|
|
5938
|
-
return numerator % scale === bigint03 ? numerator / scale : undefined;
|
|
5939
|
-
};
|
|
5940
|
-
var fromStringUnsafe = (input) => {
|
|
5941
|
-
const match = /^\s*(\d+(?:\.\d+)?)\s*([A-Za-z]+)\s*$/.exec(input);
|
|
5942
|
-
if (match === null)
|
|
5943
|
-
return invalid2(`unsupported syntax ${JSON.stringify(input)}`);
|
|
5944
|
-
const unit = unitsByName.get(match[2]);
|
|
5945
|
-
if (unit === undefined)
|
|
5946
|
-
return invalid2(`unsupported unit ${JSON.stringify(match[2])}`);
|
|
5947
|
-
const value = scaleDecimal(match[1], unit.factor);
|
|
5948
|
-
if (value === undefined)
|
|
5949
|
-
return invalid2(`${JSON.stringify(input)} does not represent an integral number of bytes`);
|
|
5950
|
-
return make4(value);
|
|
5951
|
-
};
|
|
5952
|
-
var fromInputUnsafe2 = (input) => {
|
|
5953
|
-
switch (typeof input) {
|
|
5954
|
-
case "bigint":
|
|
5955
|
-
if (input < bigint03)
|
|
5956
|
-
return invalid2(`expected a non-negative bigint, received ${input}`);
|
|
5957
|
-
return make4(input);
|
|
5958
|
-
case "number":
|
|
5959
|
-
return fromNumber(input);
|
|
5960
|
-
case "string":
|
|
5961
|
-
return fromStringUnsafe(input);
|
|
5962
|
-
}
|
|
5963
|
-
return invalid2(`unsupported input ${input}`);
|
|
5964
|
-
};
|
|
5965
|
-
var bytes = (value) => typeof value === "bigint" ? fromInputUnsafe2(value) : fromNumber(value);
|
|
5966
|
-
|
|
5967
5823
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/encoding/Base64.js
|
|
5968
5824
|
var encode2 = (input) => encodeBytes(typeof input === "string" ? encoder2.encode(input) : input);
|
|
5969
5825
|
var decode = (str) => {
|
|
@@ -6129,48 +5985,6 @@ for (let i = 0;i < alphabet2.length; i++)
|
|
|
6129
5985
|
var decodeString = (str) => map5(decode2(str), (_) => decoder2.decode(_));
|
|
6130
5986
|
var decoder2 = /* @__PURE__ */ new TextDecoder;
|
|
6131
5987
|
|
|
6132
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
6133
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
6134
|
-
var value2 = (self) => {
|
|
6135
|
-
if (redactedRegistry.has(self)) {
|
|
6136
|
-
return redactedRegistry.get(self);
|
|
6137
|
-
} else {
|
|
6138
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
6139
|
-
}
|
|
6140
|
-
};
|
|
6141
|
-
|
|
6142
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
6143
|
-
var TypeId8 = "~effect/Redacted";
|
|
6144
|
-
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
6145
|
-
var make16 = (value, options) => {
|
|
6146
|
-
const self = Object.create(Proto2);
|
|
6147
|
-
if (options?.label) {
|
|
6148
|
-
self.label = options.label;
|
|
6149
|
-
}
|
|
6150
|
-
redactedRegistry.set(self, value);
|
|
6151
|
-
return self;
|
|
6152
|
-
};
|
|
6153
|
-
var Proto2 = {
|
|
6154
|
-
[TypeId8]: {
|
|
6155
|
-
_A: (_) => _
|
|
6156
|
-
},
|
|
6157
|
-
label: undefined,
|
|
6158
|
-
...PipeInspectableProto,
|
|
6159
|
-
toJSON() {
|
|
6160
|
-
return this.toString();
|
|
6161
|
-
},
|
|
6162
|
-
toString() {
|
|
6163
|
-
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
6164
|
-
},
|
|
6165
|
-
[symbol]() {
|
|
6166
|
-
return hash(redactedRegistry.get(this));
|
|
6167
|
-
},
|
|
6168
|
-
[symbol2](that) {
|
|
6169
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
6170
|
-
}
|
|
6171
|
-
};
|
|
6172
|
-
var value = value2;
|
|
6173
|
-
|
|
6174
5988
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
6175
5989
|
function resolve(ast) {
|
|
6176
5990
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -6202,16 +6016,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
6202
6016
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
6203
6017
|
|
|
6204
6018
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
6205
|
-
var
|
|
6019
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
6206
6020
|
function isIssue(u) {
|
|
6207
|
-
return hasProperty(u,
|
|
6021
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
6208
6022
|
}
|
|
6209
6023
|
function hasInput(issue) {
|
|
6210
6024
|
return Object.hasOwn(issue, "input");
|
|
6211
6025
|
}
|
|
6212
6026
|
|
|
6213
6027
|
class IssueNodeImpl {
|
|
6214
|
-
[
|
|
6028
|
+
[TypeId8] = TypeId8;
|
|
6215
6029
|
constructor(input, options) {
|
|
6216
6030
|
if (options?.reportInput === true && input !== missing) {
|
|
6217
6031
|
this.input = input;
|
|
@@ -6599,9 +6413,9 @@ function getContent(operation) {
|
|
|
6599
6413
|
}
|
|
6600
6414
|
|
|
6601
6415
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6602
|
-
var
|
|
6416
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6603
6417
|
var Transformation = class extends Class3 {
|
|
6604
|
-
[
|
|
6418
|
+
[TypeId9] = TypeId9;
|
|
6605
6419
|
_tag = "Transformation";
|
|
6606
6420
|
decode;
|
|
6607
6421
|
encode;
|
|
@@ -6615,7 +6429,7 @@ var Transformation = class extends Class3 {
|
|
|
6615
6429
|
}
|
|
6616
6430
|
};
|
|
6617
6431
|
function isTransformation(u) {
|
|
6618
|
-
return hasProperty(u,
|
|
6432
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6619
6433
|
}
|
|
6620
6434
|
var makeTransformation = (options) => {
|
|
6621
6435
|
if (isTransformation(options)) {
|
|
@@ -6735,10 +6549,10 @@ var Context = class {
|
|
|
6735
6549
|
this.annotations = annotations;
|
|
6736
6550
|
}
|
|
6737
6551
|
};
|
|
6738
|
-
var
|
|
6552
|
+
var TypeId10 = "~effect/Schema";
|
|
6739
6553
|
|
|
6740
6554
|
class ASTNodeImpl {
|
|
6741
|
-
[
|
|
6555
|
+
[TypeId10] = TypeId10;
|
|
6742
6556
|
annotations;
|
|
6743
6557
|
checks;
|
|
6744
6558
|
encoding;
|
|
@@ -8664,7 +8478,7 @@ function compile(ast, compile, compileField, base, specialize) {
|
|
|
8664
8478
|
}
|
|
8665
8479
|
|
|
8666
8480
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/compilerRegistry.js
|
|
8667
|
-
var
|
|
8481
|
+
var invalid2 = /* @__PURE__ */ Symbol();
|
|
8668
8482
|
var cache = /* @__PURE__ */ new WeakMap;
|
|
8669
8483
|
var compiler;
|
|
8670
8484
|
var compilerAdaptersEnabled = false;
|
|
@@ -8739,7 +8553,7 @@ function withDecode(fastDecode, decodeEffect) {
|
|
|
8739
8553
|
if (input !== missing) {
|
|
8740
8554
|
try {
|
|
8741
8555
|
const value = fastDecode(input, options);
|
|
8742
|
-
if (value !==
|
|
8556
|
+
if (value !== invalid2)
|
|
8743
8557
|
return value === input ? sameExit : succeed8(value);
|
|
8744
8558
|
} catch (error) {
|
|
8745
8559
|
return die3(error);
|
|
@@ -8789,7 +8603,7 @@ function makeOption(schema) {
|
|
|
8789
8603
|
return none();
|
|
8790
8604
|
};
|
|
8791
8605
|
}
|
|
8792
|
-
function
|
|
8606
|
+
function make4(schema) {
|
|
8793
8607
|
return makeConstructorSync(toType2(schema.ast));
|
|
8794
8608
|
}
|
|
8795
8609
|
function is2(schema) {
|
|
@@ -8936,7 +8750,7 @@ function constructSync(entry, input, options) {
|
|
|
8936
8750
|
} catch (error) {
|
|
8937
8751
|
throwConstructorDefect(error);
|
|
8938
8752
|
}
|
|
8939
|
-
if (output !==
|
|
8753
|
+
if (output !== invalid2 && output !== missing)
|
|
8940
8754
|
return output;
|
|
8941
8755
|
}
|
|
8942
8756
|
return runSync3(parserResult(entry.makeEffect(input, parseOptions), input), constructorDefectMessage);
|
|
@@ -8960,12 +8774,12 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8960
8774
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8961
8775
|
|
|
8962
8776
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8963
|
-
var
|
|
8777
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8964
8778
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8965
8779
|
var SchemaProto = {
|
|
8966
|
-
[
|
|
8780
|
+
[TypeId11]: TypeId11,
|
|
8967
8781
|
get make() {
|
|
8968
|
-
const value =
|
|
8782
|
+
const value = make4(this);
|
|
8969
8783
|
Object.defineProperty(this, "make", {
|
|
8970
8784
|
value,
|
|
8971
8785
|
enumerable: true
|
|
@@ -9001,10 +8815,10 @@ var SchemaProto = {
|
|
|
9001
8815
|
return this.rebuild(appendChecks(this.ast, checks));
|
|
9002
8816
|
},
|
|
9003
8817
|
rebuild(ast) {
|
|
9004
|
-
return
|
|
8818
|
+
return make5(ast, this[RebuildOptions]);
|
|
9005
8819
|
}
|
|
9006
8820
|
};
|
|
9007
|
-
function
|
|
8821
|
+
function make5(ast, options) {
|
|
9008
8822
|
function Schema() {}
|
|
9009
8823
|
const self = Object.setPrototypeOf(Schema, SchemaProto);
|
|
9010
8824
|
if (options && (Object.hasOwn(options, "name") || Object.hasOwn(options, "length") || Object.hasOwn(options, "__proto__"))) {
|
|
@@ -9131,7 +8945,7 @@ var OPEN_API_30_TO_2020_COLLISIONS = [...PRE_2020_TO_2020_COLLISIONS, "$comment"
|
|
|
9131
8945
|
|
|
9132
8946
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/toCodec.js
|
|
9133
8947
|
function toCodecJson2(schema) {
|
|
9134
|
-
return
|
|
8948
|
+
return make5(toCodecJsonAST(schema.ast), {
|
|
9135
8949
|
schema
|
|
9136
8950
|
});
|
|
9137
8951
|
}
|
|
@@ -9187,7 +9001,7 @@ function toCodecJsonASTStep(ast, recur) {
|
|
|
9187
9001
|
if (!isFunction(getLink)) {
|
|
9188
9002
|
return replaceEncoding(ast, [unknownToJson]);
|
|
9189
9003
|
}
|
|
9190
|
-
const typeParameters = ast.typeParameters.map((tp) =>
|
|
9004
|
+
const typeParameters = ast.typeParameters.map((tp) => make5(toEncoded(tp)));
|
|
9191
9005
|
const link = getLink(typeParameters);
|
|
9192
9006
|
return link === undefined ? ast : replaceEncoding(ast, [mapLink(link, recur)]);
|
|
9193
9007
|
}
|
|
@@ -9222,7 +9036,7 @@ function toCodecJsonASTStep(ast, recur) {
|
|
|
9222
9036
|
return ast;
|
|
9223
9037
|
}
|
|
9224
9038
|
function toCodecStringTree2(schema) {
|
|
9225
|
-
return
|
|
9039
|
+
return make5(toCodecStringTreeAST(schema.ast), {
|
|
9226
9040
|
schema
|
|
9227
9041
|
});
|
|
9228
9042
|
}
|
|
@@ -9242,7 +9056,7 @@ var toStringTreeReorder = /* @__PURE__ */ makeReorder((ast) => {
|
|
|
9242
9056
|
function toCodecStringTreeASTStep(ast, recur, onMissingAnnotation) {
|
|
9243
9057
|
switch (ast._tag) {
|
|
9244
9058
|
case "Declaration": {
|
|
9245
|
-
const typeParameters = ast.typeParameters.map((tp) =>
|
|
9059
|
+
const typeParameters = ast.typeParameters.map((tp) => make5(recur(toEncoded(tp))));
|
|
9246
9060
|
const getStringTreeLink = ast.annotations?.toCodecStringTree;
|
|
9247
9061
|
if (isFunction(getStringTreeLink)) {
|
|
9248
9062
|
const link = getStringTreeLink(typeParameters);
|
|
@@ -10436,7 +10250,7 @@ function recur(ast) {
|
|
|
10436
10250
|
const rest = ast.rest.map(recur);
|
|
10437
10251
|
const [head, ...tail] = rest;
|
|
10438
10252
|
const tailLength = tail.length;
|
|
10439
|
-
return
|
|
10253
|
+
return make14((a, b) => {
|
|
10440
10254
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
10441
10255
|
return false;
|
|
10442
10256
|
}
|
|
@@ -10471,7 +10285,7 @@ function recur(ast) {
|
|
|
10471
10285
|
}
|
|
10472
10286
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
10473
10287
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
10474
|
-
return
|
|
10288
|
+
return make14((a, b) => {
|
|
10475
10289
|
if (!isObject(a) || !isObject(b)) {
|
|
10476
10290
|
return false;
|
|
10477
10291
|
}
|
|
@@ -10509,7 +10323,7 @@ function recur(ast) {
|
|
|
10509
10323
|
const types = toType2(ast).types;
|
|
10510
10324
|
const index = getCandidateIndex(types);
|
|
10511
10325
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
10512
|
-
return
|
|
10326
|
+
return make14((a, b) => {
|
|
10513
10327
|
const candidates = index(a, false);
|
|
10514
10328
|
for (let i = 0;i < candidates.length; i++) {
|
|
10515
10329
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -10522,7 +10336,7 @@ function recur(ast) {
|
|
|
10522
10336
|
}
|
|
10523
10337
|
case "Suspend": {
|
|
10524
10338
|
let equivalence;
|
|
10525
|
-
return
|
|
10339
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
10526
10340
|
}
|
|
10527
10341
|
}
|
|
10528
10342
|
}
|
|
@@ -10620,7 +10434,7 @@ function isSchemaError(u) {
|
|
|
10620
10434
|
}
|
|
10621
10435
|
|
|
10622
10436
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
10623
|
-
var
|
|
10437
|
+
var TypeId12 = TypeId11;
|
|
10624
10438
|
function declareConstructor() {
|
|
10625
10439
|
return (typeParameters, run, annotations) => {
|
|
10626
10440
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -10731,9 +10545,9 @@ function encodeUnknownSync(schema, options) {
|
|
|
10731
10545
|
};
|
|
10732
10546
|
}
|
|
10733
10547
|
var encodeSync = encodeUnknownSync;
|
|
10734
|
-
var make17 =
|
|
10548
|
+
var make17 = make5;
|
|
10735
10549
|
function isSchema(u) {
|
|
10736
|
-
return hasProperty(u,
|
|
10550
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
10737
10551
|
}
|
|
10738
10552
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
10739
10553
|
schema
|
|
@@ -11633,7 +11447,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
11633
11447
|
}
|
|
11634
11448
|
});
|
|
11635
11449
|
}
|
|
11636
|
-
static [
|
|
11450
|
+
static [TypeId12] = TypeId12;
|
|
11637
11451
|
get [ClassTypeId]() {
|
|
11638
11452
|
return ClassTypeId;
|
|
11639
11453
|
}
|
|
@@ -11927,4 +11741,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
11927
11741
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
11928
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;
|
|
11929
11743
|
|
|
11930
|
-
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,
|
|
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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
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-
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-
|
|
15
|
+
} from "./chunk-zmqm4mrm.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,4 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
FileSystem,
|
|
4
|
+
Path,
|
|
5
|
+
optionalEnv,
|
|
6
|
+
tempDirectoryScoped
|
|
7
|
+
} from "./chunk-63cyj9dh.js";
|
|
2
8
|
import {
|
|
3
9
|
Reference,
|
|
4
10
|
TaggedError,
|
|
@@ -25,21 +31,15 @@ import {
|
|
|
25
31
|
isString2,
|
|
26
32
|
encodePrettyJsonString,
|
|
27
33
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
FileSystem,
|
|
31
|
-
Path,
|
|
32
|
-
optionalEnv,
|
|
33
|
-
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-z59pvcbk.js";
|
|
34
|
+
} from "./chunk-h2f26xbd.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-zmqm4mrm.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-9jffw2mk.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
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,
|
|
@@ -353,7 +353,7 @@ Items that ask for an action (answer, review, retry, decide, start) clear themse
|
|
|
353
353
|
|
|
354
354
|
Open an item to act on it without leaving the Inbox: answer the Question, decide the Proposal, retry the Run or start another Loop, open the ChangeRequest, triage the Task, change its state, assignee or priority, or reply.
|
|
355
355
|
|
|
356
|
-
Mark items read or unread, done, or snooze them until later; on a row that collapses several, each acts on all of them, and opening the row shows every Notification and action it holds. Hover or focus a row's button to see what it does and its key. A new Notification brings a done item back. Unsubscribe from a Task to stop hearing about it.
|
|
356
|
+
Mark items read or unread, done, or snooze them until later today, tomorrow, next week or a date and time you pick; on a row that collapses several, each acts on all of them, and opening the row shows every Notification and action it holds. Hover or focus a row's button to see what it does and its key. A new Notification brings a done item back. Unsubscribe from a Task to stop hearing about it.
|
|
357
357
|
|
|
358
358
|
From the keyboard: **J** and **K** move between items, **Enter** opens one and **Esc** closes it, **E** marks it done, **U** read or unread, **H** snoozes, and **Z** undoes the last done or snooze. With a Task open, **C** replies, **S**, **P** and **A** change its state, priority and assignee, and **R** starts a Run. **?** lists them all with the control that does the same.
|
|
359
359
|
|
|
@@ -2195,7 +2195,7 @@ var pathOfLink = (link) => {
|
|
|
2195
2195
|
return page === null ? link : page[1] || "index";
|
|
2196
2196
|
};
|
|
2197
2197
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2198
|
-
var pinnedLink2 = (link, version = "0.
|
|
2198
|
+
var pinnedLink2 = (link, version = "0.18.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2199
2199
|
var pageOf = (path) => path.split("#")[0];
|
|
2200
2200
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2201
2201
|
function excerpt(text, queryTerms) {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-h2f26xbd.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-63cyj9dh.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-zmqm4mrm.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-mqsxwm53.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* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|