@kitman-sh/cli 0.52.0 → 0.54.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-h5ydhdhx.js → chunk-0my9yc76.js} +72 -72
- package/dist/{chunk-kt26vpwf.js → chunk-0yqsrr9j.js} +9 -9
- package/dist/{chunk-eqh0h088.js → chunk-176b6p9g.js} +117 -42
- package/dist/{chunk-wb04fv2s.js → chunk-47ftjd7j.js} +50 -32
- package/dist/{chunk-qsbq9gvr.js → chunk-7eqzzcvj.js} +200 -347
- package/dist/{chunk-mmt6xq48.js → chunk-b0zap0sc.js} +2 -2
- package/dist/{chunk-2t1hcdeq.js → chunk-ctrk0mrt.js} +20 -20
- package/dist/{chunk-zb4t1yrt.js → chunk-e4ced6vj.js} +102 -60
- package/dist/{chunk-bhz25x76.js → chunk-fd9cfazr.js} +3 -3
- package/dist/{chunk-xbqd3kqc.js → chunk-h52fkf0n.js} +19 -19
- package/dist/{chunk-5yygjn0k.js → chunk-hnfq9egr.js} +1 -1
- package/dist/{chunk-tqspx38s.js → chunk-hs9frges.js} +2 -2
- package/dist/{chunk-bj0zchck.js → chunk-jz2b3htb.js} +193 -35
- package/dist/{chunk-q2z8rct0.js → chunk-keveyqbv.js} +4 -4
- package/dist/{chunk-a40yta1r.js → chunk-kpgkhx9j.js} +3 -3
- package/dist/{chunk-trtgab3h.js → chunk-p77428sa.js} +11 -19
- package/dist/{chunk-tfznw549.js → chunk-q22ar0q6.js} +2 -2
- package/dist/{chunk-axfp5tzk.js → chunk-sygnhza2.js} +10 -10
- package/dist/{chunk-my9db578.js → chunk-t94stfev.js} +9 -9
- package/dist/{chunk-84qb67e2.js → chunk-wsm4adrn.js} +1 -1
- package/dist/{chunk-chbdcf34.js → chunk-xfhrsdc6.js} +17 -13
- package/dist/{chunk-qjfzcrv5.js → chunk-xs1cdxfn.js} +4 -4
- package/dist/{chunk-wxg9k10v.js → chunk-xwte7af6.js} +1 -1
- package/dist/{chunk-pppryg54.js → chunk-yn5c3tzd.js} +12 -12
- package/dist/{chunk-2nq80r46.js → chunk-z1d5jx6m.js} +14 -60
- package/dist/{chunk-9hde8p6b.js → chunk-zs1maxqg.js} +6 -6
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
writeSrtSettings2,
|
|
16
16
|
srtStepArgv2,
|
|
17
17
|
srtArgv2
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-jz2b3htb.js";
|
|
19
|
+
import"./chunk-e4ced6vj.js";
|
|
20
20
|
export {
|
|
21
21
|
compiled2 as compiled,
|
|
22
22
|
harnessesUnsupportedInDocker2 as harnessesUnsupportedInDocker,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
add,
|
|
13
13
|
getOrUndefinedUnsafe,
|
|
14
14
|
getUnsafe,
|
|
15
|
-
|
|
15
|
+
get4,
|
|
16
16
|
Reference,
|
|
17
17
|
toMillis,
|
|
18
18
|
isSuccess,
|
|
@@ -96,7 +96,20 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-e4ced6vj.js";
|
|
100
|
+
import {
|
|
101
|
+
Clock,
|
|
102
|
+
interrupt,
|
|
103
|
+
getCurrent,
|
|
104
|
+
makeUnsafe2,
|
|
105
|
+
bounded,
|
|
106
|
+
offerAll,
|
|
107
|
+
failCause,
|
|
108
|
+
end,
|
|
109
|
+
shutdownUnsafe,
|
|
110
|
+
fromQueue,
|
|
111
|
+
unwrap
|
|
112
|
+
} from "./chunk-jz2b3htb.js";
|
|
100
113
|
import {
|
|
101
114
|
empty,
|
|
102
115
|
fromInput,
|
|
@@ -110,20 +123,7 @@ import {
|
|
|
110
123
|
ParseOptions,
|
|
111
124
|
RpcClientDefect,
|
|
112
125
|
RpcClientError
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import {
|
|
115
|
-
Clock,
|
|
116
|
-
interrupt,
|
|
117
|
-
getCurrent,
|
|
118
|
-
makeUnsafe2,
|
|
119
|
-
bounded,
|
|
120
|
-
offerAll,
|
|
121
|
-
failCause,
|
|
122
|
-
end,
|
|
123
|
-
shutdownUnsafe,
|
|
124
|
-
fromQueue,
|
|
125
|
-
unwrap
|
|
126
|
-
} from "./chunk-bj0zchck.js";
|
|
126
|
+
} from "./chunk-7eqzzcvj.js";
|
|
127
127
|
|
|
128
128
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/workers/Transferable.js
|
|
129
129
|
class Collector extends (/* @__PURE__ */ Service2()("effect/workers/Transferable/Collector")) {
|
|
@@ -237,7 +237,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
237
237
|
const disableTracing = options?.disableTracing ?? false;
|
|
238
238
|
const generateRequestId = options?.generateRequestId ?? (() => requestIdCounter++);
|
|
239
239
|
const services = yield* context();
|
|
240
|
-
const scope =
|
|
240
|
+
const scope = get4(services, Scope);
|
|
241
241
|
const entries = new Map;
|
|
242
242
|
let isShutdown = false;
|
|
243
243
|
yield* addFinalizer(scope, withFiber2((parent) => {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make3 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -643,7 +643,7 @@ var makeRpcSchemas = (codecFor) => {
|
|
|
643
643
|
return entry;
|
|
644
644
|
}
|
|
645
645
|
const streamSchemas = getStreamSchemas(rpc.successSchema);
|
|
646
|
-
const parseOptions =
|
|
646
|
+
const parseOptions = get4(rpc.annotations, ParseOptions);
|
|
647
647
|
const exitSchema2 = exitSchema(rpc);
|
|
648
648
|
let decodeDiscardExit;
|
|
649
649
|
entry = {
|
|
@@ -829,4 +829,4 @@ var layerProtocolSocket = (options) => effect(Protocol)(makeProtocolSocket(optio
|
|
|
829
829
|
class ConnectionHooks extends (/* @__PURE__ */ Service2()("effect/rpc/RpcClient/ConnectionHooks")) {
|
|
830
830
|
}
|
|
831
831
|
|
|
832
|
-
export { layerJson,
|
|
832
|
+
export { layerJson, make3, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -1568,7 +1568,7 @@ var ServiceProto = {
|
|
|
1568
1568
|
.../* @__PURE__ */ Prototype({
|
|
1569
1569
|
label: "Service",
|
|
1570
1570
|
evaluate(fiber) {
|
|
1571
|
-
return exitSucceed(
|
|
1571
|
+
return exitSucceed(get4(fiber.context, this));
|
|
1572
1572
|
}
|
|
1573
1573
|
}),
|
|
1574
1574
|
toJSON() {
|
|
@@ -1584,10 +1584,10 @@ var ServiceProto = {
|
|
|
1584
1584
|
return make14(this, self);
|
|
1585
1585
|
},
|
|
1586
1586
|
use(f) {
|
|
1587
|
-
return withFiber((fiber) => f(
|
|
1587
|
+
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
1588
1588
|
},
|
|
1589
1589
|
useSync(f) {
|
|
1590
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1590
|
+
return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
|
|
1591
1591
|
}
|
|
1592
1592
|
};
|
|
1593
1593
|
var cacheKeys = /* @__PURE__ */ new Set;
|
|
@@ -1717,7 +1717,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
return value;
|
|
1719
1719
|
});
|
|
1720
|
-
var
|
|
1720
|
+
var get4 = getUnsafe;
|
|
1721
1721
|
var defaultValueCacheKey = "~effect/Context/defaultValue";
|
|
1722
1722
|
var getDefaultValue = (ref) => {
|
|
1723
1723
|
if (defaultValueCacheKey in ref) {
|
|
@@ -3057,7 +3057,7 @@ class FiberImpl {
|
|
|
3057
3057
|
return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
|
|
3058
3058
|
}
|
|
3059
3059
|
getRef(ref) {
|
|
3060
|
-
return
|
|
3060
|
+
return get4(this.context, ref);
|
|
3061
3061
|
}
|
|
3062
3062
|
addObserver(cb) {
|
|
3063
3063
|
if (this._exit) {
|
|
@@ -3258,17 +3258,17 @@ class FiberImpl {
|
|
|
3258
3258
|
var makeFiberContextCache = (context) => {
|
|
3259
3259
|
const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
|
|
3260
3260
|
return {
|
|
3261
|
-
scheduler:
|
|
3261
|
+
scheduler: get4(context, Scheduler),
|
|
3262
3262
|
tracer: currentTracer,
|
|
3263
3263
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3264
|
-
tracerEnabled:
|
|
3264
|
+
tracerEnabled: get4(context, TracerEnabled),
|
|
3265
3265
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3266
|
-
logLevel:
|
|
3267
|
-
minimumLogLevel:
|
|
3268
|
-
stackFrame:
|
|
3266
|
+
logLevel: get4(context, CurrentLogLevel),
|
|
3267
|
+
minimumLogLevel: get4(context, MinimumLogLevel),
|
|
3268
|
+
stackFrame: get4(context, CurrentStackFrame),
|
|
3269
3269
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3270
|
-
maxOpsBeforeYield:
|
|
3271
|
-
preventYield:
|
|
3270
|
+
maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
|
|
3271
|
+
preventYield: get4(context, PreventSchedulerYield)
|
|
3272
3272
|
};
|
|
3273
3273
|
};
|
|
3274
3274
|
var deferredInterruptCont = {
|
|
@@ -4775,10 +4775,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
|
|
|
4775
4775
|
var filterDisablePropagation = (span) => {
|
|
4776
4776
|
if (!span)
|
|
4777
4777
|
return none();
|
|
4778
|
-
return
|
|
4778
|
+
return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
|
|
4779
4779
|
};
|
|
4780
4780
|
var makeSpanUnsafe = (fiber, name, options) => {
|
|
4781
|
-
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations &&
|
|
4781
|
+
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
|
|
4782
4782
|
const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
|
|
4783
4783
|
let span;
|
|
4784
4784
|
if (disablePropagation) {
|
|
@@ -5997,6 +5997,48 @@ for (let i = 0;i < alphabet2.length; i++)
|
|
|
5997
5997
|
var decodeString = (str) => map5(decode2(str), (_) => decoder2.decode(_));
|
|
5998
5998
|
var decoder2 = /* @__PURE__ */ new TextDecoder;
|
|
5999
5999
|
|
|
6000
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
6001
|
+
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
6002
|
+
var value2 = (self) => {
|
|
6003
|
+
if (redactedRegistry.has(self)) {
|
|
6004
|
+
return redactedRegistry.get(self);
|
|
6005
|
+
} else {
|
|
6006
|
+
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
6007
|
+
}
|
|
6008
|
+
};
|
|
6009
|
+
|
|
6010
|
+
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
6011
|
+
var TypeId8 = "~effect/Redacted";
|
|
6012
|
+
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
6013
|
+
var make16 = (value, options) => {
|
|
6014
|
+
const self = Object.create(Proto2);
|
|
6015
|
+
if (options?.label) {
|
|
6016
|
+
self.label = options.label;
|
|
6017
|
+
}
|
|
6018
|
+
redactedRegistry.set(self, value);
|
|
6019
|
+
return self;
|
|
6020
|
+
};
|
|
6021
|
+
var Proto2 = {
|
|
6022
|
+
[TypeId8]: {
|
|
6023
|
+
_A: (_) => _
|
|
6024
|
+
},
|
|
6025
|
+
label: undefined,
|
|
6026
|
+
...PipeInspectableProto,
|
|
6027
|
+
toJSON() {
|
|
6028
|
+
return this.toString();
|
|
6029
|
+
},
|
|
6030
|
+
toString() {
|
|
6031
|
+
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
6032
|
+
},
|
|
6033
|
+
[symbol]() {
|
|
6034
|
+
return hash(redactedRegistry.get(this));
|
|
6035
|
+
},
|
|
6036
|
+
[symbol2](that) {
|
|
6037
|
+
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
6038
|
+
}
|
|
6039
|
+
};
|
|
6040
|
+
var value = value2;
|
|
6041
|
+
|
|
6000
6042
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
6001
6043
|
function resolve(ast) {
|
|
6002
6044
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -6028,16 +6070,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
6028
6070
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
6029
6071
|
|
|
6030
6072
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
6031
|
-
var
|
|
6073
|
+
var TypeId9 = "~effect/SchemaIssue/Issue";
|
|
6032
6074
|
function isIssue(u) {
|
|
6033
|
-
return hasProperty(u,
|
|
6075
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6034
6076
|
}
|
|
6035
6077
|
function hasInput(issue) {
|
|
6036
6078
|
return Object.hasOwn(issue, "input");
|
|
6037
6079
|
}
|
|
6038
6080
|
|
|
6039
6081
|
class IssueNodeImpl {
|
|
6040
|
-
[
|
|
6082
|
+
[TypeId9] = TypeId9;
|
|
6041
6083
|
constructor(input, options) {
|
|
6042
6084
|
if (options?.reportInput === true && input !== missing) {
|
|
6043
6085
|
this.input = input;
|
|
@@ -6425,9 +6467,9 @@ function getContent(operation) {
|
|
|
6425
6467
|
}
|
|
6426
6468
|
|
|
6427
6469
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6428
|
-
var
|
|
6470
|
+
var TypeId10 = "~effect/SchemaTransformation/Transformation";
|
|
6429
6471
|
var Transformation = class extends Class3 {
|
|
6430
|
-
[
|
|
6472
|
+
[TypeId10] = TypeId10;
|
|
6431
6473
|
_tag = "Transformation";
|
|
6432
6474
|
decode;
|
|
6433
6475
|
encode;
|
|
@@ -6441,7 +6483,7 @@ var Transformation = class extends Class3 {
|
|
|
6441
6483
|
}
|
|
6442
6484
|
};
|
|
6443
6485
|
function isTransformation(u) {
|
|
6444
|
-
return hasProperty(u,
|
|
6486
|
+
return hasProperty(u, TypeId10) && u[TypeId10] === TypeId10;
|
|
6445
6487
|
}
|
|
6446
6488
|
var makeTransformation = (options) => {
|
|
6447
6489
|
if (isTransformation(options)) {
|
|
@@ -6561,10 +6603,10 @@ var Context = class {
|
|
|
6561
6603
|
this.annotations = annotations;
|
|
6562
6604
|
}
|
|
6563
6605
|
};
|
|
6564
|
-
var
|
|
6606
|
+
var TypeId11 = "~effect/Schema";
|
|
6565
6607
|
|
|
6566
6608
|
class ASTNodeImpl {
|
|
6567
|
-
[
|
|
6609
|
+
[TypeId11] = TypeId11;
|
|
6568
6610
|
annotations;
|
|
6569
6611
|
checks;
|
|
6570
6612
|
encoding;
|
|
@@ -8786,10 +8828,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8786
8828
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8787
8829
|
|
|
8788
8830
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8789
|
-
var
|
|
8831
|
+
var TypeId12 = "~effect/Schema/Schema";
|
|
8790
8832
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8791
8833
|
var SchemaProto = {
|
|
8792
|
-
[
|
|
8834
|
+
[TypeId12]: TypeId12,
|
|
8793
8835
|
get make() {
|
|
8794
8836
|
const value = make4(this);
|
|
8795
8837
|
Object.defineProperty(this, "make", {
|
|
@@ -10446,10 +10488,10 @@ function isSchemaError(u) {
|
|
|
10446
10488
|
}
|
|
10447
10489
|
|
|
10448
10490
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
10449
|
-
var
|
|
10491
|
+
var TypeId13 = TypeId12;
|
|
10450
10492
|
function declareConstructor() {
|
|
10451
10493
|
return (typeParameters, run, annotations) => {
|
|
10452
|
-
return
|
|
10494
|
+
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
10453
10495
|
};
|
|
10454
10496
|
}
|
|
10455
10497
|
function declare(is, annotations) {
|
|
@@ -10557,27 +10599,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
10557
10599
|
};
|
|
10558
10600
|
}
|
|
10559
10601
|
var encodeSync = encodeUnknownSync;
|
|
10560
|
-
var
|
|
10602
|
+
var make17 = make5;
|
|
10561
10603
|
function isSchema(u) {
|
|
10562
|
-
return hasProperty(u,
|
|
10604
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
10563
10605
|
}
|
|
10564
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
10606
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
10565
10607
|
schema
|
|
10566
10608
|
}));
|
|
10567
10609
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
10568
10610
|
const schema = UndefinedOr(self);
|
|
10569
|
-
return
|
|
10611
|
+
return make17(optional2(self.ast), {
|
|
10570
10612
|
schema
|
|
10571
10613
|
});
|
|
10572
10614
|
});
|
|
10573
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
10615
|
+
var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
|
|
10574
10616
|
schema
|
|
10575
10617
|
}));
|
|
10576
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
10618
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
|
|
10577
10619
|
schema
|
|
10578
10620
|
}));
|
|
10579
10621
|
function Literal(literal) {
|
|
10580
|
-
const out =
|
|
10622
|
+
const out = make17(new Literal2(literal), {
|
|
10581
10623
|
literal,
|
|
10582
10624
|
transform(to) {
|
|
10583
10625
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -10588,16 +10630,16 @@ function Literal(literal) {
|
|
|
10588
10630
|
});
|
|
10589
10631
|
return out;
|
|
10590
10632
|
}
|
|
10591
|
-
var Never = /* @__PURE__ */
|
|
10592
|
-
var Unknown = /* @__PURE__ */
|
|
10593
|
-
var Null = /* @__PURE__ */
|
|
10594
|
-
var Undefined2 = /* @__PURE__ */
|
|
10595
|
-
var String4 = /* @__PURE__ */
|
|
10596
|
-
var Number5 = /* @__PURE__ */
|
|
10597
|
-
var Boolean2 = /* @__PURE__ */
|
|
10598
|
-
var Void = /* @__PURE__ */
|
|
10633
|
+
var Never = /* @__PURE__ */ make17(never3);
|
|
10634
|
+
var Unknown = /* @__PURE__ */ make17(unknown);
|
|
10635
|
+
var Null = /* @__PURE__ */ make17(null_);
|
|
10636
|
+
var Undefined2 = /* @__PURE__ */ make17(undefined_3);
|
|
10637
|
+
var String4 = /* @__PURE__ */ make17(string2);
|
|
10638
|
+
var Number5 = /* @__PURE__ */ make17(number2);
|
|
10639
|
+
var Boolean2 = /* @__PURE__ */ make17(boolean);
|
|
10640
|
+
var Void = /* @__PURE__ */ make17(void_4);
|
|
10599
10641
|
function makeStruct(ast, fields) {
|
|
10600
|
-
return
|
|
10642
|
+
return make17(ast, {
|
|
10601
10643
|
fields,
|
|
10602
10644
|
mapFields(f, options) {
|
|
10603
10645
|
const fields = f(this.fields);
|
|
@@ -10609,19 +10651,19 @@ function Struct(fields) {
|
|
|
10609
10651
|
return makeStruct(struct(fields, undefined), fields);
|
|
10610
10652
|
}
|
|
10611
10653
|
function Record(key, value) {
|
|
10612
|
-
return
|
|
10654
|
+
return make17(record(key.ast, value.ast), {
|
|
10613
10655
|
key,
|
|
10614
10656
|
value
|
|
10615
10657
|
});
|
|
10616
10658
|
}
|
|
10617
10659
|
function StructWithRest(schema, records) {
|
|
10618
|
-
return
|
|
10660
|
+
return make17(structWithRest(schema.ast, records.map(getAST)), {
|
|
10619
10661
|
schema,
|
|
10620
10662
|
records
|
|
10621
10663
|
});
|
|
10622
10664
|
}
|
|
10623
10665
|
function makeTuple(ast, elements) {
|
|
10624
|
-
return
|
|
10666
|
+
return make17(ast, {
|
|
10625
10667
|
elements,
|
|
10626
10668
|
mapElements(f, options) {
|
|
10627
10669
|
const elements = f(this.elements);
|
|
@@ -10632,14 +10674,14 @@ function makeTuple(ast, elements) {
|
|
|
10632
10674
|
function Tuple2(elements) {
|
|
10633
10675
|
return makeTuple(tuple(elements), elements);
|
|
10634
10676
|
}
|
|
10635
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
10677
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
|
|
10636
10678
|
value: schema
|
|
10637
10679
|
}));
|
|
10638
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
10680
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
10639
10681
|
value: schema
|
|
10640
10682
|
}));
|
|
10641
10683
|
function makeUnion(ast, members) {
|
|
10642
|
-
return
|
|
10684
|
+
return make17(ast, {
|
|
10643
10685
|
members,
|
|
10644
10686
|
mapMembers(f, options) {
|
|
10645
10687
|
const members = f(this.members);
|
|
@@ -10652,7 +10694,7 @@ function Union(members, options) {
|
|
|
10652
10694
|
}
|
|
10653
10695
|
function Literals(literals) {
|
|
10654
10696
|
const members = literals.map(Literal);
|
|
10655
|
-
return
|
|
10697
|
+
return make17(union(members, undefined, undefined), {
|
|
10656
10698
|
literals,
|
|
10657
10699
|
members,
|
|
10658
10700
|
mapMembers(f) {
|
|
@@ -10669,18 +10711,18 @@ function Literals(literals) {
|
|
|
10669
10711
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
10670
10712
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
10671
10713
|
function suspend4(f) {
|
|
10672
|
-
return
|
|
10714
|
+
return make17(new Suspend(() => f().ast));
|
|
10673
10715
|
}
|
|
10674
10716
|
function decodeTo2(to, transformation) {
|
|
10675
10717
|
return (from) => {
|
|
10676
|
-
return
|
|
10718
|
+
return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
10677
10719
|
from,
|
|
10678
10720
|
to
|
|
10679
10721
|
});
|
|
10680
10722
|
};
|
|
10681
10723
|
}
|
|
10682
10724
|
function withConstructorDefault2(defaultValue) {
|
|
10683
|
-
return (schema) =>
|
|
10725
|
+
return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
|
|
10684
10726
|
schema
|
|
10685
10727
|
});
|
|
10686
10728
|
}
|
|
@@ -10756,7 +10798,7 @@ function isBase64(annotations) {
|
|
|
10756
10798
|
...annotations
|
|
10757
10799
|
});
|
|
10758
10800
|
}
|
|
10759
|
-
var Finite = /* @__PURE__ */
|
|
10801
|
+
var Finite = /* @__PURE__ */ make17(finite);
|
|
10760
10802
|
function makeIsGreaterThan(options) {
|
|
10761
10803
|
const gt = isGreaterThan2(options.order);
|
|
10762
10804
|
const formatter = options.formatter ?? format;
|
|
@@ -11336,7 +11378,7 @@ function CauseReason(error, defect) {
|
|
|
11336
11378
|
}
|
|
11337
11379
|
}))
|
|
11338
11380
|
});
|
|
11339
|
-
return
|
|
11381
|
+
return make17(schema.ast, {
|
|
11340
11382
|
error,
|
|
11341
11383
|
defect
|
|
11342
11384
|
});
|
|
@@ -11373,7 +11415,7 @@ function Cause(error, defect) {
|
|
|
11373
11415
|
}) => failures
|
|
11374
11416
|
}))
|
|
11375
11417
|
});
|
|
11376
|
-
return
|
|
11418
|
+
return make17(schema.ast, {
|
|
11377
11419
|
error,
|
|
11378
11420
|
defect
|
|
11379
11421
|
});
|
|
@@ -11434,7 +11476,7 @@ function Exit(value, error, defect) {
|
|
|
11434
11476
|
}
|
|
11435
11477
|
}))
|
|
11436
11478
|
});
|
|
11437
|
-
return
|
|
11479
|
+
return make17(schema.ast, {
|
|
11438
11480
|
value,
|
|
11439
11481
|
error,
|
|
11440
11482
|
defect
|
|
@@ -11459,7 +11501,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
11459
11501
|
}
|
|
11460
11502
|
});
|
|
11461
11503
|
}
|
|
11462
|
-
static [
|
|
11504
|
+
static [TypeId13] = TypeId13;
|
|
11463
11505
|
get [ClassTypeId]() {
|
|
11464
11506
|
return ClassTypeId;
|
|
11465
11507
|
}
|
|
@@ -11538,7 +11580,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
11538
11580
|
const ClassTypeId = getClassTypeId(identifier);
|
|
11539
11581
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
11540
11582
|
const transformation = getClassTransformation(self);
|
|
11541
|
-
const to =
|
|
11583
|
+
const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
|
|
11542
11584
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
11543
11585
|
}, {
|
|
11544
11586
|
identifier,
|
|
@@ -11606,7 +11648,7 @@ function toJsonSchemaDocument(schema, options) {
|
|
|
11606
11648
|
}
|
|
11607
11649
|
var toCodecJson = toCodecJson2;
|
|
11608
11650
|
var toCodecStringTree = toCodecStringTree2;
|
|
11609
|
-
var Json = /* @__PURE__ */
|
|
11651
|
+
var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
|
|
11610
11652
|
toCode: () => ({
|
|
11611
11653
|
runtime: "Schema.Json",
|
|
11612
11654
|
Type: "Schema.Json"
|
|
@@ -11753,4 +11795,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
11753
11795
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
11754
11796
|
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;
|
|
11755
11797
|
|
|
11756
|
-
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe,
|
|
11798
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make13, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty4, make14, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty5, of, map6, makeEquivalence2, toPredicate, has, compose, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, fiberInterruptAll, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, forkUnsafe, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make15, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, into, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe2, 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, filterInterruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, isRedacted, make16, value, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storableText, storable };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
opaqueTunnelRefusal2,
|
|
5
5
|
isOpaqueConnectReason2,
|
|
6
6
|
runSrtStep2
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
7
|
+
} from "./chunk-q22ar0q6.js";
|
|
8
|
+
import"./chunk-xwte7af6.js";
|
|
9
|
+
import"./chunk-e4ced6vj.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
decodeText,
|
|
4
|
+
mkString,
|
|
5
|
+
FileSystem,
|
|
6
|
+
Path,
|
|
7
|
+
withDefault,
|
|
8
|
+
String2
|
|
9
|
+
} from "./chunk-jz2b3htb.js";
|
|
2
10
|
import {
|
|
3
11
|
isString,
|
|
4
12
|
isObject,
|
|
@@ -35,7 +43,7 @@ import {
|
|
|
35
43
|
toCodecJson,
|
|
36
44
|
Json,
|
|
37
45
|
encodePrettyJsonString
|
|
38
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-e4ced6vj.js";
|
|
39
47
|
import {
|
|
40
48
|
SecureRandom,
|
|
41
49
|
layerWebCrypto,
|
|
@@ -52,34 +60,26 @@ import {
|
|
|
52
60
|
KitDeclarations,
|
|
53
61
|
kitmanMcpServer,
|
|
54
62
|
RunnerRpcProtocolVersion
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
decodeText,
|
|
58
|
-
mkString,
|
|
59
|
-
FileSystem,
|
|
60
|
-
Path,
|
|
61
|
-
withDefault,
|
|
62
|
-
String2
|
|
63
|
-
} from "./chunk-bj0zchck.js";
|
|
63
|
+
} from "./chunk-7eqzzcvj.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-kpgkhx9j.js";
|
|
68
68
|
import {
|
|
69
69
|
stepDefinedTwice,
|
|
70
70
|
hostSteps,
|
|
71
71
|
exports_activities,
|
|
72
72
|
describeFlag,
|
|
73
73
|
Described
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import"./chunk-
|
|
76
|
-
import"./chunk-
|
|
74
|
+
} from "./chunk-xfhrsdc6.js";
|
|
75
|
+
import"./chunk-0yqsrr9j.js";
|
|
76
|
+
import"./chunk-hs9frges.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
79
|
+
make2
|
|
80
|
+
} from "./chunk-z1d5jx6m.js";
|
|
81
|
+
import"./chunk-ctrk0mrt.js";
|
|
82
|
+
import"./chunk-xwte7af6.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
|
@@ -4262,7 +4262,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
4262
4262
|
}));
|
|
4263
4263
|
var run = (command, args, cwd) => gen(function* () {
|
|
4264
4264
|
const spawner = yield* ChildProcessSpawner;
|
|
4265
|
-
const handle = yield* spawner.spawn(
|
|
4265
|
+
const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
|
|
4266
4266
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
4267
4267
|
mkString(decodeText(handle.stdout)),
|
|
4268
4268
|
mkString(decodeText(handle.stderr)),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
isString2
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-e4ced6vj.js";
|
|
5
5
|
|
|
6
6
|
// packages/core/src/question-recommendation.ts
|
|
7
7
|
var optionValue = (option) => isString2(option) ? option : option.value;
|
|
@@ -36,4 +36,4 @@ var questionAdvice = (question) => ({
|
|
|
36
36
|
...question.informationOnly === true ? { informationOnly: true } : undefined
|
|
37
37
|
});
|
|
38
38
|
|
|
39
|
-
export { splitQuestionOptions, recommendationProblem, questionAdvice };
|
|
39
|
+
export { optionValue, splitQuestionOptions, recommendationProblem, questionAdvice };
|