@jigging/jig 0.1.0-alpha.11 → 0.1.0-alpha.12
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/README.md +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -3
- package/dist/project/author.d.ts +6 -6
- package/libexec/agent/claude-agent-acp.js +119 -119
- package/libexec/agent/openai-agent-worker.js +165 -168
- package/libexec/agent/pi-acp.js +69 -69
- package/libexec/agent/pi-agent-launcher.js +2 -15
- package/libexec/evaluator/project-authoring-1.schema.json +3 -14
- package/libexec/evaluator/project-evaluator-sdk.bundle.js +14 -3
- package/libexec/evaluator/project-evaluator-worker.js +61 -56
- package/libexec/installed-cli.js +660 -546
- package/libexec/linux-rootless-supervisor.js +16 -13
- package/libexec/preparation/bun-native-preparation-worker.js +1 -9
- package/package.json +3 -12
package/libexec/installed-cli.js
CHANGED
|
@@ -27,7 +27,7 @@ var __export = (target, all) => {
|
|
|
27
27
|
};
|
|
28
28
|
var __require = import.meta.require;
|
|
29
29
|
|
|
30
|
-
// node_modules/yaml/dist/nodes/identity.js
|
|
30
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/identity.js
|
|
31
31
|
var require_identity = __commonJS((exports) => {
|
|
32
32
|
var ALIAS = Symbol.for("yaml.alias");
|
|
33
33
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -81,7 +81,7 @@ var require_identity = __commonJS((exports) => {
|
|
|
81
81
|
exports.isSeq = isSeq;
|
|
82
82
|
});
|
|
83
83
|
|
|
84
|
-
// node_modules/yaml/dist/visit.js
|
|
84
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/visit.js
|
|
85
85
|
var require_visit = __commonJS((exports) => {
|
|
86
86
|
var identity = require_identity();
|
|
87
87
|
var BREAK = Symbol("break visit");
|
|
@@ -236,7 +236,7 @@ var require_visit = __commonJS((exports) => {
|
|
|
236
236
|
exports.visitAsync = visitAsync;
|
|
237
237
|
});
|
|
238
238
|
|
|
239
|
-
// node_modules/yaml/dist/doc/directives.js
|
|
239
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/directives.js
|
|
240
240
|
var require_directives = __commonJS((exports) => {
|
|
241
241
|
var identity = require_identity();
|
|
242
242
|
var visit = require_visit();
|
|
@@ -388,7 +388,7 @@ var require_directives = __commonJS((exports) => {
|
|
|
388
388
|
exports.Directives = Directives;
|
|
389
389
|
});
|
|
390
390
|
|
|
391
|
-
// node_modules/yaml/dist/doc/anchors.js
|
|
391
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/anchors.js
|
|
392
392
|
var require_anchors = __commonJS((exports) => {
|
|
393
393
|
var identity = require_identity();
|
|
394
394
|
var visit = require_visit();
|
|
@@ -450,7 +450,7 @@ var require_anchors = __commonJS((exports) => {
|
|
|
450
450
|
exports.findNewAnchor = findNewAnchor;
|
|
451
451
|
});
|
|
452
452
|
|
|
453
|
-
// node_modules/yaml/dist/doc/applyReviver.js
|
|
453
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/applyReviver.js
|
|
454
454
|
var require_applyReviver = __commonJS((exports) => {
|
|
455
455
|
function applyReviver(reviver, obj, key, val) {
|
|
456
456
|
if (val && typeof val === "object") {
|
|
@@ -497,7 +497,7 @@ var require_applyReviver = __commonJS((exports) => {
|
|
|
497
497
|
exports.applyReviver = applyReviver;
|
|
498
498
|
});
|
|
499
499
|
|
|
500
|
-
// node_modules/yaml/dist/nodes/toJS.js
|
|
500
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/toJS.js
|
|
501
501
|
var require_toJS = __commonJS((exports) => {
|
|
502
502
|
var identity = require_identity();
|
|
503
503
|
function toJS(value, arg, ctx) {
|
|
@@ -524,7 +524,7 @@ var require_toJS = __commonJS((exports) => {
|
|
|
524
524
|
exports.toJS = toJS;
|
|
525
525
|
});
|
|
526
526
|
|
|
527
|
-
// node_modules/yaml/dist/nodes/Node.js
|
|
527
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Node.js
|
|
528
528
|
var require_Node = __commonJS((exports) => {
|
|
529
529
|
var applyReviver = require_applyReviver();
|
|
530
530
|
var identity = require_identity();
|
|
@@ -561,7 +561,7 @@ var require_Node = __commonJS((exports) => {
|
|
|
561
561
|
exports.NodeBase = NodeBase;
|
|
562
562
|
});
|
|
563
563
|
|
|
564
|
-
// node_modules/yaml/dist/nodes/Alias.js
|
|
564
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Alias.js
|
|
565
565
|
var require_Alias = __commonJS((exports) => {
|
|
566
566
|
var anchors = require_anchors();
|
|
567
567
|
var visit = require_visit();
|
|
@@ -671,7 +671,7 @@ var require_Alias = __commonJS((exports) => {
|
|
|
671
671
|
exports.Alias = Alias;
|
|
672
672
|
});
|
|
673
673
|
|
|
674
|
-
// node_modules/yaml/dist/nodes/Scalar.js
|
|
674
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Scalar.js
|
|
675
675
|
var require_Scalar = __commonJS((exports) => {
|
|
676
676
|
var identity = require_identity();
|
|
677
677
|
var Node = require_Node();
|
|
@@ -699,7 +699,7 @@ var require_Scalar = __commonJS((exports) => {
|
|
|
699
699
|
exports.isScalarValue = isScalarValue;
|
|
700
700
|
});
|
|
701
701
|
|
|
702
|
-
// node_modules/yaml/dist/doc/createNode.js
|
|
702
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/createNode.js
|
|
703
703
|
var require_createNode = __commonJS((exports) => {
|
|
704
704
|
var Alias = require_Alias();
|
|
705
705
|
var identity = require_identity();
|
|
@@ -771,7 +771,7 @@ var require_createNode = __commonJS((exports) => {
|
|
|
771
771
|
exports.createNode = createNode;
|
|
772
772
|
});
|
|
773
773
|
|
|
774
|
-
// node_modules/yaml/dist/nodes/Collection.js
|
|
774
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Collection.js
|
|
775
775
|
var require_Collection = __commonJS((exports) => {
|
|
776
776
|
var createNode = require_createNode();
|
|
777
777
|
var identity = require_identity();
|
|
@@ -886,7 +886,7 @@ var require_Collection = __commonJS((exports) => {
|
|
|
886
886
|
exports.isEmptyPath = isEmptyPath;
|
|
887
887
|
});
|
|
888
888
|
|
|
889
|
-
// node_modules/yaml/dist/stringify/stringifyComment.js
|
|
889
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
890
890
|
var require_stringifyComment = __commonJS((exports) => {
|
|
891
891
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
892
892
|
function indentComment(comment, indent) {
|
|
@@ -903,7 +903,7 @@ var require_stringifyComment = __commonJS((exports) => {
|
|
|
903
903
|
exports.stringifyComment = stringifyComment;
|
|
904
904
|
});
|
|
905
905
|
|
|
906
|
-
// node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
906
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
907
907
|
var require_foldFlowLines = __commonJS((exports) => {
|
|
908
908
|
var FOLD_FLOW = "flow";
|
|
909
909
|
var FOLD_BLOCK = "block";
|
|
@@ -1040,7 +1040,7 @@ ${indent}${text.slice(fold + 1, end2)}`;
|
|
|
1040
1040
|
exports.foldFlowLines = foldFlowLines;
|
|
1041
1041
|
});
|
|
1042
1042
|
|
|
1043
|
-
// node_modules/yaml/dist/stringify/stringifyString.js
|
|
1043
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1044
1044
|
var require_stringifyString = __commonJS((exports) => {
|
|
1045
1045
|
var Scalar = require_Scalar();
|
|
1046
1046
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1338,7 +1338,7 @@ ${indent}`);
|
|
|
1338
1338
|
exports.stringifyString = stringifyString;
|
|
1339
1339
|
});
|
|
1340
1340
|
|
|
1341
|
-
// node_modules/yaml/dist/stringify/stringify.js
|
|
1341
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringify.js
|
|
1342
1342
|
var require_stringify = __commonJS((exports) => {
|
|
1343
1343
|
var anchors = require_anchors();
|
|
1344
1344
|
var identity = require_identity();
|
|
@@ -1459,7 +1459,7 @@ ${ctx.indent}${str}`;
|
|
|
1459
1459
|
exports.stringify = stringify;
|
|
1460
1460
|
});
|
|
1461
1461
|
|
|
1462
|
-
// node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1462
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1463
1463
|
var require_stringifyPair = __commonJS((exports) => {
|
|
1464
1464
|
var identity = require_identity();
|
|
1465
1465
|
var Scalar = require_Scalar();
|
|
@@ -1595,7 +1595,7 @@ ${ctx.indent}`;
|
|
|
1595
1595
|
exports.stringifyPair = stringifyPair;
|
|
1596
1596
|
});
|
|
1597
1597
|
|
|
1598
|
-
// node_modules/yaml/dist/log.js
|
|
1598
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/log.js
|
|
1599
1599
|
var require_log = __commonJS((exports) => {
|
|
1600
1600
|
var node_process = __require("process");
|
|
1601
1601
|
function debug(logLevel, ...messages) {
|
|
@@ -1614,7 +1614,7 @@ var require_log = __commonJS((exports) => {
|
|
|
1614
1614
|
exports.warn = warn;
|
|
1615
1615
|
});
|
|
1616
1616
|
|
|
1617
|
-
// node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1617
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/merge.js
|
|
1618
1618
|
var require_merge = __commonJS((exports) => {
|
|
1619
1619
|
var identity = require_identity();
|
|
1620
1620
|
var Scalar = require_Scalar();
|
|
@@ -1671,7 +1671,7 @@ var require_merge = __commonJS((exports) => {
|
|
|
1671
1671
|
exports.merge = merge;
|
|
1672
1672
|
});
|
|
1673
1673
|
|
|
1674
|
-
// node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1674
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1675
1675
|
var require_addPairToJSMap = __commonJS((exports) => {
|
|
1676
1676
|
var log = require_log();
|
|
1677
1677
|
var merge = require_merge();
|
|
@@ -1732,7 +1732,7 @@ var require_addPairToJSMap = __commonJS((exports) => {
|
|
|
1732
1732
|
exports.addPairToJSMap = addPairToJSMap;
|
|
1733
1733
|
});
|
|
1734
1734
|
|
|
1735
|
-
// node_modules/yaml/dist/nodes/Pair.js
|
|
1735
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/Pair.js
|
|
1736
1736
|
var require_Pair = __commonJS((exports) => {
|
|
1737
1737
|
var createNode = require_createNode();
|
|
1738
1738
|
var stringifyPair = require_stringifyPair();
|
|
@@ -1770,7 +1770,7 @@ var require_Pair = __commonJS((exports) => {
|
|
|
1770
1770
|
exports.createPair = createPair;
|
|
1771
1771
|
});
|
|
1772
1772
|
|
|
1773
|
-
// node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
1773
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
1774
1774
|
var require_stringifyCollection = __commonJS((exports) => {
|
|
1775
1775
|
var identity = require_identity();
|
|
1776
1776
|
var stringify = require_stringify();
|
|
@@ -1922,7 +1922,7 @@ ${indent}${end}`;
|
|
|
1922
1922
|
exports.stringifyCollection = stringifyCollection;
|
|
1923
1923
|
});
|
|
1924
1924
|
|
|
1925
|
-
// node_modules/yaml/dist/nodes/YAMLMap.js
|
|
1925
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
1926
1926
|
var require_YAMLMap = __commonJS((exports) => {
|
|
1927
1927
|
var stringifyCollection = require_stringifyCollection();
|
|
1928
1928
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2049,7 +2049,7 @@ var require_YAMLMap = __commonJS((exports) => {
|
|
|
2049
2049
|
exports.findPair = findPair;
|
|
2050
2050
|
});
|
|
2051
2051
|
|
|
2052
|
-
// node_modules/yaml/dist/schema/common/map.js
|
|
2052
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/map.js
|
|
2053
2053
|
var require_map = __commonJS((exports) => {
|
|
2054
2054
|
var identity = require_identity();
|
|
2055
2055
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2068,7 +2068,7 @@ var require_map = __commonJS((exports) => {
|
|
|
2068
2068
|
exports.map = map;
|
|
2069
2069
|
});
|
|
2070
2070
|
|
|
2071
|
-
// node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2071
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2072
2072
|
var require_YAMLSeq = __commonJS((exports) => {
|
|
2073
2073
|
var createNode = require_createNode();
|
|
2074
2074
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2161,7 +2161,7 @@ var require_YAMLSeq = __commonJS((exports) => {
|
|
|
2161
2161
|
exports.YAMLSeq = YAMLSeq;
|
|
2162
2162
|
});
|
|
2163
2163
|
|
|
2164
|
-
// node_modules/yaml/dist/schema/common/seq.js
|
|
2164
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/seq.js
|
|
2165
2165
|
var require_seq = __commonJS((exports) => {
|
|
2166
2166
|
var identity = require_identity();
|
|
2167
2167
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2180,7 +2180,7 @@ var require_seq = __commonJS((exports) => {
|
|
|
2180
2180
|
exports.seq = seq;
|
|
2181
2181
|
});
|
|
2182
2182
|
|
|
2183
|
-
// node_modules/yaml/dist/schema/common/string.js
|
|
2183
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/string.js
|
|
2184
2184
|
var require_string = __commonJS((exports) => {
|
|
2185
2185
|
var stringifyString = require_stringifyString();
|
|
2186
2186
|
var string = {
|
|
@@ -2196,7 +2196,7 @@ var require_string = __commonJS((exports) => {
|
|
|
2196
2196
|
exports.string = string;
|
|
2197
2197
|
});
|
|
2198
2198
|
|
|
2199
|
-
// node_modules/yaml/dist/schema/common/null.js
|
|
2199
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/common/null.js
|
|
2200
2200
|
var require_null = __commonJS((exports) => {
|
|
2201
2201
|
var Scalar = require_Scalar();
|
|
2202
2202
|
var nullTag = {
|
|
@@ -2211,7 +2211,7 @@ var require_null = __commonJS((exports) => {
|
|
|
2211
2211
|
exports.nullTag = nullTag;
|
|
2212
2212
|
});
|
|
2213
2213
|
|
|
2214
|
-
// node_modules/yaml/dist/schema/core/bool.js
|
|
2214
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/bool.js
|
|
2215
2215
|
var require_bool = __commonJS((exports) => {
|
|
2216
2216
|
var Scalar = require_Scalar();
|
|
2217
2217
|
var boolTag = {
|
|
@@ -2232,7 +2232,7 @@ var require_bool = __commonJS((exports) => {
|
|
|
2232
2232
|
exports.boolTag = boolTag;
|
|
2233
2233
|
});
|
|
2234
2234
|
|
|
2235
|
-
// node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2235
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2236
2236
|
var require_stringifyNumber = __commonJS((exports) => {
|
|
2237
2237
|
function stringifyNumber({ format, minFractionDigits, tag, value }) {
|
|
2238
2238
|
if (typeof value === "bigint")
|
|
@@ -2256,7 +2256,7 @@ var require_stringifyNumber = __commonJS((exports) => {
|
|
|
2256
2256
|
exports.stringifyNumber = stringifyNumber;
|
|
2257
2257
|
});
|
|
2258
2258
|
|
|
2259
|
-
// node_modules/yaml/dist/schema/core/float.js
|
|
2259
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/float.js
|
|
2260
2260
|
var require_float = __commonJS((exports) => {
|
|
2261
2261
|
var Scalar = require_Scalar();
|
|
2262
2262
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2299,7 +2299,7 @@ var require_float = __commonJS((exports) => {
|
|
|
2299
2299
|
exports.floatNaN = floatNaN;
|
|
2300
2300
|
});
|
|
2301
2301
|
|
|
2302
|
-
// node_modules/yaml/dist/schema/core/int.js
|
|
2302
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/int.js
|
|
2303
2303
|
var require_int = __commonJS((exports) => {
|
|
2304
2304
|
var stringifyNumber = require_stringifyNumber();
|
|
2305
2305
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2341,7 +2341,7 @@ var require_int = __commonJS((exports) => {
|
|
|
2341
2341
|
exports.intOct = intOct;
|
|
2342
2342
|
});
|
|
2343
2343
|
|
|
2344
|
-
// node_modules/yaml/dist/schema/core/schema.js
|
|
2344
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/core/schema.js
|
|
2345
2345
|
var require_schema = __commonJS((exports) => {
|
|
2346
2346
|
var map = require_map();
|
|
2347
2347
|
var _null = require_null();
|
|
@@ -2366,7 +2366,7 @@ var require_schema = __commonJS((exports) => {
|
|
|
2366
2366
|
exports.schema = schema;
|
|
2367
2367
|
});
|
|
2368
2368
|
|
|
2369
|
-
// node_modules/yaml/dist/schema/json/schema.js
|
|
2369
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/json/schema.js
|
|
2370
2370
|
var require_schema2 = __commonJS((exports) => {
|
|
2371
2371
|
var Scalar = require_Scalar();
|
|
2372
2372
|
var map = require_map();
|
|
@@ -2430,7 +2430,7 @@ var require_schema2 = __commonJS((exports) => {
|
|
|
2430
2430
|
exports.schema = schema;
|
|
2431
2431
|
});
|
|
2432
2432
|
|
|
2433
|
-
// node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2433
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2434
2434
|
var require_binary = __commonJS((exports) => {
|
|
2435
2435
|
var node_buffer = __require("buffer");
|
|
2436
2436
|
var Scalar = require_Scalar();
|
|
@@ -2485,7 +2485,7 @@ var require_binary = __commonJS((exports) => {
|
|
|
2485
2485
|
exports.binary = binary;
|
|
2486
2486
|
});
|
|
2487
2487
|
|
|
2488
|
-
// node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2488
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2489
2489
|
var require_pairs = __commonJS((exports) => {
|
|
2490
2490
|
var identity = require_identity();
|
|
2491
2491
|
var Pair = require_Pair();
|
|
@@ -2560,7 +2560,7 @@ ${cn.comment}` : item.comment;
|
|
|
2560
2560
|
exports.resolvePairs = resolvePairs;
|
|
2561
2561
|
});
|
|
2562
2562
|
|
|
2563
|
-
// node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2563
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2564
2564
|
var require_omap = __commonJS((exports) => {
|
|
2565
2565
|
var identity = require_identity();
|
|
2566
2566
|
var toJS = require_toJS();
|
|
@@ -2632,7 +2632,7 @@ var require_omap = __commonJS((exports) => {
|
|
|
2632
2632
|
exports.omap = omap;
|
|
2633
2633
|
});
|
|
2634
2634
|
|
|
2635
|
-
// node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2635
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2636
2636
|
var require_bool2 = __commonJS((exports) => {
|
|
2637
2637
|
var Scalar = require_Scalar();
|
|
2638
2638
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2661,7 +2661,7 @@ var require_bool2 = __commonJS((exports) => {
|
|
|
2661
2661
|
exports.trueTag = trueTag;
|
|
2662
2662
|
});
|
|
2663
2663
|
|
|
2664
|
-
// node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2664
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2665
2665
|
var require_float2 = __commonJS((exports) => {
|
|
2666
2666
|
var Scalar = require_Scalar();
|
|
2667
2667
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2707,7 +2707,7 @@ var require_float2 = __commonJS((exports) => {
|
|
|
2707
2707
|
exports.floatNaN = floatNaN;
|
|
2708
2708
|
});
|
|
2709
2709
|
|
|
2710
|
-
// node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
2710
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
2711
2711
|
var require_int2 = __commonJS((exports) => {
|
|
2712
2712
|
var stringifyNumber = require_stringifyNumber();
|
|
2713
2713
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2783,7 +2783,7 @@ var require_int2 = __commonJS((exports) => {
|
|
|
2783
2783
|
exports.intOct = intOct;
|
|
2784
2784
|
});
|
|
2785
2785
|
|
|
2786
|
-
// node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
2786
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
2787
2787
|
var require_set = __commonJS((exports) => {
|
|
2788
2788
|
var identity = require_identity();
|
|
2789
2789
|
var Pair = require_Pair();
|
|
@@ -2866,7 +2866,7 @@ var require_set = __commonJS((exports) => {
|
|
|
2866
2866
|
exports.set = set;
|
|
2867
2867
|
});
|
|
2868
2868
|
|
|
2869
|
-
// node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
2869
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
2870
2870
|
var require_timestamp = __commonJS((exports) => {
|
|
2871
2871
|
var stringifyNumber = require_stringifyNumber();
|
|
2872
2872
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -2948,7 +2948,7 @@ var require_timestamp = __commonJS((exports) => {
|
|
|
2948
2948
|
exports.timestamp = timestamp;
|
|
2949
2949
|
});
|
|
2950
2950
|
|
|
2951
|
-
// node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
2951
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
2952
2952
|
var require_schema3 = __commonJS((exports) => {
|
|
2953
2953
|
var map = require_map();
|
|
2954
2954
|
var _null = require_null();
|
|
@@ -2989,7 +2989,7 @@ var require_schema3 = __commonJS((exports) => {
|
|
|
2989
2989
|
exports.schema = schema;
|
|
2990
2990
|
});
|
|
2991
2991
|
|
|
2992
|
-
// node_modules/yaml/dist/schema/tags.js
|
|
2992
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/tags.js
|
|
2993
2993
|
var require_tags = __commonJS((exports) => {
|
|
2994
2994
|
var map = require_map();
|
|
2995
2995
|
var _null = require_null();
|
|
@@ -3080,7 +3080,7 @@ var require_tags = __commonJS((exports) => {
|
|
|
3080
3080
|
exports.getTags = getTags;
|
|
3081
3081
|
});
|
|
3082
3082
|
|
|
3083
|
-
// node_modules/yaml/dist/schema/Schema.js
|
|
3083
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/schema/Schema.js
|
|
3084
3084
|
var require_Schema = __commonJS((exports) => {
|
|
3085
3085
|
var identity = require_identity();
|
|
3086
3086
|
var map = require_map();
|
|
@@ -3110,7 +3110,7 @@ var require_Schema = __commonJS((exports) => {
|
|
|
3110
3110
|
exports.Schema = Schema;
|
|
3111
3111
|
});
|
|
3112
3112
|
|
|
3113
|
-
// node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3113
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3114
3114
|
var require_stringifyDocument = __commonJS((exports) => {
|
|
3115
3115
|
var identity = require_identity();
|
|
3116
3116
|
var stringify = require_stringify();
|
|
@@ -3190,7 +3190,7 @@ var require_stringifyDocument = __commonJS((exports) => {
|
|
|
3190
3190
|
exports.stringifyDocument = stringifyDocument;
|
|
3191
3191
|
});
|
|
3192
3192
|
|
|
3193
|
-
// node_modules/yaml/dist/doc/Document.js
|
|
3193
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/doc/Document.js
|
|
3194
3194
|
var require_Document = __commonJS((exports) => {
|
|
3195
3195
|
var Alias = require_Alias();
|
|
3196
3196
|
var Collection = require_Collection();
|
|
@@ -3425,7 +3425,7 @@ var require_Document = __commonJS((exports) => {
|
|
|
3425
3425
|
exports.Document = Document;
|
|
3426
3426
|
});
|
|
3427
3427
|
|
|
3428
|
-
// node_modules/yaml/dist/errors.js
|
|
3428
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/errors.js
|
|
3429
3429
|
var require_errors = __commonJS((exports) => {
|
|
3430
3430
|
class YAMLError extends Error {
|
|
3431
3431
|
constructor(name, pos, code, message) {
|
|
@@ -3490,7 +3490,7 @@ ${pointer}
|
|
|
3490
3490
|
exports.prettifyError = prettifyError;
|
|
3491
3491
|
});
|
|
3492
3492
|
|
|
3493
|
-
// node_modules/yaml/dist/compose/resolve-props.js
|
|
3493
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-props.js
|
|
3494
3494
|
var require_resolve_props = __commonJS((exports) => {
|
|
3495
3495
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3496
3496
|
let spaceBefore = false;
|
|
@@ -3620,7 +3620,7 @@ var require_resolve_props = __commonJS((exports) => {
|
|
|
3620
3620
|
exports.resolveProps = resolveProps;
|
|
3621
3621
|
});
|
|
3622
3622
|
|
|
3623
|
-
// node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3623
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3624
3624
|
var require_util_contains_newline = __commonJS((exports) => {
|
|
3625
3625
|
function containsNewline(key) {
|
|
3626
3626
|
if (!key)
|
|
@@ -3660,7 +3660,7 @@ var require_util_contains_newline = __commonJS((exports) => {
|
|
|
3660
3660
|
exports.containsNewline = containsNewline;
|
|
3661
3661
|
});
|
|
3662
3662
|
|
|
3663
|
-
// node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3663
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3664
3664
|
var require_util_flow_indent_check = __commonJS((exports) => {
|
|
3665
3665
|
var utilContainsNewline = require_util_contains_newline();
|
|
3666
3666
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3675,7 +3675,7 @@ var require_util_flow_indent_check = __commonJS((exports) => {
|
|
|
3675
3675
|
exports.flowIndentCheck = flowIndentCheck;
|
|
3676
3676
|
});
|
|
3677
3677
|
|
|
3678
|
-
// node_modules/yaml/dist/compose/util-map-includes.js
|
|
3678
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3679
3679
|
var require_util_map_includes = __commonJS((exports) => {
|
|
3680
3680
|
var identity = require_identity();
|
|
3681
3681
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3688,7 +3688,7 @@ var require_util_map_includes = __commonJS((exports) => {
|
|
|
3688
3688
|
exports.mapIncludes = mapIncludes;
|
|
3689
3689
|
});
|
|
3690
3690
|
|
|
3691
|
-
// node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3691
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3692
3692
|
var require_resolve_block_map = __commonJS((exports) => {
|
|
3693
3693
|
var Pair = require_Pair();
|
|
3694
3694
|
var YAMLMap = require_YAMLMap();
|
|
@@ -3795,7 +3795,7 @@ var require_resolve_block_map = __commonJS((exports) => {
|
|
|
3795
3795
|
exports.resolveBlockMap = resolveBlockMap;
|
|
3796
3796
|
});
|
|
3797
3797
|
|
|
3798
|
-
// node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
3798
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
3799
3799
|
var require_resolve_block_seq = __commonJS((exports) => {
|
|
3800
3800
|
var YAMLSeq = require_YAMLSeq();
|
|
3801
3801
|
var resolveProps = require_resolve_props();
|
|
@@ -3843,7 +3843,7 @@ var require_resolve_block_seq = __commonJS((exports) => {
|
|
|
3843
3843
|
exports.resolveBlockSeq = resolveBlockSeq;
|
|
3844
3844
|
});
|
|
3845
3845
|
|
|
3846
|
-
// node_modules/yaml/dist/compose/resolve-end.js
|
|
3846
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-end.js
|
|
3847
3847
|
var require_resolve_end = __commonJS((exports) => {
|
|
3848
3848
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
3849
3849
|
let comment = "";
|
|
@@ -3883,7 +3883,7 @@ var require_resolve_end = __commonJS((exports) => {
|
|
|
3883
3883
|
exports.resolveEnd = resolveEnd;
|
|
3884
3884
|
});
|
|
3885
3885
|
|
|
3886
|
-
// node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
3886
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
3887
3887
|
var require_resolve_flow_collection = __commonJS((exports) => {
|
|
3888
3888
|
var identity = require_identity();
|
|
3889
3889
|
var Pair = require_Pair();
|
|
@@ -4074,7 +4074,7 @@ var require_resolve_flow_collection = __commonJS((exports) => {
|
|
|
4074
4074
|
exports.resolveFlowCollection = resolveFlowCollection;
|
|
4075
4075
|
});
|
|
4076
4076
|
|
|
4077
|
-
// node_modules/yaml/dist/compose/compose-collection.js
|
|
4077
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-collection.js
|
|
4078
4078
|
var require_compose_collection = __commonJS((exports) => {
|
|
4079
4079
|
var identity = require_identity();
|
|
4080
4080
|
var Scalar = require_Scalar();
|
|
@@ -4136,7 +4136,7 @@ var require_compose_collection = __commonJS((exports) => {
|
|
|
4136
4136
|
exports.composeCollection = composeCollection;
|
|
4137
4137
|
});
|
|
4138
4138
|
|
|
4139
|
-
// node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4139
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4140
4140
|
var require_resolve_block_scalar = __commonJS((exports) => {
|
|
4141
4141
|
var Scalar = require_Scalar();
|
|
4142
4142
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4329,7 +4329,7 @@ var require_resolve_block_scalar = __commonJS((exports) => {
|
|
|
4329
4329
|
exports.resolveBlockScalar = resolveBlockScalar;
|
|
4330
4330
|
});
|
|
4331
4331
|
|
|
4332
|
-
// node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4332
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4333
4333
|
var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
4334
4334
|
var Scalar = require_Scalar();
|
|
4335
4335
|
var resolveEnd = require_resolve_end();
|
|
@@ -4546,7 +4546,7 @@ var require_resolve_flow_scalar = __commonJS((exports) => {
|
|
|
4546
4546
|
exports.resolveFlowScalar = resolveFlowScalar;
|
|
4547
4547
|
});
|
|
4548
4548
|
|
|
4549
|
-
// node_modules/yaml/dist/compose/compose-scalar.js
|
|
4549
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4550
4550
|
var require_compose_scalar = __commonJS((exports) => {
|
|
4551
4551
|
var identity = require_identity();
|
|
4552
4552
|
var Scalar = require_Scalar();
|
|
@@ -4624,7 +4624,7 @@ var require_compose_scalar = __commonJS((exports) => {
|
|
|
4624
4624
|
exports.composeScalar = composeScalar;
|
|
4625
4625
|
});
|
|
4626
4626
|
|
|
4627
|
-
// node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4627
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4628
4628
|
var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
4629
4629
|
function emptyScalarPosition(offset, before, pos) {
|
|
4630
4630
|
if (before) {
|
|
@@ -4651,7 +4651,7 @@ var require_util_empty_scalar_position = __commonJS((exports) => {
|
|
|
4651
4651
|
exports.emptyScalarPosition = emptyScalarPosition;
|
|
4652
4652
|
});
|
|
4653
4653
|
|
|
4654
|
-
// node_modules/yaml/dist/compose/compose-node.js
|
|
4654
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-node.js
|
|
4655
4655
|
var require_compose_node = __commonJS((exports) => {
|
|
4656
4656
|
var Alias = require_Alias();
|
|
4657
4657
|
var identity = require_identity();
|
|
@@ -4754,7 +4754,7 @@ var require_compose_node = __commonJS((exports) => {
|
|
|
4754
4754
|
exports.composeNode = composeNode;
|
|
4755
4755
|
});
|
|
4756
4756
|
|
|
4757
|
-
// node_modules/yaml/dist/compose/compose-doc.js
|
|
4757
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/compose-doc.js
|
|
4758
4758
|
var require_compose_doc = __commonJS((exports) => {
|
|
4759
4759
|
var Document = require_Document();
|
|
4760
4760
|
var composeNode = require_compose_node();
|
|
@@ -4794,7 +4794,7 @@ var require_compose_doc = __commonJS((exports) => {
|
|
|
4794
4794
|
exports.composeDoc = composeDoc;
|
|
4795
4795
|
});
|
|
4796
4796
|
|
|
4797
|
-
// node_modules/yaml/dist/compose/composer.js
|
|
4797
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/compose/composer.js
|
|
4798
4798
|
var require_composer = __commonJS((exports) => {
|
|
4799
4799
|
var node_process = __require("process");
|
|
4800
4800
|
var directives = require_directives();
|
|
@@ -4985,7 +4985,7 @@ ${end.comment}` : end.comment;
|
|
|
4985
4985
|
exports.Composer = Composer;
|
|
4986
4986
|
});
|
|
4987
4987
|
|
|
4988
|
-
// node_modules/yaml/dist/parse/cst-scalar.js
|
|
4988
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-scalar.js
|
|
4989
4989
|
var require_cst_scalar = __commonJS((exports) => {
|
|
4990
4990
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
4991
4991
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5175,7 +5175,7 @@ var require_cst_scalar = __commonJS((exports) => {
|
|
|
5175
5175
|
exports.setScalarValue = setScalarValue;
|
|
5176
5176
|
});
|
|
5177
5177
|
|
|
5178
|
-
// node_modules/yaml/dist/parse/cst-stringify.js
|
|
5178
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5179
5179
|
var require_cst_stringify = __commonJS((exports) => {
|
|
5180
5180
|
var stringify = (cst) => ("type" in cst) ? stringifyToken(cst) : stringifyItem(cst);
|
|
5181
5181
|
function stringifyToken(token) {
|
|
@@ -5233,7 +5233,7 @@ var require_cst_stringify = __commonJS((exports) => {
|
|
|
5233
5233
|
exports.stringify = stringify;
|
|
5234
5234
|
});
|
|
5235
5235
|
|
|
5236
|
-
// node_modules/yaml/dist/parse/cst-visit.js
|
|
5236
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst-visit.js
|
|
5237
5237
|
var require_cst_visit = __commonJS((exports) => {
|
|
5238
5238
|
var BREAK = Symbol("break visit");
|
|
5239
5239
|
var SKIP = Symbol("skip children");
|
|
@@ -5292,7 +5292,7 @@ var require_cst_visit = __commonJS((exports) => {
|
|
|
5292
5292
|
exports.visit = visit;
|
|
5293
5293
|
});
|
|
5294
5294
|
|
|
5295
|
-
// node_modules/yaml/dist/parse/cst.js
|
|
5295
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/cst.js
|
|
5296
5296
|
var require_cst = __commonJS((exports) => {
|
|
5297
5297
|
var cstScalar = require_cst_scalar();
|
|
5298
5298
|
var cstStringify = require_cst_stringify();
|
|
@@ -5393,7 +5393,7 @@ var require_cst = __commonJS((exports) => {
|
|
|
5393
5393
|
exports.tokenType = tokenType;
|
|
5394
5394
|
});
|
|
5395
5395
|
|
|
5396
|
-
// node_modules/yaml/dist/parse/lexer.js
|
|
5396
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/lexer.js
|
|
5397
5397
|
var require_lexer = __commonJS((exports) => {
|
|
5398
5398
|
var cst = require_cst();
|
|
5399
5399
|
function isEmpty(ch) {
|
|
@@ -5990,7 +5990,7 @@ var require_lexer = __commonJS((exports) => {
|
|
|
5990
5990
|
exports.Lexer = Lexer;
|
|
5991
5991
|
});
|
|
5992
5992
|
|
|
5993
|
-
// node_modules/yaml/dist/parse/line-counter.js
|
|
5993
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/line-counter.js
|
|
5994
5994
|
var require_line_counter = __commonJS((exports) => {
|
|
5995
5995
|
class LineCounter {
|
|
5996
5996
|
constructor() {
|
|
@@ -6018,7 +6018,7 @@ var require_line_counter = __commonJS((exports) => {
|
|
|
6018
6018
|
exports.LineCounter = LineCounter;
|
|
6019
6019
|
});
|
|
6020
6020
|
|
|
6021
|
-
// node_modules/yaml/dist/parse/parser.js
|
|
6021
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/parse/parser.js
|
|
6022
6022
|
var require_parser = __commonJS((exports) => {
|
|
6023
6023
|
var node_process = __require("process");
|
|
6024
6024
|
var cst = require_cst();
|
|
@@ -6874,7 +6874,7 @@ var require_parser = __commonJS((exports) => {
|
|
|
6874
6874
|
exports.Parser = Parser2;
|
|
6875
6875
|
});
|
|
6876
6876
|
|
|
6877
|
-
// node_modules/yaml/dist/public-api.js
|
|
6877
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/public-api.js
|
|
6878
6878
|
var require_public_api = __commonJS((exports) => {
|
|
6879
6879
|
var composer = require_composer();
|
|
6880
6880
|
var Document = require_Document();
|
|
@@ -6968,7 +6968,7 @@ var require_public_api = __commonJS((exports) => {
|
|
|
6968
6968
|
exports.stringify = stringify;
|
|
6969
6969
|
});
|
|
6970
6970
|
|
|
6971
|
-
// node_modules/openai/internal/auth/x509-transport-state.js
|
|
6971
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-transport-state.js
|
|
6972
6972
|
var require_x509_transport_state = __commonJS((exports, module) => {
|
|
6973
6973
|
if (typeof module !== "undefined" && module !== globalThis.module && typeof exports !== "undefined" && exports === exports) {
|
|
6974
6974
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -7003,6 +7003,91 @@ import { fileURLToPath as fileURLToPath2 } from "url";
|
|
|
7003
7003
|
import { randomBytes } from "crypto";
|
|
7004
7004
|
import { createInterface } from "readline/promises";
|
|
7005
7005
|
import { setTimeout as delay } from "timers/promises";
|
|
7006
|
+
// package.json
|
|
7007
|
+
var package_default = {
|
|
7008
|
+
name: "@jigging/jig",
|
|
7009
|
+
version: "0.1.0-alpha.12",
|
|
7010
|
+
description: "A local, secure host for admitted FLOW packages",
|
|
7011
|
+
license: "MPL-2.0",
|
|
7012
|
+
repository: {
|
|
7013
|
+
type: "git",
|
|
7014
|
+
url: "git+https://github.com/jiggy/jig.git",
|
|
7015
|
+
directory: "packages/jig"
|
|
7016
|
+
},
|
|
7017
|
+
homepage: "https://jig.md/",
|
|
7018
|
+
bugs: {
|
|
7019
|
+
url: "https://github.com/jiggy/jig/issues"
|
|
7020
|
+
},
|
|
7021
|
+
os: [
|
|
7022
|
+
"linux"
|
|
7023
|
+
],
|
|
7024
|
+
cpu: [
|
|
7025
|
+
"x64"
|
|
7026
|
+
],
|
|
7027
|
+
libc: [
|
|
7028
|
+
"glibc"
|
|
7029
|
+
],
|
|
7030
|
+
publishConfig: {
|
|
7031
|
+
access: "public"
|
|
7032
|
+
},
|
|
7033
|
+
type: "module",
|
|
7034
|
+
sideEffects: false,
|
|
7035
|
+
main: "./dist/index.js",
|
|
7036
|
+
types: "./dist/index.d.ts",
|
|
7037
|
+
exports: {
|
|
7038
|
+
".": {
|
|
7039
|
+
types: "./dist/index.d.ts",
|
|
7040
|
+
import: "./dist/index.js"
|
|
7041
|
+
}
|
|
7042
|
+
},
|
|
7043
|
+
bin: {
|
|
7044
|
+
jig: "./bin/jig"
|
|
7045
|
+
},
|
|
7046
|
+
files: [
|
|
7047
|
+
"bin/jig",
|
|
7048
|
+
"dist/index.js",
|
|
7049
|
+
"dist/index.d.ts",
|
|
7050
|
+
"dist/project/author.d.ts",
|
|
7051
|
+
"dist/json.d.ts",
|
|
7052
|
+
"libexec/installed-cli.js",
|
|
7053
|
+
"libexec/linux-rootless-supervisor.js",
|
|
7054
|
+
"libexec/evaluator/project-evaluator-worker.js",
|
|
7055
|
+
"libexec/evaluator/project-evaluator-sdk.bundle.js",
|
|
7056
|
+
"libexec/evaluator/project-authoring-1.schema.json",
|
|
7057
|
+
"libexec/agent/openai-agent-worker.js",
|
|
7058
|
+
"libexec/agent/openai.LICENSE",
|
|
7059
|
+
"libexec/agent/codex-agent-launcher.js",
|
|
7060
|
+
"libexec/agent/codex-acp.js",
|
|
7061
|
+
"libexec/agent/codex-acp.LICENSE",
|
|
7062
|
+
"libexec/agent/codex-requirements.toml",
|
|
7063
|
+
"libexec/agent/claude-agent-launcher.js",
|
|
7064
|
+
"libexec/agent/claude-agent-acp.js",
|
|
7065
|
+
"libexec/agent/claude-agent-acp.LICENSE",
|
|
7066
|
+
"libexec/agent/claude-agent-sdk.LICENSE",
|
|
7067
|
+
"libexec/agent/pi-agent-launcher.js",
|
|
7068
|
+
"libexec/agent/pi-acp.js",
|
|
7069
|
+
"libexec/agent/pi-acp.LICENSE",
|
|
7070
|
+
"libexec/preparation/bun-native-preparation-worker.js",
|
|
7071
|
+
"README.md",
|
|
7072
|
+
"LICENSE",
|
|
7073
|
+
"THIRD_PARTY_NOTICES"
|
|
7074
|
+
],
|
|
7075
|
+
dependencies: {
|
|
7076
|
+
"@oven/bun-linux-x64-baseline": "1.3.3"
|
|
7077
|
+
},
|
|
7078
|
+
devDependencies: {
|
|
7079
|
+
"@agentclientprotocol/claude-agent-acp": "0.73.0",
|
|
7080
|
+
"@agentclientprotocol/codex-acp": "1.8.0",
|
|
7081
|
+
"@agentclientprotocol/sdk": "1.4.0",
|
|
7082
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.257",
|
|
7083
|
+
"@types/node": "24.13.3",
|
|
7084
|
+
openai: "7.9.0",
|
|
7085
|
+
"pi-acp": "0.0.33",
|
|
7086
|
+
typescript: "7.0.2",
|
|
7087
|
+
yaml: "2.9.0",
|
|
7088
|
+
zod: "4.3.6"
|
|
7089
|
+
}
|
|
7090
|
+
};
|
|
7006
7091
|
|
|
7007
7092
|
// src/administration/project.ts
|
|
7008
7093
|
import { types as utilTypes } from "util";
|
|
@@ -9260,10 +9345,16 @@ function defineBinding(input) {
|
|
|
9260
9345
|
return normalizeBinding(input, false);
|
|
9261
9346
|
}
|
|
9262
9347
|
function flowRef(path) {
|
|
9263
|
-
return record({
|
|
9348
|
+
return record({
|
|
9349
|
+
kind: "flow",
|
|
9350
|
+
path: normalizeProjectPath(path, "Flow reference")
|
|
9351
|
+
});
|
|
9264
9352
|
}
|
|
9265
9353
|
function bindingRef(id) {
|
|
9266
|
-
return record({
|
|
9354
|
+
return record({
|
|
9355
|
+
kind: "binding",
|
|
9356
|
+
id: validateLocalName(id, "Binding reference")
|
|
9357
|
+
});
|
|
9267
9358
|
}
|
|
9268
9359
|
function normalizePackageBindingDefinition(input) {
|
|
9269
9360
|
return normalizeBinding(input, true);
|
|
@@ -9279,7 +9370,12 @@ function normalizeBinding(input, canonical) {
|
|
|
9279
9370
|
const packagePath = normalizeProjectPath(captured.package, "package");
|
|
9280
9371
|
const settings = Object.hasOwn(captured, "settings") ? expectJsonObject(captured.settings, "settings") : emptyRecord();
|
|
9281
9372
|
const slots = Object.hasOwn(captured, "slots") ? normalizeFlowSlots(captured.slots) : emptyRecord();
|
|
9282
|
-
return record({
|
|
9373
|
+
return record({
|
|
9374
|
+
kind: "package",
|
|
9375
|
+
package: packagePath,
|
|
9376
|
+
settings,
|
|
9377
|
+
slots
|
|
9378
|
+
});
|
|
9283
9379
|
}
|
|
9284
9380
|
function normalizeFlowSlots(value) {
|
|
9285
9381
|
const input = snapshotJsonObject(value, "slots");
|
|
@@ -9506,11 +9602,7 @@ class RootAdministrationError extends Error {
|
|
|
9506
9602
|
}
|
|
9507
9603
|
}
|
|
9508
9604
|
function normalizeStartRootRunRequest(value) {
|
|
9509
|
-
const root = exactRecord2(snapshotJson2(value, "start Run request"), [
|
|
9510
|
-
"submissionId",
|
|
9511
|
-
"target",
|
|
9512
|
-
"input"
|
|
9513
|
-
], "start Run request");
|
|
9605
|
+
const root = exactRecord2(snapshotJson2(value, "start Run request"), ["submissionId", "target", "input"], "start Run request");
|
|
9514
9606
|
const submissionLength = typeof root.submissionId === "string" ? scalarLength2(root.submissionId) : 0;
|
|
9515
9607
|
if (typeof root.submissionId !== "string" || submissionLength < 1 || submissionLength > 1024) {
|
|
9516
9608
|
invalidRequest2("submissionId must contain 1 to 1024 Unicode scalar values");
|
|
@@ -9634,12 +9726,7 @@ function scalarLength2(value) {
|
|
|
9634
9726
|
}
|
|
9635
9727
|
|
|
9636
9728
|
// src/bare-init.ts
|
|
9637
|
-
import {
|
|
9638
|
-
mkdir,
|
|
9639
|
-
rmdir,
|
|
9640
|
-
unlink,
|
|
9641
|
-
writeFile
|
|
9642
|
-
} from "fs/promises";
|
|
9729
|
+
import { mkdir, rmdir, unlink, writeFile } from "fs/promises";
|
|
9643
9730
|
import { join, resolve } from "path";
|
|
9644
9731
|
var DEFAULT_FILE_SYSTEM = {
|
|
9645
9732
|
mkdir,
|
|
@@ -9749,7 +9836,8 @@ function privateRootlessCommandLifetime(timeoutMs) {
|
|
|
9749
9836
|
var HELP = `Usage:
|
|
9750
9837
|
jig init --bare <directory>
|
|
9751
9838
|
jig review [project] [--yes]
|
|
9752
|
-
jig run <flow:path|binding:id> [--input JSON] [--timeout DURATION]
|
|
9839
|
+
jig run <flow:path|binding:id> [--input JSON] [--timeout DURATION]
|
|
9840
|
+
jig --version`;
|
|
9753
9841
|
var textEncoder = new TextEncoder;
|
|
9754
9842
|
var textDecoder = new TextDecoder;
|
|
9755
9843
|
|
|
@@ -9765,6 +9853,11 @@ class CliDiagnostic extends Error {
|
|
|
9765
9853
|
}
|
|
9766
9854
|
async function main(arguments_ = process.argv.slice(2), options = {}) {
|
|
9767
9855
|
const runtime = cliRuntime(options);
|
|
9856
|
+
if (arguments_.length === 1 && arguments_[0] === "--version") {
|
|
9857
|
+
runtime.writeOutput(`${package_default.version}
|
|
9858
|
+
`);
|
|
9859
|
+
return 0;
|
|
9860
|
+
}
|
|
9768
9861
|
if (isHelpRequest(arguments_)) {
|
|
9769
9862
|
runtime.writeOutput(`${HELP}
|
|
9770
9863
|
`);
|
|
@@ -10164,10 +10257,7 @@ async function resolvePrivateLinuxHostPath(candidates, resolve2 = realpath) {
|
|
|
10164
10257
|
throw new Error("the required system-owned host file is unavailable");
|
|
10165
10258
|
}
|
|
10166
10259
|
function resolvePrivateLinuxHostLoader(resolve2 = realpath) {
|
|
10167
|
-
return resolvePrivateLinuxHostPath([
|
|
10168
|
-
"/run/current-system/sw/share/nix-ld/lib/ld.so",
|
|
10169
|
-
"/lib64/ld-linux-x86-64.so.2"
|
|
10170
|
-
], resolve2);
|
|
10260
|
+
return resolvePrivateLinuxHostPath(["/run/current-system/sw/share/nix-ld/lib/ld.so", "/lib64/ld-linux-x86-64.so.2"], resolve2);
|
|
10171
10261
|
}
|
|
10172
10262
|
|
|
10173
10263
|
// src/internal/installed-bun-support.ts
|
|
@@ -10374,14 +10464,7 @@ import { types as utilTypes2 } from "util";
|
|
|
10374
10464
|
// src/internal/linux-rootless-acquisition.ts
|
|
10375
10465
|
import { execFile } from "child_process";
|
|
10376
10466
|
import { constants as constants2 } from "fs";
|
|
10377
|
-
import {
|
|
10378
|
-
access as access2,
|
|
10379
|
-
readFile,
|
|
10380
|
-
readdir,
|
|
10381
|
-
realpath as realpath3,
|
|
10382
|
-
stat,
|
|
10383
|
-
statfs
|
|
10384
|
-
} from "fs/promises";
|
|
10467
|
+
import { access as access2, readFile, readdir, realpath as realpath3, stat, statfs } from "fs/promises";
|
|
10385
10468
|
import { posix } from "path";
|
|
10386
10469
|
var CGROUP_ROOT = "/sys/fs/cgroup";
|
|
10387
10470
|
var CGROUP2_SUPER_MAGIC = 0x6367_7270n;
|
|
@@ -10996,16 +11079,7 @@ async function planPrivateLinuxOwnerStateAllocation(location) {
|
|
|
10996
11079
|
});
|
|
10997
11080
|
}
|
|
10998
11081
|
function normalizePrivateLinuxOwnerStateAllocationIdentity(value) {
|
|
10999
|
-
const record2 = exactRecord3(value, [
|
|
11000
|
-
"digest",
|
|
11001
|
-
"directory",
|
|
11002
|
-
"kind",
|
|
11003
|
-
"name",
|
|
11004
|
-
"ownerToken",
|
|
11005
|
-
"parent",
|
|
11006
|
-
"parentDevice",
|
|
11007
|
-
"parentInode"
|
|
11008
|
-
], "Linux owner-state allocation");
|
|
11082
|
+
const record2 = exactRecord3(value, ["digest", "directory", "kind", "name", "ownerToken", "parent", "parentDevice", "parentInode"], "Linux owner-state allocation");
|
|
11009
11083
|
if (record2.kind !== "private-linux-owner-state-allocation/1" || typeof record2.digest !== "string" || !DIGEST3.test(record2.digest) || typeof record2.parent !== "string" || !canonicalAbsolute(record2.parent) || typeof record2.parentDevice !== "string" || !nonnegativeIntegerText(record2.parentDevice) || typeof record2.parentInode !== "string" || !positiveIntegerText(record2.parentInode) || typeof record2.name !== "string" || !OWNER_NAME.test(record2.name) || typeof record2.directory !== "string" || record2.directory !== join3(record2.parent, record2.name) || typeof record2.ownerToken !== "string" || !TOKEN.test(record2.ownerToken)) {
|
|
11010
11084
|
throw new TypeError("Linux owner-state allocation is invalid");
|
|
11011
11085
|
}
|
|
@@ -11020,7 +11094,11 @@ function normalizePrivateLinuxOwnerStateAllocationIdentity(value) {
|
|
|
11020
11094
|
};
|
|
11021
11095
|
if (record2.digest !== privateDomainDigest("JIG-Rootless-Linux-Owner-Allocation/1", fields))
|
|
11022
11096
|
throw new TypeError("Linux owner-state allocation digest is invalid");
|
|
11023
|
-
return Object.freeze({
|
|
11097
|
+
return Object.freeze({
|
|
11098
|
+
...fields,
|
|
11099
|
+
kind: "private-linux-owner-state-allocation/1",
|
|
11100
|
+
digest: record2.digest
|
|
11101
|
+
});
|
|
11024
11102
|
}
|
|
11025
11103
|
async function cancelPrivateLinuxOwnerStateAllocation(value) {
|
|
11026
11104
|
const allocation = normalizePrivateLinuxOwnerStateAllocationIdentity(value);
|
|
@@ -11091,14 +11169,7 @@ async function allocationCancellationRecord(allocation, minimal) {
|
|
|
11091
11169
|
}
|
|
11092
11170
|
}
|
|
11093
11171
|
function normalizePrivateLinuxOwnerStateCancellation(value) {
|
|
11094
|
-
const record2 = exactRecord3(value, [
|
|
11095
|
-
"allocationDigest",
|
|
11096
|
-
"digest",
|
|
11097
|
-
"directoryDevice",
|
|
11098
|
-
"directoryInode",
|
|
11099
|
-
"kind",
|
|
11100
|
-
"state"
|
|
11101
|
-
], "Linux owner-state cancellation");
|
|
11172
|
+
const record2 = exactRecord3(value, ["allocationDigest", "digest", "directoryDevice", "directoryInode", "kind", "state"], "Linux owner-state cancellation");
|
|
11102
11173
|
if (record2.kind !== "private-linux-owner-state-cancellation/1" || typeof record2.digest !== "string" || !DIGEST3.test(record2.digest) || typeof record2.allocationDigest !== "string" || !DIGEST3.test(record2.allocationDigest) || typeof record2.directoryDevice !== "string" || !nonnegativeIntegerText(record2.directoryDevice) || typeof record2.directoryInode !== "string" || !positiveIntegerText(record2.directoryInode) || record2.state !== "cancelled") {
|
|
11103
11174
|
throw new TypeError("Linux owner-state cancellation is invalid");
|
|
11104
11175
|
}
|
|
@@ -11174,7 +11245,11 @@ function normalizePrivateLinuxSealedOwnerIdentity(value) {
|
|
|
11174
11245
|
};
|
|
11175
11246
|
if (record2.digest !== privateDomainDigest("JIG-Rootless-Linux-Sealed-Owner/1", fields))
|
|
11176
11247
|
throw new TypeError("sealed rootless Linux owner digest is invalid");
|
|
11177
|
-
return Object.freeze({
|
|
11248
|
+
return Object.freeze({
|
|
11249
|
+
...fields,
|
|
11250
|
+
kind: "private-linux-sealed-owner/1",
|
|
11251
|
+
digest: record2.digest
|
|
11252
|
+
});
|
|
11178
11253
|
}
|
|
11179
11254
|
function normalizePrivateLinuxPreparedOwnerIdentity(value) {
|
|
11180
11255
|
const record2 = exactRecord3(value, ["digest", "kind", "owner"], "prepared rootless Linux owner");
|
|
@@ -11185,15 +11260,7 @@ function normalizePrivateLinuxPreparedOwnerIdentity(value) {
|
|
|
11185
11260
|
return Object.freeze({ kind: record2.kind, digest: record2.digest, owner });
|
|
11186
11261
|
}
|
|
11187
11262
|
function normalizePrivateLinuxConfirmedEnforcementReceipt(value) {
|
|
11188
|
-
const record2 = exactRecord3(value, [
|
|
11189
|
-
"evidence",
|
|
11190
|
-
"exitCode",
|
|
11191
|
-
"fenced",
|
|
11192
|
-
"kind",
|
|
11193
|
-
"ownerDigest",
|
|
11194
|
-
"signal",
|
|
11195
|
-
"stopReason"
|
|
11196
|
-
], "rootless Linux enforcement receipt");
|
|
11263
|
+
const record2 = exactRecord3(value, ["evidence", "exitCode", "fenced", "kind", "ownerDigest", "signal", "stopReason"], "rootless Linux enforcement receipt");
|
|
11197
11264
|
if (record2.kind !== "private-linux-confirmed-enforcement/1" || typeof record2.ownerDigest !== "string" || !DIGEST3.test(record2.ownerDigest) || !STOP_REASONS.has(record2.stopReason) || !(record2.exitCode === null || Number.isSafeInteger(record2.exitCode)) || !(record2.signal === null || typeof record2.signal === "string") || record2.fenced !== true) {
|
|
11198
11265
|
throw new TypeError("rootless Linux enforcement receipt is invalid");
|
|
11199
11266
|
}
|
|
@@ -11208,14 +11275,7 @@ function normalizePrivateLinuxConfirmedEnforcementReceipt(value) {
|
|
|
11208
11275
|
});
|
|
11209
11276
|
}
|
|
11210
11277
|
function normalizePrivateLinuxOwnerStateReleaseReceipt(value) {
|
|
11211
|
-
const record2 = exactRecord3(value, [
|
|
11212
|
-
"allocationDigest",
|
|
11213
|
-
"digest",
|
|
11214
|
-
"directoryDevice",
|
|
11215
|
-
"directoryInode",
|
|
11216
|
-
"kind",
|
|
11217
|
-
"released"
|
|
11218
|
-
], "Linux owner-state release receipt");
|
|
11278
|
+
const record2 = exactRecord3(value, ["allocationDigest", "digest", "directoryDevice", "directoryInode", "kind", "released"], "Linux owner-state release receipt");
|
|
11219
11279
|
if (record2.kind !== "private-linux-owner-state-release/1" || typeof record2.digest !== "string" || !DIGEST3.test(record2.digest) || typeof record2.allocationDigest !== "string" || !DIGEST3.test(record2.allocationDigest) || typeof record2.directoryDevice !== "string" || !nonnegativeIntegerText(record2.directoryDevice) || typeof record2.directoryInode !== "string" || !positiveIntegerText(record2.directoryInode) || record2.released !== true)
|
|
11220
11280
|
throw new TypeError("Linux owner-state release receipt is invalid");
|
|
11221
11281
|
const fields = {
|
|
@@ -11228,7 +11288,11 @@ function normalizePrivateLinuxOwnerStateReleaseReceipt(value) {
|
|
|
11228
11288
|
if (record2.digest !== privateDomainDigest("JIG-Rootless-Linux-Owner-Release/1", fields)) {
|
|
11229
11289
|
throw new TypeError("Linux owner-state release receipt digest is invalid");
|
|
11230
11290
|
}
|
|
11231
|
-
return Object.freeze({
|
|
11291
|
+
return Object.freeze({
|
|
11292
|
+
...fields,
|
|
11293
|
+
kind: "private-linux-owner-state-release/1",
|
|
11294
|
+
digest: record2.digest
|
|
11295
|
+
});
|
|
11232
11296
|
}
|
|
11233
11297
|
async function releasePrivateLinuxOwnerState(ownerValue, proofValue) {
|
|
11234
11298
|
const reference = isAllocationValue(ownerValue) ? releaseReferenceForAllocation(ownerValue, proofValue) : releaseReferenceForOwner(ownerValue, proofValue);
|
|
@@ -11426,7 +11490,10 @@ function supervisorConfiguration(data) {
|
|
|
11426
11490
|
mechanismDigest: data.identity.mechanismDigest,
|
|
11427
11491
|
sealedPlanDigest: data.identity.sealedPlanDigest,
|
|
11428
11492
|
limits: data.sealedPlan.limits,
|
|
11429
|
-
readOnlyMounts: data.sealedPlan.readOnlyMounts.map(({ source, destination }) => ({
|
|
11493
|
+
readOnlyMounts: data.sealedPlan.readOnlyMounts.map(({ source, destination }) => ({
|
|
11494
|
+
source,
|
|
11495
|
+
destination
|
|
11496
|
+
})),
|
|
11430
11497
|
command: data.sealedPlan.command,
|
|
11431
11498
|
environment: data.sealedPlan.environment,
|
|
11432
11499
|
network: data.sealedPlan.network,
|
|
@@ -11576,7 +11643,10 @@ async function createOwnerState(source, nonce) {
|
|
|
11576
11643
|
if (source === undefined) {
|
|
11577
11644
|
automaticParent = await mkdtemp(join3(tmpdir(), "jig-rootless-owner-"));
|
|
11578
11645
|
await (await open(automaticParent, "r")).close();
|
|
11579
|
-
allocation = await planPrivateLinuxOwnerStateAllocation({
|
|
11646
|
+
allocation = await planPrivateLinuxOwnerStateAllocation({
|
|
11647
|
+
parent: automaticParent,
|
|
11648
|
+
name: `owner-${nonce}`
|
|
11649
|
+
});
|
|
11580
11650
|
} else if (isAllocationValue(source)) {
|
|
11581
11651
|
allocation = normalizePrivateLinuxOwnerStateAllocationIdentity(source);
|
|
11582
11652
|
} else {
|
|
@@ -11598,7 +11668,11 @@ async function createOwnerState(source, nonce) {
|
|
|
11598
11668
|
}
|
|
11599
11669
|
function ownerRecord(value) {
|
|
11600
11670
|
if (value.kind === "private-linux-owner-state-allocation/1") {
|
|
11601
|
-
return {
|
|
11671
|
+
return {
|
|
11672
|
+
allocationDigest: value.digest,
|
|
11673
|
+
directory: value.directory,
|
|
11674
|
+
ownerToken: value.ownerToken
|
|
11675
|
+
};
|
|
11602
11676
|
}
|
|
11603
11677
|
return {
|
|
11604
11678
|
allocationDigest: value.ownerStateAllocationDigest,
|
|
@@ -11664,7 +11738,15 @@ async function ensureOwnerRecord(reference) {
|
|
|
11664
11738
|
}
|
|
11665
11739
|
async function requireOwnerRecord(reference) {
|
|
11666
11740
|
const record2 = parseJsonLine(await readFile2(join3(reference.directory, "owner.json"), "utf8"), "rootless Linux owner record");
|
|
11667
|
-
const expectedKeys = reference.ownerDigest === undefined ? ["allocationDigest", "kind", "token"] : [
|
|
11741
|
+
const expectedKeys = reference.ownerDigest === undefined ? ["allocationDigest", "kind", "token"] : [
|
|
11742
|
+
"allocationDigest",
|
|
11743
|
+
"kind",
|
|
11744
|
+
"mechanismDigest",
|
|
11745
|
+
"ownerDigest",
|
|
11746
|
+
"runCgroup",
|
|
11747
|
+
"sealedPlanDigest",
|
|
11748
|
+
"token"
|
|
11749
|
+
];
|
|
11668
11750
|
if (record2.kind !== "private-linux-owner-state/1" || record2.allocationDigest !== reference.allocationDigest || record2.token !== reference.ownerToken || record2.ownerDigest !== reference.ownerDigest || record2.runCgroup !== reference.runCgroup || record2.mechanismDigest !== reference.mechanismDigest || record2.sealedPlanDigest !== reference.sealedPlanDigest || Object.keys(record2).sort().join("\x00") !== expectedKeys.sort().join("\x00")) {
|
|
11669
11751
|
throw new Error("rootless Linux owner record is invalid");
|
|
11670
11752
|
}
|
|
@@ -11843,7 +11925,28 @@ function normalizeFinal(value) {
|
|
|
11843
11925
|
evidence: normalizeEvidence(exact2.evidence)
|
|
11844
11926
|
});
|
|
11845
11927
|
}
|
|
11846
|
-
const allowed = record2.cleanupError === undefined ? [
|
|
11928
|
+
const allowed = record2.cleanupError === undefined ? [
|
|
11929
|
+
"evidence",
|
|
11930
|
+
"exitCode",
|
|
11931
|
+
"fenced",
|
|
11932
|
+
"ownerDigest",
|
|
11933
|
+
"runCgroup",
|
|
11934
|
+
"signal",
|
|
11935
|
+
"stopReason",
|
|
11936
|
+
"supervisorPid",
|
|
11937
|
+
"type"
|
|
11938
|
+
] : [
|
|
11939
|
+
"cleanupError",
|
|
11940
|
+
"evidence",
|
|
11941
|
+
"exitCode",
|
|
11942
|
+
"fenced",
|
|
11943
|
+
"ownerDigest",
|
|
11944
|
+
"runCgroup",
|
|
11945
|
+
"signal",
|
|
11946
|
+
"stopReason",
|
|
11947
|
+
"supervisorPid",
|
|
11948
|
+
"type"
|
|
11949
|
+
];
|
|
11847
11950
|
const exact = exactRecord3(record2, allowed, "rootless Linux supervisor terminal");
|
|
11848
11951
|
if (exact.type !== "terminal" || typeof exact.ownerDigest !== "string" || !DIGEST3.test(exact.ownerDigest) || typeof exact.runCgroup !== "string" || !canonicalCgroup(exact.runCgroup) || !safePositiveInteger(exact.supervisorPid) || !SUPERVISOR_STOP_REASONS.has(exact.stopReason) || !(exact.exitCode === null || Number.isSafeInteger(exact.exitCode)) || !(exact.signal === null || typeof exact.signal === "string") || typeof exact.fenced !== "boolean" || !(exact.cleanupError === undefined || typeof exact.cleanupError === "string")) {
|
|
11849
11952
|
throw new TypeError("rootless Linux supervisor terminal is invalid");
|
|
@@ -11944,7 +12047,12 @@ async function requireReleaseFiles(reference) {
|
|
|
11944
12047
|
await requireReleasableEntries(reference);
|
|
11945
12048
|
}
|
|
11946
12049
|
async function requireReleasableEntries(reference) {
|
|
11947
|
-
const allowed = new Set([
|
|
12050
|
+
const allowed = new Set([
|
|
12051
|
+
"owner.json",
|
|
12052
|
+
"claim.json",
|
|
12053
|
+
"release.json",
|
|
12054
|
+
...reference.expectedOwnerDigest === undefined ? [] : ["final.json"]
|
|
12055
|
+
]);
|
|
11948
12056
|
for (const name of await readdir2(reference.directory)) {
|
|
11949
12057
|
if (allowed.has(name))
|
|
11950
12058
|
continue;
|
|
@@ -12243,10 +12351,7 @@ function sameJson(left, right) {
|
|
|
12243
12351
|
var PRIVATE_OPENAI_AGENT_PROTOCOL = "jig-private-openai-agent/1";
|
|
12244
12352
|
var PRIVATE_OPENAI_AGENT_REQUEST_BYTES = JSON_1_LIMITS.bytes;
|
|
12245
12353
|
var PRIVATE_OPENAI_AGENT_RESPONSE_BYTES = JSON_1_LIMITS.bytes;
|
|
12246
|
-
var PRIVATE_OPENAI_APIS = Object.freeze([
|
|
12247
|
-
"responses",
|
|
12248
|
-
"chat-completions"
|
|
12249
|
-
]);
|
|
12354
|
+
var PRIVATE_OPENAI_APIS = Object.freeze(["responses", "chat-completions"]);
|
|
12250
12355
|
var MAX_INSTRUCTION_CHARACTERS = 1048576;
|
|
12251
12356
|
var MAX_RESPONSE_SCHEMA_BYTES = 256 * 1024;
|
|
12252
12357
|
var MAX_FAILURE_MESSAGE_BYTES = 4096;
|
|
@@ -13982,17 +14087,7 @@ async function projectPrivateCodexSubscriptionCredential(path) {
|
|
|
13982
14087
|
} catch {
|
|
13983
14088
|
throw new Error("Codex subscription credential is invalid");
|
|
13984
14089
|
}
|
|
13985
|
-
if (!isRecord(parsed) || !exactKeys2(parsed, [
|
|
13986
|
-
"OPENAI_API_KEY",
|
|
13987
|
-
"auth_mode",
|
|
13988
|
-
"last_refresh",
|
|
13989
|
-
"tokens"
|
|
13990
|
-
]) || parsed.auth_mode !== "chatgpt" || parsed.OPENAI_API_KEY !== null || !isRecord(parsed.tokens) || !exactKeys2(parsed.tokens, [
|
|
13991
|
-
"access_token",
|
|
13992
|
-
"account_id",
|
|
13993
|
-
"id_token",
|
|
13994
|
-
"refresh_token"
|
|
13995
|
-
])) {
|
|
14090
|
+
if (!isRecord(parsed) || !exactKeys2(parsed, ["OPENAI_API_KEY", "auth_mode", "last_refresh", "tokens"]) || parsed.auth_mode !== "chatgpt" || parsed.OPENAI_API_KEY !== null || !isRecord(parsed.tokens) || !exactKeys2(parsed.tokens, ["access_token", "account_id", "id_token", "refresh_token"])) {
|
|
13996
14091
|
throw new Error("Codex subscription credential is invalid");
|
|
13997
14092
|
}
|
|
13998
14093
|
const accessToken = parsed.tokens.access_token;
|
|
@@ -14174,17 +14269,7 @@ function requireSubscriptionCredential(value) {
|
|
|
14174
14269
|
} catch {
|
|
14175
14270
|
throw new Error("Codex subscription credential is invalid");
|
|
14176
14271
|
}
|
|
14177
|
-
if (!isRecord(parsed) || !exactKeys2(parsed, [
|
|
14178
|
-
"OPENAI_API_KEY",
|
|
14179
|
-
"auth_mode",
|
|
14180
|
-
"last_refresh",
|
|
14181
|
-
"tokens"
|
|
14182
|
-
]) || parsed.auth_mode !== "chatgptAuthTokens" || parsed.OPENAI_API_KEY !== null || typeof parsed.last_refresh !== "string" || !Number.isFinite(Date.parse(parsed.last_refresh)) || !isRecord(parsed.tokens) || !exactKeys2(parsed.tokens, [
|
|
14183
|
-
"access_token",
|
|
14184
|
-
"account_id",
|
|
14185
|
-
"id_token",
|
|
14186
|
-
"refresh_token"
|
|
14187
|
-
])) {
|
|
14272
|
+
if (!isRecord(parsed) || !exactKeys2(parsed, ["OPENAI_API_KEY", "auth_mode", "last_refresh", "tokens"]) || parsed.auth_mode !== "chatgptAuthTokens" || parsed.OPENAI_API_KEY !== null || typeof parsed.last_refresh !== "string" || !Number.isFinite(Date.parse(parsed.last_refresh)) || !isRecord(parsed.tokens) || !exactKeys2(parsed.tokens, ["access_token", "account_id", "id_token", "refresh_token"])) {
|
|
14188
14273
|
throw new Error("Codex subscription credential is invalid");
|
|
14189
14274
|
}
|
|
14190
14275
|
const {
|
|
@@ -14856,11 +14941,7 @@ var CONTROL_TIMEOUT_MS = 2000;
|
|
|
14856
14941
|
var CONTROL_OUTPUT_BYTES = 16 * 1024;
|
|
14857
14942
|
var COLLECTION_TIMEOUT_MS = 2000;
|
|
14858
14943
|
var MAX_MOVE_ROUNDS = 32;
|
|
14859
|
-
var BUN_POLICY2 = Object.freeze([
|
|
14860
|
-
"--no-env-file",
|
|
14861
|
-
"--no-install",
|
|
14862
|
-
"--config=/dev/null"
|
|
14863
|
-
]);
|
|
14944
|
+
var BUN_POLICY2 = Object.freeze(["--no-env-file", "--no-install", "--config=/dev/null"]);
|
|
14864
14945
|
async function acquireOrReexecutePrivateRootlessLinux(input = {}) {
|
|
14865
14946
|
const dependencies = input.dependencies ?? systemDependencies2;
|
|
14866
14947
|
const commandLifetimeMs = input.commandLifetimeMs ?? COMMAND_LIFETIME_MS;
|
|
@@ -15207,14 +15288,7 @@ async function terminateTransientScope(controlPath, unit, environment, child, co
|
|
|
15207
15288
|
await requirePathAbsent(controlGroup, COLLECTION_TIMEOUT_MS);
|
|
15208
15289
|
}
|
|
15209
15290
|
async function killTransientScope(controlPath, unit, environment) {
|
|
15210
|
-
await executeControl(controlPath, [
|
|
15211
|
-
"--user",
|
|
15212
|
-
"--wait",
|
|
15213
|
-
"kill",
|
|
15214
|
-
"--kill-whom=all",
|
|
15215
|
-
"--signal=KILL",
|
|
15216
|
-
unit
|
|
15217
|
-
], environment).catch(() => {
|
|
15291
|
+
await executeControl(controlPath, ["--user", "--wait", "kill", "--kill-whom=all", "--signal=KILL", unit], environment).catch(() => {
|
|
15218
15292
|
return;
|
|
15219
15293
|
});
|
|
15220
15294
|
}
|
|
@@ -15266,12 +15340,7 @@ async function requirePathAbsent(path, timeoutMs) {
|
|
|
15266
15340
|
}
|
|
15267
15341
|
}
|
|
15268
15342
|
async function unitProperties(controlPath, unit, environment) {
|
|
15269
|
-
const result = await executeControl(controlPath, [
|
|
15270
|
-
"--user",
|
|
15271
|
-
"show",
|
|
15272
|
-
"--property=LoadState,ActiveState,ControlGroup",
|
|
15273
|
-
unit
|
|
15274
|
-
], environment);
|
|
15343
|
+
const result = await executeControl(controlPath, ["--user", "show", "--property=LoadState,ActiveState,ControlGroup", unit], environment);
|
|
15275
15344
|
const properties = new Map;
|
|
15276
15345
|
for (const line of result.stdout.trim().split(`
|
|
15277
15346
|
`)) {
|
|
@@ -16099,7 +16168,7 @@ function errorText(error) {
|
|
|
16099
16168
|
return error instanceof Error ? error.message : String(error);
|
|
16100
16169
|
}
|
|
16101
16170
|
|
|
16102
|
-
// node_modules/yaml/dist/index.js
|
|
16171
|
+
// ../../node_modules/.bun/yaml@2.9.0/node_modules/yaml/dist/index.js
|
|
16103
16172
|
var composer = require_composer();
|
|
16104
16173
|
var Document = require_Document();
|
|
16105
16174
|
var Schema = require_Schema();
|
|
@@ -16293,13 +16362,7 @@ function convertScalar(node) {
|
|
|
16293
16362
|
return source;
|
|
16294
16363
|
}
|
|
16295
16364
|
function validateMetadata(root) {
|
|
16296
|
-
const known = new Set([
|
|
16297
|
-
"name",
|
|
16298
|
-
"description",
|
|
16299
|
-
"uses",
|
|
16300
|
-
"outcomes",
|
|
16301
|
-
"attachments"
|
|
16302
|
-
]);
|
|
16365
|
+
const known = new Set(["name", "description", "uses", "outcomes", "attachments"]);
|
|
16303
16366
|
const extensions = Object.create(null);
|
|
16304
16367
|
for (const [key, value] of Object.entries(root)) {
|
|
16305
16368
|
if (known.has(key))
|
|
@@ -16897,11 +16960,7 @@ async function openSelectedMember(root, name, projectPath, fingerprint2) {
|
|
|
16897
16960
|
try {
|
|
16898
16961
|
member = await openChildDirectory(root, name, projectPath);
|
|
16899
16962
|
} catch (error) {
|
|
16900
|
-
if (error instanceof CheckError && [
|
|
16901
|
-
"PROJECT_MEMBER_MISSING",
|
|
16902
|
-
"PROJECT_MEMBER_KIND",
|
|
16903
|
-
"PROJECT_SOURCE_SYMLINK"
|
|
16904
|
-
].includes(error.code)) {
|
|
16963
|
+
if (error instanceof CheckError && ["PROJECT_MEMBER_MISSING", "PROJECT_MEMBER_KIND", "PROJECT_SOURCE_SYMLINK"].includes(error.code)) {
|
|
16905
16964
|
sourceChanged3("selected Flow member changed before capture", projectPath);
|
|
16906
16965
|
}
|
|
16907
16966
|
throw error;
|
|
@@ -17013,10 +17072,7 @@ async function reopenObservedDirectory(project, projectPath) {
|
|
|
17013
17072
|
try {
|
|
17014
17073
|
return await openProjectDirectory(project, projectPath, true);
|
|
17015
17074
|
} catch (error) {
|
|
17016
|
-
if (error instanceof CheckError && [
|
|
17017
|
-
"PROJECT_MEMBER_KIND",
|
|
17018
|
-
"PROJECT_SOURCE_SYMLINK"
|
|
17019
|
-
].includes(error.code)) {
|
|
17075
|
+
if (error instanceof CheckError && ["PROJECT_MEMBER_KIND", "PROJECT_SOURCE_SYMLINK"].includes(error.code)) {
|
|
17020
17076
|
sourceChanged3("observed project directory changed during capture", projectPath);
|
|
17021
17077
|
}
|
|
17022
17078
|
throw error;
|
|
@@ -17219,14 +17275,7 @@ function directoryEntryName2(entry) {
|
|
|
17219
17275
|
// src/internal/package-artifact-store.ts
|
|
17220
17276
|
import { createHash as createHash4, randomUUID } from "crypto";
|
|
17221
17277
|
import { constants as constants9 } from "fs";
|
|
17222
|
-
import {
|
|
17223
|
-
link as link2,
|
|
17224
|
-
lstat as lstat10,
|
|
17225
|
-
mkdir as mkdir4,
|
|
17226
|
-
open as open5,
|
|
17227
|
-
opendir as opendir3,
|
|
17228
|
-
unlink as unlink3
|
|
17229
|
-
} from "fs/promises";
|
|
17278
|
+
import { link as link2, lstat as lstat10, mkdir as mkdir4, open as open5, opendir as opendir3, unlink as unlink3 } from "fs/promises";
|
|
17230
17279
|
import { tmpdir as tmpdir3 } from "os";
|
|
17231
17280
|
import { resolve as resolve4 } from "path";
|
|
17232
17281
|
var ARTIFACT_KIND = "flow-package/1";
|
|
@@ -18300,7 +18349,10 @@ function normalizeTarget2(input) {
|
|
|
18300
18349
|
const value = readClosedRecord2(input, ["kind", "path"], "Flow target");
|
|
18301
18350
|
if (typeof value.path !== "string")
|
|
18302
18351
|
throw new TypeError("Flow target path must be a string");
|
|
18303
|
-
return Object.freeze({
|
|
18352
|
+
return Object.freeze({
|
|
18353
|
+
kind: "flow",
|
|
18354
|
+
path: normalizeProjectPath(value.path, "Flow target")
|
|
18355
|
+
});
|
|
18304
18356
|
}
|
|
18305
18357
|
if (kind === "binding") {
|
|
18306
18358
|
const value = readClosedRecord2(input, ["kind", "id"], "Binding target");
|
|
@@ -18334,10 +18386,7 @@ function requireDigest(value, label) {
|
|
|
18334
18386
|
return value;
|
|
18335
18387
|
}
|
|
18336
18388
|
function isUnavailableCode(value) {
|
|
18337
|
-
return [
|
|
18338
|
-
"RUNTIME_UNAVAILABLE",
|
|
18339
|
-
"SANDBOX_UNAVAILABLE"
|
|
18340
|
-
].includes(value);
|
|
18389
|
+
return ["RUNTIME_UNAVAILABLE", "SANDBOX_UNAVAILABLE"].includes(value);
|
|
18341
18390
|
}
|
|
18342
18391
|
function compareTarget(left, right) {
|
|
18343
18392
|
const a = targetKey(left);
|
|
@@ -18522,7 +18571,10 @@ function createClosure(entries, modulePaths, captured, imports, sourceBytes) {
|
|
|
18522
18571
|
projectPath,
|
|
18523
18572
|
sourceBytes: sourceBytes2,
|
|
18524
18573
|
sourceDigest,
|
|
18525
|
-
imports: edges.map(({ specifier, projectPath: target }) => ({
|
|
18574
|
+
imports: edges.map(({ specifier, projectPath: target }) => ({
|
|
18575
|
+
specifier,
|
|
18576
|
+
projectPath: target
|
|
18577
|
+
}))
|
|
18526
18578
|
}))
|
|
18527
18579
|
};
|
|
18528
18580
|
let disposed = false;
|
|
@@ -18840,11 +18892,7 @@ async function evaluateAuthorClosure(options, captured, entryProjectPath, expect
|
|
|
18840
18892
|
const installedSupport = requirePrivateInstalledBunSupport(options.installedSupport);
|
|
18841
18893
|
await revalidatePrivateInstalledBunSupport(installedSupport).catch((error) => unavailable("PROJECT_EVALUATOR_UNAVAILABLE", `installed evaluator support is unavailable: ${errorText7(error)}`));
|
|
18842
18894
|
const runtimeMounts = installedSupport.runtimeMounts;
|
|
18843
|
-
const [
|
|
18844
|
-
workerBytes,
|
|
18845
|
-
sdkBytes,
|
|
18846
|
-
schemaBytes
|
|
18847
|
-
] = await Promise.all([
|
|
18895
|
+
const [workerBytes, sdkBytes, schemaBytes] = await Promise.all([
|
|
18848
18896
|
readFile6(join7(installedSupport.evaluatorSupportPath, "project-evaluator-worker.js")),
|
|
18849
18897
|
readFile6(join7(installedSupport.evaluatorSupportPath, "project-evaluator-sdk.bundle.js")),
|
|
18850
18898
|
readFile6(join7(installedSupport.evaluatorSupportPath, "project-authoring-1.schema.json"))
|
|
@@ -18886,7 +18934,10 @@ async function evaluateAuthorClosure(options, captured, entryProjectPath, expect
|
|
|
18886
18934
|
...runtimeMounts,
|
|
18887
18935
|
{ source: installedSupport.evaluatorSupportPath, destination: "/jig-evaluator" }
|
|
18888
18936
|
],
|
|
18889
|
-
command: [
|
|
18937
|
+
command: [
|
|
18938
|
+
installedSupport.sandboxExecutablePath,
|
|
18939
|
+
"/jig-evaluator/project-evaluator-worker.js"
|
|
18940
|
+
]
|
|
18890
18941
|
}, signal).catch((error) => unavailable("PROJECT_EVALUATOR_UNAVAILABLE", `cannot launch evaluator envelope: ${errorText7(error)}`));
|
|
18891
18942
|
if (!component.envelope.privateProcessFilesystem || !component.envelope.privateRuntimeDevices || !sameEvaluatorLimits(component.envelope.limits, limits) || component.envelope.trustedCoordinatorBunDigest !== installedSupport.executableDigest) {
|
|
18892
18943
|
await component.terminate().catch(() => {
|
|
@@ -19127,7 +19178,11 @@ async function captureDeclarationSource(projectRoot, source) {
|
|
|
19127
19178
|
const project = requirePrivateProjectRoot(projectRoot);
|
|
19128
19179
|
const normalized = validateSource2(source);
|
|
19129
19180
|
if (normalized === undefined) {
|
|
19130
|
-
return Object.freeze({
|
|
19181
|
+
return Object.freeze({
|
|
19182
|
+
observations: Object.freeze([]),
|
|
19183
|
+
members: Object.freeze([]),
|
|
19184
|
+
verify: async () => {}
|
|
19185
|
+
});
|
|
19131
19186
|
}
|
|
19132
19187
|
const members = [];
|
|
19133
19188
|
const privateObservations = [];
|
|
@@ -19300,7 +19355,12 @@ async function fingerprintRoot(directory, root) {
|
|
|
19300
19355
|
function member(projectPath, membership, configuredRoot) {
|
|
19301
19356
|
validateDeclarationPath(projectPath);
|
|
19302
19357
|
const name = projectPath.split("/").at(-1).slice(0, -3);
|
|
19303
|
-
return Object.freeze({
|
|
19358
|
+
return Object.freeze({
|
|
19359
|
+
id: name,
|
|
19360
|
+
projectPath,
|
|
19361
|
+
membership,
|
|
19362
|
+
...configuredRoot === undefined ? {} : { configuredRoot }
|
|
19363
|
+
});
|
|
19304
19364
|
}
|
|
19305
19365
|
function validateDeclarationPath(path) {
|
|
19306
19366
|
validateSourcePath(path);
|
|
@@ -19476,7 +19536,15 @@ async function closeAll(handles) {
|
|
|
19476
19536
|
});
|
|
19477
19537
|
}
|
|
19478
19538
|
function statFingerprint2(value) {
|
|
19479
|
-
return [
|
|
19539
|
+
return [
|
|
19540
|
+
value.dev,
|
|
19541
|
+
value.ino,
|
|
19542
|
+
value.nlink,
|
|
19543
|
+
value.size,
|
|
19544
|
+
value.mtimeNs,
|
|
19545
|
+
value.ctimeNs,
|
|
19546
|
+
value.mode
|
|
19547
|
+
].join(":");
|
|
19480
19548
|
}
|
|
19481
19549
|
function identityKey3(value) {
|
|
19482
19550
|
return `${value.dev}:${value.ino}`;
|
|
@@ -19583,7 +19651,10 @@ async function retainOpenedPackageProject(options, signal) {
|
|
|
19583
19651
|
await root.verify();
|
|
19584
19652
|
const linked = linkPackageProject({
|
|
19585
19653
|
flows: retainedFlows,
|
|
19586
|
-
bindings: bindings.map(({ sourcePath, evaluation }) => ({
|
|
19654
|
+
bindings: bindings.map(({ sourcePath, evaluation }) => ({
|
|
19655
|
+
sourcePath,
|
|
19656
|
+
definition: evaluation.value
|
|
19657
|
+
}))
|
|
19587
19658
|
}, PRIVATE_ACTIVATION_TARGET_LIMIT);
|
|
19588
19659
|
const rootIdentity = Object.freeze({
|
|
19589
19660
|
device: root.information.dev.toString(),
|
|
@@ -19806,10 +19877,7 @@ function resolveLinkedPackageProjectObservation(project, captureDigest, planning
|
|
|
19806
19877
|
if (requests.length !== snapshot2.entries.length) {
|
|
19807
19878
|
throw new TypeError("activation planning observation does not cover the exact target set");
|
|
19808
19879
|
}
|
|
19809
|
-
const plannedByTarget = new Map(snapshot2.entries.map((entry) => [
|
|
19810
|
-
privateActivationTargetKey(entry.target),
|
|
19811
|
-
entry
|
|
19812
|
-
]));
|
|
19880
|
+
const plannedByTarget = new Map(snapshot2.entries.map((entry) => [privateActivationTargetKey(entry.target), entry]));
|
|
19813
19881
|
const intrinsic = new Map;
|
|
19814
19882
|
for (const request of requests) {
|
|
19815
19883
|
const key = privateActivationTargetKey(request.target);
|
|
@@ -19833,7 +19901,10 @@ function resolveLinkedPackageProjectObservation(project, captureDigest, planning
|
|
|
19833
19901
|
project: semanticProject(linked),
|
|
19834
19902
|
targets: targets.map((target) => semanticTarget(target))
|
|
19835
19903
|
});
|
|
19836
|
-
const resolutionInputDigest = privateDomainDigest("JIG-Package-Project-Resolution-Input/1", {
|
|
19904
|
+
const resolutionInputDigest = privateDomainDigest("JIG-Package-Project-Resolution-Input/1", {
|
|
19905
|
+
captureDigest,
|
|
19906
|
+
planningObservationDigest: snapshot2.digest
|
|
19907
|
+
});
|
|
19837
19908
|
return Object.freeze({
|
|
19838
19909
|
kind: "package-project-resolution-observation/1",
|
|
19839
19910
|
admissible: false,
|
|
@@ -20319,11 +20390,7 @@ var ADAPTER_REVISION = "private-bun-direct/1";
|
|
|
20319
20390
|
var DEFAULT_SELECTOR = "bun";
|
|
20320
20391
|
var PACKAGE_DESTINATION = "/package";
|
|
20321
20392
|
var SCRATCH = "/work";
|
|
20322
|
-
var BUN_POLICY3 = Object.freeze([
|
|
20323
|
-
"--no-env-file",
|
|
20324
|
-
"--no-install",
|
|
20325
|
-
"--config=/dev/null"
|
|
20326
|
-
]);
|
|
20393
|
+
var BUN_POLICY3 = Object.freeze(["--no-env-file", "--no-install", "--config=/dev/null"]);
|
|
20327
20394
|
var RUNTIME_PREDICATES = Object.freeze([
|
|
20328
20395
|
"private-process-filesystem/1",
|
|
20329
20396
|
"private-runtime-devices/1"
|
|
@@ -20613,14 +20680,7 @@ function findPrivateActivationCandidateTargetV5(value, identity2) {
|
|
|
20613
20680
|
return artifact.candidate.targets.find((target) => privateActivationTargetKey(target.request.target) === key);
|
|
20614
20681
|
}
|
|
20615
20682
|
function createPrivateActivationPlanV2(input) {
|
|
20616
|
-
const source = exactObject3(input, [
|
|
20617
|
-
"candidate",
|
|
20618
|
-
"candidateRevision",
|
|
20619
|
-
"baseGeneration",
|
|
20620
|
-
"lockMode",
|
|
20621
|
-
"observedLock",
|
|
20622
|
-
"operation"
|
|
20623
|
-
], "activation plan/2 factory input");
|
|
20683
|
+
const source = exactObject3(input, ["candidate", "candidateRevision", "baseGeneration", "lockMode", "observedLock", "operation"], "activation plan/2 factory input");
|
|
20624
20684
|
const artifact = requirePrivateInertActivationCandidateV5(source.candidate);
|
|
20625
20685
|
const observedInput = plainObject(source.observedLock, "activation plan/2 observed input");
|
|
20626
20686
|
const observedState = dataField(observedInput, "state", "activation plan/2 observed input");
|
|
@@ -20718,7 +20778,10 @@ function normalizeCandidateV5(input, lock) {
|
|
|
20718
20778
|
const captureDigest = requireDigest3(root.captureDigest, "capture");
|
|
20719
20779
|
const planningObservationDigest = requireDigest3(root.planningObservationDigest, "planning observation");
|
|
20720
20780
|
const resolutionInputDigest = requireDigest3(root.resolutionInputDigest, "resolution input");
|
|
20721
|
-
const expectedResolutionInput = privateDomainDigest("JIG-Package-Project-Resolution-Input/1", {
|
|
20781
|
+
const expectedResolutionInput = privateDomainDigest("JIG-Package-Project-Resolution-Input/1", {
|
|
20782
|
+
captureDigest,
|
|
20783
|
+
planningObservationDigest
|
|
20784
|
+
});
|
|
20722
20785
|
if (resolutionInputDigest !== expectedResolutionInput) {
|
|
20723
20786
|
throw new TypeError("resolution input digest does not match capture and planning observation");
|
|
20724
20787
|
}
|
|
@@ -20820,7 +20883,10 @@ function normalizePlanV2(input, decodedLocks = false) {
|
|
|
20820
20883
|
const captureDigest = requireDigest3(root.captureDigest, "capture");
|
|
20821
20884
|
const planningObservationDigest = requireDigest3(root.planningObservationDigest, "planning observation");
|
|
20822
20885
|
const resolutionInputDigest = requireDigest3(root.resolutionInputDigest, "resolution input");
|
|
20823
|
-
if (resolutionInputDigest !== privateDomainDigest("JIG-Package-Project-Resolution-Input/1", {
|
|
20886
|
+
if (resolutionInputDigest !== privateDomainDigest("JIG-Package-Project-Resolution-Input/1", {
|
|
20887
|
+
captureDigest,
|
|
20888
|
+
planningObservationDigest
|
|
20889
|
+
})) {
|
|
20824
20890
|
throw new TypeError("activation plan/2 resolution input does not match capture and planning observation");
|
|
20825
20891
|
}
|
|
20826
20892
|
const observedInput = plainObject(root.observedLock, "activation plan/2 observed lock");
|
|
@@ -20873,14 +20939,7 @@ function normalizePlanV2(input, decodedLocks = false) {
|
|
|
20873
20939
|
});
|
|
20874
20940
|
}
|
|
20875
20941
|
function normalizeAdmission(input) {
|
|
20876
|
-
const root = exactObject3(input, [
|
|
20877
|
-
"kind",
|
|
20878
|
-
"baseGeneration",
|
|
20879
|
-
"planDigest",
|
|
20880
|
-
"candidateRevision",
|
|
20881
|
-
"candidateDigest",
|
|
20882
|
-
"lockDigest"
|
|
20883
|
-
], "activation admission");
|
|
20942
|
+
const root = exactObject3(input, ["kind", "baseGeneration", "planDigest", "candidateRevision", "candidateDigest", "lockDigest"], "activation admission");
|
|
20884
20943
|
if (root.kind !== ADMISSION_KIND) {
|
|
20885
20944
|
throw new TypeError(`activation admission kind must be ${ADMISSION_KIND}`);
|
|
20886
20945
|
}
|
|
@@ -21109,10 +21168,7 @@ function copiedBytes(value, label) {
|
|
|
21109
21168
|
return value.slice();
|
|
21110
21169
|
}
|
|
21111
21170
|
function isUnavailableCode2(value) {
|
|
21112
|
-
return [
|
|
21113
|
-
"RUNTIME_UNAVAILABLE",
|
|
21114
|
-
"SANDBOX_UNAVAILABLE"
|
|
21115
|
-
].includes(value);
|
|
21171
|
+
return ["RUNTIME_UNAVAILABLE", "SANDBOX_UNAVAILABLE"].includes(value);
|
|
21116
21172
|
}
|
|
21117
21173
|
function sameBytes2(left, right) {
|
|
21118
21174
|
if (left.byteLength !== right.byteLength)
|
|
@@ -21185,7 +21241,9 @@ function decodePrivateRootRunOrigin(bytes) {
|
|
|
21185
21241
|
}
|
|
21186
21242
|
function privateRootRunOriginDigest(value) {
|
|
21187
21243
|
const origin = normalizePrivateRootRunOrigin(value);
|
|
21188
|
-
return privateDomainDigest("JIG-Private-Root-Origin-External-Submission/1", {
|
|
21244
|
+
return privateDomainDigest("JIG-Private-Root-Origin-External-Submission/1", {
|
|
21245
|
+
submissionId: origin.submissionId
|
|
21246
|
+
});
|
|
21189
21247
|
}
|
|
21190
21248
|
function normalizePrivateRootRunIdentityInput(value) {
|
|
21191
21249
|
const root = exactRecord5(value, ["project", "origin", "requestDigest", "coordinatorEpoch"], "root Run identity input");
|
|
@@ -21238,7 +21296,10 @@ function decodePrivateRootRunRequest(bytes) {
|
|
|
21238
21296
|
return request;
|
|
21239
21297
|
}
|
|
21240
21298
|
function privateRootSubmissionDigest(request) {
|
|
21241
|
-
return privateDomainDigest("JIG-Private-Root-Submission/1", {
|
|
21299
|
+
return privateDomainDigest("JIG-Private-Root-Submission/1", {
|
|
21300
|
+
target: request.target,
|
|
21301
|
+
input: request.input
|
|
21302
|
+
});
|
|
21242
21303
|
}
|
|
21243
21304
|
function privateRootRequestDigest(request) {
|
|
21244
21305
|
return privateDomainDigest("JIG-Private-Root-Request/1", request);
|
|
@@ -21428,17 +21489,57 @@ var CREATE_ROOT_CHILD_OWNERS = "CREATE TABLE root_child_owners (parent_run_id TE
|
|
|
21428
21489
|
var CREATE_ROOT_TERMINALS = "CREATE TABLE root_terminals (run_id TEXT PRIMARY KEY REFERENCES root_runs(run_id), terminal_digest TEXT NOT NULL, terminal_bytes BLOB NOT NULL CHECK (length(terminal_bytes) BETWEEN 1 AND 16777216)) STRICT";
|
|
21429
21490
|
var CREATE_COORDINATOR_LOCK = "CREATE TABLE coordinator_lock (singleton INTEGER PRIMARY KEY CHECK (singleton = 1)) STRICT";
|
|
21430
21491
|
var EXPECTED_SCHEMA = Object.freeze([
|
|
21431
|
-
Object.freeze({
|
|
21492
|
+
Object.freeze({
|
|
21493
|
+
type: "table",
|
|
21494
|
+
name: "admission_head",
|
|
21495
|
+
table: "admission_head",
|
|
21496
|
+
sql: CREATE_ADMISSION_HEAD
|
|
21497
|
+
}),
|
|
21432
21498
|
Object.freeze({ type: "table", name: "admissions", table: "admissions", sql: CREATE_ADMISSIONS }),
|
|
21433
|
-
Object.freeze({
|
|
21499
|
+
Object.freeze({
|
|
21500
|
+
type: "table",
|
|
21501
|
+
name: "candidate_head",
|
|
21502
|
+
table: "candidate_head",
|
|
21503
|
+
sql: CREATE_CANDIDATE_HEAD
|
|
21504
|
+
}),
|
|
21434
21505
|
Object.freeze({ type: "table", name: "candidates", table: "candidates", sql: CREATE_CANDIDATES }),
|
|
21435
|
-
Object.freeze({
|
|
21436
|
-
|
|
21437
|
-
|
|
21438
|
-
|
|
21506
|
+
Object.freeze({
|
|
21507
|
+
type: "table",
|
|
21508
|
+
name: "coordinator_head",
|
|
21509
|
+
table: "coordinator_head",
|
|
21510
|
+
sql: CREATE_COORDINATOR_HEAD
|
|
21511
|
+
}),
|
|
21512
|
+
Object.freeze({
|
|
21513
|
+
type: "table",
|
|
21514
|
+
name: "review_plans",
|
|
21515
|
+
table: "review_plans",
|
|
21516
|
+
sql: CREATE_REVIEW_PLANS
|
|
21517
|
+
}),
|
|
21518
|
+
Object.freeze({
|
|
21519
|
+
type: "table",
|
|
21520
|
+
name: "root_child_owners",
|
|
21521
|
+
table: "root_child_owners",
|
|
21522
|
+
sql: CREATE_ROOT_CHILD_OWNERS
|
|
21523
|
+
}),
|
|
21524
|
+
Object.freeze({
|
|
21525
|
+
type: "table",
|
|
21526
|
+
name: "root_execution_lifecycles",
|
|
21527
|
+
table: "root_execution_lifecycles",
|
|
21528
|
+
sql: CREATE_ROOT_EXECUTION_LIFECYCLES
|
|
21529
|
+
}),
|
|
21439
21530
|
Object.freeze({ type: "table", name: "root_runs", table: "root_runs", sql: CREATE_ROOT_RUNS }),
|
|
21440
|
-
Object.freeze({
|
|
21441
|
-
|
|
21531
|
+
Object.freeze({
|
|
21532
|
+
type: "table",
|
|
21533
|
+
name: "root_spawn_intents",
|
|
21534
|
+
table: "root_spawn_intents",
|
|
21535
|
+
sql: CREATE_ROOT_SPAWN_INTENTS
|
|
21536
|
+
}),
|
|
21537
|
+
Object.freeze({
|
|
21538
|
+
type: "table",
|
|
21539
|
+
name: "root_terminals",
|
|
21540
|
+
table: "root_terminals",
|
|
21541
|
+
sql: CREATE_ROOT_TERMINALS
|
|
21542
|
+
})
|
|
21442
21543
|
]);
|
|
21443
21544
|
var authenticPlanningBases = new WeakMap;
|
|
21444
21545
|
var authenticCoordinators = new WeakMap;
|
|
@@ -22090,7 +22191,12 @@ async function closePrivateRootChildOwner(input) {
|
|
|
22090
22191
|
if (row.allocation_digest !== input.allocationDigest || row.sandbox_digest !== input.sandboxDigest || row.fence_digest !== input.fenceDigest || row.cleanup_digest !== input.cleanupDigest || row.sandbox_digest !== null && row.cleanup_digest === null) {
|
|
22091
22192
|
invalid("RUN_CHILD_OWNER_CONFLICT", "child owner close differs from durable ownership");
|
|
22092
22193
|
}
|
|
22093
|
-
const changed = runFinalized(owner.database, "DELETE FROM root_child_owners WHERE parent_run_id = ?1 AND operation_id = ?2 AND allocation_digest = ?3 AND scope_operation_id = ?4", [
|
|
22194
|
+
const changed = runFinalized(owner.database, "DELETE FROM root_child_owners WHERE parent_run_id = ?1 AND operation_id = ?2 AND allocation_digest = ?3 AND scope_operation_id = ?4", [
|
|
22195
|
+
input.parentRunId,
|
|
22196
|
+
input.operationId,
|
|
22197
|
+
input.allocationDigest,
|
|
22198
|
+
input.parentOperationId ?? ""
|
|
22199
|
+
]).changes;
|
|
22094
22200
|
if (changed !== 1)
|
|
22095
22201
|
corrupt("child owner close compare-and-delete failed");
|
|
22096
22202
|
});
|
|
@@ -22847,13 +22953,7 @@ function persistRootTerminal(database, runId, terminalValue) {
|
|
|
22847
22953
|
runFinalized(database, "INSERT INTO root_terminals(run_id, terminal_digest, terminal_bytes) VALUES (?1, ?2, ?3)", [runId, digest4, bytes]);
|
|
22848
22954
|
}
|
|
22849
22955
|
function normalizeRootExecutionAllocation(value) {
|
|
22850
|
-
const root = exactJsonObject(value, [
|
|
22851
|
-
"kind",
|
|
22852
|
-
"runId",
|
|
22853
|
-
"spawnIntentDigest",
|
|
22854
|
-
"coordinatorEpoch",
|
|
22855
|
-
"value"
|
|
22856
|
-
], "root execution allocation");
|
|
22956
|
+
const root = exactJsonObject(value, ["kind", "runId", "spawnIntentDigest", "coordinatorEpoch", "value"], "root execution allocation");
|
|
22857
22957
|
if (root.kind !== "private-root-execution-allocation/1") {
|
|
22858
22958
|
throw new TypeError("root execution allocation kind is invalid");
|
|
22859
22959
|
}
|
|
@@ -24975,11 +25075,14 @@ function projectCandidate(lock, targetValues) {
|
|
|
24975
25075
|
}));
|
|
24976
25076
|
return {
|
|
24977
25077
|
portablePolicy: {
|
|
24978
|
-
packages: Object.fromEntries(Object.entries(lock.packages).map(([path, value]) => [
|
|
24979
|
-
|
|
24980
|
-
|
|
24981
|
-
|
|
24982
|
-
|
|
25078
|
+
packages: Object.fromEntries(Object.entries(lock.packages).map(([path, value]) => [
|
|
25079
|
+
path,
|
|
25080
|
+
{
|
|
25081
|
+
digest: value.digest,
|
|
25082
|
+
directRun: value.directRun,
|
|
25083
|
+
uses: value.uses
|
|
25084
|
+
}
|
|
25085
|
+
])),
|
|
24983
25086
|
bindings: lock.bindings
|
|
24984
25087
|
},
|
|
24985
25088
|
targets
|
|
@@ -26428,14 +26531,18 @@ async function materializePrivatePackageLease(captured, value) {
|
|
|
26428
26531
|
try {
|
|
26429
26532
|
await mkdir7(childPath(parent.handle, allocation.name), { mode: 448 });
|
|
26430
26533
|
created = true;
|
|
26431
|
-
transactionInformation = await lstat15(childPath(parent.handle, allocation.name), {
|
|
26534
|
+
transactionInformation = await lstat15(childPath(parent.handle, allocation.name), {
|
|
26535
|
+
bigint: true
|
|
26536
|
+
});
|
|
26432
26537
|
const openedTransaction = await openOwnedDirectory(parent.handle, allocation.name, parent.information, [0o700n]);
|
|
26433
26538
|
transaction = openedTransaction.handle;
|
|
26434
26539
|
if (!sameIdentity8(transactionInformation, openedTransaction.information)) {
|
|
26435
26540
|
throw new Error("new materialization transaction changed before opening");
|
|
26436
26541
|
}
|
|
26437
26542
|
await mkdir7(childPath(transaction, PACKAGE_NAME), { mode: 448 });
|
|
26438
|
-
const openedPackage = await openOwnedDirectory(transaction, PACKAGE_NAME, parent.information, [
|
|
26543
|
+
const openedPackage = await openOwnedDirectory(transaction, PACKAGE_NAME, parent.information, [
|
|
26544
|
+
0o700n
|
|
26545
|
+
]);
|
|
26439
26546
|
packageDirectory = openedPackage.handle;
|
|
26440
26547
|
const directories = new Set([""]);
|
|
26441
26548
|
for (const file of captured.files) {
|
|
@@ -26667,7 +26774,9 @@ async function openActiveLease(identity2) {
|
|
|
26667
26774
|
const openedTransaction = await openOwnedDirectory(parent.handle, allocation.name, parent.information, [0o711n]);
|
|
26668
26775
|
transaction = openedTransaction.handle;
|
|
26669
26776
|
requireStoredIdentity(openedTransaction.information, identity2.transaction, "transaction");
|
|
26670
|
-
const openedPackage = await openOwnedDirectory(transaction, PACKAGE_NAME, parent.information, [
|
|
26777
|
+
const openedPackage = await openOwnedDirectory(transaction, PACKAGE_NAME, parent.information, [
|
|
26778
|
+
0o555n
|
|
26779
|
+
]);
|
|
26671
26780
|
packageDirectory = openedPackage.handle;
|
|
26672
26781
|
requireStoredIdentity(openedPackage.information, identity2.package, "package");
|
|
26673
26782
|
return {
|
|
@@ -27216,7 +27325,7 @@ import { join as join12 } from "path";
|
|
|
27216
27325
|
import { lstat as lstat16, mkdir as mkdir8, realpath as realpath11 } from "fs/promises";
|
|
27217
27326
|
import { join as join11 } from "path";
|
|
27218
27327
|
|
|
27219
|
-
// node_modules/@agentclientprotocol/sdk/dist/schema/index.js
|
|
27328
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/schema/index.js
|
|
27220
27329
|
var AGENT_METHODS = {
|
|
27221
27330
|
initialize: "initialize",
|
|
27222
27331
|
authenticate: "authenticate",
|
|
@@ -27268,7 +27377,7 @@ var PROTOCOL_METHODS = {
|
|
|
27268
27377
|
};
|
|
27269
27378
|
var PROTOCOL_VERSION = 1;
|
|
27270
27379
|
|
|
27271
|
-
// node_modules/zod/v4/classic/external.js
|
|
27380
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
|
|
27272
27381
|
var exports_external = {};
|
|
27273
27382
|
__export(exports_external, {
|
|
27274
27383
|
xor: () => xor,
|
|
@@ -27509,7 +27618,7 @@ __export(exports_external, {
|
|
|
27509
27618
|
$brand: () => $brand
|
|
27510
27619
|
});
|
|
27511
27620
|
|
|
27512
|
-
// node_modules/zod/v4/core/index.js
|
|
27621
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/index.js
|
|
27513
27622
|
var exports_core2 = {};
|
|
27514
27623
|
__export(exports_core2, {
|
|
27515
27624
|
version: () => version,
|
|
@@ -27787,7 +27896,7 @@ __export(exports_core2, {
|
|
|
27787
27896
|
$ZodAny: () => $ZodAny
|
|
27788
27897
|
});
|
|
27789
27898
|
|
|
27790
|
-
// node_modules/zod/v4/core/core.js
|
|
27899
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/core.js
|
|
27791
27900
|
var NEVER = Object.freeze({
|
|
27792
27901
|
status: "aborted"
|
|
27793
27902
|
});
|
|
@@ -27863,7 +27972,7 @@ function config(newConfig) {
|
|
|
27863
27972
|
Object.assign(globalConfig, newConfig);
|
|
27864
27973
|
return globalConfig;
|
|
27865
27974
|
}
|
|
27866
|
-
// node_modules/zod/v4/core/util.js
|
|
27975
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/util.js
|
|
27867
27976
|
var exports_util = {};
|
|
27868
27977
|
__export(exports_util, {
|
|
27869
27978
|
unwrapMessage: () => unwrapMessage,
|
|
@@ -28537,7 +28646,7 @@ class Class {
|
|
|
28537
28646
|
constructor(..._args) {}
|
|
28538
28647
|
}
|
|
28539
28648
|
|
|
28540
|
-
// node_modules/zod/v4/core/errors.js
|
|
28649
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/errors.js
|
|
28541
28650
|
var initializer = (inst, def) => {
|
|
28542
28651
|
inst.name = "$ZodError";
|
|
28543
28652
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -28674,7 +28783,7 @@ function prettifyError(error) {
|
|
|
28674
28783
|
`);
|
|
28675
28784
|
}
|
|
28676
28785
|
|
|
28677
|
-
// node_modules/zod/v4/core/parse.js
|
|
28786
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/parse.js
|
|
28678
28787
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
28679
28788
|
const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
|
|
28680
28789
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -28761,7 +28870,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
28761
28870
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
28762
28871
|
};
|
|
28763
28872
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
28764
|
-
// node_modules/zod/v4/core/regexes.js
|
|
28873
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/regexes.js
|
|
28765
28874
|
var exports_regexes = {};
|
|
28766
28875
|
__export(exports_regexes, {
|
|
28767
28876
|
xid: () => xid,
|
|
@@ -28918,7 +29027,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
28918
29027
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
28919
29028
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
28920
29029
|
|
|
28921
|
-
// node_modules/zod/v4/core/checks.js
|
|
29030
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/checks.js
|
|
28922
29031
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
28923
29032
|
var _a;
|
|
28924
29033
|
inst._zod ?? (inst._zod = {});
|
|
@@ -29465,7 +29574,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
29465
29574
|
};
|
|
29466
29575
|
});
|
|
29467
29576
|
|
|
29468
|
-
// node_modules/zod/v4/core/doc.js
|
|
29577
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/doc.js
|
|
29469
29578
|
class Doc {
|
|
29470
29579
|
constructor(args = []) {
|
|
29471
29580
|
this.content = [];
|
|
@@ -29503,14 +29612,14 @@ class Doc {
|
|
|
29503
29612
|
}
|
|
29504
29613
|
}
|
|
29505
29614
|
|
|
29506
|
-
// node_modules/zod/v4/core/versions.js
|
|
29615
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/versions.js
|
|
29507
29616
|
var version = {
|
|
29508
29617
|
major: 4,
|
|
29509
29618
|
minor: 3,
|
|
29510
29619
|
patch: 6
|
|
29511
29620
|
};
|
|
29512
29621
|
|
|
29513
|
-
// node_modules/zod/v4/core/schemas.js
|
|
29622
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/schemas.js
|
|
29514
29623
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
29515
29624
|
var _a;
|
|
29516
29625
|
inst ?? (inst = {});
|
|
@@ -31472,7 +31581,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
31472
31581
|
payload.issues.push(issue(_iss));
|
|
31473
31582
|
}
|
|
31474
31583
|
}
|
|
31475
|
-
// node_modules/zod/v4/locales/index.js
|
|
31584
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/index.js
|
|
31476
31585
|
var exports_locales = {};
|
|
31477
31586
|
__export(exports_locales, {
|
|
31478
31587
|
zhTW: () => zh_TW_default,
|
|
@@ -31526,7 +31635,7 @@ __export(exports_locales, {
|
|
|
31526
31635
|
ar: () => ar_default
|
|
31527
31636
|
});
|
|
31528
31637
|
|
|
31529
|
-
// node_modules/zod/v4/locales/ar.js
|
|
31638
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ar.js
|
|
31530
31639
|
var error = () => {
|
|
31531
31640
|
const Sizable = {
|
|
31532
31641
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -31632,7 +31741,7 @@ function ar_default() {
|
|
|
31632
31741
|
localeError: error()
|
|
31633
31742
|
};
|
|
31634
31743
|
}
|
|
31635
|
-
// node_modules/zod/v4/locales/az.js
|
|
31744
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/az.js
|
|
31636
31745
|
var error2 = () => {
|
|
31637
31746
|
const Sizable = {
|
|
31638
31747
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -31737,7 +31846,7 @@ function az_default() {
|
|
|
31737
31846
|
localeError: error2()
|
|
31738
31847
|
};
|
|
31739
31848
|
}
|
|
31740
|
-
// node_modules/zod/v4/locales/be.js
|
|
31849
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/be.js
|
|
31741
31850
|
function getBelarusianPlural(count, one, few, many) {
|
|
31742
31851
|
const absCount = Math.abs(count);
|
|
31743
31852
|
const lastDigit = absCount % 10;
|
|
@@ -31893,7 +32002,7 @@ function be_default() {
|
|
|
31893
32002
|
localeError: error3()
|
|
31894
32003
|
};
|
|
31895
32004
|
}
|
|
31896
|
-
// node_modules/zod/v4/locales/bg.js
|
|
32005
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/bg.js
|
|
31897
32006
|
var error4 = () => {
|
|
31898
32007
|
const Sizable = {
|
|
31899
32008
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -32013,7 +32122,7 @@ function bg_default() {
|
|
|
32013
32122
|
localeError: error4()
|
|
32014
32123
|
};
|
|
32015
32124
|
}
|
|
32016
|
-
// node_modules/zod/v4/locales/ca.js
|
|
32125
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ca.js
|
|
32017
32126
|
var error5 = () => {
|
|
32018
32127
|
const Sizable = {
|
|
32019
32128
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -32120,7 +32229,7 @@ function ca_default() {
|
|
|
32120
32229
|
localeError: error5()
|
|
32121
32230
|
};
|
|
32122
32231
|
}
|
|
32123
|
-
// node_modules/zod/v4/locales/cs.js
|
|
32232
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/cs.js
|
|
32124
32233
|
var error6 = () => {
|
|
32125
32234
|
const Sizable = {
|
|
32126
32235
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -32231,7 +32340,7 @@ function cs_default() {
|
|
|
32231
32340
|
localeError: error6()
|
|
32232
32341
|
};
|
|
32233
32342
|
}
|
|
32234
|
-
// node_modules/zod/v4/locales/da.js
|
|
32343
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/da.js
|
|
32235
32344
|
var error7 = () => {
|
|
32236
32345
|
const Sizable = {
|
|
32237
32346
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -32346,7 +32455,7 @@ function da_default() {
|
|
|
32346
32455
|
localeError: error7()
|
|
32347
32456
|
};
|
|
32348
32457
|
}
|
|
32349
|
-
// node_modules/zod/v4/locales/de.js
|
|
32458
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/de.js
|
|
32350
32459
|
var error8 = () => {
|
|
32351
32460
|
const Sizable = {
|
|
32352
32461
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -32454,7 +32563,7 @@ function de_default() {
|
|
|
32454
32563
|
localeError: error8()
|
|
32455
32564
|
};
|
|
32456
32565
|
}
|
|
32457
|
-
// node_modules/zod/v4/locales/en.js
|
|
32566
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/en.js
|
|
32458
32567
|
var error9 = () => {
|
|
32459
32568
|
const Sizable = {
|
|
32460
32569
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -32560,7 +32669,7 @@ function en_default() {
|
|
|
32560
32669
|
localeError: error9()
|
|
32561
32670
|
};
|
|
32562
32671
|
}
|
|
32563
|
-
// node_modules/zod/v4/locales/eo.js
|
|
32672
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/eo.js
|
|
32564
32673
|
var error10 = () => {
|
|
32565
32674
|
const Sizable = {
|
|
32566
32675
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -32669,7 +32778,7 @@ function eo_default() {
|
|
|
32669
32778
|
localeError: error10()
|
|
32670
32779
|
};
|
|
32671
32780
|
}
|
|
32672
|
-
// node_modules/zod/v4/locales/es.js
|
|
32781
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/es.js
|
|
32673
32782
|
var error11 = () => {
|
|
32674
32783
|
const Sizable = {
|
|
32675
32784
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -32801,7 +32910,7 @@ function es_default() {
|
|
|
32801
32910
|
localeError: error11()
|
|
32802
32911
|
};
|
|
32803
32912
|
}
|
|
32804
|
-
// node_modules/zod/v4/locales/fa.js
|
|
32913
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fa.js
|
|
32805
32914
|
var error12 = () => {
|
|
32806
32915
|
const Sizable = {
|
|
32807
32916
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -32915,7 +33024,7 @@ function fa_default() {
|
|
|
32915
33024
|
localeError: error12()
|
|
32916
33025
|
};
|
|
32917
33026
|
}
|
|
32918
|
-
// node_modules/zod/v4/locales/fi.js
|
|
33027
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fi.js
|
|
32919
33028
|
var error13 = () => {
|
|
32920
33029
|
const Sizable = {
|
|
32921
33030
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -33027,7 +33136,7 @@ function fi_default() {
|
|
|
33027
33136
|
localeError: error13()
|
|
33028
33137
|
};
|
|
33029
33138
|
}
|
|
33030
|
-
// node_modules/zod/v4/locales/fr.js
|
|
33139
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fr.js
|
|
33031
33140
|
var error14 = () => {
|
|
33032
33141
|
const Sizable = {
|
|
33033
33142
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -33135,7 +33244,7 @@ function fr_default() {
|
|
|
33135
33244
|
localeError: error14()
|
|
33136
33245
|
};
|
|
33137
33246
|
}
|
|
33138
|
-
// node_modules/zod/v4/locales/fr-CA.js
|
|
33247
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.js
|
|
33139
33248
|
var error15 = () => {
|
|
33140
33249
|
const Sizable = {
|
|
33141
33250
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -33242,7 +33351,7 @@ function fr_CA_default() {
|
|
|
33242
33351
|
localeError: error15()
|
|
33243
33352
|
};
|
|
33244
33353
|
}
|
|
33245
|
-
// node_modules/zod/v4/locales/he.js
|
|
33354
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/he.js
|
|
33246
33355
|
var error16 = () => {
|
|
33247
33356
|
const TypeNames = {
|
|
33248
33357
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -33435,7 +33544,7 @@ function he_default() {
|
|
|
33435
33544
|
localeError: error16()
|
|
33436
33545
|
};
|
|
33437
33546
|
}
|
|
33438
|
-
// node_modules/zod/v4/locales/hu.js
|
|
33547
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/hu.js
|
|
33439
33548
|
var error17 = () => {
|
|
33440
33549
|
const Sizable = {
|
|
33441
33550
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -33543,7 +33652,7 @@ function hu_default() {
|
|
|
33543
33652
|
localeError: error17()
|
|
33544
33653
|
};
|
|
33545
33654
|
}
|
|
33546
|
-
// node_modules/zod/v4/locales/hy.js
|
|
33655
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/hy.js
|
|
33547
33656
|
function getArmenianPlural(count, one, many) {
|
|
33548
33657
|
return Math.abs(count) === 1 ? one : many;
|
|
33549
33658
|
}
|
|
@@ -33690,7 +33799,7 @@ function hy_default() {
|
|
|
33690
33799
|
localeError: error18()
|
|
33691
33800
|
};
|
|
33692
33801
|
}
|
|
33693
|
-
// node_modules/zod/v4/locales/id.js
|
|
33802
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/id.js
|
|
33694
33803
|
var error19 = () => {
|
|
33695
33804
|
const Sizable = {
|
|
33696
33805
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -33796,7 +33905,7 @@ function id_default() {
|
|
|
33796
33905
|
localeError: error19()
|
|
33797
33906
|
};
|
|
33798
33907
|
}
|
|
33799
|
-
// node_modules/zod/v4/locales/is.js
|
|
33908
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/is.js
|
|
33800
33909
|
var error20 = () => {
|
|
33801
33910
|
const Sizable = {
|
|
33802
33911
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -33905,7 +34014,7 @@ function is_default() {
|
|
|
33905
34014
|
localeError: error20()
|
|
33906
34015
|
};
|
|
33907
34016
|
}
|
|
33908
|
-
// node_modules/zod/v4/locales/it.js
|
|
34017
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/it.js
|
|
33909
34018
|
var error21 = () => {
|
|
33910
34019
|
const Sizable = {
|
|
33911
34020
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -34013,7 +34122,7 @@ function it_default() {
|
|
|
34013
34122
|
localeError: error21()
|
|
34014
34123
|
};
|
|
34015
34124
|
}
|
|
34016
|
-
// node_modules/zod/v4/locales/ja.js
|
|
34125
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ja.js
|
|
34017
34126
|
var error22 = () => {
|
|
34018
34127
|
const Sizable = {
|
|
34019
34128
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -34120,7 +34229,7 @@ function ja_default() {
|
|
|
34120
34229
|
localeError: error22()
|
|
34121
34230
|
};
|
|
34122
34231
|
}
|
|
34123
|
-
// node_modules/zod/v4/locales/ka.js
|
|
34232
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ka.js
|
|
34124
34233
|
var error23 = () => {
|
|
34125
34234
|
const Sizable = {
|
|
34126
34235
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -34232,7 +34341,7 @@ function ka_default() {
|
|
|
34232
34341
|
localeError: error23()
|
|
34233
34342
|
};
|
|
34234
34343
|
}
|
|
34235
|
-
// node_modules/zod/v4/locales/km.js
|
|
34344
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/km.js
|
|
34236
34345
|
var error24 = () => {
|
|
34237
34346
|
const Sizable = {
|
|
34238
34347
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -34343,11 +34452,11 @@ function km_default() {
|
|
|
34343
34452
|
};
|
|
34344
34453
|
}
|
|
34345
34454
|
|
|
34346
|
-
// node_modules/zod/v4/locales/kh.js
|
|
34455
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/kh.js
|
|
34347
34456
|
function kh_default() {
|
|
34348
34457
|
return km_default();
|
|
34349
34458
|
}
|
|
34350
|
-
// node_modules/zod/v4/locales/ko.js
|
|
34459
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ko.js
|
|
34351
34460
|
var error25 = () => {
|
|
34352
34461
|
const Sizable = {
|
|
34353
34462
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -34458,7 +34567,7 @@ function ko_default() {
|
|
|
34458
34567
|
localeError: error25()
|
|
34459
34568
|
};
|
|
34460
34569
|
}
|
|
34461
|
-
// node_modules/zod/v4/locales/lt.js
|
|
34570
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/lt.js
|
|
34462
34571
|
var capitalizeFirstCharacter = (text) => {
|
|
34463
34572
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
34464
34573
|
};
|
|
@@ -34661,7 +34770,7 @@ function lt_default() {
|
|
|
34661
34770
|
localeError: error26()
|
|
34662
34771
|
};
|
|
34663
34772
|
}
|
|
34664
|
-
// node_modules/zod/v4/locales/mk.js
|
|
34773
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/mk.js
|
|
34665
34774
|
var error27 = () => {
|
|
34666
34775
|
const Sizable = {
|
|
34667
34776
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -34770,7 +34879,7 @@ function mk_default() {
|
|
|
34770
34879
|
localeError: error27()
|
|
34771
34880
|
};
|
|
34772
34881
|
}
|
|
34773
|
-
// node_modules/zod/v4/locales/ms.js
|
|
34882
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ms.js
|
|
34774
34883
|
var error28 = () => {
|
|
34775
34884
|
const Sizable = {
|
|
34776
34885
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -34877,7 +34986,7 @@ function ms_default() {
|
|
|
34877
34986
|
localeError: error28()
|
|
34878
34987
|
};
|
|
34879
34988
|
}
|
|
34880
|
-
// node_modules/zod/v4/locales/nl.js
|
|
34989
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/nl.js
|
|
34881
34990
|
var error29 = () => {
|
|
34882
34991
|
const Sizable = {
|
|
34883
34992
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -34987,7 +35096,7 @@ function nl_default() {
|
|
|
34987
35096
|
localeError: error29()
|
|
34988
35097
|
};
|
|
34989
35098
|
}
|
|
34990
|
-
// node_modules/zod/v4/locales/no.js
|
|
35099
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/no.js
|
|
34991
35100
|
var error30 = () => {
|
|
34992
35101
|
const Sizable = {
|
|
34993
35102
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -35095,7 +35204,7 @@ function no_default() {
|
|
|
35095
35204
|
localeError: error30()
|
|
35096
35205
|
};
|
|
35097
35206
|
}
|
|
35098
|
-
// node_modules/zod/v4/locales/ota.js
|
|
35207
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ota.js
|
|
35099
35208
|
var error31 = () => {
|
|
35100
35209
|
const Sizable = {
|
|
35101
35210
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -35204,7 +35313,7 @@ function ota_default() {
|
|
|
35204
35313
|
localeError: error31()
|
|
35205
35314
|
};
|
|
35206
35315
|
}
|
|
35207
|
-
// node_modules/zod/v4/locales/ps.js
|
|
35316
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ps.js
|
|
35208
35317
|
var error32 = () => {
|
|
35209
35318
|
const Sizable = {
|
|
35210
35319
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -35318,7 +35427,7 @@ function ps_default() {
|
|
|
35318
35427
|
localeError: error32()
|
|
35319
35428
|
};
|
|
35320
35429
|
}
|
|
35321
|
-
// node_modules/zod/v4/locales/pl.js
|
|
35430
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/pl.js
|
|
35322
35431
|
var error33 = () => {
|
|
35323
35432
|
const Sizable = {
|
|
35324
35433
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -35427,7 +35536,7 @@ function pl_default() {
|
|
|
35427
35536
|
localeError: error33()
|
|
35428
35537
|
};
|
|
35429
35538
|
}
|
|
35430
|
-
// node_modules/zod/v4/locales/pt.js
|
|
35539
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/pt.js
|
|
35431
35540
|
var error34 = () => {
|
|
35432
35541
|
const Sizable = {
|
|
35433
35542
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -35535,7 +35644,7 @@ function pt_default() {
|
|
|
35535
35644
|
localeError: error34()
|
|
35536
35645
|
};
|
|
35537
35646
|
}
|
|
35538
|
-
// node_modules/zod/v4/locales/ru.js
|
|
35647
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ru.js
|
|
35539
35648
|
function getRussianPlural(count, one, few, many) {
|
|
35540
35649
|
const absCount = Math.abs(count);
|
|
35541
35650
|
const lastDigit = absCount % 10;
|
|
@@ -35691,7 +35800,7 @@ function ru_default() {
|
|
|
35691
35800
|
localeError: error35()
|
|
35692
35801
|
};
|
|
35693
35802
|
}
|
|
35694
|
-
// node_modules/zod/v4/locales/sl.js
|
|
35803
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/sl.js
|
|
35695
35804
|
var error36 = () => {
|
|
35696
35805
|
const Sizable = {
|
|
35697
35806
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -35800,7 +35909,7 @@ function sl_default() {
|
|
|
35800
35909
|
localeError: error36()
|
|
35801
35910
|
};
|
|
35802
35911
|
}
|
|
35803
|
-
// node_modules/zod/v4/locales/sv.js
|
|
35912
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/sv.js
|
|
35804
35913
|
var error37 = () => {
|
|
35805
35914
|
const Sizable = {
|
|
35806
35915
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -35910,7 +36019,7 @@ function sv_default() {
|
|
|
35910
36019
|
localeError: error37()
|
|
35911
36020
|
};
|
|
35912
36021
|
}
|
|
35913
|
-
// node_modules/zod/v4/locales/ta.js
|
|
36022
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ta.js
|
|
35914
36023
|
var error38 = () => {
|
|
35915
36024
|
const Sizable = {
|
|
35916
36025
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -36020,7 +36129,7 @@ function ta_default() {
|
|
|
36020
36129
|
localeError: error38()
|
|
36021
36130
|
};
|
|
36022
36131
|
}
|
|
36023
|
-
// node_modules/zod/v4/locales/th.js
|
|
36132
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/th.js
|
|
36024
36133
|
var error39 = () => {
|
|
36025
36134
|
const Sizable = {
|
|
36026
36135
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -36130,7 +36239,7 @@ function th_default() {
|
|
|
36130
36239
|
localeError: error39()
|
|
36131
36240
|
};
|
|
36132
36241
|
}
|
|
36133
|
-
// node_modules/zod/v4/locales/tr.js
|
|
36242
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/tr.js
|
|
36134
36243
|
var error40 = () => {
|
|
36135
36244
|
const Sizable = {
|
|
36136
36245
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -36235,7 +36344,7 @@ function tr_default() {
|
|
|
36235
36344
|
localeError: error40()
|
|
36236
36345
|
};
|
|
36237
36346
|
}
|
|
36238
|
-
// node_modules/zod/v4/locales/uk.js
|
|
36347
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/uk.js
|
|
36239
36348
|
var error41 = () => {
|
|
36240
36349
|
const Sizable = {
|
|
36241
36350
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -36344,11 +36453,11 @@ function uk_default() {
|
|
|
36344
36453
|
};
|
|
36345
36454
|
}
|
|
36346
36455
|
|
|
36347
|
-
// node_modules/zod/v4/locales/ua.js
|
|
36456
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ua.js
|
|
36348
36457
|
function ua_default() {
|
|
36349
36458
|
return uk_default();
|
|
36350
36459
|
}
|
|
36351
|
-
// node_modules/zod/v4/locales/ur.js
|
|
36460
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/ur.js
|
|
36352
36461
|
var error42 = () => {
|
|
36353
36462
|
const Sizable = {
|
|
36354
36463
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -36458,7 +36567,7 @@ function ur_default() {
|
|
|
36458
36567
|
localeError: error42()
|
|
36459
36568
|
};
|
|
36460
36569
|
}
|
|
36461
|
-
// node_modules/zod/v4/locales/uz.js
|
|
36570
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/uz.js
|
|
36462
36571
|
var error43 = () => {
|
|
36463
36572
|
const Sizable = {
|
|
36464
36573
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -36567,7 +36676,7 @@ function uz_default() {
|
|
|
36567
36676
|
localeError: error43()
|
|
36568
36677
|
};
|
|
36569
36678
|
}
|
|
36570
|
-
// node_modules/zod/v4/locales/vi.js
|
|
36679
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/vi.js
|
|
36571
36680
|
var error44 = () => {
|
|
36572
36681
|
const Sizable = {
|
|
36573
36682
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -36675,7 +36784,7 @@ function vi_default() {
|
|
|
36675
36784
|
localeError: error44()
|
|
36676
36785
|
};
|
|
36677
36786
|
}
|
|
36678
|
-
// node_modules/zod/v4/locales/zh-CN.js
|
|
36787
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.js
|
|
36679
36788
|
var error45 = () => {
|
|
36680
36789
|
const Sizable = {
|
|
36681
36790
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -36784,7 +36893,7 @@ function zh_CN_default() {
|
|
|
36784
36893
|
localeError: error45()
|
|
36785
36894
|
};
|
|
36786
36895
|
}
|
|
36787
|
-
// node_modules/zod/v4/locales/zh-TW.js
|
|
36896
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.js
|
|
36788
36897
|
var error46 = () => {
|
|
36789
36898
|
const Sizable = {
|
|
36790
36899
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -36891,7 +37000,7 @@ function zh_TW_default() {
|
|
|
36891
37000
|
localeError: error46()
|
|
36892
37001
|
};
|
|
36893
37002
|
}
|
|
36894
|
-
// node_modules/zod/v4/locales/yo.js
|
|
37003
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/locales/yo.js
|
|
36895
37004
|
var error47 = () => {
|
|
36896
37005
|
const Sizable = {
|
|
36897
37006
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -36998,7 +37107,7 @@ function yo_default() {
|
|
|
36998
37107
|
localeError: error47()
|
|
36999
37108
|
};
|
|
37000
37109
|
}
|
|
37001
|
-
// node_modules/zod/v4/core/registries.js
|
|
37110
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/registries.js
|
|
37002
37111
|
var _a;
|
|
37003
37112
|
var $output = Symbol("ZodOutput");
|
|
37004
37113
|
var $input = Symbol("ZodInput");
|
|
@@ -37048,7 +37157,7 @@ function registry() {
|
|
|
37048
37157
|
}
|
|
37049
37158
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
37050
37159
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
37051
|
-
// node_modules/zod/v4/core/api.js
|
|
37160
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/api.js
|
|
37052
37161
|
function _string(Class2, params) {
|
|
37053
37162
|
return new Class2({
|
|
37054
37163
|
type: "string",
|
|
@@ -37968,7 +38077,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
37968
38077
|
const inst = new Class2(def);
|
|
37969
38078
|
return inst;
|
|
37970
38079
|
}
|
|
37971
|
-
// node_modules/zod/v4/core/to-json-schema.js
|
|
38080
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.js
|
|
37972
38081
|
function initializeContext(params) {
|
|
37973
38082
|
let target = params?.target ?? "draft-2020-12";
|
|
37974
38083
|
if (target === "draft-4")
|
|
@@ -38313,7 +38422,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
38313
38422
|
extractDefs(ctx, schema);
|
|
38314
38423
|
return finalize(ctx, schema);
|
|
38315
38424
|
};
|
|
38316
|
-
// node_modules/zod/v4/core/json-schema-processors.js
|
|
38425
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.js
|
|
38317
38426
|
var formatMap = {
|
|
38318
38427
|
guid: "uuid",
|
|
38319
38428
|
url: "uri",
|
|
@@ -38858,7 +38967,7 @@ function toJSONSchema(input, params) {
|
|
|
38858
38967
|
extractDefs(ctx, input);
|
|
38859
38968
|
return finalize(ctx, input);
|
|
38860
38969
|
}
|
|
38861
|
-
// node_modules/zod/v4/core/json-schema-generator.js
|
|
38970
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.js
|
|
38862
38971
|
class JSONSchemaGenerator {
|
|
38863
38972
|
get metadataRegistry() {
|
|
38864
38973
|
return this.ctx.metadataRegistry;
|
|
@@ -38917,9 +39026,9 @@ class JSONSchemaGenerator {
|
|
|
38917
39026
|
return plainResult;
|
|
38918
39027
|
}
|
|
38919
39028
|
}
|
|
38920
|
-
// node_modules/zod/v4/core/json-schema.js
|
|
39029
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/core/json-schema.js
|
|
38921
39030
|
var exports_json_schema = {};
|
|
38922
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
39031
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
|
|
38923
39032
|
var exports_schemas2 = {};
|
|
38924
39033
|
__export(exports_schemas2, {
|
|
38925
39034
|
xor: () => xor,
|
|
@@ -39088,7 +39197,7 @@ __export(exports_schemas2, {
|
|
|
39088
39197
|
ZodAny: () => ZodAny
|
|
39089
39198
|
});
|
|
39090
39199
|
|
|
39091
|
-
// node_modules/zod/v4/classic/checks.js
|
|
39200
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/checks.js
|
|
39092
39201
|
var exports_checks2 = {};
|
|
39093
39202
|
__export(exports_checks2, {
|
|
39094
39203
|
uppercase: () => _uppercase,
|
|
@@ -39122,7 +39231,7 @@ __export(exports_checks2, {
|
|
|
39122
39231
|
endsWith: () => _endsWith
|
|
39123
39232
|
});
|
|
39124
39233
|
|
|
39125
|
-
// node_modules/zod/v4/classic/iso.js
|
|
39234
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/iso.js
|
|
39126
39235
|
var exports_iso = {};
|
|
39127
39236
|
__export(exports_iso, {
|
|
39128
39237
|
time: () => time2,
|
|
@@ -39163,7 +39272,7 @@ function duration2(params) {
|
|
|
39163
39272
|
return _isoDuration(ZodISODuration, params);
|
|
39164
39273
|
}
|
|
39165
39274
|
|
|
39166
|
-
// node_modules/zod/v4/classic/errors.js
|
|
39275
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/errors.js
|
|
39167
39276
|
var initializer2 = (inst, issues) => {
|
|
39168
39277
|
$ZodError.init(inst, issues);
|
|
39169
39278
|
inst.name = "ZodError";
|
|
@@ -39198,7 +39307,7 @@ var ZodRealError = $constructor("ZodError", initializer2, {
|
|
|
39198
39307
|
Parent: Error
|
|
39199
39308
|
});
|
|
39200
39309
|
|
|
39201
|
-
// node_modules/zod/v4/classic/parse.js
|
|
39310
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/parse.js
|
|
39202
39311
|
var parse3 = /* @__PURE__ */ _parse(ZodRealError);
|
|
39203
39312
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
39204
39313
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -39212,7 +39321,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
39212
39321
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
39213
39322
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
39214
39323
|
|
|
39215
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
39324
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/schemas.js
|
|
39216
39325
|
var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
39217
39326
|
$ZodType.init(inst, def);
|
|
39218
39327
|
Object.assign(inst["~standard"], {
|
|
@@ -40288,7 +40397,7 @@ function json(params) {
|
|
|
40288
40397
|
function preprocess(fn, schema) {
|
|
40289
40398
|
return pipe(transform(fn), schema);
|
|
40290
40399
|
}
|
|
40291
|
-
// node_modules/zod/v4/classic/compat.js
|
|
40400
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/compat.js
|
|
40292
40401
|
var ZodIssueCode = {
|
|
40293
40402
|
invalid_type: "invalid_type",
|
|
40294
40403
|
too_big: "too_big",
|
|
@@ -40312,7 +40421,7 @@ function getErrorMap() {
|
|
|
40312
40421
|
}
|
|
40313
40422
|
var ZodFirstPartyTypeKind;
|
|
40314
40423
|
(function(ZodFirstPartyTypeKind2) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
40315
|
-
// node_modules/zod/v4/classic/from-json-schema.js
|
|
40424
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.js
|
|
40316
40425
|
var z = {
|
|
40317
40426
|
...exports_schemas2,
|
|
40318
40427
|
...exports_checks2,
|
|
@@ -40773,7 +40882,7 @@ function fromJSONSchema(schema, params) {
|
|
|
40773
40882
|
};
|
|
40774
40883
|
return convertSchema(schema, ctx);
|
|
40775
40884
|
}
|
|
40776
|
-
// node_modules/zod/v4/classic/coerce.js
|
|
40885
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/coerce.js
|
|
40777
40886
|
var exports_coerce = {};
|
|
40778
40887
|
__export(exports_coerce, {
|
|
40779
40888
|
string: () => string3,
|
|
@@ -40798,9 +40907,9 @@ function date4(params) {
|
|
|
40798
40907
|
return _coercedDate(ZodDate, params);
|
|
40799
40908
|
}
|
|
40800
40909
|
|
|
40801
|
-
// node_modules/zod/v4/classic/external.js
|
|
40910
|
+
// ../../node_modules/.bun/zod@4.3.6/node_modules/zod/v4/classic/external.js
|
|
40802
40911
|
config(en_default());
|
|
40803
|
-
// node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js
|
|
40912
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js
|
|
40804
40913
|
var skippedItem = Symbol("skippedItem");
|
|
40805
40914
|
function defaultOnError(schema, fallback) {
|
|
40806
40915
|
return schema.catch(fallback);
|
|
@@ -40863,7 +40972,7 @@ function vecSkipError(itemSchema) {
|
|
|
40863
40972
|
return exports_external.array(itemSchema.catch(skippedItem)).transform((items) => items.filter((item) => item !== skippedItem));
|
|
40864
40973
|
}
|
|
40865
40974
|
|
|
40866
|
-
// node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js
|
|
40975
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js
|
|
40867
40976
|
var zRequestId = union([number2(), string2()]).nullable();
|
|
40868
40977
|
var zSessionId = string2();
|
|
40869
40978
|
var zWriteTextFileRequest = object2({
|
|
@@ -43135,7 +43244,7 @@ var zCancelRequestNotification = object2({
|
|
|
43135
43244
|
})
|
|
43136
43245
|
});
|
|
43137
43246
|
|
|
43138
|
-
// node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js
|
|
43247
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js
|
|
43139
43248
|
var CANCEL_REQUEST_METHOD = "$/cancel_request";
|
|
43140
43249
|
function isRequestMessage(value) {
|
|
43141
43250
|
return isJsonRpcEnvelope(value) && "id" in value && typeof value["method"] === "string" && isJsonRpcId(value["id"]);
|
|
@@ -43902,7 +44011,7 @@ function protocolErrorResponse(error48) {
|
|
|
43902
44011
|
};
|
|
43903
44012
|
}
|
|
43904
44013
|
|
|
43905
|
-
// node_modules/@agentclientprotocol/sdk/dist/line-buffer.js
|
|
44014
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js
|
|
43906
44015
|
var newline = 10;
|
|
43907
44016
|
|
|
43908
44017
|
class LineBuffer {
|
|
@@ -43947,7 +44056,7 @@ class LineBuffer {
|
|
|
43947
44056
|
}
|
|
43948
44057
|
}
|
|
43949
44058
|
|
|
43950
|
-
// node_modules/@agentclientprotocol/sdk/dist/stream.js
|
|
44059
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/stream.js
|
|
43951
44060
|
function ndJsonStream(output, input) {
|
|
43952
44061
|
const textEncoder2 = new TextEncoder;
|
|
43953
44062
|
const textDecoder2 = new TextDecoder;
|
|
@@ -44047,7 +44156,7 @@ function ndJsonStream(output, input) {
|
|
|
44047
44156
|
return { readable, writable };
|
|
44048
44157
|
}
|
|
44049
44158
|
|
|
44050
|
-
// node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js
|
|
44159
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js
|
|
44051
44160
|
var zGuardCreateElicitationRequestForm = zElicitationFormMode.and(object2({ mode: literal("form") })).and(object2({ message: string2() }));
|
|
44052
44161
|
var zGuardCreateElicitationRequestUrl = zElicitationUrlMode.and(object2({ mode: literal("url") })).and(object2({ message: string2() }));
|
|
44053
44162
|
var zGuardCreateElicitationRequestCustom = union([zElicitationSessionScope, zElicitationRequestScope]).and(object2({ message: string2() }));
|
|
@@ -44064,7 +44173,7 @@ var zGuardCreateElicitationResponseDecline = object2({
|
|
|
44064
44173
|
var zGuardCreateElicitationResponseCancel = object2({
|
|
44065
44174
|
action: literal("cancel")
|
|
44066
44175
|
});
|
|
44067
|
-
// node_modules/@agentclientprotocol/sdk/dist/acp.js
|
|
44176
|
+
// ../../node_modules/.bun/@agentclientprotocol+sdk@1.4.0+3c5d820c62823f0b/node_modules/@agentclientprotocol/sdk/dist/acp.js
|
|
44068
44177
|
function ndJsonStream2(output, input) {
|
|
44069
44178
|
return ndJsonStream(output, input);
|
|
44070
44179
|
}
|
|
@@ -45051,7 +45160,7 @@ async function boundedClose(closing) {
|
|
|
45051
45160
|
}
|
|
45052
45161
|
}
|
|
45053
45162
|
|
|
45054
|
-
// node_modules/openai/internal/tslib.mjs
|
|
45163
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/tslib.mjs
|
|
45055
45164
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
45056
45165
|
if (kind === "m")
|
|
45057
45166
|
throw new TypeError("Private method is not writable");
|
|
@@ -45069,7 +45178,7 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
|
45069
45178
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
45070
45179
|
}
|
|
45071
45180
|
|
|
45072
|
-
// node_modules/openai/internal/utils/uuid.mjs
|
|
45181
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/uuid.mjs
|
|
45073
45182
|
var uuid42 = function() {
|
|
45074
45183
|
const { crypto: crypto2 } = globalThis;
|
|
45075
45184
|
if (crypto2?.randomUUID) {
|
|
@@ -45081,7 +45190,7 @@ var uuid42 = function() {
|
|
|
45081
45190
|
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ randomByte() & 15 >> +c / 4).toString(16));
|
|
45082
45191
|
};
|
|
45083
45192
|
|
|
45084
|
-
// node_modules/openai/internal/errors.mjs
|
|
45193
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/errors.mjs
|
|
45085
45194
|
function isAbortError2(err) {
|
|
45086
45195
|
return typeof err === "object" && err !== null && (("name" in err) && err.name === "AbortError" || ("message" in err) && String(err.message).includes("FetchRequestCanceledException"));
|
|
45087
45196
|
}
|
|
@@ -45108,7 +45217,7 @@ var castToError = (err) => {
|
|
|
45108
45217
|
return new Error(err);
|
|
45109
45218
|
};
|
|
45110
45219
|
|
|
45111
|
-
// node_modules/openai/core/error.mjs
|
|
45220
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/core/error.mjs
|
|
45112
45221
|
class OpenAIError extends Error {
|
|
45113
45222
|
}
|
|
45114
45223
|
|
|
@@ -45259,7 +45368,7 @@ class SubjectTokenProviderError extends OpenAIError {
|
|
|
45259
45368
|
}
|
|
45260
45369
|
}
|
|
45261
45370
|
|
|
45262
|
-
// node_modules/openai/internal/utils/values.mjs
|
|
45371
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/values.mjs
|
|
45263
45372
|
var startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
45264
45373
|
var isAbsoluteURL = (url2) => {
|
|
45265
45374
|
return startsWithSchemeRegexp.test(url2);
|
|
@@ -45302,10 +45411,10 @@ var safeJSON = (text) => {
|
|
|
45302
45411
|
}
|
|
45303
45412
|
};
|
|
45304
45413
|
|
|
45305
|
-
// node_modules/openai/internal/utils/sleep.mjs
|
|
45414
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/sleep.mjs
|
|
45306
45415
|
var sleep = (ms) => new Promise((resolve6) => setTimeout(resolve6, ms));
|
|
45307
45416
|
|
|
45308
|
-
// node_modules/openai/internal/shims.mjs
|
|
45417
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/shims.mjs
|
|
45309
45418
|
function getDefaultFetch() {
|
|
45310
45419
|
if (typeof fetch !== "undefined") {
|
|
45311
45420
|
return fetch;
|
|
@@ -45376,7 +45485,7 @@ async function CancelReadableStream(stream) {
|
|
|
45376
45485
|
await cancelPromise;
|
|
45377
45486
|
}
|
|
45378
45487
|
|
|
45379
|
-
// node_modules/openai/internal/utils/bytes.mjs
|
|
45488
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/bytes.mjs
|
|
45380
45489
|
var encodeUTF8_;
|
|
45381
45490
|
function encodeUTF8(str) {
|
|
45382
45491
|
let encoder11;
|
|
@@ -45388,7 +45497,7 @@ function decodeUTF8(bytes) {
|
|
|
45388
45497
|
return (decodeUTF8_ ?? (decoder10 = new globalThis.TextDecoder, decodeUTF8_ = decoder10.decode.bind(decoder10)))(bytes);
|
|
45389
45498
|
}
|
|
45390
45499
|
|
|
45391
|
-
// node_modules/openai/internal/decoders/line.mjs
|
|
45500
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/decoders/line.mjs
|
|
45392
45501
|
var _LineDecoder_instances;
|
|
45393
45502
|
var _LineDecoder_buffer;
|
|
45394
45503
|
var _LineDecoder_start;
|
|
@@ -45542,7 +45651,7 @@ function lineEndingLength(buffer, index) {
|
|
|
45542
45651
|
return 0;
|
|
45543
45652
|
}
|
|
45544
45653
|
|
|
45545
|
-
// node_modules/openai/internal/utils/log.mjs
|
|
45654
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/log.mjs
|
|
45546
45655
|
var levelNumbers = {
|
|
45547
45656
|
off: 0,
|
|
45548
45657
|
error: 200,
|
|
@@ -45673,7 +45782,7 @@ var formatRequestDetails = (details) => {
|
|
|
45673
45782
|
return details;
|
|
45674
45783
|
};
|
|
45675
45784
|
|
|
45676
|
-
// node_modules/openai/core/streaming.mjs
|
|
45785
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/core/streaming.mjs
|
|
45677
45786
|
var _Stream_client;
|
|
45678
45787
|
function createStreamTeeQueue() {
|
|
45679
45788
|
let entries = [];
|
|
@@ -46169,7 +46278,7 @@ function partition(str, delimiter) {
|
|
|
46169
46278
|
return [str, "", ""];
|
|
46170
46279
|
}
|
|
46171
46280
|
|
|
46172
|
-
// node_modules/openai/internal/parse.mjs
|
|
46281
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/parse.mjs
|
|
46173
46282
|
async function defaultParseResponse(client2, props) {
|
|
46174
46283
|
const { response, requestLogID, retryOfRequestLogID, startTime } = props;
|
|
46175
46284
|
const body = await (async () => {
|
|
@@ -46233,10 +46342,10 @@ function addRequestID(value, response) {
|
|
|
46233
46342
|
});
|
|
46234
46343
|
}
|
|
46235
46344
|
|
|
46236
|
-
// node_modules/openai/version.mjs
|
|
46345
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/version.mjs
|
|
46237
46346
|
var VERSION2 = "7.9.0";
|
|
46238
46347
|
|
|
46239
|
-
// node_modules/openai/internal/detect-platform.mjs
|
|
46348
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/detect-platform.mjs
|
|
46240
46349
|
var isRunningInBrowser = () => {
|
|
46241
46350
|
return typeof window !== "undefined" && typeof window.document !== "undefined" && typeof navigator !== "undefined";
|
|
46242
46351
|
};
|
|
@@ -46365,7 +46474,7 @@ var getPlatformHeaders = () => {
|
|
|
46365
46474
|
return _platformHeaders ?? (_platformHeaders = getPlatformProperties());
|
|
46366
46475
|
};
|
|
46367
46476
|
|
|
46368
|
-
// node_modules/openai/internal/request-options.mjs
|
|
46477
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/request-options.mjs
|
|
46369
46478
|
var jsonRequestBodyObservers = new WeakMap;
|
|
46370
46479
|
function observeJSONRequestBody(body, observer) {
|
|
46371
46480
|
let observers = jsonRequestBodyObservers.get(body);
|
|
@@ -46414,7 +46523,7 @@ var FallbackEncoder = ({ headers, body }) => {
|
|
|
46414
46523
|
};
|
|
46415
46524
|
};
|
|
46416
46525
|
|
|
46417
|
-
// node_modules/openai/internal/qs/formats.mjs
|
|
46526
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/qs/formats.mjs
|
|
46418
46527
|
var default_format = "RFC3986";
|
|
46419
46528
|
var default_formatter = String;
|
|
46420
46529
|
var formatters = {
|
|
@@ -46423,7 +46532,7 @@ var formatters = {
|
|
|
46423
46532
|
};
|
|
46424
46533
|
var RFC1738 = "RFC1738";
|
|
46425
46534
|
|
|
46426
|
-
// node_modules/openai/internal/qs/utils.mjs
|
|
46535
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/qs/utils.mjs
|
|
46427
46536
|
var cachedHas;
|
|
46428
46537
|
var has = (obj, key) => {
|
|
46429
46538
|
const resolvedHas = cachedHas ?? Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty);
|
|
@@ -46503,7 +46612,7 @@ function maybe_map(val, fn) {
|
|
|
46503
46612
|
return fn(val);
|
|
46504
46613
|
}
|
|
46505
46614
|
|
|
46506
|
-
// node_modules/openai/internal/qs/stringify.mjs
|
|
46615
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/qs/stringify.mjs
|
|
46507
46616
|
var array_prefix_generators = {
|
|
46508
46617
|
brackets(prefix) {
|
|
46509
46618
|
return String(prefix) + "[]";
|
|
@@ -46737,12 +46846,12 @@ function stringify(object3, opts = {}) {
|
|
|
46737
46846
|
return joined.length > 0 ? prefix + joined : "";
|
|
46738
46847
|
}
|
|
46739
46848
|
|
|
46740
|
-
// node_modules/openai/internal/utils/query.mjs
|
|
46849
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/query.mjs
|
|
46741
46850
|
function stringifyQuery(query) {
|
|
46742
46851
|
return stringify(query, { arrayFormat: "brackets" });
|
|
46743
46852
|
}
|
|
46744
46853
|
|
|
46745
|
-
// node_modules/openai/internal/data-residency.mjs
|
|
46854
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/data-residency.mjs
|
|
46746
46855
|
var endpoints = new Map([
|
|
46747
46856
|
["global", "https://api.openai.com/v1"],
|
|
46748
46857
|
["us", "https://us.api.openai.com/v1"],
|
|
@@ -46763,7 +46872,7 @@ function resolveDataResidency(options) {
|
|
|
46763
46872
|
return endpoint;
|
|
46764
46873
|
}
|
|
46765
46874
|
|
|
46766
|
-
// node_modules/openai/core/api-promise.mjs
|
|
46875
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/core/api-promise.mjs
|
|
46767
46876
|
var _APIPromise_client;
|
|
46768
46877
|
|
|
46769
46878
|
class APIPromise extends Promise {
|
|
@@ -46804,7 +46913,7 @@ class APIPromise extends Promise {
|
|
|
46804
46913
|
}
|
|
46805
46914
|
_APIPromise_client = new WeakMap;
|
|
46806
46915
|
|
|
46807
|
-
// node_modules/openai/core/pagination.mjs
|
|
46916
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/core/pagination.mjs
|
|
46808
46917
|
var _AbstractPage_client;
|
|
46809
46918
|
|
|
46810
46919
|
class AbstractPage {
|
|
@@ -46964,7 +47073,7 @@ class NextCursorPage extends AbstractPage {
|
|
|
46964
47073
|
}
|
|
46965
47074
|
}
|
|
46966
47075
|
|
|
46967
|
-
// node_modules/openai/auth/workload-identity-auth.mjs
|
|
47076
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/auth/workload-identity-auth.mjs
|
|
46968
47077
|
var SUBJECT_TOKEN_TYPES = {
|
|
46969
47078
|
jwt: "urn:ietf:params:oauth:token-type:jwt",
|
|
46970
47079
|
id: "urn:ietf:params:oauth:token-type:id_token"
|
|
@@ -47148,7 +47257,7 @@ class WorkloadIdentityAuth {
|
|
|
47148
47257
|
}
|
|
47149
47258
|
}
|
|
47150
47259
|
|
|
47151
|
-
// node_modules/openai/internal/auth/x509-api-origin.mjs
|
|
47260
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-api-origin.mjs
|
|
47152
47261
|
var X509_API_BASE_URL = "https://mtls.api.openai.com/v1";
|
|
47153
47262
|
function assertX509APIOrigin(value) {
|
|
47154
47263
|
let target;
|
|
@@ -47168,7 +47277,7 @@ function assertX509APIOrigin(value) {
|
|
|
47168
47277
|
return target;
|
|
47169
47278
|
}
|
|
47170
47279
|
|
|
47171
|
-
// node_modules/openai/internal/headers.mjs
|
|
47280
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/headers.mjs
|
|
47172
47281
|
var brand_privateNullableHeaders = /* @__PURE__ */ Symbol("brand.privateNullableHeaders");
|
|
47173
47282
|
var httpTokenHeaderName = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
47174
47283
|
function* iterateHeaders(headers) {
|
|
@@ -47235,7 +47344,7 @@ var buildHeaders = (newHeaders) => {
|
|
|
47235
47344
|
return { [brand_privateNullableHeaders]: true, values: targetHeaders, nulls: nullHeaders };
|
|
47236
47345
|
};
|
|
47237
47346
|
|
|
47238
|
-
// node_modules/openai/internal/auth/x509-transport-state-browser.mjs
|
|
47347
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-transport-state-browser.mjs
|
|
47239
47348
|
var exports_x509_transport_state_browser = {};
|
|
47240
47349
|
__export(exports_x509_transport_state_browser, {
|
|
47241
47350
|
rememberX509OAuthError: () => rememberX509OAuthError,
|
|
@@ -47270,7 +47379,7 @@ var findX509OAuthError = WeakMap.prototype.get.bind(approvedX509OAuthErrors);
|
|
|
47270
47379
|
var rememberX509Credential = WeakMap.prototype.set.bind(approvedX509Credentials);
|
|
47271
47380
|
var findX509Credential = WeakMap.prototype.get.bind(approvedX509Credentials);
|
|
47272
47381
|
|
|
47273
|
-
// node_modules/openai/internal/auth/x509-transport-state.mjs
|
|
47382
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-transport-state.mjs
|
|
47274
47383
|
var nodeState = __toESM(require_x509_transport_state(), 1);
|
|
47275
47384
|
var state = typeof nodeState.findRegisteredX509Transport === "function" ? nodeState : exports_x509_transport_state_browser;
|
|
47276
47385
|
var {
|
|
@@ -47288,7 +47397,7 @@ var {
|
|
|
47288
47397
|
findX509Credential: findX509Credential2
|
|
47289
47398
|
} = state;
|
|
47290
47399
|
|
|
47291
|
-
// node_modules/openai/internal/auth/x509-transport-registry.mjs
|
|
47400
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-transport-registry.mjs
|
|
47292
47401
|
var transientX509TransportCodes = new Set([
|
|
47293
47402
|
"ECONNRESET",
|
|
47294
47403
|
"ECONNREFUSED",
|
|
@@ -47315,7 +47424,7 @@ function resolveX509Transport(value) {
|
|
|
47315
47424
|
return registered;
|
|
47316
47425
|
}
|
|
47317
47426
|
|
|
47318
|
-
// node_modules/openai/internal/auth/x509-workload-identity-auth.mjs
|
|
47427
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-workload-identity-auth.mjs
|
|
47319
47428
|
var _X509WorkloadIdentityAuth_instances;
|
|
47320
47429
|
var _a2;
|
|
47321
47430
|
var _X509WorkloadIdentityAuth_identityProviderId;
|
|
@@ -47977,7 +48086,7 @@ _a2 = X509WorkloadIdentityAuth, _X509WorkloadIdentityAuth_identityProviderId = n
|
|
|
47977
48086
|
}
|
|
47978
48087
|
};
|
|
47979
48088
|
|
|
47980
|
-
// node_modules/openai/internal/auth/x509-credential-options.mjs
|
|
48089
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/auth/x509-credential-options.mjs
|
|
47981
48090
|
function normalizeX509CredentialOptions(options) {
|
|
47982
48091
|
const { credential } = options;
|
|
47983
48092
|
if (credential === undefined) {
|
|
@@ -48077,7 +48186,7 @@ function prepareX509ClientClone(inherited, overrides, credential, currentlyX509)
|
|
|
48077
48186
|
return { credential: nextCredential, provider: prepareProviderClone(inherited, overrides) };
|
|
48078
48187
|
}
|
|
48079
48188
|
|
|
48080
|
-
// node_modules/openai/internal/uploads.mjs
|
|
48189
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/uploads.mjs
|
|
48081
48190
|
var brand_privateStreamingFile = /* @__PURE__ */ Symbol("brand.privateStreamingFile");
|
|
48082
48191
|
function toStreamingFile(data, name, options) {
|
|
48083
48192
|
if (typeof name !== "string" || !name) {
|
|
@@ -48411,7 +48520,7 @@ var addFormValue = async (form, key, value, options) => {
|
|
|
48411
48520
|
throw new TypeError(`Invalid value given to form, expected a string, number, boolean, object, Array, File or Blob but got ${value} instead`);
|
|
48412
48521
|
}
|
|
48413
48522
|
};
|
|
48414
|
-
// node_modules/openai/internal/to-file.mjs
|
|
48523
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/to-file.mjs
|
|
48415
48524
|
var isBlobLike = (value) => value != null && typeof value === "object" && typeof value.size === "number" && typeof value.type === "string" && typeof value.text === "function" && typeof value.slice === "function" && typeof value.arrayBuffer === "function";
|
|
48416
48525
|
var isFileLike = (value) => value != null && typeof value === "object" && typeof value.name === "string" && typeof value.lastModified === "number" && isBlobLike(value);
|
|
48417
48526
|
var isResponseLike = (value) => value != null && typeof value === "object" && typeof value.url === "string" && typeof value.blob === "function";
|
|
@@ -48473,14 +48582,14 @@ function propsForError(value) {
|
|
|
48473
48582
|
const props = Object.getOwnPropertyNames(value);
|
|
48474
48583
|
return `; props: [${props.map((p) => `"${p}"`).join(", ")}]`;
|
|
48475
48584
|
}
|
|
48476
|
-
// node_modules/openai/core/resource.mjs
|
|
48585
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/core/resource.mjs
|
|
48477
48586
|
class APIResource {
|
|
48478
48587
|
constructor(client2) {
|
|
48479
48588
|
this._client = client2;
|
|
48480
48589
|
}
|
|
48481
48590
|
}
|
|
48482
48591
|
|
|
48483
|
-
// node_modules/openai/internal/utils/path.mjs
|
|
48592
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/path.mjs
|
|
48484
48593
|
function encodeURIPath(str) {
|
|
48485
48594
|
return str.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g, encodeURIComponent);
|
|
48486
48595
|
}
|
|
@@ -48541,13 +48650,13 @@ ${underline}`);
|
|
|
48541
48650
|
};
|
|
48542
48651
|
var path = /* @__PURE__ */ createPathTagFunction(encodeURIPath);
|
|
48543
48652
|
|
|
48544
|
-
// node_modules/openai/resources/chat/completions/messages.mjs
|
|
48653
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/chat/completions/messages.mjs
|
|
48545
48654
|
class Messages extends APIResource {
|
|
48546
48655
|
list(completionID, query = {}, options) {
|
|
48547
48656
|
return this._client.getAPIList(path`/chat/completions/${completionID}/messages`, CursorPage, { query, ...options, __security: { bearerAuth: true } });
|
|
48548
48657
|
}
|
|
48549
48658
|
}
|
|
48550
|
-
// node_modules/openai/lib/parser.mjs
|
|
48659
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/parser.mjs
|
|
48551
48660
|
function isChatCompletionFunctionTool(tool) {
|
|
48552
48661
|
return tool !== undefined && "function" in tool && tool.function !== undefined;
|
|
48553
48662
|
}
|
|
@@ -48669,11 +48778,11 @@ function validateInputTools(tools) {
|
|
|
48669
48778
|
}
|
|
48670
48779
|
}
|
|
48671
48780
|
|
|
48672
|
-
// node_modules/openai/lib/chatCompletionUtils.mjs
|
|
48781
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/chatCompletionUtils.mjs
|
|
48673
48782
|
var isAssistantMessage = (message) => message?.role === "assistant";
|
|
48674
48783
|
var isToolMessage = (message) => message?.role === "tool";
|
|
48675
48784
|
|
|
48676
|
-
// node_modules/openai/lib/EventStream.mjs
|
|
48785
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/EventStream.mjs
|
|
48677
48786
|
var _EventStream_instances;
|
|
48678
48787
|
var _EventStream_connectedPromise;
|
|
48679
48788
|
var _EventStream_resolveConnectedPromise;
|
|
@@ -50038,12 +50147,12 @@ _EventStream_connectedPromise = new WeakMap, _EventStream_resolveConnectedPromis
|
|
|
50038
50147
|
return this._emit("error", new OpenAIError(String(error49)));
|
|
50039
50148
|
};
|
|
50040
50149
|
|
|
50041
|
-
// node_modules/openai/lib/RunnableFunction.mjs
|
|
50150
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/RunnableFunction.mjs
|
|
50042
50151
|
function isRunnableFunctionWithParse(fn) {
|
|
50043
50152
|
return typeof fn.parse === "function";
|
|
50044
50153
|
}
|
|
50045
50154
|
|
|
50046
|
-
// node_modules/openai/lib/AbstractChatCompletionRunner.mjs
|
|
50155
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/AbstractChatCompletionRunner.mjs
|
|
50047
50156
|
var _AbstractChatCompletionRunner_instances;
|
|
50048
50157
|
var _a3;
|
|
50049
50158
|
var _AbstractChatCompletionRunner_completionArrivedBeforeAbort;
|
|
@@ -50418,7 +50527,7 @@ _a3 = AbstractChatCompletionRunner, _AbstractChatCompletionRunner_completionArri
|
|
|
50418
50527
|
return JSON.stringify(rawContent);
|
|
50419
50528
|
};
|
|
50420
50529
|
|
|
50421
|
-
// node_modules/openai/lib/ChatCompletionRunner.mjs
|
|
50530
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/ChatCompletionRunner.mjs
|
|
50422
50531
|
class ChatCompletionRunner extends AbstractChatCompletionRunner {
|
|
50423
50532
|
static runTools(client2, params, options) {
|
|
50424
50533
|
const runner = new ChatCompletionRunner;
|
|
@@ -50437,7 +50546,7 @@ class ChatCompletionRunner extends AbstractChatCompletionRunner {
|
|
|
50437
50546
|
}
|
|
50438
50547
|
}
|
|
50439
50548
|
|
|
50440
|
-
// node_modules/openai/_vendor/partial-json-parser/parser.mjs
|
|
50549
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/_vendor/partial-json-parser/parser.mjs
|
|
50441
50550
|
var STR = 1;
|
|
50442
50551
|
var NUM = 2;
|
|
50443
50552
|
var ARR = 4;
|
|
@@ -50662,7 +50771,7 @@ var _parseJSON = (jsonString, allow) => {
|
|
|
50662
50771
|
return parseAny();
|
|
50663
50772
|
};
|
|
50664
50773
|
var partialParse = (input) => parseJSON(input, Allow.ALL ^ Allow.NUM);
|
|
50665
|
-
// node_modules/openai/lib/ChatCompletionStream.mjs
|
|
50774
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/ChatCompletionStream.mjs
|
|
50666
50775
|
var _ChatCompletionStream_instances;
|
|
50667
50776
|
var _ChatCompletionStream_params;
|
|
50668
50777
|
var _ChatCompletionStream_audioDoneChoiceIndexes;
|
|
@@ -52178,7 +52287,7 @@ function assertNever2(_x) {
|
|
|
52178
52287
|
return _x;
|
|
52179
52288
|
}
|
|
52180
52289
|
|
|
52181
|
-
// node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
|
|
52290
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
|
|
52182
52291
|
class ChatCompletionStreamingRunner extends ChatCompletionStream {
|
|
52183
52292
|
static fromReadableStream(stream) {
|
|
52184
52293
|
const runner = new ChatCompletionStreamingRunner(null);
|
|
@@ -52226,7 +52335,7 @@ class ChatCompletionStreamingRunner extends ChatCompletionStream {
|
|
|
52226
52335
|
}
|
|
52227
52336
|
}
|
|
52228
52337
|
|
|
52229
|
-
// node_modules/openai/resources/chat/completions/completions.mjs
|
|
52338
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/chat/completions/completions.mjs
|
|
52230
52339
|
class Completions extends APIResource {
|
|
52231
52340
|
constructor() {
|
|
52232
52341
|
super(...arguments);
|
|
@@ -52285,7 +52394,7 @@ class Completions extends APIResource {
|
|
|
52285
52394
|
}
|
|
52286
52395
|
Completions.Messages = Messages;
|
|
52287
52396
|
|
|
52288
|
-
// node_modules/openai/resources/chat/chat.mjs
|
|
52397
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/chat/chat.mjs
|
|
52289
52398
|
class Chat extends APIResource {
|
|
52290
52399
|
constructor() {
|
|
52291
52400
|
super(...arguments);
|
|
@@ -52293,7 +52402,7 @@ class Chat extends APIResource {
|
|
|
52293
52402
|
}
|
|
52294
52403
|
}
|
|
52295
52404
|
Chat.Completions = Completions;
|
|
52296
|
-
// node_modules/openai/resources/admin/organization/admin-api-keys.mjs
|
|
52405
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/admin-api-keys.mjs
|
|
52297
52406
|
class AdminAPIKeys extends APIResource {
|
|
52298
52407
|
create(body, options) {
|
|
52299
52408
|
return this._client.post("/organization/admin_api_keys", {
|
|
@@ -52323,7 +52432,7 @@ class AdminAPIKeys extends APIResource {
|
|
|
52323
52432
|
}
|
|
52324
52433
|
}
|
|
52325
52434
|
|
|
52326
|
-
// node_modules/openai/resources/admin/organization/audit-logs.mjs
|
|
52435
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/audit-logs.mjs
|
|
52327
52436
|
class AuditLogs extends APIResource {
|
|
52328
52437
|
list(query = {}, options) {
|
|
52329
52438
|
return this._client.getAPIList("/organization/audit_logs", ConversationCursorPage, {
|
|
@@ -52334,7 +52443,7 @@ class AuditLogs extends APIResource {
|
|
|
52334
52443
|
}
|
|
52335
52444
|
}
|
|
52336
52445
|
|
|
52337
|
-
// node_modules/openai/resources/admin/organization/certificates.mjs
|
|
52446
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/certificates.mjs
|
|
52338
52447
|
class Certificates extends APIResource {
|
|
52339
52448
|
create(body, options) {
|
|
52340
52449
|
return this._client.post("/organization/certificates", {
|
|
@@ -52379,7 +52488,7 @@ class Certificates extends APIResource {
|
|
|
52379
52488
|
}
|
|
52380
52489
|
}
|
|
52381
52490
|
|
|
52382
|
-
// node_modules/openai/resources/admin/organization/data-retention.mjs
|
|
52491
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/data-retention.mjs
|
|
52383
52492
|
class DataRetention extends APIResource {
|
|
52384
52493
|
retrieve(options) {
|
|
52385
52494
|
return this._client.get("/organization/data_retention", {
|
|
@@ -52396,7 +52505,7 @@ class DataRetention extends APIResource {
|
|
|
52396
52505
|
}
|
|
52397
52506
|
}
|
|
52398
52507
|
|
|
52399
|
-
// node_modules/openai/resources/admin/organization/invites.mjs
|
|
52508
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/invites.mjs
|
|
52400
52509
|
class Invites extends APIResource {
|
|
52401
52510
|
create(body, options) {
|
|
52402
52511
|
return this._client.post("/organization/invites", {
|
|
@@ -52426,7 +52535,7 @@ class Invites extends APIResource {
|
|
|
52426
52535
|
}
|
|
52427
52536
|
}
|
|
52428
52537
|
|
|
52429
|
-
// node_modules/openai/resources/admin/organization/roles.mjs
|
|
52538
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/roles.mjs
|
|
52430
52539
|
class Roles extends APIResource {
|
|
52431
52540
|
create(body, options) {
|
|
52432
52541
|
return this._client.post("/organization/roles", {
|
|
@@ -52463,7 +52572,7 @@ class Roles extends APIResource {
|
|
|
52463
52572
|
}
|
|
52464
52573
|
}
|
|
52465
52574
|
|
|
52466
|
-
// node_modules/openai/resources/admin/organization/spend-alerts.mjs
|
|
52575
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/spend-alerts.mjs
|
|
52467
52576
|
class SpendAlerts extends APIResource {
|
|
52468
52577
|
create(body, options) {
|
|
52469
52578
|
return this._client.post("/organization/spend_alerts", {
|
|
@@ -52496,7 +52605,7 @@ class SpendAlerts extends APIResource {
|
|
|
52496
52605
|
}
|
|
52497
52606
|
}
|
|
52498
52607
|
|
|
52499
|
-
// node_modules/openai/resources/admin/organization/spend-limit.mjs
|
|
52608
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/spend-limit.mjs
|
|
52500
52609
|
class SpendLimit extends APIResource {
|
|
52501
52610
|
retrieve(options) {
|
|
52502
52611
|
return this._client.get("/organization/spend_limit", {
|
|
@@ -52519,7 +52628,7 @@ class SpendLimit extends APIResource {
|
|
|
52519
52628
|
}
|
|
52520
52629
|
}
|
|
52521
52630
|
|
|
52522
|
-
// node_modules/openai/resources/admin/organization/usage.mjs
|
|
52631
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/usage.mjs
|
|
52523
52632
|
class Usage extends APIResource {
|
|
52524
52633
|
audioSpeeches(query, options) {
|
|
52525
52634
|
return this._client.get("/organization/usage/audio_speeches", {
|
|
@@ -52600,7 +52709,7 @@ class Usage extends APIResource {
|
|
|
52600
52709
|
}
|
|
52601
52710
|
}
|
|
52602
52711
|
|
|
52603
|
-
// node_modules/openai/resources/admin/organization/groups/roles.mjs
|
|
52712
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/groups/roles.mjs
|
|
52604
52713
|
class Roles2 extends APIResource {
|
|
52605
52714
|
create(groupID, body, options) {
|
|
52606
52715
|
return this._client.post(path`/organization/groups/${groupID}/roles`, {
|
|
@@ -52628,7 +52737,7 @@ class Roles2 extends APIResource {
|
|
|
52628
52737
|
}
|
|
52629
52738
|
}
|
|
52630
52739
|
|
|
52631
|
-
// node_modules/openai/resources/admin/organization/groups/users.mjs
|
|
52740
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/groups/users.mjs
|
|
52632
52741
|
class Users extends APIResource {
|
|
52633
52742
|
create(groupID, body, options) {
|
|
52634
52743
|
return this._client.post(path`/organization/groups/${groupID}/users`, {
|
|
@@ -52656,7 +52765,7 @@ class Users extends APIResource {
|
|
|
52656
52765
|
}
|
|
52657
52766
|
}
|
|
52658
52767
|
|
|
52659
|
-
// node_modules/openai/resources/admin/organization/groups/groups.mjs
|
|
52768
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/groups/groups.mjs
|
|
52660
52769
|
class Groups extends APIResource {
|
|
52661
52770
|
constructor() {
|
|
52662
52771
|
super(...arguments);
|
|
@@ -52700,7 +52809,7 @@ class Groups extends APIResource {
|
|
|
52700
52809
|
Groups.Users = Users;
|
|
52701
52810
|
Groups.Roles = Roles2;
|
|
52702
52811
|
|
|
52703
|
-
// node_modules/openai/resources/admin/organization/projects/api-keys.mjs
|
|
52812
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/api-keys.mjs
|
|
52704
52813
|
class APIKeys extends APIResource {
|
|
52705
52814
|
retrieve(apiKeyID, params, options) {
|
|
52706
52815
|
const { project_id } = params;
|
|
@@ -52721,7 +52830,7 @@ class APIKeys extends APIResource {
|
|
|
52721
52830
|
}
|
|
52722
52831
|
}
|
|
52723
52832
|
|
|
52724
|
-
// node_modules/openai/resources/admin/organization/projects/certificates.mjs
|
|
52833
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/certificates.mjs
|
|
52725
52834
|
class Certificates2 extends APIResource {
|
|
52726
52835
|
list(projectID, query = {}, options) {
|
|
52727
52836
|
return this._client.getAPIList(path`/organization/projects/${projectID}/certificates`, ConversationCursorPage, { query, ...options, __security: { adminAPIKeyAuth: true } });
|
|
@@ -52734,7 +52843,7 @@ class Certificates2 extends APIResource {
|
|
|
52734
52843
|
}
|
|
52735
52844
|
}
|
|
52736
52845
|
|
|
52737
|
-
// node_modules/openai/resources/admin/organization/projects/data-retention.mjs
|
|
52846
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/data-retention.mjs
|
|
52738
52847
|
class DataRetention2 extends APIResource {
|
|
52739
52848
|
retrieve(projectID, options) {
|
|
52740
52849
|
return this._client.get(path`/organization/projects/${projectID}/data_retention`, {
|
|
@@ -52751,7 +52860,7 @@ class DataRetention2 extends APIResource {
|
|
|
52751
52860
|
}
|
|
52752
52861
|
}
|
|
52753
52862
|
|
|
52754
|
-
// node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.mjs
|
|
52863
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.mjs
|
|
52755
52864
|
class HostedToolPermissions extends APIResource {
|
|
52756
52865
|
retrieve(projectID, options) {
|
|
52757
52866
|
return this._client.get(path`/organization/projects/${projectID}/hosted_tool_permissions`, {
|
|
@@ -52768,7 +52877,7 @@ class HostedToolPermissions extends APIResource {
|
|
|
52768
52877
|
}
|
|
52769
52878
|
}
|
|
52770
52879
|
|
|
52771
|
-
// node_modules/openai/resources/admin/organization/projects/model-permissions.mjs
|
|
52880
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/model-permissions.mjs
|
|
52772
52881
|
class ModelPermissions extends APIResource {
|
|
52773
52882
|
retrieve(projectID, options) {
|
|
52774
52883
|
return this._client.get(path`/organization/projects/${projectID}/model_permissions`, {
|
|
@@ -52791,7 +52900,7 @@ class ModelPermissions extends APIResource {
|
|
|
52791
52900
|
}
|
|
52792
52901
|
}
|
|
52793
52902
|
|
|
52794
|
-
// node_modules/openai/resources/admin/organization/projects/rate-limits.mjs
|
|
52903
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/rate-limits.mjs
|
|
52795
52904
|
class RateLimits extends APIResource {
|
|
52796
52905
|
listRateLimits(projectID, query = {}, options) {
|
|
52797
52906
|
return this._client.getAPIList(path`/organization/projects/${projectID}/rate_limits`, ConversationCursorPage, { query, ...options, __security: { adminAPIKeyAuth: true } });
|
|
@@ -52806,7 +52915,7 @@ class RateLimits extends APIResource {
|
|
|
52806
52915
|
}
|
|
52807
52916
|
}
|
|
52808
52917
|
|
|
52809
|
-
// node_modules/openai/resources/admin/organization/projects/roles.mjs
|
|
52918
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/roles.mjs
|
|
52810
52919
|
class Roles3 extends APIResource {
|
|
52811
52920
|
create(projectID, body, options) {
|
|
52812
52921
|
return this._client.post(path`/projects/${projectID}/roles`, {
|
|
@@ -52846,7 +52955,7 @@ class Roles3 extends APIResource {
|
|
|
52846
52955
|
}
|
|
52847
52956
|
}
|
|
52848
52957
|
|
|
52849
|
-
// node_modules/openai/resources/admin/organization/projects/spend-alerts.mjs
|
|
52958
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/spend-alerts.mjs
|
|
52850
52959
|
class SpendAlerts2 extends APIResource {
|
|
52851
52960
|
create(projectID, body, options) {
|
|
52852
52961
|
return this._client.post(path`/organization/projects/${projectID}/spend_alerts`, {
|
|
@@ -52882,7 +52991,7 @@ class SpendAlerts2 extends APIResource {
|
|
|
52882
52991
|
}
|
|
52883
52992
|
}
|
|
52884
52993
|
|
|
52885
|
-
// node_modules/openai/resources/admin/organization/projects/spend-limit.mjs
|
|
52994
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/spend-limit.mjs
|
|
52886
52995
|
class SpendLimit2 extends APIResource {
|
|
52887
52996
|
retrieve(projectID, options) {
|
|
52888
52997
|
return this._client.get(path`/organization/projects/${projectID}/spend_limit`, {
|
|
@@ -52905,7 +53014,7 @@ class SpendLimit2 extends APIResource {
|
|
|
52905
53014
|
}
|
|
52906
53015
|
}
|
|
52907
53016
|
|
|
52908
|
-
// node_modules/openai/resources/admin/organization/projects/groups/roles.mjs
|
|
53017
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/groups/roles.mjs
|
|
52909
53018
|
class Roles4 extends APIResource {
|
|
52910
53019
|
create(groupID, params, options) {
|
|
52911
53020
|
const { project_id, ...body } = params;
|
|
@@ -52935,7 +53044,7 @@ class Roles4 extends APIResource {
|
|
|
52935
53044
|
}
|
|
52936
53045
|
}
|
|
52937
53046
|
|
|
52938
|
-
// node_modules/openai/resources/admin/organization/projects/groups/groups.mjs
|
|
53047
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/groups/groups.mjs
|
|
52939
53048
|
class Groups2 extends APIResource {
|
|
52940
53049
|
constructor() {
|
|
52941
53050
|
super(...arguments);
|
|
@@ -52969,7 +53078,7 @@ class Groups2 extends APIResource {
|
|
|
52969
53078
|
}
|
|
52970
53079
|
Groups2.Roles = Roles4;
|
|
52971
53080
|
|
|
52972
|
-
// node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.mjs
|
|
53081
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/service-accounts/api-keys.mjs
|
|
52973
53082
|
class APIKeys2 extends APIResource {
|
|
52974
53083
|
create(serviceAccountID, params, options) {
|
|
52975
53084
|
const { project_id, ...body } = params;
|
|
@@ -52977,7 +53086,7 @@ class APIKeys2 extends APIResource {
|
|
|
52977
53086
|
}
|
|
52978
53087
|
}
|
|
52979
53088
|
|
|
52980
|
-
// node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.mjs
|
|
53089
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/service-accounts/service-accounts.mjs
|
|
52981
53090
|
class ServiceAccounts extends APIResource {
|
|
52982
53091
|
constructor() {
|
|
52983
53092
|
super(...arguments);
|
|
@@ -53011,7 +53120,7 @@ class ServiceAccounts extends APIResource {
|
|
|
53011
53120
|
}
|
|
53012
53121
|
ServiceAccounts.APIKeys = APIKeys2;
|
|
53013
53122
|
|
|
53014
|
-
// node_modules/openai/resources/admin/organization/projects/users/roles.mjs
|
|
53123
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/users/roles.mjs
|
|
53015
53124
|
class Roles5 extends APIResource {
|
|
53016
53125
|
create(userID, params, options) {
|
|
53017
53126
|
const { project_id, ...body } = params;
|
|
@@ -53041,7 +53150,7 @@ class Roles5 extends APIResource {
|
|
|
53041
53150
|
}
|
|
53042
53151
|
}
|
|
53043
53152
|
|
|
53044
|
-
// node_modules/openai/resources/admin/organization/projects/users/users.mjs
|
|
53153
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/users/users.mjs
|
|
53045
53154
|
class Users2 extends APIResource {
|
|
53046
53155
|
constructor() {
|
|
53047
53156
|
super(...arguments);
|
|
@@ -53082,7 +53191,7 @@ class Users2 extends APIResource {
|
|
|
53082
53191
|
}
|
|
53083
53192
|
Users2.Roles = Roles5;
|
|
53084
53193
|
|
|
53085
|
-
// node_modules/openai/resources/admin/organization/projects/projects.mjs
|
|
53194
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/projects/projects.mjs
|
|
53086
53195
|
class Projects extends APIResource {
|
|
53087
53196
|
constructor() {
|
|
53088
53197
|
super(...arguments);
|
|
@@ -53146,7 +53255,7 @@ Projects.SpendLimit = SpendLimit2;
|
|
|
53146
53255
|
Projects.SpendAlerts = SpendAlerts2;
|
|
53147
53256
|
Projects.Certificates = Certificates2;
|
|
53148
53257
|
|
|
53149
|
-
// node_modules/openai/resources/admin/organization/users/roles.mjs
|
|
53258
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/users/roles.mjs
|
|
53150
53259
|
class Roles6 extends APIResource {
|
|
53151
53260
|
create(userID, body, options) {
|
|
53152
53261
|
return this._client.post(path`/organization/users/${userID}/roles`, {
|
|
@@ -53174,7 +53283,7 @@ class Roles6 extends APIResource {
|
|
|
53174
53283
|
}
|
|
53175
53284
|
}
|
|
53176
53285
|
|
|
53177
|
-
// node_modules/openai/resources/admin/organization/users/users.mjs
|
|
53286
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/users/users.mjs
|
|
53178
53287
|
class Users3 extends APIResource {
|
|
53179
53288
|
constructor() {
|
|
53180
53289
|
super(...arguments);
|
|
@@ -53209,7 +53318,7 @@ class Users3 extends APIResource {
|
|
|
53209
53318
|
}
|
|
53210
53319
|
Users3.Roles = Roles6;
|
|
53211
53320
|
|
|
53212
|
-
// node_modules/openai/resources/admin/organization/organization.mjs
|
|
53321
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/organization/organization.mjs
|
|
53213
53322
|
class Organization extends APIResource {
|
|
53214
53323
|
constructor() {
|
|
53215
53324
|
super(...arguments);
|
|
@@ -53240,7 +53349,7 @@ Organization.SpendAlerts = SpendAlerts;
|
|
|
53240
53349
|
Organization.Certificates = Certificates;
|
|
53241
53350
|
Organization.Projects = Projects;
|
|
53242
53351
|
|
|
53243
|
-
// node_modules/openai/resources/admin/admin.mjs
|
|
53352
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/admin/admin.mjs
|
|
53244
53353
|
class Admin extends APIResource {
|
|
53245
53354
|
constructor() {
|
|
53246
53355
|
super(...arguments);
|
|
@@ -53248,7 +53357,7 @@ class Admin extends APIResource {
|
|
|
53248
53357
|
}
|
|
53249
53358
|
}
|
|
53250
53359
|
Admin.Organization = Organization;
|
|
53251
|
-
// node_modules/openai/resources/audio/speech.mjs
|
|
53360
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/audio/speech.mjs
|
|
53252
53361
|
class Speech extends APIResource {
|
|
53253
53362
|
create(body, options) {
|
|
53254
53363
|
return this._client.post("/audio/speech", {
|
|
@@ -53261,7 +53370,7 @@ class Speech extends APIResource {
|
|
|
53261
53370
|
}
|
|
53262
53371
|
}
|
|
53263
53372
|
|
|
53264
|
-
// node_modules/openai/resources/audio/transcriptions.mjs
|
|
53373
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/audio/transcriptions.mjs
|
|
53265
53374
|
class Transcriptions extends APIResource {
|
|
53266
53375
|
create(body, options) {
|
|
53267
53376
|
return this._client.post("/audio/transcriptions", multipartFormRequestOptions({
|
|
@@ -53274,14 +53383,14 @@ class Transcriptions extends APIResource {
|
|
|
53274
53383
|
}
|
|
53275
53384
|
}
|
|
53276
53385
|
|
|
53277
|
-
// node_modules/openai/resources/audio/translations.mjs
|
|
53386
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/audio/translations.mjs
|
|
53278
53387
|
class Translations extends APIResource {
|
|
53279
53388
|
create(body, options) {
|
|
53280
53389
|
return this._client.post("/audio/translations", multipartFormRequestOptions({ body, ...options, __metadata: { model: body.model }, __security: { bearerAuth: true } }, this._client));
|
|
53281
53390
|
}
|
|
53282
53391
|
}
|
|
53283
53392
|
|
|
53284
|
-
// node_modules/openai/resources/audio/audio.mjs
|
|
53393
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/audio/audio.mjs
|
|
53285
53394
|
class Audio extends APIResource {
|
|
53286
53395
|
constructor() {
|
|
53287
53396
|
super(...arguments);
|
|
@@ -53293,7 +53402,7 @@ class Audio extends APIResource {
|
|
|
53293
53402
|
Audio.Transcriptions = Transcriptions;
|
|
53294
53403
|
Audio.Translations = Translations;
|
|
53295
53404
|
Audio.Speech = Speech;
|
|
53296
|
-
// node_modules/openai/resources/batches.mjs
|
|
53405
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/batches.mjs
|
|
53297
53406
|
class Batches extends APIResource {
|
|
53298
53407
|
create(body, options) {
|
|
53299
53408
|
return this._client.post("/batches", { body, ...options, __security: { bearerAuth: true } });
|
|
@@ -53315,7 +53424,7 @@ class Batches extends APIResource {
|
|
|
53315
53424
|
});
|
|
53316
53425
|
}
|
|
53317
53426
|
}
|
|
53318
|
-
// node_modules/openai/resources/beta/assistants.mjs
|
|
53427
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/assistants.mjs
|
|
53319
53428
|
class Assistants extends APIResource {
|
|
53320
53429
|
create(body, options) {
|
|
53321
53430
|
return this._client.post("/assistants", {
|
|
@@ -53357,7 +53466,7 @@ class Assistants extends APIResource {
|
|
|
53357
53466
|
}
|
|
53358
53467
|
}
|
|
53359
53468
|
|
|
53360
|
-
// node_modules/openai/resources/beta/realtime/sessions.mjs
|
|
53469
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/realtime/sessions.mjs
|
|
53361
53470
|
class Sessions extends APIResource {
|
|
53362
53471
|
create(body, options) {
|
|
53363
53472
|
return this._client.post("/realtime/sessions", {
|
|
@@ -53369,7 +53478,7 @@ class Sessions extends APIResource {
|
|
|
53369
53478
|
}
|
|
53370
53479
|
}
|
|
53371
53480
|
|
|
53372
|
-
// node_modules/openai/resources/beta/realtime/transcription-sessions.mjs
|
|
53481
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/realtime/transcription-sessions.mjs
|
|
53373
53482
|
class TranscriptionSessions extends APIResource {
|
|
53374
53483
|
create(body, options) {
|
|
53375
53484
|
return this._client.post("/realtime/transcription_sessions", {
|
|
@@ -53381,7 +53490,7 @@ class TranscriptionSessions extends APIResource {
|
|
|
53381
53490
|
}
|
|
53382
53491
|
}
|
|
53383
53492
|
|
|
53384
|
-
// node_modules/openai/resources/beta/realtime/realtime.mjs
|
|
53493
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/realtime/realtime.mjs
|
|
53385
53494
|
class Realtime extends APIResource {
|
|
53386
53495
|
constructor() {
|
|
53387
53496
|
super(...arguments);
|
|
@@ -53392,7 +53501,7 @@ class Realtime extends APIResource {
|
|
|
53392
53501
|
Realtime.Sessions = Sessions;
|
|
53393
53502
|
Realtime.TranscriptionSessions = TranscriptionSessions;
|
|
53394
53503
|
|
|
53395
|
-
// node_modules/openai/resources/beta/chatkit/sessions.mjs
|
|
53504
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/chatkit/sessions.mjs
|
|
53396
53505
|
class Sessions2 extends APIResource {
|
|
53397
53506
|
create(body, options) {
|
|
53398
53507
|
return this._client.post("/chatkit/sessions", {
|
|
@@ -53411,7 +53520,7 @@ class Sessions2 extends APIResource {
|
|
|
53411
53520
|
}
|
|
53412
53521
|
}
|
|
53413
53522
|
|
|
53414
|
-
// node_modules/openai/resources/beta/chatkit/threads.mjs
|
|
53523
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/chatkit/threads.mjs
|
|
53415
53524
|
class Threads extends APIResource {
|
|
53416
53525
|
retrieve(threadID, options) {
|
|
53417
53526
|
return this._client.get(path`/chatkit/threads/${threadID}`, {
|
|
@@ -53445,7 +53554,7 @@ class Threads extends APIResource {
|
|
|
53445
53554
|
}
|
|
53446
53555
|
}
|
|
53447
53556
|
|
|
53448
|
-
// node_modules/openai/resources/beta/chatkit/chatkit.mjs
|
|
53557
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/chatkit/chatkit.mjs
|
|
53449
53558
|
class ChatKit extends APIResource {
|
|
53450
53559
|
constructor() {
|
|
53451
53560
|
super(...arguments);
|
|
@@ -53456,7 +53565,7 @@ class ChatKit extends APIResource {
|
|
|
53456
53565
|
ChatKit.Sessions = Sessions2;
|
|
53457
53566
|
ChatKit.Threads = Threads;
|
|
53458
53567
|
|
|
53459
|
-
// node_modules/openai/resources/beta/responses/input-items.mjs
|
|
53568
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/responses/input-items.mjs
|
|
53460
53569
|
class InputItems extends APIResource {
|
|
53461
53570
|
list(responseID, params = {}, options) {
|
|
53462
53571
|
const { betas, ...query } = params ?? {};
|
|
@@ -53472,7 +53581,7 @@ class InputItems extends APIResource {
|
|
|
53472
53581
|
}
|
|
53473
53582
|
}
|
|
53474
53583
|
|
|
53475
|
-
// node_modules/openai/resources/beta/responses/input-tokens.mjs
|
|
53584
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/responses/input-tokens.mjs
|
|
53476
53585
|
class InputTokens extends APIResource {
|
|
53477
53586
|
count(params = {}, options) {
|
|
53478
53587
|
const { betas, ...body } = params ?? {};
|
|
@@ -53488,7 +53597,7 @@ class InputTokens extends APIResource {
|
|
|
53488
53597
|
}
|
|
53489
53598
|
}
|
|
53490
53599
|
|
|
53491
|
-
// node_modules/openai/resources/beta/responses/responses.mjs
|
|
53600
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/responses/responses.mjs
|
|
53492
53601
|
class Responses extends APIResource {
|
|
53493
53602
|
constructor() {
|
|
53494
53603
|
super(...arguments);
|
|
@@ -53559,7 +53668,7 @@ class Responses extends APIResource {
|
|
|
53559
53668
|
Responses.InputItems = InputItems;
|
|
53560
53669
|
Responses.InputTokens = InputTokens;
|
|
53561
53670
|
|
|
53562
|
-
// node_modules/openai/resources/beta/threads/messages.mjs
|
|
53671
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/threads/messages.mjs
|
|
53563
53672
|
class Messages2 extends APIResource {
|
|
53564
53673
|
create(threadID, body, options) {
|
|
53565
53674
|
return this._client.post(path`/threads/${threadID}/messages`, {
|
|
@@ -53604,7 +53713,7 @@ class Messages2 extends APIResource {
|
|
|
53604
53713
|
}
|
|
53605
53714
|
}
|
|
53606
53715
|
|
|
53607
|
-
// node_modules/openai/resources/beta/threads/runs/steps.mjs
|
|
53716
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/threads/runs/steps.mjs
|
|
53608
53717
|
class Steps extends APIResource {
|
|
53609
53718
|
retrieve(stepID, params, options) {
|
|
53610
53719
|
const { thread_id, run_id, ...query } = params;
|
|
@@ -53625,7 +53734,7 @@ class Steps extends APIResource {
|
|
|
53625
53734
|
});
|
|
53626
53735
|
}
|
|
53627
53736
|
}
|
|
53628
|
-
// node_modules/openai/internal/utils/base64.mjs
|
|
53737
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/base64.mjs
|
|
53629
53738
|
var fromBase64 = (str) => {
|
|
53630
53739
|
if (typeof globalThis.Buffer !== "undefined") {
|
|
53631
53740
|
const buf = globalThis.Buffer.from(str, "base64");
|
|
@@ -53655,7 +53764,7 @@ var toFloat32Array = (base64Str) => {
|
|
|
53655
53764
|
return Array.from(new Float32Array(bytes.buffer));
|
|
53656
53765
|
}
|
|
53657
53766
|
};
|
|
53658
|
-
// node_modules/openai/internal/utils/env.mjs
|
|
53767
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/utils/env.mjs
|
|
53659
53768
|
var readEnv = (env) => {
|
|
53660
53769
|
try {
|
|
53661
53770
|
if (typeof globalThis.process !== "undefined") {
|
|
@@ -53669,7 +53778,7 @@ var readEnv = (env) => {
|
|
|
53669
53778
|
}
|
|
53670
53779
|
return;
|
|
53671
53780
|
};
|
|
53672
|
-
// node_modules/openai/internal/assistant-stream-delta.mjs
|
|
53781
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/assistant-stream-delta.mjs
|
|
53673
53782
|
var MAX_ASSISTANT_STREAM_ARRAY_GROWTH = 1024;
|
|
53674
53783
|
var MAX_EXTERNALLY_MUTABLE_ASSISTANT_STREAM_ARRAY_LENGTH = 65536;
|
|
53675
53784
|
function getAssistantStreamDiagnosticProperty(property) {
|
|
@@ -53952,7 +54061,7 @@ function createAssistantStreamArrayDeltaCommit(accumulator, delta, kind, cacheAr
|
|
|
53952
54061
|
return () => commitAssistantStreamArrayProjection(projection);
|
|
53953
54062
|
}
|
|
53954
54063
|
|
|
53955
|
-
// node_modules/openai/lib/AssistantStream.mjs
|
|
54064
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/AssistantStream.mjs
|
|
53956
54065
|
var _AssistantStream_instances;
|
|
53957
54066
|
var _AssistantStream_runStepSnapshots;
|
|
53958
54067
|
var _AssistantStream_runStepIDOwners;
|
|
@@ -54614,7 +54723,7 @@ function assertNever3(_x) {
|
|
|
54614
54723
|
return _x;
|
|
54615
54724
|
}
|
|
54616
54725
|
|
|
54617
|
-
// node_modules/openai/lib/polling.mjs
|
|
54726
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/polling.mjs
|
|
54618
54727
|
function sleepUntilAborted(milliseconds, signal) {
|
|
54619
54728
|
return new Promise((resolve6, reject) => {
|
|
54620
54729
|
let timer;
|
|
@@ -54717,7 +54826,7 @@ async function pollWithResponse(retrieve, intermediateStatuses, terminalStatuses
|
|
|
54717
54826
|
}
|
|
54718
54827
|
}
|
|
54719
54828
|
|
|
54720
|
-
// node_modules/openai/lib/assistant-run-polling.mjs
|
|
54829
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/assistant-run-polling.mjs
|
|
54721
54830
|
function pollAssistantRun(resource, runID, params, options) {
|
|
54722
54831
|
return pollWithResponse((headers) => resource.retrieve(runID, params, {
|
|
54723
54832
|
...options,
|
|
@@ -54725,7 +54834,7 @@ function pollAssistantRun(resource, runID, params, options) {
|
|
|
54725
54834
|
}), ["queued", "in_progress", "cancelling"], ["requires_action", "incomplete", "cancelled", "completed", "failed", "expired"], options);
|
|
54726
54835
|
}
|
|
54727
54836
|
|
|
54728
|
-
// node_modules/openai/resources/beta/threads/runs/runs.mjs
|
|
54837
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/threads/runs/runs.mjs
|
|
54729
54838
|
class Runs extends APIResource {
|
|
54730
54839
|
constructor() {
|
|
54731
54840
|
super(...arguments);
|
|
@@ -54810,7 +54919,7 @@ class Runs extends APIResource {
|
|
|
54810
54919
|
}
|
|
54811
54920
|
Runs.Steps = Steps;
|
|
54812
54921
|
|
|
54813
|
-
// node_modules/openai/resources/beta/threads/threads.mjs
|
|
54922
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/threads/threads.mjs
|
|
54814
54923
|
class Threads2 extends APIResource {
|
|
54815
54924
|
constructor() {
|
|
54816
54925
|
super(...arguments);
|
|
@@ -54868,7 +54977,7 @@ class Threads2 extends APIResource {
|
|
|
54868
54977
|
Threads2.Runs = Runs;
|
|
54869
54978
|
Threads2.Messages = Messages2;
|
|
54870
54979
|
|
|
54871
|
-
// node_modules/openai/resources/beta/beta.mjs
|
|
54980
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/beta/beta.mjs
|
|
54872
54981
|
class Beta extends APIResource {
|
|
54873
54982
|
constructor() {
|
|
54874
54983
|
super(...arguments);
|
|
@@ -54884,7 +54993,7 @@ Beta.Responses = Responses;
|
|
|
54884
54993
|
Beta.ChatKit = ChatKit;
|
|
54885
54994
|
Beta.Assistants = Assistants;
|
|
54886
54995
|
Beta.Threads = Threads2;
|
|
54887
|
-
// node_modules/openai/resources/completions.mjs
|
|
54996
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/completions.mjs
|
|
54888
54997
|
class Completions2 extends APIResource {
|
|
54889
54998
|
create(body, options) {
|
|
54890
54999
|
return this._client.post("/completions", {
|
|
@@ -54895,7 +55004,7 @@ class Completions2 extends APIResource {
|
|
|
54895
55004
|
});
|
|
54896
55005
|
}
|
|
54897
55006
|
}
|
|
54898
|
-
// node_modules/openai/resources/containers/files/content.mjs
|
|
55007
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/containers/files/content.mjs
|
|
54899
55008
|
class Content extends APIResource {
|
|
54900
55009
|
retrieve(fileID, params, options) {
|
|
54901
55010
|
const { container_id } = params;
|
|
@@ -54908,7 +55017,7 @@ class Content extends APIResource {
|
|
|
54908
55017
|
}
|
|
54909
55018
|
}
|
|
54910
55019
|
|
|
54911
|
-
// node_modules/openai/resources/containers/files/files.mjs
|
|
55020
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/containers/files/files.mjs
|
|
54912
55021
|
class Files extends APIResource {
|
|
54913
55022
|
constructor() {
|
|
54914
55023
|
super(...arguments);
|
|
@@ -54942,7 +55051,7 @@ class Files extends APIResource {
|
|
|
54942
55051
|
}
|
|
54943
55052
|
Files.Content = Content;
|
|
54944
55053
|
|
|
54945
|
-
// node_modules/openai/resources/containers/containers.mjs
|
|
55054
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/containers/containers.mjs
|
|
54946
55055
|
class Containers extends APIResource {
|
|
54947
55056
|
constructor() {
|
|
54948
55057
|
super(...arguments);
|
|
@@ -54973,13 +55082,13 @@ class Containers extends APIResource {
|
|
|
54973
55082
|
}
|
|
54974
55083
|
}
|
|
54975
55084
|
Containers.Files = Files;
|
|
54976
|
-
// node_modules/openai/resources/content-provenance-checks.mjs
|
|
55085
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/content-provenance-checks.mjs
|
|
54977
55086
|
class ContentProvenanceChecks extends APIResource {
|
|
54978
55087
|
create(body, options) {
|
|
54979
55088
|
return this._client.post("/content_provenance_checks", multipartFormRequestOptions({ body, ...options, __security: { bearerAuth: true } }, this._client));
|
|
54980
55089
|
}
|
|
54981
55090
|
}
|
|
54982
|
-
// node_modules/openai/resources/conversations/items.mjs
|
|
55091
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/conversations/items.mjs
|
|
54983
55092
|
class Items extends APIResource {
|
|
54984
55093
|
create(conversationID, params, options) {
|
|
54985
55094
|
const { include, ...body } = params;
|
|
@@ -55010,7 +55119,7 @@ class Items extends APIResource {
|
|
|
55010
55119
|
}
|
|
55011
55120
|
}
|
|
55012
55121
|
|
|
55013
|
-
// node_modules/openai/resources/conversations/conversations.mjs
|
|
55122
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/conversations/conversations.mjs
|
|
55014
55123
|
class Conversations extends APIResource {
|
|
55015
55124
|
constructor() {
|
|
55016
55125
|
super(...arguments);
|
|
@@ -55040,7 +55149,7 @@ class Conversations extends APIResource {
|
|
|
55040
55149
|
}
|
|
55041
55150
|
}
|
|
55042
55151
|
Conversations.Items = Items;
|
|
55043
|
-
// node_modules/openai/lib/embeddings.mjs
|
|
55152
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/embeddings.mjs
|
|
55044
55153
|
function createEmbedding(client2, body, options) {
|
|
55045
55154
|
const hasUserProvidedEncodingFormat = !!body.encoding_format;
|
|
55046
55155
|
const encodingFormat = hasUserProvidedEncodingFormat ? body.encoding_format : "base64";
|
|
@@ -55075,13 +55184,13 @@ function createEmbedding(client2, body, options) {
|
|
|
55075
55184
|
});
|
|
55076
55185
|
}
|
|
55077
55186
|
|
|
55078
|
-
// node_modules/openai/resources/embeddings.mjs
|
|
55187
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/embeddings.mjs
|
|
55079
55188
|
class Embeddings extends APIResource {
|
|
55080
55189
|
create(body, options) {
|
|
55081
55190
|
return createEmbedding(this._client, body, options);
|
|
55082
55191
|
}
|
|
55083
55192
|
}
|
|
55084
|
-
// node_modules/openai/resources/evals/runs/output-items.mjs
|
|
55193
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/evals/runs/output-items.mjs
|
|
55085
55194
|
class OutputItems extends APIResource {
|
|
55086
55195
|
retrieve(outputItemID, params, options) {
|
|
55087
55196
|
const { eval_id, run_id } = params;
|
|
@@ -55096,7 +55205,7 @@ class OutputItems extends APIResource {
|
|
|
55096
55205
|
}
|
|
55097
55206
|
}
|
|
55098
55207
|
|
|
55099
|
-
// node_modules/openai/resources/evals/runs/runs.mjs
|
|
55208
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/evals/runs/runs.mjs
|
|
55100
55209
|
class Runs2 extends APIResource {
|
|
55101
55210
|
constructor() {
|
|
55102
55211
|
super(...arguments);
|
|
@@ -55140,7 +55249,7 @@ class Runs2 extends APIResource {
|
|
|
55140
55249
|
}
|
|
55141
55250
|
Runs2.OutputItems = OutputItems;
|
|
55142
55251
|
|
|
55143
|
-
// node_modules/openai/resources/evals/evals.mjs
|
|
55252
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/evals/evals.mjs
|
|
55144
55253
|
class Evals extends APIResource {
|
|
55145
55254
|
constructor() {
|
|
55146
55255
|
super(...arguments);
|
|
@@ -55167,7 +55276,7 @@ class Evals extends APIResource {
|
|
|
55167
55276
|
}
|
|
55168
55277
|
}
|
|
55169
55278
|
Evals.Runs = Runs2;
|
|
55170
|
-
// node_modules/openai/lib/file-processing.mjs
|
|
55279
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/file-processing.mjs
|
|
55171
55280
|
async function waitForFileProcessing(resource, id, pollInterval, maxWait) {
|
|
55172
55281
|
const terminalStates = new Set(["processed", "error", "deleted"]);
|
|
55173
55282
|
const start = Date.now();
|
|
@@ -55184,7 +55293,7 @@ async function waitForFileProcessing(resource, id, pollInterval, maxWait) {
|
|
|
55184
55293
|
return file2;
|
|
55185
55294
|
}
|
|
55186
55295
|
|
|
55187
|
-
// node_modules/openai/resources/files.mjs
|
|
55296
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/files.mjs
|
|
55188
55297
|
class Files2 extends APIResource {
|
|
55189
55298
|
create(body, options) {
|
|
55190
55299
|
return this._client.post("/files", multipartFormRequestOptions({ body, ...options, __security: { bearerAuth: true } }, this._client));
|
|
@@ -55214,11 +55323,11 @@ class Files2 extends APIResource {
|
|
|
55214
55323
|
return await waitForFileProcessing(this, id, pollInterval, maxWait);
|
|
55215
55324
|
}
|
|
55216
55325
|
}
|
|
55217
|
-
// node_modules/openai/resources/fine-tuning/methods.mjs
|
|
55326
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/methods.mjs
|
|
55218
55327
|
class Methods extends APIResource {
|
|
55219
55328
|
}
|
|
55220
55329
|
|
|
55221
|
-
// node_modules/openai/resources/fine-tuning/alpha/graders.mjs
|
|
55330
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/alpha/graders.mjs
|
|
55222
55331
|
class Graders extends APIResource {
|
|
55223
55332
|
run(body, options) {
|
|
55224
55333
|
return this._client.post("/fine_tuning/alpha/graders/run", {
|
|
@@ -55236,7 +55345,7 @@ class Graders extends APIResource {
|
|
|
55236
55345
|
}
|
|
55237
55346
|
}
|
|
55238
55347
|
|
|
55239
|
-
// node_modules/openai/resources/fine-tuning/alpha/alpha.mjs
|
|
55348
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/alpha/alpha.mjs
|
|
55240
55349
|
class Alpha extends APIResource {
|
|
55241
55350
|
constructor() {
|
|
55242
55351
|
super(...arguments);
|
|
@@ -55245,7 +55354,7 @@ class Alpha extends APIResource {
|
|
|
55245
55354
|
}
|
|
55246
55355
|
Alpha.Graders = Graders;
|
|
55247
55356
|
|
|
55248
|
-
// node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs
|
|
55357
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs
|
|
55249
55358
|
class Permissions extends APIResource {
|
|
55250
55359
|
create(fineTunedModelCheckpoint, body, options) {
|
|
55251
55360
|
return this._client.getAPIList(path`/fine_tuning/checkpoints/${fineTunedModelCheckpoint}/permissions`, Page, { body, method: "post", ...options, __security: { adminAPIKeyAuth: true } });
|
|
@@ -55266,7 +55375,7 @@ class Permissions extends APIResource {
|
|
|
55266
55375
|
}
|
|
55267
55376
|
}
|
|
55268
55377
|
|
|
55269
|
-
// node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs
|
|
55378
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs
|
|
55270
55379
|
class Checkpoints extends APIResource {
|
|
55271
55380
|
constructor() {
|
|
55272
55381
|
super(...arguments);
|
|
@@ -55275,14 +55384,14 @@ class Checkpoints extends APIResource {
|
|
|
55275
55384
|
}
|
|
55276
55385
|
Checkpoints.Permissions = Permissions;
|
|
55277
55386
|
|
|
55278
|
-
// node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs
|
|
55387
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs
|
|
55279
55388
|
class Checkpoints2 extends APIResource {
|
|
55280
55389
|
list(fineTuningJobID, query2 = {}, options) {
|
|
55281
55390
|
return this._client.getAPIList(path`/fine_tuning/jobs/${fineTuningJobID}/checkpoints`, CursorPage, { query: query2, ...options, __security: { bearerAuth: true } });
|
|
55282
55391
|
}
|
|
55283
55392
|
}
|
|
55284
55393
|
|
|
55285
|
-
// node_modules/openai/resources/fine-tuning/jobs/jobs.mjs
|
|
55394
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/jobs/jobs.mjs
|
|
55286
55395
|
class Jobs extends APIResource {
|
|
55287
55396
|
constructor() {
|
|
55288
55397
|
super(...arguments);
|
|
@@ -55328,7 +55437,7 @@ class Jobs extends APIResource {
|
|
|
55328
55437
|
}
|
|
55329
55438
|
Jobs.Checkpoints = Checkpoints2;
|
|
55330
55439
|
|
|
55331
|
-
// node_modules/openai/resources/fine-tuning/fine-tuning.mjs
|
|
55440
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/fine-tuning/fine-tuning.mjs
|
|
55332
55441
|
class FineTuning extends APIResource {
|
|
55333
55442
|
constructor() {
|
|
55334
55443
|
super(...arguments);
|
|
@@ -55342,11 +55451,11 @@ FineTuning.Methods = Methods;
|
|
|
55342
55451
|
FineTuning.Jobs = Jobs;
|
|
55343
55452
|
FineTuning.Checkpoints = Checkpoints;
|
|
55344
55453
|
FineTuning.Alpha = Alpha;
|
|
55345
|
-
// node_modules/openai/resources/graders/grader-models.mjs
|
|
55454
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/graders/grader-models.mjs
|
|
55346
55455
|
class GraderModels extends APIResource {
|
|
55347
55456
|
}
|
|
55348
55457
|
|
|
55349
|
-
// node_modules/openai/resources/graders/graders.mjs
|
|
55458
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/graders/graders.mjs
|
|
55350
55459
|
class Graders2 extends APIResource {
|
|
55351
55460
|
constructor() {
|
|
55352
55461
|
super(...arguments);
|
|
@@ -55354,7 +55463,7 @@ class Graders2 extends APIResource {
|
|
|
55354
55463
|
}
|
|
55355
55464
|
}
|
|
55356
55465
|
Graders2.GraderModels = GraderModels;
|
|
55357
|
-
// node_modules/openai/resources/images.mjs
|
|
55466
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/images.mjs
|
|
55358
55467
|
class Images extends APIResource {
|
|
55359
55468
|
createVariation(body, options) {
|
|
55360
55469
|
return this._client.post("/images/variations", multipartFormRequestOptions({ body, ...options, __security: { bearerAuth: true } }, this._client));
|
|
@@ -55377,7 +55486,7 @@ class Images extends APIResource {
|
|
|
55377
55486
|
});
|
|
55378
55487
|
}
|
|
55379
55488
|
}
|
|
55380
|
-
// node_modules/openai/resources/models.mjs
|
|
55489
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/models.mjs
|
|
55381
55490
|
class Models extends APIResource {
|
|
55382
55491
|
retrieve(model, options) {
|
|
55383
55492
|
return this._client.get(path`/models/${model}`, { ...options, __security: { bearerAuth: true } });
|
|
@@ -55389,13 +55498,13 @@ class Models extends APIResource {
|
|
|
55389
55498
|
return this._client.delete(path`/models/${model}`, { ...options, __security: { bearerAuth: true } });
|
|
55390
55499
|
}
|
|
55391
55500
|
}
|
|
55392
|
-
// node_modules/openai/resources/moderations.mjs
|
|
55501
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/moderations.mjs
|
|
55393
55502
|
class Moderations extends APIResource {
|
|
55394
55503
|
create(body, options) {
|
|
55395
55504
|
return this._client.post("/moderations", { body, ...options, __security: { bearerAuth: true } });
|
|
55396
55505
|
}
|
|
55397
55506
|
}
|
|
55398
|
-
// node_modules/openai/internal/multipart-encoding.mjs
|
|
55507
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/multipart-encoding.mjs
|
|
55399
55508
|
async function encodedMultipartFormRequestOptions(options, client2, encodings, rawBodyField = null) {
|
|
55400
55509
|
if (options.body === null || typeof options.body !== "object" || Array.isArray(options.body)) {
|
|
55401
55510
|
throw new TypeError("Multipart request body must be an object");
|
|
@@ -55437,7 +55546,7 @@ async function encodedMultipartFormRequestOptions(options, client2, encodings, r
|
|
|
55437
55546
|
};
|
|
55438
55547
|
}
|
|
55439
55548
|
|
|
55440
|
-
// node_modules/openai/resources/realtime/calls.mjs
|
|
55549
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/realtime/calls.mjs
|
|
55441
55550
|
class Calls extends APIResource {
|
|
55442
55551
|
create(body, options) {
|
|
55443
55552
|
return this._client.post("/realtime/calls", encodedMultipartFormRequestOptions({
|
|
@@ -55484,7 +55593,7 @@ class Calls extends APIResource {
|
|
|
55484
55593
|
}
|
|
55485
55594
|
}
|
|
55486
55595
|
|
|
55487
|
-
// node_modules/openai/resources/realtime/client-secrets.mjs
|
|
55596
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/realtime/client-secrets.mjs
|
|
55488
55597
|
class ClientSecrets extends APIResource {
|
|
55489
55598
|
create(body, options) {
|
|
55490
55599
|
return this._client.post("/realtime/client_secrets", {
|
|
@@ -55495,7 +55604,7 @@ class ClientSecrets extends APIResource {
|
|
|
55495
55604
|
}
|
|
55496
55605
|
}
|
|
55497
55606
|
|
|
55498
|
-
// node_modules/openai/resources/realtime/realtime.mjs
|
|
55607
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/realtime/realtime.mjs
|
|
55499
55608
|
class Realtime2 extends APIResource {
|
|
55500
55609
|
constructor() {
|
|
55501
55610
|
super(...arguments);
|
|
@@ -55505,7 +55614,7 @@ class Realtime2 extends APIResource {
|
|
|
55505
55614
|
}
|
|
55506
55615
|
Realtime2.ClientSecrets = ClientSecrets;
|
|
55507
55616
|
Realtime2.Calls = Calls;
|
|
55508
|
-
// node_modules/openai/lib/ResponsesParser.mjs
|
|
55617
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/ResponsesParser.mjs
|
|
55509
55618
|
function maybeParseResponse(response, params) {
|
|
55510
55619
|
if (!params || !hasAutoParseableInput2(params)) {
|
|
55511
55620
|
const parsed = {
|
|
@@ -55628,7 +55737,7 @@ function addOutputText(rsp) {
|
|
|
55628
55737
|
rsp.output_text = texts.join("");
|
|
55629
55738
|
}
|
|
55630
55739
|
|
|
55631
|
-
// node_modules/openai/internal/responses/output-text-index.mjs
|
|
55740
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/responses/output-text-index.mjs
|
|
55632
55741
|
class OutputTextIndex {
|
|
55633
55742
|
constructor() {
|
|
55634
55743
|
this.capacity = 1;
|
|
@@ -55695,7 +55804,7 @@ class OutputTextIndex {
|
|
|
55695
55804
|
}
|
|
55696
55805
|
}
|
|
55697
55806
|
|
|
55698
|
-
// node_modules/openai/internal/responses/canonical-output-text.mjs
|
|
55807
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/responses/canonical-output-text.mjs
|
|
55699
55808
|
function createCanonicalResponseContext() {
|
|
55700
55809
|
return {
|
|
55701
55810
|
canonicalSnapshot: undefined,
|
|
@@ -55800,7 +55909,7 @@ function updateOutputText(context, snapshot2, outputIndex, previousText, nextTex
|
|
|
55800
55909
|
snapshot2.output_text = snapshot2.output_text.slice(0, offset) + nextText + snapshot2.output_text.slice(offset + previousText.length);
|
|
55801
55910
|
}
|
|
55802
55911
|
|
|
55803
|
-
// node_modules/openai/internal/responses/response-accumulator.mjs
|
|
55912
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/responses/response-accumulator.mjs
|
|
55804
55913
|
var responseOutputIdentityIndexes = new WeakMap;
|
|
55805
55914
|
function validateArrayIndex(collection, index, kind, allowAppend = false) {
|
|
55806
55915
|
if (!Number.isSafeInteger(index) || index < 0 || index > collection.length || (index === collection.length ? !allowAppend || index in collection : !hasOwn(collection, index))) {
|
|
@@ -56686,7 +56795,7 @@ function accumulateResponseWithContext(event, snapshot2, context, rejectInvalidS
|
|
|
56686
56795
|
return assertNever4(dispatchEvent);
|
|
56687
56796
|
}
|
|
56688
56797
|
|
|
56689
|
-
// node_modules/openai/lib/responses/ResponseStream.mjs
|
|
56798
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/responses/ResponseStream.mjs
|
|
56690
56799
|
var _ResponseStream_instances;
|
|
56691
56800
|
var _ResponseStream_params;
|
|
56692
56801
|
var _ResponseStream_currentResponseSnapshot;
|
|
@@ -56856,14 +56965,14 @@ function finalizeResponse(snapshot2, params) {
|
|
|
56856
56965
|
return maybeParseResponse(snapshot2, params);
|
|
56857
56966
|
}
|
|
56858
56967
|
|
|
56859
|
-
// node_modules/openai/resources/responses/input-items.mjs
|
|
56968
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/responses/input-items.mjs
|
|
56860
56969
|
class InputItems2 extends APIResource {
|
|
56861
56970
|
list(responseID, query2 = {}, options) {
|
|
56862
56971
|
return this._client.getAPIList(path`/responses/${responseID}/input_items`, CursorPage, { query: query2, ...options, __security: { bearerAuth: true } });
|
|
56863
56972
|
}
|
|
56864
56973
|
}
|
|
56865
56974
|
|
|
56866
|
-
// node_modules/openai/resources/responses/input-tokens.mjs
|
|
56975
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/responses/input-tokens.mjs
|
|
56867
56976
|
class InputTokens2 extends APIResource {
|
|
56868
56977
|
count(body = {}, options) {
|
|
56869
56978
|
return this._client.post("/responses/input_tokens", {
|
|
@@ -56874,7 +56983,7 @@ class InputTokens2 extends APIResource {
|
|
|
56874
56983
|
}
|
|
56875
56984
|
}
|
|
56876
56985
|
|
|
56877
|
-
// node_modules/openai/resources/responses/responses.mjs
|
|
56986
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/responses/responses.mjs
|
|
56878
56987
|
class Responses2 extends APIResource {
|
|
56879
56988
|
constructor() {
|
|
56880
56989
|
super(...arguments);
|
|
@@ -56932,7 +57041,7 @@ class Responses2 extends APIResource {
|
|
|
56932
57041
|
}
|
|
56933
57042
|
Responses2.InputItems = InputItems2;
|
|
56934
57043
|
Responses2.InputTokens = InputTokens2;
|
|
56935
|
-
// node_modules/openai/resources/skills/content.mjs
|
|
57044
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/skills/content.mjs
|
|
56936
57045
|
class Content2 extends APIResource {
|
|
56937
57046
|
retrieve(skillID, options) {
|
|
56938
57047
|
return this._client.get(path`/skills/${skillID}/content`, {
|
|
@@ -56944,7 +57053,7 @@ class Content2 extends APIResource {
|
|
|
56944
57053
|
}
|
|
56945
57054
|
}
|
|
56946
57055
|
|
|
56947
|
-
// node_modules/openai/resources/skills/versions/content.mjs
|
|
57056
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/skills/versions/content.mjs
|
|
56948
57057
|
class Content3 extends APIResource {
|
|
56949
57058
|
retrieve(version2, params, options) {
|
|
56950
57059
|
const { skill_id } = params;
|
|
@@ -56957,7 +57066,7 @@ class Content3 extends APIResource {
|
|
|
56957
57066
|
}
|
|
56958
57067
|
}
|
|
56959
57068
|
|
|
56960
|
-
// node_modules/openai/resources/skills/versions/versions.mjs
|
|
57069
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/skills/versions/versions.mjs
|
|
56961
57070
|
class Versions extends APIResource {
|
|
56962
57071
|
constructor() {
|
|
56963
57072
|
super(...arguments);
|
|
@@ -56992,7 +57101,7 @@ class Versions extends APIResource {
|
|
|
56992
57101
|
}
|
|
56993
57102
|
Versions.Content = Content3;
|
|
56994
57103
|
|
|
56995
|
-
// node_modules/openai/resources/skills/skills.mjs
|
|
57104
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/skills/skills.mjs
|
|
56996
57105
|
class Skills extends APIResource {
|
|
56997
57106
|
constructor() {
|
|
56998
57107
|
super(...arguments);
|
|
@@ -57027,14 +57136,14 @@ class Skills extends APIResource {
|
|
|
57027
57136
|
}
|
|
57028
57137
|
Skills.Content = Content2;
|
|
57029
57138
|
Skills.Versions = Versions;
|
|
57030
|
-
// node_modules/openai/resources/uploads/parts.mjs
|
|
57139
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/uploads/parts.mjs
|
|
57031
57140
|
class Parts extends APIResource {
|
|
57032
57141
|
create(uploadID, body, options) {
|
|
57033
57142
|
return this._client.post(path`/uploads/${uploadID}/parts`, multipartFormRequestOptions({ body, ...options, __security: { bearerAuth: true } }, this._client));
|
|
57034
57143
|
}
|
|
57035
57144
|
}
|
|
57036
57145
|
|
|
57037
|
-
// node_modules/openai/resources/uploads/uploads.mjs
|
|
57146
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/uploads/uploads.mjs
|
|
57038
57147
|
class Uploads extends APIResource {
|
|
57039
57148
|
constructor() {
|
|
57040
57149
|
super(...arguments);
|
|
@@ -57058,7 +57167,7 @@ class Uploads extends APIResource {
|
|
|
57058
57167
|
}
|
|
57059
57168
|
}
|
|
57060
57169
|
Uploads.Parts = Parts;
|
|
57061
|
-
// node_modules/openai/lib/vector-store-polling.mjs
|
|
57170
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/vector-store-polling.mjs
|
|
57062
57171
|
function pollVectorStoreFile(resource, vectorStoreID, fileID, options) {
|
|
57063
57172
|
return pollWithResponse((headers) => resource.retrieve(fileID, { vector_store_id: vectorStoreID }, { ...options, headers }), ["in_progress"], ["failed", "completed"], options);
|
|
57064
57173
|
}
|
|
@@ -57066,7 +57175,7 @@ function pollVectorStoreFileBatch(resource, vectorStoreID, batchID, options) {
|
|
|
57066
57175
|
return pollWithResponse((headers) => resource.retrieve(batchID, { vector_store_id: vectorStoreID }, { ...options, headers }), ["in_progress"], ["failed", "cancelled", "completed"], options);
|
|
57067
57176
|
}
|
|
57068
57177
|
|
|
57069
|
-
// node_modules/openai/lib/Util.mjs
|
|
57178
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/Util.mjs
|
|
57070
57179
|
var allSettledWithThrow = async (promises) => {
|
|
57071
57180
|
const results = await Promise.allSettled(promises);
|
|
57072
57181
|
const rejected = results.filter((result) => result.status === "rejected");
|
|
@@ -57086,7 +57195,7 @@ var allSettledWithThrow = async (promises) => {
|
|
|
57086
57195
|
return values2;
|
|
57087
57196
|
};
|
|
57088
57197
|
|
|
57089
|
-
// node_modules/openai/lib/vector-store-upload.mjs
|
|
57198
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/vector-store-upload.mjs
|
|
57090
57199
|
async function uploadAndPollVectorStoreFileBatch(resource, client2, vectorStoreId, files, fileIds, options) {
|
|
57091
57200
|
if (files === null || files === undefined || files.length === 0) {
|
|
57092
57201
|
throw new Error("No `files` provided to process. If you've already uploaded files you should use `.createAndPoll()` instead");
|
|
@@ -57110,7 +57219,7 @@ async function uploadAndPollVectorStoreFileBatch(resource, client2, vectorStoreI
|
|
|
57110
57219
|
return await resource.createAndPoll(vectorStoreId, { file_ids: allFileIds }, options);
|
|
57111
57220
|
}
|
|
57112
57221
|
|
|
57113
|
-
// node_modules/openai/resources/vector-stores/file-batches.mjs
|
|
57222
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/vector-stores/file-batches.mjs
|
|
57114
57223
|
class FileBatches extends APIResource {
|
|
57115
57224
|
create(vectorStoreID, body, options) {
|
|
57116
57225
|
return this._client.post(path`/vector_stores/${vectorStoreID}/file_batches`, {
|
|
@@ -57157,7 +57266,7 @@ class FileBatches extends APIResource {
|
|
|
57157
57266
|
}
|
|
57158
57267
|
}
|
|
57159
57268
|
|
|
57160
|
-
// node_modules/openai/resources/vector-stores/files.mjs
|
|
57269
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/vector-stores/files.mjs
|
|
57161
57270
|
class Files3 extends APIResource {
|
|
57162
57271
|
create(vectorStoreID, body, options) {
|
|
57163
57272
|
return this._client.post(path`/vector_stores/${vectorStoreID}/files`, {
|
|
@@ -57225,7 +57334,7 @@ class Files3 extends APIResource {
|
|
|
57225
57334
|
}
|
|
57226
57335
|
}
|
|
57227
57336
|
|
|
57228
|
-
// node_modules/openai/resources/vector-stores/vector-stores.mjs
|
|
57337
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/vector-stores/vector-stores.mjs
|
|
57229
57338
|
class VectorStores extends APIResource {
|
|
57230
57339
|
constructor() {
|
|
57231
57340
|
super(...arguments);
|
|
@@ -57282,7 +57391,7 @@ class VectorStores extends APIResource {
|
|
|
57282
57391
|
}
|
|
57283
57392
|
VectorStores.Files = Files3;
|
|
57284
57393
|
VectorStores.FileBatches = FileBatches;
|
|
57285
|
-
// node_modules/openai/resources/videos.mjs
|
|
57394
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/videos.mjs
|
|
57286
57395
|
class Videos extends APIResource {
|
|
57287
57396
|
create(body, options) {
|
|
57288
57397
|
return this._client.post("/videos", multipartFormRequestOptions({ body, ...options, __security: { bearerAuth: true } }, this._client));
|
|
@@ -57328,7 +57437,7 @@ class Videos extends APIResource {
|
|
|
57328
57437
|
return this._client.post(path`/videos/${videoID}/remix`, maybeMultipartFormRequestOptions({ body, ...options, __security: { bearerAuth: true } }, this._client));
|
|
57329
57438
|
}
|
|
57330
57439
|
}
|
|
57331
|
-
// node_modules/openai/lib/webhook-signature.mjs
|
|
57440
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/lib/webhook-signature.mjs
|
|
57332
57441
|
var MAX_DIRECT_WEBHOOK_VERIFICATIONS = 32;
|
|
57333
57442
|
var SHA256_SIGNATURE_LENGTH = 32;
|
|
57334
57443
|
function webhookSignatureRequiresSigning(signatureHeader) {
|
|
@@ -57423,7 +57532,7 @@ async function verifyWebhookSignature(payload, signatureHeader, timestamp, webho
|
|
|
57423
57532
|
throw new InvalidWebhookSignatureError("The given webhook signature does not match the expected signature");
|
|
57424
57533
|
}
|
|
57425
57534
|
|
|
57426
|
-
// node_modules/openai/resources/webhooks/webhooks.mjs
|
|
57535
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/resources/webhooks/webhooks.mjs
|
|
57427
57536
|
var _Webhooks_instances;
|
|
57428
57537
|
var _Webhooks_validateSecret;
|
|
57429
57538
|
var _Webhooks_getRequiredHeader;
|
|
@@ -57466,7 +57575,7 @@ _Webhooks_instances = new WeakSet, _Webhooks_validateSecret = function _Webhooks
|
|
|
57466
57575
|
}
|
|
57467
57576
|
return value;
|
|
57468
57577
|
};
|
|
57469
|
-
// node_modules/openai/internal/provider.mjs
|
|
57578
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/provider.mjs
|
|
57470
57579
|
var providerDefinitionsKey = Symbol.for("openai.node.providerDefinitions.v1");
|
|
57471
57580
|
var providerGlobal = globalThis;
|
|
57472
57581
|
var existingProviderDefinitions = providerGlobal[providerDefinitionsKey];
|
|
@@ -57482,7 +57591,7 @@ function configureProvider(provider) {
|
|
|
57482
57591
|
return definition.configure();
|
|
57483
57592
|
}
|
|
57484
57593
|
|
|
57485
|
-
// node_modules/openai/client.mjs
|
|
57594
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/client.mjs
|
|
57486
57595
|
var _OpenAI_instances;
|
|
57487
57596
|
var _a4;
|
|
57488
57597
|
var _OpenAI_encoder;
|
|
@@ -58510,7 +58619,7 @@ function isUndiciDispatcherVersionMismatchError(error49) {
|
|
|
58510
58619
|
}
|
|
58511
58620
|
return false;
|
|
58512
58621
|
}
|
|
58513
|
-
// node_modules/openai/azure.mjs
|
|
58622
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/azure.mjs
|
|
58514
58623
|
var _deployments_endpoints = new Set([
|
|
58515
58624
|
"/completions",
|
|
58516
58625
|
"/chat/completions",
|
|
@@ -58522,10 +58631,10 @@ var _deployments_endpoints = new Set([
|
|
|
58522
58631
|
"/batches",
|
|
58523
58632
|
"/images/edits"
|
|
58524
58633
|
]);
|
|
58525
|
-
// node_modules/openai/internal/bedrock.mjs
|
|
58634
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/internal/bedrock.mjs
|
|
58526
58635
|
var brand_privateBedrockClient = Symbol.for("openai.privateBedrockClient");
|
|
58527
58636
|
|
|
58528
|
-
// node_modules/openai/bedrock.mjs
|
|
58637
|
+
// ../../node_modules/.bun/openai@7.9.0+3c5d820c62823f0b/node_modules/openai/bedrock.mjs
|
|
58529
58638
|
var _a5;
|
|
58530
58639
|
_a5 = brand_privateBedrockClient;
|
|
58531
58640
|
// src/internal/openai-agent-client.ts
|
|
@@ -59034,10 +59143,12 @@ function backendPlan(recipe, provider, deadlineUnixMs, identity2) {
|
|
|
59034
59143
|
readOnlyMounts: Object.freeze([
|
|
59035
59144
|
...recipe.installedSupport.runtimeMounts,
|
|
59036
59145
|
{ source: "/etc/resolv.conf", destination: "/etc/resolv.conf" },
|
|
59037
|
-
...acp === undefined ? [
|
|
59038
|
-
|
|
59039
|
-
|
|
59040
|
-
|
|
59146
|
+
...acp === undefined ? [
|
|
59147
|
+
{
|
|
59148
|
+
source: recipe.installedSupport.agentWorkerPath,
|
|
59149
|
+
destination: recipe.installedSupport.sandboxAgentWorkerPath
|
|
59150
|
+
}
|
|
59151
|
+
] : [
|
|
59041
59152
|
{ source: acp.adapterPath, destination: acp.sandboxAdapterPath },
|
|
59042
59153
|
{ source: acp.executablePath, destination: acp.sandboxExecutablePath },
|
|
59043
59154
|
...acp.readOnlyMounts
|
|
@@ -59329,7 +59440,11 @@ function normalizeParentFlow(value, parentOperationId) {
|
|
|
59329
59440
|
} else {
|
|
59330
59441
|
throw new TypeError("Agent parent Flow target is invalid");
|
|
59331
59442
|
}
|
|
59332
|
-
return Object.freeze({
|
|
59443
|
+
return Object.freeze({
|
|
59444
|
+
operationId: parentOperationId,
|
|
59445
|
+
target: identity2,
|
|
59446
|
+
requestDigest: parent.requestDigest
|
|
59447
|
+
});
|
|
59333
59448
|
}
|
|
59334
59449
|
function providerFailure(code) {
|
|
59335
59450
|
if (code === "AGENT_PROVIDER_OUTPUT_LIMIT") {
|
|
@@ -60498,7 +60613,10 @@ function parseSandbox3(value) {
|
|
|
60498
60613
|
const record3 = exactRecord7(value, ["kind", "owner"], "direct root sandbox");
|
|
60499
60614
|
if (record3.kind !== SANDBOX_KIND3)
|
|
60500
60615
|
throw new TypeError("direct root sandbox is invalid");
|
|
60501
|
-
return Object.freeze({
|
|
60616
|
+
return Object.freeze({
|
|
60617
|
+
kind: SANDBOX_KIND3,
|
|
60618
|
+
owner: normalizePrivateLinuxSealedOwnerIdentity(record3.owner)
|
|
60619
|
+
});
|
|
60502
60620
|
}
|
|
60503
60621
|
function parseFence3(value) {
|
|
60504
60622
|
const record3 = exactRecord7(value, ["kind", "receipt"], "direct root fence");
|
|
@@ -61197,11 +61315,7 @@ function hasCode9(error49, code) {
|
|
|
61197
61315
|
}
|
|
61198
61316
|
|
|
61199
61317
|
// src/installed-cli.ts
|
|
61200
|
-
var BUN_POLICY5 = Object.freeze([
|
|
61201
|
-
"--no-env-file",
|
|
61202
|
-
"--no-install",
|
|
61203
|
-
"--config=/dev/null"
|
|
61204
|
-
]);
|
|
61318
|
+
var BUN_POLICY5 = Object.freeze(["--no-env-file", "--no-install", "--config=/dev/null"]);
|
|
61205
61319
|
var installedCliPath = await realpath14(fileURLToPath2(import.meta.url));
|
|
61206
61320
|
var releaseRoot = dirname7(dirname7(installedCliPath));
|
|
61207
61321
|
var executablePath = await realpath14(process.execPath);
|