@inkeep/agents-cli 0.0.0-dev-20251021214723 → 0.0.0-dev-20251021225215
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +252 -228
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -741,21 +741,21 @@ var init_dist = __esm({
|
|
|
741
741
|
}
|
|
742
742
|
});
|
|
743
743
|
|
|
744
|
-
// ../node_modules/.pnpm/hono@4.
|
|
744
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/url.js
|
|
745
745
|
var tryDecode, _decodeURI, _getQueryParam, getQueryParam, getQueryParams, decodeURIComponent_;
|
|
746
746
|
var init_url = __esm({
|
|
747
|
-
"../node_modules/.pnpm/hono@4.
|
|
747
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/url.js"() {
|
|
748
748
|
"use strict";
|
|
749
749
|
init_esm_shims();
|
|
750
750
|
tryDecode = (str, decoder) => {
|
|
751
751
|
try {
|
|
752
752
|
return decoder(str);
|
|
753
753
|
} catch {
|
|
754
|
-
return str.replace(/(?:%[0-9A-Fa-f]{2})+/g, (
|
|
754
|
+
return str.replace(/(?:%[0-9A-Fa-f]{2})+/g, (match2) => {
|
|
755
755
|
try {
|
|
756
|
-
return decoder(
|
|
756
|
+
return decoder(match2);
|
|
757
757
|
} catch {
|
|
758
|
-
return
|
|
758
|
+
return match2;
|
|
759
759
|
}
|
|
760
760
|
});
|
|
761
761
|
}
|
|
@@ -841,52 +841,52 @@ var init_url = __esm({
|
|
|
841
841
|
}
|
|
842
842
|
});
|
|
843
843
|
|
|
844
|
-
// ../node_modules/.pnpm/hono@4.
|
|
844
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/cookie.js
|
|
845
845
|
var init_cookie = __esm({
|
|
846
|
-
"../node_modules/.pnpm/hono@4.
|
|
846
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/cookie.js"() {
|
|
847
847
|
"use strict";
|
|
848
848
|
init_esm_shims();
|
|
849
849
|
init_url();
|
|
850
850
|
}
|
|
851
851
|
});
|
|
852
852
|
|
|
853
|
-
// ../node_modules/.pnpm/hono@4.
|
|
853
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/helper/cookie/index.js
|
|
854
854
|
var init_cookie2 = __esm({
|
|
855
|
-
"../node_modules/.pnpm/hono@4.
|
|
855
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/helper/cookie/index.js"() {
|
|
856
856
|
"use strict";
|
|
857
857
|
init_esm_shims();
|
|
858
858
|
init_cookie();
|
|
859
859
|
}
|
|
860
860
|
});
|
|
861
861
|
|
|
862
|
-
// ../node_modules/.pnpm/hono@4.
|
|
862
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/http-exception.js
|
|
863
863
|
var init_http_exception = __esm({
|
|
864
|
-
"../node_modules/.pnpm/hono@4.
|
|
864
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/http-exception.js"() {
|
|
865
865
|
"use strict";
|
|
866
866
|
init_esm_shims();
|
|
867
867
|
}
|
|
868
868
|
});
|
|
869
869
|
|
|
870
|
-
// ../node_modules/.pnpm/hono@4.
|
|
870
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/crypto.js
|
|
871
871
|
var init_crypto = __esm({
|
|
872
|
-
"../node_modules/.pnpm/hono@4.
|
|
872
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/crypto.js"() {
|
|
873
873
|
"use strict";
|
|
874
874
|
init_esm_shims();
|
|
875
875
|
}
|
|
876
876
|
});
|
|
877
877
|
|
|
878
|
-
// ../node_modules/.pnpm/hono@4.
|
|
878
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/buffer.js
|
|
879
879
|
var init_buffer = __esm({
|
|
880
|
-
"../node_modules/.pnpm/hono@4.
|
|
880
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/buffer.js"() {
|
|
881
881
|
"use strict";
|
|
882
882
|
init_esm_shims();
|
|
883
883
|
init_crypto();
|
|
884
884
|
}
|
|
885
885
|
});
|
|
886
886
|
|
|
887
|
-
// ../node_modules/.pnpm/hono@4.
|
|
887
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/validator/validator.js
|
|
888
888
|
var init_validator = __esm({
|
|
889
|
-
"../node_modules/.pnpm/hono@4.
|
|
889
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/validator/validator.js"() {
|
|
890
890
|
"use strict";
|
|
891
891
|
init_esm_shims();
|
|
892
892
|
init_cookie2();
|
|
@@ -895,43 +895,43 @@ var init_validator = __esm({
|
|
|
895
895
|
}
|
|
896
896
|
});
|
|
897
897
|
|
|
898
|
-
// ../node_modules/.pnpm/hono@4.
|
|
898
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/validator/index.js
|
|
899
899
|
var init_validator2 = __esm({
|
|
900
|
-
"../node_modules/.pnpm/hono@4.
|
|
900
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/validator/index.js"() {
|
|
901
901
|
"use strict";
|
|
902
902
|
init_esm_shims();
|
|
903
903
|
init_validator();
|
|
904
904
|
}
|
|
905
905
|
});
|
|
906
906
|
|
|
907
|
-
// ../node_modules/.pnpm/@hono+zod-validator@0.7.
|
|
907
|
+
// ../node_modules/.pnpm/@hono+zod-validator@0.7.4_hono@4.10.1_zod@4.1.12/node_modules/@hono/zod-validator/dist/index.js
|
|
908
908
|
var init_dist2 = __esm({
|
|
909
|
-
"../node_modules/.pnpm/@hono+zod-validator@0.7.
|
|
909
|
+
"../node_modules/.pnpm/@hono+zod-validator@0.7.4_hono@4.10.1_zod@4.1.12/node_modules/@hono/zod-validator/dist/index.js"() {
|
|
910
910
|
"use strict";
|
|
911
911
|
init_esm_shims();
|
|
912
912
|
init_validator2();
|
|
913
913
|
}
|
|
914
914
|
});
|
|
915
915
|
|
|
916
|
-
// ../node_modules/.pnpm/hono@4.
|
|
916
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/compose.js
|
|
917
917
|
var init_compose = __esm({
|
|
918
|
-
"../node_modules/.pnpm/hono@4.
|
|
918
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/compose.js"() {
|
|
919
919
|
"use strict";
|
|
920
920
|
init_esm_shims();
|
|
921
921
|
}
|
|
922
922
|
});
|
|
923
923
|
|
|
924
|
-
// ../node_modules/.pnpm/hono@4.
|
|
924
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/request/constants.js
|
|
925
925
|
var GET_MATCH_RESULT;
|
|
926
926
|
var init_constants = __esm({
|
|
927
|
-
"../node_modules/.pnpm/hono@4.
|
|
927
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/request/constants.js"() {
|
|
928
928
|
"use strict";
|
|
929
929
|
init_esm_shims();
|
|
930
930
|
GET_MATCH_RESULT = Symbol();
|
|
931
931
|
}
|
|
932
932
|
});
|
|
933
933
|
|
|
934
|
-
// ../node_modules/.pnpm/hono@4.
|
|
934
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/body.js
|
|
935
935
|
async function parseFormData(request, options) {
|
|
936
936
|
const formData = await request.formData();
|
|
937
937
|
if (formData) {
|
|
@@ -962,7 +962,7 @@ function convertFormDataToBodyData(formData, options) {
|
|
|
962
962
|
}
|
|
963
963
|
var parseBody, handleParsingAllValues, handleParsingNestedValues;
|
|
964
964
|
var init_body = __esm({
|
|
965
|
-
"../node_modules/.pnpm/hono@4.
|
|
965
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/body.js"() {
|
|
966
966
|
"use strict";
|
|
967
967
|
init_esm_shims();
|
|
968
968
|
init_request();
|
|
@@ -1008,12 +1008,13 @@ var init_body = __esm({
|
|
|
1008
1008
|
}
|
|
1009
1009
|
});
|
|
1010
1010
|
|
|
1011
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1011
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/request.js
|
|
1012
1012
|
var tryDecodeURIComponent, HonoRequest;
|
|
1013
1013
|
var init_request = __esm({
|
|
1014
|
-
"../node_modules/.pnpm/hono@4.
|
|
1014
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/request.js"() {
|
|
1015
1015
|
"use strict";
|
|
1016
1016
|
init_esm_shims();
|
|
1017
|
+
init_http_exception();
|
|
1017
1018
|
init_constants();
|
|
1018
1019
|
init_body();
|
|
1019
1020
|
init_url();
|
|
@@ -1129,17 +1130,17 @@ var init_request = __esm({
|
|
|
1129
1130
|
}
|
|
1130
1131
|
});
|
|
1131
1132
|
|
|
1132
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1133
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/html.js
|
|
1133
1134
|
var init_html = __esm({
|
|
1134
|
-
"../node_modules/.pnpm/hono@4.
|
|
1135
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/html.js"() {
|
|
1135
1136
|
"use strict";
|
|
1136
1137
|
init_esm_shims();
|
|
1137
1138
|
}
|
|
1138
1139
|
});
|
|
1139
1140
|
|
|
1140
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1141
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/context.js
|
|
1141
1142
|
var init_context = __esm({
|
|
1142
|
-
"../node_modules/.pnpm/hono@4.
|
|
1143
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/context.js"() {
|
|
1143
1144
|
"use strict";
|
|
1144
1145
|
init_esm_shims();
|
|
1145
1146
|
init_request();
|
|
@@ -1147,25 +1148,25 @@ var init_context = __esm({
|
|
|
1147
1148
|
}
|
|
1148
1149
|
});
|
|
1149
1150
|
|
|
1150
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1151
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router.js
|
|
1151
1152
|
var init_router = __esm({
|
|
1152
|
-
"../node_modules/.pnpm/hono@4.
|
|
1153
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router.js"() {
|
|
1153
1154
|
"use strict";
|
|
1154
1155
|
init_esm_shims();
|
|
1155
1156
|
}
|
|
1156
1157
|
});
|
|
1157
1158
|
|
|
1158
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1159
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/constants.js
|
|
1159
1160
|
var init_constants2 = __esm({
|
|
1160
|
-
"../node_modules/.pnpm/hono@4.
|
|
1161
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/utils/constants.js"() {
|
|
1161
1162
|
"use strict";
|
|
1162
1163
|
init_esm_shims();
|
|
1163
1164
|
}
|
|
1164
1165
|
});
|
|
1165
1166
|
|
|
1166
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1167
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/hono-base.js
|
|
1167
1168
|
var init_hono_base = __esm({
|
|
1168
|
-
"../node_modules/.pnpm/hono@4.
|
|
1169
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/hono-base.js"() {
|
|
1169
1170
|
"use strict";
|
|
1170
1171
|
init_esm_shims();
|
|
1171
1172
|
init_compose();
|
|
@@ -1176,10 +1177,19 @@ var init_hono_base = __esm({
|
|
|
1176
1177
|
}
|
|
1177
1178
|
});
|
|
1178
1179
|
|
|
1179
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1180
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/matcher.js
|
|
1181
|
+
var init_matcher = __esm({
|
|
1182
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/matcher.js"() {
|
|
1183
|
+
"use strict";
|
|
1184
|
+
init_esm_shims();
|
|
1185
|
+
init_router();
|
|
1186
|
+
}
|
|
1187
|
+
});
|
|
1188
|
+
|
|
1189
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
1180
1190
|
var PATH_ERROR, regExpMetaChars;
|
|
1181
1191
|
var init_node = __esm({
|
|
1182
|
-
"../node_modules/.pnpm/hono@4.
|
|
1192
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/node.js"() {
|
|
1183
1193
|
"use strict";
|
|
1184
1194
|
init_esm_shims();
|
|
1185
1195
|
PATH_ERROR = Symbol();
|
|
@@ -1187,57 +1197,70 @@ var init_node = __esm({
|
|
|
1187
1197
|
}
|
|
1188
1198
|
});
|
|
1189
1199
|
|
|
1190
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1200
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
1191
1201
|
var init_trie = __esm({
|
|
1192
|
-
"../node_modules/.pnpm/hono@4.
|
|
1202
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/trie.js"() {
|
|
1193
1203
|
"use strict";
|
|
1194
1204
|
init_esm_shims();
|
|
1195
1205
|
init_node();
|
|
1196
1206
|
}
|
|
1197
1207
|
});
|
|
1198
1208
|
|
|
1199
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1209
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/router.js
|
|
1200
1210
|
var init_router2 = __esm({
|
|
1201
|
-
"../node_modules/.pnpm/hono@4.
|
|
1211
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/router.js"() {
|
|
1202
1212
|
"use strict";
|
|
1203
1213
|
init_esm_shims();
|
|
1204
1214
|
init_router();
|
|
1205
1215
|
init_url();
|
|
1216
|
+
init_matcher();
|
|
1206
1217
|
init_node();
|
|
1207
1218
|
init_trie();
|
|
1208
1219
|
}
|
|
1209
1220
|
});
|
|
1210
1221
|
|
|
1211
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1222
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/prepared-router.js
|
|
1223
|
+
var init_prepared_router = __esm({
|
|
1224
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/prepared-router.js"() {
|
|
1225
|
+
"use strict";
|
|
1226
|
+
init_esm_shims();
|
|
1227
|
+
init_router();
|
|
1228
|
+
init_matcher();
|
|
1229
|
+
init_router2();
|
|
1230
|
+
}
|
|
1231
|
+
});
|
|
1232
|
+
|
|
1233
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/index.js
|
|
1212
1234
|
var init_reg_exp_router = __esm({
|
|
1213
|
-
"../node_modules/.pnpm/hono@4.
|
|
1235
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/reg-exp-router/index.js"() {
|
|
1214
1236
|
"use strict";
|
|
1215
1237
|
init_esm_shims();
|
|
1216
1238
|
init_router2();
|
|
1239
|
+
init_prepared_router();
|
|
1217
1240
|
}
|
|
1218
1241
|
});
|
|
1219
1242
|
|
|
1220
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1243
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/smart-router/router.js
|
|
1221
1244
|
var init_router3 = __esm({
|
|
1222
|
-
"../node_modules/.pnpm/hono@4.
|
|
1245
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/smart-router/router.js"() {
|
|
1223
1246
|
"use strict";
|
|
1224
1247
|
init_esm_shims();
|
|
1225
1248
|
init_router();
|
|
1226
1249
|
}
|
|
1227
1250
|
});
|
|
1228
1251
|
|
|
1229
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1252
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/smart-router/index.js
|
|
1230
1253
|
var init_smart_router = __esm({
|
|
1231
|
-
"../node_modules/.pnpm/hono@4.
|
|
1254
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/smart-router/index.js"() {
|
|
1232
1255
|
"use strict";
|
|
1233
1256
|
init_esm_shims();
|
|
1234
1257
|
init_router3();
|
|
1235
1258
|
}
|
|
1236
1259
|
});
|
|
1237
1260
|
|
|
1238
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1261
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/trie-router/node.js
|
|
1239
1262
|
var init_node2 = __esm({
|
|
1240
|
-
"../node_modules/.pnpm/hono@4.
|
|
1263
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/trie-router/node.js"() {
|
|
1241
1264
|
"use strict";
|
|
1242
1265
|
init_esm_shims();
|
|
1243
1266
|
init_router();
|
|
@@ -1245,9 +1268,9 @@ var init_node2 = __esm({
|
|
|
1245
1268
|
}
|
|
1246
1269
|
});
|
|
1247
1270
|
|
|
1248
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1271
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/trie-router/router.js
|
|
1249
1272
|
var init_router4 = __esm({
|
|
1250
|
-
"../node_modules/.pnpm/hono@4.
|
|
1273
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/trie-router/router.js"() {
|
|
1251
1274
|
"use strict";
|
|
1252
1275
|
init_esm_shims();
|
|
1253
1276
|
init_url();
|
|
@@ -1255,18 +1278,18 @@ var init_router4 = __esm({
|
|
|
1255
1278
|
}
|
|
1256
1279
|
});
|
|
1257
1280
|
|
|
1258
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1281
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/trie-router/index.js
|
|
1259
1282
|
var init_trie_router = __esm({
|
|
1260
|
-
"../node_modules/.pnpm/hono@4.
|
|
1283
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/router/trie-router/index.js"() {
|
|
1261
1284
|
"use strict";
|
|
1262
1285
|
init_esm_shims();
|
|
1263
1286
|
init_router4();
|
|
1264
1287
|
}
|
|
1265
1288
|
});
|
|
1266
1289
|
|
|
1267
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1290
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/hono.js
|
|
1268
1291
|
var init_hono = __esm({
|
|
1269
|
-
"../node_modules/.pnpm/hono@4.
|
|
1292
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/hono.js"() {
|
|
1270
1293
|
"use strict";
|
|
1271
1294
|
init_esm_shims();
|
|
1272
1295
|
init_hono_base();
|
|
@@ -1276,19 +1299,19 @@ var init_hono = __esm({
|
|
|
1276
1299
|
}
|
|
1277
1300
|
});
|
|
1278
1301
|
|
|
1279
|
-
// ../node_modules/.pnpm/hono@4.
|
|
1302
|
+
// ../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/index.js
|
|
1280
1303
|
var init_dist3 = __esm({
|
|
1281
|
-
"../node_modules/.pnpm/hono@4.
|
|
1304
|
+
"../node_modules/.pnpm/hono@4.10.1/node_modules/hono/dist/index.js"() {
|
|
1282
1305
|
"use strict";
|
|
1283
1306
|
init_esm_shims();
|
|
1284
1307
|
init_hono();
|
|
1285
1308
|
}
|
|
1286
1309
|
});
|
|
1287
1310
|
|
|
1288
|
-
// ../node_modules/.pnpm/@hono+zod-openapi@1.1.
|
|
1311
|
+
// ../node_modules/.pnpm/@hono+zod-openapi@1.1.4_hono@4.10.1_zod@4.1.12/node_modules/@hono/zod-openapi/dist/index.js
|
|
1289
1312
|
import { z as z2 } from "zod";
|
|
1290
1313
|
var init_dist4 = __esm({
|
|
1291
|
-
"../node_modules/.pnpm/@hono+zod-openapi@1.1.
|
|
1314
|
+
"../node_modules/.pnpm/@hono+zod-openapi@1.1.4_hono@4.10.1_zod@4.1.12/node_modules/@hono/zod-openapi/dist/index.js"() {
|
|
1292
1315
|
"use strict";
|
|
1293
1316
|
init_esm_shims();
|
|
1294
1317
|
init_dist();
|
|
@@ -5027,16 +5050,16 @@ var require_util = __commonJS({
|
|
|
5027
5050
|
var urlRegexp = /^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;
|
|
5028
5051
|
var dataUrlRegexp = /^data:.+\,.+$/;
|
|
5029
5052
|
function urlParse(aUrl) {
|
|
5030
|
-
var
|
|
5031
|
-
if (!
|
|
5053
|
+
var match2 = aUrl.match(urlRegexp);
|
|
5054
|
+
if (!match2) {
|
|
5032
5055
|
return null;
|
|
5033
5056
|
}
|
|
5034
5057
|
return {
|
|
5035
|
-
scheme:
|
|
5036
|
-
auth:
|
|
5037
|
-
host:
|
|
5038
|
-
port:
|
|
5039
|
-
path:
|
|
5058
|
+
scheme: match2[1],
|
|
5059
|
+
auth: match2[2],
|
|
5060
|
+
host: match2[3],
|
|
5061
|
+
port: match2[4],
|
|
5062
|
+
path: match2[5]
|
|
5040
5063
|
};
|
|
5041
5064
|
}
|
|
5042
5065
|
exports.urlParse = urlParse;
|
|
@@ -6834,8 +6857,8 @@ var require_source_map_support = __commonJS({
|
|
|
6834
6857
|
function supportRelativeURL(file, url) {
|
|
6835
6858
|
if (!file) return url;
|
|
6836
6859
|
var dir = path4.dirname(file);
|
|
6837
|
-
var
|
|
6838
|
-
var protocol =
|
|
6860
|
+
var match2 = /^\w+:\/\/[^\/]*/.exec(dir);
|
|
6861
|
+
var protocol = match2 ? match2[0] : "";
|
|
6839
6862
|
var startPath = dir.slice(protocol.length);
|
|
6840
6863
|
if (protocol && /^\/\w\:/.test(startPath)) {
|
|
6841
6864
|
protocol += "/";
|
|
@@ -6860,8 +6883,8 @@ var require_source_map_support = __commonJS({
|
|
|
6860
6883
|
}
|
|
6861
6884
|
fileData = retrieveFile(source);
|
|
6862
6885
|
var re2 = /(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/mg;
|
|
6863
|
-
var lastMatch,
|
|
6864
|
-
while (
|
|
6886
|
+
var lastMatch, match2;
|
|
6887
|
+
while (match2 = re2.exec(fileData)) lastMatch = match2;
|
|
6865
6888
|
if (!lastMatch) return null;
|
|
6866
6889
|
return lastMatch[1];
|
|
6867
6890
|
}
|
|
@@ -6924,18 +6947,18 @@ var require_source_map_support = __commonJS({
|
|
|
6924
6947
|
return position;
|
|
6925
6948
|
}
|
|
6926
6949
|
function mapEvalOrigin(origin) {
|
|
6927
|
-
var
|
|
6928
|
-
if (
|
|
6950
|
+
var match2 = /^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(origin);
|
|
6951
|
+
if (match2) {
|
|
6929
6952
|
var position = mapSourcePosition({
|
|
6930
|
-
source:
|
|
6931
|
-
line: +
|
|
6932
|
-
column:
|
|
6953
|
+
source: match2[2],
|
|
6954
|
+
line: +match2[3],
|
|
6955
|
+
column: match2[4] - 1
|
|
6933
6956
|
});
|
|
6934
|
-
return "eval at " +
|
|
6957
|
+
return "eval at " + match2[1] + " (" + position.source + ":" + position.line + ":" + (position.column + 1) + ")";
|
|
6935
6958
|
}
|
|
6936
|
-
|
|
6937
|
-
if (
|
|
6938
|
-
return "eval at " +
|
|
6959
|
+
match2 = /^eval at ([^(]+) \((.+)\)$/.exec(origin);
|
|
6960
|
+
if (match2) {
|
|
6961
|
+
return "eval at " + match2[1] + " (" + mapEvalOrigin(match2[2]) + ")";
|
|
6939
6962
|
}
|
|
6940
6963
|
return origin;
|
|
6941
6964
|
}
|
|
@@ -7083,11 +7106,11 @@ var require_source_map_support = __commonJS({
|
|
|
7083
7106
|
return errorString + processedStack.reverse().join("");
|
|
7084
7107
|
}
|
|
7085
7108
|
function getErrorSource(error) {
|
|
7086
|
-
var
|
|
7087
|
-
if (
|
|
7088
|
-
var source =
|
|
7089
|
-
var line = +
|
|
7090
|
-
var column = +
|
|
7109
|
+
var match2 = /\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(error.stack);
|
|
7110
|
+
if (match2) {
|
|
7111
|
+
var source = match2[1];
|
|
7112
|
+
var line = +match2[2];
|
|
7113
|
+
var column = +match2[3];
|
|
7091
7114
|
var contents = fileContentsCache[source];
|
|
7092
7115
|
if (!contents && fs5 && fs5.existsSync(source)) {
|
|
7093
7116
|
try {
|
|
@@ -11195,8 +11218,8 @@ Node ${formatSyntaxKind(node.kind)} was unexpected.`,
|
|
|
11195
11218
|
return func.name;
|
|
11196
11219
|
} else {
|
|
11197
11220
|
const text4 = Function.prototype.toString.call(func);
|
|
11198
|
-
const
|
|
11199
|
-
return
|
|
11221
|
+
const match2 = /^function\s+([\w$]+)\s*\(/.exec(text4);
|
|
11222
|
+
return match2 ? match2[1] : "";
|
|
11200
11223
|
}
|
|
11201
11224
|
}
|
|
11202
11225
|
Debug2.getFunctionName = getFunctionName;
|
|
@@ -12060,9 +12083,9 @@ ${lanes.join("\n")}
|
|
|
12060
12083
|
_Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
12061
12084
|
var Version = _Version;
|
|
12062
12085
|
function tryParseComponents(text4) {
|
|
12063
|
-
const
|
|
12064
|
-
if (!
|
|
12065
|
-
const [, major2, minor = "0", patch = "0", prerelease = "", build2 = ""] =
|
|
12086
|
+
const match2 = versionRegExp.exec(text4);
|
|
12087
|
+
if (!match2) return void 0;
|
|
12088
|
+
const [, major2, minor = "0", patch = "0", prerelease = "", build2 = ""] = match2;
|
|
12066
12089
|
if (prerelease && !prereleaseRegExp.test(prerelease)) return void 0;
|
|
12067
12090
|
if (build2 && !buildRegExp.test(build2)) return void 0;
|
|
12068
12091
|
return {
|
|
@@ -12131,13 +12154,13 @@ ${lanes.join("\n")}
|
|
|
12131
12154
|
if (!range) continue;
|
|
12132
12155
|
const comparators = [];
|
|
12133
12156
|
range = range.trim();
|
|
12134
|
-
const
|
|
12135
|
-
if (
|
|
12136
|
-
if (!parseHyphen(
|
|
12157
|
+
const match2 = hyphenRegExp.exec(range);
|
|
12158
|
+
if (match2) {
|
|
12159
|
+
if (!parseHyphen(match2[1], match2[2], comparators)) return void 0;
|
|
12137
12160
|
} else {
|
|
12138
12161
|
for (const simple of range.split(whitespaceRegExp)) {
|
|
12139
|
-
const
|
|
12140
|
-
if (!
|
|
12162
|
+
const match22 = rangeRegExp.exec(simple.trim());
|
|
12163
|
+
if (!match22 || !parseComparator(match22[1], match22[2], comparators)) return void 0;
|
|
12141
12164
|
}
|
|
12142
12165
|
}
|
|
12143
12166
|
alternatives.push(comparators);
|
|
@@ -12145,9 +12168,9 @@ ${lanes.join("\n")}
|
|
|
12145
12168
|
return alternatives;
|
|
12146
12169
|
}
|
|
12147
12170
|
function parsePartial(text4) {
|
|
12148
|
-
const
|
|
12149
|
-
if (!
|
|
12150
|
-
const [, major2, minor = "*", patch = "*", prerelease, build2] =
|
|
12171
|
+
const match2 = partialRegExp.exec(text4);
|
|
12172
|
+
if (!match2) return void 0;
|
|
12173
|
+
const [, major2, minor = "*", patch = "*", prerelease, build2] = match2;
|
|
12151
12174
|
const version2 = new Version(
|
|
12152
12175
|
isWildcard(major2) ? 0 : parseInt(major2, 10),
|
|
12153
12176
|
isWildcard(major2) || isWildcard(minor) ? 0 : parseInt(minor, 10),
|
|
@@ -19613,9 +19636,9 @@ ${lanes.join("\n")}
|
|
|
19613
19636
|
);
|
|
19614
19637
|
}
|
|
19615
19638
|
function getShebang(text4) {
|
|
19616
|
-
const
|
|
19617
|
-
if (
|
|
19618
|
-
return
|
|
19639
|
+
const match2 = shebangTriviaRegex.exec(text4);
|
|
19640
|
+
if (match2) {
|
|
19641
|
+
return match2[0];
|
|
19619
19642
|
}
|
|
19620
19643
|
}
|
|
19621
19644
|
function isIdentifierStart(ch, languageVersion) {
|
|
@@ -21883,11 +21906,11 @@ ${lanes.join("\n")}
|
|
|
21883
21906
|
);
|
|
21884
21907
|
}
|
|
21885
21908
|
function getDirectiveFromComment(text22, commentDirectiveRegEx) {
|
|
21886
|
-
const
|
|
21887
|
-
if (!
|
|
21909
|
+
const match2 = commentDirectiveRegEx.exec(text22);
|
|
21910
|
+
if (!match2) {
|
|
21888
21911
|
return void 0;
|
|
21889
21912
|
}
|
|
21890
|
-
switch (
|
|
21913
|
+
switch (match2[1]) {
|
|
21891
21914
|
case "ts-expect-error":
|
|
21892
21915
|
return 0;
|
|
21893
21916
|
case "ts-ignore":
|
|
@@ -30068,8 +30091,8 @@ ${lanes.join("\n")}
|
|
|
30068
30091
|
function regExpEscape(text4) {
|
|
30069
30092
|
return text4.replace(reservedCharacterPattern, escapeRegExpCharacter);
|
|
30070
30093
|
}
|
|
30071
|
-
function escapeRegExpCharacter(
|
|
30072
|
-
return "\\" +
|
|
30094
|
+
function escapeRegExpCharacter(match2) {
|
|
30095
|
+
return "\\" + match2;
|
|
30073
30096
|
}
|
|
30074
30097
|
var wildcardCharCodes = [
|
|
30075
30098
|
42,
|
|
@@ -30091,7 +30114,7 @@ ${lanes.join("\n")}
|
|
|
30091
30114
|
* files or directories, does not match subdirectories that start with a . character
|
|
30092
30115
|
*/
|
|
30093
30116
|
doubleAsteriskRegexFragment: `(?:/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,
|
|
30094
|
-
replaceWildcardCharacter: (
|
|
30117
|
+
replaceWildcardCharacter: (match2) => replaceWildcardCharacter(match2, filesMatcher.singleAsteriskRegexFragment)
|
|
30095
30118
|
};
|
|
30096
30119
|
var directoriesMatcher = {
|
|
30097
30120
|
singleAsteriskRegexFragment: "[^/]*",
|
|
@@ -30100,12 +30123,12 @@ ${lanes.join("\n")}
|
|
|
30100
30123
|
* files or directories, does not match subdirectories that start with a . character
|
|
30101
30124
|
*/
|
|
30102
30125
|
doubleAsteriskRegexFragment: `(?:/${implicitExcludePathRegexPattern}[^/.][^/]*)*?`,
|
|
30103
|
-
replaceWildcardCharacter: (
|
|
30126
|
+
replaceWildcardCharacter: (match2) => replaceWildcardCharacter(match2, directoriesMatcher.singleAsteriskRegexFragment)
|
|
30104
30127
|
};
|
|
30105
30128
|
var excludeMatcher = {
|
|
30106
30129
|
singleAsteriskRegexFragment: "[^/]*",
|
|
30107
30130
|
doubleAsteriskRegexFragment: "(?:/.+?)?",
|
|
30108
|
-
replaceWildcardCharacter: (
|
|
30131
|
+
replaceWildcardCharacter: (match2) => replaceWildcardCharacter(match2, excludeMatcher.singleAsteriskRegexFragment)
|
|
30109
30132
|
};
|
|
30110
30133
|
var wildcardMatchers = {
|
|
30111
30134
|
files: filesMatcher,
|
|
@@ -30184,8 +30207,8 @@ ${lanes.join("\n")}
|
|
|
30184
30207
|
}
|
|
30185
30208
|
return subpattern;
|
|
30186
30209
|
}
|
|
30187
|
-
function replaceWildcardCharacter(
|
|
30188
|
-
return
|
|
30210
|
+
function replaceWildcardCharacter(match2, singleAsteriskRegexFragment) {
|
|
30211
|
+
return match2 === "*" ? singleAsteriskRegexFragment : match2 === "?" ? "[^/]" : "\\" + match2;
|
|
30189
30212
|
}
|
|
30190
30213
|
function getFileMatcherPatterns(path4, excludes, includes, useCaseSensitiveFileNames2, currentDirectory) {
|
|
30191
30214
|
path4 = normalizePath(path4);
|
|
@@ -30500,8 +30523,8 @@ ${lanes.join("\n")}
|
|
|
30500
30523
|
return false;
|
|
30501
30524
|
}
|
|
30502
30525
|
function numberOfDirectorySeparators(str) {
|
|
30503
|
-
const
|
|
30504
|
-
return
|
|
30526
|
+
const match2 = str.match(/\//g);
|
|
30527
|
+
return match2 ? match2.length : 0;
|
|
30505
30528
|
}
|
|
30506
30529
|
function compareNumberOfDirectorySeparators(path1, path22) {
|
|
30507
30530
|
return compareValues(
|
|
@@ -50840,14 +50863,14 @@ ${lanes.join("\n")}
|
|
|
50840
50863
|
}
|
|
50841
50864
|
}
|
|
50842
50865
|
}
|
|
50843
|
-
function addPragmaForMatch(pragmas, range, kind,
|
|
50844
|
-
if (!
|
|
50845
|
-
const name =
|
|
50866
|
+
function addPragmaForMatch(pragmas, range, kind, match2) {
|
|
50867
|
+
if (!match2) return;
|
|
50868
|
+
const name = match2[1].toLowerCase();
|
|
50846
50869
|
const pragma = commentPragmas[name];
|
|
50847
50870
|
if (!pragma || !(pragma.kind & kind)) {
|
|
50848
50871
|
return;
|
|
50849
50872
|
}
|
|
50850
|
-
const args =
|
|
50873
|
+
const args = match2[2];
|
|
50851
50874
|
const argument = getNamedPragmaArguments(pragma, args);
|
|
50852
50875
|
if (argument === "fail") return;
|
|
50853
50876
|
pragmas.push({ name, args: { arguments: argument, range } });
|
|
@@ -54251,9 +54274,9 @@ ${lanes.join("\n")}
|
|
|
54251
54274
|
if (excludeRegex && excludeRegex.test(spec)) {
|
|
54252
54275
|
continue;
|
|
54253
54276
|
}
|
|
54254
|
-
const
|
|
54255
|
-
if (
|
|
54256
|
-
const { key, path: path4, flags } =
|
|
54277
|
+
const match2 = getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames2);
|
|
54278
|
+
if (match2) {
|
|
54279
|
+
const { key, path: path4, flags } = match2;
|
|
54257
54280
|
const existingPath = wildCardKeyToPath.get(key);
|
|
54258
54281
|
const existingFlags = existingPath !== void 0 ? wildcardDirectories[existingPath] : void 0;
|
|
54259
54282
|
if (existingFlags === void 0 || existingFlags < flags) {
|
|
@@ -54282,14 +54305,14 @@ ${lanes.join("\n")}
|
|
|
54282
54305
|
return useCaseSensitiveFileNames2 ? path4 : toFileNameLowerCase(path4);
|
|
54283
54306
|
}
|
|
54284
54307
|
function getWildcardDirectoryFromSpec(spec, useCaseSensitiveFileNames2) {
|
|
54285
|
-
const
|
|
54286
|
-
if (
|
|
54308
|
+
const match2 = wildcardDirectoryPattern.exec(spec);
|
|
54309
|
+
if (match2) {
|
|
54287
54310
|
const questionWildcardIndex = spec.indexOf("?");
|
|
54288
54311
|
const starWildcardIndex = spec.indexOf("*");
|
|
54289
54312
|
const lastDirectorySeperatorIndex = spec.lastIndexOf(directorySeparator);
|
|
54290
54313
|
return {
|
|
54291
|
-
key: toCanonicalKey(
|
|
54292
|
-
path:
|
|
54314
|
+
key: toCanonicalKey(match2[0], useCaseSensitiveFileNames2),
|
|
54315
|
+
path: match2[0],
|
|
54293
54316
|
flags: questionWildcardIndex !== -1 && questionWildcardIndex < lastDirectorySeperatorIndex || starWildcardIndex !== -1 && starWildcardIndex < lastDirectorySeperatorIndex ? 1 : 0
|
|
54294
54317
|
/* None */
|
|
54295
54318
|
};
|
|
@@ -74312,7 +74335,7 @@ ${lanes.join("\n")}
|
|
|
74312
74335
|
}
|
|
74313
74336
|
let result;
|
|
74314
74337
|
for (let i2 = 0; i2 < signatureLists.length; i2++) {
|
|
74315
|
-
const
|
|
74338
|
+
const match2 = i2 === listIndex ? signature : findMatchingSignature(
|
|
74316
74339
|
signatureLists[i2],
|
|
74317
74340
|
signature,
|
|
74318
74341
|
/*partialMatch*/
|
|
@@ -74331,10 +74354,10 @@ ${lanes.join("\n")}
|
|
|
74331
74354
|
/*ignoreReturnTypes*/
|
|
74332
74355
|
true
|
|
74333
74356
|
);
|
|
74334
|
-
if (!
|
|
74357
|
+
if (!match2) {
|
|
74335
74358
|
return void 0;
|
|
74336
74359
|
}
|
|
74337
|
-
result = appendIfUnique(result,
|
|
74360
|
+
result = appendIfUnique(result, match2);
|
|
74338
74361
|
}
|
|
74339
74362
|
return result;
|
|
74340
74363
|
}
|
|
@@ -77828,9 +77851,9 @@ ${lanes.join("\n")}
|
|
|
77828
77851
|
return types;
|
|
77829
77852
|
}
|
|
77830
77853
|
const id = getTypeListId(types);
|
|
77831
|
-
const
|
|
77832
|
-
if (
|
|
77833
|
-
return
|
|
77854
|
+
const match2 = subtypeReductionCache.get(id);
|
|
77855
|
+
if (match2) {
|
|
77856
|
+
return match2;
|
|
77834
77857
|
}
|
|
77835
77858
|
const hasEmptyObject = hasObjectTypes && some(types, (t2) => !!(t2.flags & 524288) && !isGenericMappedType(t2) && isEmptyResolvedType(resolveStructuredTypeMembers(t2)));
|
|
77836
77859
|
const len = types.length;
|
|
@@ -82122,11 +82145,11 @@ ${lanes.join("\n")}
|
|
|
82122
82145
|
const primitive = source2.flags & 128 ? stringType : source2.flags & 256 ? numberType : source2.flags & 2048 ? bigintType : void 0;
|
|
82123
82146
|
return primitive && containsType(targetTypes, primitive) || alternateForm && containsType(targetTypes, alternateForm) ? -1 : 0;
|
|
82124
82147
|
}
|
|
82125
|
-
const
|
|
82126
|
-
if (
|
|
82148
|
+
const match2 = getMatchingUnionConstituentForType(target2, source2);
|
|
82149
|
+
if (match2) {
|
|
82127
82150
|
const related = isRelatedTo(
|
|
82128
82151
|
source2,
|
|
82129
|
-
|
|
82152
|
+
match2,
|
|
82130
82153
|
2,
|
|
82131
82154
|
/*reportErrors*/
|
|
82132
82155
|
false,
|
|
@@ -108838,9 +108861,9 @@ ${lanes.join("\n")}
|
|
|
108838
108861
|
}
|
|
108839
108862
|
function findMatchingDiscriminantType(source, target, isRelatedTo) {
|
|
108840
108863
|
if (target.flags & 1048576 && source.flags & (2097152 | 524288)) {
|
|
108841
|
-
const
|
|
108842
|
-
if (
|
|
108843
|
-
return
|
|
108864
|
+
const match2 = getMatchingUnionConstituentForType(target, source);
|
|
108865
|
+
if (match2) {
|
|
108866
|
+
return match2;
|
|
108844
108867
|
}
|
|
108845
108868
|
const sourceProperties = getPropertiesOfType(source);
|
|
108846
108869
|
if (sourceProperties) {
|
|
@@ -123758,14 +123781,14 @@ ${lanes.join("\n")}
|
|
|
123758
123781
|
return acc === void 0 ? decoded : acc + " " + decoded;
|
|
123759
123782
|
}
|
|
123760
123783
|
function decodeEntities(text4) {
|
|
123761
|
-
return text4.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g, (
|
|
123784
|
+
return text4.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g, (match2, _all, _number, _digits, decimal, hex, word) => {
|
|
123762
123785
|
if (decimal) {
|
|
123763
123786
|
return utf16EncodeAsString(parseInt(decimal, 10));
|
|
123764
123787
|
} else if (hex) {
|
|
123765
123788
|
return utf16EncodeAsString(parseInt(hex, 16));
|
|
123766
123789
|
} else {
|
|
123767
123790
|
const ch = entities.get(word);
|
|
123768
|
-
return ch ? utf16EncodeAsString(ch) :
|
|
123791
|
+
return ch ? utf16EncodeAsString(ch) : match2;
|
|
123769
123792
|
}
|
|
123770
123793
|
});
|
|
123771
123794
|
}
|
|
@@ -160098,31 +160121,31 @@ ${lanes.join("\n")}
|
|
|
160098
160121
|
const tripleSlashXMLCommentRegEx = /^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/m;
|
|
160099
160122
|
const attributeRegex = /(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/g;
|
|
160100
160123
|
const text4 = sourceFile.text.substr(start, width);
|
|
160101
|
-
const
|
|
160102
|
-
if (!
|
|
160124
|
+
const match2 = tripleSlashXMLCommentRegEx.exec(text4);
|
|
160125
|
+
if (!match2) {
|
|
160103
160126
|
return false;
|
|
160104
160127
|
}
|
|
160105
|
-
if (!
|
|
160128
|
+
if (!match2[3] || !(match2[3] in commentPragmas)) {
|
|
160106
160129
|
return false;
|
|
160107
160130
|
}
|
|
160108
160131
|
let pos = start;
|
|
160109
|
-
pushCommentRange(pos,
|
|
160110
|
-
pos +=
|
|
160132
|
+
pushCommentRange(pos, match2[1].length);
|
|
160133
|
+
pos += match2[1].length;
|
|
160111
160134
|
pushClassification(
|
|
160112
160135
|
pos,
|
|
160113
|
-
|
|
160136
|
+
match2[2].length,
|
|
160114
160137
|
10
|
|
160115
160138
|
/* punctuation */
|
|
160116
160139
|
);
|
|
160117
|
-
pos +=
|
|
160140
|
+
pos += match2[2].length;
|
|
160118
160141
|
pushClassification(
|
|
160119
160142
|
pos,
|
|
160120
|
-
|
|
160143
|
+
match2[3].length,
|
|
160121
160144
|
21
|
|
160122
160145
|
/* jsxSelfClosingTagName */
|
|
160123
160146
|
);
|
|
160124
|
-
pos +=
|
|
160125
|
-
const attrText =
|
|
160147
|
+
pos += match2[3].length;
|
|
160148
|
+
const attrText = match2[4];
|
|
160126
160149
|
let attrPos = pos;
|
|
160127
160150
|
while (true) {
|
|
160128
160151
|
const attrMatch = attributeRegex.exec(attrText);
|
|
@@ -160164,18 +160187,18 @@ ${lanes.join("\n")}
|
|
|
160164
160187
|
);
|
|
160165
160188
|
attrPos += attrMatch[6].length;
|
|
160166
160189
|
}
|
|
160167
|
-
pos +=
|
|
160190
|
+
pos += match2[4].length;
|
|
160168
160191
|
if (pos > attrPos) {
|
|
160169
160192
|
pushCommentRange(attrPos, pos - attrPos);
|
|
160170
160193
|
}
|
|
160171
|
-
if (
|
|
160194
|
+
if (match2[5]) {
|
|
160172
160195
|
pushClassification(
|
|
160173
160196
|
pos,
|
|
160174
|
-
|
|
160197
|
+
match2[5].length,
|
|
160175
160198
|
10
|
|
160176
160199
|
/* punctuation */
|
|
160177
160200
|
);
|
|
160178
|
-
pos +=
|
|
160201
|
+
pos += match2[5].length;
|
|
160179
160202
|
}
|
|
160180
160203
|
const end = start + width;
|
|
160181
160204
|
if (pos < end) {
|
|
@@ -161360,8 +161383,8 @@ ${lanes.join("\n")}
|
|
|
161360
161383
|
(ch) => ch !== 32 && ch !== 42
|
|
161361
161384
|
/* asterisk */
|
|
161362
161385
|
)) {
|
|
161363
|
-
const
|
|
161364
|
-
if (
|
|
161386
|
+
const match2 = matchTextChunk(candidate, segment.totalTextChunk, stringToWordSpans);
|
|
161387
|
+
if (match2) return match2;
|
|
161365
161388
|
}
|
|
161366
161389
|
const subWordTextChunks = segment.subWordTextChunks;
|
|
161367
161390
|
let bestMatch;
|
|
@@ -162021,10 +162044,10 @@ ${lanes.join("\n")}
|
|
|
162021
162044
|
function getDocumentPositionMapper(host, generatedFileName, generatedFileLineInfo, readMapFile) {
|
|
162022
162045
|
let mapFileName = tryGetSourceMappingURL(generatedFileLineInfo);
|
|
162023
162046
|
if (mapFileName) {
|
|
162024
|
-
const
|
|
162025
|
-
if (
|
|
162026
|
-
if (
|
|
162027
|
-
const base64Object =
|
|
162047
|
+
const match2 = base64UrlRegExp.exec(mapFileName);
|
|
162048
|
+
if (match2) {
|
|
162049
|
+
if (match2[1]) {
|
|
162050
|
+
const base64Object = match2[1];
|
|
162028
162051
|
return convertDocumentToSourceMapper(host, base64decode(sys, base64Object), generatedFileName);
|
|
162029
162052
|
}
|
|
162030
162053
|
mapFileName = void 0;
|
|
@@ -162491,8 +162514,8 @@ interface Symbol {
|
|
|
162491
162514
|
return file !== singleCurrentFile && excludeLibFiles && (isInsideNodeModules(file.path) || file.hasNoDefaultLib);
|
|
162492
162515
|
}
|
|
162493
162516
|
function getItemsFromNamedDeclaration(patternMatcher, name, declarations, checker, fileName, excludeLibFiles, singleCurrentFile, rawItems) {
|
|
162494
|
-
const
|
|
162495
|
-
if (!
|
|
162517
|
+
const match2 = patternMatcher.getMatchForLastSegmentOfPattern(name);
|
|
162518
|
+
if (!match2) {
|
|
162496
162519
|
return;
|
|
162497
162520
|
}
|
|
162498
162521
|
for (const declaration of declarations) {
|
|
@@ -162503,7 +162526,7 @@ interface Symbol {
|
|
|
162503
162526
|
rawItems.push({ name, fileName, matchKind: fullMatch.kind, isCaseSensitive: fullMatch.isCaseSensitive, declaration });
|
|
162504
162527
|
}
|
|
162505
162528
|
} else {
|
|
162506
|
-
rawItems.push({ name, fileName, matchKind:
|
|
162529
|
+
rawItems.push({ name, fileName, matchKind: match2.kind, isCaseSensitive: match2.isCaseSensitive, declaration });
|
|
162507
162530
|
}
|
|
162508
162531
|
}
|
|
162509
162532
|
}
|
|
@@ -166777,12 +166800,12 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
166777
166800
|
function getOccurrencesInExpression(matchTo, expression) {
|
|
166778
166801
|
const occurrences = [];
|
|
166779
166802
|
while (isBinaryExpression(expression) && expression.operatorToken.kind === 56) {
|
|
166780
|
-
const
|
|
166781
|
-
if (!
|
|
166803
|
+
const match2 = getMatchingStart(skipParentheses(matchTo), skipParentheses(expression.right));
|
|
166804
|
+
if (!match2) {
|
|
166782
166805
|
break;
|
|
166783
166806
|
}
|
|
166784
|
-
occurrences.push(
|
|
166785
|
-
matchTo =
|
|
166807
|
+
occurrences.push(match2);
|
|
166808
|
+
matchTo = match2;
|
|
166786
166809
|
expression = expression.left;
|
|
166787
166810
|
}
|
|
166788
166811
|
const finalMatch = getMatchingStart(matchTo, expression);
|
|
@@ -170757,8 +170780,8 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
170757
170780
|
const sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
|
|
170758
170781
|
const token = getTouchingToken(sourceFile, position);
|
|
170759
170782
|
const matchKind = token.getStart(sourceFile) === position ? braceMatching.get(token.kind.toString()) : void 0;
|
|
170760
|
-
const
|
|
170761
|
-
return
|
|
170783
|
+
const match2 = matchKind && findChildOfKind(token.parent, matchKind, sourceFile);
|
|
170784
|
+
return match2 ? [createTextSpanFromNode(token, sourceFile), createTextSpanFromNode(match2, sourceFile)].sort((a, b2) => a.start - b2.start) : emptyArray;
|
|
170762
170785
|
}
|
|
170763
170786
|
function getIndentationAtPosition(fileName, position, editorOptions) {
|
|
170764
170787
|
let start = timestamp();
|
|
@@ -171513,14 +171536,14 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
171513
171536
|
}
|
|
171514
171537
|
return spanInNode(otherwiseOnNode);
|
|
171515
171538
|
}
|
|
171516
|
-
function spanInNodeArray(nodeArray, node,
|
|
171539
|
+
function spanInNodeArray(nodeArray, node, match2) {
|
|
171517
171540
|
if (nodeArray) {
|
|
171518
171541
|
const index2 = nodeArray.indexOf(node);
|
|
171519
171542
|
if (index2 >= 0) {
|
|
171520
171543
|
let start = index2;
|
|
171521
171544
|
let end = index2 + 1;
|
|
171522
|
-
while (start > 0 &&
|
|
171523
|
-
while (end < nodeArray.length &&
|
|
171545
|
+
while (start > 0 && match2(nodeArray[start - 1])) start--;
|
|
171546
|
+
while (end < nodeArray.length && match2(nodeArray[end])) end++;
|
|
171524
171547
|
return createTextSpanFromBounds(skipTrivia(sourceFile.text, nodeArray[start].pos), nodeArray[end - 1].end);
|
|
171525
171548
|
}
|
|
171526
171549
|
}
|
|
@@ -188755,12 +188778,12 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
188755
188778
|
function stringLiteralCompletionDetails(name, location, completion, sourceFile, checker, cancellationToken) {
|
|
188756
188779
|
switch (completion.kind) {
|
|
188757
188780
|
case 0: {
|
|
188758
|
-
const
|
|
188759
|
-
return
|
|
188781
|
+
const match2 = find(completion.paths, (p10) => p10.name === name);
|
|
188782
|
+
return match2 && createCompletionDetails(name, kindModifiersFromExtension(match2.extension), match2.kind, [textPart(name)]);
|
|
188760
188783
|
}
|
|
188761
188784
|
case 1: {
|
|
188762
|
-
const
|
|
188763
|
-
return
|
|
188785
|
+
const match2 = find(completion.symbols, (s2) => s2.name === name);
|
|
188786
|
+
return match2 && createCompletionDetailsForSymbol(match2, match2.name, checker, sourceFile, location, cancellationToken);
|
|
188764
188787
|
}
|
|
188765
188788
|
case 2:
|
|
188766
188789
|
return find(completion.types, (t2) => t2.value === name) ? createCompletionDetails(name, "", "string", [textPart(name)]) : void 0;
|
|
@@ -189534,8 +189557,8 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
189534
189557
|
/*exclude*/
|
|
189535
189558
|
void 0,
|
|
189536
189559
|
includeGlobs
|
|
189537
|
-
), (
|
|
189538
|
-
const trimmedWithPattern = trimPrefixAndSuffix(
|
|
189560
|
+
), (match2) => {
|
|
189561
|
+
const trimmedWithPattern = trimPrefixAndSuffix(match2, completePrefix);
|
|
189539
189562
|
if (trimmedWithPattern) {
|
|
189540
189563
|
if (containsSlash(trimmedWithPattern)) {
|
|
189541
189564
|
return directoryResult(getPathComponents(removeLeadingDirectorySeparator(trimmedWithPattern))[1]);
|
|
@@ -189579,11 +189602,11 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
|
|
|
189579
189602
|
return void 0;
|
|
189580
189603
|
}
|
|
189581
189604
|
const text4 = sourceFile.text.slice(range.pos, position);
|
|
189582
|
-
const
|
|
189583
|
-
if (!
|
|
189605
|
+
const match2 = tripleSlashDirectiveFragmentRegex.exec(text4);
|
|
189606
|
+
if (!match2) {
|
|
189584
189607
|
return void 0;
|
|
189585
189608
|
}
|
|
189586
|
-
const [, prefix, kind, toComplete] =
|
|
189609
|
+
const [, prefix, kind, toComplete] = match2;
|
|
189587
189610
|
const scriptPath = getDirectoryPath(sourceFile.path);
|
|
189588
189611
|
const names = kind === "path" ? getCompletionEntriesForDirectoryFragment(
|
|
189589
189612
|
toComplete,
|
|
@@ -215166,8 +215189,8 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
215166
215189
|
}
|
|
215167
215190
|
const noDtsProgram = ls.getProgram();
|
|
215168
215191
|
const fileToSearch = Debug.checkDefined(noDtsProgram.getSourceFile(fileNameToSearch));
|
|
215169
|
-
for (const
|
|
215170
|
-
definitionSet.add(
|
|
215192
|
+
for (const match2 of searchForDeclaration(candidate.name, fileToSearch, noDtsProgram)) {
|
|
215193
|
+
definitionSet.add(match2);
|
|
215171
215194
|
}
|
|
215172
215195
|
}
|
|
215173
215196
|
}
|
|
@@ -215254,9 +215277,9 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
215254
215277
|
}
|
|
215255
215278
|
function searchForDeclaration(declarationName, fileToSearch, noDtsProgram) {
|
|
215256
215279
|
const matches = ts_FindAllReferences_exports.Core.getTopMostDeclarationNamesInFile(declarationName, fileToSearch);
|
|
215257
|
-
return mapDefined(matches, (
|
|
215258
|
-
const symbol = noDtsProgram.getTypeChecker().getSymbolAtLocation(
|
|
215259
|
-
const decl = getDeclarationFromName(
|
|
215280
|
+
return mapDefined(matches, (match2) => {
|
|
215281
|
+
const symbol = noDtsProgram.getTypeChecker().getSymbolAtLocation(match2);
|
|
215282
|
+
const decl = getDeclarationFromName(match2);
|
|
215260
215283
|
if (symbol && decl) {
|
|
215261
215284
|
return ts_GoToDefinition_exports.createDefinitionInfo(
|
|
215262
215285
|
decl,
|
|
@@ -218058,11 +218081,11 @@ var init_index_node = __esm({
|
|
|
218058
218081
|
}
|
|
218059
218082
|
});
|
|
218060
218083
|
|
|
218061
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
218084
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
218062
218085
|
import { z as z5 } from "zod";
|
|
218063
218086
|
var JSONRPC_VERSION, ProgressTokenSchema, CursorSchema, RequestMetaSchema, BaseRequestParamsSchema, RequestSchema, BaseNotificationParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, JSONRPCNotificationSchema, JSONRPCResponseSchema, ErrorCode, JSONRPCErrorSchema, JSONRPCMessageSchema, EmptyResultSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, ClientCapabilitiesSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationSchema, PaginatedRequestSchema, PaginatedResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, SamplingMessageSchema, CreateMessageRequestSchema, CreateMessageResultSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema;
|
|
218064
218087
|
var init_types2 = __esm({
|
|
218065
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
218088
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js"() {
|
|
218066
218089
|
"use strict";
|
|
218067
218090
|
init_esm_shims();
|
|
218068
218091
|
JSONRPC_VERSION = "2.0";
|
|
@@ -218998,11 +219021,11 @@ var init_types2 = __esm({
|
|
|
218998
219021
|
}
|
|
218999
219022
|
});
|
|
219000
219023
|
|
|
219001
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219024
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js
|
|
219002
219025
|
import { z as z6 } from "zod";
|
|
219003
|
-
var SafeUrlSchema, OAuthProtectedResourceMetadataSchema, OAuthMetadataSchema, OpenIdProviderMetadataSchema, OpenIdProviderDiscoveryMetadataSchema, OAuthTokensSchema, OAuthErrorResponseSchema, OAuthClientMetadataSchema, OAuthClientInformationSchema, OAuthClientInformationFullSchema, OAuthClientRegistrationErrorSchema, OAuthTokenRevocationRequestSchema;
|
|
219026
|
+
var SafeUrlSchema, OAuthProtectedResourceMetadataSchema, OAuthMetadataSchema, OpenIdProviderMetadataSchema, OpenIdProviderDiscoveryMetadataSchema, OAuthTokensSchema, OAuthErrorResponseSchema, OptionalSafeUrlSchema, OAuthClientMetadataSchema, OAuthClientInformationSchema, OAuthClientInformationFullSchema, OAuthClientRegistrationErrorSchema, OAuthTokenRevocationRequestSchema;
|
|
219004
219027
|
var init_auth = __esm({
|
|
219005
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219028
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js"() {
|
|
219006
219029
|
"use strict";
|
|
219007
219030
|
init_esm_shims();
|
|
219008
219031
|
SafeUrlSchema = z6.string().url().superRefine((val, ctx) => {
|
|
@@ -219108,6 +219131,7 @@ var init_auth = __esm({
|
|
|
219108
219131
|
error_description: z6.string().optional(),
|
|
219109
219132
|
error_uri: z6.string().optional()
|
|
219110
219133
|
});
|
|
219134
|
+
OptionalSafeUrlSchema = SafeUrlSchema.optional().or(z6.literal("").transform(() => void 0));
|
|
219111
219135
|
OAuthClientMetadataSchema = z6.object({
|
|
219112
219136
|
redirect_uris: z6.array(SafeUrlSchema),
|
|
219113
219137
|
token_endpoint_auth_method: z6.string().optional(),
|
|
@@ -219115,10 +219139,10 @@ var init_auth = __esm({
|
|
|
219115
219139
|
response_types: z6.array(z6.string()).optional(),
|
|
219116
219140
|
client_name: z6.string().optional(),
|
|
219117
219141
|
client_uri: SafeUrlSchema.optional(),
|
|
219118
|
-
logo_uri:
|
|
219142
|
+
logo_uri: OptionalSafeUrlSchema,
|
|
219119
219143
|
scope: z6.string().optional(),
|
|
219120
219144
|
contacts: z6.array(z6.string()).optional(),
|
|
219121
|
-
tos_uri:
|
|
219145
|
+
tos_uri: OptionalSafeUrlSchema,
|
|
219122
219146
|
policy_uri: z6.string().optional(),
|
|
219123
219147
|
jwks_uri: SafeUrlSchema.optional(),
|
|
219124
219148
|
jwks: z6.any().optional(),
|
|
@@ -219144,18 +219168,18 @@ var init_auth = __esm({
|
|
|
219144
219168
|
}
|
|
219145
219169
|
});
|
|
219146
219170
|
|
|
219147
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219171
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js
|
|
219148
219172
|
var init_auth_utils = __esm({
|
|
219149
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219173
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js"() {
|
|
219150
219174
|
"use strict";
|
|
219151
219175
|
init_esm_shims();
|
|
219152
219176
|
}
|
|
219153
219177
|
});
|
|
219154
219178
|
|
|
219155
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219179
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js
|
|
219156
219180
|
var OAuthError, InvalidRequestError, InvalidClientError, InvalidGrantError, UnauthorizedClientError, UnsupportedGrantTypeError, InvalidScopeError, AccessDeniedError, ServerError, TemporarilyUnavailableError, UnsupportedResponseTypeError, UnsupportedTokenTypeError, InvalidTokenError, MethodNotAllowedError, TooManyRequestsError, InvalidClientMetadataError, InsufficientScopeError, OAUTH_ERRORS;
|
|
219157
219181
|
var init_errors = __esm({
|
|
219158
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219182
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js"() {
|
|
219159
219183
|
"use strict";
|
|
219160
219184
|
init_esm_shims();
|
|
219161
219185
|
OAuthError = class extends Error {
|
|
@@ -219250,9 +219274,9 @@ var init_errors = __esm({
|
|
|
219250
219274
|
}
|
|
219251
219275
|
});
|
|
219252
219276
|
|
|
219253
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219277
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js
|
|
219254
219278
|
var init_auth2 = __esm({
|
|
219255
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219279
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js"() {
|
|
219256
219280
|
"use strict";
|
|
219257
219281
|
init_esm_shims();
|
|
219258
219282
|
init_index_node();
|
|
@@ -219446,9 +219470,9 @@ var init_execution = __esm({
|
|
|
219446
219470
|
}
|
|
219447
219471
|
});
|
|
219448
219472
|
|
|
219449
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219473
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
219450
219474
|
var init_protocol = __esm({
|
|
219451
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
219475
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js"() {
|
|
219452
219476
|
"use strict";
|
|
219453
219477
|
init_esm_shims();
|
|
219454
219478
|
init_types2();
|
|
@@ -225716,10 +225740,10 @@ var require_ajv = __commonJS({
|
|
|
225716
225740
|
}
|
|
225717
225741
|
});
|
|
225718
225742
|
|
|
225719
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
225743
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js
|
|
225720
225744
|
var import_ajv;
|
|
225721
225745
|
var init_client2 = __esm({
|
|
225722
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
225746
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js"() {
|
|
225723
225747
|
"use strict";
|
|
225724
225748
|
init_esm_shims();
|
|
225725
225749
|
init_protocol();
|
|
@@ -225728,9 +225752,9 @@ var init_client2 = __esm({
|
|
|
225728
225752
|
}
|
|
225729
225753
|
});
|
|
225730
225754
|
|
|
225731
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
225755
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js
|
|
225732
225756
|
var init_sse = __esm({
|
|
225733
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
225757
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/sse.js"() {
|
|
225734
225758
|
"use strict";
|
|
225735
225759
|
init_esm_shims();
|
|
225736
225760
|
init_types2();
|
|
@@ -225738,9 +225762,9 @@ var init_sse = __esm({
|
|
|
225738
225762
|
}
|
|
225739
225763
|
});
|
|
225740
225764
|
|
|
225741
|
-
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
225765
|
+
// ../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js
|
|
225742
225766
|
var init_streamableHttp = __esm({
|
|
225743
|
-
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.
|
|
225767
|
+
"../node_modules/.pnpm/@modelcontextprotocol+sdk@1.20.1/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js"() {
|
|
225744
225768
|
"use strict";
|
|
225745
225769
|
init_esm_shims();
|
|
225746
225770
|
init_types2();
|
|
@@ -233778,27 +233802,27 @@ var init_memory_store = __esm({
|
|
|
233778
233802
|
}
|
|
233779
233803
|
});
|
|
233780
233804
|
|
|
233781
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233805
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/version.js
|
|
233782
233806
|
var init_version2 = __esm({
|
|
233783
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233807
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/version.js"() {
|
|
233784
233808
|
"use strict";
|
|
233785
233809
|
init_esm_shims();
|
|
233786
233810
|
}
|
|
233787
233811
|
});
|
|
233788
233812
|
|
|
233789
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233813
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/utils.js
|
|
233790
233814
|
var init_utils2 = __esm({
|
|
233791
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233815
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/utils.js"() {
|
|
233792
233816
|
"use strict";
|
|
233793
233817
|
init_esm_shims();
|
|
233794
233818
|
init_version2();
|
|
233795
233819
|
}
|
|
233796
233820
|
});
|
|
233797
233821
|
|
|
233798
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233822
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/types.js
|
|
233799
233823
|
var SyncConfigType;
|
|
233800
233824
|
var init_types4 = __esm({
|
|
233801
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233825
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/types.js"() {
|
|
233802
233826
|
"use strict";
|
|
233803
233827
|
init_esm_shims();
|
|
233804
233828
|
(function(SyncConfigType2) {
|
|
@@ -233808,12 +233832,12 @@ var init_types4 = __esm({
|
|
|
233808
233832
|
}
|
|
233809
233833
|
});
|
|
233810
233834
|
|
|
233811
|
-
// ../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233835
|
+
// ../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/index.js
|
|
233812
233836
|
import crypto5 from "crypto";
|
|
233813
233837
|
import https from "https";
|
|
233814
233838
|
var defaultHttpsAgent;
|
|
233815
233839
|
var init_dist6 = __esm({
|
|
233816
|
-
"../node_modules/.pnpm/@nangohq+node@0.69.
|
|
233840
|
+
"../node_modules/.pnpm/@nangohq+node@0.69.4/node_modules/@nangohq/node/dist/index.js"() {
|
|
233817
233841
|
"use strict";
|
|
233818
233842
|
init_esm_shims();
|
|
233819
233843
|
init_utils2();
|
|
@@ -233877,11 +233901,11 @@ var require_main = __commonJS({
|
|
|
233877
233901
|
const env3 = { ...runningParsed, ...processEnv };
|
|
233878
233902
|
const regex = /(?<!\\)\${([^{}]+)}|(?<!\\)\$([A-Za-z_][A-Za-z0-9_]*)/g;
|
|
233879
233903
|
let result = value;
|
|
233880
|
-
let
|
|
233904
|
+
let match2;
|
|
233881
233905
|
const seen = /* @__PURE__ */ new Set();
|
|
233882
|
-
while ((
|
|
233906
|
+
while ((match2 = regex.exec(result)) !== null) {
|
|
233883
233907
|
seen.add(result);
|
|
233884
|
-
const [template, bracedExpression, unbracedExpression] =
|
|
233908
|
+
const [template, bracedExpression, unbracedExpression] = match2;
|
|
233885
233909
|
const expression = bracedExpression || unbracedExpression;
|
|
233886
233910
|
const opRegex = /(:\+|\+|:-|-)/;
|
|
233887
233911
|
const opMatch = expression.match(opRegex);
|
|
@@ -235858,9 +235882,9 @@ function updateEnvironmentIndexTemplate(environmentsDir, newEnvironment) {
|
|
|
235858
235882
|
if (existsSync12(indexPath)) {
|
|
235859
235883
|
const existingContent = readFileSync8(indexPath, "utf-8");
|
|
235860
235884
|
const importRegex = /import\s+{\s*(\w+)\s*}\s+from\s+['"]\.\/([\w-]+)\.env['"];?/g;
|
|
235861
|
-
let
|
|
235862
|
-
while ((
|
|
235863
|
-
const envName =
|
|
235885
|
+
let match2;
|
|
235886
|
+
while ((match2 = importRegex.exec(existingContent)) !== null) {
|
|
235887
|
+
const envName = match2[2];
|
|
235864
235888
|
if (!existingEnvironments.includes(envName)) {
|
|
235865
235889
|
existingEnvironments.push(envName);
|
|
235866
235890
|
}
|
|
@@ -235930,9 +235954,9 @@ async function updateEnvironmentIndex(environmentsDir, environment) {
|
|
|
235930
235954
|
if (existsSync12(indexPath)) {
|
|
235931
235955
|
existingContent = readFileSync8(indexPath, "utf-8");
|
|
235932
235956
|
const importRegex = /import\s+{\s*(\w+)\s*}\s+from\s+['"]\.\/([\w-]+)\.env['"];?/g;
|
|
235933
|
-
let
|
|
235934
|
-
while ((
|
|
235935
|
-
const envName =
|
|
235957
|
+
let match2;
|
|
235958
|
+
while ((match2 = importRegex.exec(existingContent)) !== null) {
|
|
235959
|
+
const envName = match2[2];
|
|
235936
235960
|
if (!existingEnvironments.includes(envName)) {
|
|
235937
235961
|
existingEnvironments.push(envName);
|
|
235938
235962
|
}
|
|
@@ -236719,9 +236743,9 @@ function extractVariableMappings(code, filePath) {
|
|
|
236719
236743
|
];
|
|
236720
236744
|
patterns.forEach((pattern, index2) => {
|
|
236721
236745
|
const matches = code.matchAll(pattern);
|
|
236722
|
-
for (const
|
|
236723
|
-
const variableName =
|
|
236724
|
-
const id =
|
|
236746
|
+
for (const match2 of matches) {
|
|
236747
|
+
const variableName = match2[1];
|
|
236748
|
+
const id = match2[2] || match2[3];
|
|
236725
236749
|
if (variableName && id) {
|
|
236726
236750
|
mappings.push({
|
|
236727
236751
|
id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251021225215",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
"recast": "^0.23.0",
|
|
49
49
|
"ts-morph": "^26.0.0",
|
|
50
50
|
"tsx": "^4.20.5",
|
|
51
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
52
|
-
"@inkeep/agents-sdk": "^0.0.0-dev-
|
|
51
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251021225215",
|
|
52
|
+
"@inkeep/agents-sdk": "^0.0.0-dev-20251021225215"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/degit": "^2.8.6",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"vitest": "^3.2.4"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@inkeep/agents-manage-ui": "0.0.0-dev-
|
|
65
|
+
"@inkeep/agents-manage-ui": "0.0.0-dev-20251021225215",
|
|
66
66
|
"zod": "^4.1.11"
|
|
67
67
|
},
|
|
68
68
|
"engines": {
|