@wirecat/zoom-cli 0.59.1 → 0.60.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/dist/bin/main.js +1 -0
- package/dist/bin/main.js.map +1 -1
- package/dist/bin/zm.js +2 -2
- package/dist/bundle/{all-profiles-RS5IWIGR.js → all-profiles-E6KXASLY.js} +6 -6
- package/dist/bundle/answer-policy-YWCC55NB.js +96 -0
- package/dist/bundle/{anthropic-5QHQR4WF.js → anthropic-CSLAACWX.js} +4 -4
- package/dist/bundle/{app-server-7LANSZGE.js → app-server-RYYXX6QV.js} +48 -48
- package/dist/bundle/{bun-O6RL6LRQ.js → bun-JVDJVDHL.js} +2 -2
- package/dist/bundle/{bun-sqlite-PEJM6CS4.js → bun-sqlite-B5CZHAV4.js} +3 -3
- package/dist/bundle/{chunk-BXZ6WSVF.js → chunk-3LBA63D5.js} +4 -4
- package/dist/bundle/{chunk-UXM7I35J.js → chunk-3R437ICM.js} +4 -4
- package/dist/bundle/{chunk-MBT7GP7K.js → chunk-43BX56ZI.js} +9 -9
- package/dist/bundle/{chunk-VYUSEJE4.js → chunk-46R2JTGO.js} +2 -2
- package/dist/bundle/{chunk-2EYP23NY.js → chunk-4TCQT57W.js} +10 -10
- package/dist/bundle/{chunk-3SCTDFNO.js → chunk-6BJQBVMN.js} +16 -16
- package/dist/bundle/{chunk-AQDWGJZT.js → chunk-7IDNHVJS.js} +39 -2
- package/dist/bundle/{chunk-PF25S7L4.js → chunk-AOZGGGUK.js} +2 -2
- package/dist/bundle/{chunk-G27MRA24.js → chunk-AZZPMHP2.js} +2 -2
- package/dist/bundle/{chunk-T6AAM7UT.js → chunk-BO7J5Z3T.js} +20 -17
- package/dist/bundle/{chunk-PNBEREOU.js → chunk-CGCJ6P3A.js} +1906 -1529
- package/dist/bundle/{chunk-PKTFZAXG.js → chunk-DBSWVZES.js} +2 -2
- package/dist/bundle/{chunk-CVIKKIGE.js → chunk-EF2RCQ3L.js} +1 -1
- package/dist/bundle/{chunk-K76WFW4I.js → chunk-EN5DBDKW.js} +4 -4
- package/dist/bundle/{chunk-NDXAZB5Z.js → chunk-ES6UWVTM.js} +6 -6
- package/dist/bundle/{chunk-BAQLQIMI.js → chunk-EUHQ5D4K.js} +31 -27
- package/dist/bundle/{chunk-KVHRHBLY.js → chunk-FWJ3Q7NO.js} +5 -5
- package/dist/bundle/{chunk-ZTOAAYFV.js → chunk-FZMRHNOP.js} +3 -3
- package/dist/bundle/{chunk-NOKFJJPA.js → chunk-GEVHI226.js} +6 -6
- package/dist/bundle/{chunk-YJRMMZI5.js → chunk-HAUAEGGI.js} +10 -10
- package/dist/bundle/{chunk-4NGLRHWO.js → chunk-HBYE4EP2.js} +1 -1
- package/dist/bundle/{chunk-NW7IMGRR.js → chunk-HIAO4MPA.js} +1 -1
- package/dist/bundle/{chunk-VSUY7PDW.js → chunk-HYZ545ON.js} +7 -4
- package/dist/bundle/{chunk-OBZWUNO4.js → chunk-INARC5O7.js} +9 -9
- package/dist/bundle/{chunk-A6323R5P.js → chunk-IQENQXUJ.js} +2 -2
- package/dist/bundle/{chunk-UYJUTZTT.js → chunk-IQSBMAYB.js} +3 -3
- package/dist/bundle/{chunk-4AURKUDZ.js → chunk-IRX2YVAH.js} +4 -4
- package/dist/bundle/{chunk-CTGI4ES2.js → chunk-K6NPOZUP.js} +6 -6
- package/dist/bundle/{chunk-7H3ZRDLW.js → chunk-KNAS4VEA.js} +2 -2
- package/dist/bundle/{chunk-B32SF7J3.js → chunk-KXEC5FVT.js} +2 -2
- package/dist/bundle/{chunk-XFCSPOLZ.js → chunk-KYUIU5UR.js} +2 -2
- package/dist/bundle/{chunk-KDYPY6IL.js → chunk-LPDYI5GR.js} +1 -1
- package/dist/bundle/{chunk-L3VS3H34.js → chunk-LPY2ISJK.js} +6 -6
- package/dist/bundle/{chunk-UOFOMU3T.js → chunk-LVHZQCP4.js} +1 -1
- package/dist/bundle/{chunk-QFGBMS67.js → chunk-N27LOY3D.js} +14 -7
- package/dist/bundle/{chunk-JUS4H7Z5.js → chunk-OBUKZ2ZM.js} +25 -25
- package/dist/bundle/{chunk-RXDIG23Z.js → chunk-OEEMCNAO.js} +6 -6
- package/dist/bundle/{chunk-URO44C5T.js → chunk-PAEBFJUC.js} +157 -145
- package/dist/bundle/{chunk-EUQ7XFPK.js → chunk-PATM7JGR.js} +1 -1
- package/dist/bundle/{chunk-6FL25KC5.js → chunk-PEMLI3T7.js} +4 -4
- package/dist/bundle/{chunk-5DVW77VC.js → chunk-PPHUBORC.js} +32 -32
- package/dist/bundle/{chunk-PP3JGQQE.js → chunk-Q7U627RY.js} +110 -54
- package/dist/bundle/{chunk-7GVNQOV6.js → chunk-QKSCDALS.js} +1 -1
- package/dist/bundle/{chunk-YIMI6O7R.js → chunk-R4SRXI7M.js} +111 -111
- package/dist/bundle/{chunk-DP5DX45H.js → chunk-RACSKYNX.js} +1 -1
- package/dist/bundle/{chunk-L2UIJDWB.js → chunk-REC3AZP6.js} +2 -2
- package/dist/bundle/{chunk-24DLFGES.js → chunk-RUEPZTNA.js} +2 -2
- package/dist/bundle/{chunk-ZC5UXEIH.js → chunk-TY5PBEH2.js} +11 -11
- package/dist/bundle/{chunk-UKR7KH3H.js → chunk-UWVNY5CA.js} +2 -2
- package/dist/bundle/{chunk-SIA7HJE2.js → chunk-V53IB5AU.js} +56 -49
- package/dist/bundle/{chunk-N7GAQ27N.js → chunk-VJBVNDFR.js} +3 -3
- package/dist/bundle/{chunk-IYAGQXED.js → chunk-VKUS2V4L.js} +8 -8
- package/dist/bundle/{chunk-27P22POE.js → chunk-VLE3FWE3.js} +30 -26
- package/dist/bundle/{recognize-EMHQX4XF.js → chunk-VVKHF6VJ.js} +7 -6
- package/dist/bundle/{chunk-AIXLOMH4.js → chunk-W5EUHV3J.js} +1 -1
- package/dist/bundle/{chunk-QCFHL4ES.js → chunk-WB7MQHUI.js} +2 -2
- package/dist/bundle/{chunk-7Z4ANTAK.js → chunk-WEUXLXOZ.js} +28 -20
- package/dist/bundle/{chunk-VOAVOK4I.js → chunk-WFT2GGFH.js} +57 -18
- package/dist/bundle/{chunk-DXZTLB24.js → chunk-WWNZS7ZY.js} +4 -4
- package/dist/bundle/{chunk-MIGIKHER.js → chunk-WYRYLBST.js} +4 -4
- package/dist/bundle/{chunk-PACC5N6T.js → chunk-X7YPTYM4.js} +10 -3
- package/dist/bundle/{chunk-DXKVEOSS.js → chunk-XLJV3ZOH.js} +1 -1
- package/dist/bundle/{chunk-7D2CD3E3.js → chunk-XNUFDYR6.js} +5 -5
- package/dist/bundle/{chunk-YIFIY7ZE.js → chunk-XS72YFPV.js} +2 -2
- package/dist/bundle/{chunk-ZHXIXDH5.js → chunk-XX7KVQIG.js} +4 -4
- package/dist/bundle/{chunk-MNUTWGSA.js → chunk-Y3YURIZF.js} +32 -32
- package/dist/bundle/{chunk-XT7XVPEM.js → chunk-YEZQ7SD7.js} +11 -11
- package/dist/bundle/{chunk-SL3SXQZ5.js → chunk-YLATWUE7.js} +6 -6
- package/dist/bundle/{chunk-MMT46EN4.js → chunk-Z4D6M62I.js} +2 -2
- package/dist/bundle/{chunk-3SERIWJD.js → chunk-Z5H47R4G.js} +7856 -7818
- package/dist/bundle/{chunk-U6QW67SU.js → chunk-ZDRDCANC.js} +374 -317
- package/dist/bundle/{chunk-DDYR6DYL.js → chunk-ZK7Y5K63.js} +1 -1
- package/dist/bundle/{chunk-YSHSCBPM.js → chunk-ZXQCA3ZW.js} +8 -8
- package/dist/bundle/{cli-IQTASP44.js → cli-CYKEKT5P.js} +54 -54
- package/dist/bundle/command-contract-P45QCCXM.js +38 -0
- package/dist/bundle/config-JYKTLEA3.js +79 -0
- package/dist/bundle/decode-CTQJQYNU.js +158 -0
- package/dist/bundle/{dist-WT73DF46.js → dist-YLSQKPPY.js} +13 -13
- package/dist/bundle/{echarts-LD3AI55P.js → echarts-4OQHS575.js} +2 -2
- package/dist/bundle/{embed-XEMH4LNX.js → embed-P2BKRRJD.js} +4 -4
- package/dist/bundle/{embedder-ZCYKSKAE.js → embedder-HC6ZARP5.js} +7 -7
- package/dist/bundle/{first-run-LGYDLIUM.js → first-run-UERFFXBV.js} +7 -7
- package/dist/bundle/first-screen-VFIS7FX3.js +36 -0
- package/dist/bundle/{folders-5ZBUQHAM.js → folders-RSLPTZLJ.js} +2 -2
- package/dist/bundle/{instructions-RZMSW3OC.js → instructions-3QZBKKPF.js} +1 -1
- package/dist/bundle/{main-LDCSYBV3.js → main-2T6D77JC.js} +17 -16
- package/dist/bundle/mcp-4VHVUMCR.js +92 -0
- package/dist/bundle/{mcp-M7MW5EGT.js → mcp-6CLW2IZM.js} +62 -62
- package/dist/bundle/{meetings-XPBHVZAU.js → meetings-ZIDSQZBJ.js} +7 -3
- package/dist/bundle/{node-ZRLYQL7J.js → node-R2BLYUSB.js} +2 -2
- package/dist/bundle/node-sqlite-7CGHAHIS.js +61 -0
- package/dist/bundle/{oauth-UHVRGKZU.js → oauth-UBCYXTWV.js} +5 -5
- package/dist/bundle/{open-J4FCAUAJ.js → open-AWUB4Q7Z.js} +2 -2
- package/dist/bundle/{output-file-SXV2ANW7.js → output-file-SN22HAVL.js} +3 -3
- package/dist/bundle/{process-LL77573L.js → process-IX5YWGDP.js} +1 -1
- package/dist/bundle/{program-4S5BJVSW.js → program-STYPTNT3.js} +74 -70
- package/dist/bundle/{prompt-LUUMQTMY.js → prompt-MAYUHEGN.js} +3 -3
- package/dist/bundle/recognize-FVTNXRTF.js +21 -0
- package/dist/bundle/{remote-ZXS6D7VB.js → remote-WCPRU73L.js} +5 -5
- package/dist/bundle/{rerank-WP7RKZNB.js → rerank-6CBLZBCV.js} +5 -5
- package/dist/bundle/{run-log-GS2L66G6.js → run-log-G4WZTOBW.js} +51 -51
- package/dist/bundle/{serve-L6KLLXK2.js → serve-3IDUVTZL.js} +7 -7
- package/dist/bundle/server-7GU36TER.js +66 -0
- package/dist/bundle/server-VHRS5UAL.js +53 -0
- package/dist/bundle/{services-SPOEWVK3.js → services-326Z3TNE.js} +24 -24
- package/dist/bundle/{speech-6OBAKMND.js → speech-KSZ7RKM3.js} +4 -4
- package/dist/bundle/{state-HN5EJKXQ.js → state-EPB3L2JM.js} +4 -4
- package/dist/bundle/{store-ZP2URKET.js → store-7WX7SW2R.js} +14 -14
- package/dist/bundle/{store-LEU3M6IN.js → store-KO242JBK.js} +12 -12
- package/dist/bundle/store-connection-K3MNDCQQ.js +76 -0
- package/dist/bundle/store-maintenance-command-GJDJYI2U.js +54 -0
- package/dist/bundle/{streaming-AK6Q2ZGQ.js → streaming-M6VDKBBH.js} +4 -4
- package/dist/bundle/{tokens-CCM3D4ZT.js → tokens-BTNXHR7T.js} +4 -4
- package/dist/bundle/zm.js +1 -1
- package/dist/login.d.ts +1 -0
- package/dist/login.d.ts.map +1 -1
- package/dist/login.js +1 -1
- package/dist/login.js.map +1 -1
- package/dist/recording-schedule-setup.d.ts.map +1 -1
- package/dist/recording-schedule-setup.js +1 -0
- package/dist/recording-schedule-setup.js.map +1 -1
- package/dist/setup-commands.d.ts.map +1 -1
- package/dist/setup-commands.js +6 -1
- package/dist/setup-commands.js.map +1 -1
- package/dist/tokens.d.ts +15 -0
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +40 -1
- package/dist/tokens.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/zoom-cli/SKILL.md +1 -0
- package/dist/bundle/answer-policy-7BYG6XWZ.js +0 -96
- package/dist/bundle/command-contract-WHZPF7NA.js +0 -38
- package/dist/bundle/config-AXMQ2PXT.js +0 -79
- package/dist/bundle/first-screen-LYQKPNF4.js +0 -36
- package/dist/bundle/mcp-VISEXTVC.js +0 -92
- package/dist/bundle/node-sqlite-BBEDYBWO.js +0 -45
- package/dist/bundle/server-NOFYENP5.js +0 -53
- package/dist/bundle/server-P5TXAPBY.js +0 -66
- package/dist/bundle/store-connection-3UZBORXK.js +0 -76
- package/dist/bundle/store-maintenance-command-PSCHEHHY.js +0 -54
- /package/dist/bundle/{chunk-Q2Z3VCM4.js → chunk-YLBNPI7H.js} +0 -0
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
answerOf,
|
|
5
5
|
messengerContext
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EUHQ5D4K.js";
|
|
7
7
|
import {
|
|
8
8
|
chatEventAnswer,
|
|
9
9
|
memberAnswer,
|
|
@@ -12,23 +12,24 @@ import {
|
|
|
12
12
|
serveRelay,
|
|
13
13
|
typedQuery,
|
|
14
14
|
withQuery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WFT2GGFH.js";
|
|
16
16
|
import {
|
|
17
17
|
holdLock,
|
|
18
18
|
lockPath,
|
|
19
19
|
releaseLock,
|
|
20
20
|
servingProfiles,
|
|
21
21
|
takeLock
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IQSBMAYB.js";
|
|
23
23
|
import {
|
|
24
24
|
RULES_VERSION,
|
|
25
25
|
applyTaskRulesOnArrival,
|
|
26
26
|
newSendId,
|
|
27
27
|
onlineDeps,
|
|
28
28
|
openRequestTask,
|
|
29
|
+
senderIsMe,
|
|
29
30
|
servicesFor,
|
|
30
31
|
syncsOneChat
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-Z5H47R4G.js";
|
|
32
33
|
import {
|
|
33
34
|
Command,
|
|
34
35
|
LOCAL_READ,
|
|
@@ -52,38 +53,38 @@ import {
|
|
|
52
53
|
snakeKeys,
|
|
53
54
|
storeTable,
|
|
54
55
|
withoutProviderRefs
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-Y3YURIZF.js";
|
|
56
57
|
import {
|
|
57
58
|
envName
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-KYUIU5UR.js";
|
|
59
60
|
import {
|
|
60
61
|
holdersOf
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-W5EUHV3J.js";
|
|
62
63
|
import {
|
|
63
64
|
codeOf,
|
|
64
65
|
currentRun
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WEUXLXOZ.js";
|
|
66
67
|
import {
|
|
67
68
|
failureKey
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-IQENQXUJ.js";
|
|
69
70
|
import {
|
|
70
71
|
renderMessages
|
|
71
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-HYZ545ON.js";
|
|
72
73
|
import {
|
|
73
74
|
levelFor
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-AOZGGGUK.js";
|
|
75
76
|
import {
|
|
76
77
|
readSecret
|
|
77
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-VJBVNDFR.js";
|
|
78
79
|
import {
|
|
79
80
|
checkedOptions,
|
|
80
81
|
range
|
|
81
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-REC3AZP6.js";
|
|
82
83
|
import {
|
|
83
84
|
messagesFor,
|
|
84
85
|
systemFor,
|
|
85
86
|
validateImages
|
|
86
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-WB7MQHUI.js";
|
|
87
88
|
import {
|
|
88
89
|
MIGRATIONS,
|
|
89
90
|
drainNoteIndex,
|
|
@@ -110,20 +111,20 @@ import {
|
|
|
110
111
|
storeClients,
|
|
111
112
|
storeContents,
|
|
112
113
|
vectorIndexCounts
|
|
113
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-CGCJ6P3A.js";
|
|
114
115
|
import {
|
|
115
116
|
formatLocator,
|
|
116
117
|
parseLocator
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ES6UWVTM.js";
|
|
118
119
|
import {
|
|
119
120
|
storePath
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-KXEC5FVT.js";
|
|
121
122
|
import {
|
|
122
123
|
openCache
|
|
123
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-YLATWUE7.js";
|
|
124
125
|
import {
|
|
125
126
|
queryFieldsOf
|
|
126
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-LVHZQCP4.js";
|
|
127
128
|
import {
|
|
128
129
|
CliError,
|
|
129
130
|
Credentials,
|
|
@@ -152,7 +153,7 @@ import {
|
|
|
152
153
|
trim,
|
|
153
154
|
union,
|
|
154
155
|
writeSecurely
|
|
155
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-R4SRXI7M.js";
|
|
156
157
|
import {
|
|
157
158
|
__commonJS,
|
|
158
159
|
__name,
|
|
@@ -5492,11 +5493,11 @@ var require_liquid_node = __commonJS({
|
|
|
5492
5493
|
}
|
|
5493
5494
|
});
|
|
5494
5495
|
|
|
5495
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5496
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5496
5497
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync7, mkdirSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync3, writeFileSync } from "node:fs";
|
|
5497
5498
|
import { dirname, resolve } from "node:path";
|
|
5498
5499
|
|
|
5499
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5500
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5500
5501
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5501
5502
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5502
5503
|
import { Transform } from "node:stream";
|
|
@@ -5603,7 +5604,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5603
5604
|
renameSync(pending, to);
|
|
5604
5605
|
}, "unsealFile");
|
|
5605
5606
|
|
|
5606
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5607
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5607
5608
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5608
5609
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5609
5610
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5627,7 +5628,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5627
5628
|
};
|
|
5628
5629
|
}, "compatibilityOf");
|
|
5629
5630
|
|
|
5630
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5631
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5631
5632
|
import { createHash as createHash2 } from "node:crypto";
|
|
5632
5633
|
var COPY_MARK = "__repair_";
|
|
5633
5634
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5881,7 +5882,7 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5881
5882
|
return found;
|
|
5882
5883
|
}, "deleteCopy");
|
|
5883
5884
|
|
|
5884
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5885
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5885
5886
|
import { existsSync as existsSync2, statSync as statSync2 } from "node:fs";
|
|
5886
5887
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
5887
5888
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync2(path) ? statSync2(path).size : 0, "bytesOf");
|
|
@@ -5929,7 +5930,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
5929
5930
|
}), "storeInfoCommand");
|
|
5930
5931
|
var sharedStoreCommand = /* @__PURE__ */ __name(() => annotate(new Command("store"), { effects: LOCAL_READ }).description("the shared local store every WireCat tool reads").addCommand(storeInfoCommand()), "sharedStoreCommand");
|
|
5931
5932
|
|
|
5932
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5933
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
5933
5934
|
var ENCRYPT_OPTION = [
|
|
5934
5935
|
"--encrypt",
|
|
5935
5936
|
"compress and encrypt with a password, typed at a hidden prompt or piped on stdin; it is never kept \u2014 lose it and the file cannot be opened"
|
|
@@ -5948,7 +5949,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
5948
5949
|
return password;
|
|
5949
5950
|
}, "passwordOf");
|
|
5950
5951
|
|
|
5951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
5952
5953
|
import { existsSync as existsSync3, readFileSync } from "node:fs";
|
|
5953
5954
|
import { join } from "node:path";
|
|
5954
5955
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6119,7 +6120,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6119
6120
|
}, "problem");
|
|
6120
6121
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6121
6122
|
|
|
6122
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6123
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6123
6124
|
import { existsSync as existsSync4, readFileSync as readFileSync2 } from "node:fs";
|
|
6124
6125
|
import { join as join2 } from "node:path";
|
|
6125
6126
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6172,7 +6173,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6172
6173
|
}, "recordReply");
|
|
6173
6174
|
var broken2 = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply state ${path} cannot be read (${why}) \u2014 fix or move the file`), "broken");
|
|
6174
6175
|
|
|
6175
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6176
6177
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6177
6178
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6178
6179
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -6278,7 +6279,7 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
6278
6279
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
6279
6280
|
}, "filled");
|
|
6280
6281
|
|
|
6281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
6282
6283
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
6283
6284
|
var TEMPLATE_LIMITS = {
|
|
6284
6285
|
parse: 32768,
|
|
@@ -6438,7 +6439,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
6438
6439
|
}
|
|
6439
6440
|
}, "renderReplyTemplate");
|
|
6440
6441
|
|
|
6441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6442
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
6442
6443
|
var DRY_RUN_DAYS = 7;
|
|
6443
6444
|
var PAGE = 500;
|
|
6444
6445
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -6552,7 +6553,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
6552
6553
|
}
|
|
6553
6554
|
}, "storedSince");
|
|
6554
6555
|
|
|
6555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/embeddings/keys.js
|
|
6556
6557
|
var endpointKeyName = /* @__PURE__ */ __name((baseUrl) => {
|
|
6557
6558
|
const host = new URL(baseUrl).host;
|
|
6558
6559
|
return ["openai", "anthropic"].includes(host) ? `endpoint:${host}` : host;
|
|
@@ -6583,7 +6584,7 @@ var embeddingKeys = /* @__PURE__ */ __name((app, env = process.env, keyring) =>
|
|
|
6583
6584
|
};
|
|
6584
6585
|
}, "embeddingKeys");
|
|
6585
6586
|
|
|
6586
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6587
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/openai.js
|
|
6587
6588
|
var options = strictObject({
|
|
6588
6589
|
temperature: range(0, 2),
|
|
6589
6590
|
top_p: range(0, 1),
|
|
@@ -6632,7 +6633,7 @@ var openai = {
|
|
|
6632
6633
|
}, "complete")
|
|
6633
6634
|
};
|
|
6634
6635
|
|
|
6635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/models/index.js
|
|
6636
6637
|
var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
6637
6638
|
complete: /* @__PURE__ */ __name(async (request) => {
|
|
6638
6639
|
if (deps.signal?.aborted)
|
|
@@ -6647,7 +6648,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
6647
6648
|
if (!adapter && target.provider === "openai")
|
|
6648
6649
|
adapter = openai;
|
|
6649
6650
|
if (!adapter && target.provider === "anthropic")
|
|
6650
|
-
adapter = (await import("./anthropic-
|
|
6651
|
+
adapter = (await import("./anthropic-CSLAACWX.js")).anthropic;
|
|
6651
6652
|
if (!adapter)
|
|
6652
6653
|
throw new CliError("validation_error", `no model adapter for ${target.provider}`);
|
|
6653
6654
|
if (request.images !== void 0 && adapter.images !== true)
|
|
@@ -6688,7 +6689,7 @@ var modelGateway = /* @__PURE__ */ __name((deps) => ({
|
|
|
6688
6689
|
}, "complete")
|
|
6689
6690
|
}), "modelGateway");
|
|
6690
6691
|
|
|
6691
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6692
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
6692
6693
|
import { existsSync as existsSync5, readFileSync as readFileSync3 } from "node:fs";
|
|
6693
6694
|
import { join as join3 } from "node:path";
|
|
6694
6695
|
var shape = strictObject({
|
|
@@ -6713,7 +6714,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
6713
6714
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
6714
6715
|
}, "mayModelReply");
|
|
6715
6716
|
|
|
6716
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6717
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
6717
6718
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options2 = {
|
|
6718
6719
|
ai: true
|
|
6719
6720
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -6760,7 +6761,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
6760
6761
|
return result2;
|
|
6761
6762
|
}, "replyRenderer");
|
|
6762
6763
|
|
|
6763
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6764
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
6764
6765
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
6765
6766
|
var NO_RULES = "no rules";
|
|
6766
6767
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -6853,7 +6854,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
6853
6854
|
return { skip: why };
|
|
6854
6855
|
}, "replyTo");
|
|
6855
6856
|
|
|
6856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6857
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
6857
6858
|
var FIRST_FETCH_MS = 6e4;
|
|
6858
6859
|
var DAY_MS = 864e5;
|
|
6859
6860
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -6907,7 +6908,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch: fetch2, warn, fi
|
|
|
6907
6908
|
};
|
|
6908
6909
|
}, "memberFetches");
|
|
6909
6910
|
|
|
6910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6911
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
6911
6912
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
6912
6913
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
6913
6914
|
if (context.format === "pretty") {
|
|
@@ -6940,7 +6941,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
6940
6941
|
return context;
|
|
6941
6942
|
}, "recordDiagnostics");
|
|
6942
6943
|
|
|
6943
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6944
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
6944
6945
|
var STEMS_EVERY_MS = 3e4;
|
|
6945
6946
|
var STEMS_SLICE_MS = 2e3;
|
|
6946
6947
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -6980,7 +6981,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
6980
6981
|
};
|
|
6981
6982
|
}, "stemFills");
|
|
6982
6983
|
|
|
6983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
6984
6985
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
6985
6986
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
6986
6987
|
kind: attachment.kind,
|
|
@@ -6992,6 +6993,13 @@ var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
|
6992
6993
|
width: attachment.width,
|
|
6993
6994
|
height: attachment.height,
|
|
6994
6995
|
duration: attachment.duration,
|
|
6996
|
+
contact: attachment.contact && defined({
|
|
6997
|
+
name: attachment.contact.name,
|
|
6998
|
+
first_name: attachment.contact.firstName,
|
|
6999
|
+
last_name: attachment.contact.lastName,
|
|
7000
|
+
phone: attachment.contact.phone,
|
|
7001
|
+
user_id: attachment.contact.userId
|
|
7002
|
+
}),
|
|
6995
7003
|
buttons: attachment.buttons
|
|
6996
7004
|
}), "attachmentItem");
|
|
6997
7005
|
var quotedItem = /* @__PURE__ */ __name((quoted) => quoted === null ? null : {
|
|
@@ -7017,8 +7025,7 @@ var messageItem = /* @__PURE__ */ __name((message, reader) => {
|
|
|
7017
7025
|
sender_name: message.senderName,
|
|
7018
7026
|
sender_username: message.senderUsername,
|
|
7019
7027
|
sender_is_chat: message.senderIsChat,
|
|
7020
|
-
|
|
7021
|
-
sender_is_me: message.outgoing === true || message.senderId !== null && String(message.senderId) === account,
|
|
7028
|
+
sender_is_me: senderIsMe(message, account),
|
|
7022
7029
|
mentions: message.mentions,
|
|
7023
7030
|
timestamp: message.timestamp,
|
|
7024
7031
|
edited_at: message.editedAt,
|
|
@@ -7069,7 +7076,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
7069
7076
|
locale: messenger.app.locale
|
|
7070
7077
|
}), "viewOf");
|
|
7071
7078
|
|
|
7072
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
7073
7080
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
7074
7081
|
value: value.value,
|
|
7075
7082
|
observed_at: value.observedAt,
|
|
@@ -7136,7 +7143,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
7136
7143
|
}
|
|
7137
7144
|
}, "watchEventItem");
|
|
7138
7145
|
|
|
7139
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7146
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
7140
7147
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
7141
7148
|
output: { entity: "watch_item" },
|
|
7142
7149
|
effects: REMOTE_READ,
|
|
@@ -7291,7 +7298,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
7291
7298
|
}
|
|
7292
7299
|
}, "describe");
|
|
7293
7300
|
|
|
7294
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
7295
7302
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
7296
7303
|
const command = annotate(new Command("serve"), {
|
|
7297
7304
|
output: { entity: "serve_summary" },
|
|
@@ -7507,7 +7514,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
7507
7514
|
};
|
|
7508
7515
|
}, "tasking");
|
|
7509
7516
|
|
|
7510
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7517
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
7511
7518
|
import { existsSync as existsSync6 } from "node:fs";
|
|
7512
7519
|
var PATH = "store tables list";
|
|
7513
7520
|
var STORE_TABLES_QUERY = {
|
|
@@ -7550,7 +7557,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
|
|
|
7550
7557
|
return tables;
|
|
7551
7558
|
}, "storeTablesCommand");
|
|
7552
7559
|
|
|
7553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7560
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
7554
7561
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
7555
7562
|
var WORD_INDEX = "message_words";
|
|
7556
7563
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZZPMHP2.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R4SRXI7M.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
isCliFailure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IQENQXUJ.js";
|
|
6
6
|
import {
|
|
7
7
|
isContentKey
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R4SRXI7M.js";
|
|
9
9
|
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.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/events.js
|
|
14
14
|
var providerErrorKey = /* @__PURE__ */ __name((value) => typeof value === "string" && /^[A-Za-z][A-Za-z0-9._-]{0,63}$/.test(value) ? value : void 0, "providerErrorKey");
|
|
15
15
|
var renderEvent = /* @__PURE__ */ __name((event) => {
|
|
16
16
|
if (event.event === "warning") {
|
|
@@ -58,14 +58,14 @@ var MARK = { request: "\u2192", response: "\u2190", cache: "\u2022", warning: "!
|
|
|
58
58
|
var age = /* @__PURE__ */ __name((ms) => ms < 1e3 ? `${ms}ms` : `${Math.round(ms / 1e3)}s`, "age");
|
|
59
59
|
var size = /* @__PURE__ */ __name((bytes) => bytes < 1e3 ? `${bytes} B` : `${(bytes / 1e3).toFixed(1)} kB`, "size");
|
|
60
60
|
|
|
61
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
61
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
62
62
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
63
63
|
import { createHash } from "node:crypto";
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
66
66
|
import { homedir } from "node:os";
|
|
67
67
|
|
|
68
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
68
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
69
69
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
70
70
|
"authorization",
|
|
71
71
|
"cookie",
|
|
@@ -146,7 +146,7 @@ var withoutSecrets = /* @__PURE__ */ __name((text, mark = "[redacted]") => text.
|
|
|
146
146
|
var RUN = /(?<![A-Za-z0-9_+/-])[A-Za-z0-9_+/-]{20,}/g;
|
|
147
147
|
var HEX = /(?<![A-Za-z0-9])(?=[0-9]*[a-f])[0-9a-f]{20,}(?![A-Za-z0-9])/g;
|
|
148
148
|
|
|
149
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
149
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/error-detail.js
|
|
150
150
|
var MESSAGE_AT_MOST = 500;
|
|
151
151
|
var CAUSES_AT_MOST = 5;
|
|
152
152
|
var FRAMES_AT_MOST = 15;
|
|
@@ -254,7 +254,7 @@ var redactText = /* @__PURE__ */ __name((text) => {
|
|
|
254
254
|
return out.length > MESSAGE_AT_MOST ? `${out.slice(0, MESSAGE_AT_MOST)}\u2026` : out;
|
|
255
255
|
}, "redactText");
|
|
256
256
|
|
|
257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.491.0_@wirecat+cli-base@0.65.0_commander@15.0.0_esbuild@0.28.2_type_1193098e908042dfe6f4070222ac0245/node_modules/@wirecat/cli-core/dist/runs/run-context.js
|
|
258
258
|
var REDACTED = "[redacted]";
|
|
259
259
|
var keepsSuccess = /* @__PURE__ */ __name(({ record, fromFlag, env, caller, persistent = false }) => {
|
|
260
260
|
if (!record)
|