@gobi-starweaver/ws-cli 0.3.1 → 0.3.2
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/{chunks/chunk-S7EGXUII.js → dist/chunks/chunk-B2GIIUZ7.js} +2 -2
- package/{chunks/chunk-O2SA6W2I.js → dist/chunks/chunk-EMOHUSKW.js} +820 -456
- package/{chunks/chunk-BUBNMVFA.js → dist/chunks/chunk-PJQH2TDX.js} +2 -2
- package/{chunks/devtools-V5WI5QLO.js → dist/chunks/devtools-6ASGFZ3B.js} +33 -33
- package/{cli.js → dist/cli.js} +3988 -1199
- package/{mcp → dist/mcp}/servers/doc-toolchain-server.js +8 -8
- package/{mcp → dist/mcp}/servers/ws-vision-ocr-server.js +2 -2
- package/dist/vendor/hj_corpus/hj_corpus_mcp_server.py +436 -0
- package/dist/vendor/hj_corpus/hj_index_search.py +359 -0
- package/package.json +31 -11
- package/README-en.md +0 -52
- /package/{assets → dist/assets}/assembly-orders/README.md +0 -0
- /package/{assets → dist/assets}/asset-catalog/index.json +0 -0
- /package/{assets → dist/assets}/asset-catalog/snapshots/catalog-2026-08-15.json +0 -0
- /package/{assets → dist/assets}/card-templates/README.md +0 -0
- /package/{assets → dist/assets}/card-templates/collator.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/deep-reader.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/grant-editor.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/grant-writer.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/paper-review-rechecker.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/paper-reviewer.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/translation-reviewer.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/translator.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/visual-general.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/writing-author.card.json +0 -0
- /package/{assets → dist/assets}/card-templates/writing-editor.card.json +0 -0
- /package/{assets → dist/assets}/card-templates//346/234/233/350/210/222/344/270/223/345/277/203/351/251/276/351/251/266/350/257/264/346/230/216_/345/206/231/344/275/234/347/273/204.md" +0 -0
- /package/{assets → dist/assets}/card-templates//346/234/233/350/210/222/344/270/223/345/277/203/351/251/276/351/251/266/350/257/264/346/230/216_/345/256/241/347/250/277/347/273/204.md" +0 -0
- /package/{assets → dist/assets}/card-templates//346/234/233/350/210/222/344/270/223/345/277/203/351/251/276/351/251/266/350/257/264/346/230/216_/347/224/263/346/212/245/347/273/204.md" +0 -0
- /package/{assets → dist/assets}/card-templates//346/234/233/350/210/222/344/270/223/345/277/203/351/251/276/351/251/266/350/257/264/346/230/216_/347/277/273/350/257/221/347/273/204.md" +0 -0
- /package/{assets → dist/assets}/card-templates//346/234/233/350/210/222/350/275/254/345/221/210/345/275/242/346/200/201/350/247/204/350/214/203.md" +0 -0
- /package/{assets → dist/assets}/expressions/ascii-art.json +0 -0
- /package/{assets → dist/assets}/expressions/emoji-full.json +0 -0
- /package/{assets → dist/assets}/expressions/emoji.json +0 -0
- /package/{bundled → dist/bundled}/plan/SKILL.md +0 -0
- /package/{templates → dist/templates}/prompts/init_command.md.ejs +0 -0
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
__require,
|
|
8
8
|
__toESM,
|
|
9
9
|
init_esbuild_shims
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PJQH2TDX.js";
|
|
11
11
|
|
|
12
|
-
// node_modules/undici/lib/core/symbols.js
|
|
12
|
+
// ../../node_modules/undici/lib/core/symbols.js
|
|
13
13
|
var require_symbols = __commonJS({
|
|
14
|
-
"node_modules/undici/lib/core/symbols.js"(exports, module) {
|
|
14
|
+
"../../node_modules/undici/lib/core/symbols.js"(exports, module) {
|
|
15
15
|
"use strict";
|
|
16
16
|
init_esbuild_shims();
|
|
17
17
|
module.exports = {
|
|
@@ -90,9 +90,9 @@ var require_symbols = __commonJS({
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
// node_modules/undici/lib/util/timers.js
|
|
93
|
+
// ../../node_modules/undici/lib/util/timers.js
|
|
94
94
|
var require_timers = __commonJS({
|
|
95
|
-
"node_modules/undici/lib/util/timers.js"(exports, module) {
|
|
95
|
+
"../../node_modules/undici/lib/util/timers.js"(exports, module) {
|
|
96
96
|
"use strict";
|
|
97
97
|
init_esbuild_shims();
|
|
98
98
|
var fastNow = 0;
|
|
@@ -325,9 +325,9 @@ var require_timers = __commonJS({
|
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
// node_modules/undici/lib/core/errors.js
|
|
328
|
+
// ../../node_modules/undici/lib/core/errors.js
|
|
329
329
|
var require_errors = __commonJS({
|
|
330
|
-
"node_modules/undici/lib/core/errors.js"(exports, module) {
|
|
330
|
+
"../../node_modules/undici/lib/core/errors.js"(exports, module) {
|
|
331
331
|
"use strict";
|
|
332
332
|
init_esbuild_shims();
|
|
333
333
|
var kUndiciError = /* @__PURE__ */ Symbol.for("undici.error.UND_ERR");
|
|
@@ -810,9 +810,9 @@ var require_errors = __commonJS({
|
|
|
810
810
|
}
|
|
811
811
|
});
|
|
812
812
|
|
|
813
|
-
// node_modules/undici/lib/core/constants.js
|
|
813
|
+
// ../../node_modules/undici/lib/core/constants.js
|
|
814
814
|
var require_constants = __commonJS({
|
|
815
|
-
"node_modules/undici/lib/core/constants.js"(exports, module) {
|
|
815
|
+
"../../node_modules/undici/lib/core/constants.js"(exports, module) {
|
|
816
816
|
"use strict";
|
|
817
817
|
init_esbuild_shims();
|
|
818
818
|
var wellknownHeaderNames = (
|
|
@@ -940,9 +940,9 @@ var require_constants = __commonJS({
|
|
|
940
940
|
}
|
|
941
941
|
});
|
|
942
942
|
|
|
943
|
-
// node_modules/undici/lib/core/tree.js
|
|
943
|
+
// ../../node_modules/undici/lib/core/tree.js
|
|
944
944
|
var require_tree = __commonJS({
|
|
945
|
-
"node_modules/undici/lib/core/tree.js"(exports, module) {
|
|
945
|
+
"../../node_modules/undici/lib/core/tree.js"(exports, module) {
|
|
946
946
|
"use strict";
|
|
947
947
|
init_esbuild_shims();
|
|
948
948
|
var {
|
|
@@ -1089,9 +1089,9 @@ var require_tree = __commonJS({
|
|
|
1089
1089
|
}
|
|
1090
1090
|
});
|
|
1091
1091
|
|
|
1092
|
-
// node_modules/undici/lib/core/util.js
|
|
1092
|
+
// ../../node_modules/undici/lib/core/util.js
|
|
1093
1093
|
var require_util = __commonJS({
|
|
1094
|
-
"node_modules/undici/lib/core/util.js"(exports, module) {
|
|
1094
|
+
"../../node_modules/undici/lib/core/util.js"(exports, module) {
|
|
1095
1095
|
"use strict";
|
|
1096
1096
|
init_esbuild_shims();
|
|
1097
1097
|
var assert = __require("node:assert");
|
|
@@ -1955,9 +1955,9 @@ var require_util = __commonJS({
|
|
|
1955
1955
|
}
|
|
1956
1956
|
});
|
|
1957
1957
|
|
|
1958
|
-
// node_modules/undici/lib/util/stats.js
|
|
1958
|
+
// ../../node_modules/undici/lib/util/stats.js
|
|
1959
1959
|
var require_stats = __commonJS({
|
|
1960
|
-
"node_modules/undici/lib/util/stats.js"(exports, module) {
|
|
1960
|
+
"../../node_modules/undici/lib/util/stats.js"(exports, module) {
|
|
1961
1961
|
"use strict";
|
|
1962
1962
|
init_esbuild_shims();
|
|
1963
1963
|
var {
|
|
@@ -1996,9 +1996,9 @@ var require_stats = __commonJS({
|
|
|
1996
1996
|
}
|
|
1997
1997
|
});
|
|
1998
1998
|
|
|
1999
|
-
// node_modules/undici/lib/core/diagnostics.js
|
|
1999
|
+
// ../../node_modules/undici/lib/core/diagnostics.js
|
|
2000
2000
|
var require_diagnostics = __commonJS({
|
|
2001
|
-
"node_modules/undici/lib/core/diagnostics.js"(exports, module) {
|
|
2001
|
+
"../../node_modules/undici/lib/core/diagnostics.js"(exports, module) {
|
|
2002
2002
|
"use strict";
|
|
2003
2003
|
init_esbuild_shims();
|
|
2004
2004
|
var diagnosticsChannel = __require("node:diagnostics_channel");
|
|
@@ -2217,9 +2217,9 @@ var require_diagnostics = __commonJS({
|
|
|
2217
2217
|
}
|
|
2218
2218
|
});
|
|
2219
2219
|
|
|
2220
|
-
// node_modules/undici/lib/core/request.js
|
|
2220
|
+
// ../../node_modules/undici/lib/core/request.js
|
|
2221
2221
|
var require_request = __commonJS({
|
|
2222
|
-
"node_modules/undici/lib/core/request.js"(exports, module) {
|
|
2222
|
+
"../../node_modules/undici/lib/core/request.js"(exports, module) {
|
|
2223
2223
|
"use strict";
|
|
2224
2224
|
init_esbuild_shims();
|
|
2225
2225
|
var {
|
|
@@ -2595,9 +2595,9 @@ var require_request = __commonJS({
|
|
|
2595
2595
|
}
|
|
2596
2596
|
});
|
|
2597
2597
|
|
|
2598
|
-
// node_modules/undici/lib/handler/wrap-handler.js
|
|
2598
|
+
// ../../node_modules/undici/lib/handler/wrap-handler.js
|
|
2599
2599
|
var require_wrap_handler = __commonJS({
|
|
2600
|
-
"node_modules/undici/lib/handler/wrap-handler.js"(exports, module) {
|
|
2600
|
+
"../../node_modules/undici/lib/handler/wrap-handler.js"(exports, module) {
|
|
2601
2601
|
"use strict";
|
|
2602
2602
|
init_esbuild_shims();
|
|
2603
2603
|
var { InvalidArgumentError } = require_errors();
|
|
@@ -2683,9 +2683,9 @@ var require_wrap_handler = __commonJS({
|
|
|
2683
2683
|
}
|
|
2684
2684
|
});
|
|
2685
2685
|
|
|
2686
|
-
// node_modules/undici/lib/dispatcher/dispatcher.js
|
|
2686
|
+
// ../../node_modules/undici/lib/dispatcher/dispatcher.js
|
|
2687
2687
|
var require_dispatcher = __commonJS({
|
|
2688
|
-
"node_modules/undici/lib/dispatcher/dispatcher.js"(exports, module) {
|
|
2688
|
+
"../../node_modules/undici/lib/dispatcher/dispatcher.js"(exports, module) {
|
|
2689
2689
|
"use strict";
|
|
2690
2690
|
init_esbuild_shims();
|
|
2691
2691
|
var EventEmitter = __require("node:events");
|
|
@@ -2729,9 +2729,9 @@ var require_dispatcher = __commonJS({
|
|
|
2729
2729
|
}
|
|
2730
2730
|
});
|
|
2731
2731
|
|
|
2732
|
-
// node_modules/undici/lib/handler/unwrap-handler.js
|
|
2732
|
+
// ../../node_modules/undici/lib/handler/unwrap-handler.js
|
|
2733
2733
|
var require_unwrap_handler = __commonJS({
|
|
2734
|
-
"node_modules/undici/lib/handler/unwrap-handler.js"(exports, module) {
|
|
2734
|
+
"../../node_modules/undici/lib/handler/unwrap-handler.js"(exports, module) {
|
|
2735
2735
|
"use strict";
|
|
2736
2736
|
init_esbuild_shims();
|
|
2737
2737
|
var { parseHeaders } = require_util();
|
|
@@ -2824,9 +2824,9 @@ var require_unwrap_handler = __commonJS({
|
|
|
2824
2824
|
}
|
|
2825
2825
|
});
|
|
2826
2826
|
|
|
2827
|
-
// node_modules/undici/lib/dispatcher/dispatcher-base.js
|
|
2827
|
+
// ../../node_modules/undici/lib/dispatcher/dispatcher-base.js
|
|
2828
2828
|
var require_dispatcher_base = __commonJS({
|
|
2829
|
-
"node_modules/undici/lib/dispatcher/dispatcher-base.js"(exports, module) {
|
|
2829
|
+
"../../node_modules/undici/lib/dispatcher/dispatcher-base.js"(exports, module) {
|
|
2830
2830
|
"use strict";
|
|
2831
2831
|
init_esbuild_shims();
|
|
2832
2832
|
var Dispatcher = require_dispatcher();
|
|
@@ -2980,9 +2980,9 @@ var require_dispatcher_base = __commonJS({
|
|
|
2980
2980
|
}
|
|
2981
2981
|
});
|
|
2982
2982
|
|
|
2983
|
-
// node_modules/undici/lib/core/connect.js
|
|
2983
|
+
// ../../node_modules/undici/lib/core/connect.js
|
|
2984
2984
|
var require_connect = __commonJS({
|
|
2985
|
-
"node_modules/undici/lib/core/connect.js"(exports, module) {
|
|
2985
|
+
"../../node_modules/undici/lib/core/connect.js"(exports, module) {
|
|
2986
2986
|
"use strict";
|
|
2987
2987
|
init_esbuild_shims();
|
|
2988
2988
|
var net = __require("node:net");
|
|
@@ -3111,9 +3111,9 @@ var require_connect = __commonJS({
|
|
|
3111
3111
|
}
|
|
3112
3112
|
});
|
|
3113
3113
|
|
|
3114
|
-
// node_modules/undici/lib/llhttp/utils.js
|
|
3114
|
+
// ../../node_modules/undici/lib/llhttp/utils.js
|
|
3115
3115
|
var require_utils = __commonJS({
|
|
3116
|
-
"node_modules/undici/lib/llhttp/utils.js"(exports) {
|
|
3116
|
+
"../../node_modules/undici/lib/llhttp/utils.js"(exports) {
|
|
3117
3117
|
"use strict";
|
|
3118
3118
|
init_esbuild_shims();
|
|
3119
3119
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3129,9 +3129,9 @@ var require_utils = __commonJS({
|
|
|
3129
3129
|
}
|
|
3130
3130
|
});
|
|
3131
3131
|
|
|
3132
|
-
// node_modules/undici/lib/llhttp/constants.js
|
|
3132
|
+
// ../../node_modules/undici/lib/llhttp/constants.js
|
|
3133
3133
|
var require_constants2 = __commonJS({
|
|
3134
|
-
"node_modules/undici/lib/llhttp/constants.js"(exports) {
|
|
3134
|
+
"../../node_modules/undici/lib/llhttp/constants.js"(exports) {
|
|
3135
3135
|
"use strict";
|
|
3136
3136
|
init_esbuild_shims();
|
|
3137
3137
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -3753,9 +3753,9 @@ var require_constants2 = __commonJS({
|
|
|
3753
3753
|
}
|
|
3754
3754
|
});
|
|
3755
3755
|
|
|
3756
|
-
// node_modules/undici/lib/llhttp/llhttp-wasm.js
|
|
3756
|
+
// ../../node_modules/undici/lib/llhttp/llhttp-wasm.js
|
|
3757
3757
|
var require_llhttp_wasm = __commonJS({
|
|
3758
|
-
"node_modules/undici/lib/llhttp/llhttp-wasm.js"(exports, module) {
|
|
3758
|
+
"../../node_modules/undici/lib/llhttp/llhttp-wasm.js"(exports, module) {
|
|
3759
3759
|
"use strict";
|
|
3760
3760
|
init_esbuild_shims();
|
|
3761
3761
|
var { Buffer: Buffer2 } = __require("node:buffer");
|
|
@@ -3769,9 +3769,9 @@ var require_llhttp_wasm = __commonJS({
|
|
|
3769
3769
|
}
|
|
3770
3770
|
});
|
|
3771
3771
|
|
|
3772
|
-
// node_modules/undici/lib/llhttp/llhttp_simd-wasm.js
|
|
3772
|
+
// ../../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js
|
|
3773
3773
|
var require_llhttp_simd_wasm = __commonJS({
|
|
3774
|
-
"node_modules/undici/lib/llhttp/llhttp_simd-wasm.js"(exports, module) {
|
|
3774
|
+
"../../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js"(exports, module) {
|
|
3775
3775
|
"use strict";
|
|
3776
3776
|
init_esbuild_shims();
|
|
3777
3777
|
var { Buffer: Buffer2 } = __require("node:buffer");
|
|
@@ -3785,9 +3785,9 @@ var require_llhttp_simd_wasm = __commonJS({
|
|
|
3785
3785
|
}
|
|
3786
3786
|
});
|
|
3787
3787
|
|
|
3788
|
-
// node_modules/undici/lib/web/fetch/constants.js
|
|
3788
|
+
// ../../node_modules/undici/lib/web/fetch/constants.js
|
|
3789
3789
|
var require_constants3 = __commonJS({
|
|
3790
|
-
"node_modules/undici/lib/web/fetch/constants.js"(exports, module) {
|
|
3790
|
+
"../../node_modules/undici/lib/web/fetch/constants.js"(exports, module) {
|
|
3791
3791
|
"use strict";
|
|
3792
3792
|
init_esbuild_shims();
|
|
3793
3793
|
var corsSafeListedMethods = (
|
|
@@ -4010,9 +4010,9 @@ var require_constants3 = __commonJS({
|
|
|
4010
4010
|
}
|
|
4011
4011
|
});
|
|
4012
4012
|
|
|
4013
|
-
// node_modules/undici/lib/web/fetch/global.js
|
|
4013
|
+
// ../../node_modules/undici/lib/web/fetch/global.js
|
|
4014
4014
|
var require_global = __commonJS({
|
|
4015
|
-
"node_modules/undici/lib/web/fetch/global.js"(exports, module) {
|
|
4015
|
+
"../../node_modules/undici/lib/web/fetch/global.js"(exports, module) {
|
|
4016
4016
|
"use strict";
|
|
4017
4017
|
init_esbuild_shims();
|
|
4018
4018
|
var globalOrigin = /* @__PURE__ */ Symbol.for("undici.globalOrigin.1");
|
|
@@ -4049,9 +4049,9 @@ var require_global = __commonJS({
|
|
|
4049
4049
|
}
|
|
4050
4050
|
});
|
|
4051
4051
|
|
|
4052
|
-
// node_modules/undici/lib/encoding/index.js
|
|
4052
|
+
// ../../node_modules/undici/lib/encoding/index.js
|
|
4053
4053
|
var require_encoding = __commonJS({
|
|
4054
|
-
"node_modules/undici/lib/encoding/index.js"(exports, module) {
|
|
4054
|
+
"../../node_modules/undici/lib/encoding/index.js"(exports, module) {
|
|
4055
4055
|
"use strict";
|
|
4056
4056
|
init_esbuild_shims();
|
|
4057
4057
|
var textDecoder = new TextDecoder();
|
|
@@ -4072,9 +4072,9 @@ var require_encoding = __commonJS({
|
|
|
4072
4072
|
}
|
|
4073
4073
|
});
|
|
4074
4074
|
|
|
4075
|
-
// node_modules/undici/lib/web/infra/index.js
|
|
4075
|
+
// ../../node_modules/undici/lib/web/infra/index.js
|
|
4076
4076
|
var require_infra = __commonJS({
|
|
4077
|
-
"node_modules/undici/lib/web/infra/index.js"(exports, module) {
|
|
4077
|
+
"../../node_modules/undici/lib/web/infra/index.js"(exports, module) {
|
|
4078
4078
|
"use strict";
|
|
4079
4079
|
init_esbuild_shims();
|
|
4080
4080
|
var assert = __require("node:assert");
|
|
@@ -4196,9 +4196,9 @@ var require_infra = __commonJS({
|
|
|
4196
4196
|
}
|
|
4197
4197
|
});
|
|
4198
4198
|
|
|
4199
|
-
// node_modules/undici/lib/web/fetch/data-url.js
|
|
4199
|
+
// ../../node_modules/undici/lib/web/fetch/data-url.js
|
|
4200
4200
|
var require_data_url = __commonJS({
|
|
4201
|
-
"node_modules/undici/lib/web/fetch/data-url.js"(exports, module) {
|
|
4201
|
+
"../../node_modules/undici/lib/web/fetch/data-url.js"(exports, module) {
|
|
4202
4202
|
"use strict";
|
|
4203
4203
|
init_esbuild_shims();
|
|
4204
4204
|
var assert = __require("node:assert");
|
|
@@ -4488,9 +4488,9 @@ var require_data_url = __commonJS({
|
|
|
4488
4488
|
}
|
|
4489
4489
|
});
|
|
4490
4490
|
|
|
4491
|
-
// node_modules/undici/lib/util/runtime-features.js
|
|
4491
|
+
// ../../node_modules/undici/lib/util/runtime-features.js
|
|
4492
4492
|
var require_runtime_features = __commonJS({
|
|
4493
|
-
"node_modules/undici/lib/util/runtime-features.js"(exports, module) {
|
|
4493
|
+
"../../node_modules/undici/lib/util/runtime-features.js"(exports, module) {
|
|
4494
4494
|
"use strict";
|
|
4495
4495
|
init_esbuild_shims();
|
|
4496
4496
|
var lazyLoaders = {
|
|
@@ -4597,9 +4597,9 @@ var require_runtime_features = __commonJS({
|
|
|
4597
4597
|
}
|
|
4598
4598
|
});
|
|
4599
4599
|
|
|
4600
|
-
// node_modules/undici/lib/web/webidl/index.js
|
|
4600
|
+
// ../../node_modules/undici/lib/web/webidl/index.js
|
|
4601
4601
|
var require_webidl = __commonJS({
|
|
4602
|
-
"node_modules/undici/lib/web/webidl/index.js"(exports, module) {
|
|
4602
|
+
"../../node_modules/undici/lib/web/webidl/index.js"(exports, module) {
|
|
4603
4603
|
"use strict";
|
|
4604
4604
|
init_esbuild_shims();
|
|
4605
4605
|
var assert = __require("node:assert");
|
|
@@ -5200,9 +5200,9 @@ var require_webidl = __commonJS({
|
|
|
5200
5200
|
}
|
|
5201
5201
|
});
|
|
5202
5202
|
|
|
5203
|
-
// node_modules/undici/lib/web/fetch/util.js
|
|
5203
|
+
// ../../node_modules/undici/lib/web/fetch/util.js
|
|
5204
5204
|
var require_util2 = __commonJS({
|
|
5205
|
-
"node_modules/undici/lib/web/fetch/util.js"(exports, module) {
|
|
5205
|
+
"../../node_modules/undici/lib/web/fetch/util.js"(exports, module) {
|
|
5206
5206
|
"use strict";
|
|
5207
5207
|
init_esbuild_shims();
|
|
5208
5208
|
var { Transform } = __require("node:stream");
|
|
@@ -6029,9 +6029,9 @@ var require_util2 = __commonJS({
|
|
|
6029
6029
|
}
|
|
6030
6030
|
});
|
|
6031
6031
|
|
|
6032
|
-
// node_modules/undici/lib/web/fetch/formdata.js
|
|
6032
|
+
// ../../node_modules/undici/lib/web/fetch/formdata.js
|
|
6033
6033
|
var require_formdata = __commonJS({
|
|
6034
|
-
"node_modules/undici/lib/web/fetch/formdata.js"(exports, module) {
|
|
6034
|
+
"../../node_modules/undici/lib/web/fetch/formdata.js"(exports, module) {
|
|
6035
6035
|
"use strict";
|
|
6036
6036
|
init_esbuild_shims();
|
|
6037
6037
|
var { iteratorMixin } = require_util2();
|
|
@@ -6196,9 +6196,9 @@ var require_formdata = __commonJS({
|
|
|
6196
6196
|
}
|
|
6197
6197
|
});
|
|
6198
6198
|
|
|
6199
|
-
// node_modules/undici/lib/web/fetch/formdata-parser.js
|
|
6199
|
+
// ../../node_modules/undici/lib/web/fetch/formdata-parser.js
|
|
6200
6200
|
var require_formdata_parser = __commonJS({
|
|
6201
|
-
"node_modules/undici/lib/web/fetch/formdata-parser.js"(exports, module) {
|
|
6201
|
+
"../../node_modules/undici/lib/web/fetch/formdata-parser.js"(exports, module) {
|
|
6202
6202
|
"use strict";
|
|
6203
6203
|
init_esbuild_shims();
|
|
6204
6204
|
var { bufferToLowerCasedHeaderName } = require_util();
|
|
@@ -6539,9 +6539,9 @@ var require_formdata_parser = __commonJS({
|
|
|
6539
6539
|
}
|
|
6540
6540
|
});
|
|
6541
6541
|
|
|
6542
|
-
// node_modules/undici/lib/util/promise.js
|
|
6542
|
+
// ../../node_modules/undici/lib/util/promise.js
|
|
6543
6543
|
var require_promise = __commonJS({
|
|
6544
|
-
"node_modules/undici/lib/util/promise.js"(exports, module) {
|
|
6544
|
+
"../../node_modules/undici/lib/util/promise.js"(exports, module) {
|
|
6545
6545
|
"use strict";
|
|
6546
6546
|
init_esbuild_shims();
|
|
6547
6547
|
function createDeferredPromise() {
|
|
@@ -6560,9 +6560,9 @@ var require_promise = __commonJS({
|
|
|
6560
6560
|
}
|
|
6561
6561
|
});
|
|
6562
6562
|
|
|
6563
|
-
// node_modules/undici/lib/web/fetch/body.js
|
|
6563
|
+
// ../../node_modules/undici/lib/web/fetch/body.js
|
|
6564
6564
|
var require_body = __commonJS({
|
|
6565
|
-
"node_modules/undici/lib/web/fetch/body.js"(exports, module) {
|
|
6565
|
+
"../../node_modules/undici/lib/web/fetch/body.js"(exports, module) {
|
|
6566
6566
|
"use strict";
|
|
6567
6567
|
init_esbuild_shims();
|
|
6568
6568
|
var util = require_util();
|
|
@@ -6853,9 +6853,9 @@ Content-Type: ${value.type || "application/octet-stream"}\r
|
|
|
6853
6853
|
}
|
|
6854
6854
|
});
|
|
6855
6855
|
|
|
6856
|
-
// node_modules/undici/lib/dispatcher/client-h1.js
|
|
6856
|
+
// ../../node_modules/undici/lib/dispatcher/client-h1.js
|
|
6857
6857
|
var require_client_h1 = __commonJS({
|
|
6858
|
-
"node_modules/undici/lib/dispatcher/client-h1.js"(exports, module) {
|
|
6858
|
+
"../../node_modules/undici/lib/dispatcher/client-h1.js"(exports, module) {
|
|
6859
6859
|
"use strict";
|
|
6860
6860
|
init_esbuild_shims();
|
|
6861
6861
|
var assert = __require("node:assert");
|
|
@@ -8138,9 +8138,9 @@ ${len.toString(16)}\r
|
|
|
8138
8138
|
}
|
|
8139
8139
|
});
|
|
8140
8140
|
|
|
8141
|
-
// node_modules/undici/lib/dispatcher/client-h2.js
|
|
8141
|
+
// ../../node_modules/undici/lib/dispatcher/client-h2.js
|
|
8142
8142
|
var require_client_h2 = __commonJS({
|
|
8143
|
-
"node_modules/undici/lib/dispatcher/client-h2.js"(exports, module) {
|
|
8143
|
+
"../../node_modules/undici/lib/dispatcher/client-h2.js"(exports, module) {
|
|
8144
8144
|
"use strict";
|
|
8145
8145
|
init_esbuild_shims();
|
|
8146
8146
|
var assert = __require("node:assert");
|
|
@@ -8891,9 +8891,9 @@ var require_client_h2 = __commonJS({
|
|
|
8891
8891
|
}
|
|
8892
8892
|
});
|
|
8893
8893
|
|
|
8894
|
-
// node_modules/undici/lib/dispatcher/client.js
|
|
8894
|
+
// ../../node_modules/undici/lib/dispatcher/client.js
|
|
8895
8895
|
var require_client = __commonJS({
|
|
8896
|
-
"node_modules/undici/lib/dispatcher/client.js"(exports, module) {
|
|
8896
|
+
"../../node_modules/undici/lib/dispatcher/client.js"(exports, module) {
|
|
8897
8897
|
"use strict";
|
|
8898
8898
|
init_esbuild_shims();
|
|
8899
8899
|
var assert = __require("node:assert");
|
|
@@ -9429,9 +9429,9 @@ var require_client = __commonJS({
|
|
|
9429
9429
|
}
|
|
9430
9430
|
});
|
|
9431
9431
|
|
|
9432
|
-
// node_modules/undici/lib/dispatcher/fixed-queue.js
|
|
9432
|
+
// ../../node_modules/undici/lib/dispatcher/fixed-queue.js
|
|
9433
9433
|
var require_fixed_queue = __commonJS({
|
|
9434
|
-
"node_modules/undici/lib/dispatcher/fixed-queue.js"(exports, module) {
|
|
9434
|
+
"../../node_modules/undici/lib/dispatcher/fixed-queue.js"(exports, module) {
|
|
9435
9435
|
"use strict";
|
|
9436
9436
|
init_esbuild_shims();
|
|
9437
9437
|
var kSize = 2048;
|
|
@@ -9507,9 +9507,9 @@ var require_fixed_queue = __commonJS({
|
|
|
9507
9507
|
}
|
|
9508
9508
|
});
|
|
9509
9509
|
|
|
9510
|
-
// node_modules/undici/lib/dispatcher/pool-base.js
|
|
9510
|
+
// ../../node_modules/undici/lib/dispatcher/pool-base.js
|
|
9511
9511
|
var require_pool_base = __commonJS({
|
|
9512
|
-
"node_modules/undici/lib/dispatcher/pool-base.js"(exports, module) {
|
|
9512
|
+
"../../node_modules/undici/lib/dispatcher/pool-base.js"(exports, module) {
|
|
9513
9513
|
"use strict";
|
|
9514
9514
|
init_esbuild_shims();
|
|
9515
9515
|
var { PoolStats } = require_stats();
|
|
@@ -9687,9 +9687,9 @@ var require_pool_base = __commonJS({
|
|
|
9687
9687
|
}
|
|
9688
9688
|
});
|
|
9689
9689
|
|
|
9690
|
-
// node_modules/undici/lib/dispatcher/pool.js
|
|
9690
|
+
// ../../node_modules/undici/lib/dispatcher/pool.js
|
|
9691
9691
|
var require_pool = __commonJS({
|
|
9692
|
-
"node_modules/undici/lib/dispatcher/pool.js"(exports, module) {
|
|
9692
|
+
"../../node_modules/undici/lib/dispatcher/pool.js"(exports, module) {
|
|
9693
9693
|
"use strict";
|
|
9694
9694
|
init_esbuild_shims();
|
|
9695
9695
|
var {
|
|
@@ -9794,9 +9794,9 @@ var require_pool = __commonJS({
|
|
|
9794
9794
|
}
|
|
9795
9795
|
});
|
|
9796
9796
|
|
|
9797
|
-
// node_modules/undici/lib/dispatcher/balanced-pool.js
|
|
9797
|
+
// ../../node_modules/undici/lib/dispatcher/balanced-pool.js
|
|
9798
9798
|
var require_balanced_pool = __commonJS({
|
|
9799
|
-
"node_modules/undici/lib/dispatcher/balanced-pool.js"(exports, module) {
|
|
9799
|
+
"../../node_modules/undici/lib/dispatcher/balanced-pool.js"(exports, module) {
|
|
9800
9800
|
"use strict";
|
|
9801
9801
|
init_esbuild_shims();
|
|
9802
9802
|
var {
|
|
@@ -9948,9 +9948,9 @@ var require_balanced_pool = __commonJS({
|
|
|
9948
9948
|
}
|
|
9949
9949
|
});
|
|
9950
9950
|
|
|
9951
|
-
// node_modules/undici/lib/dispatcher/round-robin-pool.js
|
|
9951
|
+
// ../../node_modules/undici/lib/dispatcher/round-robin-pool.js
|
|
9952
9952
|
var require_round_robin_pool = __commonJS({
|
|
9953
|
-
"node_modules/undici/lib/dispatcher/round-robin-pool.js"(exports, module) {
|
|
9953
|
+
"../../node_modules/undici/lib/dispatcher/round-robin-pool.js"(exports, module) {
|
|
9954
9954
|
"use strict";
|
|
9955
9955
|
init_esbuild_shims();
|
|
9956
9956
|
var {
|
|
@@ -10070,9 +10070,9 @@ var require_round_robin_pool = __commonJS({
|
|
|
10070
10070
|
}
|
|
10071
10071
|
});
|
|
10072
10072
|
|
|
10073
|
-
// node_modules/undici/lib/dispatcher/agent.js
|
|
10073
|
+
// ../../node_modules/undici/lib/dispatcher/agent.js
|
|
10074
10074
|
var require_agent = __commonJS({
|
|
10075
|
-
"node_modules/undici/lib/dispatcher/agent.js"(exports, module) {
|
|
10075
|
+
"../../node_modules/undici/lib/dispatcher/agent.js"(exports, module) {
|
|
10076
10076
|
"use strict";
|
|
10077
10077
|
init_esbuild_shims();
|
|
10078
10078
|
var { InvalidArgumentError, MaxOriginsReachedError } = require_errors();
|
|
@@ -10208,9 +10208,9 @@ var require_agent = __commonJS({
|
|
|
10208
10208
|
}
|
|
10209
10209
|
});
|
|
10210
10210
|
|
|
10211
|
-
// node_modules/undici/lib/core/socks5-utils.js
|
|
10211
|
+
// ../../node_modules/undici/lib/core/socks5-utils.js
|
|
10212
10212
|
var require_socks5_utils = __commonJS({
|
|
10213
|
-
"node_modules/undici/lib/core/socks5-utils.js"(exports, module) {
|
|
10213
|
+
"../../node_modules/undici/lib/core/socks5-utils.js"(exports, module) {
|
|
10214
10214
|
"use strict";
|
|
10215
10215
|
init_esbuild_shims();
|
|
10216
10216
|
var { Buffer: Buffer2 } = __require("node:buffer");
|
|
@@ -10375,9 +10375,9 @@ var require_socks5_utils = __commonJS({
|
|
|
10375
10375
|
}
|
|
10376
10376
|
});
|
|
10377
10377
|
|
|
10378
|
-
// node_modules/undici/lib/core/socks5-client.js
|
|
10378
|
+
// ../../node_modules/undici/lib/core/socks5-client.js
|
|
10379
10379
|
var require_socks5_client = __commonJS({
|
|
10380
|
-
"node_modules/undici/lib/core/socks5-client.js"(exports, module) {
|
|
10380
|
+
"../../node_modules/undici/lib/core/socks5-client.js"(exports, module) {
|
|
10381
10381
|
"use strict";
|
|
10382
10382
|
init_esbuild_shims();
|
|
10383
10383
|
var { EventEmitter } = __require("node:events");
|
|
@@ -10712,9 +10712,9 @@ var require_socks5_client = __commonJS({
|
|
|
10712
10712
|
}
|
|
10713
10713
|
});
|
|
10714
10714
|
|
|
10715
|
-
// node_modules/undici/lib/dispatcher/socks5-proxy-agent.js
|
|
10715
|
+
// ../../node_modules/undici/lib/dispatcher/socks5-proxy-agent.js
|
|
10716
10716
|
var require_socks5_proxy_agent = __commonJS({
|
|
10717
|
-
"node_modules/undici/lib/dispatcher/socks5-proxy-agent.js"(exports, module) {
|
|
10717
|
+
"../../node_modules/undici/lib/dispatcher/socks5-proxy-agent.js"(exports, module) {
|
|
10718
10718
|
"use strict";
|
|
10719
10719
|
init_esbuild_shims();
|
|
10720
10720
|
var { URL: URL2 } = __require("node:url");
|
|
@@ -10919,9 +10919,9 @@ var require_socks5_proxy_agent = __commonJS({
|
|
|
10919
10919
|
}
|
|
10920
10920
|
});
|
|
10921
10921
|
|
|
10922
|
-
// node_modules/undici/lib/dispatcher/proxy-agent.js
|
|
10922
|
+
// ../../node_modules/undici/lib/dispatcher/proxy-agent.js
|
|
10923
10923
|
var require_proxy_agent = __commonJS({
|
|
10924
|
-
"node_modules/undici/lib/dispatcher/proxy-agent.js"(exports, module) {
|
|
10924
|
+
"../../node_modules/undici/lib/dispatcher/proxy-agent.js"(exports, module) {
|
|
10925
10925
|
"use strict";
|
|
10926
10926
|
init_esbuild_shims();
|
|
10927
10927
|
var { kProxy, kClose, kDestroy, kDispatch } = require_symbols();
|
|
@@ -11188,9 +11188,9 @@ var require_proxy_agent = __commonJS({
|
|
|
11188
11188
|
}
|
|
11189
11189
|
});
|
|
11190
11190
|
|
|
11191
|
-
// node_modules/undici/lib/dispatcher/env-http-proxy-agent.js
|
|
11191
|
+
// ../../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js
|
|
11192
11192
|
var require_env_http_proxy_agent = __commonJS({
|
|
11193
|
-
"node_modules/undici/lib/dispatcher/env-http-proxy-agent.js"(exports, module) {
|
|
11193
|
+
"../../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js"(exports, module) {
|
|
11194
11194
|
"use strict";
|
|
11195
11195
|
init_esbuild_shims();
|
|
11196
11196
|
var DispatcherBase = require_dispatcher_base();
|
|
@@ -11201,7 +11201,7 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
11201
11201
|
"http:": 80,
|
|
11202
11202
|
"https:": 443
|
|
11203
11203
|
};
|
|
11204
|
-
var
|
|
11204
|
+
var EnvHttpProxyAgent2 = class extends DispatcherBase {
|
|
11205
11205
|
static {
|
|
11206
11206
|
__name(this, "EnvHttpProxyAgent");
|
|
11207
11207
|
}
|
|
@@ -11311,13 +11311,13 @@ var require_env_http_proxy_agent = __commonJS({
|
|
|
11311
11311
|
return process.env.no_proxy ?? process.env.NO_PROXY ?? "";
|
|
11312
11312
|
}
|
|
11313
11313
|
};
|
|
11314
|
-
module.exports =
|
|
11314
|
+
module.exports = EnvHttpProxyAgent2;
|
|
11315
11315
|
}
|
|
11316
11316
|
});
|
|
11317
11317
|
|
|
11318
|
-
// node_modules/undici/lib/handler/retry-handler.js
|
|
11318
|
+
// ../../node_modules/undici/lib/handler/retry-handler.js
|
|
11319
11319
|
var require_retry_handler = __commonJS({
|
|
11320
|
-
"node_modules/undici/lib/handler/retry-handler.js"(exports, module) {
|
|
11320
|
+
"../../node_modules/undici/lib/handler/retry-handler.js"(exports, module) {
|
|
11321
11321
|
"use strict";
|
|
11322
11322
|
init_esbuild_shims();
|
|
11323
11323
|
var assert = __require("node:assert");
|
|
@@ -11631,9 +11631,9 @@ var require_retry_handler = __commonJS({
|
|
|
11631
11631
|
}
|
|
11632
11632
|
});
|
|
11633
11633
|
|
|
11634
|
-
// node_modules/undici/lib/dispatcher/retry-agent.js
|
|
11634
|
+
// ../../node_modules/undici/lib/dispatcher/retry-agent.js
|
|
11635
11635
|
var require_retry_agent = __commonJS({
|
|
11636
|
-
"node_modules/undici/lib/dispatcher/retry-agent.js"(exports, module) {
|
|
11636
|
+
"../../node_modules/undici/lib/dispatcher/retry-agent.js"(exports, module) {
|
|
11637
11637
|
"use strict";
|
|
11638
11638
|
init_esbuild_shims();
|
|
11639
11639
|
var Dispatcher = require_dispatcher();
|
|
@@ -11670,9 +11670,9 @@ var require_retry_agent = __commonJS({
|
|
|
11670
11670
|
}
|
|
11671
11671
|
});
|
|
11672
11672
|
|
|
11673
|
-
// node_modules/undici/lib/dispatcher/h2c-client.js
|
|
11673
|
+
// ../../node_modules/undici/lib/dispatcher/h2c-client.js
|
|
11674
11674
|
var require_h2c_client = __commonJS({
|
|
11675
|
-
"node_modules/undici/lib/dispatcher/h2c-client.js"(exports, module) {
|
|
11675
|
+
"../../node_modules/undici/lib/dispatcher/h2c-client.js"(exports, module) {
|
|
11676
11676
|
"use strict";
|
|
11677
11677
|
init_esbuild_shims();
|
|
11678
11678
|
var { InvalidArgumentError } = require_errors();
|
|
@@ -11717,9 +11717,9 @@ var require_h2c_client = __commonJS({
|
|
|
11717
11717
|
}
|
|
11718
11718
|
});
|
|
11719
11719
|
|
|
11720
|
-
// node_modules/undici/lib/api/readable.js
|
|
11720
|
+
// ../../node_modules/undici/lib/api/readable.js
|
|
11721
11721
|
var require_readable = __commonJS({
|
|
11722
|
-
"node_modules/undici/lib/api/readable.js"(exports, module) {
|
|
11722
|
+
"../../node_modules/undici/lib/api/readable.js"(exports, module) {
|
|
11723
11723
|
"use strict";
|
|
11724
11724
|
init_esbuild_shims();
|
|
11725
11725
|
var assert = __require("node:assert");
|
|
@@ -12132,9 +12132,9 @@ var require_readable = __commonJS({
|
|
|
12132
12132
|
}
|
|
12133
12133
|
});
|
|
12134
12134
|
|
|
12135
|
-
// node_modules/undici/lib/api/api-request.js
|
|
12135
|
+
// ../../node_modules/undici/lib/api/api-request.js
|
|
12136
12136
|
var require_api_request = __commonJS({
|
|
12137
|
-
"node_modules/undici/lib/api/api-request.js"(exports, module) {
|
|
12137
|
+
"../../node_modules/undici/lib/api/api-request.js"(exports, module) {
|
|
12138
12138
|
"use strict";
|
|
12139
12139
|
init_esbuild_shims();
|
|
12140
12140
|
var assert = __require("node:assert");
|
|
@@ -12316,9 +12316,9 @@ var require_api_request = __commonJS({
|
|
|
12316
12316
|
}
|
|
12317
12317
|
});
|
|
12318
12318
|
|
|
12319
|
-
// node_modules/undici/lib/api/abort-signal.js
|
|
12319
|
+
// ../../node_modules/undici/lib/api/abort-signal.js
|
|
12320
12320
|
var require_abort_signal = __commonJS({
|
|
12321
|
-
"node_modules/undici/lib/api/abort-signal.js"(exports, module) {
|
|
12321
|
+
"../../node_modules/undici/lib/api/abort-signal.js"(exports, module) {
|
|
12322
12322
|
"use strict";
|
|
12323
12323
|
init_esbuild_shims();
|
|
12324
12324
|
var { addAbortListener } = require_util();
|
|
@@ -12372,9 +12372,9 @@ var require_abort_signal = __commonJS({
|
|
|
12372
12372
|
}
|
|
12373
12373
|
});
|
|
12374
12374
|
|
|
12375
|
-
// node_modules/undici/lib/api/api-stream.js
|
|
12375
|
+
// ../../node_modules/undici/lib/api/api-stream.js
|
|
12376
12376
|
var require_api_stream = __commonJS({
|
|
12377
|
-
"node_modules/undici/lib/api/api-stream.js"(exports, module) {
|
|
12377
|
+
"../../node_modules/undici/lib/api/api-stream.js"(exports, module) {
|
|
12378
12378
|
"use strict";
|
|
12379
12379
|
init_esbuild_shims();
|
|
12380
12380
|
var assert = __require("node:assert");
|
|
@@ -12539,9 +12539,9 @@ var require_api_stream = __commonJS({
|
|
|
12539
12539
|
}
|
|
12540
12540
|
});
|
|
12541
12541
|
|
|
12542
|
-
// node_modules/undici/lib/api/api-pipeline.js
|
|
12542
|
+
// ../../node_modules/undici/lib/api/api-pipeline.js
|
|
12543
12543
|
var require_api_pipeline = __commonJS({
|
|
12544
|
-
"node_modules/undici/lib/api/api-pipeline.js"(exports, module) {
|
|
12544
|
+
"../../node_modules/undici/lib/api/api-pipeline.js"(exports, module) {
|
|
12545
12545
|
"use strict";
|
|
12546
12546
|
init_esbuild_shims();
|
|
12547
12547
|
var {
|
|
@@ -12752,9 +12752,9 @@ var require_api_pipeline = __commonJS({
|
|
|
12752
12752
|
}
|
|
12753
12753
|
});
|
|
12754
12754
|
|
|
12755
|
-
// node_modules/undici/lib/api/api-upgrade.js
|
|
12755
|
+
// ../../node_modules/undici/lib/api/api-upgrade.js
|
|
12756
12756
|
var require_api_upgrade = __commonJS({
|
|
12757
|
-
"node_modules/undici/lib/api/api-upgrade.js"(exports, module) {
|
|
12757
|
+
"../../node_modules/undici/lib/api/api-upgrade.js"(exports, module) {
|
|
12758
12758
|
"use strict";
|
|
12759
12759
|
init_esbuild_shims();
|
|
12760
12760
|
var { InvalidArgumentError, SocketError } = require_errors();
|
|
@@ -12851,9 +12851,9 @@ var require_api_upgrade = __commonJS({
|
|
|
12851
12851
|
}
|
|
12852
12852
|
});
|
|
12853
12853
|
|
|
12854
|
-
// node_modules/undici/lib/api/api-connect.js
|
|
12854
|
+
// ../../node_modules/undici/lib/api/api-connect.js
|
|
12855
12855
|
var require_api_connect = __commonJS({
|
|
12856
|
-
"node_modules/undici/lib/api/api-connect.js"(exports, module) {
|
|
12856
|
+
"../../node_modules/undici/lib/api/api-connect.js"(exports, module) {
|
|
12857
12857
|
"use strict";
|
|
12858
12858
|
init_esbuild_shims();
|
|
12859
12859
|
var assert = __require("node:assert");
|
|
@@ -12947,9 +12947,9 @@ var require_api_connect = __commonJS({
|
|
|
12947
12947
|
}
|
|
12948
12948
|
});
|
|
12949
12949
|
|
|
12950
|
-
// node_modules/undici/lib/api/index.js
|
|
12950
|
+
// ../../node_modules/undici/lib/api/index.js
|
|
12951
12951
|
var require_api = __commonJS({
|
|
12952
|
-
"node_modules/undici/lib/api/index.js"(exports, module) {
|
|
12952
|
+
"../../node_modules/undici/lib/api/index.js"(exports, module) {
|
|
12953
12953
|
"use strict";
|
|
12954
12954
|
init_esbuild_shims();
|
|
12955
12955
|
module.exports.request = require_api_request();
|
|
@@ -12960,9 +12960,9 @@ var require_api = __commonJS({
|
|
|
12960
12960
|
}
|
|
12961
12961
|
});
|
|
12962
12962
|
|
|
12963
|
-
// node_modules/undici/lib/mock/mock-errors.js
|
|
12963
|
+
// ../../node_modules/undici/lib/mock/mock-errors.js
|
|
12964
12964
|
var require_mock_errors = __commonJS({
|
|
12965
|
-
"node_modules/undici/lib/mock/mock-errors.js"(exports, module) {
|
|
12965
|
+
"../../node_modules/undici/lib/mock/mock-errors.js"(exports, module) {
|
|
12966
12966
|
"use strict";
|
|
12967
12967
|
init_esbuild_shims();
|
|
12968
12968
|
var { UndiciError } = require_errors();
|
|
@@ -12990,9 +12990,9 @@ var require_mock_errors = __commonJS({
|
|
|
12990
12990
|
}
|
|
12991
12991
|
});
|
|
12992
12992
|
|
|
12993
|
-
// node_modules/undici/lib/mock/mock-symbols.js
|
|
12993
|
+
// ../../node_modules/undici/lib/mock/mock-symbols.js
|
|
12994
12994
|
var require_mock_symbols = __commonJS({
|
|
12995
|
-
"node_modules/undici/lib/mock/mock-symbols.js"(exports, module) {
|
|
12995
|
+
"../../node_modules/undici/lib/mock/mock-symbols.js"(exports, module) {
|
|
12996
12996
|
"use strict";
|
|
12997
12997
|
init_esbuild_shims();
|
|
12998
12998
|
module.exports = {
|
|
@@ -13028,9 +13028,9 @@ var require_mock_symbols = __commonJS({
|
|
|
13028
13028
|
}
|
|
13029
13029
|
});
|
|
13030
13030
|
|
|
13031
|
-
// node_modules/undici/lib/mock/mock-utils.js
|
|
13031
|
+
// ../../node_modules/undici/lib/mock/mock-utils.js
|
|
13032
13032
|
var require_mock_utils = __commonJS({
|
|
13033
|
-
"node_modules/undici/lib/mock/mock-utils.js"(exports, module) {
|
|
13033
|
+
"../../node_modules/undici/lib/mock/mock-utils.js"(exports, module) {
|
|
13034
13034
|
"use strict";
|
|
13035
13035
|
init_esbuild_shims();
|
|
13036
13036
|
var { MockNotMatchedError } = require_mock_errors();
|
|
@@ -13431,9 +13431,9 @@ var require_mock_utils = __commonJS({
|
|
|
13431
13431
|
}
|
|
13432
13432
|
});
|
|
13433
13433
|
|
|
13434
|
-
// node_modules/undici/lib/mock/mock-interceptor.js
|
|
13434
|
+
// ../../node_modules/undici/lib/mock/mock-interceptor.js
|
|
13435
13435
|
var require_mock_interceptor = __commonJS({
|
|
13436
|
-
"node_modules/undici/lib/mock/mock-interceptor.js"(exports, module) {
|
|
13436
|
+
"../../node_modules/undici/lib/mock/mock-interceptor.js"(exports, module) {
|
|
13437
13437
|
"use strict";
|
|
13438
13438
|
init_esbuild_shims();
|
|
13439
13439
|
var { getResponseData, buildKey, addMockDispatch } = require_mock_utils();
|
|
@@ -13602,9 +13602,9 @@ var require_mock_interceptor = __commonJS({
|
|
|
13602
13602
|
}
|
|
13603
13603
|
});
|
|
13604
13604
|
|
|
13605
|
-
// node_modules/undici/lib/mock/mock-client.js
|
|
13605
|
+
// ../../node_modules/undici/lib/mock/mock-client.js
|
|
13606
13606
|
var require_mock_client = __commonJS({
|
|
13607
|
-
"node_modules/undici/lib/mock/mock-client.js"(exports, module) {
|
|
13607
|
+
"../../node_modules/undici/lib/mock/mock-client.js"(exports, module) {
|
|
13608
13608
|
"use strict";
|
|
13609
13609
|
init_esbuild_shims();
|
|
13610
13610
|
var { promisify } = __require("node:util");
|
|
@@ -13667,9 +13667,9 @@ var require_mock_client = __commonJS({
|
|
|
13667
13667
|
}
|
|
13668
13668
|
});
|
|
13669
13669
|
|
|
13670
|
-
// node_modules/undici/lib/mock/mock-call-history.js
|
|
13670
|
+
// ../../node_modules/undici/lib/mock/mock-call-history.js
|
|
13671
13671
|
var require_mock_call_history = __commonJS({
|
|
13672
|
-
"node_modules/undici/lib/mock/mock-call-history.js"(exports, module) {
|
|
13672
|
+
"../../node_modules/undici/lib/mock/mock-call-history.js"(exports, module) {
|
|
13673
13673
|
"use strict";
|
|
13674
13674
|
init_esbuild_shims();
|
|
13675
13675
|
var { kMockCallHistoryAddLog } = require_mock_symbols();
|
|
@@ -13878,9 +13878,9 @@ var require_mock_call_history = __commonJS({
|
|
|
13878
13878
|
}
|
|
13879
13879
|
});
|
|
13880
13880
|
|
|
13881
|
-
// node_modules/undici/lib/mock/mock-pool.js
|
|
13881
|
+
// ../../node_modules/undici/lib/mock/mock-pool.js
|
|
13882
13882
|
var require_mock_pool = __commonJS({
|
|
13883
|
-
"node_modules/undici/lib/mock/mock-pool.js"(exports, module) {
|
|
13883
|
+
"../../node_modules/undici/lib/mock/mock-pool.js"(exports, module) {
|
|
13884
13884
|
"use strict";
|
|
13885
13885
|
init_esbuild_shims();
|
|
13886
13886
|
var { promisify } = __require("node:util");
|
|
@@ -13943,9 +13943,9 @@ var require_mock_pool = __commonJS({
|
|
|
13943
13943
|
}
|
|
13944
13944
|
});
|
|
13945
13945
|
|
|
13946
|
-
// node_modules/undici/lib/mock/pending-interceptors-formatter.js
|
|
13946
|
+
// ../../node_modules/undici/lib/mock/pending-interceptors-formatter.js
|
|
13947
13947
|
var require_pending_interceptors_formatter = __commonJS({
|
|
13948
|
-
"node_modules/undici/lib/mock/pending-interceptors-formatter.js"(exports, module) {
|
|
13948
|
+
"../../node_modules/undici/lib/mock/pending-interceptors-formatter.js"(exports, module) {
|
|
13949
13949
|
"use strict";
|
|
13950
13950
|
init_esbuild_shims();
|
|
13951
13951
|
var { Transform } = __require("node:stream");
|
|
@@ -13988,9 +13988,9 @@ var require_pending_interceptors_formatter = __commonJS({
|
|
|
13988
13988
|
}
|
|
13989
13989
|
});
|
|
13990
13990
|
|
|
13991
|
-
// node_modules/undici/lib/mock/mock-agent.js
|
|
13991
|
+
// ../../node_modules/undici/lib/mock/mock-agent.js
|
|
13992
13992
|
var require_mock_agent = __commonJS({
|
|
13993
|
-
"node_modules/undici/lib/mock/mock-agent.js"(exports, module) {
|
|
13993
|
+
"../../node_modules/undici/lib/mock/mock-agent.js"(exports, module) {
|
|
13994
13994
|
"use strict";
|
|
13995
13995
|
init_esbuild_shims();
|
|
13996
13996
|
var { kClients } = require_symbols();
|
|
@@ -14176,9 +14176,9 @@ ${pendingInterceptorsFormatter.format(pending)}`.trim()
|
|
|
14176
14176
|
}
|
|
14177
14177
|
});
|
|
14178
14178
|
|
|
14179
|
-
// node_modules/undici/lib/mock/snapshot-utils.js
|
|
14179
|
+
// ../../node_modules/undici/lib/mock/snapshot-utils.js
|
|
14180
14180
|
var require_snapshot_utils = __commonJS({
|
|
14181
|
-
"node_modules/undici/lib/mock/snapshot-utils.js"(exports, module) {
|
|
14181
|
+
"../../node_modules/undici/lib/mock/snapshot-utils.js"(exports, module) {
|
|
14182
14182
|
"use strict";
|
|
14183
14183
|
init_esbuild_shims();
|
|
14184
14184
|
var { InvalidArgumentError } = require_errors();
|
|
@@ -14268,9 +14268,9 @@ var require_snapshot_utils = __commonJS({
|
|
|
14268
14268
|
}
|
|
14269
14269
|
});
|
|
14270
14270
|
|
|
14271
|
-
// node_modules/undici/lib/mock/snapshot-recorder.js
|
|
14271
|
+
// ../../node_modules/undici/lib/mock/snapshot-recorder.js
|
|
14272
14272
|
var require_snapshot_recorder = __commonJS({
|
|
14273
|
-
"node_modules/undici/lib/mock/snapshot-recorder.js"(exports, module) {
|
|
14273
|
+
"../../node_modules/undici/lib/mock/snapshot-recorder.js"(exports, module) {
|
|
14274
14274
|
"use strict";
|
|
14275
14275
|
init_esbuild_shims();
|
|
14276
14276
|
var { writeFile, readFile, mkdir } = __require("node:fs/promises");
|
|
@@ -14652,9 +14652,9 @@ var require_snapshot_recorder = __commonJS({
|
|
|
14652
14652
|
}
|
|
14653
14653
|
});
|
|
14654
14654
|
|
|
14655
|
-
// node_modules/undici/lib/mock/snapshot-agent.js
|
|
14655
|
+
// ../../node_modules/undici/lib/mock/snapshot-agent.js
|
|
14656
14656
|
var require_snapshot_agent = __commonJS({
|
|
14657
|
-
"node_modules/undici/lib/mock/snapshot-agent.js"(exports, module) {
|
|
14657
|
+
"../../node_modules/undici/lib/mock/snapshot-agent.js"(exports, module) {
|
|
14658
14658
|
"use strict";
|
|
14659
14659
|
init_esbuild_shims();
|
|
14660
14660
|
var Agent3 = require_agent();
|
|
@@ -14943,9 +14943,9 @@ var require_snapshot_agent = __commonJS({
|
|
|
14943
14943
|
}
|
|
14944
14944
|
});
|
|
14945
14945
|
|
|
14946
|
-
// node_modules/undici/lib/global.js
|
|
14946
|
+
// ../../node_modules/undici/lib/global.js
|
|
14947
14947
|
var require_global2 = __commonJS({
|
|
14948
|
-
"node_modules/undici/lib/global.js"(exports, module) {
|
|
14948
|
+
"../../node_modules/undici/lib/global.js"(exports, module) {
|
|
14949
14949
|
"use strict";
|
|
14950
14950
|
init_esbuild_shims();
|
|
14951
14951
|
var globalDispatcher = /* @__PURE__ */ Symbol.for("undici.globalDispatcher.2");
|
|
@@ -15000,9 +15000,9 @@ var require_global2 = __commonJS({
|
|
|
15000
15000
|
}
|
|
15001
15001
|
});
|
|
15002
15002
|
|
|
15003
|
-
// node_modules/undici/lib/handler/decorator-handler.js
|
|
15003
|
+
// ../../node_modules/undici/lib/handler/decorator-handler.js
|
|
15004
15004
|
var require_decorator_handler = __commonJS({
|
|
15005
|
-
"node_modules/undici/lib/handler/decorator-handler.js"(exports, module) {
|
|
15005
|
+
"../../node_modules/undici/lib/handler/decorator-handler.js"(exports, module) {
|
|
15006
15006
|
"use strict";
|
|
15007
15007
|
init_esbuild_shims();
|
|
15008
15008
|
var assert = __require("node:assert");
|
|
@@ -15060,9 +15060,9 @@ var require_decorator_handler = __commonJS({
|
|
|
15060
15060
|
}
|
|
15061
15061
|
});
|
|
15062
15062
|
|
|
15063
|
-
// node_modules/undici/lib/handler/redirect-handler.js
|
|
15063
|
+
// ../../node_modules/undici/lib/handler/redirect-handler.js
|
|
15064
15064
|
var require_redirect_handler = __commonJS({
|
|
15065
|
-
"node_modules/undici/lib/handler/redirect-handler.js"(exports, module) {
|
|
15065
|
+
"../../node_modules/undici/lib/handler/redirect-handler.js"(exports, module) {
|
|
15066
15066
|
"use strict";
|
|
15067
15067
|
init_esbuild_shims();
|
|
15068
15068
|
var util = require_util();
|
|
@@ -15229,9 +15229,9 @@ var require_redirect_handler = __commonJS({
|
|
|
15229
15229
|
}
|
|
15230
15230
|
});
|
|
15231
15231
|
|
|
15232
|
-
// node_modules/undici/lib/interceptor/redirect.js
|
|
15232
|
+
// ../../node_modules/undici/lib/interceptor/redirect.js
|
|
15233
15233
|
var require_redirect = __commonJS({
|
|
15234
|
-
"node_modules/undici/lib/interceptor/redirect.js"(exports, module) {
|
|
15234
|
+
"../../node_modules/undici/lib/interceptor/redirect.js"(exports, module) {
|
|
15235
15235
|
"use strict";
|
|
15236
15236
|
init_esbuild_shims();
|
|
15237
15237
|
var RedirectHandler = require_redirect_handler();
|
|
@@ -15253,9 +15253,9 @@ var require_redirect = __commonJS({
|
|
|
15253
15253
|
}
|
|
15254
15254
|
});
|
|
15255
15255
|
|
|
15256
|
-
// node_modules/undici/lib/interceptor/response-error.js
|
|
15256
|
+
// ../../node_modules/undici/lib/interceptor/response-error.js
|
|
15257
15257
|
var require_response_error = __commonJS({
|
|
15258
|
-
"node_modules/undici/lib/interceptor/response-error.js"(exports, module) {
|
|
15258
|
+
"../../node_modules/undici/lib/interceptor/response-error.js"(exports, module) {
|
|
15259
15259
|
"use strict";
|
|
15260
15260
|
init_esbuild_shims();
|
|
15261
15261
|
var DecoratorHandler = require_decorator_handler();
|
|
@@ -15339,9 +15339,9 @@ var require_response_error = __commonJS({
|
|
|
15339
15339
|
}
|
|
15340
15340
|
});
|
|
15341
15341
|
|
|
15342
|
-
// node_modules/undici/lib/interceptor/retry.js
|
|
15342
|
+
// ../../node_modules/undici/lib/interceptor/retry.js
|
|
15343
15343
|
var require_retry = __commonJS({
|
|
15344
|
-
"node_modules/undici/lib/interceptor/retry.js"(exports, module) {
|
|
15344
|
+
"../../node_modules/undici/lib/interceptor/retry.js"(exports, module) {
|
|
15345
15345
|
"use strict";
|
|
15346
15346
|
init_esbuild_shims();
|
|
15347
15347
|
var RetryHandler = require_retry_handler();
|
|
@@ -15364,9 +15364,9 @@ var require_retry = __commonJS({
|
|
|
15364
15364
|
}
|
|
15365
15365
|
});
|
|
15366
15366
|
|
|
15367
|
-
// node_modules/undici/lib/interceptor/dump.js
|
|
15367
|
+
// ../../node_modules/undici/lib/interceptor/dump.js
|
|
15368
15368
|
var require_dump = __commonJS({
|
|
15369
|
-
"node_modules/undici/lib/interceptor/dump.js"(exports, module) {
|
|
15369
|
+
"../../node_modules/undici/lib/interceptor/dump.js"(exports, module) {
|
|
15370
15370
|
"use strict";
|
|
15371
15371
|
init_esbuild_shims();
|
|
15372
15372
|
var { InvalidArgumentError, RequestAbortedError } = require_errors();
|
|
@@ -15455,9 +15455,9 @@ var require_dump = __commonJS({
|
|
|
15455
15455
|
}
|
|
15456
15456
|
});
|
|
15457
15457
|
|
|
15458
|
-
// node_modules/undici/lib/interceptor/dns.js
|
|
15458
|
+
// ../../node_modules/undici/lib/interceptor/dns.js
|
|
15459
15459
|
var require_dns = __commonJS({
|
|
15460
|
-
"node_modules/undici/lib/interceptor/dns.js"(exports, module) {
|
|
15460
|
+
"../../node_modules/undici/lib/interceptor/dns.js"(exports, module) {
|
|
15461
15461
|
"use strict";
|
|
15462
15462
|
init_esbuild_shims();
|
|
15463
15463
|
var { isIP } = __require("node:net");
|
|
@@ -15909,9 +15909,9 @@ var require_dns = __commonJS({
|
|
|
15909
15909
|
}
|
|
15910
15910
|
});
|
|
15911
15911
|
|
|
15912
|
-
// node_modules/undici/lib/util/cache.js
|
|
15912
|
+
// ../../node_modules/undici/lib/util/cache.js
|
|
15913
15913
|
var require_cache = __commonJS({
|
|
15914
|
-
"node_modules/undici/lib/util/cache.js"(exports, module) {
|
|
15914
|
+
"../../node_modules/undici/lib/util/cache.js"(exports, module) {
|
|
15915
15915
|
"use strict";
|
|
15916
15916
|
init_esbuild_shims();
|
|
15917
15917
|
var {
|
|
@@ -16193,9 +16193,9 @@ var require_cache = __commonJS({
|
|
|
16193
16193
|
}
|
|
16194
16194
|
});
|
|
16195
16195
|
|
|
16196
|
-
// node_modules/undici/lib/util/date.js
|
|
16196
|
+
// ../../node_modules/undici/lib/util/date.js
|
|
16197
16197
|
var require_date = __commonJS({
|
|
16198
|
-
"node_modules/undici/lib/util/date.js"(exports, module) {
|
|
16198
|
+
"../../node_modules/undici/lib/util/date.js"(exports, module) {
|
|
16199
16199
|
"use strict";
|
|
16200
16200
|
init_esbuild_shims();
|
|
16201
16201
|
function parseHttpDate(date) {
|
|
@@ -16694,9 +16694,9 @@ var require_date = __commonJS({
|
|
|
16694
16694
|
}
|
|
16695
16695
|
});
|
|
16696
16696
|
|
|
16697
|
-
// node_modules/undici/lib/handler/cache-handler.js
|
|
16697
|
+
// ../../node_modules/undici/lib/handler/cache-handler.js
|
|
16698
16698
|
var require_cache_handler = __commonJS({
|
|
16699
|
-
"node_modules/undici/lib/handler/cache-handler.js"(exports, module) {
|
|
16699
|
+
"../../node_modules/undici/lib/handler/cache-handler.js"(exports, module) {
|
|
16700
16700
|
"use strict";
|
|
16701
16701
|
init_esbuild_shims();
|
|
16702
16702
|
var util = require_util();
|
|
@@ -17084,9 +17084,9 @@ var require_cache_handler = __commonJS({
|
|
|
17084
17084
|
}
|
|
17085
17085
|
});
|
|
17086
17086
|
|
|
17087
|
-
// node_modules/undici/lib/cache/memory-cache-store.js
|
|
17087
|
+
// ../../node_modules/undici/lib/cache/memory-cache-store.js
|
|
17088
17088
|
var require_memory_cache_store = __commonJS({
|
|
17089
|
-
"node_modules/undici/lib/cache/memory-cache-store.js"(exports, module) {
|
|
17089
|
+
"../../node_modules/undici/lib/cache/memory-cache-store.js"(exports, module) {
|
|
17090
17090
|
"use strict";
|
|
17091
17091
|
init_esbuild_shims();
|
|
17092
17092
|
var { Writable } = __require("node:stream");
|
|
@@ -17266,9 +17266,9 @@ var require_memory_cache_store = __commonJS({
|
|
|
17266
17266
|
}
|
|
17267
17267
|
});
|
|
17268
17268
|
|
|
17269
|
-
// node_modules/undici/lib/handler/cache-revalidation-handler.js
|
|
17269
|
+
// ../../node_modules/undici/lib/handler/cache-revalidation-handler.js
|
|
17270
17270
|
var require_cache_revalidation_handler = __commonJS({
|
|
17271
|
-
"node_modules/undici/lib/handler/cache-revalidation-handler.js"(exports, module) {
|
|
17271
|
+
"../../node_modules/undici/lib/handler/cache-revalidation-handler.js"(exports, module) {
|
|
17272
17272
|
"use strict";
|
|
17273
17273
|
init_esbuild_shims();
|
|
17274
17274
|
var assert = __require("node:assert");
|
|
@@ -17357,9 +17357,9 @@ var require_cache_revalidation_handler = __commonJS({
|
|
|
17357
17357
|
}
|
|
17358
17358
|
});
|
|
17359
17359
|
|
|
17360
|
-
// node_modules/undici/lib/interceptor/cache.js
|
|
17360
|
+
// ../../node_modules/undici/lib/interceptor/cache.js
|
|
17361
17361
|
var require_cache2 = __commonJS({
|
|
17362
|
-
"node_modules/undici/lib/interceptor/cache.js"(exports, module) {
|
|
17362
|
+
"../../node_modules/undici/lib/interceptor/cache.js"(exports, module) {
|
|
17363
17363
|
"use strict";
|
|
17364
17364
|
init_esbuild_shims();
|
|
17365
17365
|
var assert = __require("node:assert");
|
|
@@ -17701,9 +17701,9 @@ var require_cache2 = __commonJS({
|
|
|
17701
17701
|
}
|
|
17702
17702
|
});
|
|
17703
17703
|
|
|
17704
|
-
// node_modules/undici/lib/interceptor/decompress.js
|
|
17704
|
+
// ../../node_modules/undici/lib/interceptor/decompress.js
|
|
17705
17705
|
var require_decompress = __commonJS({
|
|
17706
|
-
"node_modules/undici/lib/interceptor/decompress.js"(exports, module) {
|
|
17706
|
+
"../../node_modules/undici/lib/interceptor/decompress.js"(exports, module) {
|
|
17707
17707
|
"use strict";
|
|
17708
17708
|
init_esbuild_shims();
|
|
17709
17709
|
var { createInflate, createGunzip, createBrotliDecompress, createZstdDecompress } = __require("node:zlib");
|
|
@@ -17920,9 +17920,9 @@ var require_decompress = __commonJS({
|
|
|
17920
17920
|
}
|
|
17921
17921
|
});
|
|
17922
17922
|
|
|
17923
|
-
// node_modules/undici/lib/handler/deduplication-handler.js
|
|
17923
|
+
// ../../node_modules/undici/lib/handler/deduplication-handler.js
|
|
17924
17924
|
var require_deduplication_handler = __commonJS({
|
|
17925
|
-
"node_modules/undici/lib/handler/deduplication-handler.js"(exports, module) {
|
|
17925
|
+
"../../node_modules/undici/lib/handler/deduplication-handler.js"(exports, module) {
|
|
17926
17926
|
"use strict";
|
|
17927
17927
|
init_esbuild_shims();
|
|
17928
17928
|
var { RequestAbortedError } = require_errors();
|
|
@@ -18283,9 +18283,9 @@ var require_deduplication_handler = __commonJS({
|
|
|
18283
18283
|
}
|
|
18284
18284
|
});
|
|
18285
18285
|
|
|
18286
|
-
// node_modules/undici/lib/interceptor/deduplicate.js
|
|
18286
|
+
// ../../node_modules/undici/lib/interceptor/deduplicate.js
|
|
18287
18287
|
var require_deduplicate = __commonJS({
|
|
18288
|
-
"node_modules/undici/lib/interceptor/deduplicate.js"(exports, module) {
|
|
18288
|
+
"../../node_modules/undici/lib/interceptor/deduplicate.js"(exports, module) {
|
|
18289
18289
|
"use strict";
|
|
18290
18290
|
init_esbuild_shims();
|
|
18291
18291
|
var diagnosticsChannel = __require("node:diagnostics_channel");
|
|
@@ -18369,9 +18369,9 @@ var require_deduplicate = __commonJS({
|
|
|
18369
18369
|
}
|
|
18370
18370
|
});
|
|
18371
18371
|
|
|
18372
|
-
// node_modules/undici/lib/cache/sqlite-cache-store.js
|
|
18372
|
+
// ../../node_modules/undici/lib/cache/sqlite-cache-store.js
|
|
18373
18373
|
var require_sqlite_cache_store = __commonJS({
|
|
18374
|
-
"node_modules/undici/lib/cache/sqlite-cache-store.js"(exports, module) {
|
|
18374
|
+
"../../node_modules/undici/lib/cache/sqlite-cache-store.js"(exports, module) {
|
|
18375
18375
|
"use strict";
|
|
18376
18376
|
init_esbuild_shims();
|
|
18377
18377
|
var { Writable } = __require("node:stream");
|
|
@@ -18733,9 +18733,9 @@ var require_sqlite_cache_store = __commonJS({
|
|
|
18733
18733
|
}
|
|
18734
18734
|
});
|
|
18735
18735
|
|
|
18736
|
-
// node_modules/undici/lib/web/fetch/headers.js
|
|
18736
|
+
// ../../node_modules/undici/lib/web/fetch/headers.js
|
|
18737
18737
|
var require_headers = __commonJS({
|
|
18738
|
-
"node_modules/undici/lib/web/fetch/headers.js"(exports, module) {
|
|
18738
|
+
"../../node_modules/undici/lib/web/fetch/headers.js"(exports, module) {
|
|
18739
18739
|
"use strict";
|
|
18740
18740
|
init_esbuild_shims();
|
|
18741
18741
|
var { kConstruct } = require_symbols();
|
|
@@ -19207,9 +19207,9 @@ var require_headers = __commonJS({
|
|
|
19207
19207
|
}
|
|
19208
19208
|
});
|
|
19209
19209
|
|
|
19210
|
-
// node_modules/undici/lib/web/fetch/response.js
|
|
19210
|
+
// ../../node_modules/undici/lib/web/fetch/response.js
|
|
19211
19211
|
var require_response = __commonJS({
|
|
19212
|
-
"node_modules/undici/lib/web/fetch/response.js"(exports, module) {
|
|
19212
|
+
"../../node_modules/undici/lib/web/fetch/response.js"(exports, module) {
|
|
19213
19213
|
"use strict";
|
|
19214
19214
|
init_esbuild_shims();
|
|
19215
19215
|
var { Headers: Headers2, HeadersList, fill, getHeadersGuard, setHeadersGuard, setHeadersList } = require_headers();
|
|
@@ -19642,9 +19642,9 @@ var require_response = __commonJS({
|
|
|
19642
19642
|
}
|
|
19643
19643
|
});
|
|
19644
19644
|
|
|
19645
|
-
// node_modules/undici/lib/web/fetch/request.js
|
|
19645
|
+
// ../../node_modules/undici/lib/web/fetch/request.js
|
|
19646
19646
|
var require_request2 = __commonJS({
|
|
19647
|
-
"node_modules/undici/lib/web/fetch/request.js"(exports, module) {
|
|
19647
|
+
"../../node_modules/undici/lib/web/fetch/request.js"(exports, module) {
|
|
19648
19648
|
"use strict";
|
|
19649
19649
|
init_esbuild_shims();
|
|
19650
19650
|
var { extractBody, mixinBody, cloneBody, bodyUnusable } = require_body();
|
|
@@ -20407,9 +20407,9 @@ var require_request2 = __commonJS({
|
|
|
20407
20407
|
}
|
|
20408
20408
|
});
|
|
20409
20409
|
|
|
20410
|
-
// node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js
|
|
20410
|
+
// ../../node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js
|
|
20411
20411
|
var require_subresource_integrity = __commonJS({
|
|
20412
|
-
"node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js"(exports, module) {
|
|
20412
|
+
"../../node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js"(exports, module) {
|
|
20413
20413
|
"use strict";
|
|
20414
20414
|
init_esbuild_shims();
|
|
20415
20415
|
var assert = __require("node:assert");
|
|
@@ -20550,9 +20550,9 @@ var require_subresource_integrity = __commonJS({
|
|
|
20550
20550
|
}
|
|
20551
20551
|
});
|
|
20552
20552
|
|
|
20553
|
-
// node_modules/undici/lib/web/fetch/index.js
|
|
20553
|
+
// ../../node_modules/undici/lib/web/fetch/index.js
|
|
20554
20554
|
var require_fetch = __commonJS({
|
|
20555
|
-
"node_modules/undici/lib/web/fetch/index.js"(exports, module) {
|
|
20555
|
+
"../../node_modules/undici/lib/web/fetch/index.js"(exports, module) {
|
|
20556
20556
|
"use strict";
|
|
20557
20557
|
init_esbuild_shims();
|
|
20558
20558
|
var {
|
|
@@ -21713,9 +21713,9 @@ var require_fetch = __commonJS({
|
|
|
21713
21713
|
}
|
|
21714
21714
|
});
|
|
21715
21715
|
|
|
21716
|
-
// node_modules/undici/lib/web/cache/util.js
|
|
21716
|
+
// ../../node_modules/undici/lib/web/cache/util.js
|
|
21717
21717
|
var require_util3 = __commonJS({
|
|
21718
|
-
"node_modules/undici/lib/web/cache/util.js"(exports, module) {
|
|
21718
|
+
"../../node_modules/undici/lib/web/cache/util.js"(exports, module) {
|
|
21719
21719
|
"use strict";
|
|
21720
21720
|
init_esbuild_shims();
|
|
21721
21721
|
var assert = __require("node:assert");
|
|
@@ -21746,9 +21746,9 @@ var require_util3 = __commonJS({
|
|
|
21746
21746
|
}
|
|
21747
21747
|
});
|
|
21748
21748
|
|
|
21749
|
-
// node_modules/undici/lib/web/cache/cache.js
|
|
21749
|
+
// ../../node_modules/undici/lib/web/cache/cache.js
|
|
21750
21750
|
var require_cache3 = __commonJS({
|
|
21751
|
-
"node_modules/undici/lib/web/cache/cache.js"(exports, module) {
|
|
21751
|
+
"../../node_modules/undici/lib/web/cache/cache.js"(exports, module) {
|
|
21752
21752
|
"use strict";
|
|
21753
21753
|
init_esbuild_shims();
|
|
21754
21754
|
var assert = __require("node:assert");
|
|
@@ -22299,9 +22299,9 @@ var require_cache3 = __commonJS({
|
|
|
22299
22299
|
}
|
|
22300
22300
|
});
|
|
22301
22301
|
|
|
22302
|
-
// node_modules/undici/lib/web/cache/cachestorage.js
|
|
22302
|
+
// ../../node_modules/undici/lib/web/cache/cachestorage.js
|
|
22303
22303
|
var require_cachestorage = __commonJS({
|
|
22304
|
-
"node_modules/undici/lib/web/cache/cachestorage.js"(exports, module) {
|
|
22304
|
+
"../../node_modules/undici/lib/web/cache/cachestorage.js"(exports, module) {
|
|
22305
22305
|
"use strict";
|
|
22306
22306
|
init_esbuild_shims();
|
|
22307
22307
|
var { Cache } = require_cache3();
|
|
@@ -22413,9 +22413,9 @@ var require_cachestorage = __commonJS({
|
|
|
22413
22413
|
}
|
|
22414
22414
|
});
|
|
22415
22415
|
|
|
22416
|
-
// node_modules/undici/lib/web/cookies/constants.js
|
|
22416
|
+
// ../../node_modules/undici/lib/web/cookies/constants.js
|
|
22417
22417
|
var require_constants4 = __commonJS({
|
|
22418
|
-
"node_modules/undici/lib/web/cookies/constants.js"(exports, module) {
|
|
22418
|
+
"../../node_modules/undici/lib/web/cookies/constants.js"(exports, module) {
|
|
22419
22419
|
"use strict";
|
|
22420
22420
|
init_esbuild_shims();
|
|
22421
22421
|
var maxAttributeValueSize = 1024;
|
|
@@ -22427,9 +22427,9 @@ var require_constants4 = __commonJS({
|
|
|
22427
22427
|
}
|
|
22428
22428
|
});
|
|
22429
22429
|
|
|
22430
|
-
// node_modules/undici/lib/web/cookies/util.js
|
|
22430
|
+
// ../../node_modules/undici/lib/web/cookies/util.js
|
|
22431
22431
|
var require_util4 = __commonJS({
|
|
22432
|
-
"node_modules/undici/lib/web/cookies/util.js"(exports, module) {
|
|
22432
|
+
"../../node_modules/undici/lib/web/cookies/util.js"(exports, module) {
|
|
22433
22433
|
"use strict";
|
|
22434
22434
|
init_esbuild_shims();
|
|
22435
22435
|
function isCTLExcludingHtab(value) {
|
|
@@ -22606,9 +22606,9 @@ var require_util4 = __commonJS({
|
|
|
22606
22606
|
}
|
|
22607
22607
|
});
|
|
22608
22608
|
|
|
22609
|
-
// node_modules/undici/lib/web/cookies/parse.js
|
|
22609
|
+
// ../../node_modules/undici/lib/web/cookies/parse.js
|
|
22610
22610
|
var require_parse = __commonJS({
|
|
22611
|
-
"node_modules/undici/lib/web/cookies/parse.js"(exports, module) {
|
|
22611
|
+
"../../node_modules/undici/lib/web/cookies/parse.js"(exports, module) {
|
|
22612
22612
|
"use strict";
|
|
22613
22613
|
init_esbuild_shims();
|
|
22614
22614
|
var { collectASequenceOfCodePointsFast } = require_infra();
|
|
@@ -22745,9 +22745,9 @@ var require_parse = __commonJS({
|
|
|
22745
22745
|
}
|
|
22746
22746
|
});
|
|
22747
22747
|
|
|
22748
|
-
// node_modules/undici/lib/web/cookies/index.js
|
|
22748
|
+
// ../../node_modules/undici/lib/web/cookies/index.js
|
|
22749
22749
|
var require_cookies = __commonJS({
|
|
22750
|
-
"node_modules/undici/lib/web/cookies/index.js"(exports, module) {
|
|
22750
|
+
"../../node_modules/undici/lib/web/cookies/index.js"(exports, module) {
|
|
22751
22751
|
"use strict";
|
|
22752
22752
|
init_esbuild_shims();
|
|
22753
22753
|
var { parseSetCookie } = require_parse();
|
|
@@ -22886,9 +22886,9 @@ var require_cookies = __commonJS({
|
|
|
22886
22886
|
}
|
|
22887
22887
|
});
|
|
22888
22888
|
|
|
22889
|
-
// node_modules/undici/lib/web/websocket/events.js
|
|
22889
|
+
// ../../node_modules/undici/lib/web/websocket/events.js
|
|
22890
22890
|
var require_events = __commonJS({
|
|
22891
|
-
"node_modules/undici/lib/web/websocket/events.js"(exports, module) {
|
|
22891
|
+
"../../node_modules/undici/lib/web/websocket/events.js"(exports, module) {
|
|
22892
22892
|
"use strict";
|
|
22893
22893
|
init_esbuild_shims();
|
|
22894
22894
|
var { webidl } = require_webidl();
|
|
@@ -23164,9 +23164,9 @@ var require_events = __commonJS({
|
|
|
23164
23164
|
}
|
|
23165
23165
|
});
|
|
23166
23166
|
|
|
23167
|
-
// node_modules/undici/lib/web/websocket/constants.js
|
|
23167
|
+
// ../../node_modules/undici/lib/web/websocket/constants.js
|
|
23168
23168
|
var require_constants5 = __commonJS({
|
|
23169
|
-
"node_modules/undici/lib/web/websocket/constants.js"(exports, module) {
|
|
23169
|
+
"../../node_modules/undici/lib/web/websocket/constants.js"(exports, module) {
|
|
23170
23170
|
"use strict";
|
|
23171
23171
|
init_esbuild_shims();
|
|
23172
23172
|
var uid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
|
@@ -23221,9 +23221,9 @@ var require_constants5 = __commonJS({
|
|
|
23221
23221
|
}
|
|
23222
23222
|
});
|
|
23223
23223
|
|
|
23224
|
-
// node_modules/undici/lib/web/websocket/util.js
|
|
23224
|
+
// ../../node_modules/undici/lib/web/websocket/util.js
|
|
23225
23225
|
var require_util5 = __commonJS({
|
|
23226
|
-
"node_modules/undici/lib/web/websocket/util.js"(exports, module) {
|
|
23226
|
+
"../../node_modules/undici/lib/web/websocket/util.js"(exports, module) {
|
|
23227
23227
|
"use strict";
|
|
23228
23228
|
init_esbuild_shims();
|
|
23229
23229
|
var { states, opcodes } = require_constants5();
|
|
@@ -23416,9 +23416,9 @@ var require_util5 = __commonJS({
|
|
|
23416
23416
|
}
|
|
23417
23417
|
});
|
|
23418
23418
|
|
|
23419
|
-
// node_modules/undici/lib/web/websocket/frame.js
|
|
23419
|
+
// ../../node_modules/undici/lib/web/websocket/frame.js
|
|
23420
23420
|
var require_frame = __commonJS({
|
|
23421
|
-
"node_modules/undici/lib/web/websocket/frame.js"(exports, module) {
|
|
23421
|
+
"../../node_modules/undici/lib/web/websocket/frame.js"(exports, module) {
|
|
23422
23422
|
"use strict";
|
|
23423
23423
|
init_esbuild_shims();
|
|
23424
23424
|
var { runtimeFeatures } = require_runtime_features();
|
|
@@ -23526,9 +23526,9 @@ var require_frame = __commonJS({
|
|
|
23526
23526
|
}
|
|
23527
23527
|
});
|
|
23528
23528
|
|
|
23529
|
-
// node_modules/undici/lib/web/websocket/connection.js
|
|
23529
|
+
// ../../node_modules/undici/lib/web/websocket/connection.js
|
|
23530
23530
|
var require_connection = __commonJS({
|
|
23531
|
-
"node_modules/undici/lib/web/websocket/connection.js"(exports, module) {
|
|
23531
|
+
"../../node_modules/undici/lib/web/websocket/connection.js"(exports, module) {
|
|
23532
23532
|
"use strict";
|
|
23533
23533
|
init_esbuild_shims();
|
|
23534
23534
|
var { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require_constants5();
|
|
@@ -23686,9 +23686,9 @@ var require_connection = __commonJS({
|
|
|
23686
23686
|
}
|
|
23687
23687
|
});
|
|
23688
23688
|
|
|
23689
|
-
// node_modules/undici/lib/web/websocket/permessage-deflate.js
|
|
23689
|
+
// ../../node_modules/undici/lib/web/websocket/permessage-deflate.js
|
|
23690
23690
|
var require_permessage_deflate = __commonJS({
|
|
23691
|
-
"node_modules/undici/lib/web/websocket/permessage-deflate.js"(exports, module) {
|
|
23691
|
+
"../../node_modules/undici/lib/web/websocket/permessage-deflate.js"(exports, module) {
|
|
23692
23692
|
"use strict";
|
|
23693
23693
|
init_esbuild_shims();
|
|
23694
23694
|
var { createInflateRaw, Z_DEFAULT_WINDOWBITS } = __require("node:zlib");
|
|
@@ -23771,9 +23771,9 @@ var require_permessage_deflate = __commonJS({
|
|
|
23771
23771
|
}
|
|
23772
23772
|
});
|
|
23773
23773
|
|
|
23774
|
-
// node_modules/undici/lib/web/websocket/receiver.js
|
|
23774
|
+
// ../../node_modules/undici/lib/web/websocket/receiver.js
|
|
23775
23775
|
var require_receiver = __commonJS({
|
|
23776
|
-
"node_modules/undici/lib/web/websocket/receiver.js"(exports, module) {
|
|
23776
|
+
"../../node_modules/undici/lib/web/websocket/receiver.js"(exports, module) {
|
|
23777
23777
|
"use strict";
|
|
23778
23778
|
init_esbuild_shims();
|
|
23779
23779
|
var { Writable } = __require("node:stream");
|
|
@@ -24134,9 +24134,9 @@ var require_receiver = __commonJS({
|
|
|
24134
24134
|
}
|
|
24135
24135
|
});
|
|
24136
24136
|
|
|
24137
|
-
// node_modules/undici/lib/web/websocket/sender.js
|
|
24137
|
+
// ../../node_modules/undici/lib/web/websocket/sender.js
|
|
24138
24138
|
var require_sender = __commonJS({
|
|
24139
|
-
"node_modules/undici/lib/web/websocket/sender.js"(exports, module) {
|
|
24139
|
+
"../../node_modules/undici/lib/web/websocket/sender.js"(exports, module) {
|
|
24140
24140
|
"use strict";
|
|
24141
24141
|
init_esbuild_shims();
|
|
24142
24142
|
var { WebsocketFrameSend } = require_frame();
|
|
@@ -24227,9 +24227,9 @@ var require_sender = __commonJS({
|
|
|
24227
24227
|
}
|
|
24228
24228
|
});
|
|
24229
24229
|
|
|
24230
|
-
// node_modules/undici/lib/web/websocket/websocket.js
|
|
24230
|
+
// ../../node_modules/undici/lib/web/websocket/websocket.js
|
|
24231
24231
|
var require_websocket = __commonJS({
|
|
24232
|
-
"node_modules/undici/lib/web/websocket/websocket.js"(exports, module) {
|
|
24232
|
+
"../../node_modules/undici/lib/web/websocket/websocket.js"(exports, module) {
|
|
24233
24233
|
"use strict";
|
|
24234
24234
|
init_esbuild_shims();
|
|
24235
24235
|
var { isArrayBuffer } = __require("node:util/types");
|
|
@@ -24722,9 +24722,9 @@ var require_websocket = __commonJS({
|
|
|
24722
24722
|
}
|
|
24723
24723
|
});
|
|
24724
24724
|
|
|
24725
|
-
// node_modules/undici/lib/web/websocket/stream/websocketerror.js
|
|
24725
|
+
// ../../node_modules/undici/lib/web/websocket/stream/websocketerror.js
|
|
24726
24726
|
var require_websocketerror = __commonJS({
|
|
24727
|
-
"node_modules/undici/lib/web/websocket/stream/websocketerror.js"(exports, module) {
|
|
24727
|
+
"../../node_modules/undici/lib/web/websocket/stream/websocketerror.js"(exports, module) {
|
|
24728
24728
|
"use strict";
|
|
24729
24729
|
init_esbuild_shims();
|
|
24730
24730
|
var { webidl } = require_webidl();
|
|
@@ -24810,9 +24810,9 @@ var require_websocketerror = __commonJS({
|
|
|
24810
24810
|
}
|
|
24811
24811
|
});
|
|
24812
24812
|
|
|
24813
|
-
// node_modules/undici/lib/web/websocket/stream/websocketstream.js
|
|
24813
|
+
// ../../node_modules/undici/lib/web/websocket/stream/websocketstream.js
|
|
24814
24814
|
var require_websocketstream = __commonJS({
|
|
24815
|
-
"node_modules/undici/lib/web/websocket/stream/websocketstream.js"(exports, module) {
|
|
24815
|
+
"../../node_modules/undici/lib/web/websocket/stream/websocketstream.js"(exports, module) {
|
|
24816
24816
|
"use strict";
|
|
24817
24817
|
init_esbuild_shims();
|
|
24818
24818
|
var { createDeferredPromise } = require_promise();
|
|
@@ -25125,9 +25125,9 @@ var require_websocketstream = __commonJS({
|
|
|
25125
25125
|
}
|
|
25126
25126
|
});
|
|
25127
25127
|
|
|
25128
|
-
// node_modules/undici/lib/web/eventsource/util.js
|
|
25128
|
+
// ../../node_modules/undici/lib/web/eventsource/util.js
|
|
25129
25129
|
var require_util6 = __commonJS({
|
|
25130
|
-
"node_modules/undici/lib/web/eventsource/util.js"(exports, module) {
|
|
25130
|
+
"../../node_modules/undici/lib/web/eventsource/util.js"(exports, module) {
|
|
25131
25131
|
"use strict";
|
|
25132
25132
|
init_esbuild_shims();
|
|
25133
25133
|
function isValidLastEventId(value) {
|
|
@@ -25149,9 +25149,9 @@ var require_util6 = __commonJS({
|
|
|
25149
25149
|
}
|
|
25150
25150
|
});
|
|
25151
25151
|
|
|
25152
|
-
// node_modules/undici/lib/web/eventsource/eventsource-stream.js
|
|
25152
|
+
// ../../node_modules/undici/lib/web/eventsource/eventsource-stream.js
|
|
25153
25153
|
var require_eventsource_stream = __commonJS({
|
|
25154
|
-
"node_modules/undici/lib/web/eventsource/eventsource-stream.js"(exports, module) {
|
|
25154
|
+
"../../node_modules/undici/lib/web/eventsource/eventsource-stream.js"(exports, module) {
|
|
25155
25155
|
"use strict";
|
|
25156
25156
|
init_esbuild_shims();
|
|
25157
25157
|
var { Transform } = __require("node:stream");
|
|
@@ -25384,9 +25384,9 @@ ${value}`;
|
|
|
25384
25384
|
}
|
|
25385
25385
|
});
|
|
25386
25386
|
|
|
25387
|
-
// node_modules/undici/lib/web/eventsource/eventsource.js
|
|
25387
|
+
// ../../node_modules/undici/lib/web/eventsource/eventsource.js
|
|
25388
25388
|
var require_eventsource = __commonJS({
|
|
25389
|
-
"node_modules/undici/lib/web/eventsource/eventsource.js"(exports, module) {
|
|
25389
|
+
"../../node_modules/undici/lib/web/eventsource/eventsource.js"(exports, module) {
|
|
25390
25390
|
"use strict";
|
|
25391
25391
|
init_esbuild_shims();
|
|
25392
25392
|
var { pipeline } = __require("node:stream");
|
|
@@ -25705,9 +25705,9 @@ var require_eventsource = __commonJS({
|
|
|
25705
25705
|
}
|
|
25706
25706
|
});
|
|
25707
25707
|
|
|
25708
|
-
// node_modules/undici/index.js
|
|
25708
|
+
// ../../node_modules/undici/index.js
|
|
25709
25709
|
var require_undici = __commonJS({
|
|
25710
|
-
"node_modules/undici/index.js"(exports, module) {
|
|
25710
|
+
"../../node_modules/undici/index.js"(exports, module) {
|
|
25711
25711
|
"use strict";
|
|
25712
25712
|
init_esbuild_shims();
|
|
25713
25713
|
var Client = require_client();
|
|
@@ -25718,7 +25718,7 @@ var require_undici = __commonJS({
|
|
|
25718
25718
|
var Agent3 = require_agent();
|
|
25719
25719
|
var ProxyAgent = require_proxy_agent();
|
|
25720
25720
|
var Socks5ProxyAgent = require_socks5_proxy_agent();
|
|
25721
|
-
var
|
|
25721
|
+
var EnvHttpProxyAgent2 = require_env_http_proxy_agent();
|
|
25722
25722
|
var RetryAgent = require_retry_agent();
|
|
25723
25723
|
var H2CClient = require_h2c_client();
|
|
25724
25724
|
var errors = require_errors();
|
|
@@ -25745,7 +25745,7 @@ var require_undici = __commonJS({
|
|
|
25745
25745
|
module.exports.Agent = Agent3;
|
|
25746
25746
|
module.exports.ProxyAgent = ProxyAgent;
|
|
25747
25747
|
module.exports.Socks5ProxyAgent = Socks5ProxyAgent;
|
|
25748
|
-
module.exports.EnvHttpProxyAgent =
|
|
25748
|
+
module.exports.EnvHttpProxyAgent = EnvHttpProxyAgent2;
|
|
25749
25749
|
module.exports.RetryAgent = RetryAgent;
|
|
25750
25750
|
module.exports.H2CClient = H2CClient;
|
|
25751
25751
|
module.exports.RetryHandler = RetryHandler;
|
|
@@ -25904,14 +25904,14 @@ ${captureLines}` : capture.stack;
|
|
|
25904
25904
|
}
|
|
25905
25905
|
});
|
|
25906
25906
|
|
|
25907
|
-
//
|
|
25907
|
+
// ../core/src/mcp/servers/ws-vision-ocr-server.ts
|
|
25908
25908
|
init_esbuild_shims();
|
|
25909
25909
|
var import_undici2 = __toESM(require_undici(), 1);
|
|
25910
25910
|
import { createInterface } from "node:readline";
|
|
25911
25911
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
25912
25912
|
import * as path6 from "node:path";
|
|
25913
25913
|
|
|
25914
|
-
//
|
|
25914
|
+
// ../core/src/common/auth.ts
|
|
25915
25915
|
init_esbuild_shims();
|
|
25916
25916
|
import * as fs from "fs";
|
|
25917
25917
|
import * as os from "os";
|
|
@@ -26072,19 +26072,19 @@ function clearAuth() {
|
|
|
26072
26072
|
}
|
|
26073
26073
|
__name(clearAuth, "clearAuth");
|
|
26074
26074
|
|
|
26075
|
-
//
|
|
26075
|
+
// ../core/src/common/openai-client.ts
|
|
26076
26076
|
init_esbuild_shims();
|
|
26077
26077
|
import * as fs4 from "fs";
|
|
26078
26078
|
import * as os4 from "os";
|
|
26079
26079
|
import * as path5 from "path";
|
|
26080
26080
|
|
|
26081
|
-
// node_modules/openai/index.mjs
|
|
26081
|
+
// ../../node_modules/openai/index.mjs
|
|
26082
26082
|
init_esbuild_shims();
|
|
26083
26083
|
|
|
26084
|
-
// node_modules/openai/client.mjs
|
|
26084
|
+
// ../../node_modules/openai/client.mjs
|
|
26085
26085
|
init_esbuild_shims();
|
|
26086
26086
|
|
|
26087
|
-
// node_modules/openai/internal/tslib.mjs
|
|
26087
|
+
// ../../node_modules/openai/internal/tslib.mjs
|
|
26088
26088
|
init_esbuild_shims();
|
|
26089
26089
|
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
26090
26090
|
if (kind === "m")
|
|
@@ -26105,7 +26105,7 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
|
26105
26105
|
}
|
|
26106
26106
|
__name(__classPrivateFieldGet, "__classPrivateFieldGet");
|
|
26107
26107
|
|
|
26108
|
-
// node_modules/openai/internal/utils/uuid.mjs
|
|
26108
|
+
// ../../node_modules/openai/internal/utils/uuid.mjs
|
|
26109
26109
|
init_esbuild_shims();
|
|
26110
26110
|
var uuid4 = /* @__PURE__ */ __name(function() {
|
|
26111
26111
|
const { crypto: crypto2 } = globalThis;
|
|
@@ -26118,13 +26118,13 @@ var uuid4 = /* @__PURE__ */ __name(function() {
|
|
|
26118
26118
|
return "10000000-1000-4000-8000-100000000000".replace(/[018]/g, (c) => (+c ^ randomByte() & 15 >> +c / 4).toString(16));
|
|
26119
26119
|
}, "uuid4");
|
|
26120
26120
|
|
|
26121
|
-
// node_modules/openai/internal/utils/values.mjs
|
|
26121
|
+
// ../../node_modules/openai/internal/utils/values.mjs
|
|
26122
26122
|
init_esbuild_shims();
|
|
26123
26123
|
|
|
26124
|
-
// node_modules/openai/core/error.mjs
|
|
26124
|
+
// ../../node_modules/openai/core/error.mjs
|
|
26125
26125
|
init_esbuild_shims();
|
|
26126
26126
|
|
|
26127
|
-
// node_modules/openai/internal/errors.mjs
|
|
26127
|
+
// ../../node_modules/openai/internal/errors.mjs
|
|
26128
26128
|
init_esbuild_shims();
|
|
26129
26129
|
function isAbortError(err) {
|
|
26130
26130
|
return typeof err === "object" && err !== null && // Spec-compliant fetch implementations
|
|
@@ -26157,7 +26157,7 @@ var castToError = /* @__PURE__ */ __name((err) => {
|
|
|
26157
26157
|
return new Error(err);
|
|
26158
26158
|
}, "castToError");
|
|
26159
26159
|
|
|
26160
|
-
// node_modules/openai/core/error.mjs
|
|
26160
|
+
// ../../node_modules/openai/core/error.mjs
|
|
26161
26161
|
var OpenAIError = class extends Error {
|
|
26162
26162
|
static {
|
|
26163
26163
|
__name(this, "OpenAIError");
|
|
@@ -26345,7 +26345,7 @@ var SubjectTokenProviderError = class extends OpenAIError {
|
|
|
26345
26345
|
}
|
|
26346
26346
|
};
|
|
26347
26347
|
|
|
26348
|
-
// node_modules/openai/internal/utils/values.mjs
|
|
26348
|
+
// ../../node_modules/openai/internal/utils/values.mjs
|
|
26349
26349
|
var startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
26350
26350
|
var isAbsoluteURL = /* @__PURE__ */ __name((url) => {
|
|
26351
26351
|
return startsWithSchemeRegexp.test(url);
|
|
@@ -26392,18 +26392,18 @@ var safeJSON = /* @__PURE__ */ __name((text) => {
|
|
|
26392
26392
|
}
|
|
26393
26393
|
}, "safeJSON");
|
|
26394
26394
|
|
|
26395
|
-
// node_modules/openai/internal/utils/sleep.mjs
|
|
26395
|
+
// ../../node_modules/openai/internal/utils/sleep.mjs
|
|
26396
26396
|
init_esbuild_shims();
|
|
26397
26397
|
var sleep = /* @__PURE__ */ __name((ms) => new Promise((resolve4) => setTimeout(resolve4, ms)), "sleep");
|
|
26398
26398
|
|
|
26399
|
-
// node_modules/openai/internal/detect-platform.mjs
|
|
26399
|
+
// ../../node_modules/openai/internal/detect-platform.mjs
|
|
26400
26400
|
init_esbuild_shims();
|
|
26401
26401
|
|
|
26402
|
-
// node_modules/openai/version.mjs
|
|
26402
|
+
// ../../node_modules/openai/version.mjs
|
|
26403
26403
|
init_esbuild_shims();
|
|
26404
26404
|
var VERSION = "6.44.0";
|
|
26405
26405
|
|
|
26406
|
-
// node_modules/openai/internal/detect-platform.mjs
|
|
26406
|
+
// ../../node_modules/openai/internal/detect-platform.mjs
|
|
26407
26407
|
var isRunningInBrowser = /* @__PURE__ */ __name(() => {
|
|
26408
26408
|
return (
|
|
26409
26409
|
// @ts-ignore
|
|
@@ -26539,7 +26539,7 @@ var getPlatformHeaders = /* @__PURE__ */ __name(() => {
|
|
|
26539
26539
|
return _platformHeaders ?? (_platformHeaders = getPlatformProperties());
|
|
26540
26540
|
}, "getPlatformHeaders");
|
|
26541
26541
|
|
|
26542
|
-
// node_modules/openai/internal/shims.mjs
|
|
26542
|
+
// ../../node_modules/openai/internal/shims.mjs
|
|
26543
26543
|
init_esbuild_shims();
|
|
26544
26544
|
function getDefaultFetch() {
|
|
26545
26545
|
if (typeof fetch !== "undefined") {
|
|
@@ -26617,7 +26617,7 @@ async function CancelReadableStream(stream) {
|
|
|
26617
26617
|
}
|
|
26618
26618
|
__name(CancelReadableStream, "CancelReadableStream");
|
|
26619
26619
|
|
|
26620
|
-
// node_modules/openai/internal/request-options.mjs
|
|
26620
|
+
// ../../node_modules/openai/internal/request-options.mjs
|
|
26621
26621
|
init_esbuild_shims();
|
|
26622
26622
|
var FallbackEncoder = /* @__PURE__ */ __name(({ headers, body }) => {
|
|
26623
26623
|
return {
|
|
@@ -26628,16 +26628,16 @@ var FallbackEncoder = /* @__PURE__ */ __name(({ headers, body }) => {
|
|
|
26628
26628
|
};
|
|
26629
26629
|
}, "FallbackEncoder");
|
|
26630
26630
|
|
|
26631
|
-
// node_modules/openai/internal/utils/query.mjs
|
|
26631
|
+
// ../../node_modules/openai/internal/utils/query.mjs
|
|
26632
26632
|
init_esbuild_shims();
|
|
26633
26633
|
|
|
26634
|
-
// node_modules/openai/internal/qs/stringify.mjs
|
|
26634
|
+
// ../../node_modules/openai/internal/qs/stringify.mjs
|
|
26635
26635
|
init_esbuild_shims();
|
|
26636
26636
|
|
|
26637
|
-
// node_modules/openai/internal/qs/utils.mjs
|
|
26637
|
+
// ../../node_modules/openai/internal/qs/utils.mjs
|
|
26638
26638
|
init_esbuild_shims();
|
|
26639
26639
|
|
|
26640
|
-
// node_modules/openai/internal/qs/formats.mjs
|
|
26640
|
+
// ../../node_modules/openai/internal/qs/formats.mjs
|
|
26641
26641
|
init_esbuild_shims();
|
|
26642
26642
|
var default_format = "RFC3986";
|
|
26643
26643
|
var default_formatter = /* @__PURE__ */ __name((v) => String(v), "default_formatter");
|
|
@@ -26647,7 +26647,7 @@ var formatters = {
|
|
|
26647
26647
|
};
|
|
26648
26648
|
var RFC1738 = "RFC1738";
|
|
26649
26649
|
|
|
26650
|
-
// node_modules/openai/internal/qs/utils.mjs
|
|
26650
|
+
// ../../node_modules/openai/internal/qs/utils.mjs
|
|
26651
26651
|
var has = /* @__PURE__ */ __name((obj, key) => (has = Object.hasOwn ?? Function.prototype.call.bind(Object.prototype.hasOwnProperty), has(obj, key)), "has");
|
|
26652
26652
|
var hex_table = /* @__PURE__ */ (() => {
|
|
26653
26653
|
const array = [];
|
|
@@ -26728,7 +26728,7 @@ function maybe_map(val, fn) {
|
|
|
26728
26728
|
}
|
|
26729
26729
|
__name(maybe_map, "maybe_map");
|
|
26730
26730
|
|
|
26731
|
-
// node_modules/openai/internal/qs/stringify.mjs
|
|
26731
|
+
// ../../node_modules/openai/internal/qs/stringify.mjs
|
|
26732
26732
|
var array_prefix_generators = {
|
|
26733
26733
|
brackets(prefix) {
|
|
26734
26734
|
return String(prefix) + "[]";
|
|
@@ -27010,25 +27010,25 @@ function stringify(object, opts = {}) {
|
|
|
27010
27010
|
}
|
|
27011
27011
|
__name(stringify, "stringify");
|
|
27012
27012
|
|
|
27013
|
-
// node_modules/openai/internal/utils/query.mjs
|
|
27013
|
+
// ../../node_modules/openai/internal/utils/query.mjs
|
|
27014
27014
|
function stringifyQuery(query) {
|
|
27015
27015
|
return stringify(query, { arrayFormat: "brackets" });
|
|
27016
27016
|
}
|
|
27017
27017
|
__name(stringifyQuery, "stringifyQuery");
|
|
27018
27018
|
|
|
27019
|
-
// node_modules/openai/core/pagination.mjs
|
|
27019
|
+
// ../../node_modules/openai/core/pagination.mjs
|
|
27020
27020
|
init_esbuild_shims();
|
|
27021
27021
|
|
|
27022
|
-
// node_modules/openai/internal/parse.mjs
|
|
27022
|
+
// ../../node_modules/openai/internal/parse.mjs
|
|
27023
27023
|
init_esbuild_shims();
|
|
27024
27024
|
|
|
27025
|
-
// node_modules/openai/core/streaming.mjs
|
|
27025
|
+
// ../../node_modules/openai/core/streaming.mjs
|
|
27026
27026
|
init_esbuild_shims();
|
|
27027
27027
|
|
|
27028
|
-
// node_modules/openai/internal/decoders/line.mjs
|
|
27028
|
+
// ../../node_modules/openai/internal/decoders/line.mjs
|
|
27029
27029
|
init_esbuild_shims();
|
|
27030
27030
|
|
|
27031
|
-
// node_modules/openai/internal/utils/bytes.mjs
|
|
27031
|
+
// ../../node_modules/openai/internal/utils/bytes.mjs
|
|
27032
27032
|
init_esbuild_shims();
|
|
27033
27033
|
function concatBytes(buffers) {
|
|
27034
27034
|
let length = 0;
|
|
@@ -27057,7 +27057,7 @@ function decodeUTF8(bytes) {
|
|
|
27057
27057
|
}
|
|
27058
27058
|
__name(decodeUTF8, "decodeUTF8");
|
|
27059
27059
|
|
|
27060
|
-
// node_modules/openai/internal/decoders/line.mjs
|
|
27060
|
+
// ../../node_modules/openai/internal/decoders/line.mjs
|
|
27061
27061
|
var _LineDecoder_buffer;
|
|
27062
27062
|
var _LineDecoder_carriageReturnIndex;
|
|
27063
27063
|
var LineDecoder = class {
|
|
@@ -27139,7 +27139,7 @@ function findDoubleNewlineIndex(buffer) {
|
|
|
27139
27139
|
}
|
|
27140
27140
|
__name(findDoubleNewlineIndex, "findDoubleNewlineIndex");
|
|
27141
27141
|
|
|
27142
|
-
// node_modules/openai/internal/utils/log.mjs
|
|
27142
|
+
// ../../node_modules/openai/internal/utils/log.mjs
|
|
27143
27143
|
init_esbuild_shims();
|
|
27144
27144
|
var levelNumbers = {
|
|
27145
27145
|
off: 0,
|
|
@@ -27216,7 +27216,7 @@ var formatRequestDetails = /* @__PURE__ */ __name((details) => {
|
|
|
27216
27216
|
return details;
|
|
27217
27217
|
}, "formatRequestDetails");
|
|
27218
27218
|
|
|
27219
|
-
// node_modules/openai/core/streaming.mjs
|
|
27219
|
+
// ../../node_modules/openai/core/streaming.mjs
|
|
27220
27220
|
var _Stream_client;
|
|
27221
27221
|
var Stream = class _Stream {
|
|
27222
27222
|
static {
|
|
@@ -27486,7 +27486,7 @@ function partition(str2, delimiter) {
|
|
|
27486
27486
|
}
|
|
27487
27487
|
__name(partition, "partition");
|
|
27488
27488
|
|
|
27489
|
-
// node_modules/openai/internal/parse.mjs
|
|
27489
|
+
// ../../node_modules/openai/internal/parse.mjs
|
|
27490
27490
|
async function defaultParseResponse(client, props) {
|
|
27491
27491
|
const { response, requestLogID, retryOfRequestLogID, startTime } = props;
|
|
27492
27492
|
const body = await (async () => {
|
|
@@ -27538,7 +27538,7 @@ function addRequestID(value, response) {
|
|
|
27538
27538
|
}
|
|
27539
27539
|
__name(addRequestID, "addRequestID");
|
|
27540
27540
|
|
|
27541
|
-
// node_modules/openai/core/api-promise.mjs
|
|
27541
|
+
// ../../node_modules/openai/core/api-promise.mjs
|
|
27542
27542
|
init_esbuild_shims();
|
|
27543
27543
|
var _APIPromise_client;
|
|
27544
27544
|
var APIPromise = class _APIPromise extends Promise {
|
|
@@ -27605,7 +27605,7 @@ var APIPromise = class _APIPromise extends Promise {
|
|
|
27605
27605
|
};
|
|
27606
27606
|
_APIPromise_client = /* @__PURE__ */ new WeakMap();
|
|
27607
27607
|
|
|
27608
|
-
// node_modules/openai/core/pagination.mjs
|
|
27608
|
+
// ../../node_modules/openai/core/pagination.mjs
|
|
27609
27609
|
var _AbstractPage_client;
|
|
27610
27610
|
var AbstractPage = class {
|
|
27611
27611
|
static {
|
|
@@ -27784,7 +27784,7 @@ var NextCursorPage = class extends AbstractPage {
|
|
|
27784
27784
|
}
|
|
27785
27785
|
};
|
|
27786
27786
|
|
|
27787
|
-
// node_modules/openai/auth/workload-identity-auth.mjs
|
|
27787
|
+
// ../../node_modules/openai/auth/workload-identity-auth.mjs
|
|
27788
27788
|
init_esbuild_shims();
|
|
27789
27789
|
var SUBJECT_TOKEN_TYPES = {
|
|
27790
27790
|
jwt: "urn:ietf:params:oauth:token-type:jwt",
|
|
@@ -27876,13 +27876,13 @@ var WorkloadIdentityAuth = class {
|
|
|
27876
27876
|
}
|
|
27877
27877
|
};
|
|
27878
27878
|
|
|
27879
|
-
// node_modules/openai/core/uploads.mjs
|
|
27879
|
+
// ../../node_modules/openai/core/uploads.mjs
|
|
27880
27880
|
init_esbuild_shims();
|
|
27881
27881
|
|
|
27882
|
-
// node_modules/openai/internal/to-file.mjs
|
|
27882
|
+
// ../../node_modules/openai/internal/to-file.mjs
|
|
27883
27883
|
init_esbuild_shims();
|
|
27884
27884
|
|
|
27885
|
-
// node_modules/openai/internal/uploads.mjs
|
|
27885
|
+
// ../../node_modules/openai/internal/uploads.mjs
|
|
27886
27886
|
init_esbuild_shims();
|
|
27887
27887
|
var checkFileSupport = /* @__PURE__ */ __name(() => {
|
|
27888
27888
|
if (typeof File === "undefined") {
|
|
@@ -27977,7 +27977,7 @@ var addFormValue = /* @__PURE__ */ __name(async (form, key, value) => {
|
|
|
27977
27977
|
}
|
|
27978
27978
|
}, "addFormValue");
|
|
27979
27979
|
|
|
27980
|
-
// node_modules/openai/internal/to-file.mjs
|
|
27980
|
+
// ../../node_modules/openai/internal/to-file.mjs
|
|
27981
27981
|
var isBlobLike = /* @__PURE__ */ __name((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", "isBlobLike");
|
|
27982
27982
|
var isFileLike = /* @__PURE__ */ __name((value) => value != null && typeof value === "object" && typeof value.name === "string" && typeof value.lastModified === "number" && isBlobLike(value), "isFileLike");
|
|
27983
27983
|
var isResponseLike = /* @__PURE__ */ __name((value) => value != null && typeof value === "object" && typeof value.url === "string" && typeof value.blob === "function", "isResponseLike");
|
|
@@ -28032,16 +28032,16 @@ function propsForError(value) {
|
|
|
28032
28032
|
}
|
|
28033
28033
|
__name(propsForError, "propsForError");
|
|
28034
28034
|
|
|
28035
|
-
// node_modules/openai/resources/index.mjs
|
|
28035
|
+
// ../../node_modules/openai/resources/index.mjs
|
|
28036
28036
|
init_esbuild_shims();
|
|
28037
28037
|
|
|
28038
|
-
// node_modules/openai/resources/chat/index.mjs
|
|
28038
|
+
// ../../node_modules/openai/resources/chat/index.mjs
|
|
28039
28039
|
init_esbuild_shims();
|
|
28040
28040
|
|
|
28041
|
-
// node_modules/openai/resources/chat/chat.mjs
|
|
28041
|
+
// ../../node_modules/openai/resources/chat/chat.mjs
|
|
28042
28042
|
init_esbuild_shims();
|
|
28043
28043
|
|
|
28044
|
-
// node_modules/openai/core/resource.mjs
|
|
28044
|
+
// ../../node_modules/openai/core/resource.mjs
|
|
28045
28045
|
init_esbuild_shims();
|
|
28046
28046
|
var APIResource = class {
|
|
28047
28047
|
static {
|
|
@@ -28052,13 +28052,13 @@ var APIResource = class {
|
|
|
28052
28052
|
}
|
|
28053
28053
|
};
|
|
28054
28054
|
|
|
28055
|
-
// node_modules/openai/resources/chat/completions/completions.mjs
|
|
28055
|
+
// ../../node_modules/openai/resources/chat/completions/completions.mjs
|
|
28056
28056
|
init_esbuild_shims();
|
|
28057
28057
|
|
|
28058
|
-
// node_modules/openai/resources/chat/completions/messages.mjs
|
|
28058
|
+
// ../../node_modules/openai/resources/chat/completions/messages.mjs
|
|
28059
28059
|
init_esbuild_shims();
|
|
28060
28060
|
|
|
28061
|
-
// node_modules/openai/internal/utils/path.mjs
|
|
28061
|
+
// ../../node_modules/openai/internal/utils/path.mjs
|
|
28062
28062
|
init_esbuild_shims();
|
|
28063
28063
|
function encodeURIPath(str2) {
|
|
28064
28064
|
return str2.replace(/[^A-Za-z0-9\-._~!$&'()*+,;=:@]+/g, encodeURIComponent);
|
|
@@ -28115,7 +28115,7 @@ ${underline}`);
|
|
|
28115
28115
|
}, "path"), "createPathTagFunction");
|
|
28116
28116
|
var path2 = /* @__PURE__ */ createPathTagFunction(encodeURIPath);
|
|
28117
28117
|
|
|
28118
|
-
// node_modules/openai/resources/chat/completions/messages.mjs
|
|
28118
|
+
// ../../node_modules/openai/resources/chat/completions/messages.mjs
|
|
28119
28119
|
var Messages = class extends APIResource {
|
|
28120
28120
|
static {
|
|
28121
28121
|
__name(this, "Messages");
|
|
@@ -28139,16 +28139,16 @@ var Messages = class extends APIResource {
|
|
|
28139
28139
|
}
|
|
28140
28140
|
};
|
|
28141
28141
|
|
|
28142
|
-
// node_modules/openai/lib/ChatCompletionRunner.mjs
|
|
28142
|
+
// ../../node_modules/openai/lib/ChatCompletionRunner.mjs
|
|
28143
28143
|
init_esbuild_shims();
|
|
28144
28144
|
|
|
28145
|
-
// node_modules/openai/lib/AbstractChatCompletionRunner.mjs
|
|
28145
|
+
// ../../node_modules/openai/lib/AbstractChatCompletionRunner.mjs
|
|
28146
28146
|
init_esbuild_shims();
|
|
28147
28147
|
|
|
28148
|
-
// node_modules/openai/error.mjs
|
|
28148
|
+
// ../../node_modules/openai/error.mjs
|
|
28149
28149
|
init_esbuild_shims();
|
|
28150
28150
|
|
|
28151
|
-
// node_modules/openai/lib/parser.mjs
|
|
28151
|
+
// ../../node_modules/openai/lib/parser.mjs
|
|
28152
28152
|
init_esbuild_shims();
|
|
28153
28153
|
function isChatCompletionFunctionTool(tool) {
|
|
28154
28154
|
return tool !== void 0 && "function" in tool && tool.function !== void 0;
|
|
@@ -28267,7 +28267,7 @@ function validateInputTools(tools) {
|
|
|
28267
28267
|
}
|
|
28268
28268
|
__name(validateInputTools, "validateInputTools");
|
|
28269
28269
|
|
|
28270
|
-
// node_modules/openai/lib/chatCompletionUtils.mjs
|
|
28270
|
+
// ../../node_modules/openai/lib/chatCompletionUtils.mjs
|
|
28271
28271
|
init_esbuild_shims();
|
|
28272
28272
|
var isAssistantMessage = /* @__PURE__ */ __name((message) => {
|
|
28273
28273
|
return message?.role === "assistant";
|
|
@@ -28276,7 +28276,7 @@ var isToolMessage = /* @__PURE__ */ __name((message) => {
|
|
|
28276
28276
|
return message?.role === "tool";
|
|
28277
28277
|
}, "isToolMessage");
|
|
28278
28278
|
|
|
28279
|
-
// node_modules/openai/lib/EventStream.mjs
|
|
28279
|
+
// ../../node_modules/openai/lib/EventStream.mjs
|
|
28280
28280
|
init_esbuild_shims();
|
|
28281
28281
|
var _EventStream_instances;
|
|
28282
28282
|
var _EventStream_connectedPromise;
|
|
@@ -28469,14 +28469,14 @@ _EventStream_connectedPromise = /* @__PURE__ */ new WeakMap(), _EventStream_reso
|
|
|
28469
28469
|
return this._emit("error", new OpenAIError(String(error)));
|
|
28470
28470
|
}, "_EventStream_handleError");
|
|
28471
28471
|
|
|
28472
|
-
// node_modules/openai/lib/RunnableFunction.mjs
|
|
28472
|
+
// ../../node_modules/openai/lib/RunnableFunction.mjs
|
|
28473
28473
|
init_esbuild_shims();
|
|
28474
28474
|
function isRunnableFunctionWithParse(fn) {
|
|
28475
28475
|
return typeof fn.parse === "function";
|
|
28476
28476
|
}
|
|
28477
28477
|
__name(isRunnableFunctionWithParse, "isRunnableFunctionWithParse");
|
|
28478
28478
|
|
|
28479
|
-
// node_modules/openai/lib/AbstractChatCompletionRunner.mjs
|
|
28479
|
+
// ../../node_modules/openai/lib/AbstractChatCompletionRunner.mjs
|
|
28480
28480
|
var _AbstractChatCompletionRunner_instances;
|
|
28481
28481
|
var _AbstractChatCompletionRunner_getFinalContent;
|
|
28482
28482
|
var _AbstractChatCompletionRunner_getFinalMessage;
|
|
@@ -28754,7 +28754,7 @@ _AbstractChatCompletionRunner_instances = /* @__PURE__ */ new WeakSet(), _Abstra
|
|
|
28754
28754
|
return typeof rawContent === "string" ? rawContent : rawContent === void 0 ? "undefined" : JSON.stringify(rawContent);
|
|
28755
28755
|
}, "_AbstractChatCompletionRunner_stringifyFunctionCallResult");
|
|
28756
28756
|
|
|
28757
|
-
// node_modules/openai/lib/ChatCompletionRunner.mjs
|
|
28757
|
+
// ../../node_modules/openai/lib/ChatCompletionRunner.mjs
|
|
28758
28758
|
var ChatCompletionRunner = class _ChatCompletionRunner extends AbstractChatCompletionRunner {
|
|
28759
28759
|
static {
|
|
28760
28760
|
__name(this, "ChatCompletionRunner");
|
|
@@ -28776,13 +28776,13 @@ var ChatCompletionRunner = class _ChatCompletionRunner extends AbstractChatCompl
|
|
|
28776
28776
|
}
|
|
28777
28777
|
};
|
|
28778
28778
|
|
|
28779
|
-
// node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
|
|
28779
|
+
// ../../node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
|
|
28780
28780
|
init_esbuild_shims();
|
|
28781
28781
|
|
|
28782
|
-
// node_modules/openai/lib/ChatCompletionStream.mjs
|
|
28782
|
+
// ../../node_modules/openai/lib/ChatCompletionStream.mjs
|
|
28783
28783
|
init_esbuild_shims();
|
|
28784
28784
|
|
|
28785
|
-
// node_modules/openai/_vendor/partial-json-parser/parser.mjs
|
|
28785
|
+
// ../../node_modules/openai/_vendor/partial-json-parser/parser.mjs
|
|
28786
28786
|
init_esbuild_shims();
|
|
28787
28787
|
var STR = 1;
|
|
28788
28788
|
var NUM = 2;
|
|
@@ -29002,10 +29002,10 @@ var _parseJSON = /* @__PURE__ */ __name((jsonString, allow) => {
|
|
|
29002
29002
|
}, "_parseJSON");
|
|
29003
29003
|
var partialParse = /* @__PURE__ */ __name((input) => parseJSON(input, Allow.ALL ^ Allow.NUM), "partialParse");
|
|
29004
29004
|
|
|
29005
|
-
// node_modules/openai/streaming.mjs
|
|
29005
|
+
// ../../node_modules/openai/streaming.mjs
|
|
29006
29006
|
init_esbuild_shims();
|
|
29007
29007
|
|
|
29008
|
-
// node_modules/openai/lib/ChatCompletionStream.mjs
|
|
29008
|
+
// ../../node_modules/openai/lib/ChatCompletionStream.mjs
|
|
29009
29009
|
var _ChatCompletionStream_instances;
|
|
29010
29010
|
var _ChatCompletionStream_params;
|
|
29011
29011
|
var _ChatCompletionStream_choiceEventStates;
|
|
@@ -29492,7 +29492,7 @@ function assertNever(_x) {
|
|
|
29492
29492
|
}
|
|
29493
29493
|
__name(assertNever, "assertNever");
|
|
29494
29494
|
|
|
29495
|
-
// node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
|
|
29495
|
+
// ../../node_modules/openai/lib/ChatCompletionStreamingRunner.mjs
|
|
29496
29496
|
var ChatCompletionStreamingRunner = class _ChatCompletionStreamingRunner extends ChatCompletionStream {
|
|
29497
29497
|
static {
|
|
29498
29498
|
__name(this, "ChatCompletionStreamingRunner");
|
|
@@ -29516,7 +29516,7 @@ var ChatCompletionStreamingRunner = class _ChatCompletionStreamingRunner extends
|
|
|
29516
29516
|
}
|
|
29517
29517
|
};
|
|
29518
29518
|
|
|
29519
|
-
// node_modules/openai/resources/chat/completions/completions.mjs
|
|
29519
|
+
// ../../node_modules/openai/resources/chat/completions/completions.mjs
|
|
29520
29520
|
var Completions = class extends APIResource {
|
|
29521
29521
|
static {
|
|
29522
29522
|
__name(this, "Completions");
|
|
@@ -29629,7 +29629,7 @@ var Completions = class extends APIResource {
|
|
|
29629
29629
|
};
|
|
29630
29630
|
Completions.Messages = Messages;
|
|
29631
29631
|
|
|
29632
|
-
// node_modules/openai/resources/chat/chat.mjs
|
|
29632
|
+
// ../../node_modules/openai/resources/chat/chat.mjs
|
|
29633
29633
|
var Chat = class extends APIResource {
|
|
29634
29634
|
static {
|
|
29635
29635
|
__name(this, "Chat");
|
|
@@ -29641,19 +29641,19 @@ var Chat = class extends APIResource {
|
|
|
29641
29641
|
};
|
|
29642
29642
|
Chat.Completions = Completions;
|
|
29643
29643
|
|
|
29644
|
-
// node_modules/openai/resources/chat/completions/index.mjs
|
|
29644
|
+
// ../../node_modules/openai/resources/chat/completions/index.mjs
|
|
29645
29645
|
init_esbuild_shims();
|
|
29646
29646
|
|
|
29647
|
-
// node_modules/openai/resources/shared.mjs
|
|
29647
|
+
// ../../node_modules/openai/resources/shared.mjs
|
|
29648
29648
|
init_esbuild_shims();
|
|
29649
29649
|
|
|
29650
|
-
// node_modules/openai/resources/admin/admin.mjs
|
|
29650
|
+
// ../../node_modules/openai/resources/admin/admin.mjs
|
|
29651
29651
|
init_esbuild_shims();
|
|
29652
29652
|
|
|
29653
|
-
// node_modules/openai/resources/admin/organization/organization.mjs
|
|
29653
|
+
// ../../node_modules/openai/resources/admin/organization/organization.mjs
|
|
29654
29654
|
init_esbuild_shims();
|
|
29655
29655
|
|
|
29656
|
-
// node_modules/openai/resources/admin/organization/admin-api-keys.mjs
|
|
29656
|
+
// ../../node_modules/openai/resources/admin/organization/admin-api-keys.mjs
|
|
29657
29657
|
init_esbuild_shims();
|
|
29658
29658
|
var AdminAPIKeys = class extends APIResource {
|
|
29659
29659
|
static {
|
|
@@ -29731,7 +29731,7 @@ var AdminAPIKeys = class extends APIResource {
|
|
|
29731
29731
|
}
|
|
29732
29732
|
};
|
|
29733
29733
|
|
|
29734
|
-
// node_modules/openai/resources/admin/organization/audit-logs.mjs
|
|
29734
|
+
// ../../node_modules/openai/resources/admin/organization/audit-logs.mjs
|
|
29735
29735
|
init_esbuild_shims();
|
|
29736
29736
|
var AuditLogs = class extends APIResource {
|
|
29737
29737
|
static {
|
|
@@ -29757,7 +29757,7 @@ var AuditLogs = class extends APIResource {
|
|
|
29757
29757
|
}
|
|
29758
29758
|
};
|
|
29759
29759
|
|
|
29760
|
-
// node_modules/openai/resources/admin/organization/certificates.mjs
|
|
29760
|
+
// ../../node_modules/openai/resources/admin/organization/certificates.mjs
|
|
29761
29761
|
init_esbuild_shims();
|
|
29762
29762
|
var Certificates = class extends APIResource {
|
|
29763
29763
|
static {
|
|
@@ -29898,7 +29898,7 @@ var Certificates = class extends APIResource {
|
|
|
29898
29898
|
}
|
|
29899
29899
|
};
|
|
29900
29900
|
|
|
29901
|
-
// node_modules/openai/resources/admin/organization/data-retention.mjs
|
|
29901
|
+
// ../../node_modules/openai/resources/admin/organization/data-retention.mjs
|
|
29902
29902
|
init_esbuild_shims();
|
|
29903
29903
|
var DataRetention = class extends APIResource {
|
|
29904
29904
|
static {
|
|
@@ -29939,7 +29939,7 @@ var DataRetention = class extends APIResource {
|
|
|
29939
29939
|
}
|
|
29940
29940
|
};
|
|
29941
29941
|
|
|
29942
|
-
// node_modules/openai/resources/admin/organization/invites.mjs
|
|
29942
|
+
// ../../node_modules/openai/resources/admin/organization/invites.mjs
|
|
29943
29943
|
init_esbuild_shims();
|
|
29944
29944
|
var Invites = class extends APIResource {
|
|
29945
29945
|
static {
|
|
@@ -30019,7 +30019,7 @@ var Invites = class extends APIResource {
|
|
|
30019
30019
|
}
|
|
30020
30020
|
};
|
|
30021
30021
|
|
|
30022
|
-
// node_modules/openai/resources/admin/organization/roles.mjs
|
|
30022
|
+
// ../../node_modules/openai/resources/admin/organization/roles.mjs
|
|
30023
30023
|
init_esbuild_shims();
|
|
30024
30024
|
var Roles = class extends APIResource {
|
|
30025
30025
|
static {
|
|
@@ -30112,7 +30112,7 @@ var Roles = class extends APIResource {
|
|
|
30112
30112
|
}
|
|
30113
30113
|
};
|
|
30114
30114
|
|
|
30115
|
-
// node_modules/openai/resources/admin/organization/spend-alerts.mjs
|
|
30115
|
+
// ../../node_modules/openai/resources/admin/organization/spend-alerts.mjs
|
|
30116
30116
|
init_esbuild_shims();
|
|
30117
30117
|
var SpendAlerts = class extends APIResource {
|
|
30118
30118
|
static {
|
|
@@ -30219,7 +30219,7 @@ var SpendAlerts = class extends APIResource {
|
|
|
30219
30219
|
}
|
|
30220
30220
|
};
|
|
30221
30221
|
|
|
30222
|
-
// node_modules/openai/resources/admin/organization/usage.mjs
|
|
30222
|
+
// ../../node_modules/openai/resources/admin/organization/usage.mjs
|
|
30223
30223
|
init_esbuild_shims();
|
|
30224
30224
|
var Usage = class extends APIResource {
|
|
30225
30225
|
static {
|
|
@@ -30425,10 +30425,10 @@ var Usage = class extends APIResource {
|
|
|
30425
30425
|
}
|
|
30426
30426
|
};
|
|
30427
30427
|
|
|
30428
|
-
// node_modules/openai/resources/admin/organization/groups/groups.mjs
|
|
30428
|
+
// ../../node_modules/openai/resources/admin/organization/groups/groups.mjs
|
|
30429
30429
|
init_esbuild_shims();
|
|
30430
30430
|
|
|
30431
|
-
// node_modules/openai/resources/admin/organization/groups/roles.mjs
|
|
30431
|
+
// ../../node_modules/openai/resources/admin/organization/groups/roles.mjs
|
|
30432
30432
|
init_esbuild_shims();
|
|
30433
30433
|
var Roles2 = class extends APIResource {
|
|
30434
30434
|
static {
|
|
@@ -30509,7 +30509,7 @@ var Roles2 = class extends APIResource {
|
|
|
30509
30509
|
}
|
|
30510
30510
|
};
|
|
30511
30511
|
|
|
30512
|
-
// node_modules/openai/resources/admin/organization/groups/users.mjs
|
|
30512
|
+
// ../../node_modules/openai/resources/admin/organization/groups/users.mjs
|
|
30513
30513
|
init_esbuild_shims();
|
|
30514
30514
|
var Users = class extends APIResource {
|
|
30515
30515
|
static {
|
|
@@ -30590,7 +30590,7 @@ var Users = class extends APIResource {
|
|
|
30590
30590
|
}
|
|
30591
30591
|
};
|
|
30592
30592
|
|
|
30593
|
-
// node_modules/openai/resources/admin/organization/groups/groups.mjs
|
|
30593
|
+
// ../../node_modules/openai/resources/admin/organization/groups/groups.mjs
|
|
30594
30594
|
var Groups = class extends APIResource {
|
|
30595
30595
|
static {
|
|
30596
30596
|
__name(this, "Groups");
|
|
@@ -30690,10 +30690,10 @@ var Groups = class extends APIResource {
|
|
|
30690
30690
|
Groups.Users = Users;
|
|
30691
30691
|
Groups.Roles = Roles2;
|
|
30692
30692
|
|
|
30693
|
-
// node_modules/openai/resources/admin/organization/projects/projects.mjs
|
|
30693
|
+
// ../../node_modules/openai/resources/admin/organization/projects/projects.mjs
|
|
30694
30694
|
init_esbuild_shims();
|
|
30695
30695
|
|
|
30696
|
-
// node_modules/openai/resources/admin/organization/projects/api-keys.mjs
|
|
30696
|
+
// ../../node_modules/openai/resources/admin/organization/projects/api-keys.mjs
|
|
30697
30697
|
init_esbuild_shims();
|
|
30698
30698
|
var APIKeys = class extends APIResource {
|
|
30699
30699
|
static {
|
|
@@ -30758,7 +30758,7 @@ var APIKeys = class extends APIResource {
|
|
|
30758
30758
|
}
|
|
30759
30759
|
};
|
|
30760
30760
|
|
|
30761
|
-
// node_modules/openai/resources/admin/organization/projects/certificates.mjs
|
|
30761
|
+
// ../../node_modules/openai/resources/admin/organization/projects/certificates.mjs
|
|
30762
30762
|
init_esbuild_shims();
|
|
30763
30763
|
var Certificates2 = class extends APIResource {
|
|
30764
30764
|
static {
|
|
@@ -30819,7 +30819,7 @@ var Certificates2 = class extends APIResource {
|
|
|
30819
30819
|
}
|
|
30820
30820
|
};
|
|
30821
30821
|
|
|
30822
|
-
// node_modules/openai/resources/admin/organization/projects/data-retention.mjs
|
|
30822
|
+
// ../../node_modules/openai/resources/admin/organization/projects/data-retention.mjs
|
|
30823
30823
|
init_esbuild_shims();
|
|
30824
30824
|
var DataRetention2 = class extends APIResource {
|
|
30825
30825
|
static {
|
|
@@ -30863,7 +30863,7 @@ var DataRetention2 = class extends APIResource {
|
|
|
30863
30863
|
}
|
|
30864
30864
|
};
|
|
30865
30865
|
|
|
30866
|
-
// node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.mjs
|
|
30866
|
+
// ../../node_modules/openai/resources/admin/organization/projects/hosted-tool-permissions.mjs
|
|
30867
30867
|
init_esbuild_shims();
|
|
30868
30868
|
var HostedToolPermissions = class extends APIResource {
|
|
30869
30869
|
static {
|
|
@@ -30906,7 +30906,7 @@ var HostedToolPermissions = class extends APIResource {
|
|
|
30906
30906
|
}
|
|
30907
30907
|
};
|
|
30908
30908
|
|
|
30909
|
-
// node_modules/openai/resources/admin/organization/projects/model-permissions.mjs
|
|
30909
|
+
// ../../node_modules/openai/resources/admin/organization/projects/model-permissions.mjs
|
|
30910
30910
|
init_esbuild_shims();
|
|
30911
30911
|
var ModelPermissions = class extends APIResource {
|
|
30912
30912
|
static {
|
|
@@ -30967,7 +30967,7 @@ var ModelPermissions = class extends APIResource {
|
|
|
30967
30967
|
}
|
|
30968
30968
|
};
|
|
30969
30969
|
|
|
30970
|
-
// node_modules/openai/resources/admin/organization/projects/rate-limits.mjs
|
|
30970
|
+
// ../../node_modules/openai/resources/admin/organization/projects/rate-limits.mjs
|
|
30971
30971
|
init_esbuild_shims();
|
|
30972
30972
|
var RateLimits = class extends APIResource {
|
|
30973
30973
|
static {
|
|
@@ -31011,7 +31011,7 @@ var RateLimits = class extends APIResource {
|
|
|
31011
31011
|
}
|
|
31012
31012
|
};
|
|
31013
31013
|
|
|
31014
|
-
// node_modules/openai/resources/admin/organization/projects/roles.mjs
|
|
31014
|
+
// ../../node_modules/openai/resources/admin/organization/projects/roles.mjs
|
|
31015
31015
|
init_esbuild_shims();
|
|
31016
31016
|
var Roles3 = class extends APIResource {
|
|
31017
31017
|
static {
|
|
@@ -31116,7 +31116,7 @@ var Roles3 = class extends APIResource {
|
|
|
31116
31116
|
}
|
|
31117
31117
|
};
|
|
31118
31118
|
|
|
31119
|
-
// node_modules/openai/resources/admin/organization/projects/service-accounts.mjs
|
|
31119
|
+
// ../../node_modules/openai/resources/admin/organization/projects/service-accounts.mjs
|
|
31120
31120
|
init_esbuild_shims();
|
|
31121
31121
|
var ServiceAccounts = class extends APIResource {
|
|
31122
31122
|
static {
|
|
@@ -31214,7 +31214,7 @@ var ServiceAccounts = class extends APIResource {
|
|
|
31214
31214
|
}
|
|
31215
31215
|
};
|
|
31216
31216
|
|
|
31217
|
-
// node_modules/openai/resources/admin/organization/projects/spend-alerts.mjs
|
|
31217
|
+
// ../../node_modules/openai/resources/admin/organization/projects/spend-alerts.mjs
|
|
31218
31218
|
init_esbuild_shims();
|
|
31219
31219
|
var SpendAlerts2 = class extends APIResource {
|
|
31220
31220
|
static {
|
|
@@ -31332,10 +31332,10 @@ var SpendAlerts2 = class extends APIResource {
|
|
|
31332
31332
|
}
|
|
31333
31333
|
};
|
|
31334
31334
|
|
|
31335
|
-
// node_modules/openai/resources/admin/organization/projects/groups/groups.mjs
|
|
31335
|
+
// ../../node_modules/openai/resources/admin/organization/projects/groups/groups.mjs
|
|
31336
31336
|
init_esbuild_shims();
|
|
31337
31337
|
|
|
31338
|
-
// node_modules/openai/resources/admin/organization/projects/groups/roles.mjs
|
|
31338
|
+
// ../../node_modules/openai/resources/admin/organization/projects/groups/roles.mjs
|
|
31339
31339
|
init_esbuild_shims();
|
|
31340
31340
|
var Roles4 = class extends APIResource {
|
|
31341
31341
|
static {
|
|
@@ -31419,7 +31419,7 @@ var Roles4 = class extends APIResource {
|
|
|
31419
31419
|
}
|
|
31420
31420
|
};
|
|
31421
31421
|
|
|
31422
|
-
// node_modules/openai/resources/admin/organization/projects/groups/groups.mjs
|
|
31422
|
+
// ../../node_modules/openai/resources/admin/organization/projects/groups/groups.mjs
|
|
31423
31423
|
var Groups2 = class extends APIResource {
|
|
31424
31424
|
static {
|
|
31425
31425
|
__name(this, "Groups");
|
|
@@ -31505,10 +31505,10 @@ var Groups2 = class extends APIResource {
|
|
|
31505
31505
|
};
|
|
31506
31506
|
Groups2.Roles = Roles4;
|
|
31507
31507
|
|
|
31508
|
-
// node_modules/openai/resources/admin/organization/projects/users/users.mjs
|
|
31508
|
+
// ../../node_modules/openai/resources/admin/organization/projects/users/users.mjs
|
|
31509
31509
|
init_esbuild_shims();
|
|
31510
31510
|
|
|
31511
|
-
// node_modules/openai/resources/admin/organization/projects/users/roles.mjs
|
|
31511
|
+
// ../../node_modules/openai/resources/admin/organization/projects/users/roles.mjs
|
|
31512
31512
|
init_esbuild_shims();
|
|
31513
31513
|
var Roles5 = class extends APIResource {
|
|
31514
31514
|
static {
|
|
@@ -31592,7 +31592,7 @@ var Roles5 = class extends APIResource {
|
|
|
31592
31592
|
}
|
|
31593
31593
|
};
|
|
31594
31594
|
|
|
31595
|
-
// node_modules/openai/resources/admin/organization/projects/users/users.mjs
|
|
31595
|
+
// ../../node_modules/openai/resources/admin/organization/projects/users/users.mjs
|
|
31596
31596
|
var Users2 = class extends APIResource {
|
|
31597
31597
|
static {
|
|
31598
31598
|
__name(this, "Users");
|
|
@@ -31701,7 +31701,7 @@ var Users2 = class extends APIResource {
|
|
|
31701
31701
|
};
|
|
31702
31702
|
Users2.Roles = Roles5;
|
|
31703
31703
|
|
|
31704
|
-
// node_modules/openai/resources/admin/organization/projects/projects.mjs
|
|
31704
|
+
// ../../node_modules/openai/resources/admin/organization/projects/projects.mjs
|
|
31705
31705
|
var Projects = class extends APIResource {
|
|
31706
31706
|
static {
|
|
31707
31707
|
__name(this, "Projects");
|
|
@@ -31823,10 +31823,10 @@ Projects.DataRetention = DataRetention2;
|
|
|
31823
31823
|
Projects.SpendAlerts = SpendAlerts2;
|
|
31824
31824
|
Projects.Certificates = Certificates2;
|
|
31825
31825
|
|
|
31826
|
-
// node_modules/openai/resources/admin/organization/users/users.mjs
|
|
31826
|
+
// ../../node_modules/openai/resources/admin/organization/users/users.mjs
|
|
31827
31827
|
init_esbuild_shims();
|
|
31828
31828
|
|
|
31829
|
-
// node_modules/openai/resources/admin/organization/users/roles.mjs
|
|
31829
|
+
// ../../node_modules/openai/resources/admin/organization/users/roles.mjs
|
|
31830
31830
|
init_esbuild_shims();
|
|
31831
31831
|
var Roles6 = class extends APIResource {
|
|
31832
31832
|
static {
|
|
@@ -31907,7 +31907,7 @@ var Roles6 = class extends APIResource {
|
|
|
31907
31907
|
}
|
|
31908
31908
|
};
|
|
31909
31909
|
|
|
31910
|
-
// node_modules/openai/resources/admin/organization/users/users.mjs
|
|
31910
|
+
// ../../node_modules/openai/resources/admin/organization/users/users.mjs
|
|
31911
31911
|
var Users3 = class extends APIResource {
|
|
31912
31912
|
static {
|
|
31913
31913
|
__name(this, "Users");
|
|
@@ -31984,7 +31984,7 @@ var Users3 = class extends APIResource {
|
|
|
31984
31984
|
};
|
|
31985
31985
|
Users3.Roles = Roles6;
|
|
31986
31986
|
|
|
31987
|
-
// node_modules/openai/resources/admin/organization/organization.mjs
|
|
31987
|
+
// ../../node_modules/openai/resources/admin/organization/organization.mjs
|
|
31988
31988
|
var Organization = class extends APIResource {
|
|
31989
31989
|
static {
|
|
31990
31990
|
__name(this, "Organization");
|
|
@@ -32016,7 +32016,7 @@ Organization.SpendAlerts = SpendAlerts;
|
|
|
32016
32016
|
Organization.Certificates = Certificates;
|
|
32017
32017
|
Organization.Projects = Projects;
|
|
32018
32018
|
|
|
32019
|
-
// node_modules/openai/resources/admin/admin.mjs
|
|
32019
|
+
// ../../node_modules/openai/resources/admin/admin.mjs
|
|
32020
32020
|
var Admin = class extends APIResource {
|
|
32021
32021
|
static {
|
|
32022
32022
|
__name(this, "Admin");
|
|
@@ -32028,13 +32028,13 @@ var Admin = class extends APIResource {
|
|
|
32028
32028
|
};
|
|
32029
32029
|
Admin.Organization = Organization;
|
|
32030
32030
|
|
|
32031
|
-
// node_modules/openai/resources/audio/audio.mjs
|
|
32031
|
+
// ../../node_modules/openai/resources/audio/audio.mjs
|
|
32032
32032
|
init_esbuild_shims();
|
|
32033
32033
|
|
|
32034
|
-
// node_modules/openai/resources/audio/speech.mjs
|
|
32034
|
+
// ../../node_modules/openai/resources/audio/speech.mjs
|
|
32035
32035
|
init_esbuild_shims();
|
|
32036
32036
|
|
|
32037
|
-
// node_modules/openai/internal/headers.mjs
|
|
32037
|
+
// ../../node_modules/openai/internal/headers.mjs
|
|
32038
32038
|
init_esbuild_shims();
|
|
32039
32039
|
var brand_privateNullableHeaders = /* @__PURE__ */ Symbol("brand.privateNullableHeaders");
|
|
32040
32040
|
function* iterateHeaders(headers) {
|
|
@@ -32099,7 +32099,7 @@ var buildHeaders = /* @__PURE__ */ __name((newHeaders) => {
|
|
|
32099
32099
|
return { [brand_privateNullableHeaders]: true, values: targetHeaders, nulls: nullHeaders };
|
|
32100
32100
|
}, "buildHeaders");
|
|
32101
32101
|
|
|
32102
|
-
// node_modules/openai/resources/audio/speech.mjs
|
|
32102
|
+
// ../../node_modules/openai/resources/audio/speech.mjs
|
|
32103
32103
|
var Speech = class extends APIResource {
|
|
32104
32104
|
static {
|
|
32105
32105
|
__name(this, "Speech");
|
|
@@ -32132,7 +32132,7 @@ var Speech = class extends APIResource {
|
|
|
32132
32132
|
}
|
|
32133
32133
|
};
|
|
32134
32134
|
|
|
32135
|
-
// node_modules/openai/resources/audio/transcriptions.mjs
|
|
32135
|
+
// ../../node_modules/openai/resources/audio/transcriptions.mjs
|
|
32136
32136
|
init_esbuild_shims();
|
|
32137
32137
|
var Transcriptions = class extends APIResource {
|
|
32138
32138
|
static {
|
|
@@ -32149,7 +32149,7 @@ var Transcriptions = class extends APIResource {
|
|
|
32149
32149
|
}
|
|
32150
32150
|
};
|
|
32151
32151
|
|
|
32152
|
-
// node_modules/openai/resources/audio/translations.mjs
|
|
32152
|
+
// ../../node_modules/openai/resources/audio/translations.mjs
|
|
32153
32153
|
init_esbuild_shims();
|
|
32154
32154
|
var Translations = class extends APIResource {
|
|
32155
32155
|
static {
|
|
@@ -32160,7 +32160,7 @@ var Translations = class extends APIResource {
|
|
|
32160
32160
|
}
|
|
32161
32161
|
};
|
|
32162
32162
|
|
|
32163
|
-
// node_modules/openai/resources/audio/audio.mjs
|
|
32163
|
+
// ../../node_modules/openai/resources/audio/audio.mjs
|
|
32164
32164
|
var Audio = class extends APIResource {
|
|
32165
32165
|
static {
|
|
32166
32166
|
__name(this, "Audio");
|
|
@@ -32176,7 +32176,7 @@ Audio.Transcriptions = Transcriptions;
|
|
|
32176
32176
|
Audio.Translations = Translations;
|
|
32177
32177
|
Audio.Speech = Speech;
|
|
32178
32178
|
|
|
32179
|
-
// node_modules/openai/resources/batches.mjs
|
|
32179
|
+
// ../../node_modules/openai/resources/batches.mjs
|
|
32180
32180
|
init_esbuild_shims();
|
|
32181
32181
|
var Batches = class extends APIResource {
|
|
32182
32182
|
static {
|
|
@@ -32217,10 +32217,10 @@ var Batches = class extends APIResource {
|
|
|
32217
32217
|
}
|
|
32218
32218
|
};
|
|
32219
32219
|
|
|
32220
|
-
// node_modules/openai/resources/beta/beta.mjs
|
|
32220
|
+
// ../../node_modules/openai/resources/beta/beta.mjs
|
|
32221
32221
|
init_esbuild_shims();
|
|
32222
32222
|
|
|
32223
|
-
// node_modules/openai/resources/beta/assistants.mjs
|
|
32223
|
+
// ../../node_modules/openai/resources/beta/assistants.mjs
|
|
32224
32224
|
init_esbuild_shims();
|
|
32225
32225
|
var Assistants = class extends APIResource {
|
|
32226
32226
|
static {
|
|
@@ -32291,10 +32291,10 @@ var Assistants = class extends APIResource {
|
|
|
32291
32291
|
}
|
|
32292
32292
|
};
|
|
32293
32293
|
|
|
32294
|
-
// node_modules/openai/resources/beta/realtime/realtime.mjs
|
|
32294
|
+
// ../../node_modules/openai/resources/beta/realtime/realtime.mjs
|
|
32295
32295
|
init_esbuild_shims();
|
|
32296
32296
|
|
|
32297
|
-
// node_modules/openai/resources/beta/realtime/sessions.mjs
|
|
32297
|
+
// ../../node_modules/openai/resources/beta/realtime/sessions.mjs
|
|
32298
32298
|
init_esbuild_shims();
|
|
32299
32299
|
var Sessions = class extends APIResource {
|
|
32300
32300
|
static {
|
|
@@ -32325,7 +32325,7 @@ var Sessions = class extends APIResource {
|
|
|
32325
32325
|
}
|
|
32326
32326
|
};
|
|
32327
32327
|
|
|
32328
|
-
// node_modules/openai/resources/beta/realtime/transcription-sessions.mjs
|
|
32328
|
+
// ../../node_modules/openai/resources/beta/realtime/transcription-sessions.mjs
|
|
32329
32329
|
init_esbuild_shims();
|
|
32330
32330
|
var TranscriptionSessions = class extends APIResource {
|
|
32331
32331
|
static {
|
|
@@ -32356,7 +32356,7 @@ var TranscriptionSessions = class extends APIResource {
|
|
|
32356
32356
|
}
|
|
32357
32357
|
};
|
|
32358
32358
|
|
|
32359
|
-
// node_modules/openai/resources/beta/realtime/realtime.mjs
|
|
32359
|
+
// ../../node_modules/openai/resources/beta/realtime/realtime.mjs
|
|
32360
32360
|
var Realtime = class extends APIResource {
|
|
32361
32361
|
static {
|
|
32362
32362
|
__name(this, "Realtime");
|
|
@@ -32370,10 +32370,10 @@ var Realtime = class extends APIResource {
|
|
|
32370
32370
|
Realtime.Sessions = Sessions;
|
|
32371
32371
|
Realtime.TranscriptionSessions = TranscriptionSessions;
|
|
32372
32372
|
|
|
32373
|
-
// node_modules/openai/resources/beta/chatkit/chatkit.mjs
|
|
32373
|
+
// ../../node_modules/openai/resources/beta/chatkit/chatkit.mjs
|
|
32374
32374
|
init_esbuild_shims();
|
|
32375
32375
|
|
|
32376
|
-
// node_modules/openai/resources/beta/chatkit/sessions.mjs
|
|
32376
|
+
// ../../node_modules/openai/resources/beta/chatkit/sessions.mjs
|
|
32377
32377
|
init_esbuild_shims();
|
|
32378
32378
|
var Sessions2 = class extends APIResource {
|
|
32379
32379
|
static {
|
|
@@ -32419,7 +32419,7 @@ var Sessions2 = class extends APIResource {
|
|
|
32419
32419
|
}
|
|
32420
32420
|
};
|
|
32421
32421
|
|
|
32422
|
-
// node_modules/openai/resources/beta/chatkit/threads.mjs
|
|
32422
|
+
// ../../node_modules/openai/resources/beta/chatkit/threads.mjs
|
|
32423
32423
|
init_esbuild_shims();
|
|
32424
32424
|
var Threads = class extends APIResource {
|
|
32425
32425
|
static {
|
|
@@ -32500,7 +32500,7 @@ var Threads = class extends APIResource {
|
|
|
32500
32500
|
}
|
|
32501
32501
|
};
|
|
32502
32502
|
|
|
32503
|
-
// node_modules/openai/resources/beta/chatkit/chatkit.mjs
|
|
32503
|
+
// ../../node_modules/openai/resources/beta/chatkit/chatkit.mjs
|
|
32504
32504
|
var ChatKit = class extends APIResource {
|
|
32505
32505
|
static {
|
|
32506
32506
|
__name(this, "ChatKit");
|
|
@@ -32514,10 +32514,10 @@ var ChatKit = class extends APIResource {
|
|
|
32514
32514
|
ChatKit.Sessions = Sessions2;
|
|
32515
32515
|
ChatKit.Threads = Threads;
|
|
32516
32516
|
|
|
32517
|
-
// node_modules/openai/resources/beta/threads/threads.mjs
|
|
32517
|
+
// ../../node_modules/openai/resources/beta/threads/threads.mjs
|
|
32518
32518
|
init_esbuild_shims();
|
|
32519
32519
|
|
|
32520
|
-
// node_modules/openai/resources/beta/threads/messages.mjs
|
|
32520
|
+
// ../../node_modules/openai/resources/beta/threads/messages.mjs
|
|
32521
32521
|
init_esbuild_shims();
|
|
32522
32522
|
var Messages2 = class extends APIResource {
|
|
32523
32523
|
static {
|
|
@@ -32591,10 +32591,10 @@ var Messages2 = class extends APIResource {
|
|
|
32591
32591
|
}
|
|
32592
32592
|
};
|
|
32593
32593
|
|
|
32594
|
-
// node_modules/openai/resources/beta/threads/runs/runs.mjs
|
|
32594
|
+
// ../../node_modules/openai/resources/beta/threads/runs/runs.mjs
|
|
32595
32595
|
init_esbuild_shims();
|
|
32596
32596
|
|
|
32597
|
-
// node_modules/openai/resources/beta/threads/runs/steps.mjs
|
|
32597
|
+
// ../../node_modules/openai/resources/beta/threads/runs/steps.mjs
|
|
32598
32598
|
init_esbuild_shims();
|
|
32599
32599
|
var Steps = class extends APIResource {
|
|
32600
32600
|
static {
|
|
@@ -32630,13 +32630,13 @@ var Steps = class extends APIResource {
|
|
|
32630
32630
|
}
|
|
32631
32631
|
};
|
|
32632
32632
|
|
|
32633
|
-
// node_modules/openai/lib/AssistantStream.mjs
|
|
32633
|
+
// ../../node_modules/openai/lib/AssistantStream.mjs
|
|
32634
32634
|
init_esbuild_shims();
|
|
32635
32635
|
|
|
32636
|
-
// node_modules/openai/internal/utils.mjs
|
|
32636
|
+
// ../../node_modules/openai/internal/utils.mjs
|
|
32637
32637
|
init_esbuild_shims();
|
|
32638
32638
|
|
|
32639
|
-
// node_modules/openai/internal/utils/base64.mjs
|
|
32639
|
+
// ../../node_modules/openai/internal/utils/base64.mjs
|
|
32640
32640
|
init_esbuild_shims();
|
|
32641
32641
|
var toFloat32Array = /* @__PURE__ */ __name((base64Str) => {
|
|
32642
32642
|
if (typeof Buffer !== "undefined") {
|
|
@@ -32653,7 +32653,7 @@ var toFloat32Array = /* @__PURE__ */ __name((base64Str) => {
|
|
|
32653
32653
|
}
|
|
32654
32654
|
}, "toFloat32Array");
|
|
32655
32655
|
|
|
32656
|
-
// node_modules/openai/internal/utils/env.mjs
|
|
32656
|
+
// ../../node_modules/openai/internal/utils/env.mjs
|
|
32657
32657
|
init_esbuild_shims();
|
|
32658
32658
|
var readEnv = /* @__PURE__ */ __name((env) => {
|
|
32659
32659
|
if (typeof globalThis.process !== "undefined") {
|
|
@@ -32665,7 +32665,7 @@ var readEnv = /* @__PURE__ */ __name((env) => {
|
|
|
32665
32665
|
return void 0;
|
|
32666
32666
|
}, "readEnv");
|
|
32667
32667
|
|
|
32668
|
-
// node_modules/openai/lib/AssistantStream.mjs
|
|
32668
|
+
// ../../node_modules/openai/lib/AssistantStream.mjs
|
|
32669
32669
|
var _AssistantStream_instances;
|
|
32670
32670
|
var _a;
|
|
32671
32671
|
var _AssistantStream_events;
|
|
@@ -33208,7 +33208,7 @@ function assertNever2(_x) {
|
|
|
33208
33208
|
}
|
|
33209
33209
|
__name(assertNever2, "assertNever");
|
|
33210
33210
|
|
|
33211
|
-
// node_modules/openai/resources/beta/threads/runs/runs.mjs
|
|
33211
|
+
// ../../node_modules/openai/resources/beta/threads/runs/runs.mjs
|
|
33212
33212
|
var Runs = class extends APIResource {
|
|
33213
33213
|
static {
|
|
33214
33214
|
__name(this, "Runs");
|
|
@@ -33384,7 +33384,7 @@ var Runs = class extends APIResource {
|
|
|
33384
33384
|
};
|
|
33385
33385
|
Runs.Steps = Steps;
|
|
33386
33386
|
|
|
33387
|
-
// node_modules/openai/resources/beta/threads/threads.mjs
|
|
33387
|
+
// ../../node_modules/openai/resources/beta/threads/threads.mjs
|
|
33388
33388
|
var Threads2 = class extends APIResource {
|
|
33389
33389
|
static {
|
|
33390
33390
|
__name(this, "Threads");
|
|
@@ -33473,7 +33473,7 @@ var Threads2 = class extends APIResource {
|
|
|
33473
33473
|
Threads2.Runs = Runs;
|
|
33474
33474
|
Threads2.Messages = Messages2;
|
|
33475
33475
|
|
|
33476
|
-
// node_modules/openai/resources/beta/beta.mjs
|
|
33476
|
+
// ../../node_modules/openai/resources/beta/beta.mjs
|
|
33477
33477
|
var Beta = class extends APIResource {
|
|
33478
33478
|
static {
|
|
33479
33479
|
__name(this, "Beta");
|
|
@@ -33491,7 +33491,7 @@ Beta.ChatKit = ChatKit;
|
|
|
33491
33491
|
Beta.Assistants = Assistants;
|
|
33492
33492
|
Beta.Threads = Threads2;
|
|
33493
33493
|
|
|
33494
|
-
// node_modules/openai/resources/completions.mjs
|
|
33494
|
+
// ../../node_modules/openai/resources/completions.mjs
|
|
33495
33495
|
init_esbuild_shims();
|
|
33496
33496
|
var Completions2 = class extends APIResource {
|
|
33497
33497
|
static {
|
|
@@ -33507,13 +33507,13 @@ var Completions2 = class extends APIResource {
|
|
|
33507
33507
|
}
|
|
33508
33508
|
};
|
|
33509
33509
|
|
|
33510
|
-
// node_modules/openai/resources/containers/containers.mjs
|
|
33510
|
+
// ../../node_modules/openai/resources/containers/containers.mjs
|
|
33511
33511
|
init_esbuild_shims();
|
|
33512
33512
|
|
|
33513
|
-
// node_modules/openai/resources/containers/files/files.mjs
|
|
33513
|
+
// ../../node_modules/openai/resources/containers/files/files.mjs
|
|
33514
33514
|
init_esbuild_shims();
|
|
33515
33515
|
|
|
33516
|
-
// node_modules/openai/resources/containers/files/content.mjs
|
|
33516
|
+
// ../../node_modules/openai/resources/containers/files/content.mjs
|
|
33517
33517
|
init_esbuild_shims();
|
|
33518
33518
|
var Content = class extends APIResource {
|
|
33519
33519
|
static {
|
|
@@ -33533,7 +33533,7 @@ var Content = class extends APIResource {
|
|
|
33533
33533
|
}
|
|
33534
33534
|
};
|
|
33535
33535
|
|
|
33536
|
-
// node_modules/openai/resources/containers/files/files.mjs
|
|
33536
|
+
// ../../node_modules/openai/resources/containers/files/files.mjs
|
|
33537
33537
|
var Files = class extends APIResource {
|
|
33538
33538
|
static {
|
|
33539
33539
|
__name(this, "Files");
|
|
@@ -33585,7 +33585,7 @@ var Files = class extends APIResource {
|
|
|
33585
33585
|
};
|
|
33586
33586
|
Files.Content = Content;
|
|
33587
33587
|
|
|
33588
|
-
// node_modules/openai/resources/containers/containers.mjs
|
|
33588
|
+
// ../../node_modules/openai/resources/containers/containers.mjs
|
|
33589
33589
|
var Containers = class extends APIResource {
|
|
33590
33590
|
static {
|
|
33591
33591
|
__name(this, "Containers");
|
|
@@ -33632,10 +33632,10 @@ var Containers = class extends APIResource {
|
|
|
33632
33632
|
};
|
|
33633
33633
|
Containers.Files = Files;
|
|
33634
33634
|
|
|
33635
|
-
// node_modules/openai/resources/conversations/conversations.mjs
|
|
33635
|
+
// ../../node_modules/openai/resources/conversations/conversations.mjs
|
|
33636
33636
|
init_esbuild_shims();
|
|
33637
33637
|
|
|
33638
|
-
// node_modules/openai/resources/conversations/items.mjs
|
|
33638
|
+
// ../../node_modules/openai/resources/conversations/items.mjs
|
|
33639
33639
|
init_esbuild_shims();
|
|
33640
33640
|
var Items = class extends APIResource {
|
|
33641
33641
|
static {
|
|
@@ -33682,7 +33682,7 @@ var Items = class extends APIResource {
|
|
|
33682
33682
|
}
|
|
33683
33683
|
};
|
|
33684
33684
|
|
|
33685
|
-
// node_modules/openai/resources/conversations/conversations.mjs
|
|
33685
|
+
// ../../node_modules/openai/resources/conversations/conversations.mjs
|
|
33686
33686
|
var Conversations = class extends APIResource {
|
|
33687
33687
|
static {
|
|
33688
33688
|
__name(this, "Conversations");
|
|
@@ -33728,7 +33728,7 @@ var Conversations = class extends APIResource {
|
|
|
33728
33728
|
};
|
|
33729
33729
|
Conversations.Items = Items;
|
|
33730
33730
|
|
|
33731
|
-
// node_modules/openai/resources/embeddings.mjs
|
|
33731
|
+
// ../../node_modules/openai/resources/embeddings.mjs
|
|
33732
33732
|
init_esbuild_shims();
|
|
33733
33733
|
var Embeddings = class extends APIResource {
|
|
33734
33734
|
static {
|
|
@@ -33776,13 +33776,13 @@ var Embeddings = class extends APIResource {
|
|
|
33776
33776
|
}
|
|
33777
33777
|
};
|
|
33778
33778
|
|
|
33779
|
-
// node_modules/openai/resources/evals/evals.mjs
|
|
33779
|
+
// ../../node_modules/openai/resources/evals/evals.mjs
|
|
33780
33780
|
init_esbuild_shims();
|
|
33781
33781
|
|
|
33782
|
-
// node_modules/openai/resources/evals/runs/runs.mjs
|
|
33782
|
+
// ../../node_modules/openai/resources/evals/runs/runs.mjs
|
|
33783
33783
|
init_esbuild_shims();
|
|
33784
33784
|
|
|
33785
|
-
// node_modules/openai/resources/evals/runs/output-items.mjs
|
|
33785
|
+
// ../../node_modules/openai/resources/evals/runs/output-items.mjs
|
|
33786
33786
|
init_esbuild_shims();
|
|
33787
33787
|
var OutputItems = class extends APIResource {
|
|
33788
33788
|
static {
|
|
@@ -33807,7 +33807,7 @@ var OutputItems = class extends APIResource {
|
|
|
33807
33807
|
}
|
|
33808
33808
|
};
|
|
33809
33809
|
|
|
33810
|
-
// node_modules/openai/resources/evals/runs/runs.mjs
|
|
33810
|
+
// ../../node_modules/openai/resources/evals/runs/runs.mjs
|
|
33811
33811
|
var Runs2 = class extends APIResource {
|
|
33812
33812
|
static {
|
|
33813
33813
|
__name(this, "Runs");
|
|
@@ -33871,7 +33871,7 @@ var Runs2 = class extends APIResource {
|
|
|
33871
33871
|
};
|
|
33872
33872
|
Runs2.OutputItems = OutputItems;
|
|
33873
33873
|
|
|
33874
|
-
// node_modules/openai/resources/evals/evals.mjs
|
|
33874
|
+
// ../../node_modules/openai/resources/evals/evals.mjs
|
|
33875
33875
|
var Evals = class extends APIResource {
|
|
33876
33876
|
static {
|
|
33877
33877
|
__name(this, "Evals");
|
|
@@ -33922,7 +33922,7 @@ var Evals = class extends APIResource {
|
|
|
33922
33922
|
};
|
|
33923
33923
|
Evals.Runs = Runs2;
|
|
33924
33924
|
|
|
33925
|
-
// node_modules/openai/resources/files.mjs
|
|
33925
|
+
// ../../node_modules/openai/resources/files.mjs
|
|
33926
33926
|
init_esbuild_shims();
|
|
33927
33927
|
var Files2 = class extends APIResource {
|
|
33928
33928
|
static {
|
|
@@ -34013,10 +34013,10 @@ var Files2 = class extends APIResource {
|
|
|
34013
34013
|
}
|
|
34014
34014
|
};
|
|
34015
34015
|
|
|
34016
|
-
// node_modules/openai/resources/fine-tuning/fine-tuning.mjs
|
|
34016
|
+
// ../../node_modules/openai/resources/fine-tuning/fine-tuning.mjs
|
|
34017
34017
|
init_esbuild_shims();
|
|
34018
34018
|
|
|
34019
|
-
// node_modules/openai/resources/fine-tuning/methods.mjs
|
|
34019
|
+
// ../../node_modules/openai/resources/fine-tuning/methods.mjs
|
|
34020
34020
|
init_esbuild_shims();
|
|
34021
34021
|
var Methods = class extends APIResource {
|
|
34022
34022
|
static {
|
|
@@ -34024,10 +34024,10 @@ var Methods = class extends APIResource {
|
|
|
34024
34024
|
}
|
|
34025
34025
|
};
|
|
34026
34026
|
|
|
34027
|
-
// node_modules/openai/resources/fine-tuning/alpha/alpha.mjs
|
|
34027
|
+
// ../../node_modules/openai/resources/fine-tuning/alpha/alpha.mjs
|
|
34028
34028
|
init_esbuild_shims();
|
|
34029
34029
|
|
|
34030
|
-
// node_modules/openai/resources/fine-tuning/alpha/graders.mjs
|
|
34030
|
+
// ../../node_modules/openai/resources/fine-tuning/alpha/graders.mjs
|
|
34031
34031
|
init_esbuild_shims();
|
|
34032
34032
|
var Graders = class extends APIResource {
|
|
34033
34033
|
static {
|
|
@@ -34083,7 +34083,7 @@ var Graders = class extends APIResource {
|
|
|
34083
34083
|
}
|
|
34084
34084
|
};
|
|
34085
34085
|
|
|
34086
|
-
// node_modules/openai/resources/fine-tuning/alpha/alpha.mjs
|
|
34086
|
+
// ../../node_modules/openai/resources/fine-tuning/alpha/alpha.mjs
|
|
34087
34087
|
var Alpha = class extends APIResource {
|
|
34088
34088
|
static {
|
|
34089
34089
|
__name(this, "Alpha");
|
|
@@ -34095,10 +34095,10 @@ var Alpha = class extends APIResource {
|
|
|
34095
34095
|
};
|
|
34096
34096
|
Alpha.Graders = Graders;
|
|
34097
34097
|
|
|
34098
|
-
// node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs
|
|
34098
|
+
// ../../node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs
|
|
34099
34099
|
init_esbuild_shims();
|
|
34100
34100
|
|
|
34101
|
-
// node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs
|
|
34101
|
+
// ../../node_modules/openai/resources/fine-tuning/checkpoints/permissions.mjs
|
|
34102
34102
|
init_esbuild_shims();
|
|
34103
34103
|
var Permissions = class extends APIResource {
|
|
34104
34104
|
static {
|
|
@@ -34182,7 +34182,7 @@ var Permissions = class extends APIResource {
|
|
|
34182
34182
|
}
|
|
34183
34183
|
};
|
|
34184
34184
|
|
|
34185
|
-
// node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs
|
|
34185
|
+
// ../../node_modules/openai/resources/fine-tuning/checkpoints/checkpoints.mjs
|
|
34186
34186
|
var Checkpoints = class extends APIResource {
|
|
34187
34187
|
static {
|
|
34188
34188
|
__name(this, "Checkpoints");
|
|
@@ -34194,10 +34194,10 @@ var Checkpoints = class extends APIResource {
|
|
|
34194
34194
|
};
|
|
34195
34195
|
Checkpoints.Permissions = Permissions;
|
|
34196
34196
|
|
|
34197
|
-
// node_modules/openai/resources/fine-tuning/jobs/jobs.mjs
|
|
34197
|
+
// ../../node_modules/openai/resources/fine-tuning/jobs/jobs.mjs
|
|
34198
34198
|
init_esbuild_shims();
|
|
34199
34199
|
|
|
34200
|
-
// node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs
|
|
34200
|
+
// ../../node_modules/openai/resources/fine-tuning/jobs/checkpoints.mjs
|
|
34201
34201
|
init_esbuild_shims();
|
|
34202
34202
|
var Checkpoints2 = class extends APIResource {
|
|
34203
34203
|
static {
|
|
@@ -34221,7 +34221,7 @@ var Checkpoints2 = class extends APIResource {
|
|
|
34221
34221
|
}
|
|
34222
34222
|
};
|
|
34223
34223
|
|
|
34224
|
-
// node_modules/openai/resources/fine-tuning/jobs/jobs.mjs
|
|
34224
|
+
// ../../node_modules/openai/resources/fine-tuning/jobs/jobs.mjs
|
|
34225
34225
|
var Jobs = class extends APIResource {
|
|
34226
34226
|
static {
|
|
34227
34227
|
__name(this, "Jobs");
|
|
@@ -34353,7 +34353,7 @@ var Jobs = class extends APIResource {
|
|
|
34353
34353
|
};
|
|
34354
34354
|
Jobs.Checkpoints = Checkpoints2;
|
|
34355
34355
|
|
|
34356
|
-
// node_modules/openai/resources/fine-tuning/fine-tuning.mjs
|
|
34356
|
+
// ../../node_modules/openai/resources/fine-tuning/fine-tuning.mjs
|
|
34357
34357
|
var FineTuning = class extends APIResource {
|
|
34358
34358
|
static {
|
|
34359
34359
|
__name(this, "FineTuning");
|
|
@@ -34371,10 +34371,10 @@ FineTuning.Jobs = Jobs;
|
|
|
34371
34371
|
FineTuning.Checkpoints = Checkpoints;
|
|
34372
34372
|
FineTuning.Alpha = Alpha;
|
|
34373
34373
|
|
|
34374
|
-
// node_modules/openai/resources/graders/graders.mjs
|
|
34374
|
+
// ../../node_modules/openai/resources/graders/graders.mjs
|
|
34375
34375
|
init_esbuild_shims();
|
|
34376
34376
|
|
|
34377
|
-
// node_modules/openai/resources/graders/grader-models.mjs
|
|
34377
|
+
// ../../node_modules/openai/resources/graders/grader-models.mjs
|
|
34378
34378
|
init_esbuild_shims();
|
|
34379
34379
|
var GraderModels = class extends APIResource {
|
|
34380
34380
|
static {
|
|
@@ -34382,7 +34382,7 @@ var GraderModels = class extends APIResource {
|
|
|
34382
34382
|
}
|
|
34383
34383
|
};
|
|
34384
34384
|
|
|
34385
|
-
// node_modules/openai/resources/graders/graders.mjs
|
|
34385
|
+
// ../../node_modules/openai/resources/graders/graders.mjs
|
|
34386
34386
|
var Graders2 = class extends APIResource {
|
|
34387
34387
|
static {
|
|
34388
34388
|
__name(this, "Graders");
|
|
@@ -34394,7 +34394,7 @@ var Graders2 = class extends APIResource {
|
|
|
34394
34394
|
};
|
|
34395
34395
|
Graders2.GraderModels = GraderModels;
|
|
34396
34396
|
|
|
34397
|
-
// node_modules/openai/resources/images.mjs
|
|
34397
|
+
// ../../node_modules/openai/resources/images.mjs
|
|
34398
34398
|
init_esbuild_shims();
|
|
34399
34399
|
var Images = class extends APIResource {
|
|
34400
34400
|
static {
|
|
@@ -34426,7 +34426,7 @@ var Images = class extends APIResource {
|
|
|
34426
34426
|
}
|
|
34427
34427
|
};
|
|
34428
34428
|
|
|
34429
|
-
// node_modules/openai/resources/models.mjs
|
|
34429
|
+
// ../../node_modules/openai/resources/models.mjs
|
|
34430
34430
|
init_esbuild_shims();
|
|
34431
34431
|
var Models = class extends APIResource {
|
|
34432
34432
|
static {
|
|
@@ -34455,7 +34455,7 @@ var Models = class extends APIResource {
|
|
|
34455
34455
|
}
|
|
34456
34456
|
};
|
|
34457
34457
|
|
|
34458
|
-
// node_modules/openai/resources/moderations.mjs
|
|
34458
|
+
// ../../node_modules/openai/resources/moderations.mjs
|
|
34459
34459
|
init_esbuild_shims();
|
|
34460
34460
|
var Moderations = class extends APIResource {
|
|
34461
34461
|
static {
|
|
@@ -34470,10 +34470,10 @@ var Moderations = class extends APIResource {
|
|
|
34470
34470
|
}
|
|
34471
34471
|
};
|
|
34472
34472
|
|
|
34473
|
-
// node_modules/openai/resources/realtime/realtime.mjs
|
|
34473
|
+
// ../../node_modules/openai/resources/realtime/realtime.mjs
|
|
34474
34474
|
init_esbuild_shims();
|
|
34475
34475
|
|
|
34476
|
-
// node_modules/openai/resources/realtime/calls.mjs
|
|
34476
|
+
// ../../node_modules/openai/resources/realtime/calls.mjs
|
|
34477
34477
|
init_esbuild_shims();
|
|
34478
34478
|
var Calls = class extends APIResource {
|
|
34479
34479
|
static {
|
|
@@ -34549,7 +34549,7 @@ var Calls = class extends APIResource {
|
|
|
34549
34549
|
}
|
|
34550
34550
|
};
|
|
34551
34551
|
|
|
34552
|
-
// node_modules/openai/resources/realtime/client-secrets.mjs
|
|
34552
|
+
// ../../node_modules/openai/resources/realtime/client-secrets.mjs
|
|
34553
34553
|
init_esbuild_shims();
|
|
34554
34554
|
var ClientSecrets = class extends APIResource {
|
|
34555
34555
|
static {
|
|
@@ -34587,7 +34587,7 @@ var ClientSecrets = class extends APIResource {
|
|
|
34587
34587
|
}
|
|
34588
34588
|
};
|
|
34589
34589
|
|
|
34590
|
-
// node_modules/openai/resources/realtime/realtime.mjs
|
|
34590
|
+
// ../../node_modules/openai/resources/realtime/realtime.mjs
|
|
34591
34591
|
var Realtime2 = class extends APIResource {
|
|
34592
34592
|
static {
|
|
34593
34593
|
__name(this, "Realtime");
|
|
@@ -34601,10 +34601,10 @@ var Realtime2 = class extends APIResource {
|
|
|
34601
34601
|
Realtime2.ClientSecrets = ClientSecrets;
|
|
34602
34602
|
Realtime2.Calls = Calls;
|
|
34603
34603
|
|
|
34604
|
-
// node_modules/openai/resources/responses/responses.mjs
|
|
34604
|
+
// ../../node_modules/openai/resources/responses/responses.mjs
|
|
34605
34605
|
init_esbuild_shims();
|
|
34606
34606
|
|
|
34607
|
-
// node_modules/openai/lib/ResponsesParser.mjs
|
|
34607
|
+
// ../../node_modules/openai/lib/ResponsesParser.mjs
|
|
34608
34608
|
init_esbuild_shims();
|
|
34609
34609
|
function maybeParseResponse(response, params) {
|
|
34610
34610
|
if (!params || !hasAutoParseableInput2(params)) {
|
|
@@ -34734,7 +34734,7 @@ function addOutputText(rsp) {
|
|
|
34734
34734
|
}
|
|
34735
34735
|
__name(addOutputText, "addOutputText");
|
|
34736
34736
|
|
|
34737
|
-
// node_modules/openai/lib/responses/ResponseStream.mjs
|
|
34737
|
+
// ../../node_modules/openai/lib/responses/ResponseStream.mjs
|
|
34738
34738
|
init_esbuild_shims();
|
|
34739
34739
|
var _ResponseStream_instances;
|
|
34740
34740
|
var _ResponseStream_params;
|
|
@@ -35001,7 +35001,7 @@ function finalizeResponse(snapshot, params) {
|
|
|
35001
35001
|
}
|
|
35002
35002
|
__name(finalizeResponse, "finalizeResponse");
|
|
35003
35003
|
|
|
35004
|
-
// node_modules/openai/resources/responses/input-items.mjs
|
|
35004
|
+
// ../../node_modules/openai/resources/responses/input-items.mjs
|
|
35005
35005
|
init_esbuild_shims();
|
|
35006
35006
|
var InputItems = class extends APIResource {
|
|
35007
35007
|
static {
|
|
@@ -35025,7 +35025,7 @@ var InputItems = class extends APIResource {
|
|
|
35025
35025
|
}
|
|
35026
35026
|
};
|
|
35027
35027
|
|
|
35028
|
-
// node_modules/openai/resources/responses/input-tokens.mjs
|
|
35028
|
+
// ../../node_modules/openai/resources/responses/input-tokens.mjs
|
|
35029
35029
|
init_esbuild_shims();
|
|
35030
35030
|
var InputTokens = class extends APIResource {
|
|
35031
35031
|
static {
|
|
@@ -35051,7 +35051,7 @@ var InputTokens = class extends APIResource {
|
|
|
35051
35051
|
}
|
|
35052
35052
|
};
|
|
35053
35053
|
|
|
35054
|
-
// node_modules/openai/resources/responses/responses.mjs
|
|
35054
|
+
// ../../node_modules/openai/resources/responses/responses.mjs
|
|
35055
35055
|
var Responses = class extends APIResource {
|
|
35056
35056
|
static {
|
|
35057
35057
|
__name(this, "Responses");
|
|
@@ -35153,10 +35153,10 @@ var Responses = class extends APIResource {
|
|
|
35153
35153
|
Responses.InputItems = InputItems;
|
|
35154
35154
|
Responses.InputTokens = InputTokens;
|
|
35155
35155
|
|
|
35156
|
-
// node_modules/openai/resources/skills/skills.mjs
|
|
35156
|
+
// ../../node_modules/openai/resources/skills/skills.mjs
|
|
35157
35157
|
init_esbuild_shims();
|
|
35158
35158
|
|
|
35159
|
-
// node_modules/openai/resources/skills/content.mjs
|
|
35159
|
+
// ../../node_modules/openai/resources/skills/content.mjs
|
|
35160
35160
|
init_esbuild_shims();
|
|
35161
35161
|
var Content2 = class extends APIResource {
|
|
35162
35162
|
static {
|
|
@@ -35175,10 +35175,10 @@ var Content2 = class extends APIResource {
|
|
|
35175
35175
|
}
|
|
35176
35176
|
};
|
|
35177
35177
|
|
|
35178
|
-
// node_modules/openai/resources/skills/versions/versions.mjs
|
|
35178
|
+
// ../../node_modules/openai/resources/skills/versions/versions.mjs
|
|
35179
35179
|
init_esbuild_shims();
|
|
35180
35180
|
|
|
35181
|
-
// node_modules/openai/resources/skills/versions/content.mjs
|
|
35181
|
+
// ../../node_modules/openai/resources/skills/versions/content.mjs
|
|
35182
35182
|
init_esbuild_shims();
|
|
35183
35183
|
var Content3 = class extends APIResource {
|
|
35184
35184
|
static {
|
|
@@ -35198,7 +35198,7 @@ var Content3 = class extends APIResource {
|
|
|
35198
35198
|
}
|
|
35199
35199
|
};
|
|
35200
35200
|
|
|
35201
|
-
// node_modules/openai/resources/skills/versions/versions.mjs
|
|
35201
|
+
// ../../node_modules/openai/resources/skills/versions/versions.mjs
|
|
35202
35202
|
var Versions = class extends APIResource {
|
|
35203
35203
|
static {
|
|
35204
35204
|
__name(this, "Versions");
|
|
@@ -35246,7 +35246,7 @@ var Versions = class extends APIResource {
|
|
|
35246
35246
|
};
|
|
35247
35247
|
Versions.Content = Content3;
|
|
35248
35248
|
|
|
35249
|
-
// node_modules/openai/resources/skills/skills.mjs
|
|
35249
|
+
// ../../node_modules/openai/resources/skills/skills.mjs
|
|
35250
35250
|
var Skills = class extends APIResource {
|
|
35251
35251
|
static {
|
|
35252
35252
|
__name(this, "Skills");
|
|
@@ -35298,10 +35298,10 @@ var Skills = class extends APIResource {
|
|
|
35298
35298
|
Skills.Content = Content2;
|
|
35299
35299
|
Skills.Versions = Versions;
|
|
35300
35300
|
|
|
35301
|
-
// node_modules/openai/resources/uploads/uploads.mjs
|
|
35301
|
+
// ../../node_modules/openai/resources/uploads/uploads.mjs
|
|
35302
35302
|
init_esbuild_shims();
|
|
35303
35303
|
|
|
35304
|
-
// node_modules/openai/resources/uploads/parts.mjs
|
|
35304
|
+
// ../../node_modules/openai/resources/uploads/parts.mjs
|
|
35305
35305
|
init_esbuild_shims();
|
|
35306
35306
|
var Parts = class extends APIResource {
|
|
35307
35307
|
static {
|
|
@@ -35325,7 +35325,7 @@ var Parts = class extends APIResource {
|
|
|
35325
35325
|
}
|
|
35326
35326
|
};
|
|
35327
35327
|
|
|
35328
|
-
// node_modules/openai/resources/uploads/uploads.mjs
|
|
35328
|
+
// ../../node_modules/openai/resources/uploads/uploads.mjs
|
|
35329
35329
|
var Uploads = class extends APIResource {
|
|
35330
35330
|
static {
|
|
35331
35331
|
__name(this, "Uploads");
|
|
@@ -35398,13 +35398,13 @@ var Uploads = class extends APIResource {
|
|
|
35398
35398
|
};
|
|
35399
35399
|
Uploads.Parts = Parts;
|
|
35400
35400
|
|
|
35401
|
-
// node_modules/openai/resources/vector-stores/vector-stores.mjs
|
|
35401
|
+
// ../../node_modules/openai/resources/vector-stores/vector-stores.mjs
|
|
35402
35402
|
init_esbuild_shims();
|
|
35403
35403
|
|
|
35404
|
-
// node_modules/openai/resources/vector-stores/file-batches.mjs
|
|
35404
|
+
// ../../node_modules/openai/resources/vector-stores/file-batches.mjs
|
|
35405
35405
|
init_esbuild_shims();
|
|
35406
35406
|
|
|
35407
|
-
// node_modules/openai/lib/Util.mjs
|
|
35407
|
+
// ../../node_modules/openai/lib/Util.mjs
|
|
35408
35408
|
init_esbuild_shims();
|
|
35409
35409
|
var allSettledWithThrow = /* @__PURE__ */ __name(async (promises) => {
|
|
35410
35410
|
const results = await Promise.allSettled(promises);
|
|
@@ -35424,7 +35424,7 @@ var allSettledWithThrow = /* @__PURE__ */ __name(async (promises) => {
|
|
|
35424
35424
|
return values;
|
|
35425
35425
|
}, "allSettledWithThrow");
|
|
35426
35426
|
|
|
35427
|
-
// node_modules/openai/resources/vector-stores/file-batches.mjs
|
|
35427
|
+
// ../../node_modules/openai/resources/vector-stores/file-batches.mjs
|
|
35428
35428
|
var FileBatches = class extends APIResource {
|
|
35429
35429
|
static {
|
|
35430
35430
|
__name(this, "FileBatches");
|
|
@@ -35553,7 +35553,7 @@ var FileBatches = class extends APIResource {
|
|
|
35553
35553
|
}
|
|
35554
35554
|
};
|
|
35555
35555
|
|
|
35556
|
-
// node_modules/openai/resources/vector-stores/files.mjs
|
|
35556
|
+
// ../../node_modules/openai/resources/vector-stores/files.mjs
|
|
35557
35557
|
init_esbuild_shims();
|
|
35558
35558
|
var Files3 = class extends APIResource {
|
|
35559
35559
|
static {
|
|
@@ -35698,7 +35698,7 @@ var Files3 = class extends APIResource {
|
|
|
35698
35698
|
}
|
|
35699
35699
|
};
|
|
35700
35700
|
|
|
35701
|
-
// node_modules/openai/resources/vector-stores/vector-stores.mjs
|
|
35701
|
+
// ../../node_modules/openai/resources/vector-stores/vector-stores.mjs
|
|
35702
35702
|
var VectorStores = class extends APIResource {
|
|
35703
35703
|
static {
|
|
35704
35704
|
__name(this, "VectorStores");
|
|
@@ -35778,7 +35778,7 @@ var VectorStores = class extends APIResource {
|
|
|
35778
35778
|
VectorStores.Files = Files3;
|
|
35779
35779
|
VectorStores.FileBatches = FileBatches;
|
|
35780
35780
|
|
|
35781
|
-
// node_modules/openai/resources/videos.mjs
|
|
35781
|
+
// ../../node_modules/openai/resources/videos.mjs
|
|
35782
35782
|
init_esbuild_shims();
|
|
35783
35783
|
var Videos = class extends APIResource {
|
|
35784
35784
|
static {
|
|
@@ -35862,13 +35862,13 @@ var Videos = class extends APIResource {
|
|
|
35862
35862
|
}
|
|
35863
35863
|
};
|
|
35864
35864
|
|
|
35865
|
-
// node_modules/openai/resources/webhooks.mjs
|
|
35865
|
+
// ../../node_modules/openai/resources/webhooks.mjs
|
|
35866
35866
|
init_esbuild_shims();
|
|
35867
35867
|
|
|
35868
|
-
// node_modules/openai/resources/webhooks/index.mjs
|
|
35868
|
+
// ../../node_modules/openai/resources/webhooks/index.mjs
|
|
35869
35869
|
init_esbuild_shims();
|
|
35870
35870
|
|
|
35871
|
-
// node_modules/openai/resources/webhooks/webhooks.mjs
|
|
35871
|
+
// ../../node_modules/openai/resources/webhooks/webhooks.mjs
|
|
35872
35872
|
init_esbuild_shims();
|
|
35873
35873
|
var _Webhooks_instances;
|
|
35874
35874
|
var _Webhooks_validateSecret;
|
|
@@ -35951,7 +35951,7 @@ _Webhooks_instances = /* @__PURE__ */ new WeakSet(), _Webhooks_validateSecret =
|
|
|
35951
35951
|
return value;
|
|
35952
35952
|
}, "_Webhooks_getRequiredHeader");
|
|
35953
35953
|
|
|
35954
|
-
// node_modules/openai/client.mjs
|
|
35954
|
+
// ../../node_modules/openai/client.mjs
|
|
35955
35955
|
var _OpenAI_instances;
|
|
35956
35956
|
var _a2;
|
|
35957
35957
|
var _OpenAI_encoder;
|
|
@@ -36567,19 +36567,16 @@ function isUndiciDispatcherVersionMismatchError(error) {
|
|
|
36567
36567
|
}
|
|
36568
36568
|
__name(isUndiciDispatcherVersionMismatchError, "isUndiciDispatcherVersionMismatchError");
|
|
36569
36569
|
|
|
36570
|
-
// node_modules/openai/azure.mjs
|
|
36570
|
+
// ../../node_modules/openai/azure.mjs
|
|
36571
36571
|
init_esbuild_shims();
|
|
36572
36572
|
|
|
36573
|
-
// node_modules/openai/bedrock.mjs
|
|
36573
|
+
// ../../node_modules/openai/bedrock.mjs
|
|
36574
36574
|
init_esbuild_shims();
|
|
36575
36575
|
|
|
36576
|
-
//
|
|
36577
|
-
var import_undici = __toESM(require_undici(), 1);
|
|
36578
|
-
|
|
36579
|
-
// packages/core/src/settings.ts
|
|
36576
|
+
// ../core/src/settings.ts
|
|
36580
36577
|
init_esbuild_shims();
|
|
36581
36578
|
|
|
36582
|
-
//
|
|
36579
|
+
// ../core/src/common/model-capabilities.ts
|
|
36583
36580
|
init_esbuild_shims();
|
|
36584
36581
|
var WS_THINKING_DEFAULT_MODELS = /* @__PURE__ */ new Set(["ws-chat", "ws-review"]);
|
|
36585
36582
|
function defaultsToThinkingMode(model) {
|
|
@@ -36599,8 +36596,196 @@ function supportsMultimodal(model) {
|
|
|
36599
36596
|
return !NON_MULTIMODAL_MODELS.has(model.trim());
|
|
36600
36597
|
}
|
|
36601
36598
|
__name(supportsMultimodal, "supportsMultimodal");
|
|
36599
|
+
var WS_OUTPUT_ABSOLUTE_CEILING_TOKENS = 384e3;
|
|
36600
|
+
var WS_OUTPUT_ESCALATION_LADDER = [
|
|
36601
|
+
16384,
|
|
36602
|
+
65536,
|
|
36603
|
+
131072,
|
|
36604
|
+
262144,
|
|
36605
|
+
WS_OUTPUT_ABSOLUTE_CEILING_TOKENS
|
|
36606
|
+
];
|
|
36607
|
+
var WS_CLASSIFICATION_OUTPUT_TOKENS = 2048;
|
|
36608
|
+
var WS_SUMMARY_OUTPUT_TOKENS = 32768;
|
|
36609
|
+
var WS_MIN_OUTPUT_FLOOR_TOKENS = 4096;
|
|
36610
|
+
var CONTEXT_SAFETY_MARGIN_TOKENS = 2048;
|
|
36611
|
+
var IMAGE_PART_TOKEN_ESTIMATE = 1500;
|
|
36612
|
+
function resolveOutputBudget(input) {
|
|
36613
|
+
const reasons = [];
|
|
36614
|
+
const ceilings = [
|
|
36615
|
+
{ value: WS_OUTPUT_ABSOLUTE_CEILING_TOKENS, label: "absolute-ceiling" }
|
|
36616
|
+
];
|
|
36617
|
+
if (typeof input.configuredCeilingTokens === "number" && Number.isFinite(input.configuredCeilingTokens)) {
|
|
36618
|
+
ceilings.push({ value: Math.max(1, Math.trunc(input.configuredCeilingTokens)), label: "configured-ceiling" });
|
|
36619
|
+
}
|
|
36620
|
+
if (typeof input.accountCeilingTokens === "number" && Number.isFinite(input.accountCeilingTokens)) {
|
|
36621
|
+
ceilings.push({ value: Math.max(1, Math.trunc(input.accountCeilingTokens)), label: "account-ceiling" });
|
|
36622
|
+
}
|
|
36623
|
+
let base;
|
|
36624
|
+
let escalatable = false;
|
|
36625
|
+
if (typeof input.explicitMaxTokens === "number" && Number.isFinite(input.explicitMaxTokens)) {
|
|
36626
|
+
base = Math.trunc(input.explicitMaxTokens);
|
|
36627
|
+
reasons.push("explicit");
|
|
36628
|
+
} else if (input.taskClass === "classification") {
|
|
36629
|
+
base = WS_CLASSIFICATION_OUTPUT_TOKENS;
|
|
36630
|
+
reasons.push("task-class:classification");
|
|
36631
|
+
} else if (input.taskClass === "summary") {
|
|
36632
|
+
base = WS_SUMMARY_OUTPUT_TOKENS;
|
|
36633
|
+
reasons.push("task-class:summary");
|
|
36634
|
+
} else {
|
|
36635
|
+
const level = Math.max(0, Math.trunc(input.escalationLevel ?? 0));
|
|
36636
|
+
const clampedLevel = Math.min(level, WS_OUTPUT_ESCALATION_LADDER.length - 1);
|
|
36637
|
+
base = WS_OUTPUT_ESCALATION_LADDER[clampedLevel];
|
|
36638
|
+
reasons.push(`task-class:conversation:ladder[${clampedLevel}]`);
|
|
36639
|
+
escalatable = clampedLevel < WS_OUTPUT_ESCALATION_LADDER.length - 1;
|
|
36640
|
+
}
|
|
36641
|
+
const contextWindow = getModelContextWindowTokens(input.model);
|
|
36642
|
+
if (contextWindow !== null && typeof input.estimatedInputTokens === "number" && Number.isFinite(input.estimatedInputTokens)) {
|
|
36643
|
+
const remaining = contextWindow - Math.max(0, Math.trunc(input.estimatedInputTokens)) - CONTEXT_SAFETY_MARGIN_TOKENS;
|
|
36644
|
+
ceilings.push({ value: Math.max(1, remaining), label: "context-remaining" });
|
|
36645
|
+
}
|
|
36646
|
+
let maxTokens = base;
|
|
36647
|
+
for (const ceiling of ceilings) {
|
|
36648
|
+
if (maxTokens > ceiling.value) {
|
|
36649
|
+
maxTokens = ceiling.value;
|
|
36650
|
+
reasons.push(`clamped-by:${ceiling.label}`);
|
|
36651
|
+
}
|
|
36652
|
+
}
|
|
36653
|
+
if (maxTokens < WS_MIN_OUTPUT_FLOOR_TOKENS) {
|
|
36654
|
+
reasons.push("below-output-floor");
|
|
36655
|
+
}
|
|
36656
|
+
return { maxTokens, reasons, escalatable };
|
|
36657
|
+
}
|
|
36658
|
+
__name(resolveOutputBudget, "resolveOutputBudget");
|
|
36659
|
+
function parseTokenBudgetEnv(value) {
|
|
36660
|
+
if (!value) {
|
|
36661
|
+
return void 0;
|
|
36662
|
+
}
|
|
36663
|
+
const numeric = Number(value);
|
|
36664
|
+
if (!Number.isFinite(numeric) || numeric <= 0) {
|
|
36665
|
+
return void 0;
|
|
36666
|
+
}
|
|
36667
|
+
return Math.trunc(numeric);
|
|
36668
|
+
}
|
|
36669
|
+
__name(parseTokenBudgetEnv, "parseTokenBudgetEnv");
|
|
36670
|
+
var CJK_CHAR_TOKEN_RATE = 0.6;
|
|
36671
|
+
var OTHER_CHAR_TOKEN_RATE = 0.3;
|
|
36672
|
+
var BINARY_PAYLOAD_CHAR_TOKEN_RATE = 1;
|
|
36673
|
+
var MESSAGE_OVERHEAD_TOKENS = 4;
|
|
36674
|
+
var DATA_URL_PATTERN = /data:[^\s,]{0,128};base64,[A-Za-z0-9+/=]+/g;
|
|
36675
|
+
var BARE_BASE64_RUN_PATTERN = /[A-Za-z0-9+/=]{1024,}/g;
|
|
36676
|
+
function estimateTextTokens(text) {
|
|
36677
|
+
if (!text) {
|
|
36678
|
+
return 0;
|
|
36679
|
+
}
|
|
36680
|
+
const ranges = [];
|
|
36681
|
+
for (const pattern of [DATA_URL_PATTERN, BARE_BASE64_RUN_PATTERN]) {
|
|
36682
|
+
pattern.lastIndex = 0;
|
|
36683
|
+
let match;
|
|
36684
|
+
while ((match = pattern.exec(text)) !== null) {
|
|
36685
|
+
ranges.push([match.index, match.index + match[0].length]);
|
|
36686
|
+
}
|
|
36687
|
+
}
|
|
36688
|
+
ranges.sort((a, b) => a[0] - b[0]);
|
|
36689
|
+
let tokens = 0;
|
|
36690
|
+
const restParts = [];
|
|
36691
|
+
let cursor = 0;
|
|
36692
|
+
for (const [start, end] of ranges) {
|
|
36693
|
+
if (start < cursor) {
|
|
36694
|
+
continue;
|
|
36695
|
+
}
|
|
36696
|
+
tokens += (end - start) * BINARY_PAYLOAD_CHAR_TOKEN_RATE;
|
|
36697
|
+
restParts.push(text.slice(cursor, start));
|
|
36698
|
+
cursor = end;
|
|
36699
|
+
}
|
|
36700
|
+
restParts.push(text.slice(cursor));
|
|
36701
|
+
for (const char of restParts.join("")) {
|
|
36702
|
+
tokens += /[㐀-鿿豈-]/u.test(char) ? CJK_CHAR_TOKEN_RATE : OTHER_CHAR_TOKEN_RATE;
|
|
36703
|
+
}
|
|
36704
|
+
return tokens;
|
|
36705
|
+
}
|
|
36706
|
+
__name(estimateTextTokens, "estimateTextTokens");
|
|
36707
|
+
function estimateMessagesTokens(messages) {
|
|
36708
|
+
let total = 0;
|
|
36709
|
+
for (const message of messages) {
|
|
36710
|
+
total += MESSAGE_OVERHEAD_TOKENS;
|
|
36711
|
+
if (!message || typeof message !== "object") {
|
|
36712
|
+
continue;
|
|
36713
|
+
}
|
|
36714
|
+
const record = message;
|
|
36715
|
+
const content = record.content;
|
|
36716
|
+
if (typeof content === "string") {
|
|
36717
|
+
total += estimateTextTokens(content);
|
|
36718
|
+
} else if (Array.isArray(content)) {
|
|
36719
|
+
for (const part of content) {
|
|
36720
|
+
if (!part || typeof part !== "object") {
|
|
36721
|
+
continue;
|
|
36722
|
+
}
|
|
36723
|
+
const partRecord = part;
|
|
36724
|
+
if (partRecord.type === "text" && typeof partRecord.text === "string") {
|
|
36725
|
+
total += estimateTextTokens(partRecord.text);
|
|
36726
|
+
} else if (partRecord.type === "image_url") {
|
|
36727
|
+
total += IMAGE_PART_TOKEN_ESTIMATE;
|
|
36728
|
+
} else {
|
|
36729
|
+
total += estimateTextTokens(JSON.stringify(part));
|
|
36730
|
+
}
|
|
36731
|
+
}
|
|
36732
|
+
}
|
|
36733
|
+
if (Array.isArray(record.tool_calls)) {
|
|
36734
|
+
total += estimateTextTokens(JSON.stringify(record.tool_calls));
|
|
36735
|
+
}
|
|
36736
|
+
if (typeof record.reasoning_content === "string") {
|
|
36737
|
+
total += estimateTextTokens(record.reasoning_content);
|
|
36738
|
+
}
|
|
36739
|
+
}
|
|
36740
|
+
return total;
|
|
36741
|
+
}
|
|
36742
|
+
__name(estimateMessagesTokens, "estimateMessagesTokens");
|
|
36743
|
+
function estimateToolsTokens(tools) {
|
|
36744
|
+
if (!tools || tools.length === 0) {
|
|
36745
|
+
return 0;
|
|
36746
|
+
}
|
|
36747
|
+
let total = 0;
|
|
36748
|
+
for (const tool of tools) {
|
|
36749
|
+
try {
|
|
36750
|
+
total += estimateTextTokens(JSON.stringify(tool));
|
|
36751
|
+
} catch {
|
|
36752
|
+
}
|
|
36753
|
+
}
|
|
36754
|
+
return total;
|
|
36755
|
+
}
|
|
36756
|
+
__name(estimateToolsTokens, "estimateToolsTokens");
|
|
36757
|
+
function buildContextBudgetReport(input) {
|
|
36758
|
+
const messageTokens = estimateMessagesTokens(input.messages);
|
|
36759
|
+
const toolTokens = estimateToolsTokens(input.tools ?? []);
|
|
36760
|
+
const estimatedInputTokens = messageTokens + toolTokens;
|
|
36761
|
+
const safetyMargin = input.safetyMarginTokens ?? CONTEXT_SAFETY_MARGIN_TOKENS;
|
|
36762
|
+
const contextWindowTokens = getModelContextWindowTokens(input.model);
|
|
36763
|
+
const projectedTotalTokens = estimatedInputTokens + input.reservedOutputTokens + safetyMargin;
|
|
36764
|
+
let fits = null;
|
|
36765
|
+
let overflowTokens = 0;
|
|
36766
|
+
if (contextWindowTokens !== null) {
|
|
36767
|
+
fits = projectedTotalTokens <= contextWindowTokens;
|
|
36768
|
+
overflowTokens = fits ? 0 : projectedTotalTokens - contextWindowTokens;
|
|
36769
|
+
}
|
|
36770
|
+
return {
|
|
36771
|
+
model: input.model,
|
|
36772
|
+
contextWindowTokens,
|
|
36773
|
+
estimatedInputTokens,
|
|
36774
|
+
reservedOutputTokens: input.reservedOutputTokens,
|
|
36775
|
+
projectedTotalTokens,
|
|
36776
|
+
fits,
|
|
36777
|
+
overflowTokens,
|
|
36778
|
+
breakdown: {
|
|
36779
|
+
messages: messageTokens,
|
|
36780
|
+
tools: toolTokens,
|
|
36781
|
+
reservedOutput: input.reservedOutputTokens,
|
|
36782
|
+
safetyMargin
|
|
36783
|
+
}
|
|
36784
|
+
};
|
|
36785
|
+
}
|
|
36786
|
+
__name(buildContextBudgetReport, "buildContextBudgetReport");
|
|
36602
36787
|
|
|
36603
|
-
//
|
|
36788
|
+
// ../core/src/mcp/default-mcp-servers.ts
|
|
36604
36789
|
init_esbuild_shims();
|
|
36605
36790
|
import * as fs2 from "fs";
|
|
36606
36791
|
import * as os2 from "os";
|
|
@@ -36749,7 +36934,7 @@ function resolveDefaultMcpServers(env) {
|
|
|
36749
36934
|
}
|
|
36750
36935
|
__name(resolveDefaultMcpServers, "resolveDefaultMcpServers");
|
|
36751
36936
|
|
|
36752
|
-
//
|
|
36937
|
+
// ../core/src/settings.ts
|
|
36753
36938
|
import * as fs3 from "fs";
|
|
36754
36939
|
import * as os3 from "os";
|
|
36755
36940
|
import * as path4 from "path";
|
|
@@ -37112,7 +37297,10 @@ function resolveSettingsSources(userSettings, projectSettings, defaults2, proces
|
|
|
37112
37297
|
};
|
|
37113
37298
|
const model = trimString(projectSettings?.model) || trimString(userSettings?.model) || defaults2.model;
|
|
37114
37299
|
const thinkingEnabled = parseBoolean(systemEnv.THINKING_ENABLED) ?? parseBoolean(projectSettings?.thinkingEnabled) ?? parseBoolean(projectEnv.THINKING_ENABLED) ?? parseBoolean(userSettings?.thinkingEnabled) ?? parseBoolean(userEnv.THINKING_ENABLED) ?? defaultsToThinkingMode(model);
|
|
37115
|
-
const reasoningEffort = resolveReasoningEffort(systemEnv.REASONING_EFFORT) ?? resolveReasoningEffort(projectSettings?.reasoningEffort) ?? resolveReasoningEffort(projectEnv.REASONING_EFFORT) ?? resolveReasoningEffort(userSettings?.reasoningEffort) ?? resolveReasoningEffort(userEnv.REASONING_EFFORT) ??
|
|
37300
|
+
const reasoningEffort = resolveReasoningEffort(systemEnv.REASONING_EFFORT) ?? resolveReasoningEffort(projectSettings?.reasoningEffort) ?? resolveReasoningEffort(projectEnv.REASONING_EFFORT) ?? resolveReasoningEffort(userSettings?.reasoningEffort) ?? resolveReasoningEffort(userEnv.REASONING_EFFORT) ?? // release-cli-hardening(2026-08-18·候裁#15 裁决①):普通 ws-chat 默认 high——
|
|
37301
|
+
// max 需账户取得资格(弦月及以上·reasoning-policy.ts)且只在任务路由启用,
|
|
37302
|
+
// 普通聊天不自动 max;显式配置/env 仍优先于本默认。
|
|
37303
|
+
"high";
|
|
37116
37304
|
const temperature = parseTemperature(systemEnv.TEMPERATURE) ?? parseTemperature(projectSettings?.temperature) ?? parseTemperature(projectEnv.TEMPERATURE) ?? parseTemperature(userSettings?.temperature) ?? parseTemperature(userEnv.TEMPERATURE);
|
|
37117
37305
|
const debugLogEnabled = parseBoolean(systemEnv.DEBUG_LOG_ENABLED) ?? parseBoolean(projectSettings?.debugLogEnabled) ?? parseBoolean(projectEnv.DEBUG_LOG_ENABLED) ?? parseBoolean(userSettings?.debugLogEnabled) ?? parseBoolean(userEnv.DEBUG_LOG_ENABLED) ?? false;
|
|
37118
37306
|
const telemetryEnabled = parseBoolean(systemEnv.TELEMETRY_ENABLED) ?? parseBoolean(projectSettings?.telemetryEnabled) ?? parseBoolean(projectEnv.TELEMETRY_ENABLED) ?? parseBoolean(userSettings?.telemetryEnabled) ?? parseBoolean(userEnv.TELEMETRY_ENABLED) ?? false;
|
|
@@ -37241,8 +37429,119 @@ function resolveCurrentSettings(projectRoot = process.cwd()) {
|
|
|
37241
37429
|
}
|
|
37242
37430
|
__name(resolveCurrentSettings, "resolveCurrentSettings");
|
|
37243
37431
|
|
|
37244
|
-
//
|
|
37245
|
-
|
|
37432
|
+
// ../core/src/common/reasoning-policy.ts
|
|
37433
|
+
init_esbuild_shims();
|
|
37434
|
+
var MAX_REASONING_QUALIFYING_ATOMS = ["review_pro", "xuanji", "deep_research", "reveal"];
|
|
37435
|
+
function isMaxReasoningQualified(auth) {
|
|
37436
|
+
if (!auth) {
|
|
37437
|
+
return false;
|
|
37438
|
+
}
|
|
37439
|
+
const entitlements = auth.entitlements;
|
|
37440
|
+
if (entitlements === void 0) {
|
|
37441
|
+
return true;
|
|
37442
|
+
}
|
|
37443
|
+
return MAX_REASONING_QUALIFYING_ATOMS.some((atom) => entitlements.includes(atom));
|
|
37444
|
+
}
|
|
37445
|
+
__name(isMaxReasoningQualified, "isMaxReasoningQualified");
|
|
37446
|
+
function gateReasoningEffort(requested, auth) {
|
|
37447
|
+
if (requested === "max" && !isMaxReasoningQualified(auth)) {
|
|
37448
|
+
return { effort: "high", adjusted: true };
|
|
37449
|
+
}
|
|
37450
|
+
return { effort: requested, adjusted: false };
|
|
37451
|
+
}
|
|
37452
|
+
__name(gateReasoningEffort, "gateReasoningEffort");
|
|
37453
|
+
|
|
37454
|
+
// ../core/src/common/transport-policy.ts
|
|
37455
|
+
init_esbuild_shims();
|
|
37456
|
+
var import_undici = __toESM(require_undici(), 1);
|
|
37457
|
+
import { randomUUID } from "node:crypto";
|
|
37458
|
+
var KEEP_ALIVE_TIMEOUT_MS = 18e4;
|
|
37459
|
+
var CONNECT_TIMEOUT_MS = 3e4;
|
|
37460
|
+
var HEADERS_TIMEOUT_MS = 3e5;
|
|
37461
|
+
var BODY_TIMEOUT_MS = 12e4;
|
|
37462
|
+
var REQUEST_ID_HEADER = "x-request-id";
|
|
37463
|
+
function isEnvProxyEnabled(env = process.env) {
|
|
37464
|
+
return env.NODE_USE_ENV_PROXY === "1";
|
|
37465
|
+
}
|
|
37466
|
+
__name(isEnvProxyEnabled, "isEnvProxyEnabled");
|
|
37467
|
+
var BASE_AGENT_OPTIONS = {
|
|
37468
|
+
keepAliveTimeout: KEEP_ALIVE_TIMEOUT_MS,
|
|
37469
|
+
connectTimeout: CONNECT_TIMEOUT_MS,
|
|
37470
|
+
headersTimeout: HEADERS_TIMEOUT_MS,
|
|
37471
|
+
bodyTimeout: BODY_TIMEOUT_MS
|
|
37472
|
+
};
|
|
37473
|
+
function createTransportDispatcher(env = process.env, overrides = {}) {
|
|
37474
|
+
const agentOptions = { ...BASE_AGENT_OPTIONS, ...overrides };
|
|
37475
|
+
if (isEnvProxyEnabled(env)) {
|
|
37476
|
+
return new import_undici.EnvHttpProxyAgent({
|
|
37477
|
+
...agentOptions,
|
|
37478
|
+
httpProxy: env.http_proxy ?? env.HTTP_PROXY ?? "",
|
|
37479
|
+
httpsProxy: env.https_proxy ?? env.HTTPS_PROXY ?? "",
|
|
37480
|
+
noProxy: env.no_proxy ?? env.NO_PROXY ?? ""
|
|
37481
|
+
});
|
|
37482
|
+
}
|
|
37483
|
+
return new import_undici.Agent(agentOptions);
|
|
37484
|
+
}
|
|
37485
|
+
__name(createTransportDispatcher, "createTransportDispatcher");
|
|
37486
|
+
var sharedDispatcher = null;
|
|
37487
|
+
var sharedDispatcherSignature = "";
|
|
37488
|
+
function envSignature(env) {
|
|
37489
|
+
return [
|
|
37490
|
+
env.NODE_USE_ENV_PROXY ?? "",
|
|
37491
|
+
env.HTTP_PROXY ?? "",
|
|
37492
|
+
env.http_proxy ?? "",
|
|
37493
|
+
env.HTTPS_PROXY ?? "",
|
|
37494
|
+
env.https_proxy ?? "",
|
|
37495
|
+
env.NO_PROXY ?? "",
|
|
37496
|
+
env.no_proxy ?? ""
|
|
37497
|
+
].join("");
|
|
37498
|
+
}
|
|
37499
|
+
__name(envSignature, "envSignature");
|
|
37500
|
+
function getSharedDispatcher() {
|
|
37501
|
+
const signature = envSignature(process.env);
|
|
37502
|
+
if (sharedDispatcher === null || sharedDispatcherSignature !== signature) {
|
|
37503
|
+
sharedDispatcher = createTransportDispatcher(process.env);
|
|
37504
|
+
sharedDispatcherSignature = signature;
|
|
37505
|
+
}
|
|
37506
|
+
return sharedDispatcher;
|
|
37507
|
+
}
|
|
37508
|
+
__name(getSharedDispatcher, "getSharedDispatcher");
|
|
37509
|
+
function getTransportMode() {
|
|
37510
|
+
return isEnvProxyEnabled(process.env) ? "env-proxy" : "direct";
|
|
37511
|
+
}
|
|
37512
|
+
__name(getTransportMode, "getTransportMode");
|
|
37513
|
+
function ensureRequestIdHeader(headersInit) {
|
|
37514
|
+
const headers = new Headers(headersInit);
|
|
37515
|
+
if (!headers.has(REQUEST_ID_HEADER)) {
|
|
37516
|
+
headers.set(REQUEST_ID_HEADER, randomUUID());
|
|
37517
|
+
}
|
|
37518
|
+
return headers;
|
|
37519
|
+
}
|
|
37520
|
+
__name(ensureRequestIdHeader, "ensureRequestIdHeader");
|
|
37521
|
+
function createGatewayFetch(hooks) {
|
|
37522
|
+
return async (url, init) => {
|
|
37523
|
+
const requestInit = init ?? {};
|
|
37524
|
+
const headers = ensureRequestIdHeader(requestInit.headers);
|
|
37525
|
+
try {
|
|
37526
|
+
const response = await (0, import_undici.fetch)(
|
|
37527
|
+
url,
|
|
37528
|
+
{
|
|
37529
|
+
...requestInit,
|
|
37530
|
+
headers,
|
|
37531
|
+
dispatcher: getSharedDispatcher()
|
|
37532
|
+
}
|
|
37533
|
+
);
|
|
37534
|
+
hooks?.onExchangeSettled?.(true);
|
|
37535
|
+
return response;
|
|
37536
|
+
} catch (error) {
|
|
37537
|
+
hooks?.onExchangeSettled?.(false);
|
|
37538
|
+
throw error;
|
|
37539
|
+
}
|
|
37540
|
+
};
|
|
37541
|
+
}
|
|
37542
|
+
__name(createGatewayFetch, "createGatewayFetch");
|
|
37543
|
+
|
|
37544
|
+
// ../core/src/common/openai-client.ts
|
|
37246
37545
|
var cachedOpenAI = null;
|
|
37247
37546
|
var cachedOpenAIKey = "";
|
|
37248
37547
|
var WS_GATEWAY_MODELS = ["ws-chat", "ws-review"];
|
|
@@ -37251,30 +37550,71 @@ function getAvailableModelIds() {
|
|
|
37251
37550
|
return availableModelIds;
|
|
37252
37551
|
}
|
|
37253
37552
|
__name(getAvailableModelIds, "getAvailableModelIds");
|
|
37553
|
+
var WARMUP_TIMEOUT_DIRECT_MS = 3e3;
|
|
37554
|
+
var WARMUP_TIMEOUT_PROXY_MS = 1e4;
|
|
37254
37555
|
var warmupInflight = null;
|
|
37255
|
-
var
|
|
37256
|
-
function
|
|
37257
|
-
if (warmupInflight
|
|
37556
|
+
var warmupDeferred = null;
|
|
37557
|
+
function clearWarmupIfKey(key) {
|
|
37558
|
+
if (warmupInflight?.key === key) {
|
|
37559
|
+
warmupInflight = null;
|
|
37560
|
+
}
|
|
37561
|
+
}
|
|
37562
|
+
__name(clearWarmupIfKey, "clearWarmupIfKey");
|
|
37563
|
+
function startWarmup(client, key) {
|
|
37564
|
+
if (warmupInflight !== null && warmupInflight.key === key) {
|
|
37258
37565
|
return;
|
|
37259
37566
|
}
|
|
37260
|
-
|
|
37261
|
-
|
|
37262
|
-
|
|
37263
|
-
|
|
37567
|
+
if (warmupInflight !== null) {
|
|
37568
|
+
warmupInflight.controller.abort();
|
|
37569
|
+
warmupInflight = null;
|
|
37570
|
+
}
|
|
37571
|
+
const controller = new AbortController();
|
|
37572
|
+
const timeoutMs = getTransportMode() === "env-proxy" ? WARMUP_TIMEOUT_PROXY_MS : WARMUP_TIMEOUT_DIRECT_MS;
|
|
37573
|
+
const timer = setTimeout(() => controller.abort(), timeoutMs);
|
|
37574
|
+
const promise = (async () => {
|
|
37264
37575
|
try {
|
|
37265
|
-
const res = await client.models.list({ signal:
|
|
37576
|
+
const res = await client.models.list({ signal: controller.signal }).catch(() => null);
|
|
37266
37577
|
if (res && Array.isArray(res.data) && cachedOpenAI === client && cachedOpenAIKey === key) {
|
|
37267
37578
|
availableModelIds = res.data.map((m) => m && typeof m.id === "string" ? m.id : "").filter((id) => id.length > 0);
|
|
37268
37579
|
}
|
|
37269
37580
|
} finally {
|
|
37270
37581
|
clearTimeout(timer);
|
|
37271
|
-
|
|
37272
|
-
warmupInflight = null;
|
|
37273
|
-
}
|
|
37582
|
+
clearWarmupIfKey(key);
|
|
37274
37583
|
}
|
|
37275
37584
|
})();
|
|
37585
|
+
warmupInflight = { key, controller, promise };
|
|
37586
|
+
}
|
|
37587
|
+
__name(startWarmup, "startWarmup");
|
|
37588
|
+
function ensureWarmup(client, key) {
|
|
37589
|
+
if (warmupInflight !== null && warmupInflight.key === key) {
|
|
37590
|
+
return;
|
|
37591
|
+
}
|
|
37592
|
+
if (getTransportMode() === "env-proxy") {
|
|
37593
|
+
warmupDeferred = { client, key };
|
|
37594
|
+
return;
|
|
37595
|
+
}
|
|
37596
|
+
startWarmup(client, key);
|
|
37276
37597
|
}
|
|
37277
37598
|
__name(ensureWarmup, "ensureWarmup");
|
|
37599
|
+
function noteGatewayExchangeSettled(connectivityProven) {
|
|
37600
|
+
if (!connectivityProven || warmupDeferred === null) {
|
|
37601
|
+
return;
|
|
37602
|
+
}
|
|
37603
|
+
const { client, key } = warmupDeferred;
|
|
37604
|
+
warmupDeferred = null;
|
|
37605
|
+
if (cachedOpenAI === client && cachedOpenAIKey === key) {
|
|
37606
|
+
startWarmup(client, key);
|
|
37607
|
+
}
|
|
37608
|
+
}
|
|
37609
|
+
__name(noteGatewayExchangeSettled, "noteGatewayExchangeSettled");
|
|
37610
|
+
function cancelWarmup() {
|
|
37611
|
+
if (warmupInflight !== null) {
|
|
37612
|
+
warmupInflight.controller.abort();
|
|
37613
|
+
warmupInflight = null;
|
|
37614
|
+
}
|
|
37615
|
+
warmupDeferred = null;
|
|
37616
|
+
}
|
|
37617
|
+
__name(cancelWarmup, "cancelWarmup");
|
|
37278
37618
|
function pickCommandModels(liveIds) {
|
|
37279
37619
|
return liveIds.length > 0 ? [...liveIds] : ["ws-chat"];
|
|
37280
37620
|
}
|
|
@@ -37286,6 +37626,9 @@ function createOpenAIClient(projectRoot = process.cwd()) {
|
|
|
37286
37626
|
const apiKey = authToken;
|
|
37287
37627
|
const baseURL = DEFAULT_BASE_URL;
|
|
37288
37628
|
const provider = "ws";
|
|
37629
|
+
const reasoningGate = gateReasoningEffort(settings.reasoningEffort, readAuth());
|
|
37630
|
+
const gatedReasoningEffort = reasoningGate.effort;
|
|
37631
|
+
const reasoningAdjusted = reasoningGate.adjusted ? { from: "max", to: "high" } : void 0;
|
|
37289
37632
|
let model = settings.model;
|
|
37290
37633
|
let modelAdjusted;
|
|
37291
37634
|
if (authToken) {
|
|
@@ -37305,7 +37648,8 @@ function createOpenAIClient(projectRoot = process.cwd()) {
|
|
|
37305
37648
|
baseURL,
|
|
37306
37649
|
temperature: settings.temperature,
|
|
37307
37650
|
thinkingEnabled: settings.thinkingEnabled,
|
|
37308
|
-
reasoningEffort:
|
|
37651
|
+
reasoningEffort: gatedReasoningEffort,
|
|
37652
|
+
reasoningAdjusted,
|
|
37309
37653
|
debugLogEnabled: settings.debugLogEnabled,
|
|
37310
37654
|
telemetryEnabled: settings.telemetryEnabled,
|
|
37311
37655
|
notify: settings.notify,
|
|
@@ -37328,7 +37672,8 @@ function createOpenAIClient(projectRoot = process.cwd()) {
|
|
|
37328
37672
|
baseURL,
|
|
37329
37673
|
temperature: settings.temperature,
|
|
37330
37674
|
thinkingEnabled: settings.thinkingEnabled,
|
|
37331
|
-
reasoningEffort:
|
|
37675
|
+
reasoningEffort: gatedReasoningEffort,
|
|
37676
|
+
reasoningAdjusted,
|
|
37332
37677
|
debugLogEnabled: settings.debugLogEnabled,
|
|
37333
37678
|
telemetryEnabled: settings.telemetryEnabled,
|
|
37334
37679
|
notify: settings.notify,
|
|
@@ -37341,8 +37686,17 @@ function createOpenAIClient(projectRoot = process.cwd()) {
|
|
|
37341
37686
|
cachedOpenAI = new OpenAI({
|
|
37342
37687
|
apiKey,
|
|
37343
37688
|
baseURL: baseURL || void 0,
|
|
37344
|
-
//
|
|
37345
|
-
|
|
37689
|
+
// WP-27:统一走 transport-policy 的 gateway fetch——共享 dispatcher(环境代理
|
|
37690
|
+
// 政策与全局 fetch 同律)+ x-request-id 兜底 + 交换落定钩子(弱网延后暖机)。
|
|
37691
|
+
fetch: createGatewayFetch({ onExchangeSettled: noteGatewayExchangeSettled }),
|
|
37692
|
+
// WP-27 钉死(WP-01 移交登记):总请求超时显式 600s(SDK 默认同值·钉为有意
|
|
37693
|
+
// 决策;语义=非流式全程·流式到响应头——SDK fetchWithTimeout 于响应头到达
|
|
37694
|
+
// 即清钟,流式停滞判死在 dispatcher bodyTimeout=120s)。
|
|
37695
|
+
timeout: 6e5,
|
|
37696
|
+
// WP-27 钉死(WP-01 移交登记):maxRetries 显式 2(=SDK 默认·钉为有意决策)。
|
|
37697
|
+
// 重试放大倍数=1+2=3 次尝试/逻辑请求 × 网关侧 doubao 端点级重试(网关侧
|
|
37698
|
+
// 计数归 WP-01 矩阵口径)——CLI 侧放大从此有登记值,不再隐式漂移。
|
|
37699
|
+
maxRetries: 2,
|
|
37346
37700
|
// 设备指纹过渡双头(B1.2 验收裁定):x-ws-device 北辰新名 + x-sop-device
|
|
37347
37701
|
// 旧名兼容,网关两侧识别。getMachineId 失败兜底空串。
|
|
37348
37702
|
defaultHeaders: {
|
|
@@ -37364,7 +37718,8 @@ function createOpenAIClient(projectRoot = process.cwd()) {
|
|
|
37364
37718
|
baseURL,
|
|
37365
37719
|
temperature: settings.temperature,
|
|
37366
37720
|
thinkingEnabled: settings.thinkingEnabled,
|
|
37367
|
-
reasoningEffort:
|
|
37721
|
+
reasoningEffort: gatedReasoningEffort,
|
|
37722
|
+
reasoningAdjusted,
|
|
37368
37723
|
debugLogEnabled: settings.debugLogEnabled,
|
|
37369
37724
|
telemetryEnabled: settings.telemetryEnabled,
|
|
37370
37725
|
notify: settings.notify,
|
|
@@ -37378,6 +37733,7 @@ function resetClientCache() {
|
|
|
37378
37733
|
cachedOpenAI = null;
|
|
37379
37734
|
cachedOpenAIKey = "";
|
|
37380
37735
|
availableModelIds = [];
|
|
37736
|
+
cancelWarmup();
|
|
37381
37737
|
}
|
|
37382
37738
|
__name(resetClientCache, "resetClientCache");
|
|
37383
37739
|
function getMachineId() {
|
|
@@ -37399,7 +37755,7 @@ function getMachineId() {
|
|
|
37399
37755
|
}
|
|
37400
37756
|
__name(getMachineId, "getMachineId");
|
|
37401
37757
|
|
|
37402
|
-
//
|
|
37758
|
+
// ../core/src/mcp/servers/ws-vision-ocr-server.ts
|
|
37403
37759
|
var visionGatewayDispatcher = new import_undici2.Agent({ headersTimeout: 0, bodyTimeout: 0 });
|
|
37404
37760
|
var WS_VISION_SERVER_NAME2 = "ws_vision_ocr";
|
|
37405
37761
|
var WS_VISION_TOOL_PREFIX = "mcp__ws_vision_ocr__";
|
|
@@ -37855,6 +38211,12 @@ if (invokedPath && (path6.resolve(fileURLToPath2(import.meta.url)) === invokedPa
|
|
|
37855
38211
|
export {
|
|
37856
38212
|
getModelContextWindowTokens,
|
|
37857
38213
|
supportsMultimodal,
|
|
38214
|
+
WS_OUTPUT_ABSOLUTE_CEILING_TOKENS,
|
|
38215
|
+
resolveOutputBudget,
|
|
38216
|
+
parseTokenBudgetEnv,
|
|
38217
|
+
estimateMessagesTokens,
|
|
38218
|
+
estimateToolsTokens,
|
|
38219
|
+
buildContextBudgetReport,
|
|
37858
38220
|
WS_VISION_SERVER_NAME,
|
|
37859
38221
|
resolveBundledWsVisionServerLaunch,
|
|
37860
38222
|
isBundledWsVisionServerConfig,
|
|
@@ -37870,6 +38232,8 @@ export {
|
|
|
37870
38232
|
writeAuth,
|
|
37871
38233
|
clearAuth,
|
|
37872
38234
|
require_undici,
|
|
38235
|
+
gateReasoningEffort,
|
|
38236
|
+
getTransportMode,
|
|
37873
38237
|
getAvailableModelIds,
|
|
37874
38238
|
pickCommandModels,
|
|
37875
38239
|
createOpenAIClient,
|