@wirecat/tg-cli 0.128.0 → 0.129.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/contracts/wirecat.json +26 -0
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-JOI34QLS.js → adapter-2XFPXBTA.js} +60 -52
- package/dist/bundle/{all-profiles-2BZEE7J2.js → all-profiles-GXFPZLYU.js} +9 -9
- package/dist/bundle/{anthropic-NW7DL3S3.js → anthropic-FHS5XNK5.js} +5 -5
- package/dist/bundle/{app-server-RUTYKELF.js → app-server-IZMFSFP2.js} +54 -46
- package/dist/bundle/{bot-api-DW6NAZAQ.js → bot-api-LQP75V5I.js} +61 -53
- package/dist/bundle/{bot-history-FAJ2W42U.js → bot-history-EJQOD4AQ.js} +22 -18
- package/dist/bundle/{bun-IVP5LSVI.js → bun-GBAZFRCV.js} +2 -2
- package/dist/bundle/{bun-sqlite-ATPCJ4CT.js → bun-sqlite-JB4BX6X7.js} +6 -6
- package/dist/bundle/chunk-2JZJPVBH.js +334 -0
- package/dist/bundle/{chunk-FHGAJK4I.js → chunk-2LPODKIF.js} +15 -15
- package/dist/bundle/chunk-3KZG63EH.js +170 -0
- package/dist/bundle/chunk-3XMUP55N.js +372 -0
- package/dist/bundle/{chunk-MDGLKMLD.js → chunk-4BJAQNJ5.js} +9 -9
- package/dist/bundle/{chunk-M4OP5ASJ.js → chunk-66PL7P4C.js} +1 -1
- package/dist/bundle/{chunk-MOUPWPNL.js → chunk-66UG67CE.js} +12 -12
- package/dist/bundle/{chunk-R4QVV3LN.js → chunk-6JBRQ6PM.js} +41 -19
- package/dist/bundle/{chunk-GYO4WXLG.js → chunk-6M3FAHPS.js} +3 -3
- package/dist/bundle/{chunk-2QHIOPSA.js → chunk-7F3LOHRB.js} +261 -501
- package/dist/bundle/{chunk-XS5C5TQ7.js → chunk-AUNNJDVD.js} +25 -8
- package/dist/bundle/{chunk-7D6LI2N7.js → chunk-B5RGPZDZ.js} +7 -7
- package/dist/bundle/{chunk-YRZXOQOB.js → chunk-B6NQJAUC.js} +2 -2
- package/dist/bundle/{chunk-IV2KJQ5F.js → chunk-BMSS3PCY.js} +58 -33
- package/dist/bundle/{chunk-LTADKMP5.js → chunk-C4ALE7CH.js} +1 -1
- package/dist/bundle/{chunk-WG3BF7SA.js → chunk-CKJ73EF3.js} +1 -1
- package/dist/bundle/{chunk-IX3GUNGV.js → chunk-CLG2ISQH.js} +4 -4
- package/dist/bundle/{chunk-G3PL3R45.js → chunk-EB2JE722.js} +1 -1
- package/dist/bundle/{chunk-J3SX36NE.js → chunk-EUL7HMUL.js} +2 -2
- package/dist/bundle/{chunk-PJA43HVE.js → chunk-F6CV4KUN.js} +2 -2
- package/dist/bundle/{chunk-7KCBPAQS.js → chunk-F6MLJ3V5.js} +2 -2
- package/dist/bundle/{chunk-3UGRMFWK.js → chunk-FH4YIBBH.js} +4 -4
- package/dist/bundle/chunk-FIO5NMK3.js +771 -0
- package/dist/bundle/{chunk-7I5NMVX7.js → chunk-G2SMVYBU.js} +2 -2
- package/dist/bundle/{chunk-FIVFP53N.js → chunk-GA3URWIF.js} +1 -1
- package/dist/bundle/{chunk-2A3TC52A.js → chunk-GGGBPWUS.js} +10 -15
- package/dist/bundle/{chunk-KKZQK6IK.js → chunk-GSHTLLCJ.js} +2 -2
- package/dist/bundle/{chunk-F4UIBEQK.js → chunk-GYCKRIRK.js} +3 -3
- package/dist/bundle/{chunk-WPMJQIEU.js → chunk-HHUK3XO5.js} +1 -1
- package/dist/bundle/{chunk-NM5GBJME.js → chunk-HT6OFANN.js} +19 -19
- package/dist/bundle/{chunk-ODBK56ZR.js → chunk-I5PILOTU.js} +1 -1
- package/dist/bundle/chunk-IBSHQWIJ.js +29 -0
- package/dist/bundle/{chunk-RZFIQMOA.js → chunk-IRWSZJYL.js} +60 -58
- package/dist/bundle/{chunk-BVCRDHI2.js → chunk-IV6SIKVH.js} +4 -4
- package/dist/bundle/{chunk-URFBZNLU.js → chunk-JUFLELQ7.js} +2 -2
- package/dist/bundle/{chunk-XYAH6QQO.js → chunk-KY3JLXW2.js} +4 -4
- package/dist/bundle/{chunk-YSXDCSBP.js → chunk-LPT5T6PU.js} +29 -30
- package/dist/bundle/chunk-LQPZDDDP.js +259 -0
- package/dist/bundle/{chunk-JI2PFQFL.js → chunk-M327UNS6.js} +6 -6
- package/dist/bundle/{chunk-SDLJJF7E.js → chunk-MS6YEIG5.js} +13 -13
- package/dist/bundle/{chunk-WMUPZ3IY.js → chunk-MVFSWKTM.js} +12 -12
- package/dist/bundle/{chunk-YVV5S2QA.js → chunk-NRCY3WBC.js} +2 -2
- package/dist/bundle/{chunk-2IL4YDGG.js → chunk-O2ULG7OO.js} +3 -3
- package/dist/bundle/{chunk-E56QE3UC.js → chunk-OJMDKWWL.js} +627 -503
- package/dist/bundle/{chunk-UURJO46N.js → chunk-OKTRB4ZQ.js} +1 -1
- package/dist/bundle/{chunk-OX6574YV.js → chunk-OOQVHMCS.js} +15 -15
- package/dist/bundle/{chunk-IIHCSJV2.js → chunk-OWVQMK7G.js} +700 -837
- package/dist/bundle/{chunk-WMF6SL5D.js → chunk-P4FZJO5F.js} +2 -2
- package/dist/bundle/{chunk-LD42OGKK.js → chunk-PS7ZS5HD.js} +4 -4
- package/dist/bundle/{chunk-EAUHYQUK.js → chunk-PWQKGFS2.js} +36 -34
- package/dist/bundle/{chunk-MGBVVQTU.js → chunk-QBNEWEJC.js} +3 -3
- package/dist/bundle/{chunk-QYN5RDTZ.js → chunk-QDEP2QOA.js} +3 -3
- package/dist/bundle/{chunk-QO4ON2X7.js → chunk-QFVIHBLD.js} +1 -1
- package/dist/bundle/{chunk-ZVLYK6CZ.js → chunk-QJDHRBXL.js} +7 -7
- package/dist/bundle/{chunk-IHLNXL2D.js → chunk-QJLCEOAP.js} +1 -1
- package/dist/bundle/{chunk-KF2Q776U.js → chunk-RAFK5KXU.js} +9 -9
- package/dist/bundle/{chunk-RIGNCUZD.js → chunk-RPWYTOLI.js} +5 -5
- package/dist/bundle/{chunk-4DSIGS2E.js → chunk-RZPMFVWM.js} +6 -6
- package/dist/bundle/chunk-S5UTBEV3.js +1974 -0
- package/dist/bundle/{chunk-MC6FOTCV.js → chunk-SYZXOEHY.js} +3 -3
- package/dist/bundle/{chunk-5AP25FMW.js → chunk-SZB5WRMI.js} +2 -2
- package/dist/bundle/{chunk-Q3ZO6Q3M.js → chunk-TGRB4SSZ.js} +4 -4
- package/dist/bundle/{chunk-TQFUAKU6.js → chunk-VSPSHBAC.js} +2 -2
- package/dist/bundle/{chunk-TGUXKG4B.js → chunk-VTJ3AOTT.js} +17 -17
- package/dist/bundle/{chunk-T2CWSFGY.js → chunk-VXWDQDRU.js} +6341 -6902
- package/dist/bundle/{chunk-JJGPU24U.js → chunk-X5H5NERR.js} +6 -6
- package/dist/bundle/{chunk-AF2XVV5P.js → chunk-XHX5D5VE.js} +727 -2598
- package/dist/bundle/chunk-XXW6PFAX.js +16 -0
- package/dist/bundle/{chunk-NXDQXDRN.js → chunk-ZRQQOGAZ.js} +4 -4
- package/dist/bundle/command-contract-G752BLKA.js +37 -0
- package/dist/bundle/{command-server-entry-BU3X4XNL.js → command-server-entry-YR6ONDWO.js} +27 -24
- package/dist/bundle/decode-VUKGWFSW.js +296 -0
- package/dist/bundle/{dispatch-PRAIGIFS.js → dispatch-ST5FK2KI.js} +8 -8
- package/dist/bundle/{echarts-NAXLKJLA.js → echarts-GOV5M733.js} +2 -2
- package/dist/bundle/{embed-LB6ONWHX.js → embed-2IVIYNAJ.js} +6 -6
- package/dist/bundle/{embedder-WE7B2RU5.js → embedder-2HU7JYZK.js} +9 -9
- package/dist/bundle/{entry-W6Y52ZRN.js → entry-CSTCXYI5.js} +9 -9
- package/dist/bundle/{failure-7Y34AUJT.js → failure-GMUQKQ5K.js} +2 -2
- package/dist/bundle/{first-run-NVYNZZA6.js → first-run-3IZGXZT5.js} +12 -11
- package/dist/bundle/first-screen-7QSNCZIK.js +35 -0
- package/dist/bundle/{instructions-MRUC57NS.js → instructions-YSXV6FAC.js} +1 -1
- package/dist/bundle/{mcp-TDKGDB4V.js → mcp-VFIOZDVY.js} +2 -2
- package/dist/bundle/meeting-combined-X4E3LSIJ.js +23 -0
- package/dist/bundle/meeting-model-FQBDHGRU.js +24 -0
- package/dist/bundle/meeting-semantic-ONNEOJX5.js +21 -0
- package/dist/bundle/{node-G7PMDYQV.js → node-FMQWCZRS.js} +2 -2
- package/dist/bundle/{node-sqlite-RXWQ3SES.js → node-sqlite-YN5OKOC6.js} +7 -7
- package/dist/bundle/{oauth-6ZWOL6KX.js → oauth-EW7PTZVT.js} +7 -7
- package/dist/bundle/{open-V7LMZCFI.js → open-Q2RDY344.js} +5 -5
- package/dist/bundle/{openai-P472V4ZM.js → openai-STON6G3O.js} +28 -26
- package/dist/bundle/{process-GSNPENHL.js → process-OQUC2TW3.js} +1 -1
- package/dist/bundle/{program-IELITPKT.js → program-7JJHTZ25.js} +66 -57
- package/dist/bundle/{prompt-2CP6CQ5N.js → prompt-WHVF7UTW.js} +5 -5
- package/dist/bundle/{proxy-transport-DP7SIMIC.js → proxy-transport-A4MRO3PF.js} +5 -5
- package/dist/bundle/{recognize-R2DEQ5TC.js → recognize-YDQWMXNI.js} +4 -4
- package/dist/bundle/{remote-JG3POFES.js → remote-477LQHP6.js} +9 -9
- package/dist/bundle/{rerank-TVMR3OLL.js → rerank-4YPB26FG.js} +7 -7
- package/dist/bundle/{serve-DBWSMLPH.js → serve-FXJNUOTS.js} +9 -9
- package/dist/bundle/{server-EXJ2WNZY.js → server-2S6HFBGR.js} +44 -36
- package/dist/bundle/server-UOSUTZNE.js +69 -0
- package/dist/bundle/{sqlite-runtime-AWMY7W4Q.js → sqlite-runtime-RXYNJYMC.js} +6 -6
- package/dist/bundle/{state-HN44BWNQ.js → state-I2GGYGRL.js} +6 -6
- package/dist/bundle/{store-LOVKYQDC.js → store-KX3AAQZH.js} +25 -20
- package/dist/bundle/{store-GIYS3LHV.js → store-VQXIB6KV.js} +17 -13
- package/dist/bundle/store-maintenance-command-LW2MMDLY.js +60 -0
- package/dist/bundle/tg.js +13 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-3BSXDYBC.js +0 -34
- package/dist/bundle/decode-NXB7E46F.js +0 -162
- package/dist/bundle/first-screen-Z6TVHK6I.js +0 -32
- package/dist/bundle/server-SXNFFAIR.js +0 -61
- package/dist/bundle/store-maintenance-command-X3VOYNCG.js +0 -52
- /package/dist/bundle/{chunk-XWBPP2HX.js → chunk-ZI3YTXSF.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-2LPODKIF.js";
|
|
7
7
|
import {
|
|
8
8
|
FETCHING,
|
|
9
9
|
RULES_VERSION,
|
|
@@ -28,14 +28,18 @@ import {
|
|
|
28
28
|
typedQuery,
|
|
29
29
|
withQuery,
|
|
30
30
|
withTimeLimit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OWVQMK7G.js";
|
|
32
|
+
import {
|
|
33
|
+
stringWidth,
|
|
34
|
+
wrapAnsi
|
|
35
|
+
} from "./chunk-2ABQZVK4.js";
|
|
32
36
|
import {
|
|
33
37
|
holdLock,
|
|
34
38
|
lockPath,
|
|
35
39
|
releaseLock,
|
|
36
40
|
servingProfiles,
|
|
37
41
|
takeLock
|
|
38
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-O2ULG7OO.js";
|
|
39
43
|
import {
|
|
40
44
|
QUICK_HEALTH_CHECKS,
|
|
41
45
|
fts5Tables,
|
|
@@ -43,14 +47,10 @@ import {
|
|
|
43
47
|
lossUnknown,
|
|
44
48
|
storeDamageReport,
|
|
45
49
|
storeHealth
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import {
|
|
48
|
-
stringWidth,
|
|
49
|
-
wrapAnsi
|
|
50
|
-
} from "./chunk-2ABQZVK4.js";
|
|
50
|
+
} from "./chunk-VTJ3AOTT.js";
|
|
51
51
|
import {
|
|
52
52
|
readSecret
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-6M3FAHPS.js";
|
|
54
54
|
import {
|
|
55
55
|
CORPORA,
|
|
56
56
|
MIGRATIONS,
|
|
@@ -85,10 +85,10 @@ import {
|
|
|
85
85
|
storeClients,
|
|
86
86
|
storeContents,
|
|
87
87
|
vectorIndexCounts
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-VXWDQDRU.js";
|
|
89
89
|
import {
|
|
90
90
|
openCache
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-M327UNS6.js";
|
|
92
92
|
import {
|
|
93
93
|
Command,
|
|
94
94
|
LOCAL_READ,
|
|
@@ -116,42 +116,44 @@ import {
|
|
|
116
116
|
snakeKeys,
|
|
117
117
|
storeTable,
|
|
118
118
|
withoutProviderRefs
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-7F3LOHRB.js";
|
|
120
120
|
import {
|
|
121
121
|
holdersOf
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-QFVIHBLD.js";
|
|
123
123
|
import {
|
|
124
124
|
modelAddressAllowed,
|
|
125
125
|
onThisComputer
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-RPWYTOLI.js";
|
|
127
127
|
import {
|
|
128
128
|
currentRun,
|
|
129
129
|
formatLocator,
|
|
130
130
|
parseLocator,
|
|
131
|
-
queryFieldsOf,
|
|
132
131
|
readDamageMark,
|
|
133
132
|
readHealthMark,
|
|
134
133
|
readJournalMark,
|
|
135
134
|
recordDeepCheck
|
|
136
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-S5UTBEV3.js";
|
|
137
136
|
import {
|
|
138
137
|
failureKey,
|
|
139
138
|
isStoreDamage
|
|
140
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-QBNEWEJC.js";
|
|
141
140
|
import {
|
|
142
141
|
readSharedSection,
|
|
143
142
|
sharedConfigPath,
|
|
144
143
|
writeSharedSection
|
|
145
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-B5RGPZDZ.js";
|
|
145
|
+
import {
|
|
146
|
+
queryFieldsOf
|
|
147
|
+
} from "./chunk-XHX5D5VE.js";
|
|
146
148
|
import {
|
|
147
149
|
storePath
|
|
148
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-VSPSHBAC.js";
|
|
149
151
|
import {
|
|
150
152
|
Credentials,
|
|
151
153
|
isMovedRun,
|
|
152
154
|
resolvePaths,
|
|
153
155
|
writeSecurely
|
|
154
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-HT6OFANN.js";
|
|
155
157
|
import {
|
|
156
158
|
array,
|
|
157
159
|
boolean,
|
|
@@ -173,12 +175,12 @@ import {
|
|
|
173
175
|
string,
|
|
174
176
|
transform,
|
|
175
177
|
trim
|
|
176
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-AUNNJDVD.js";
|
|
177
179
|
import {
|
|
178
180
|
CliError,
|
|
179
181
|
singleLine,
|
|
180
182
|
visibleControls
|
|
181
|
-
} from "./chunk-
|
|
183
|
+
} from "./chunk-F6MLJ3V5.js";
|
|
182
184
|
import {
|
|
183
185
|
__commonJS,
|
|
184
186
|
__name,
|
|
@@ -5518,11 +5520,11 @@ var require_liquid_node = __commonJS({
|
|
|
5518
5520
|
}
|
|
5519
5521
|
});
|
|
5520
5522
|
|
|
5521
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5523
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5522
5524
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync10, mkdirSync, realpathSync as realpathSync3, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5523
5525
|
import { dirname as dirname3, resolve } from "node:path";
|
|
5524
5526
|
|
|
5525
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5527
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5526
5528
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5527
5529
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5528
5530
|
import { Transform } from "node:stream";
|
|
@@ -5629,7 +5631,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5629
5631
|
renameSync(pending, to);
|
|
5630
5632
|
}, "unsealFile");
|
|
5631
5633
|
|
|
5632
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5634
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5633
5635
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5634
5636
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5635
5637
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5653,7 +5655,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5653
5655
|
};
|
|
5654
5656
|
}, "compatibilityOf");
|
|
5655
5657
|
|
|
5656
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5658
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5657
5659
|
import { createHash as createHash2 } from "node:crypto";
|
|
5658
5660
|
var COPY_MARK = "__repair_";
|
|
5659
5661
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5907,19 +5909,19 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5907
5909
|
return found;
|
|
5908
5910
|
}, "deleteCopy");
|
|
5909
5911
|
|
|
5910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5911
5913
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5912
5914
|
|
|
5913
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5915
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5914
5916
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5915
5917
|
|
|
5916
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5917
5919
|
import { execFileSync, spawn } from "node:child_process";
|
|
5918
5920
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5919
5921
|
import { basename, dirname, join } from "node:path";
|
|
5920
5922
|
import { Transform as Transform2 } from "node:stream";
|
|
5921
5923
|
|
|
5922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/store/refill.js
|
|
5923
5925
|
var REFILL_MARGIN_MS = 864e5;
|
|
5924
5926
|
var TIME_KEYS = 1e12;
|
|
5925
5927
|
var integerId = `external_id GLOB '[0-9]*' AND NOT external_id GLOB '*[^0-9]*'`;
|
|
@@ -5999,7 +6001,7 @@ var forgetMail = /* @__PURE__ */ __name((database, cutoff, now) => {
|
|
|
5999
6001
|
return [...folders].map(([account, count3]) => ({ account, folders: count3 }));
|
|
6000
6002
|
}, "forgetMail");
|
|
6001
6003
|
|
|
6002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6004
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
6003
6005
|
var SQLITE3_MINIMUM = [3, 43, 0];
|
|
6004
6006
|
var STORE_PARTS = ["", "-wal", "-shm"];
|
|
6005
6007
|
var RECOVER_LOCK = ".recover-lock";
|
|
@@ -6527,7 +6529,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6527
6529
|
}
|
|
6528
6530
|
}, "recoverLocked");
|
|
6529
6531
|
|
|
6530
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6532
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6531
6533
|
var COUNTED = [
|
|
6532
6534
|
"accounts",
|
|
6533
6535
|
"chats",
|
|
@@ -6683,7 +6685,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6683
6685
|
return recover;
|
|
6684
6686
|
}, "storeRecoverCommand");
|
|
6685
6687
|
|
|
6686
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6688
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6687
6689
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6688
6690
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6689
6691
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6729,7 +6731,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6729
6731
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6730
6732
|
}), "storeInfoCommand");
|
|
6731
6733
|
|
|
6732
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6734
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6733
6735
|
var ENCRYPT_OPTION = [
|
|
6734
6736
|
"--encrypt",
|
|
6735
6737
|
"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"
|
|
@@ -6748,7 +6750,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6748
6750
|
return password;
|
|
6749
6751
|
}, "passwordOf");
|
|
6750
6752
|
|
|
6751
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6753
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6752
6754
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6753
6755
|
import { join as join2 } from "node:path";
|
|
6754
6756
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6919,7 +6921,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6919
6921
|
}, "problem");
|
|
6920
6922
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6921
6923
|
|
|
6922
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6924
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6923
6925
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6924
6926
|
import { join as join3 } from "node:path";
|
|
6925
6927
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6972,7 +6974,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6972
6974
|
}, "recordReply");
|
|
6973
6975
|
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");
|
|
6974
6976
|
|
|
6975
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6976
6978
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6977
6979
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6978
6980
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -7078,10 +7080,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
7078
7080
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
7079
7081
|
}, "filled");
|
|
7080
7082
|
|
|
7081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7082
7084
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
7083
7085
|
|
|
7084
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7086
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
7085
7087
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
7086
7088
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
7087
7089
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -7108,7 +7110,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
7108
7110
|
return engine;
|
|
7109
7111
|
}, "safeLiquid");
|
|
7110
7112
|
|
|
7111
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7113
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
7112
7114
|
var TEMPLATE_LIMITS = {
|
|
7113
7115
|
parse: 32768,
|
|
7114
7116
|
renders: 2e3,
|
|
@@ -7247,7 +7249,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
7247
7249
|
}
|
|
7248
7250
|
}, "renderReplyTemplate");
|
|
7249
7251
|
|
|
7250
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7252
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
7251
7253
|
var DRY_RUN_DAYS = 7;
|
|
7252
7254
|
var PAGE = 500;
|
|
7253
7255
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7361,7 +7363,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7361
7363
|
}
|
|
7362
7364
|
}, "storedSince");
|
|
7363
7365
|
|
|
7364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/models/ai.js
|
|
7365
7367
|
var AI_PROVIDERS = ["anthropic", "openai", "ollama"];
|
|
7366
7368
|
var DEFAULT_BASE_URL = {
|
|
7367
7369
|
anthropic: "https://api.anthropic.com",
|
|
@@ -7511,7 +7513,7 @@ var checkAi = /* @__PURE__ */ __name(async (deps) => {
|
|
|
7511
7513
|
}
|
|
7512
7514
|
}, "checkAi");
|
|
7513
7515
|
|
|
7514
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7516
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/models/purpose.js
|
|
7515
7517
|
var HOSTED = {
|
|
7516
7518
|
openai: "https://api.openai.com/v1",
|
|
7517
7519
|
anthropic: "https://api.anthropic.com"
|
|
@@ -7532,7 +7534,7 @@ var purposeModel = /* @__PURE__ */ __name((settings, purpose, deps) => {
|
|
|
7532
7534
|
return shared ? { target: shared.target, key: /* @__PURE__ */ __name(() => shared.key, "key"), shared: shared.setting } : void 0;
|
|
7533
7535
|
}, "purposeModel");
|
|
7534
7536
|
|
|
7535
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7537
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7536
7538
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7537
7539
|
import { join as join4 } from "node:path";
|
|
7538
7540
|
var shape = strictObject({
|
|
@@ -7557,7 +7559,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7557
7559
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7558
7560
|
}, "mayModelReply");
|
|
7559
7561
|
|
|
7560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7561
7563
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7562
7564
|
ai: true
|
|
7563
7565
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7605,7 +7607,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7605
7607
|
return result2;
|
|
7606
7608
|
}, "replyRenderer");
|
|
7607
7609
|
|
|
7608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7609
7611
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7610
7612
|
var NO_RULES = "no rules";
|
|
7611
7613
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7698,7 +7700,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7698
7700
|
return { skip: why };
|
|
7699
7701
|
}, "replyTo");
|
|
7700
7702
|
|
|
7701
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7703
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7702
7704
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7703
7705
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7704
7706
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7775,7 +7777,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7775
7777
|
};
|
|
7776
7778
|
}, "startSync");
|
|
7777
7779
|
|
|
7778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7780
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7779
7781
|
var FIRST_FETCH_MS = 6e4;
|
|
7780
7782
|
var DAY_MS = 864e5;
|
|
7781
7783
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7829,7 +7831,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7829
7831
|
};
|
|
7830
7832
|
}, "memberFetches");
|
|
7831
7833
|
|
|
7832
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7834
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7833
7835
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7834
7836
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7835
7837
|
if (context.format === "pretty") {
|
|
@@ -7862,7 +7864,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7862
7864
|
return context;
|
|
7863
7865
|
}, "recordDiagnostics");
|
|
7864
7866
|
|
|
7865
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7867
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-outdated.js
|
|
7866
7868
|
import { existsSync as existsSync8, readFileSync as readFileSync5, realpathSync as realpathSync2 } from "node:fs";
|
|
7867
7869
|
import { dirname as dirname2, join as join5 } from "node:path";
|
|
7868
7870
|
var OUTDATED_CHECK_MS = 6e4;
|
|
@@ -7948,7 +7950,7 @@ var watchOutdated = /* @__PURE__ */ __name(({ check: check2, onOutdated, everyMs
|
|
|
7948
7950
|
};
|
|
7949
7951
|
}, "watchOutdated");
|
|
7950
7952
|
|
|
7951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7952
7954
|
var STEMS_EVERY_MS = 3e4;
|
|
7953
7955
|
var STEMS_SLICE_MS = 2e3;
|
|
7954
7956
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -7988,7 +7990,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
7988
7990
|
};
|
|
7989
7991
|
}, "stemFills");
|
|
7990
7992
|
|
|
7991
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7993
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
7992
7994
|
import { styleText } from "node:util";
|
|
7993
7995
|
var TIME_WIDTH = 8;
|
|
7994
7996
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -8164,7 +8166,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
|
|
|
8164
8166
|
return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
|
|
8165
8167
|
}, "editedAt");
|
|
8166
8168
|
|
|
8167
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
8168
8170
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
8169
8171
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
8170
8172
|
kind: attachment.kind,
|
|
@@ -8260,7 +8262,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
8260
8262
|
locale: messenger.app.locale
|
|
8261
8263
|
}), "viewOf");
|
|
8262
8264
|
|
|
8263
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8265
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
8264
8266
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
8265
8267
|
value: value.value,
|
|
8266
8268
|
observed_at: value.observedAt,
|
|
@@ -8327,7 +8329,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
8327
8329
|
}
|
|
8328
8330
|
}, "watchEventItem");
|
|
8329
8331
|
|
|
8330
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
8331
8333
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
8332
8334
|
output: { entity: "watch_item" },
|
|
8333
8335
|
effects: REMOTE_READ,
|
|
@@ -8482,7 +8484,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
8482
8484
|
}
|
|
8483
8485
|
}, "describe");
|
|
8484
8486
|
|
|
8485
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
8486
8488
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
8487
8489
|
const command = annotate(new Command("serve"), {
|
|
8488
8490
|
output: { entity: "serve_summary" },
|
|
@@ -8768,7 +8770,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8768
8770
|
};
|
|
8769
8771
|
}, "tasking");
|
|
8770
8772
|
|
|
8771
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8772
8774
|
import { existsSync as existsSync9 } from "node:fs";
|
|
8773
8775
|
var PATH = "store tables list";
|
|
8774
8776
|
var STORE_TABLES_QUERY = {
|
|
@@ -8811,7 +8813,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((owner) => {
|
|
|
8811
8813
|
return tables;
|
|
8812
8814
|
}, "storeTablesCommand");
|
|
8813
8815
|
|
|
8814
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8815
8817
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8816
8818
|
var WORD_INDEX = "message_words";
|
|
8817
8819
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
wirecatDirectory
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VSPSHBAC.js";
|
|
6
6
|
import {
|
|
7
7
|
CliError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-F6MLJ3V5.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.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/speech/models.js
|
|
14
14
|
var huggingFace = /* @__PURE__ */ __name((repository, commit) => (name) => `https://huggingface.co/csukuangfj/${repository}/resolve/${commit}/${name}`, "huggingFace");
|
|
15
15
|
var gigaam = huggingFace("sherpa-onnx-nemo-transducer-punct-giga-am-v3-russian-2025-12-16", "a6039be7cee829a9044a69ac0ebaf1c191217c97");
|
|
16
16
|
var gigaamCtc = huggingFace("sherpa-onnx-nemo-ctc-punct-giga-am-v3-russian-2025-12-16", "4fb5407ff028a69fec516cdf4c10fac9ddea7c16");
|
|
@@ -137,7 +137,7 @@ var speechModel = /* @__PURE__ */ __name((id) => {
|
|
|
137
137
|
return model;
|
|
138
138
|
}, "speechModel");
|
|
139
139
|
|
|
140
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
140
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/speech/install.js
|
|
141
141
|
import { createHash, randomUUID } from "node:crypto";
|
|
142
142
|
import { createReadStream, createWriteStream, mkdirSync, statSync } from "node:fs";
|
|
143
143
|
import { rename, rm } from "node:fs/promises";
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
describeOptions,
|
|
8
8
|
keyForCommand,
|
|
9
9
|
metaOf
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7F3LOHRB.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonSchemaOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AUNNJDVD.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-F6MLJ3V5.js";
|
|
17
17
|
import {
|
|
18
18
|
__name
|
|
19
19
|
} from "./chunk-ZVVMGPBJ.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.665.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.101.0_commander@15_1712fa6347d2f5f4f52e592cd2c1c3bf/node_modules/@wirecat/cli-core/dist/cli/command-contract.js
|
|
22
22
|
var SCHEMA_DIALECT = "https://json-schema.org/draft/2020-12/schema";
|
|
23
23
|
var outputOf = /* @__PURE__ */ __name((command) => {
|
|
24
24
|
const entity = answerEntitySchema(command);
|