@kitman-sh/cli 0.44.0 → 0.45.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-8a7337s1.js → chunk-04wqa07j.js} +1 -1
- package/dist/{chunk-d0rx9esz.js → chunk-0dfg674z.js} +7 -7
- package/dist/{chunk-9h16pekj.js → chunk-4vxbxjf8.js} +1 -1
- package/dist/{chunk-dj873p0e.js → chunk-5gbt1vhm.js} +10 -10
- package/dist/{chunk-1c4wk9dr.js → chunk-5pjbxhxy.js} +3 -3
- package/dist/{chunk-3mbp8cse.js → chunk-5smh4dp2.js} +17 -26
- package/dist/{chunk-1k6z8q79.js → chunk-69y8j7fs.js} +125 -116
- package/dist/{chunk-wh3pjr9r.js → chunk-8gkrs473.js} +13 -13
- package/dist/{chunk-5ccz7ghp.js → chunk-9qvgbp6k.js} +23 -23
- package/dist/{chunk-k2re3tp5.js → chunk-9ykh05hz.js} +1 -1
- package/dist/{chunk-ncp13gyf.js → chunk-a71b15k3.js} +2 -2
- package/dist/{chunk-d2tpz1yp.js → chunk-e3dv8hzy.js} +1 -1
- package/dist/{chunk-hmctc4eq.js → chunk-es6rnmyw.js} +3 -3
- package/dist/{chunk-wkg1v0kd.js → chunk-f957cxrx.js} +5 -5
- package/dist/{chunk-zvmdyf3v.js → chunk-fmvdwf5h.js} +24 -24
- package/dist/{chunk-134jdvs6.js → chunk-fqh4pj6b.js} +14 -60
- package/dist/{chunk-dre4f6s4.js → chunk-g26y214g.js} +9 -9
- package/dist/{chunk-x0ma41ys.js → chunk-k462v2v7.js} +70 -28
- package/dist/{chunk-j60f2tr1.js → chunk-k7eh8tac.js} +4 -4
- package/dist/{chunk-zkvrxna8.js → chunk-n3jpxd14.js} +2 -2
- package/dist/{chunk-7rj9d0rp.js → chunk-qzwsh96c.js} +2 -2
- package/dist/{chunk-dp6v658s.js → chunk-tfwgeqx5.js} +4 -4
- package/dist/{chunk-gw0pc35c.js → chunk-tqv14b4c.js} +19 -19
- package/dist/{chunk-qkwkxn4d.js → chunk-tx9aey19.js} +74 -74
- package/dist/{chunk-wvnsqt17.js → chunk-yyz9xrc1.js} +6 -6
- package/dist/{chunk-3zy2vbp0.js → chunk-zx86g3dw.js} +10 -10
- 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 make13 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
1335
1335
|
var isStrictEquivalent = (x, y) => x === y;
|
|
1336
1336
|
var strictEqual = () => isStrictEquivalent;
|
|
1337
1337
|
function Tuple(elements) {
|
|
1338
|
-
return
|
|
1338
|
+
return make13((self, that) => {
|
|
1339
1339
|
if (self.length !== that.length) {
|
|
1340
1340
|
return false;
|
|
1341
1341
|
}
|
|
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
|
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
1350
|
function Array_(item) {
|
|
1351
|
-
return
|
|
1351
|
+
return make13((self, that) => {
|
|
1352
1352
|
if (self.length !== that.length)
|
|
1353
1353
|
return false;
|
|
1354
1354
|
for (let i = 0;i < self.length; i++) {
|
|
@@ -1581,7 +1581,7 @@ var ServiceProto = {
|
|
|
1581
1581
|
return self;
|
|
1582
1582
|
},
|
|
1583
1583
|
context(self) {
|
|
1584
|
-
return
|
|
1584
|
+
return make14(this, self);
|
|
1585
1585
|
},
|
|
1586
1586
|
use(f) {
|
|
1587
1587
|
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
@@ -1685,7 +1685,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1685
1685
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1686
1686
|
var empty4 = () => emptyContext2;
|
|
1687
1687
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1688
|
-
var
|
|
1688
|
+
var make14 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1689
1689
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1690
1690
|
var addUnsafe = (self, key, service) => {
|
|
1691
1691
|
const impl = self;
|
|
@@ -3085,7 +3085,7 @@ class FiberImpl {
|
|
|
3085
3085
|
}
|
|
3086
3086
|
let cause = causeInterrupt(fiberId);
|
|
3087
3087
|
if (this.cache.stackFrame) {
|
|
3088
|
-
cause = causeAnnotate(cause,
|
|
3088
|
+
cause = causeAnnotate(cause, make14(StackTraceKey, this.cache.stackFrame));
|
|
3089
3089
|
}
|
|
3090
3090
|
if (annotations) {
|
|
3091
3091
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -5193,7 +5193,7 @@ var DeferredImpl = function() {
|
|
|
5193
5193
|
};
|
|
5194
5194
|
DeferredImpl.prototype = DeferredProto;
|
|
5195
5195
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5196
|
-
var
|
|
5196
|
+
var make15 = () => sync(() => makeUnsafe5());
|
|
5197
5197
|
var _await = (self) => callback2((resume) => {
|
|
5198
5198
|
if (self.effect)
|
|
5199
5199
|
return resume(self.effect);
|
|
@@ -5342,9 +5342,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5342
5342
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5343
5343
|
var succeed5 = function() {
|
|
5344
5344
|
if (arguments.length === 1) {
|
|
5345
|
-
return (resource) => succeedContext(
|
|
5345
|
+
return (resource) => succeedContext(make14(arguments[0], resource));
|
|
5346
5346
|
}
|
|
5347
|
-
return succeedContext(
|
|
5347
|
+
return succeedContext(make14(arguments[0], arguments[1]));
|
|
5348
5348
|
};
|
|
5349
5349
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5350
5350
|
var effect = function() {
|
|
@@ -5353,7 +5353,7 @@ var effect = function() {
|
|
|
5353
5353
|
}
|
|
5354
5354
|
return effectImpl(arguments[0], arguments[1]);
|
|
5355
5355
|
};
|
|
5356
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5356
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make14(service, value)));
|
|
5357
5357
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5358
5358
|
var effectDiscard = (effect) => effectContext(as2(effect, empty4()));
|
|
5359
5359
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -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", {
|
|
@@ -10262,7 +10304,7 @@ function recur(ast) {
|
|
|
10262
10304
|
const rest = ast.rest.map(recur);
|
|
10263
10305
|
const [head, ...tail] = rest;
|
|
10264
10306
|
const tailLength = tail.length;
|
|
10265
|
-
return
|
|
10307
|
+
return make13((a, b) => {
|
|
10266
10308
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
10267
10309
|
return false;
|
|
10268
10310
|
}
|
|
@@ -10297,7 +10339,7 @@ function recur(ast) {
|
|
|
10297
10339
|
}
|
|
10298
10340
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
10299
10341
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
10300
|
-
return
|
|
10342
|
+
return make13((a, b) => {
|
|
10301
10343
|
if (!isObject(a) || !isObject(b)) {
|
|
10302
10344
|
return false;
|
|
10303
10345
|
}
|
|
@@ -10335,7 +10377,7 @@ function recur(ast) {
|
|
|
10335
10377
|
const types = toType2(ast).types;
|
|
10336
10378
|
const index = getCandidateIndex(types);
|
|
10337
10379
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
10338
|
-
return
|
|
10380
|
+
return make13((a, b) => {
|
|
10339
10381
|
const candidates = index(a, false);
|
|
10340
10382
|
for (let i = 0;i < candidates.length; i++) {
|
|
10341
10383
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -10348,7 +10390,7 @@ function recur(ast) {
|
|
|
10348
10390
|
}
|
|
10349
10391
|
case "Suspend": {
|
|
10350
10392
|
let equivalence;
|
|
10351
|
-
return
|
|
10393
|
+
return make13((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
10352
10394
|
}
|
|
10353
10395
|
}
|
|
10354
10396
|
}
|
|
@@ -10446,7 +10488,7 @@ 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
10494
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -10559,7 +10601,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
10559
10601
|
var encodeSync = encodeUnknownSync;
|
|
10560
10602
|
var make17 = make5;
|
|
10561
10603
|
function isSchema(u) {
|
|
10562
|
-
return hasProperty(u,
|
|
10604
|
+
return hasProperty(u, TypeId13) && u[TypeId13] === TypeId13;
|
|
10563
10605
|
}
|
|
10564
10606
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
10565
10607
|
schema
|
|
@@ -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
|
}
|
|
@@ -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,
|
|
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, storable };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-fqh4pj6b.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-69y8j7fs.js";
|
|
16
|
+
import"./chunk-5smh4dp2.js";
|
|
17
|
+
import"./chunk-k462v2v7.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-k462v2v7.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-4vxbxjf8.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -731,7 +731,7 @@ Once it lands, each Task the original delivers moves back to its Team's first st
|
|
|
731
731
|
path: "loop-operations#agents-and-effort",
|
|
732
732
|
level: 2,
|
|
733
733
|
link: "https://kitman.sh/knowledge/docs/loop-operations#agents-and-effort",
|
|
734
|
-
text: "## Agents and effort\n\nKitman ships the Agents `implementer`, `planned-implementer`, `reviewer`, `plan-reviewer`, `planner`, `releaser`, `investigator` and `judge`. The `reviewer` runs on Pi with GPT-6.2 Sol, then Claude Opus at `medium` effort; the `plan-reviewer` runs on the same, with Opus at `high` effort; the `planner` runs on Claude
|
|
734
|
+
text: "## Agents and effort\n\nKitman ships the Agents `implementer`, `planned-implementer`, `reviewer`, `plan-reviewer`, `planner`, `releaser`, `investigator` and `judge`. The `reviewer` runs on Pi with GPT-6.2 Sol, then Claude Opus at `medium` effort; the `plan-reviewer` runs on the same, with Opus at `high` effort; the `planner` runs on Claude Opus at `high` effort; and the `implementer` runs on Claude alone, waiting out a known quota reset rather than falling back to Pi. The `planned-implementer` extends `implementer` at `low` effort: Build runs it for the first implementation of a Task that plan review passed, and `implementer` at `medium` for everything else. The implementers and the others name no model, so a Step runs on whatever model the Runner's harness is logged in to. A Workspace or Team overrides one, such as its harness, model or effort, by declaring an Agent of the same id that extends it, in a Kit it deploys. Each declaration is a layer over the Agent it extends:\n\n```ts\nimport { defineKit } from '@kitman-sh/sdk/loop'\n\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n instructions: `## House rules\nNever approve a migration that edits a released one.`,\n effort: 'high'\n }\n }\n})\n```\n\nA declared Agent replaces only the fields it names. Its instructions merge by `## ` heading:\n\n- A section it names replaces the parent's section with that heading.\n- A new heading is appended.\n- Any text before its first heading replaces the parent's.\n\nAn Agent can list fallbacks for a Runner that does not offer its Harness:\n\n```ts\nimport { defineKit } from '@kitman-sh/sdk/loop'\n\nexport default defineKit({\n agents: {\n reviewer: {\n extends: 'reviewer',\n harness: 'claude',\n effort: 'high',\n fallbacks: [\n { harness: 'codex', model: 'gpt-5.5' },\n { harness: 'pi', effort: 'medium' }\n ]\n }\n }\n})\n```\n\nA Step launches the first choice the claiming Runner offers, and the Run page's Step view shows the choices it skipped and why. A Step that ran on a later choice than its first is marked on the Run page and in `kitman run show` with the Harness and model it ran on and why its first choice was passed over. The mark follows the latest attempt whose Harness started, which its Runner shows by reporting what the Harness spent or its agent by submitting an Output. A claim alone does not move it: a retry on the first choice clears it once its Harness starts, and an attempt given back before its Harness started, one whose Harness failed to start, and a base sync the Runner found up to date ran no agent and are not marked. A fallback with no effort runs at the Agent's effort, and one with no model runs on the Harness's own model. An Agent that extends another inherits its fallbacks; naming `fallbacks` replaces them, and `fallbacks: []` clears them.\n\nEffort (`low`, `medium`, `high` or `xhigh`) is recorded on each StepAttempt. `kitman agent list --team <team>` shows each Agent merged as that Team's Runs resolve it, with the layer each field came from, so a Team Kit's override reads `claude (team)`. Without `--team` it uses the active Team, or only the workspace layer when there is none, and its first line says which."
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
737
|
title: "Projects and Saved Views",
|
|
@@ -2230,7 +2230,7 @@ var pathOfLink = (link) => {
|
|
|
2230
2230
|
return page === null ? link : page[1] || "index";
|
|
2231
2231
|
};
|
|
2232
2232
|
var UnpinnedSdkLink = "https://cdn.jsdelivr.net/npm/@kitman-sh/sdk/";
|
|
2233
|
-
var pinnedLink2 = (link, version = "0.
|
|
2233
|
+
var pinnedLink2 = (link, version = "0.45.0") => version === undefined || !link.startsWith(UnpinnedSdkLink) ? link : link.replace(UnpinnedSdkLink, `https://cdn.jsdelivr.net/npm/@kitman-sh/sdk@${version}/`);
|
|
2234
2234
|
var pageOf = (path) => path.split("#")[0];
|
|
2235
2235
|
var exportName = (section) => section.path.startsWith("sdk/") ? section.path.split("#")[1] ?? "" : "";
|
|
2236
2236
|
function excerpt(text, queryTerms) {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
readOpencode2,
|
|
10
10
|
databaseStamp2,
|
|
11
11
|
runOpencodeReader2
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
15
|
-
import"./chunk-
|
|
12
|
+
} from "./chunk-8gkrs473.js";
|
|
13
|
+
import"./chunk-fqh4pj6b.js";
|
|
14
|
+
import"./chunk-5smh4dp2.js";
|
|
15
|
+
import"./chunk-k462v2v7.js";
|
|
16
16
|
export {
|
|
17
17
|
databaseStamp2 as databaseStamp,
|
|
18
18
|
decoded2 as decoded,
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
decodeText,
|
|
4
|
-
mkString,
|
|
5
|
-
FileSystem,
|
|
6
|
-
Path,
|
|
7
|
-
withDefault,
|
|
8
|
-
String2
|
|
9
|
-
} from "./chunk-3mbp8cse.js";
|
|
10
2
|
import {
|
|
11
3
|
isString,
|
|
12
4
|
isObject,
|
|
@@ -43,7 +35,15 @@ import {
|
|
|
43
35
|
toCodecJson,
|
|
44
36
|
Json,
|
|
45
37
|
encodePrettyJsonString
|
|
46
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-k462v2v7.js";
|
|
39
|
+
import {
|
|
40
|
+
decodeText,
|
|
41
|
+
mkString,
|
|
42
|
+
FileSystem,
|
|
43
|
+
Path,
|
|
44
|
+
withDefault,
|
|
45
|
+
String2
|
|
46
|
+
} from "./chunk-5smh4dp2.js";
|
|
47
47
|
import {
|
|
48
48
|
SecureRandom,
|
|
49
49
|
layerWebCrypto,
|
|
@@ -60,26 +60,26 @@ import {
|
|
|
60
60
|
KitDeclarations,
|
|
61
61
|
kitmanMcpServer,
|
|
62
62
|
RunnerRpcProtocolVersion
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-69y8j7fs.js";
|
|
64
64
|
import {
|
|
65
65
|
Packument,
|
|
66
66
|
tarballMatches
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-es6rnmyw.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-5gbt1vhm.js";
|
|
75
|
+
import"./chunk-0dfg674z.js";
|
|
76
|
+
import"./chunk-9ykh05hz.js";
|
|
77
77
|
import {
|
|
78
78
|
ChildProcessSpawner,
|
|
79
|
-
|
|
80
|
-
} from "./chunk-
|
|
81
|
-
import"./chunk-
|
|
82
|
-
import"./chunk-
|
|
79
|
+
make2
|
|
80
|
+
} from "./chunk-fqh4pj6b.js";
|
|
81
|
+
import"./chunk-f957cxrx.js";
|
|
82
|
+
import"./chunk-4vxbxjf8.js";
|
|
83
83
|
|
|
84
84
|
// packages/sdk/src/build/outline/graph.ts
|
|
85
85
|
import {
|
|
@@ -3891,7 +3891,7 @@ var ConfigAgents = Record(String4, Struct({
|
|
|
3891
3891
|
}));
|
|
3892
3892
|
var run = (command, args, cwd) => gen(function* () {
|
|
3893
3893
|
const spawner = yield* ChildProcessSpawner;
|
|
3894
|
-
const handle = yield* spawner.spawn(
|
|
3894
|
+
const handle = yield* spawner.spawn(make2(command, args, { cwd, stdin: "ignore" }));
|
|
3895
3895
|
const [stdout, stderr, exitCode] = yield* all3([
|
|
3896
3896
|
mkString(decodeText(handle.stdout)),
|
|
3897
3897
|
mkString(decodeText(handle.stderr)),
|