@kitman-sh/cli 0.35.0 → 0.37.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-wkkjyzpx.js → chunk-2nqsmnx7.js} +4 -4
- package/dist/{chunk-ke4rajdh.js → chunk-2pqqspes.js} +128 -39
- package/dist/{chunk-qqb6djs7.js → chunk-310dsxts.js} +2 -2
- package/dist/{chunk-xc7kg57m.js → chunk-3xfsv475.js} +45 -45
- package/dist/{chunk-56gs4z53.js → chunk-5jnye659.js} +7 -7
- package/dist/{chunk-znhjs0t6.js → chunk-8b02x7vv.js} +1 -1
- package/dist/{chunk-1hgsf81a.js → chunk-98azvx6g.js} +1 -1
- package/dist/{chunk-c8eg05nh.js → chunk-av744yc8.js} +4 -4
- package/dist/{chunk-t205gnzc.js → chunk-ay4s5qnv.js} +5 -5
- package/dist/{chunk-n01c55f9.js → chunk-b4gf06xg.js} +5 -5
- package/dist/{chunk-61dmxexa.js → chunk-bqbfyqx6.js} +30 -70
- package/dist/{chunk-y3c9pxez.js → chunk-bvpa6jrp.js} +7 -7
- package/dist/{chunk-r9x4ehsy.js → chunk-cb6yfbkf.js} +6 -6
- package/dist/{chunk-4qrb09w4.js → chunk-d4vhrja4.js} +3 -3
- package/dist/{chunk-rbpn35g5.js → chunk-ea29sbaq.js} +1 -1
- package/dist/{chunk-64arqv10.js → chunk-g0vpp6p9.js} +7 -7
- package/dist/{chunk-n0bp958m.js → chunk-gfzzgz3h.js} +4 -4
- package/dist/{chunk-er0e8d8v.js → chunk-k9fnm7ds.js} +60 -14
- package/dist/{chunk-5e1ndtnp.js → chunk-kk1wfhhz.js} +2 -2
- package/dist/{chunk-nna9pwp0.js → chunk-mpw74rad.js} +48 -36
- package/dist/{chunk-tsefrrxz.js → chunk-pdcj5cfz.js} +1 -1
- package/dist/{chunk-z0gqrc8c.js → chunk-vyx49k26.js} +17 -17
- package/dist/{chunk-q8e58p57.js → chunk-wy6gmtd9.js} +2 -2
- package/dist/{chunk-yhat3rhw.js → chunk-xmdyfzf3.js} +125 -116
- package/dist/{chunk-ee7ss0df.js → chunk-ymzkqbye.js} +3 -3
- package/dist/{chunk-t9dmwy8x.js → chunk-za4cezh6.js} +19 -19
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -35,19 +35,19 @@ import {
|
|
|
35
35
|
isJsonObject,
|
|
36
36
|
isString2,
|
|
37
37
|
encodeUnknownJsonStringSync
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-bqbfyqx6.js";
|
|
39
39
|
import {
|
|
40
40
|
currentTimeMillis,
|
|
41
|
-
|
|
41
|
+
make11,
|
|
42
42
|
runForEach,
|
|
43
43
|
toPull,
|
|
44
44
|
FileSystem,
|
|
45
45
|
compiled2
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-vyx49k26.js";
|
|
47
47
|
import {
|
|
48
48
|
ChildProcessSpawner,
|
|
49
|
-
|
|
50
|
-
} from "./chunk-
|
|
49
|
+
make3
|
|
50
|
+
} from "./chunk-k9fnm7ds.js";
|
|
51
51
|
|
|
52
52
|
// packages/agent-runtime/src/opencode-store.ts
|
|
53
53
|
import { lstatSync, readFileSync, realpathSync, writeSync } from "fs";
|
|
@@ -265,8 +265,8 @@ var opencodeReaderCommand = () => compiled2 ? [process.execPath, "opencode-read"
|
|
|
265
265
|
var spawnReader = (request) => gen(function* () {
|
|
266
266
|
const spawner = yield* ChildProcessSpawner;
|
|
267
267
|
const [command, ...args] = opencodeReaderCommand();
|
|
268
|
-
return yield* spawner.spawn(
|
|
269
|
-
stdin:
|
|
268
|
+
return yield* spawner.spawn(make3(command, args, {
|
|
269
|
+
stdin: make11(new TextEncoder().encode(request)),
|
|
270
270
|
stderr: "ignore",
|
|
271
271
|
extendEnv: false,
|
|
272
272
|
env: {},
|
|
@@ -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-5jnye659.js";
|
|
13
|
+
import"./chunk-k9fnm7ds.js";
|
|
14
|
+
import"./chunk-vyx49k26.js";
|
|
15
|
+
import"./chunk-bqbfyqx6.js";
|
|
16
16
|
export {
|
|
17
17
|
databaseStamp2 as databaseStamp,
|
|
18
18
|
decoded2 as decoded,
|
|
@@ -96,7 +96,7 @@ import {
|
|
|
96
96
|
Defect,
|
|
97
97
|
Exit,
|
|
98
98
|
toCodecJson
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-bqbfyqx6.js";
|
|
100
100
|
import {
|
|
101
101
|
Clock,
|
|
102
102
|
interrupt,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
shutdownUnsafe,
|
|
110
110
|
fromQueue,
|
|
111
111
|
unwrap
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-vyx49k26.js";
|
|
113
113
|
import {
|
|
114
114
|
empty,
|
|
115
115
|
fromInput,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ParseOptions,
|
|
124
124
|
RpcClientDefect,
|
|
125
125
|
RpcClientError
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-xmdyfzf3.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")) {
|
|
@@ -483,7 +483,7 @@ var makeNoSerialization = /* @__PURE__ */ fnUntraced(function* (group, options)
|
|
|
483
483
|
};
|
|
484
484
|
});
|
|
485
485
|
var clientIdCounter = 0;
|
|
486
|
-
var
|
|
486
|
+
var make4 = /* @__PURE__ */ fnUntraced(function* (group, options) {
|
|
487
487
|
const clientId = clientIdCounter++;
|
|
488
488
|
const {
|
|
489
489
|
codecFor,
|
|
@@ -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, make4, withHeaders, layerProtocolSocket, ConnectionHooks };
|
|
@@ -138,7 +138,7 @@ import {
|
|
|
138
138
|
toJsonSchemaDocument,
|
|
139
139
|
toCodecJson,
|
|
140
140
|
Json
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-bqbfyqx6.js";
|
|
142
142
|
import {
|
|
143
143
|
WebCrypto,
|
|
144
144
|
makeUnsafe,
|
|
@@ -175,24 +175,24 @@ import {
|
|
|
175
175
|
StepManifest,
|
|
176
176
|
KitSetup,
|
|
177
177
|
RunnerRpcError
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-xmdyfzf3.js";
|
|
179
179
|
import {
|
|
180
180
|
currentTimeMillis,
|
|
181
181
|
getCurrent,
|
|
182
182
|
runForEach,
|
|
183
183
|
FileSystem
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-vyx49k26.js";
|
|
185
185
|
import {
|
|
186
186
|
splitQuestionOptions,
|
|
187
187
|
recommendationProblem,
|
|
188
188
|
questionAdvice
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-98azvx6g.js";
|
|
190
190
|
import {
|
|
191
191
|
guard,
|
|
192
192
|
Id,
|
|
193
193
|
Timestamp,
|
|
194
194
|
ActorType
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-ea29sbaq.js";
|
|
196
196
|
var __defProp = Object.defineProperty;
|
|
197
197
|
var __returnValue = (v) => v;
|
|
198
198
|
function __exportSetter(name, newValue) {
|
|
@@ -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++) {
|
|
@@ -1490,6 +1490,7 @@ var SuccessImpl = function(success) {
|
|
|
1490
1490
|
};
|
|
1491
1491
|
SuccessImpl.prototype = SuccessProto;
|
|
1492
1492
|
var succeed7 = (success) => new SuccessImpl(success);
|
|
1493
|
+
var getSuccess2 = (self) => isFailure3(self) ? none2 : some2(self.success);
|
|
1493
1494
|
|
|
1494
1495
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Order.js
|
|
1495
1496
|
function make(compare) {
|
|
@@ -1580,7 +1581,7 @@ var ServiceProto = {
|
|
|
1580
1581
|
return self;
|
|
1581
1582
|
},
|
|
1582
1583
|
context(self) {
|
|
1583
|
-
return
|
|
1584
|
+
return make15(this, self);
|
|
1584
1585
|
},
|
|
1585
1586
|
use(f) {
|
|
1586
1587
|
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
@@ -1684,7 +1685,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1684
1685
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1685
1686
|
var empty3 = () => emptyContext2;
|
|
1686
1687
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1687
|
-
var
|
|
1688
|
+
var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1688
1689
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1689
1690
|
var addUnsafe = (self, key, service) => {
|
|
1690
1691
|
const impl = self;
|
|
@@ -2252,6 +2253,7 @@ var try_ = (evaluate) => {
|
|
|
2252
2253
|
var isResult = isResult2;
|
|
2253
2254
|
var isFailure = isFailure3;
|
|
2254
2255
|
var isSuccess = isSuccess3;
|
|
2256
|
+
var getSuccess = getSuccess2;
|
|
2255
2257
|
var map5 = /* @__PURE__ */ dual(2, (self, f) => isSuccess(self) ? succeed(f(self.success)) : self);
|
|
2256
2258
|
var match3 = /* @__PURE__ */ dual(2, (self, {
|
|
2257
2259
|
onFailure,
|
|
@@ -3075,7 +3077,7 @@ class FiberImpl {
|
|
|
3075
3077
|
}
|
|
3076
3078
|
let cause = causeInterrupt(fiberId);
|
|
3077
3079
|
if (this.cache.stackFrame) {
|
|
3078
|
-
cause = causeAnnotate(cause,
|
|
3080
|
+
cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
|
|
3079
3081
|
}
|
|
3080
3082
|
if (annotations) {
|
|
3081
3083
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -5183,7 +5185,7 @@ var DeferredImpl = function() {
|
|
|
5183
5185
|
};
|
|
5184
5186
|
DeferredImpl.prototype = DeferredProto;
|
|
5185
5187
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5186
|
-
var
|
|
5188
|
+
var make16 = () => sync(() => makeUnsafe5());
|
|
5187
5189
|
var _await = (self) => callback2((resume) => {
|
|
5188
5190
|
if (self.effect)
|
|
5189
5191
|
return resume(self.effect);
|
|
@@ -5331,9 +5333,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5331
5333
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5332
5334
|
var succeed5 = function() {
|
|
5333
5335
|
if (arguments.length === 1) {
|
|
5334
|
-
return (resource) => succeedContext(
|
|
5336
|
+
return (resource) => succeedContext(make15(arguments[0], resource));
|
|
5335
5337
|
}
|
|
5336
|
-
return succeedContext(
|
|
5338
|
+
return succeedContext(make15(arguments[0], arguments[1]));
|
|
5337
5339
|
};
|
|
5338
5340
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5339
5341
|
var effect = function() {
|
|
@@ -5342,7 +5344,7 @@ var effect = function() {
|
|
|
5342
5344
|
}
|
|
5343
5345
|
return effectImpl(arguments[0], arguments[1]);
|
|
5344
5346
|
};
|
|
5345
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5347
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
|
|
5346
5348
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5347
5349
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5348
5350
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -5985,48 +5987,6 @@ for (let i = 0;i < alphabet2.length; i++)
|
|
|
5985
5987
|
var decodeString = (str) => map5(decode2(str), (_) => decoder2.decode(_));
|
|
5986
5988
|
var decoder2 = /* @__PURE__ */ new TextDecoder;
|
|
5987
5989
|
|
|
5988
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/redacted.js
|
|
5989
|
-
var redactedRegistry = /* @__PURE__ */ new WeakMap;
|
|
5990
|
-
var value2 = (self) => {
|
|
5991
|
-
if (redactedRegistry.has(self)) {
|
|
5992
|
-
return redactedRegistry.get(self);
|
|
5993
|
-
} else {
|
|
5994
|
-
throw new Error("Unable to get redacted value" + (self.label ? ` with label: "${self.label}"` : ""));
|
|
5995
|
-
}
|
|
5996
|
-
};
|
|
5997
|
-
|
|
5998
|
-
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Redacted.js
|
|
5999
|
-
var TypeId8 = "~effect/Redacted";
|
|
6000
|
-
var isRedacted = (u) => hasProperty(u, TypeId8);
|
|
6001
|
-
var make16 = (value, options) => {
|
|
6002
|
-
const self = Object.create(Proto2);
|
|
6003
|
-
if (options?.label) {
|
|
6004
|
-
self.label = options.label;
|
|
6005
|
-
}
|
|
6006
|
-
redactedRegistry.set(self, value);
|
|
6007
|
-
return self;
|
|
6008
|
-
};
|
|
6009
|
-
var Proto2 = {
|
|
6010
|
-
[TypeId8]: {
|
|
6011
|
-
_A: (_) => _
|
|
6012
|
-
},
|
|
6013
|
-
label: undefined,
|
|
6014
|
-
...PipeInspectableProto,
|
|
6015
|
-
toJSON() {
|
|
6016
|
-
return this.toString();
|
|
6017
|
-
},
|
|
6018
|
-
toString() {
|
|
6019
|
-
return `<redacted${isString(this.label) ? ":" + this.label : ""}>`;
|
|
6020
|
-
},
|
|
6021
|
-
[symbol]() {
|
|
6022
|
-
return hash(redactedRegistry.get(this));
|
|
6023
|
-
},
|
|
6024
|
-
[symbol2](that) {
|
|
6025
|
-
return isRedacted(that) && equals(redactedRegistry.get(this), redactedRegistry.get(that));
|
|
6026
|
-
}
|
|
6027
|
-
};
|
|
6028
|
-
var value = value2;
|
|
6029
|
-
|
|
6030
5990
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/annotations.js
|
|
6031
5991
|
function resolve(ast) {
|
|
6032
5992
|
return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
|
|
@@ -6058,16 +6018,16 @@ var toOption2 = (value) => value === missing ? none() : some(value);
|
|
|
6058
6018
|
var fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed8(option.value);
|
|
6059
6019
|
|
|
6060
6020
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaIssue.js
|
|
6061
|
-
var
|
|
6021
|
+
var TypeId8 = "~effect/SchemaIssue/Issue";
|
|
6062
6022
|
function isIssue(u) {
|
|
6063
|
-
return hasProperty(u,
|
|
6023
|
+
return hasProperty(u, TypeId8) && u[TypeId8] === TypeId8;
|
|
6064
6024
|
}
|
|
6065
6025
|
function hasInput(issue) {
|
|
6066
6026
|
return Object.hasOwn(issue, "input");
|
|
6067
6027
|
}
|
|
6068
6028
|
|
|
6069
6029
|
class IssueNodeImpl {
|
|
6070
|
-
[
|
|
6030
|
+
[TypeId8] = TypeId8;
|
|
6071
6031
|
constructor(input, options) {
|
|
6072
6032
|
if (options?.reportInput === true && input !== missing) {
|
|
6073
6033
|
this.input = input;
|
|
@@ -6455,9 +6415,9 @@ function getContent(operation) {
|
|
|
6455
6415
|
}
|
|
6456
6416
|
|
|
6457
6417
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/SchemaTransformation.js
|
|
6458
|
-
var
|
|
6418
|
+
var TypeId9 = "~effect/SchemaTransformation/Transformation";
|
|
6459
6419
|
var Transformation = class extends Class3 {
|
|
6460
|
-
[
|
|
6420
|
+
[TypeId9] = TypeId9;
|
|
6461
6421
|
_tag = "Transformation";
|
|
6462
6422
|
decode;
|
|
6463
6423
|
encode;
|
|
@@ -6471,7 +6431,7 @@ var Transformation = class extends Class3 {
|
|
|
6471
6431
|
}
|
|
6472
6432
|
};
|
|
6473
6433
|
function isTransformation(u) {
|
|
6474
|
-
return hasProperty(u,
|
|
6434
|
+
return hasProperty(u, TypeId9) && u[TypeId9] === TypeId9;
|
|
6475
6435
|
}
|
|
6476
6436
|
var makeTransformation = (options) => {
|
|
6477
6437
|
if (isTransformation(options)) {
|
|
@@ -6591,10 +6551,10 @@ var Context = class {
|
|
|
6591
6551
|
this.annotations = annotations;
|
|
6592
6552
|
}
|
|
6593
6553
|
};
|
|
6594
|
-
var
|
|
6554
|
+
var TypeId10 = "~effect/Schema";
|
|
6595
6555
|
|
|
6596
6556
|
class ASTNodeImpl {
|
|
6597
|
-
[
|
|
6557
|
+
[TypeId10] = TypeId10;
|
|
6598
6558
|
annotations;
|
|
6599
6559
|
checks;
|
|
6600
6560
|
encoding;
|
|
@@ -8816,10 +8776,10 @@ var normalCompiler = (ast) => resolve2(ast).parser;
|
|
|
8816
8776
|
var constructorCompiler = (ast) => resolve2(ast).makeEffect;
|
|
8817
8777
|
|
|
8818
8778
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/internal/schema/make.js
|
|
8819
|
-
var
|
|
8779
|
+
var TypeId11 = "~effect/Schema/Schema";
|
|
8820
8780
|
var RebuildOptions = /* @__PURE__ */ Symbol();
|
|
8821
8781
|
var SchemaProto = {
|
|
8822
|
-
[
|
|
8782
|
+
[TypeId11]: TypeId11,
|
|
8823
8783
|
get make() {
|
|
8824
8784
|
const value = make4(this);
|
|
8825
8785
|
Object.defineProperty(this, "make", {
|
|
@@ -10292,7 +10252,7 @@ function recur(ast) {
|
|
|
10292
10252
|
const rest = ast.rest.map(recur);
|
|
10293
10253
|
const [head, ...tail] = rest;
|
|
10294
10254
|
const tailLength = tail.length;
|
|
10295
|
-
return
|
|
10255
|
+
return make14((a, b) => {
|
|
10296
10256
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
10297
10257
|
return false;
|
|
10298
10258
|
}
|
|
@@ -10327,7 +10287,7 @@ function recur(ast) {
|
|
|
10327
10287
|
}
|
|
10328
10288
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
10329
10289
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
10330
|
-
return
|
|
10290
|
+
return make14((a, b) => {
|
|
10331
10291
|
if (!isObject(a) || !isObject(b)) {
|
|
10332
10292
|
return false;
|
|
10333
10293
|
}
|
|
@@ -10365,7 +10325,7 @@ function recur(ast) {
|
|
|
10365
10325
|
const types = toType2(ast).types;
|
|
10366
10326
|
const index = getCandidateIndex(types);
|
|
10367
10327
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
10368
|
-
return
|
|
10328
|
+
return make14((a, b) => {
|
|
10369
10329
|
const candidates = index(a, false);
|
|
10370
10330
|
for (let i = 0;i < candidates.length; i++) {
|
|
10371
10331
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -10378,7 +10338,7 @@ function recur(ast) {
|
|
|
10378
10338
|
}
|
|
10379
10339
|
case "Suspend": {
|
|
10380
10340
|
let equivalence;
|
|
10381
|
-
return
|
|
10341
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
10382
10342
|
}
|
|
10383
10343
|
}
|
|
10384
10344
|
}
|
|
@@ -10476,7 +10436,7 @@ function isSchemaError(u) {
|
|
|
10476
10436
|
}
|
|
10477
10437
|
|
|
10478
10438
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Schema.js
|
|
10479
|
-
var
|
|
10439
|
+
var TypeId12 = TypeId11;
|
|
10480
10440
|
function declareConstructor() {
|
|
10481
10441
|
return (typeParameters, run, annotations) => {
|
|
10482
10442
|
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
@@ -10589,7 +10549,7 @@ function encodeUnknownSync(schema, options) {
|
|
|
10589
10549
|
var encodeSync = encodeUnknownSync;
|
|
10590
10550
|
var make17 = make5;
|
|
10591
10551
|
function isSchema(u) {
|
|
10592
|
-
return hasProperty(u,
|
|
10552
|
+
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
10593
10553
|
}
|
|
10594
10554
|
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
10595
10555
|
schema
|
|
@@ -11489,7 +11449,7 @@ function makeClass(Inherited, identifier, struct2, annotations, proto) {
|
|
|
11489
11449
|
}
|
|
11490
11450
|
});
|
|
11491
11451
|
}
|
|
11492
|
-
static [
|
|
11452
|
+
static [TypeId12] = TypeId12;
|
|
11493
11453
|
get [ClassTypeId]() {
|
|
11494
11454
|
return ClassTypeId;
|
|
11495
11455
|
}
|
|
@@ -11783,4 +11743,4 @@ var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
|
11783
11743
|
var storableText = (text) => text.replaceAll("\x00", "").replaceAll(/\p{Cs}/gu, "");
|
|
11784
11744
|
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;
|
|
11785
11745
|
|
|
11786
|
-
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,
|
|
11746
|
+
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, getSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArray, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, chunksOf, empty4, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, map8, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, combine2, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, upTo, while_, setInputType, isEffect, all3, validate, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map9, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, sandbox, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, encode3, Pointer, makeFormatterStandardSchemaV1, passthrough, transform, transformEffect, encodeBase64Url, decodeBase64UrlString, Transformation, transform2, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map10, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeUnknownEffect, encodeEffect, encodeSync, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, Tuple2, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, link, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, isBetween, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, TaggedClass2, Error3, TaggedError2, toEquivalence, toJsonSchemaDocument, toCodecJson, toCodecStringTree, Json, JsonObject, toJsonValue, isOneOf, isKeyOf, toJsonObject, isBigInt, isBoolean2, isFunction2, isNumber2, isObject2, isJsonObject, isString2, isSymbol, isUndefined2, kindOf, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync, storable };
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
isJsonObject,
|
|
14
14
|
decodeJsonString,
|
|
15
15
|
encodePrettyJsonString
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-bqbfyqx6.js";
|
|
17
17
|
import {
|
|
18
18
|
FileSystem,
|
|
19
19
|
Path
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-vyx49k26.js";
|
|
21
21
|
import {
|
|
22
22
|
tomlTableHeader2,
|
|
23
23
|
tomlKeyPath2,
|
|
24
24
|
kitmanSkillEntry,
|
|
25
25
|
isPathWithin2
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-gfzzgz3h.js";
|
|
27
27
|
import {
|
|
28
28
|
instructionsStart,
|
|
29
29
|
instructionsEnd,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
antigravityPlugins,
|
|
32
32
|
materializeKitSetup,
|
|
33
33
|
tomlInline
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import"./chunk-
|
|
36
|
-
import"./chunk-
|
|
37
|
-
import"./chunk-
|
|
34
|
+
} from "./chunk-xmdyfzf3.js";
|
|
35
|
+
import"./chunk-ymzkqbye.js";
|
|
36
|
+
import"./chunk-k9fnm7ds.js";
|
|
37
|
+
import"./chunk-ea29sbaq.js";
|
|
38
38
|
|
|
39
39
|
// packages/agent-runtime/src/kit-setup-sync.ts
|
|
40
40
|
class KitSyncError extends TaggedError("KitSyncError") {
|
|
@@ -4,12 +4,12 @@ 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-
|
|
7
|
+
} from "./chunk-g0vpp6p9.js";
|
|
8
|
+
import"./chunk-ay4s5qnv.js";
|
|
9
|
+
import"./chunk-xmdyfzf3.js";
|
|
10
|
+
import"./chunk-ea29sbaq.js";
|
|
11
|
+
import"./chunk-vyx49k26.js";
|
|
12
|
+
import"./chunk-bqbfyqx6.js";
|
|
13
13
|
export {
|
|
14
14
|
makeProgramRpcClient2 as makeProgramRpcClient,
|
|
15
15
|
makeRunnerRpcClient2 as makeRunnerRpcClient,
|
|
@@ -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-wy6gmtd9.js";
|
|
8
|
+
import"./chunk-ea29sbaq.js";
|
|
9
|
+
import"./chunk-bqbfyqx6.js";
|
|
10
10
|
export {
|
|
11
11
|
isOpaqueConnectReason2 as isOpaqueConnectReason,
|
|
12
12
|
opaqueTunnelRefusal2 as opaqueTunnelRefusal,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
gen,
|
|
7
7
|
flatMap3,
|
|
8
8
|
provideContext2
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-bqbfyqx6.js";
|
|
10
10
|
import {
|
|
11
11
|
runForEach
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-vyx49k26.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-xmdyfzf3.js";
|
|
23
23
|
import {
|
|
24
24
|
layerJson,
|
|
25
|
-
|
|
25
|
+
make4,
|
|
26
26
|
withHeaders,
|
|
27
27
|
layerProtocolSocket
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ay4s5qnv.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)),
|
|
@@ -25,21 +25,21 @@ import {
|
|
|
25
25
|
isString2,
|
|
26
26
|
encodePrettyJsonString,
|
|
27
27
|
decodeJsonStringSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-bqbfyqx6.js";
|
|
29
29
|
import {
|
|
30
30
|
FileSystem,
|
|
31
31
|
Path,
|
|
32
32
|
optionalEnv,
|
|
33
33
|
tempDirectoryScoped
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-vyx49k26.js";
|
|
35
35
|
import {
|
|
36
36
|
AgentHarnessIds,
|
|
37
37
|
sha2562,
|
|
38
38
|
runCommand2
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-xmdyfzf3.js";
|
|
40
40
|
import {
|
|
41
41
|
NpmRegistry
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ymzkqbye.js";
|
|
43
43
|
|
|
44
44
|
// packages/agent-runtime/src/config-convergence.ts
|
|
45
45
|
var writeAgentEnvironmentConfigFile2 = fnUntraced(function* (file, content, keep = {}) {
|