@kitman-sh/cli 0.13.17 → 0.13.19
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-80f0p6s7.js → chunk-0n46rkk9.js} +307 -276
- package/dist/{chunk-g7ysb6ca.js → chunk-12afnp8q.js} +18 -18
- package/dist/{chunk-8nzsyz74.js → chunk-2bds7yc8.js} +1 -1
- package/dist/{chunk-b5edh1jq.js → chunk-40ee20qs.js} +28 -28
- package/dist/{chunk-efyrm6bv.js → chunk-4yg6da62.js} +1 -1
- package/dist/{chunk-67xn3yer.js → chunk-590h6emd.js} +7 -7
- package/dist/{chunk-pbmadbfm.js → chunk-5f80t96q.js} +11 -5
- package/dist/{chunk-cbf0q15q.js → chunk-82w8rmkc.js} +60 -14
- package/dist/{chunk-0vv8cbye.js → chunk-9964wmp9.js} +21 -21
- package/dist/{chunk-q4ra17vf.js → chunk-9krvh1na.js} +3 -3
- package/dist/{chunk-4yca7e7x.js → chunk-d917m1ak.js} +198 -59
- package/dist/{chunk-1cr225aq.js → chunk-f86q3a6s.js} +5 -5
- package/dist/{chunk-ahvpwkyk.js → chunk-fc2bhh5v.js} +2 -2
- package/dist/{chunk-24h0y27w.js → chunk-gq7y5v3e.js} +1 -1
- package/dist/{chunk-mmd7mjv0.js → chunk-gy9rf14f.js} +3 -3
- package/dist/{chunk-x20t7xy8.js → chunk-nf9gdnsf.js} +17 -17
- package/dist/{chunk-pxvd8w2v.js → chunk-q5w3v4k1.js} +1 -1
- package/dist/{chunk-gasqek3p.js → chunk-s4pejxc8.js} +6 -6
- package/dist/{chunk-zcpnmgwb.js → chunk-xjmfnqh9.js} +7 -7
- package/dist/{chunk-syhs23yk.js → chunk-xt6db7sf.js} +7 -7
- package/dist/{chunk-ggmwpwhf.js → chunk-y1krmnbv.js} +2 -2
- package/dist/{chunk-pvsg1ppc.js → chunk-yh7twvn9.js} +4 -4
- package/dist/{chunk-pjq9bf3w.js → chunk-ysz1v2cq.js} +4 -4
- package/dist/{chunk-643pxp2k.js → chunk-zfqn6dc1.js} +4 -4
- package/dist/{chunk-zgraq2y3.js → chunk-zw3gf6r5.js} +28 -70
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-zw3gf6r5.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-nf9gdnsf.js";
|
|
13
13
|
import {
|
|
14
14
|
WebSocketConstructor,
|
|
15
15
|
layerWebSocketConstructorGlobal,
|
|
@@ -19,13 +19,13 @@ import {
|
|
|
19
19
|
RunnerReplicaRpcs,
|
|
20
20
|
RunnerRunFileRpcs,
|
|
21
21
|
ProgramRpcs
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-0n46rkk9.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-f86q3a6s.js";
|
|
29
29
|
|
|
30
30
|
// packages/live/src/rpc/runner-client.ts
|
|
31
31
|
var proxiedWebSocket = (proxy) => succeed5(WebSocketConstructor)((target) => {
|
|
@@ -46,7 +46,7 @@ var authorizer = (options) => (call) => flatMap3(options.bearer, (token) => with
|
|
|
46
46
|
var RunnerProcessRpcs = RunnerReplicaRpcs.merge(RunnerRunFileRpcs);
|
|
47
47
|
var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
48
48
|
const protocol = yield* build(options.protocol);
|
|
49
|
-
const client = yield*
|
|
49
|
+
const client = yield* make4(RunnerProcessRpcs).pipe(provideContext2(protocol));
|
|
50
50
|
const authorized = authorizer(options);
|
|
51
51
|
return {
|
|
52
52
|
claim: (input) => authorized(client.Claim(input)),
|
|
@@ -74,7 +74,7 @@ var makeRunnerRpcClient2 = (options) => gen(function* () {
|
|
|
74
74
|
});
|
|
75
75
|
var makeProgramRpcClient2 = (options) => gen(function* () {
|
|
76
76
|
const protocol = yield* build(options.protocol);
|
|
77
|
-
const client = yield*
|
|
77
|
+
const client = yield* make4(ProgramRpcs).pipe(provideContext2(protocol));
|
|
78
78
|
const authorized = authorizer(options);
|
|
79
79
|
return {
|
|
80
80
|
recordActivity: (input) => authorized(client.RecordActivity(input)),
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import"./chunk-
|
|
16
|
+
} from "./chunk-zw3gf6r5.js";
|
|
17
|
+
import"./chunk-q5w3v4k1.js";
|
|
18
18
|
import {
|
|
19
19
|
FileSystem,
|
|
20
20
|
Path
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-nf9gdnsf.js";
|
|
22
22
|
import {
|
|
23
23
|
tomlTableHeader2,
|
|
24
24
|
tomlKeyPath2,
|
|
25
25
|
kitmanSkillEntry,
|
|
26
26
|
isPathWithin2
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-yh7twvn9.js";
|
|
28
28
|
import {
|
|
29
29
|
instructionsStart,
|
|
30
30
|
instructionsEnd,
|
|
31
31
|
renderMcpServer,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-0n46rkk9.js";
|
|
35
|
+
import"./chunk-9krvh1na.js";
|
|
36
|
+
import"./chunk-82w8rmkc.js";
|
|
37
37
|
|
|
38
38
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
39
39
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
ArraySchema,
|
|
14
14
|
decodeJsonStringOption,
|
|
15
15
|
encodeUnknownJsonStringSync
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-zw3gf6r5.js";
|
|
17
17
|
import {
|
|
18
18
|
replaceSecretReferences,
|
|
19
19
|
secretReferencesIn
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-q5w3v4k1.js";
|
|
21
21
|
|
|
22
22
|
// packages/agent-runtime/src/srt-step.ts
|
|
23
23
|
import { SandboxRuntimeConfigSchema } from "@anthropic-ai/sandbox-runtime";
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-zw3gf6r5.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-nf9gdnsf.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-0n46rkk9.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-9krvh1na.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import"./chunk-
|
|
2
|
+
import"./chunk-82w8rmkc.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-0n46rkk9.js";
|
|
16
|
+
import"./chunk-nf9gdnsf.js";
|
|
17
|
+
import"./chunk-zw3gf6r5.js";
|
|
18
18
|
export {
|
|
19
19
|
HERDR_CORE_GENERATION2 as HERDR_CORE_GENERATION,
|
|
20
20
|
HERDR_CORE_INSTALL_COMMAND2 as HERDR_CORE_INSTALL_COMMAND,
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
decoded2,
|
|
8
8
|
readOpencode2,
|
|
9
9
|
runOpencodeReader2
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
10
|
+
} from "./chunk-590h6emd.js";
|
|
11
|
+
import"./chunk-82w8rmkc.js";
|
|
12
|
+
import"./chunk-nf9gdnsf.js";
|
|
13
|
+
import"./chunk-zw3gf6r5.js";
|
|
14
14
|
export {
|
|
15
15
|
decoded2 as decoded,
|
|
16
16
|
decodedOption2 as decodedOption,
|
|
@@ -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++) {
|
|
@@ -1579,7 +1579,7 @@ var ServiceProto = {
|
|
|
1579
1579
|
return self;
|
|
1580
1580
|
},
|
|
1581
1581
|
context(self) {
|
|
1582
|
-
return
|
|
1582
|
+
return make15(this, self);
|
|
1583
1583
|
},
|
|
1584
1584
|
use(f) {
|
|
1585
1585
|
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
@@ -1683,7 +1683,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1683
1683
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1684
1684
|
var empty3 = () => emptyContext2;
|
|
1685
1685
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1686
|
-
var
|
|
1686
|
+
var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1687
1687
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1688
1688
|
var addUnsafe = (self, key, service) => {
|
|
1689
1689
|
const impl = self;
|
|
@@ -3029,7 +3029,7 @@ class FiberImpl {
|
|
|
3029
3029
|
}
|
|
3030
3030
|
let cause = causeInterrupt(fiberId);
|
|
3031
3031
|
if (this.cache.stackFrame) {
|
|
3032
|
-
cause = causeAnnotate(cause,
|
|
3032
|
+
cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
|
|
3033
3033
|
}
|
|
3034
3034
|
if (annotations) {
|
|
3035
3035
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -5126,7 +5126,7 @@ var DeferredImpl = function() {
|
|
|
5126
5126
|
};
|
|
5127
5127
|
DeferredImpl.prototype = DeferredProto;
|
|
5128
5128
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5129
|
-
var
|
|
5129
|
+
var make16 = () => sync(() => makeUnsafe5());
|
|
5130
5130
|
var _await = (self) => callback2((resume) => {
|
|
5131
5131
|
if (self.effect)
|
|
5132
5132
|
return resume(self.effect);
|
|
@@ -5274,9 +5274,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5274
5274
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5275
5275
|
var succeed5 = function() {
|
|
5276
5276
|
if (arguments.length === 1) {
|
|
5277
|
-
return (resource) => succeedContext(
|
|
5277
|
+
return (resource) => succeedContext(make15(arguments[0], resource));
|
|
5278
5278
|
}
|
|
5279
|
-
return succeedContext(
|
|
5279
|
+
return succeedContext(make15(arguments[0], arguments[1]));
|
|
5280
5280
|
};
|
|
5281
5281
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5282
5282
|
var effect = function() {
|
|
@@ -5285,7 +5285,7 @@ var effect = function() {
|
|
|
5285
5285
|
}
|
|
5286
5286
|
return effectImpl(arguments[0], arguments[1]);
|
|
5287
5287
|
};
|
|
5288
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5288
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
|
|
5289
5289
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5290
5290
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5291
5291
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -5865,48 +5865,6 @@ var getCode = (charCode) => {
|
|
|
5865
5865
|
return codes[charCode];
|
|
5866
5866
|
};
|
|
5867
5867
|
|
|
5868
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5869
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5870
|
-
var value2 = (self) => {
|
|
5871
|
-
if (redactedRegistry.has(self)) {
|
|
5872
|
-
return redactedRegistry.get(self);
|
|
5873
|
-
} else {
|
|
5874
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5875
|
-
}
|
|
5876
|
-
};
|
|
5877
|
-
|
|
5878
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5879
|
-
var TypeId8 = "~effect/Redacted";
|
|
5880
|
-
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
5881
|
-
var make16 = (value, options) => {
|
|
5882
|
-
const self = Object.create(Proto2);
|
|
5883
|
-
if (options?.label) {
|
|
5884
|
-
self.label = options.label;
|
|
5885
|
-
}
|
|
5886
|
-
redactedRegistry.set(self, value);
|
|
5887
|
-
return self;
|
|
5888
|
-
};
|
|
5889
|
-
var Proto2 = {
|
|
5890
|
-
[TypeId8]: {
|
|
5891
|
-
_A: (_) => _
|
|
5892
|
-
},
|
|
5893
|
-
label: undefined,
|
|
5894
|
-
...PipeInspectableProto,
|
|
5895
|
-
toJSON() {
|
|
5896
|
-
return this.toString();
|
|
5897
|
-
},
|
|
5898
|
-
toString() {
|
|
5899
|
-
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
5900
|
-
},
|
|
5901
|
-
[symbol]() {
|
|
5902
|
-
return hash(redactedRegistry.get(this));
|
|
5903
|
-
},
|
|
5904
|
-
[symbol2](that) {
|
|
5905
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
5906
|
-
}
|
|
5907
|
-
};
|
|
5908
|
-
var value = value2;
|
|
5909
|
-
|
|
5910
5868
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
5911
5869
|
function resolve(ast) {
|
|
5912
5870
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -5930,16 +5888,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
5930
5888
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
5931
5889
|
|
|
5932
5890
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
5933
|
-
var
|
|
5891
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
5934
5892
|
function isIssue(u) {
|
|
5935
|
-
return hasProperty(u,
|
|
5893
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
5936
5894
|
}
|
|
5937
5895
|
function hasInput(issue) {
|
|
5938
5896
|
return Object.hasOwn(issue, "input");
|
|
5939
5897
|
}
|
|
5940
5898
|
|
|
5941
5899
|
class IssueNodeImpl {
|
|
5942
|
-
[
|
|
5900
|
+
[TypeId8] = TypeId8;
|
|
5943
5901
|
constructor(input, options) {
|
|
5944
5902
|
if (options?.reportInput === true && input !== missing) {
|
|
5945
5903
|
this.input = input;
|
|
@@ -6313,9 +6271,9 @@ function setContent(operation, content) {
|
|
|
6313
6271
|
}
|
|
6314
6272
|
|
|
6315
6273
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6316
|
-
var
|
|
6274
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6317
6275
|
var Transformation = class extends Class3 {
|
|
6318
|
-
[
|
|
6276
|
+
[TypeId9] = TypeId9;
|
|
6319
6277
|
_tag = "Transformation";
|
|
6320
6278
|
decode;
|
|
6321
6279
|
encode;
|
|
@@ -6329,7 +6287,7 @@ var Transformation = class extends Class3 {
|
|
|
6329
6287
|
}
|
|
6330
6288
|
};
|
|
6331
6289
|
function isTransformation(u) {
|
|
6332
|
-
return hasProperty(u,
|
|
6290
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6333
6291
|
}
|
|
6334
6292
|
var makeTransformation = (options) => {
|
|
6335
6293
|
if (isTransformation(options)) {
|
|
@@ -6449,10 +6407,10 @@ var Context = class {
|
|
|
6449
6407
|
this.annotations = annotations;
|
|
6450
6408
|
}
|
|
6451
6409
|
};
|
|
6452
|
-
var
|
|
6410
|
+
var TypeId10 = "~effect/Schema";
|
|
6453
6411
|
|
|
6454
6412
|
class ASTNodeImpl {
|
|
6455
|
-
[
|
|
6413
|
+
[TypeId10] = TypeId10;
|
|
6456
6414
|
annotations;
|
|
6457
6415
|
checks;
|
|
6458
6416
|
encoding;
|
|
@@ -8667,10 +8625,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8667
8625
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8668
8626
|
|
|
8669
8627
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8670
|
-
var
|
|
8628
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8671
8629
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8672
8630
|
var SchemaProto = {
|
|
8673
|
-
[
|
|
8631
|
+
[TypeId11]: TypeId11,
|
|
8674
8632
|
get make() {
|
|
8675
8633
|
const value = make4(this);
|
|
8676
8634
|
Object.defineProperty(this, "make", {
|
|
@@ -8931,7 +8889,7 @@ function recur(ast) {
|
|
|
8931
8889
|
const rest = ast.rest.map(recur);
|
|
8932
8890
|
const [head, ...tail] = rest;
|
|
8933
8891
|
const tailLength = tail.length;
|
|
8934
|
-
return
|
|
8892
|
+
return make14((a, b) => {
|
|
8935
8893
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8936
8894
|
return false;
|
|
8937
8895
|
}
|
|
@@ -8966,7 +8924,7 @@ function recur(ast) {
|
|
|
8966
8924
|
}
|
|
8967
8925
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8968
8926
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8969
|
-
return
|
|
8927
|
+
return make14((a, b) => {
|
|
8970
8928
|
if (!isObject(a) || !isObject(b)) {
|
|
8971
8929
|
return false;
|
|
8972
8930
|
}
|
|
@@ -9004,7 +8962,7 @@ function recur(ast) {
|
|
|
9004
8962
|
const types = toType2(ast).types;
|
|
9005
8963
|
const index = getCandidateIndex(types);
|
|
9006
8964
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
9007
|
-
return
|
|
8965
|
+
return make14((a, b) => {
|
|
9008
8966
|
const candidates = index(a, false);
|
|
9009
8967
|
for (let i = 0;i < candidates.length; i++) {
|
|
9010
8968
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -9017,7 +8975,7 @@ function recur(ast) {
|
|
|
9017
8975
|
}
|
|
9018
8976
|
case "Suspend": {
|
|
9019
8977
|
let equivalence;
|
|
9020
|
-
return
|
|
8978
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
9021
8979
|
}
|
|
9022
8980
|
}
|
|
9023
8981
|
}
|
|
@@ -9115,7 +9073,7 @@ function isSchemaError(u) {
|
|
|
9115
9073
|
}
|
|
9116
9074
|
|
|
9117
9075
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
9118
|
-
var
|
|
9076
|
+
var TypeId12 = TypeId11;
|
|
9119
9077
|
function declareConstructor() {
|
|
9120
9078
|
return (typeParameters, run, annotations) => {
|
|
9121
9079
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -9228,7 +9186,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
9228
9186
|
var encodeSync = encodeUnknownSync;
|
|
9229
9187
|
var make17 = make5;
|
|
9230
9188
|
function isSchema(u) {
|
|
9231
|
-
return hasProperty(u,
|
|
9189
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9232
9190
|
}
|
|
9233
9191
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9234
9192
|
schema
|
|
@@ -10059,7 +10017,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
10059
10017
|
}
|
|
10060
10018
|
});
|
|
10061
10019
|
}
|
|
10062
|
-
static [
|
|
10020
|
+
static [TypeId12] = TypeId12;
|
|
10063
10021
|
get [ClassTypeId]() {
|
|
10064
10022
|
return ClassTypeId;
|
|
10065
10023
|
}
|
|
@@ -10338,4 +10296,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
10338
10296
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
10339
10297
|
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;
|
|
10340
10298
|
|
|
10341
|
-
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,
|
|
10299
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString, isNumber, isBoolean, isFunction, isUndefined, isNotUndefined, isNotNull, isNullish, isObject, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, toMinutes, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, 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, 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, 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, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, 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 };
|
package/dist/index.js
CHANGED
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
var args = process.argv.slice(2);
|
|
6
6
|
if (args[0] === "srt") {
|
|
7
7
|
process.argv.splice(2, 1);
|
|
8
|
-
const { runSrtCli } = await import("./chunk-
|
|
8
|
+
const { runSrtCli } = await import("./chunk-fc2bhh5v.js");
|
|
9
9
|
await runSrtCli();
|
|
10
10
|
} else if (args[0] === "srt-step") {
|
|
11
|
-
const { runSrtStep } = await import("./chunk-
|
|
11
|
+
const { runSrtStep } = await import("./chunk-gy9rf14f.js");
|
|
12
12
|
await runSrtStep(args.slice(1));
|
|
13
13
|
} else if (args[0] === "opencode-read") {
|
|
14
|
-
const { runOpencodeReader } = await import("./chunk-
|
|
14
|
+
const { runOpencodeReader } = await import("./chunk-zfqn6dc1.js");
|
|
15
15
|
runOpencodeReader();
|
|
16
16
|
} else {
|
|
17
|
-
const { runCli } = await import("./chunk-
|
|
17
|
+
const { runCli } = await import("./chunk-9964wmp9.js");
|
|
18
18
|
runCli(args);
|
|
19
19
|
}
|