@kitman-sh/cli 0.10.69 → 0.10.70
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-q9n4jkcp.js → chunk-1j1jh211.js} +8 -5
- package/dist/{chunk-tf5yxkpy.js → chunk-1rry0tsn.js} +60 -14
- package/dist/{chunk-rzr11xyn.js → chunk-1w81w56v.js} +2 -2
- package/dist/{chunk-gswz7ngm.js → chunk-2wkdq54x.js} +5 -5
- package/dist/{chunk-0ahahh0f.js → chunk-60333x3q.js} +5 -5
- package/dist/{chunk-j4pmjnyd.js → chunk-7jh6atr0.js} +19 -19
- package/dist/{chunk-20qadzgw.js → chunk-8ttdzwa3.js} +25 -25
- package/dist/{chunk-t0rnf6ch.js → chunk-8w7d269h.js} +4 -4
- package/dist/{chunk-9m14d9d8.js → chunk-9hr71e7c.js} +7 -7
- package/dist/{chunk-zdctyf0w.js → chunk-csbf77zs.js} +8 -8
- package/dist/{chunk-677etczq.js → chunk-d3ksv8y1.js} +28 -70
- package/dist/{chunk-jjeawksh.js → chunk-dena9bpd.js} +21 -21
- package/dist/{chunk-qdyqc4nz.js → chunk-dk0ftqwg.js} +17 -17
- package/dist/{chunk-kqcrxea1.js → chunk-e5dq8dbz.js} +23 -23
- package/dist/{chunk-drsawp1s.js → chunk-f8qqmcgy.js} +8 -8
- package/dist/{chunk-q26gt71y.js → chunk-fgecj3t0.js} +5 -5
- package/dist/{chunk-qpg9t7he.js → chunk-h0sw8tks.js} +7 -7
- package/dist/{chunk-k7mn104k.js → chunk-pq9bkyj6.js} +3 -3
- package/dist/{chunk-p23kedha.js → chunk-q3c7vmby.js} +1 -1
- package/dist/{chunk-0271bhj2.js → chunk-rm83dbpv.js} +2 -2
- package/dist/{chunk-wnwyp9qn.js → chunk-rrnee9mk.js} +1 -1
- package/dist/{chunk-h6360r1c.js → chunk-v01c0k6j.js} +1 -1
- package/dist/{chunk-9p6v3jd2.js → chunk-wtpwkjws.js} +4 -4
- package/dist/{chunk-n0pm4rtm.js → chunk-x7g0rzqj.js} +125 -107
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-1rry0tsn.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-x7g0rzqj.js";
|
|
16
|
+
import"./chunk-dk0ftqwg.js";
|
|
17
|
+
import"./chunk-d3ksv8y1.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
runnerRpcUrl2,
|
|
5
5
|
makeRunnerRpcClient2,
|
|
6
6
|
makeProgramRpcClient2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-h0sw8tks.js";
|
|
8
|
+
import"./chunk-fgecj3t0.js";
|
|
9
|
+
import"./chunk-x7g0rzqj.js";
|
|
10
|
+
import"./chunk-rrnee9mk.js";
|
|
11
|
+
import"./chunk-v01c0k6j.js";
|
|
12
|
+
import"./chunk-dk0ftqwg.js";
|
|
13
|
+
import"./chunk-d3ksv8y1.js";
|
|
14
14
|
export {
|
|
15
15
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
16
16
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -22,21 +22,21 @@ import {
|
|
|
22
22
|
NullOr,
|
|
23
23
|
Finite,
|
|
24
24
|
encodeUnknownJsonStringSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-d3ksv8y1.js";
|
|
26
26
|
import {
|
|
27
27
|
isNumber,
|
|
28
28
|
isJsonObject,
|
|
29
29
|
isString
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-v01c0k6j.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
32
|
+
make11,
|
|
33
33
|
runForEach,
|
|
34
34
|
compiled2
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-dk0ftqwg.js";
|
|
36
36
|
import {
|
|
37
37
|
ChildProcessSpawner,
|
|
38
|
-
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
make3
|
|
39
|
+
} from "./chunk-1rry0tsn.js";
|
|
40
40
|
|
|
41
41
|
// packages/agent-runtime/src/opencode-store.ts
|
|
42
42
|
import { lstatSync, readFileSync, realpathSync } from "fs";
|
|
@@ -169,8 +169,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
169
169
|
var isolatedRead = (store, name, input) => gen(function* () {
|
|
170
170
|
const spawner = yield* ChildProcessSpawner;
|
|
171
171
|
const [command, ...args] = opencodeReaderCommand();
|
|
172
|
-
const handle = yield* spawner.spawn(
|
|
173
|
-
stdin:
|
|
172
|
+
const handle = yield* spawner.spawn(make3(command, args, {
|
|
173
|
+
stdin: make11(new TextEncoder().encode(encodeUnknownJsonStringSync({ store, name, input }))),
|
|
174
174
|
stderr: "ignore",
|
|
175
175
|
extendEnv: false,
|
|
176
176
|
env: {},
|
|
@@ -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++) {
|
|
@@ -1578,7 +1578,7 @@ var ServiceProto = {
|
|
|
1578
1578
|
return self;
|
|
1579
1579
|
},
|
|
1580
1580
|
context(self) {
|
|
1581
|
-
return
|
|
1581
|
+
return make15(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 make15 = (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, make15(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 make16 = () => 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(make15(arguments[0], resource));
|
|
5271
5271
|
}
|
|
5272
|
-
return succeedContext(
|
|
5272
|
+
return succeedContext(make15(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) => make15(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,48 +5857,6 @@ 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
|
-
|
|
5902
5860
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5903
5861
|
function resolve(ast) {
|
|
5904
5862
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5922,16 +5880,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5922
5880
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5923
5881
|
|
|
5924
5882
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5925
|
-
var
|
|
5883
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
5926
5884
|
function isIssue(u) {
|
|
5927
|
-
return hasProperty(u,
|
|
5885
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
5928
5886
|
}
|
|
5929
5887
|
function hasInput(issue) {
|
|
5930
5888
|
return Object.hasOwn(issue, "input");
|
|
5931
5889
|
}
|
|
5932
5890
|
|
|
5933
5891
|
class IssueNodeImpl {
|
|
5934
|
-
[
|
|
5892
|
+
[TypeId8] = TypeId8;
|
|
5935
5893
|
constructor(input, options) {
|
|
5936
5894
|
if (options?.reportInput === true && input !== missing) {
|
|
5937
5895
|
this.input = input;
|
|
@@ -6305,9 +6263,9 @@ function setContent(operation, content) {
|
|
|
6305
6263
|
}
|
|
6306
6264
|
|
|
6307
6265
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6308
|
-
var
|
|
6266
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6309
6267
|
var Transformation = class extends Class3 {
|
|
6310
|
-
[
|
|
6268
|
+
[TypeId9] = TypeId9;
|
|
6311
6269
|
_tag = "Transformation";
|
|
6312
6270
|
decode;
|
|
6313
6271
|
encode;
|
|
@@ -6321,7 +6279,7 @@ var Transformation = class extends Class3 {
|
|
|
6321
6279
|
}
|
|
6322
6280
|
};
|
|
6323
6281
|
function isTransformation(u) {
|
|
6324
|
-
return hasProperty(u,
|
|
6282
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6325
6283
|
}
|
|
6326
6284
|
var makeTransformation = (options) => {
|
|
6327
6285
|
if (isTransformation(options)) {
|
|
@@ -6441,10 +6399,10 @@ var Context = class {
|
|
|
6441
6399
|
this.annotations = annotations;
|
|
6442
6400
|
}
|
|
6443
6401
|
};
|
|
6444
|
-
var
|
|
6402
|
+
var TypeId10 = "~effect/Schema";
|
|
6445
6403
|
|
|
6446
6404
|
class ASTNodeImpl {
|
|
6447
|
-
[
|
|
6405
|
+
[TypeId10] = TypeId10;
|
|
6448
6406
|
annotations;
|
|
6449
6407
|
checks;
|
|
6450
6408
|
encoding;
|
|
@@ -8659,10 +8617,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8659
8617
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8660
8618
|
|
|
8661
8619
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8662
|
-
var
|
|
8620
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8663
8621
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8664
8622
|
var SchemaProto = {
|
|
8665
|
-
[
|
|
8623
|
+
[TypeId11]: TypeId11,
|
|
8666
8624
|
get make() {
|
|
8667
8625
|
const value = make4(this);
|
|
8668
8626
|
Object.defineProperty(this, "make", {
|
|
@@ -8923,7 +8881,7 @@ function recur(ast) {
|
|
|
8923
8881
|
const rest = ast.rest.map(recur);
|
|
8924
8882
|
const [head, ...tail] = rest;
|
|
8925
8883
|
const tailLength = tail.length;
|
|
8926
|
-
return
|
|
8884
|
+
return make14((a, b) => {
|
|
8927
8885
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8928
8886
|
return false;
|
|
8929
8887
|
}
|
|
@@ -8958,7 +8916,7 @@ function recur(ast) {
|
|
|
8958
8916
|
}
|
|
8959
8917
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8960
8918
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8961
|
-
return
|
|
8919
|
+
return make14((a, b) => {
|
|
8962
8920
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8963
8921
|
return false;
|
|
8964
8922
|
}
|
|
@@ -8996,7 +8954,7 @@ function recur(ast) {
|
|
|
8996
8954
|
const types = toType2(ast).types;
|
|
8997
8955
|
const index = getCandidateIndex(types);
|
|
8998
8956
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8999
|
-
return
|
|
8957
|
+
return make14((a, b) => {
|
|
9000
8958
|
const candidates = index(a, false);
|
|
9001
8959
|
for (let i = 0;i < candidates.length; i++) {
|
|
9002
8960
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -9009,7 +8967,7 @@ function recur(ast) {
|
|
|
9009
8967
|
}
|
|
9010
8968
|
case "Suspend": {
|
|
9011
8969
|
let equivalence;
|
|
9012
|
-
return
|
|
8970
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
9013
8971
|
}
|
|
9014
8972
|
}
|
|
9015
8973
|
}
|
|
@@ -9107,7 +9065,7 @@ function isSchemaError(u) {
|
|
|
9107
9065
|
}
|
|
9108
9066
|
|
|
9109
9067
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9110
|
-
var
|
|
9068
|
+
var TypeId12 = TypeId11;
|
|
9111
9069
|
function declareConstructor() {
|
|
9112
9070
|
return (typeParameters, run, annotations) => {
|
|
9113
9071
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9220,7 +9178,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9220
9178
|
var encodeSync = encodeUnknownSync;
|
|
9221
9179
|
var make17 = make5;
|
|
9222
9180
|
function isSchema(u) {
|
|
9223
|
-
return hasProperty(u,
|
|
9181
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9224
9182
|
}
|
|
9225
9183
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9226
9184
|
schema
|
|
@@ -10014,7 +9972,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10014
9972
|
}
|
|
10015
9973
|
});
|
|
10016
9974
|
}
|
|
10017
|
-
static [
|
|
9975
|
+
static [TypeId12] = TypeId12;
|
|
10018
9976
|
get [ClassTypeId]() {
|
|
10019
9977
|
return ClassTypeId;
|
|
10020
9978
|
}
|
|
@@ -10163,4 +10121,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10163
10121
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10164
10122
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10165
10123
|
|
|
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,
|
|
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, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, Service2, makeUnsafe4, empty3, make15, 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, 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, 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, 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 };
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getOrUndefined,
|
|
7
7
|
Reference,
|
|
8
8
|
TaggedError,
|
|
9
|
-
|
|
9
|
+
make16,
|
|
10
10
|
_await,
|
|
11
11
|
fail5,
|
|
12
12
|
succeed5,
|
|
@@ -85,7 +85,7 @@ import {
|
|
|
85
85
|
decodeJsonString,
|
|
86
86
|
encodeJsonStringSync,
|
|
87
87
|
encodePrettyJsonString
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-d3ksv8y1.js";
|
|
89
89
|
import {
|
|
90
90
|
tap,
|
|
91
91
|
mapError,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
withDefault,
|
|
98
98
|
option,
|
|
99
99
|
String2
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-dk0ftqwg.js";
|
|
101
101
|
import {
|
|
102
102
|
currentTimeMillis,
|
|
103
103
|
SecureRandom,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
digestSha256,
|
|
136
136
|
sha256Hasher,
|
|
137
137
|
raw,
|
|
138
|
-
|
|
138
|
+
make5,
|
|
139
139
|
get,
|
|
140
140
|
put,
|
|
141
141
|
HttpClient,
|
|
@@ -197,10 +197,10 @@ import {
|
|
|
197
197
|
harnessNames,
|
|
198
198
|
herdrRunnerCapabilities2,
|
|
199
199
|
declaredChecks
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-x7g0rzqj.js";
|
|
201
201
|
import {
|
|
202
202
|
Id
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-rrnee9mk.js";
|
|
204
204
|
import {
|
|
205
205
|
toJsonValue,
|
|
206
206
|
isOneOf,
|
|
@@ -210,11 +210,11 @@ import {
|
|
|
210
210
|
isObject,
|
|
211
211
|
isJsonObject,
|
|
212
212
|
isString
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-v01c0k6j.js";
|
|
214
214
|
import {
|
|
215
215
|
ChildProcessSpawner,
|
|
216
|
-
|
|
217
|
-
} from "./chunk-
|
|
216
|
+
make3
|
|
217
|
+
} from "./chunk-1rry0tsn.js";
|
|
218
218
|
|
|
219
219
|
// apps/cli/src/cli-error.ts
|
|
220
220
|
function cliErrorCode(error, status) {
|
|
@@ -504,10 +504,10 @@ var checkDockerImageSetting = pinnedImage;
|
|
|
504
504
|
var checkRegistryImageSetting = pinnedImage;
|
|
505
505
|
var herdrCoreSession = (runnerId, personal) => personal ? undefined : `kitman-${sha2562(runnerId).slice(0, 16)}`;
|
|
506
506
|
var OpenHerdrCore = Reference("kitman/cli/OpenHerdrCore", {
|
|
507
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
507
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-8w7d269h.js")), ({ HerdrCore, herdrCoreLayer }) => provide3(service(HerdrCore), herdrCoreLayer(options)))
|
|
508
508
|
});
|
|
509
509
|
var UpdateHerdrCore = Reference("kitman/cli/UpdateHerdrCore", {
|
|
510
|
-
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-
|
|
510
|
+
defaultValue: () => (options) => flatMap3(promise(() => import("./chunk-8w7d269h.js")), (module) => module.updateHerdrCore(options))
|
|
511
511
|
});
|
|
512
512
|
var herdrCoreMissing = (error) => {
|
|
513
513
|
if (isTagged(error, "HerdrCoreMissing"))
|
|
@@ -733,7 +733,7 @@ var syncTargets = (harness) => gen(function* () {
|
|
|
733
733
|
});
|
|
734
734
|
var syncKits = (input) => gen(function* () {
|
|
735
735
|
const fs = yield* FileSystem;
|
|
736
|
-
const { syncKitSetup } = yield* promise(() => import("./chunk-
|
|
736
|
+
const { syncKitSetup } = yield* promise(() => import("./chunk-f8qqmcgy.js"));
|
|
737
737
|
const harnesses = yield* syncTargets(input.harness);
|
|
738
738
|
const chain = yield* input.client.getKitChain(input.workspaceId);
|
|
739
739
|
for (const { name, problem } of chain.skipped)
|
|
@@ -1249,7 +1249,7 @@ var ServiceManager = Reference("kitman/cli/ServiceManager", {
|
|
|
1249
1249
|
run: (command, args) => runCommand2(command, args),
|
|
1250
1250
|
attach: (command, args) => gen(function* () {
|
|
1251
1251
|
const spawner = yield* ChildProcessSpawner;
|
|
1252
|
-
const handle = yield* spawner.spawn(
|
|
1252
|
+
const handle = yield* spawner.spawn(make3(command, args, { stdin: "inherit", stdout: "inherit", stderr: "inherit" }));
|
|
1253
1253
|
const exitCode = yield* handle.exitCode;
|
|
1254
1254
|
if (exitCode !== 0)
|
|
1255
1255
|
return yield* new CommandFailed2({ command, reason: `exit code ${exitCode}` });
|
|
@@ -1651,7 +1651,7 @@ var package_default = {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
1653
|
// apps/cli/src/scaffold.ts
|
|
1654
|
-
var cliVersion = "0.10.
|
|
1654
|
+
var cliVersion = "0.10.70";
|
|
1655
1655
|
var packageJson = (name, scaffold) => `${JSON.stringify({
|
|
1656
1656
|
name,
|
|
1657
1657
|
private: true,
|
|
@@ -1901,7 +1901,7 @@ var Usage = [
|
|
|
1901
1901
|
"Every run, loop, agent, verify, constraint, secret, claim, deploy, dev and kit command takes --json."
|
|
1902
1902
|
].join(`
|
|
1903
1903
|
`);
|
|
1904
|
-
var agentRuntime = promise(() => import("./chunk-
|
|
1904
|
+
var agentRuntime = promise(() => import("./chunk-e5dq8dbz.js"));
|
|
1905
1905
|
var TuiLauncher = Reference("kitman/cli/TuiLauncher", {
|
|
1906
1906
|
defaultValue: () => gen(function* () {
|
|
1907
1907
|
const tui = yield* tryPromise({
|
|
@@ -2756,7 +2756,7 @@ var SandboxHostProbe = Reference("kitman/cli/SandboxHostProbe", {
|
|
|
2756
2756
|
});
|
|
2757
2757
|
var OpenRunnerRpc = Reference("kitman/cli/OpenRunnerRpc", {
|
|
2758
2758
|
defaultValue: () => (options) => gen(function* () {
|
|
2759
|
-
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-
|
|
2759
|
+
const { makeRunnerRpcClient, runnerRpcUrl, runnerWebSocketProtocol } = yield* promise(() => import("./chunk-9hr71e7c.js"));
|
|
2760
2760
|
return yield* makeRunnerRpcClient({
|
|
2761
2761
|
runnerId: options.runnerId,
|
|
2762
2762
|
bearer: options.bearer,
|
|
@@ -2951,7 +2951,7 @@ function startCanonicalHerdrRunnerCommand(input) {
|
|
|
2951
2951
|
});
|
|
2952
2952
|
const checkouts = runCheckouts(path.join(runnerRootDir, ".kitman"), rpc.gitCredential);
|
|
2953
2953
|
const platform = yield* context();
|
|
2954
|
-
const updated = yield*
|
|
2954
|
+
const updated = yield* make16();
|
|
2955
2955
|
const scope = yield* scope2;
|
|
2956
2956
|
yield* listenForSignals({
|
|
2957
2957
|
rpc,
|
|
@@ -3140,7 +3140,7 @@ function mcpCommand(args) {
|
|
|
3140
3140
|
if (command.action === "run") {
|
|
3141
3141
|
if (command.args.length > 0)
|
|
3142
3142
|
return yield* new CliError({ message: `Unknown command: ${args.join(" ")}` });
|
|
3143
|
-
const { runMcpServerCommand } = yield* promise(() => import("./chunk-
|
|
3143
|
+
const { runMcpServerCommand } = yield* promise(() => import("./chunk-8ttdzwa3.js"));
|
|
3144
3144
|
return yield* runMcpServerCommand({ flags: command.flags });
|
|
3145
3145
|
}
|
|
3146
3146
|
if (command.action !== "setup")
|
|
@@ -4342,9 +4342,9 @@ function claimCommand(args) {
|
|
|
4342
4342
|
}
|
|
4343
4343
|
});
|
|
4344
4344
|
}
|
|
4345
|
-
var KitWriter = map8(promise(() => import("./chunk-
|
|
4345
|
+
var KitWriter = map8(promise(() => import("./chunk-7jh6atr0.js")), (build) => build.writeKit);
|
|
4346
4346
|
var KitBuilder = Reference("kitman/cli/KitBuilder", {
|
|
4347
|
-
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-
|
|
4347
|
+
defaultValue: () => (directory) => flatMap3(promise(() => import("./chunk-7jh6atr0.js")), (build) => build.buildKit(directory))
|
|
4348
4348
|
});
|
|
4349
4349
|
var uploadKit = (client, workspaceId, built) => gen(function* () {
|
|
4350
4350
|
yield* client.uploadKitBundle(workspaceId, built.digest, { bundle: encode2(built.bundle) });
|
|
@@ -5102,7 +5102,7 @@ function downloadPresignedAsset(download, outputPath) {
|
|
|
5102
5102
|
return gen(function* () {
|
|
5103
5103
|
const fs = yield* FileSystem;
|
|
5104
5104
|
const failed = (cause) => new CliError({ message: `Asset download failed: ${String(cause)}` });
|
|
5105
|
-
const response = yield* send(
|
|
5105
|
+
const response = yield* send(make5(download.method)(download.url), failed);
|
|
5106
5106
|
if (response.status < 200 || response.status >= 300)
|
|
5107
5107
|
return yield* new CliError({ message: `Asset download failed with ${response.status}` });
|
|
5108
5108
|
const body = yield* response.arrayBuffer.pipe(mapError2((error) => failed(error.message)));
|
|
@@ -199,7 +199,7 @@ import {
|
|
|
199
199
|
String4,
|
|
200
200
|
toCodecStringTree,
|
|
201
201
|
encodeUnknownJsonStringSync
|
|
202
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-d3ksv8y1.js";
|
|
203
203
|
|
|
204
204
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Iterable.js
|
|
205
205
|
var headUnsafe = (self) => {
|
|
@@ -1127,7 +1127,7 @@ var MutableRefProto = {
|
|
|
1127
1127
|
};
|
|
1128
1128
|
}
|
|
1129
1129
|
};
|
|
1130
|
-
var
|
|
1130
|
+
var make8 = (value) => {
|
|
1131
1131
|
const ref = Object.create(MutableRefProto);
|
|
1132
1132
|
ref.current = value;
|
|
1133
1133
|
return ref;
|
|
@@ -1288,7 +1288,7 @@ var remove = (self, value) => filter2(self, (v) => v !== value);
|
|
|
1288
1288
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/PubSub.js
|
|
1289
1289
|
var TypeId3 = "~effect/PubSub";
|
|
1290
1290
|
var SubscriptionTypeId = "~effect/PubSub/Subscription";
|
|
1291
|
-
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false),
|
|
1291
|
+
var make5 = (options) => sync2(() => makePubSubUnsafe(options.atomicPubSub(), new Map, makeUnsafe6(), makeUnsafe2(false), make8(false), options.strategy(), make8(none())));
|
|
1292
1292
|
var unbounded = (options) => make5({
|
|
1293
1293
|
atomicPubSub: () => makeAtomicUnbounded(options),
|
|
1294
1294
|
strategy: () => new DroppingStrategy
|
|
@@ -1383,7 +1383,7 @@ var removeSubscribers = (subscribers, subscription, pollers) => {
|
|
|
1383
1383
|
subscribers.delete(subscription);
|
|
1384
1384
|
}
|
|
1385
1385
|
};
|
|
1386
|
-
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false),
|
|
1386
|
+
var makeSubscriptionUnsafe = (pubsub, subscribers, strategy, ended) => new SubscriptionImpl(pubsub, subscribers, pubsub.subscribe(), make4(), makeUnsafe2(false), make8(false), strategy, pubsub.replayWindow(), ended);
|
|
1387
1387
|
class UnboundedPubSub {
|
|
1388
1388
|
publisherHead = {
|
|
1389
1389
|
value: AbsentValue,
|
|
@@ -1800,7 +1800,7 @@ var QueueProto = {
|
|
|
1800
1800
|
};
|
|
1801
1801
|
}
|
|
1802
1802
|
};
|
|
1803
|
-
var
|
|
1803
|
+
var make9 = (options) => withFiber((fiber) => {
|
|
1804
1804
|
const self = Object.create(QueueProto);
|
|
1805
1805
|
self.dispatcher = fiber.currentDispatcher;
|
|
1806
1806
|
self.capacity = options?.capacity ?? Number.POSITIVE_INFINITY;
|
|
@@ -1815,14 +1815,14 @@ var make8 = (options) => withFiber((fiber) => {
|
|
|
1815
1815
|
};
|
|
1816
1816
|
return succeed2(self);
|
|
1817
1817
|
});
|
|
1818
|
-
var bounded = (capacity) =>
|
|
1818
|
+
var bounded = (capacity) => make9({
|
|
1819
1819
|
capacity
|
|
1820
1820
|
});
|
|
1821
|
-
var sliding = (capacity) =>
|
|
1821
|
+
var sliding = (capacity) => make9({
|
|
1822
1822
|
capacity,
|
|
1823
1823
|
strategy: "sliding"
|
|
1824
1824
|
});
|
|
1825
|
-
var unbounded2 = () =>
|
|
1825
|
+
var unbounded2 = () => make9();
|
|
1826
1826
|
var offer = /* @__PURE__ */ dual(2, (self, message) => suspend2(() => offerUnsafe(self, message) ? exitTrue : self.state._tag === "Open" && self.strategy === "suspend" ? offerOrWait(self, message) : exitFalse));
|
|
1827
1827
|
var offerUnsafe = (self, message) => {
|
|
1828
1828
|
if (self.state._tag !== "Open") {
|
|
@@ -2248,7 +2248,7 @@ var fromTransformBracket = (f) => fromTransform(fnUntraced(function* (upstream,
|
|
|
2248
2248
|
return onError(pull, onCause);
|
|
2249
2249
|
}));
|
|
2250
2250
|
var toTransform = (channel) => channel.transform;
|
|
2251
|
-
var asyncQueue = (scope, f, options) =>
|
|
2251
|
+
var asyncQueue = (scope, f, options) => make9({
|
|
2252
2252
|
capacity: options?.bufferSize,
|
|
2253
2253
|
strategy: options?.strategy
|
|
2254
2254
|
}).pipe(tap2((queue) => addFinalizer(scope, shutdown(queue))), tap2((queue) => provide(f(queue), scope).pipe(catchCause2((cause) => failCause(queue, cause)), forkIn(scope, {
|
|
@@ -2289,7 +2289,7 @@ var fromReadableStream2 = (options) => fromTransform((_, scope) => readableStrea
|
|
|
2289
2289
|
}));
|
|
2290
2290
|
var readableStreamToPullUnsafe = (options) => {
|
|
2291
2291
|
const reader = options.readable.getReader();
|
|
2292
|
-
const exit = options.exit ??
|
|
2292
|
+
const exit = options.exit ?? make8(undefined);
|
|
2293
2293
|
const pull = suspend3(() => {
|
|
2294
2294
|
if (exit.current)
|
|
2295
2295
|
return exit.current;
|
|
@@ -2903,7 +2903,7 @@ var release = (self, state) => {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
|
|
2905
2905
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/RcRef.js
|
|
2906
|
-
var
|
|
2906
|
+
var make10 = make6;
|
|
2907
2907
|
var get3 = get2;
|
|
2908
2908
|
|
|
2909
2909
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Stream.js
|
|
@@ -2915,7 +2915,7 @@ var transformPull2 = (self, f) => fromChannel2(fromTransform((_, scope) => flatM
|
|
|
2915
2915
|
var toChannel2 = (stream) => stream.channel;
|
|
2916
2916
|
var callback = (f, options) => fromChannel2(callbackArray(f, options));
|
|
2917
2917
|
var empty2 = /* @__PURE__ */ fromChannel2(empty);
|
|
2918
|
-
var
|
|
2918
|
+
var make11 = (...values) => fromArray2(values);
|
|
2919
2919
|
var suspend = (stream) => {
|
|
2920
2920
|
const suspended = fromChannel2(suspend4(() => stream().channel));
|
|
2921
2921
|
suspendedStreams.set(suspended, stream);
|
|
@@ -3080,7 +3080,7 @@ var toReadableStreamEffect = /* @__PURE__ */ dual((args) => isStream(args[0]), (
|
|
|
3080
3080
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/FileSystem.js
|
|
3081
3081
|
var TypeId10 = "~effect/FileSystem";
|
|
3082
3082
|
var FileSystem = /* @__PURE__ */ Service2("effect/FileSystem");
|
|
3083
|
-
var
|
|
3083
|
+
var make12 = (impl) => FileSystem.of({
|
|
3084
3084
|
...impl,
|
|
3085
3085
|
[TypeId10]: TypeId10,
|
|
3086
3086
|
glob: make2(impl),
|
|
@@ -3140,7 +3140,7 @@ class WatchBackend extends (/* @__PURE__ */ Service2()("effect/FileSystem/WatchB
|
|
|
3140
3140
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Path.js
|
|
3141
3141
|
var TypeId11 = "~effect/Path";
|
|
3142
3142
|
var Path = /* @__PURE__ */ Service2("effect/Path");
|
|
3143
|
-
var
|
|
3143
|
+
var make13 = (impl) => Path.of({
|
|
3144
3144
|
...impl,
|
|
3145
3145
|
[TypeId11]: TypeId11,
|
|
3146
3146
|
resolveWithin(root, input) {
|
|
@@ -3215,7 +3215,7 @@ function makeProvider(load, mapInput) {
|
|
|
3215
3215
|
function makeSource(get, transform) {
|
|
3216
3216
|
return makeProvider((path) => get(transform(path)), (f) => makeSource(get, (path) => f(transform(path))));
|
|
3217
3217
|
}
|
|
3218
|
-
function
|
|
3218
|
+
function make7(get) {
|
|
3219
3219
|
return makeSource(get, identityPath);
|
|
3220
3220
|
}
|
|
3221
3221
|
function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
@@ -3224,7 +3224,7 @@ function emptyStringAsMissing(value, preserveEmptyStrings) {
|
|
|
3224
3224
|
function fromEnvRecord(env, options) {
|
|
3225
3225
|
const preserveEmptyStrings = options?.preserveEmptyStrings === true;
|
|
3226
3226
|
const trie = buildEnvTrie(env);
|
|
3227
|
-
return
|
|
3227
|
+
return make7((path) => succeed6(nodeAtEnv(trie, env, path, preserveEmptyStrings)));
|
|
3228
3228
|
}
|
|
3229
3229
|
function fromEnv(options) {
|
|
3230
3230
|
const env = options?.env ?? {
|
|
@@ -3552,4 +3552,4 @@ var srtArgv2 = (srtCommand, settingsFile, argv) => [
|
|
|
3552
3552
|
...argv
|
|
3553
3553
|
];
|
|
3554
3554
|
|
|
3555
|
-
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2,
|
|
3555
|
+
export { map, makeEquivalence, bytes, join, interrupt, getCurrent, BadArgument, systemError, badArgument, makeUnsafe2, make8, unbounded, publishUnsafe, make9, bounded, sliding, unbounded2, offer, offerUnsafe, offerAll, fail, failCause, failCauseUnsafe, end, endUnsafe, shutdownUnsafe, take, poll, makeUnsafe3, fromTransform, mapDone, isSink, fromChannel, drain, make10, get3, isStream, fromChannel2, callback, empty2, make11, suspend, fail2, fromQueue, fromPubSub, fromReadableStream, unwrap, map2, tap, drainFork, concat, merge2, filter, catchCause, tapError, mapError, transduce, decodeText, encodeText, splitLines, interruptWhen, ensuring, provideContext, run, runCollect, runFold, runHead, runForEach, runDrain, mkString, mkArrayBuffer, toReadableStreamEffect, FileSystem, make12, FileTypeId, WatchBackend, Path, make13, embeddedFile, extractEmbeddedFile, map3, all, withDefault, option, String2, optionalEnv, operatorConfigHome, harnessesUnsupportedInSrt2, compiled2, pinnedSrtCommand2, pinnedSrtStepCommand2, runSrtCli2, kitmanCacheDirectory2, srtSettings2, srtCacheEnvironment2, srtInheritedEnv2, inheritedEnvironment2, withOnlyEnvironment2, writeSrtSettings2, srtStepArgv2, srtArgv2 };
|