@wirecat/cli-memo 0.131.66 → 0.131.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-CWV6RUGR.js → all-profiles-W3GRNNLJ.js} +6 -6
- package/dist/bundle/{anthropic-OIVOFYZY.js → anthropic-GWMYHBO4.js} +3 -3
- package/dist/bundle/{app-server-2APNY5WO.js → app-server-RQ26EXNI.js} +37 -37
- package/dist/bundle/auto-FR6LX5KO.js +85 -0
- package/dist/bundle/{bun-7ZKANZII.js → bun-KKLPQTG5.js} +2 -2
- package/dist/bundle/{bun-sqlite-M2EHGYBI.js → bun-sqlite-WKIZJNTG.js} +3 -3
- package/dist/bundle/{chunk-R4LVHS2N.js → chunk-32ROGX5N.js} +1 -1
- package/dist/bundle/{chunk-2SIOUXJ7.js → chunk-4C6RU7DG.js} +5 -5
- package/dist/bundle/{chunk-OO6SA2FM.js → chunk-4JTCNMW6.js} +1 -1
- package/dist/bundle/{chunk-75MWX5PK.js → chunk-6SFTVGNL.js} +1 -1
- package/dist/bundle/{chunk-GL74QTTV.js → chunk-7DANHJF6.js} +35 -33
- package/dist/bundle/{chunk-UCLZMKTT.js → chunk-7IKET6ES.js} +2 -2
- package/dist/bundle/{chunk-KOJN4WTN.js → chunk-7KYVUVDS.js} +2 -2
- package/dist/bundle/{chunk-QWP6RJFR.js → chunk-7OMKWYFN.js} +34 -11
- package/dist/bundle/{chunk-2QIM6246.js → chunk-AGNWFOAJ.js} +1 -1
- package/dist/bundle/{chunk-BF4SX6DP.js → chunk-BOOEDDVY.js} +76 -62
- package/dist/bundle/{chunk-M76ZJSPA.js → chunk-CQNYBTWP.js} +3 -3
- package/dist/bundle/{chunk-JSFC6TRN.js → chunk-DNDELSVT.js} +5 -5
- package/dist/bundle/{chunk-CUC7KGX4.js → chunk-DNS2QWK3.js} +3 -3
- package/dist/bundle/{chunk-KU4TU5XZ.js → chunk-ECMYCWG2.js} +2 -2
- package/dist/bundle/{chunk-22XVNJQP.js → chunk-FBSHWCIZ.js} +9 -9
- package/dist/bundle/{chunk-DNXPQGFB.js → chunk-GHN2KYMO.js} +21 -21
- package/dist/bundle/{chunk-ADDDSIRN.js → chunk-GJ3P7RJF.js} +5 -5
- package/dist/bundle/{chunk-IGXIPABG.js → chunk-GU3MRYK2.js} +1 -1
- package/dist/bundle/{chunk-LRQD4RJN.js → chunk-GUWRR7F2.js} +2 -2
- package/dist/bundle/{chunk-637JEJOC.js → chunk-HUPZ6XYH.js} +2 -2
- package/dist/bundle/{chunk-CRRBBPJK.js → chunk-IKZBO7NV.js} +1486 -1148
- package/dist/bundle/{chunk-P2MMAW3A.js → chunk-JEKIBI7P.js} +5 -5
- package/dist/bundle/{chunk-GO73V5BC.js → chunk-JG7EDH7K.js} +1 -1
- package/dist/bundle/{chunk-4U2IONIS.js → chunk-LJCT7YG6.js} +1 -1
- package/dist/bundle/{chunk-HB7WN6MX.js → chunk-MCA265JM.js} +7 -1
- package/dist/bundle/{chunk-LEL6NYM5.js → chunk-MLF5FLAP.js} +4 -4
- package/dist/bundle/{chunk-EI5IEOXD.js → chunk-NNUJWCEJ.js} +1 -1
- package/dist/bundle/{chunk-LDPNN4ED.js → chunk-ORKWFXWV.js} +11 -11
- package/dist/bundle/{chunk-IDBN5CTG.js → chunk-OU4PN7PF.js} +7 -7
- package/dist/bundle/{chunk-WDVYPHNV.js → chunk-OUSLPKWY.js} +1 -1
- package/dist/bundle/{chunk-DMC3NDG7.js → chunk-PBOVHHYG.js} +8 -8
- package/dist/bundle/{chunk-B3ZXE2IH.js → chunk-Q4JYHQ47.js} +10870 -10866
- package/dist/bundle/{chunk-MEPRCROV.js → chunk-QCWA3JUT.js} +2 -2
- package/dist/bundle/{chunk-XMGUKW6Y.js → chunk-QFSMJTEA.js} +2 -2
- package/dist/bundle/{chunk-HUJ666OW.js → chunk-QMTCYKAA.js} +7 -6
- package/dist/bundle/{chunk-I4EUGFS7.js → chunk-R4H5HSQZ.js} +4 -4
- package/dist/bundle/{chunk-XAEDDKM4.js → chunk-SKBDI7LU.js} +28 -28
- package/dist/bundle/{chunk-KV35JTWA.js → chunk-SUCG5HBF.js} +1 -1
- package/dist/bundle/{chunk-2LAJDBWZ.js → chunk-TFAUB6JO.js} +1538 -596
- package/dist/bundle/{chunk-ZAOFHRBL.js → chunk-TNHFKR6P.js} +22 -22
- package/dist/bundle/{chunk-C74WKN57.js → chunk-TPYXULNG.js} +7 -7
- package/dist/bundle/{chunk-VBXQAIRI.js → chunk-TQXXOUOX.js} +1 -1
- package/dist/bundle/{chunk-HPUTLOQU.js → chunk-TWTAWPC7.js} +13 -13
- package/dist/bundle/{chunk-7NV2IUIC.js → chunk-TXWVZVDK.js} +3 -3
- package/dist/bundle/{chunk-OZBL624P.js → chunk-UUBV5ATQ.js} +2 -0
- package/dist/bundle/{chunk-DH6PT65U.js → chunk-VUCD4DAQ.js} +4 -4
- package/dist/bundle/{chunk-4Y33E3U3.js → chunk-VVTC2YAX.js} +4 -4
- package/dist/bundle/{chunk-HHDZIBBO.js → chunk-W7FYMZOW.js} +7 -7
- package/dist/bundle/{chunk-XZBVXJWY.js → chunk-WJ2OYD2D.js} +5 -5
- package/dist/bundle/{chunk-2OEQH7HY.js → chunk-XI5UABKO.js} +1 -1
- package/dist/bundle/{chunk-M643YQVP.js → chunk-XK4VVGMH.js} +2 -2
- package/dist/bundle/{chunk-RKLCY7YU.js → chunk-XVPMSMSP.js} +3 -3
- package/dist/bundle/{chunk-LW5G7PAR.js → chunk-XYL7GDCX.js} +5 -5
- package/dist/bundle/{chunk-WCRWS2W7.js → chunk-YAFSD345.js} +12 -12
- package/dist/bundle/{chunk-DAA52TDI.js → chunk-ZNBLWLCD.js} +193 -154
- package/dist/bundle/{chunk-LWX2PCM6.js → chunk-ZOIW2YEU.js} +8 -8
- package/dist/bundle/{chunk-DVVS2API.js → chunk-ZU6HZLZP.js} +43 -43
- package/dist/bundle/{chunk-XFZESHD3.js → chunk-ZVXXJYNW.js} +2 -2
- package/dist/bundle/{command-contract-N554VPBZ.js → command-contract-46BU5YKL.js} +12 -12
- package/dist/bundle/{decode-ZCMHC5JI.js → decode-KRVQZPSB.js} +3 -3
- package/dist/bundle/{echarts-SJNM7DNA.js → echarts-O6QQRVZE.js} +2 -2
- package/dist/bundle/{embed-JO3CVYBK.js → embed-DA4H2F4F.js} +4 -4
- package/dist/bundle/{embedder-QAEGU7TZ.js → embedder-HWAFLIYM.js} +7 -7
- package/dist/bundle/{entry-KMFOJYWF.js → entry-DE7GJOIZ.js} +5 -5
- package/dist/bundle/failure-U3VNIQNX.js +65 -0
- package/dist/bundle/{first-run-5X2NRJL2.js → first-run-GOBPIKQF.js} +7 -7
- package/dist/bundle/{first-screen-2LMAVNBU.js → first-screen-3V3HWSQM.js} +13 -13
- package/dist/bundle/{instructions-GLZE4RPY.js → instructions-GYYMBSZW.js} +1 -1
- package/dist/bundle/mcp-6RDHWRXG.js +90 -0
- package/dist/bundle/memo.js +7 -7
- package/dist/bundle/{node-BNMBIM5C.js → node-R3OFASC5.js} +2 -2
- package/dist/bundle/{node-sqlite-BSRYEMOR.js → node-sqlite-DYHDZJ5A.js} +4 -4
- package/dist/bundle/{oauth-HYAEWGBV.js → oauth-SMCDSCXQ.js} +5 -5
- package/dist/bundle/{open-X7J4Q3I6.js → open-GX7RPGQW.js} +3 -3
- package/dist/bundle/{openai-ZACXNPZS.js → openai-WM4TRXCC.js} +8 -8
- package/dist/bundle/{process-5I6233QY.js → process-NT5OZH2V.js} +1 -1
- package/dist/bundle/{program-RQIADAES.js → program-YQ3UT2LI.js} +5737 -4697
- package/dist/bundle/{prompt-DVKTWZHJ.js → prompt-5XJNSXCW.js} +3 -3
- package/dist/bundle/{recognize-VXK4L74H.js → recognize-DQNGZLRX.js} +2 -2
- package/dist/bundle/{remote-IJLJQRQN.js → remote-RMRYJZSZ.js} +5 -5
- package/dist/bundle/{rerank-553ZMBYJ.js → rerank-5J6JM43S.js} +5 -5
- package/dist/bundle/{serve-76AFHLTI.js → serve-4RVWOQVC.js} +7 -7
- package/dist/bundle/server-HH2X6G7V.js +61 -0
- package/dist/bundle/server-MS3JKMGF.js +48 -0
- package/dist/bundle/{server-B3F54YWL.js → server-NKCRFK26.js} +94 -61
- package/dist/bundle/{state-WYFGGGAG.js → state-MGVPOLPZ.js} +4 -4
- package/dist/bundle/{store-S6QR47NT.js → store-IEK4PPOE.js} +16 -10
- package/dist/bundle/store-maintenance-command-GSS2AY4J.js +47 -0
- package/dist/bundle/update-S5XRRWTH.js +68 -0
- package/dist/digest/command.d.ts.map +1 -1
- package/dist/digest/command.js +2 -1
- package/dist/digest/command.js.map +1 -1
- package/dist/digest/digest.d.ts +2 -2
- package/dist/digest/digest.d.ts.map +1 -1
- package/dist/digest/digest.js +36 -2
- package/dist/digest/digest.js.map +1 -1
- package/dist/discovery/command.d.ts.map +1 -1
- package/dist/discovery/command.js +3 -0
- package/dist/discovery/command.js.map +1 -1
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +29 -0
- package/dist/examples.js.map +1 -1
- package/dist/facts/command.d.ts.map +1 -1
- package/dist/facts/command.js +7 -4
- package/dist/facts/command.js.map +1 -1
- package/dist/facts/fact.d.ts +1 -0
- package/dist/facts/fact.d.ts.map +1 -1
- package/dist/facts/fact.js +1 -0
- package/dist/facts/fact.js.map +1 -1
- package/dist/knowledge/project-context.d.ts +1 -0
- package/dist/knowledge/project-context.d.ts.map +1 -1
- package/dist/mcp/catalogue.d.ts +3 -0
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +47 -13
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/memories/command.d.ts.map +1 -1
- package/dist/memories/command.js +9 -5
- package/dist/memories/command.js.map +1 -1
- package/dist/memories/memories.d.ts +6 -3
- package/dist/memories/memories.d.ts.map +1 -1
- package/dist/memories/memories.js +15 -20
- package/dist/memories/memories.js.map +1 -1
- package/dist/memories/memory.d.ts +1 -0
- package/dist/memories/memory.d.ts.map +1 -1
- package/dist/memories/memory.js +1 -0
- package/dist/memories/memory.js.map +1 -1
- package/dist/memories/sources.d.ts +27 -0
- package/dist/memories/sources.d.ts.map +1 -0
- package/dist/memories/sources.js +111 -0
- package/dist/memories/sources.js.map +1 -0
- package/dist/notes/embed.d.ts +2 -0
- package/dist/notes/embed.d.ts.map +1 -1
- package/dist/notes/embed.js +13 -0
- package/dist/notes/embed.js.map +1 -1
- package/dist/notes/files.d.ts.map +1 -1
- package/dist/notes/files.js +2 -0
- package/dist/notes/files.js.map +1 -1
- package/dist/program.d.ts +4 -1
- package/dist/program.d.ts.map +1 -1
- package/dist/program.js +44 -1
- package/dist/program.js.map +1 -1
- package/dist/read-only.d.ts +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/command.d.ts +2 -0
- package/dist/review/command.d.ts.map +1 -1
- package/dist/review/command.js +18 -3
- package/dist/review/command.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +2 -1
- package/dist/review/kinds.js.map +1 -1
- package/dist/review/review.d.ts +64 -1
- package/dist/review/review.d.ts.map +1 -1
- package/dist/review/review.js +45 -0
- package/dist/review/review.js.map +1 -1
- package/dist/run/import.d.ts +9 -0
- package/dist/run/import.d.ts.map +1 -1
- package/dist/run/import.js +20 -0
- package/dist/run/import.js.map +1 -1
- package/dist/sources/command.d.ts +7 -0
- package/dist/sources/command.d.ts.map +1 -0
- package/dist/sources/command.js +246 -0
- package/dist/sources/command.js.map +1 -0
- package/dist/sources/copy.d.ts +13 -0
- package/dist/sources/copy.d.ts.map +1 -0
- package/dist/sources/copy.js +32 -0
- package/dist/sources/copy.js.map +1 -0
- package/dist/sources/mentions.d.ts +21 -0
- package/dist/sources/mentions.d.ts.map +1 -0
- package/dist/sources/mentions.js +78 -0
- package/dist/sources/mentions.js.map +1 -0
- package/dist/sources/read.d.ts +30 -0
- package/dist/sources/read.d.ts.map +1 -0
- package/dist/sources/read.js +181 -0
- package/dist/sources/read.js.map +1 -0
- package/dist/templates/command.d.ts +5 -0
- package/dist/templates/command.d.ts.map +1 -0
- package/dist/templates/command.js +18 -0
- package/dist/templates/command.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +9 -0
- package/skills/cli-memo/topics/proposals.md +13 -2
- package/skills/cli-memo/topics/search.md +7 -0
- package/dist/bundle/auto-HRPCC4FE.js +0 -85
- package/dist/bundle/failure-2FQL5SHA.js +0 -65
- package/dist/bundle/mcp-QXTOJORS.js +0 -90
- package/dist/bundle/server-PSEKWXKK.js +0 -48
- package/dist/bundle/server-QDPYZZT5.js +0 -61
- package/dist/bundle/store-maintenance-command-O4TXIWSL.js +0 -47
- package/dist/bundle/update-Z4LDMYC5.js +0 -68
- /package/dist/bundle/{chunk-IJPRQERM.js → chunk-DS7NXKAN.js} +0 -0
|
@@ -3,21 +3,21 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
SAMPLE_RATE,
|
|
5
5
|
toModelRate
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XVPMSMSP.js";
|
|
7
7
|
import {
|
|
8
8
|
OPENAI_URL
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GUWRR7F2.js";
|
|
10
10
|
import {
|
|
11
11
|
OPENAI_TRANSCRIBE_MODEL,
|
|
12
12
|
VAD,
|
|
13
13
|
filesPresent,
|
|
14
14
|
modelsDirectory,
|
|
15
15
|
vadPath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DNS2QWK3.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_RETRY,
|
|
19
19
|
backoffMs
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
21
21
|
import {
|
|
22
22
|
CliError
|
|
23
23
|
} from "./chunk-ZTONSM5X.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
__name
|
|
26
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
29
29
|
import { setTimeout as wait } from "node:timers/promises";
|
|
30
30
|
|
|
31
31
|
// node_modules/.pnpm/@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/http/hosts.js
|
|
@@ -56,7 +56,7 @@ var parseRateLimitReset = /* @__PURE__ */ __name((header, now) => {
|
|
|
56
56
|
}, "parseRateLimitReset");
|
|
57
57
|
var providerWaitMs = /* @__PURE__ */ __name((headers, now) => parseRetryAfter(headers.get("retry-after"), now) ?? parseRateLimitReset(headers.get("x-ratelimit-reset"), now), "providerWaitMs");
|
|
58
58
|
|
|
59
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
59
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/speech/wav.js
|
|
60
60
|
var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
61
61
|
const bytes = Buffer.alloc(44 + samples.length * 2);
|
|
62
62
|
bytes.write("RIFF", 0, "ascii");
|
|
@@ -77,7 +77,7 @@ var encodeWav = /* @__PURE__ */ __name((samples, sampleRate = 16e3) => {
|
|
|
77
77
|
return new Uint8Array(bytes.buffer, bytes.byteOffset, bytes.length);
|
|
78
78
|
}, "encodeWav");
|
|
79
79
|
|
|
80
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
80
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/speech/openai.js
|
|
81
81
|
var LONGEST_REQUEST_SECONDS = 600;
|
|
82
82
|
var JOINED_SECONDS = 0.2;
|
|
83
83
|
var PAD_SECONDS = 0.2;
|
|
@@ -199,7 +199,7 @@ var piecesOf = /* @__PURE__ */ __name((spans, limit) => {
|
|
|
199
199
|
return pieces;
|
|
200
200
|
}, "piecesOf");
|
|
201
201
|
var openCutter = /* @__PURE__ */ __name(async (vadModel) => {
|
|
202
|
-
const { openSpeechCutter } = await import("./recognize-
|
|
202
|
+
const { openSpeechCutter } = await import("./recognize-DQNGZLRX.js");
|
|
203
203
|
return openSpeechCutter(vadModel);
|
|
204
204
|
}, "openCutter");
|
|
205
205
|
var checkKeywords = /* @__PURE__ */ __name((keywords = []) => {
|
|
@@ -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-TNHFKR6P.js";
|
|
7
7
|
import {
|
|
8
8
|
FETCHING,
|
|
9
9
|
QUICK_HEALTH_CHECKS,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
typedQuery,
|
|
33
33
|
withQuery,
|
|
34
34
|
withTimeLimit
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Q4JYHQ47.js";
|
|
36
36
|
import {
|
|
37
37
|
stringWidth,
|
|
38
38
|
wrapAnsi
|
|
@@ -63,17 +63,17 @@ import {
|
|
|
63
63
|
snakeKeys,
|
|
64
64
|
storeTable,
|
|
65
65
|
withoutProviderRefs
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-ZNBLWLCD.js";
|
|
67
67
|
import {
|
|
68
68
|
holdLock,
|
|
69
69
|
lockPath,
|
|
70
70
|
releaseLock,
|
|
71
71
|
servingProfiles,
|
|
72
72
|
takeLock
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-CQNYBTWP.js";
|
|
74
74
|
import {
|
|
75
75
|
holdersOf
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-4JTCNMW6.js";
|
|
77
77
|
import {
|
|
78
78
|
CORPORA,
|
|
79
79
|
MIGRATIONS,
|
|
@@ -109,30 +109,30 @@ import {
|
|
|
109
109
|
storeClients,
|
|
110
110
|
storeContents,
|
|
111
111
|
vectorIndexCounts
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-IKZBO7NV.js";
|
|
113
113
|
import {
|
|
114
114
|
queryFieldsOf,
|
|
115
115
|
readDamageMark,
|
|
116
116
|
readHealthMark,
|
|
117
117
|
recordDeepCheck
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-BOOEDDVY.js";
|
|
119
119
|
import {
|
|
120
120
|
failureKey,
|
|
121
121
|
isStoreDamage
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-ECMYCWG2.js";
|
|
123
123
|
import {
|
|
124
124
|
readSecret
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-QCWA3JUT.js";
|
|
126
126
|
import {
|
|
127
127
|
storePath
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-QFSMJTEA.js";
|
|
129
129
|
import {
|
|
130
130
|
openCache
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-GJ3P7RJF.js";
|
|
132
132
|
import {
|
|
133
133
|
resolvePaths,
|
|
134
134
|
writeSecurely
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-UUBV5ATQ.js";
|
|
136
136
|
import {
|
|
137
137
|
array,
|
|
138
138
|
boolean,
|
|
@@ -5498,11 +5498,11 @@ var require_liquid_node = __commonJS({
|
|
|
5498
5498
|
}
|
|
5499
5499
|
});
|
|
5500
5500
|
|
|
5501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
5502
5502
|
import { chmodSync, constants, copyFileSync, existsSync as existsSync9, mkdirSync, realpathSync as realpathSync2, renameSync as renameSync3, rmSync as rmSync3, statfsSync as statfsSync2, statSync as statSync4, writeFileSync as writeFileSync2 } from "node:fs";
|
|
5503
5503
|
import { dirname as dirname2, resolve } from "node:path";
|
|
5504
5504
|
|
|
5505
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5505
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/sealed.js
|
|
5506
5506
|
import { createCipheriv, createDecipheriv, createHash, randomBytes, scrypt, timingSafeEqual } from "node:crypto";
|
|
5507
5507
|
import { closeSync, createReadStream, createWriteStream, existsSync, openSync, readSync, renameSync, rmSync, statSync } from "node:fs";
|
|
5508
5508
|
import { Transform } from "node:stream";
|
|
@@ -5609,7 +5609,7 @@ var unsealFile = /* @__PURE__ */ __name(async (from, to, password) => {
|
|
|
5609
5609
|
renameSync(pending, to);
|
|
5610
5610
|
}, "unsealFile");
|
|
5611
5611
|
|
|
5612
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5612
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/store/compatibility.js
|
|
5613
5613
|
var SPEAKS = MIGRATIONS.at(-1)?.version ?? 0;
|
|
5614
5614
|
var fileSchemaOf = /* @__PURE__ */ __name((database) => {
|
|
5615
5615
|
const tracked = database.prepare("SELECT 1 FROM sqlite_master WHERE name = 'schema_migrations'").get();
|
|
@@ -5633,7 +5633,7 @@ var compatibilityOf = /* @__PURE__ */ __name((file2, migrations = MIGRATIONS) =>
|
|
|
5633
5633
|
};
|
|
5634
5634
|
}, "compatibilityOf");
|
|
5635
5635
|
|
|
5636
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/store/repair.js
|
|
5637
5637
|
import { createHash as createHash2 } from "node:crypto";
|
|
5638
5638
|
var COPY_MARK = "__repair_";
|
|
5639
5639
|
var COPY_NAME = /__repair_[0-9a-f]{8}(_\d+)?$/;
|
|
@@ -5887,13 +5887,13 @@ var deleteCopy = /* @__PURE__ */ __name((database, name) => {
|
|
|
5887
5887
|
return found;
|
|
5888
5888
|
}, "deleteCopy");
|
|
5889
5889
|
|
|
5890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
5891
5891
|
import { existsSync as existsSync4, statSync as statSync3 } from "node:fs";
|
|
5892
5892
|
|
|
5893
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5893
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
5894
5894
|
import { existsSync as existsSync3 } from "node:fs";
|
|
5895
5895
|
|
|
5896
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
5896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/store/recover.js
|
|
5897
5897
|
import { execFileSync, spawn } from "node:child_process";
|
|
5898
5898
|
import { existsSync as existsSync2, readFileSync, realpathSync, renameSync as renameSync2, rmSync as rmSync2, statfsSync, statSync as statSync2, writeFileSync } from "node:fs";
|
|
5899
5899
|
import { basename, dirname, join } from "node:path";
|
|
@@ -6290,7 +6290,7 @@ var recoverLocked = /* @__PURE__ */ __name(async ({ path, command, version, sqli
|
|
|
6290
6290
|
}
|
|
6291
6291
|
}, "recoverLocked");
|
|
6292
6292
|
|
|
6293
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6293
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/store-recover.js
|
|
6294
6294
|
var COUNTED = [
|
|
6295
6295
|
"accounts",
|
|
6296
6296
|
"chats",
|
|
@@ -6423,7 +6423,7 @@ var storeRecoverCommand = /* @__PURE__ */ __name(({ command, version }) => {
|
|
|
6423
6423
|
return recover;
|
|
6424
6424
|
}, "storeRecoverCommand");
|
|
6425
6425
|
|
|
6426
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6426
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/store-info.js
|
|
6427
6427
|
var pendingIfKnown = /* @__PURE__ */ __name((database) => database.prepare("SELECT 1 FROM pragma_table_info('messages') WHERE name = 'normalized_text'").get() ? pendingNormalization(database) : null, "pendingIfKnown");
|
|
6428
6428
|
var bytesOf = /* @__PURE__ */ __name((path) => existsSync4(path) ? statSync3(path).size : 0, "bytesOf");
|
|
6429
6429
|
var messageOf = /* @__PURE__ */ __name((error) => error instanceof Error ? error.message : String(error), "messageOf");
|
|
@@ -6469,7 +6469,7 @@ var storeInfoCommand = /* @__PURE__ */ __name(() => annotate(new Command("info")
|
|
|
6469
6469
|
renderAnswer(this, outputFor(this), itemOf(answer));
|
|
6470
6470
|
}), "storeInfoCommand");
|
|
6471
6471
|
|
|
6472
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6472
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/password.js
|
|
6473
6473
|
var ENCRYPT_OPTION = [
|
|
6474
6474
|
"--encrypt",
|
|
6475
6475
|
"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"
|
|
@@ -6488,7 +6488,7 @@ var passwordOf = /* @__PURE__ */ __name(async (command, { twice }) => {
|
|
|
6488
6488
|
return password;
|
|
6489
6489
|
}, "passwordOf");
|
|
6490
6490
|
|
|
6491
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6491
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/rules.js
|
|
6492
6492
|
import { existsSync as existsSync5, readFileSync as readFileSync2 } from "node:fs";
|
|
6493
6493
|
import { join as join2 } from "node:path";
|
|
6494
6494
|
var REPLY_ACTIONS = ["reply", "task"];
|
|
@@ -6659,7 +6659,7 @@ var problem = /* @__PURE__ */ __name((issue) => {
|
|
|
6659
6659
|
}, "problem");
|
|
6660
6660
|
var broken = /* @__PURE__ */ __name((path, why) => new CliError("configuration_error", `the reply rules ${path} cannot be read (${why}) \u2014 fix the file`), "broken");
|
|
6661
6661
|
|
|
6662
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6662
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/state.js
|
|
6663
6663
|
import { existsSync as existsSync6, readFileSync as readFileSync3 } from "node:fs";
|
|
6664
6664
|
import { join as join3 } from "node:path";
|
|
6665
6665
|
var ANSWERED_KEPT = 1e3;
|
|
@@ -6712,7 +6712,7 @@ var recordReply = /* @__PURE__ */ __name((state, rule2, message, now) => {
|
|
|
6712
6712
|
}, "recordReply");
|
|
6713
6713
|
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");
|
|
6714
6714
|
|
|
6715
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6715
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/decide.js
|
|
6716
6716
|
var skip = /* @__PURE__ */ __name((why) => ({ skip: why }), "skip");
|
|
6717
6717
|
var decide = /* @__PURE__ */ __name((rule2, incoming, state, now) => {
|
|
6718
6718
|
const { message, chat, owner, sender } = incoming;
|
|
@@ -6818,10 +6818,10 @@ var filled = /* @__PURE__ */ __name((template2, senderName) => {
|
|
|
6818
6818
|
return template2.replaceAll("{firstName}", name.split(/\s+/)[0] ?? name).replaceAll("{name}", name);
|
|
6819
6819
|
}, "filled");
|
|
6820
6820
|
|
|
6821
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6821
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
6822
6822
|
var import_liquidjs2 = __toESM(require_liquid_node(), 1);
|
|
6823
6823
|
|
|
6824
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/render/liquid.js
|
|
6825
6825
|
var import_liquidjs = __toESM(require_liquid_node(), 1);
|
|
6826
6826
|
var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
6827
6827
|
const engine = new import_liquidjs.Liquid({
|
|
@@ -6848,7 +6848,7 @@ var safeLiquid = /* @__PURE__ */ __name((limits) => {
|
|
|
6848
6848
|
return engine;
|
|
6849
6849
|
}, "safeLiquid");
|
|
6850
6850
|
|
|
6851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6851
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/template.js
|
|
6852
6852
|
var TEMPLATE_LIMITS = {
|
|
6853
6853
|
parse: 32768,
|
|
6854
6854
|
renders: 2e3,
|
|
@@ -6987,7 +6987,7 @@ var renderReplyTemplate = /* @__PURE__ */ __name(async (reply, input) => {
|
|
|
6987
6987
|
}
|
|
6988
6988
|
}, "renderReplyTemplate");
|
|
6989
6989
|
|
|
6990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6990
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/dry-run.js
|
|
6991
6991
|
var DRY_RUN_DAYS = 7;
|
|
6992
6992
|
var PAGE = 500;
|
|
6993
6993
|
var dryRun = /* @__PURE__ */ __name(async (store, account, rules, { since, until = Date.now(), only, audience, render }) => {
|
|
@@ -7101,7 +7101,7 @@ var storedSince = /* @__PURE__ */ __name(async (store, account, chat, since) =>
|
|
|
7101
7101
|
}
|
|
7102
7102
|
}, "storedSince");
|
|
7103
7103
|
|
|
7104
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/consents.js
|
|
7105
7105
|
import { existsSync as existsSync7, readFileSync as readFileSync4 } from "node:fs";
|
|
7106
7106
|
import { join as join4 } from "node:path";
|
|
7107
7107
|
var shape = strictObject({
|
|
@@ -7126,7 +7126,7 @@ var mayModelReply = /* @__PURE__ */ __name((path, provider, chat) => {
|
|
|
7126
7126
|
return consent.provider === provider && !consent.deniedChats.includes(chat);
|
|
7127
7127
|
}, "mayModelReply");
|
|
7128
7128
|
|
|
7129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/rendering.js
|
|
7130
7130
|
var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, options = {
|
|
7131
7131
|
ai: true
|
|
7132
7132
|
}) => async (rule2, message, chat, now) => {
|
|
@@ -7173,7 +7173,7 @@ var replyRenderer = /* @__PURE__ */ __name((app, profile, settings, env, warn, o
|
|
|
7173
7173
|
return result2;
|
|
7174
7174
|
}, "replyRenderer");
|
|
7175
7175
|
|
|
7176
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7176
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/replies/serve.js
|
|
7177
7177
|
var NOT_ALLOWED = "replies.send is not allow";
|
|
7178
7178
|
var NO_RULES = "no rules";
|
|
7179
7179
|
var ONLY_TASK = "opened a task, sent nothing";
|
|
@@ -7266,7 +7266,7 @@ var replyTo = /* @__PURE__ */ __name(async (deps, message) => {
|
|
|
7266
7266
|
return { skip: why };
|
|
7267
7267
|
}, "replyTo");
|
|
7268
7268
|
|
|
7269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-catch-up.js
|
|
7270
7270
|
var START_SYNC_DELAY_MS = 3e4;
|
|
7271
7271
|
var START_SYNC_BUDGET_MS = 5 * 6e4;
|
|
7272
7272
|
var START_SYNC_WINDOW_MS = 7 * 864e5;
|
|
@@ -7343,7 +7343,7 @@ var startSync = /* @__PURE__ */ __name(({ chats, newestHeld, fetch, note, warn,
|
|
|
7343
7343
|
};
|
|
7344
7344
|
}, "startSync");
|
|
7345
7345
|
|
|
7346
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-members.js
|
|
7347
7347
|
var FIRST_FETCH_MS = 6e4;
|
|
7348
7348
|
var DAY_MS = 864e5;
|
|
7349
7349
|
var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs = FIRST_FETCH_MS, everyMs = DAY_MS }) => {
|
|
@@ -7397,7 +7397,7 @@ var memberFetches = /* @__PURE__ */ __name(({ withStore, fetch, warn, firstMs =
|
|
|
7397
7397
|
};
|
|
7398
7398
|
}, "memberFetches");
|
|
7399
7399
|
|
|
7400
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7400
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-notice.js
|
|
7401
7401
|
var record2 = /* @__PURE__ */ __name((context, app, severity, attributes) => recordLogFor(context.streams.diagnostic, app, { command: currentRun().command || "serve" })[severity](attributes), "record");
|
|
7402
7402
|
var noticeFor = /* @__PURE__ */ __name((context, app, severity = "warn") => ({ text, ...attributes }) => {
|
|
7403
7403
|
if (context.format === "pretty") {
|
|
@@ -7430,7 +7430,7 @@ var recordDiagnostics = /* @__PURE__ */ __name((context, app) => {
|
|
|
7430
7430
|
return context;
|
|
7431
7431
|
}, "recordDiagnostics");
|
|
7432
7432
|
|
|
7433
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7433
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-stems.js
|
|
7434
7434
|
var STEMS_EVERY_MS = 3e4;
|
|
7435
7435
|
var STEMS_SLICE_MS = 2e3;
|
|
7436
7436
|
var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY_MS, sliceMs = STEMS_SLICE_MS }) => {
|
|
@@ -7470,7 +7470,7 @@ var stemFills = /* @__PURE__ */ __name(({ withStore, warn, everyMs = STEMS_EVERY
|
|
|
7470
7470
|
};
|
|
7471
7471
|
}, "stemFills");
|
|
7472
7472
|
|
|
7473
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/render/messages.js
|
|
7474
7474
|
import { styleText } from "node:util";
|
|
7475
7475
|
var TIME_WIDTH = 8;
|
|
7476
7476
|
var INDENT = " ".repeat(TIME_WIDTH + 2);
|
|
@@ -7646,7 +7646,7 @@ var editedAt = /* @__PURE__ */ __name((message, options) => {
|
|
|
7646
7646
|
return day(edited) === day(message.timestamp) ? time : `${day(edited)} ${time}`;
|
|
7647
7647
|
}, "editedAt");
|
|
7648
7648
|
|
|
7649
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7649
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/message-items.js
|
|
7650
7650
|
var defined = /* @__PURE__ */ __name((value) => Object.fromEntries(Object.entries(value).filter(([, one]) => one !== void 0)), "defined");
|
|
7651
7651
|
var attachmentItem = /* @__PURE__ */ __name((attachment) => defined({
|
|
7652
7652
|
kind: attachment.kind,
|
|
@@ -7741,7 +7741,7 @@ var viewOf = /* @__PURE__ */ __name((context, messenger) => ({
|
|
|
7741
7741
|
locale: messenger.app.locale
|
|
7742
7742
|
}), "viewOf");
|
|
7743
7743
|
|
|
7744
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7744
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-answers.js
|
|
7745
7745
|
var observed = /* @__PURE__ */ __name((value) => ({
|
|
7746
7746
|
value: value.value,
|
|
7747
7747
|
observed_at: value.observedAt,
|
|
@@ -7808,7 +7808,7 @@ var watchEventItem = /* @__PURE__ */ __name((value, account) => {
|
|
|
7808
7808
|
}
|
|
7809
7809
|
}, "watchEventItem");
|
|
7810
7810
|
|
|
7811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7811
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/watch-command.js
|
|
7812
7812
|
var watchCommand = /* @__PURE__ */ __name((messenger) => annotate(new Command("watch"), {
|
|
7813
7813
|
output: { entity: "watch_item" },
|
|
7814
7814
|
effects: REMOTE_READ,
|
|
@@ -7963,7 +7963,7 @@ var describe = /* @__PURE__ */ __name((event, render) => {
|
|
|
7963
7963
|
}
|
|
7964
7964
|
}, "describe");
|
|
7965
7965
|
|
|
7966
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7966
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/serve-command.js
|
|
7967
7967
|
var serveCommand = /* @__PURE__ */ __name((messenger) => {
|
|
7968
7968
|
const command = annotate(new Command("serve"), {
|
|
7969
7969
|
output: { entity: "serve_summary" },
|
|
@@ -8227,7 +8227,7 @@ var tasking = /* @__PURE__ */ __name((context, warn) => {
|
|
|
8227
8227
|
};
|
|
8228
8228
|
}, "tasking");
|
|
8229
8229
|
|
|
8230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/store-tables-command.js
|
|
8231
8231
|
import { existsSync as existsSync8 } from "node:fs";
|
|
8232
8232
|
var PATH = "store tables list";
|
|
8233
8233
|
var STORE_TABLES_QUERY = {
|
|
@@ -8270,7 +8270,7 @@ var storeTablesCommand = /* @__PURE__ */ __name((messenger) => {
|
|
|
8270
8270
|
return tables;
|
|
8271
8271
|
}, "storeTablesCommand");
|
|
8272
8272
|
|
|
8273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8273
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/cli/messenger/store-maintenance-command.js
|
|
8274
8274
|
var SEARCH_INDEXES = ["messages_fts", "chats_fts", "identities_fts"];
|
|
8275
8275
|
var WORD_INDEX = "message_words";
|
|
8276
8276
|
var schemaOf = /* @__PURE__ */ __name((database) => {
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
__name
|
|
18
18
|
} from "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
|
|
20
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
20
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/models/options.js
|
|
21
21
|
var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
22
22
|
const parsed = safeParse(schema, options);
|
|
23
23
|
if (!parsed.success) {
|
|
@@ -27,7 +27,7 @@ var checkedOptions = /* @__PURE__ */ __name((provider, schema, options) => {
|
|
|
27
27
|
}, "checkedOptions");
|
|
28
28
|
var range = /* @__PURE__ */ __name((min, max) => optional(pipe(number(), finite(), minValue(min), maxValue(max))), "range");
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/models/types.js
|
|
31
31
|
var MAX_MODEL_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
32
32
|
var validateImages = /* @__PURE__ */ __name((images) => {
|
|
33
33
|
if (images === void 0)
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
commandPathOf,
|
|
7
7
|
findCommand,
|
|
8
8
|
outputOf
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XK4VVGMH.js";
|
|
10
|
+
import "./chunk-ZNBLWLCD.js";
|
|
11
|
+
import "./chunk-W7FYMZOW.js";
|
|
12
|
+
import "./chunk-TXWVZVDK.js";
|
|
13
|
+
import "./chunk-NNUJWCEJ.js";
|
|
14
|
+
import "./chunk-4JTCNMW6.js";
|
|
15
|
+
import "./chunk-BOOEDDVY.js";
|
|
16
|
+
import "./chunk-ECMYCWG2.js";
|
|
17
|
+
import "./chunk-WJ2OYD2D.js";
|
|
18
|
+
import "./chunk-DNS2QWK3.js";
|
|
19
|
+
import "./chunk-QFSMJTEA.js";
|
|
20
20
|
import "./chunk-SYWHHQMC.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-UUBV5ATQ.js";
|
|
22
22
|
import "./chunk-HE2F4JII.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
24
|
import "./chunk-ZTONSM5X.js";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-7KYVUVDS.js";
|
|
10
|
+
import "./chunk-XVPMSMSP.js";
|
|
11
|
+
import "./chunk-UUBV5ATQ.js";
|
|
12
12
|
import "./chunk-HE2F4JII.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
14
|
import "./chunk-ZTONSM5X.js";
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-DNDELSVT.js";
|
|
17
|
+
import "./chunk-DNS2QWK3.js";
|
|
18
|
+
import "./chunk-QFSMJTEA.js";
|
|
19
|
+
import "./chunk-UUBV5ATQ.js";
|
|
20
20
|
import "./chunk-HE2F4JII.js";
|
|
21
21
|
import "./chunk-Y5E2WNWB.js";
|
|
22
22
|
import "./chunk-ZTONSM5X.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-DNDELSVT.js";
|
|
8
|
+
import "./chunk-DNS2QWK3.js";
|
|
9
|
+
import "./chunk-QFSMJTEA.js";
|
|
10
|
+
import "./chunk-UUBV5ATQ.js";
|
|
11
11
|
import "./chunk-HE2F4JII.js";
|
|
12
12
|
import {
|
|
13
13
|
importFrom
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
__name
|
|
20
20
|
} from "./chunk-ZVVMGPBJ.js";
|
|
21
21
|
|
|
22
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
22
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
23
23
|
import { readFileSync } from "node:fs";
|
|
24
24
|
import { join } from "node:path";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
27
27
|
var SIZE = 224;
|
|
28
28
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
29
29
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -62,7 +62,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
62
62
|
return pixels;
|
|
63
63
|
}, "preprocess");
|
|
64
64
|
|
|
65
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
65
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.616.0_@wirecat+cli-base@0.91.0_commander@15.0.0_esbuild@0.28.2_type_8665abbf6fdc3acbe46baf279794bee0/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
66
66
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
67
67
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
68
68
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -3,11 +3,11 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
openBrowser,
|
|
5
5
|
startCli
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-FBSHWCIZ.js";
|
|
7
|
+
import "./chunk-NNUJWCEJ.js";
|
|
8
|
+
import "./chunk-GJ3P7RJF.js";
|
|
9
|
+
import "./chunk-AGNWFOAJ.js";
|
|
10
|
+
import "./chunk-UUBV5ATQ.js";
|
|
11
11
|
import "./chunk-HE2F4JII.js";
|
|
12
12
|
import "./chunk-Y5E2WNWB.js";
|
|
13
13
|
import "./chunk-ZTONSM5X.js";
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
errorObject,
|
|
5
|
+
mcpFailure,
|
|
6
|
+
recognisable,
|
|
7
|
+
reportFailure,
|
|
8
|
+
throwParseFailures
|
|
9
|
+
} from "./chunk-VVTC2YAX.js";
|
|
10
|
+
import "./chunk-TFAUB6JO.js";
|
|
11
|
+
import "./chunk-JG7EDH7K.js";
|
|
12
|
+
import "./chunk-SUCG5HBF.js";
|
|
13
|
+
import "./chunk-GHN2KYMO.js";
|
|
14
|
+
import "./chunk-OUSLPKWY.js";
|
|
15
|
+
import "./chunk-7OMKWYFN.js";
|
|
16
|
+
import "./chunk-ZU6HZLZP.js";
|
|
17
|
+
import "./chunk-TNHFKR6P.js";
|
|
18
|
+
import "./chunk-Q4JYHQ47.js";
|
|
19
|
+
import "./chunk-YAFSD345.js";
|
|
20
|
+
import "./chunk-QMTCYKAA.js";
|
|
21
|
+
import "./chunk-HTQTIKWP.js";
|
|
22
|
+
import "./chunk-XK4VVGMH.js";
|
|
23
|
+
import "./chunk-ZNBLWLCD.js";
|
|
24
|
+
import "./chunk-W7FYMZOW.js";
|
|
25
|
+
import "./chunk-ORKWFXWV.js";
|
|
26
|
+
import "./chunk-LJCT7YG6.js";
|
|
27
|
+
import "./chunk-L62FWN3Y.js";
|
|
28
|
+
import "./chunk-TXWVZVDK.js";
|
|
29
|
+
import "./chunk-FBSHWCIZ.js";
|
|
30
|
+
import "./chunk-NNUJWCEJ.js";
|
|
31
|
+
import "./chunk-R4H5HSQZ.js";
|
|
32
|
+
import "./chunk-CQNYBTWP.js";
|
|
33
|
+
import "./chunk-4JTCNMW6.js";
|
|
34
|
+
import "./chunk-IKZBO7NV.js";
|
|
35
|
+
import "./chunk-BOOEDDVY.js";
|
|
36
|
+
import "./chunk-ECMYCWG2.js";
|
|
37
|
+
import "./chunk-OU4PN7PF.js";
|
|
38
|
+
import "./chunk-WJ2OYD2D.js";
|
|
39
|
+
import "./chunk-QCWA3JUT.js";
|
|
40
|
+
import "./chunk-32ROGX5N.js";
|
|
41
|
+
import "./chunk-ZVXXJYNW.js";
|
|
42
|
+
import "./chunk-GUWRR7F2.js";
|
|
43
|
+
import "./chunk-DNDELSVT.js";
|
|
44
|
+
import "./chunk-DNS2QWK3.js";
|
|
45
|
+
import "./chunk-QFSMJTEA.js";
|
|
46
|
+
import "./chunk-BPGYTJNB.js";
|
|
47
|
+
import "./chunk-MCA265JM.js";
|
|
48
|
+
import "./chunk-DSU6UR2X.js";
|
|
49
|
+
import "./chunk-SYWHHQMC.js";
|
|
50
|
+
import "./chunk-D72URWJE.js";
|
|
51
|
+
import "./chunk-GJ3P7RJF.js";
|
|
52
|
+
import "./chunk-AGNWFOAJ.js";
|
|
53
|
+
import "./chunk-UUBV5ATQ.js";
|
|
54
|
+
import "./chunk-HE2F4JII.js";
|
|
55
|
+
import "./chunk-Y5E2WNWB.js";
|
|
56
|
+
import "./chunk-ZTONSM5X.js";
|
|
57
|
+
import "./chunk-6SFTVGNL.js";
|
|
58
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
59
|
+
export {
|
|
60
|
+
errorObject,
|
|
61
|
+
mcpFailure,
|
|
62
|
+
recognisable,
|
|
63
|
+
reportFailure,
|
|
64
|
+
throwParseFailures
|
|
65
|
+
};
|