@wirecat/zoom-cli 0.79.0 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/answer-output.d.ts +1 -1
- package/dist/answer-output.js +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-LDSHUH5W.js → all-profiles-5GOKWOT4.js} +6 -6
- package/dist/bundle/answer-policy-7PYXHK2I.js +122 -0
- package/dist/bundle/{anthropic-UH3QWA3F.js → anthropic-NHXMOFYS.js} +2 -2
- package/dist/bundle/{app-server-LFANTLAJ.js → app-server-HFW5Z5PI.js} +58 -58
- package/dist/bundle/{bun-M3J2QTR3.js → bun-M5IGY2TG.js} +2 -2
- package/dist/bundle/{bun-sqlite-NYP5UH23.js → bun-sqlite-MTP5JJQ2.js} +3 -3
- package/dist/bundle/{chunk-OLMEJNL4.js → chunk-2P6MQH4V.js} +5 -5
- package/dist/bundle/{chunk-4BQN5IFQ.js → chunk-2XZ2YKW4.js} +3 -3
- package/dist/bundle/{chunk-PP6SZLCY.js → chunk-3AOESMW6.js} +27 -17
- package/dist/bundle/{chunk-3AFZ6Q5N.js → chunk-3BTRJYIT.js} +9 -9
- package/dist/bundle/{chunk-W7HM2VGO.js → chunk-3UONR5HW.js} +1 -1
- package/dist/bundle/{chunk-2N57GL4L.js → chunk-3Z7CFQTI.js} +1 -1
- package/dist/bundle/{chunk-X2M6NIQG.js → chunk-475P3LWG.js} +1 -1
- package/dist/bundle/{chunk-2PUMYKGV.js → chunk-4F7Q5CET.js} +15 -15
- package/dist/bundle/{chunk-HZRQLAHO.js → chunk-4OAR7BGU.js} +1 -1
- package/dist/bundle/{chunk-FO5UNFFN.js → chunk-5CJ6AAUI.js} +2 -2
- package/dist/bundle/{chunk-65DOVVHQ.js → chunk-5K54M6RD.js} +1 -1
- package/dist/bundle/{chunk-E5WLE7BM.js → chunk-5QXQIZJY.js} +1 -1
- package/dist/bundle/{chunk-I6VDTYML.js → chunk-5XO2AY6D.js} +6 -6
- package/dist/bundle/{chunk-XFMVDQ6J.js → chunk-6CDMGT6Q.js} +1 -1
- package/dist/bundle/{chunk-ND7TBQKO.js → chunk-6I4C4ZFT.js} +1 -1
- package/dist/bundle/{chunk-Y4UDPQ3L.js → chunk-6LY4LBSD.js} +5 -5
- package/dist/bundle/{chunk-ZKVYV25H.js → chunk-6MDL2LZA.js} +5 -5
- package/dist/bundle/{chunk-NQMHYLZO.js → chunk-6PIXP5IH.js} +18 -18
- package/dist/bundle/{chunk-DFCHHR5M.js → chunk-6QCBTBDA.js} +1 -1
- package/dist/bundle/{chunk-SGFNQFP4.js → chunk-75JW7X2W.js} +29 -29
- package/dist/bundle/{chunk-W5HRTC6X.js → chunk-7U5X37TE.js} +5 -5
- package/dist/bundle/{chunk-WE4UFASG.js → chunk-A3TUG2DP.js} +1 -1
- package/dist/bundle/{chunk-4T3J4NCF.js → chunk-ARL2TTPZ.js} +7 -7
- package/dist/bundle/{chunk-YCW422X7.js → chunk-BIKHHFD2.js} +414 -358
- package/dist/bundle/{chunk-3QPAD6YI.js → chunk-BPSURRAD.js} +5 -5
- package/dist/bundle/{chunk-M4RXPZ6K.js → chunk-BRMV33MO.js} +2 -2
- package/dist/bundle/{chunk-2LJARGNG.js → chunk-BW5JEOBE.js} +10 -10
- package/dist/bundle/{chunk-GTUBQQU2.js → chunk-CHEHK6IW.js} +55 -55
- package/dist/bundle/{chunk-5KEOCHBZ.js → chunk-CW6CPQHI.js} +3 -3
- package/dist/bundle/{chunk-BTFPDS52.js → chunk-CWCDCNXA.js} +5 -5
- package/dist/bundle/{chunk-M5FW654Z.js → chunk-D4HKTC2T.js} +1 -1
- package/dist/bundle/{chunk-2OTETB4A.js → chunk-DYRISFHZ.js} +4 -4
- package/dist/bundle/{chunk-2IPIBDXI.js → chunk-DZ6H3YJH.js} +10 -10
- package/dist/bundle/{chunk-XDBGGOE2.js → chunk-E3JVLVVB.js} +26 -24
- package/dist/bundle/{chunk-XAOSZGTD.js → chunk-EI37UXDR.js} +1 -1
- package/dist/bundle/{chunk-YOBTKYIX.js → chunk-EMYRUJCV.js} +34 -11
- package/dist/bundle/{chunk-HOXBHGP2.js → chunk-EPIA2UUM.js} +9 -9
- package/dist/bundle/{chunk-JJGUHWLB.js → chunk-FSLR2YGR.js} +6 -6
- package/dist/bundle/{chunk-7DTWT7BN.js → chunk-G5VH4WUF.js} +1 -1
- package/dist/bundle/{chunk-AWLZZTPW.js → chunk-GCPO7T2X.js} +2 -2
- package/dist/bundle/{chunk-W656MRJD.js → chunk-GCUOZ2OA.js} +4 -4
- package/dist/bundle/{chunk-2W6QGFHF.js → chunk-GGKEQQME.js} +5 -5
- package/dist/bundle/{chunk-BOVYOUB3.js → chunk-GRYXOSN6.js} +7 -7
- package/dist/bundle/{chunk-XOYMIEAZ.js → chunk-GVKZZT7E.js} +2 -2
- package/dist/bundle/{chunk-UQKVZFIX.js → chunk-HGSBLY6M.js} +11 -11
- package/dist/bundle/{chunk-Y64L7A7E.js → chunk-HH7GR6TN.js} +2 -2
- package/dist/bundle/{chunk-XEIL6VNA.js → chunk-IQWBGMCR.js} +3 -3
- package/dist/bundle/{chunk-TUECY6LV.js → chunk-JGSVWLL2.js} +1 -1
- package/dist/bundle/{chunk-P4WHDL2F.js → chunk-JJX4HKDV.js} +3 -3
- package/dist/bundle/{chunk-QRKSASGP.js → chunk-JXSEH64A.js} +2 -2
- package/dist/bundle/{chunk-LCCVEX4R.js → chunk-K672XJ2P.js} +10 -10
- package/dist/bundle/{chunk-I75KOOUD.js → chunk-L2TURFT6.js} +1 -1
- package/dist/bundle/{chunk-N5O3XVX3.js → chunk-L6FM5RQY.js} +2 -2
- package/dist/bundle/{chunk-RUE3WP7K.js → chunk-M4LAF627.js} +43 -21
- package/dist/bundle/{chunk-J62BQBVG.js → chunk-MH4L5LL6.js} +2 -2
- package/dist/bundle/{chunk-NKFEEY5M.js → chunk-N5YUHN6S.js} +10 -10
- package/dist/bundle/{chunk-PJFVE7UH.js → chunk-NMETTKCV.js} +30 -15
- package/dist/bundle/{chunk-P4MZOAPC.js → chunk-NRVMK5H3.js} +537 -400
- package/dist/bundle/{chunk-2GI63IPV.js → chunk-NXFKZFTC.js} +2 -2
- package/dist/bundle/{chunk-VX6ZSKXM.js → chunk-O4ZBFATF.js} +10 -10
- package/dist/bundle/{chunk-63WT3HCY.js → chunk-OXPHJEJ2.js} +1 -1
- package/dist/bundle/{chunk-RMQ7EALU.js → chunk-P2JTVRGU.js} +16 -16
- package/dist/bundle/{chunk-NI7UYGTF.js → chunk-PKW3TPNP.js} +11 -11
- package/dist/bundle/{chunk-525BI32C.js → chunk-PMO2Z6DQ.js} +2 -2
- package/dist/bundle/{chunk-U7QXC75C.js → chunk-Q5LUGY2V.js} +5 -5
- package/dist/bundle/{chunk-QX3PO5UE.js → chunk-Q6MISDKJ.js} +2 -2
- package/dist/bundle/{chunk-4S7RUA3U.js → chunk-RFXJLG5V.js} +7420 -7177
- package/dist/bundle/{chunk-TP7GDWVF.js → chunk-RT7C3SSJ.js} +1 -1
- package/dist/bundle/{chunk-DQVCCO7G.js → chunk-SUG6YGAF.js} +168 -154
- package/dist/bundle/{chunk-HVQVCGME.js → chunk-TDBVM2SS.js} +1 -1
- package/dist/bundle/{chunk-RJ5JAYNZ.js → chunk-TMYZKDQ7.js} +61 -61
- package/dist/bundle/{chunk-73L5R7AS.js → chunk-TNL3YQ33.js} +1 -1
- package/dist/bundle/{chunk-IIFRJV3A.js → chunk-U5N2PKKM.js} +2 -2
- package/dist/bundle/{chunk-AZB6QXZU.js → chunk-UX4JZMA4.js} +24 -2
- package/dist/bundle/{chunk-W53EJOFQ.js → chunk-VN7TKMOW.js} +1 -1
- package/dist/bundle/{chunk-FMT4CIGN.js → chunk-W2QDYMAM.js} +5 -5
- package/dist/bundle/{chunk-LITZ7KPO.js → chunk-W32HK7KG.js} +2 -2
- package/dist/bundle/{chunk-FKA7DOCK.js → chunk-W3GZ7JUO.js} +1 -1
- package/dist/bundle/{chunk-52ZQ72HL.js → chunk-W7M4JYEE.js} +1 -1
- package/dist/bundle/{chunk-DI5JX4SD.js → chunk-XKLU5KV2.js} +1 -1
- package/dist/bundle/{chunk-TLO62ROR.js → chunk-XL4ND7CZ.js} +23 -23
- package/dist/bundle/{chunk-D264RGZ4.js → chunk-XTCAWNBP.js} +4 -4
- package/dist/bundle/{chunk-OZQSTX4J.js → chunk-YAA2D6RP.js} +3 -3
- package/dist/bundle/{chunk-T6LA664Z.js → chunk-YR5TRWT2.js} +15 -15
- package/dist/bundle/{cli-AVQU63FT.js → cli-QNBYDOKV.js} +69 -67
- package/dist/bundle/command-contract-CT6MV6YG.js +45 -0
- package/dist/bundle/{command-server-entry-JZP7Y73G.js → command-server-entry-WMA4SWJ5.js} +28 -28
- package/dist/bundle/config-ZFQFDEVL.js +109 -0
- package/dist/bundle/{decode-JLAYH7GC.js → decode-7PXUXNIP.js} +2 -2
- package/dist/bundle/{dist-TBLTUL5M.js → dist-TSBH4FOU.js} +15 -15
- package/dist/bundle/{echarts-FVTUDXDU.js → echarts-WIDIUEO6.js} +2 -2
- package/dist/bundle/{embed-CJRENDF7.js → embed-EIRVQF5E.js} +3 -3
- package/dist/bundle/{embedder-RPE67QJD.js → embedder-MXPM6OXK.js} +6 -6
- package/dist/bundle/{first-run-QEASX5J5.js → first-run-K6EHRAIM.js} +6 -6
- package/dist/bundle/first-screen-C6AF4KT4.js +45 -0
- package/dist/bundle/{instructions-HET7BCYK.js → instructions-D5LNE6NJ.js} +1 -1
- package/dist/bundle/{main-QRJ6NRCD.js → main-OHW5Z56X.js} +15 -15
- package/dist/bundle/{meeting-combined-AZXCDXCV.js → meeting-combined-3OKFXZNA.js} +11 -11
- package/dist/bundle/{meeting-model-7HNQ4I3J.js → meeting-model-4XNF725D.js} +8 -8
- package/dist/bundle/{meeting-semantic-4MURLQCA.js → meeting-semantic-FYOVY4S2.js} +2 -2
- package/dist/bundle/{meetings-QFZWKHI4.js → meetings-WI4SXPBJ.js} +1 -1
- package/dist/bundle/{node-CXZIFHZC.js → node-UEWUFR7N.js} +2 -2
- package/dist/bundle/{node-sqlite-CZPYFROO.js → node-sqlite-FJWKJHYU.js} +4 -4
- package/dist/bundle/{oauth-T45MPIZF.js → oauth-KOONTGLW.js} +4 -4
- package/dist/bundle/{open-3AONZFET.js → open-EFYTWUGC.js} +2 -2
- package/dist/bundle/{openai-LHWUXEBO.js → openai-6Y2JRDNY.js} +10 -10
- package/dist/bundle/{process-5RUXWGYS.js → process-U5PLNIDC.js} +1 -1
- package/dist/bundle/{program-2O4YSRWY.js → program-3JICCSA6.js} +81 -80
- package/dist/bundle/{prompt-NDLUFCJV.js → prompt-YPDMSOKC.js} +2 -2
- package/dist/bundle/{recognize-CZOIAJQX.js → recognize-Z2SSWUKH.js} +1 -1
- package/dist/bundle/{remote-O3CE4Q3B.js → remote-R5HMDHOG.js} +6 -6
- package/dist/bundle/{rerank-MZOL746K.js → rerank-6NGBEMQ2.js} +4 -4
- package/dist/bundle/{run-log-GX6LNMWY.js → run-log-LG3TI3WI.js} +67 -67
- package/dist/bundle/{serve-43IBHMFM.js → serve-CU3RMWU7.js} +6 -6
- package/dist/bundle/{server-6LTMPPTO.js → server-SOQSVX2Q.js} +50 -50
- package/dist/bundle/server-X7JYRMKX.js +85 -0
- package/dist/bundle/{services-UIRD5PHE.js → services-LROZ3RDT.js} +42 -42
- package/dist/bundle/{speech-6QVKIJVR.js → speech-AS77HFIF.js} +19 -19
- package/dist/bundle/{sqlite-runtime-PKCIBVHZ.js → sqlite-runtime-U25NS6BK.js} +3 -3
- package/dist/bundle/{state-AC55V3IE.js → state-CPEVKK66.js} +3 -3
- package/dist/bundle/{store-OAGA2ZK3.js → store-6CHRMJM7.js} +20 -18
- package/dist/bundle/{store-QOCYJNKX.js → store-QKHCZOYR.js} +20 -20
- package/dist/bundle/store-connection-FCDVOPWB.js +102 -0
- package/dist/bundle/store-maintenance-command-6HVOAHOZ.js +77 -0
- package/dist/bundle/{tokens-LN442AO6.js → tokens-JBN2OHQB.js} +4 -4
- package/dist/bundle/zm.js +2 -2
- package/dist/bundle/{zoom-app-TOCQ7LB5.js → zoom-app-Q4IKYNG3.js} +2 -2
- package/dist/program-bindings.d.ts.map +1 -1
- package/dist/program-bindings.js +2 -2
- package/dist/program-bindings.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/answer-policy-VJK4ID2F.js +0 -122
- package/dist/bundle/command-contract-MCWBL5VS.js +0 -45
- package/dist/bundle/config-G3C54VH6.js +0 -109
- package/dist/bundle/first-screen-NGCQD3CU.js +0 -45
- package/dist/bundle/server-3E2PJGYK.js +0 -85
- package/dist/bundle/store-connection-PBZMFY56.js +0 -102
- package/dist/bundle/store-maintenance-command-VBCHEOGI.js +0 -77
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
QUERY_LIMITS,
|
|
5
5
|
exhausted,
|
|
6
6
|
searchError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L2TURFT6.js";
|
|
8
8
|
import {
|
|
9
9
|
fold
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4OAR7BGU.js";
|
|
11
11
|
import {
|
|
12
12
|
CATALOG_KINDS,
|
|
13
13
|
CONTRACT_KINDS,
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
parseReference,
|
|
27
27
|
providerLabel,
|
|
28
28
|
providerNamed
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PKW3TPNP.js";
|
|
30
30
|
import {
|
|
31
31
|
holdsCredential,
|
|
32
32
|
secretNamed
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-W7M4JYEE.js";
|
|
34
34
|
import {
|
|
35
35
|
CliError
|
|
36
36
|
} from "./chunk-ST3ZB7LS.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
__name
|
|
42
42
|
} from "./chunk-ZVVMGPBJ.js";
|
|
43
43
|
|
|
44
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
44
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/record-fields.js
|
|
45
45
|
var DECIMAL_PATTERN = "^[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
46
46
|
var SIGNED_DECIMAL = "^-?[0-9]{1,16}(\\.[0-9]{1,6})?$";
|
|
47
47
|
var DAY = "^[0-9]{4}-[0-9]{2}-[0-9]{2}$";
|
|
@@ -160,7 +160,7 @@ var fieldError = /* @__PURE__ */ __name((schema, value, at = []) => {
|
|
|
160
160
|
return void 0;
|
|
161
161
|
}, "fieldError");
|
|
162
162
|
|
|
163
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
163
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/record-types.js
|
|
164
164
|
var kept = /* @__PURE__ */ __name((description) => ({ description }), "kept");
|
|
165
165
|
var PARTY = ["person", "organization"];
|
|
166
166
|
var ORGANIZATION = ["organization"];
|
|
@@ -555,7 +555,7 @@ var hasV1Roles = /* @__PURE__ */ __name((type) => rolesOf(type).some(([, role])
|
|
|
555
555
|
var IDENTITY_TYPES = RECORD_ENTITY_TYPES.filter((type) => RECORD_TYPES[type].review === "identity");
|
|
556
556
|
var article = /* @__PURE__ */ __name((word) => /^[aeiou]/.test(word) ? "an" : "a", "article");
|
|
557
557
|
|
|
558
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
558
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/addresses.js
|
|
559
559
|
var EMAIL_ADDRESS = /^[^\s@]+@[^\s@]+\.[^\s@]+$/u;
|
|
560
560
|
var isEmailAddress = /* @__PURE__ */ __name((value) => EMAIL_ADDRESS.test(value), "isEmailAddress");
|
|
561
561
|
var ROLE_ADDRESS_WORDS = {
|
|
@@ -617,7 +617,7 @@ var PERSON_LIKE = /* @__PURE__ */ new Set(["hr"]);
|
|
|
617
617
|
var isPersonLikeRoleAddress = /* @__PURE__ */ __name((address) => PERSON_LIKE.has(localWord(address)), "isPersonLikeRoleAddress");
|
|
618
618
|
var isNoReplyAddress = /* @__PURE__ */ __name((address) => NO_REPLY.has(localWord(address)), "isNoReplyAddress");
|
|
619
619
|
|
|
620
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
620
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/phone-plans.generated.js
|
|
621
621
|
var PHONE_PLANS = [
|
|
622
622
|
{
|
|
623
623
|
country: "us",
|
|
@@ -997,7 +997,7 @@ var PHONE_PLANS = [
|
|
|
997
997
|
}
|
|
998
998
|
];
|
|
999
999
|
|
|
1000
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1000
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/phones.js
|
|
1001
1001
|
var PHONE_COUNTRIES = PHONE_PLANS.map((plan) => plan.country);
|
|
1002
1002
|
var DEFAULT_PHONE_COUNTRIES = ["ru"];
|
|
1003
1003
|
var parsePhoneCountries = /* @__PURE__ */ __name((value) => {
|
|
@@ -1072,7 +1072,7 @@ var storedPhone = /* @__PURE__ */ __name((raw, provider) => {
|
|
|
1072
1072
|
return found ? `+${found[1]}` : void 0;
|
|
1073
1073
|
}, "storedPhone");
|
|
1074
1074
|
|
|
1075
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1075
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/ref-arguments.js
|
|
1076
1076
|
var TAKES = {
|
|
1077
1077
|
chat: "a chat: chat:<provider>/<account>/<chat>, its id or its title",
|
|
1078
1078
|
message: "a message: msg:<provider>/<account>/<chat>/<message>, or a chat and the message's id"
|
|
@@ -1132,7 +1132,7 @@ var ensureAccount = /* @__PURE__ */ __name(async (reference, scope, profilesOn)
|
|
|
1132
1132
|
throw wrongAccount(reference, scope, profiles);
|
|
1133
1133
|
}, "ensureAccount");
|
|
1134
1134
|
|
|
1135
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1135
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/lucene/automaton.js
|
|
1136
1136
|
var any = { kind: "char", ranges: [[0, 1114111]], negate: false };
|
|
1137
1137
|
var literal = /* @__PURE__ */ __name((c) => ({
|
|
1138
1138
|
kind: "char",
|
|
@@ -1532,7 +1532,7 @@ var foldRegex = /* @__PURE__ */ __name((pattern, span) => {
|
|
|
1532
1532
|
return out;
|
|
1533
1533
|
}, "foldRegex");
|
|
1534
1534
|
|
|
1535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/search/trigrams.js
|
|
1536
1536
|
var trigrams = /* @__PURE__ */ __name((term) => {
|
|
1537
1537
|
const padded = ` ${term} `;
|
|
1538
1538
|
const pieces = /* @__PURE__ */ new Set();
|
|
@@ -1541,7 +1541,7 @@ var trigrams = /* @__PURE__ */ __name((term) => {
|
|
|
1541
1541
|
return [...pieces];
|
|
1542
1542
|
}, "trigrams");
|
|
1543
1543
|
|
|
1544
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/resolve.js
|
|
1545
1545
|
var isId = /* @__PURE__ */ __name((reference) => /^-?\d+$/.test(reference.trim()), "isId");
|
|
1546
1546
|
var foldName = /* @__PURE__ */ __name((name) => name.normalize("NFC").replace(/[\uFE0E\uFE0F\u200D]/g, "").toLowerCase().replaceAll("\u0451", "\u0435"), "foldName");
|
|
1547
1547
|
var pickChat = /* @__PURE__ */ __name((reference, chats) => {
|
|
@@ -1612,7 +1612,7 @@ ${lines}`, { candidates });
|
|
|
1612
1612
|
}, "ambiguous");
|
|
1613
1613
|
var isPresent = /* @__PURE__ */ __name((value) => value !== null && value !== void 0, "isPresent");
|
|
1614
1614
|
|
|
1615
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1615
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/display-names.js
|
|
1616
1616
|
var QUOTES = [
|
|
1617
1617
|
['"', '"'],
|
|
1618
1618
|
["'", "'"],
|
|
@@ -1670,7 +1670,7 @@ var nameKey = /* @__PURE__ */ __name((name) => {
|
|
|
1670
1670
|
}, "nameKey");
|
|
1671
1671
|
var isReadable = /* @__PURE__ */ __name((shown) => shown !== null && READABLE.test(shown), "isReadable");
|
|
1672
1672
|
|
|
1673
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/counters.js
|
|
1674
1674
|
var COUNTER_FIELDS = ["views", "reactions", "comments"];
|
|
1675
1675
|
var validCounter = /* @__PURE__ */ __name((value) => typeof value === "number" && Number.isFinite(value) && value >= 0, "validCounter");
|
|
1676
1676
|
var counterValue = /* @__PURE__ */ __name((message, field) => {
|
|
@@ -1707,7 +1707,7 @@ var counterFreshness = /* @__PURE__ */ __name((states) => {
|
|
|
1707
1707
|
return states.some((one) => one.freshness === "stale") ? "stale" : "fresh";
|
|
1708
1708
|
}, "counterFreshness");
|
|
1709
1709
|
|
|
1710
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1710
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/rankings-options.js
|
|
1711
1711
|
var MESSAGE_MEASURES = ["views", "reactions", "forwards", "comments", "replies", "thread-size"];
|
|
1712
1712
|
var AUTHOR_MEASURES = [
|
|
1713
1713
|
"messages",
|
|
@@ -1847,7 +1847,7 @@ var withoutUrls = /* @__PURE__ */ __name((text2) => text2.replace(/\S+/gu, (toke
|
|
|
1847
1847
|
var rankingWords = /* @__PURE__ */ __name((text2) => withoutUrls(text2).match(/[\p{L}\p{N}]+/gu)?.length ?? 0, "rankingWords");
|
|
1848
1848
|
var rankingQuestion = /* @__PURE__ */ __name((text2) => withoutUrls(text2).includes("?"), "rankingQuestion");
|
|
1849
1849
|
|
|
1850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/records.js
|
|
1851
1851
|
import { createHash } from "node:crypto";
|
|
1852
1852
|
var RECORDS_SCHEMA_VERSION = 1;
|
|
1853
1853
|
var RECORD_OPERATIONS = ["upsert", "delete"];
|
|
@@ -2200,7 +2200,7 @@ var fieldReferences = /* @__PURE__ */ __name((record, options = {}) => {
|
|
|
2200
2200
|
return found;
|
|
2201
2201
|
}, "fieldReferences");
|
|
2202
2202
|
|
|
2203
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2203
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/domain/relation-role-labels.js
|
|
2204
2204
|
var label = /* @__PURE__ */ __name((en, ru, es) => ({ en, ru, es }), "label");
|
|
2205
2205
|
var ROLE_LABELS = {
|
|
2206
2206
|
organization: {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/driver.js
|
|
8
8
|
var TIME_LIMIT_FUNCTION = "wc_time_limit";
|
|
9
9
|
var TimeLimitReached = class extends Error {
|
|
10
10
|
static {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YR5TRWT2.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -33,35 +33,35 @@ import {
|
|
|
33
33
|
refuseWriteBeforeConnecting,
|
|
34
34
|
registerPrompts,
|
|
35
35
|
syncsFirst
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-E3JVLVVB.js";
|
|
37
37
|
import {
|
|
38
38
|
agentJson,
|
|
39
39
|
skillResources
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3AOESMW6.js";
|
|
41
41
|
import {
|
|
42
42
|
instructions
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-W3GZ7JUO.js";
|
|
44
44
|
import {
|
|
45
45
|
mcpHttpMarker
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XTCAWNBP.js";
|
|
47
47
|
import {
|
|
48
48
|
StdioServerTransport,
|
|
49
49
|
answeredWire,
|
|
50
50
|
callerOf,
|
|
51
51
|
callingAgent,
|
|
52
52
|
serveStdio
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-2XZ2YKW4.js";
|
|
54
54
|
import {
|
|
55
55
|
McpServer,
|
|
56
56
|
ResourceTemplate
|
|
57
57
|
} from "./chunk-5D4AEUVA.js";
|
|
58
58
|
import {
|
|
59
59
|
connectedFor
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-4F7Q5CET.js";
|
|
61
61
|
import {
|
|
62
62
|
lackedNeed,
|
|
63
63
|
wholeList
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-3BTRJYIT.js";
|
|
65
65
|
import {
|
|
66
66
|
capability,
|
|
67
67
|
dateWindow,
|
|
@@ -69,16 +69,16 @@ import {
|
|
|
69
69
|
imageSize,
|
|
70
70
|
servicesFor,
|
|
71
71
|
storedDeps
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-RFXJLG5V.js";
|
|
73
73
|
import {
|
|
74
74
|
warmEmbedders
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-BPSURRAD.js";
|
|
76
76
|
import {
|
|
77
77
|
stdinFieldOf
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-475P3LWG.js";
|
|
79
79
|
import {
|
|
80
80
|
findCommand
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-YAA2D6RP.js";
|
|
82
82
|
import {
|
|
83
83
|
DEFAULT_OUTPUT_BYTES,
|
|
84
84
|
changesAuthorityAt,
|
|
@@ -92,28 +92,28 @@ import {
|
|
|
92
92
|
rootOf2 as rootOf,
|
|
93
93
|
sealed,
|
|
94
94
|
snakeKeys
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-SUG6YGAF.js";
|
|
96
96
|
import {
|
|
97
97
|
readOnlyLockOf
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-D4HKTC2T.js";
|
|
99
99
|
import {
|
|
100
100
|
withCaller
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-FSLR2YGR.js";
|
|
102
102
|
import {
|
|
103
103
|
fetchesAt,
|
|
104
104
|
levelFor,
|
|
105
105
|
readKeysForCommand
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-DYRISFHZ.js";
|
|
107
107
|
import {
|
|
108
108
|
openStore,
|
|
109
109
|
pdfPreviewLimits
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-NRVMK5H3.js";
|
|
111
111
|
import {
|
|
112
112
|
typedCommand
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-2P6MQH4V.js";
|
|
114
114
|
import {
|
|
115
115
|
isCliFailure
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-6I4C4ZFT.js";
|
|
117
117
|
import {
|
|
118
118
|
timezoneOf
|
|
119
119
|
} from "./chunk-Z3CPZ4I4.js";
|
|
@@ -144,10 +144,10 @@ import {
|
|
|
144
144
|
__name
|
|
145
145
|
} from "./chunk-ZVVMGPBJ.js";
|
|
146
146
|
|
|
147
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
147
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
148
148
|
import { randomUUID } from "node:crypto";
|
|
149
149
|
|
|
150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
150
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
151
151
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
152
152
|
let held;
|
|
153
153
|
return {
|
|
@@ -166,7 +166,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
166
166
|
};
|
|
167
167
|
}, "agentLog");
|
|
168
168
|
|
|
169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
170
170
|
var LISTED = 100;
|
|
171
171
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
172
172
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -204,7 +204,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
204
204
|
});
|
|
205
205
|
}, "registerResources");
|
|
206
206
|
|
|
207
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
207
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
208
208
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
209
209
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
210
210
|
var MessengerSession = class {
|
|
@@ -279,7 +279,7 @@ var MessengerSession = class {
|
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
|
|
282
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
283
283
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
284
284
|
const _command = messenger.app.command;
|
|
285
285
|
return {
|
|
@@ -333,7 +333,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
333
333
|
};
|
|
334
334
|
}, "attachmentsTools");
|
|
335
335
|
|
|
336
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
337
337
|
var PHOTO_LIMIT = 512 * 1024;
|
|
338
338
|
var IMAGE_TYPES = [
|
|
339
339
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -389,7 +389,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
389
389
|
return new Uint8Array(Buffer.concat(chunks));
|
|
390
390
|
}, "readUpTo");
|
|
391
391
|
|
|
392
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
392
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
393
393
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
394
394
|
stats_charts: tool({
|
|
395
395
|
title: "A chart from a chat's statistics",
|
|
@@ -426,14 +426,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
426
426
|
})
|
|
427
427
|
}), "statsTools");
|
|
428
428
|
|
|
429
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
429
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
430
430
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
431
431
|
...messagesPhotoTools(messenger),
|
|
432
432
|
...attachmentsTools(messenger),
|
|
433
433
|
...statsTools(messenger)
|
|
434
434
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
435
435
|
|
|
436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
437
437
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
438
438
|
"streams",
|
|
439
439
|
"stdin",
|
|
@@ -749,7 +749,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
749
749
|
}, "serveOverStdio");
|
|
750
750
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
751
751
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
752
|
-
const { serveOverHttp } = await import("./serve-
|
|
752
|
+
const { serveOverHttp } = await import("./serve-CU3RMWU7.js");
|
|
753
753
|
const appName = messenger.app.command;
|
|
754
754
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
755
755
|
const listening = await serveOverHttp(build, {
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
PRAGMAS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6QCBTBDA.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
8
|
} from "./chunk-ST3ZB7LS.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/sqlite-warning.js
|
|
14
14
|
var SQLITE_WARNING = "SQLite is an experimental feature";
|
|
15
15
|
var quieted = /* @__PURE__ */ new WeakSet();
|
|
16
16
|
var quietSqliteWarning = /* @__PURE__ */ __name((host = process) => {
|
|
@@ -31,7 +31,7 @@ var isSqliteWarning = /* @__PURE__ */ __name((warning, options) => {
|
|
|
31
31
|
return name === "ExperimentalWarning" && message.startsWith(SQLITE_WARNING);
|
|
32
32
|
}, "isSqliteWarning");
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/store/open.js
|
|
35
35
|
var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
36
36
|
const database = await openFile(path);
|
|
37
37
|
try {
|
|
@@ -44,12 +44,12 @@ var openCache = /* @__PURE__ */ __name(async (path) => {
|
|
|
44
44
|
}, "openCache");
|
|
45
45
|
var openFile = /* @__PURE__ */ __name((path) => "Bun" in globalThis ? openUnderBun(path) : openUnderNode(path), "openFile");
|
|
46
46
|
var openUnderBun = /* @__PURE__ */ __name(async (path) => {
|
|
47
|
-
const { openWithBunSqlite } = await import("./bun-sqlite-
|
|
47
|
+
const { openWithBunSqlite } = await import("./bun-sqlite-MTP5JJQ2.js");
|
|
48
48
|
return await openWithBunSqlite(path);
|
|
49
49
|
}, "openUnderBun");
|
|
50
50
|
var openUnderNode = /* @__PURE__ */ __name(async (path) => {
|
|
51
51
|
quietSqliteWarning();
|
|
52
|
-
const { openWithNodeSqlite } = await import("./node-sqlite-
|
|
52
|
+
const { openWithNodeSqlite } = await import("./node-sqlite-FJWKJHYU.js");
|
|
53
53
|
return openWithNodeSqlite(path);
|
|
54
54
|
}, "openUnderNode");
|
|
55
55
|
var runtime = /* @__PURE__ */ __name(() => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __bundleRequire } from "node:module";
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
|
|
4
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/ports/wirecat-tools.js
|
|
5
5
|
var WIRECAT_TOOLS = [
|
|
6
6
|
{
|
|
7
7
|
command: "tg",
|
|
@@ -2,20 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
unit
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BPSURRAD.js";
|
|
6
6
|
import {
|
|
7
7
|
PLAIN_HTTP_REFUSED,
|
|
8
8
|
modelAddressAllowed,
|
|
9
9
|
onThisComputer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TDBVM2SS.js";
|
|
11
11
|
import {
|
|
12
12
|
readSharedSection,
|
|
13
13
|
sharedConfigPath,
|
|
14
14
|
writeSharedSection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6MDL2LZA.js";
|
|
16
16
|
import {
|
|
17
17
|
storePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TNL3YQ33.js";
|
|
19
19
|
import {
|
|
20
20
|
boolean,
|
|
21
21
|
isoTimestamp,
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
35
35
|
import { setTimeout } from "node:timers/promises";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/models/local-only.js
|
|
38
38
|
var SECTION = "local_only";
|
|
39
39
|
var Setting = strictObject({
|
|
40
40
|
on: boolean(),
|
|
@@ -68,7 +68,7 @@ var refuseModelAddress = /* @__PURE__ */ __name((env, address, what) => {
|
|
|
68
68
|
refuseOffComputer(env, address, what);
|
|
69
69
|
}, "refuseModelAddress");
|
|
70
70
|
|
|
71
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
71
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.691.0_@wirecat+cli-base@0.109.0_commander@15.0.0_esbuild@0.28.2_typ_d368e4a5540cfb6719e97dbe530c5868/node_modules/@wirecat/cli-core/dist/embeddings/remote.js
|
|
72
72
|
var OPENAI_URL = "https://api.openai.com/v1";
|
|
73
73
|
var OPENAI_MODELS = {
|
|
74
74
|
"text-embedding-3-small": { dims: 1536, perMillion: 0.02 },
|