@wirecat/cli-memo 0.131.77 → 0.131.78
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-4UWCPMRQ.js → all-profiles-ZEUEPNFD.js} +5 -5
- package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-VF75LSDZ.js} +2 -2
- package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-Z4TY5VP5.js} +36 -36
- package/dist/bundle/auto-SA667UAT.js +91 -0
- package/dist/bundle/{bun-IWGIAD7H.js → bun-OUR5UZAI.js} +2 -2
- package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-26ZGEVH3.js} +2 -2
- package/dist/bundle/{chunk-UD5JUJES.js → chunk-22RYCAAO.js} +1602 -1112
- package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-3QV5JWFN.js} +3 -3
- package/dist/bundle/{chunk-DJYMK7EI.js → chunk-4LZLU2V3.js} +2 -2
- package/dist/bundle/{chunk-CFZZUGUD.js → chunk-5NBQOU5V.js} +20 -20
- package/dist/bundle/{chunk-5APYWW46.js → chunk-5PCPPT43.js} +29 -29
- package/dist/bundle/{chunk-XLZPP5MB.js → chunk-6ABWVQ4T.js} +1 -1
- package/dist/bundle/{chunk-KYW7RWGE.js → chunk-6GHBGGN7.js} +2 -2
- package/dist/bundle/{chunk-6RN34ZWU.js → chunk-7DKS4GIW.js} +5 -5
- package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-7ENXMVT5.js} +17 -9
- package/dist/bundle/{chunk-INXIJXU2.js → chunk-AZIXZIXT.js} +5 -5
- package/dist/bundle/{chunk-3URQNBDV.js → chunk-B2ZAEF5Z.js} +2 -2
- package/dist/bundle/{chunk-7YALAAL4.js → chunk-D67YDJ35.js} +424 -283
- package/dist/bundle/{chunk-HFZHXP4U.js → chunk-DAEPTQ6N.js} +5 -5
- package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-DDPZY27T.js} +12 -12
- package/dist/bundle/{chunk-A54EZ6DV.js → chunk-E5JVYVRX.js} +13 -13
- package/dist/bundle/{chunk-TFXKS2WG.js → chunk-EF33DKMR.js} +1 -1
- package/dist/bundle/{chunk-DE5BNDIA.js → chunk-EI7LYQQA.js} +4 -4
- package/dist/bundle/{chunk-D7KQYLAN.js → chunk-EIQ6HCIB.js} +5 -5
- package/dist/bundle/{chunk-LHVNZ25W.js → chunk-ELKRFQ5Y.js} +12 -12
- package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-F7MKFYYP.js} +3 -3
- package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-GXHPPHGB.js} +10 -10
- package/dist/bundle/{chunk-IYINNZQE.js → chunk-H2AQV772.js} +9 -9
- package/dist/bundle/{chunk-CPKS7JKX.js → chunk-I6CZU7X7.js} +1 -1
- package/dist/bundle/{chunk-S5T4SO7I.js → chunk-IFANDP3T.js} +7 -1
- package/dist/bundle/{chunk-ZPPMGXER.js → chunk-JHW2ARPA.js} +32 -32
- package/dist/bundle/{chunk-VMTTWF2M.js → chunk-KUY35N7Q.js} +7 -7
- package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-LJRXD44C.js} +6 -6
- package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-MUFU4LNS.js} +2 -2
- package/dist/bundle/{chunk-NGWUFB4K.js → chunk-MW6IAMUI.js} +1 -1
- package/dist/bundle/{chunk-YZ4J67GU.js → chunk-N7CHOWDF.js} +2 -2
- package/dist/bundle/{chunk-UDRKGCDS.js → chunk-NGWKI3E6.js} +1 -1
- package/dist/bundle/{chunk-EY46RMMS.js → chunk-NXQFVHG4.js} +153 -148
- package/dist/bundle/{chunk-76T57Y3Q.js → chunk-OHMF7LWW.js} +4 -4
- package/dist/bundle/{chunk-VIY77EDM.js → chunk-OMCET4QP.js} +45 -45
- package/dist/bundle/{chunk-W36BMC6F.js → chunk-OMGNXKSH.js} +4 -4
- package/dist/bundle/{chunk-UIS44ZMF.js → chunk-OUATPEPP.js} +5 -5
- package/dist/bundle/{chunk-4VO2RJAE.js → chunk-P3UQGKGY.js} +8 -8
- package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-PTKJIA7M.js} +3 -3
- package/dist/bundle/{chunk-MRUE3BWX.js → chunk-Q2CQNT3A.js} +1 -1
- package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-QEJHNTCX.js} +293 -293
- package/dist/bundle/{chunk-WZZ426CJ.js → chunk-QU7UPCW2.js} +77 -77
- package/dist/bundle/{chunk-BFEXVALS.js → chunk-T37LLOZR.js} +1 -1
- package/dist/bundle/{chunk-LO74ISD6.js → chunk-T6LXUBXY.js} +3 -3
- package/dist/bundle/{chunk-KTBPBMNR.js → chunk-TT5RMHM6.js} +4 -4
- package/dist/bundle/{chunk-C3HS26N5.js → chunk-TWWYDJBW.js} +1 -1
- package/dist/bundle/{chunk-MZHH5XMX.js → chunk-UIJBGS6K.js} +2 -2
- package/dist/bundle/{chunk-6VISMU6R.js → chunk-UWF6WXM7.js} +6 -6
- package/dist/bundle/{chunk-YABNPKKQ.js → chunk-VHA3LJQT.js} +1 -1
- package/dist/bundle/{chunk-M4MM4QUM.js → chunk-VJLJFLKZ.js} +1 -1
- package/dist/bundle/{chunk-BNOSAHVH.js → chunk-WETWQO6X.js} +2 -2
- package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WHMKYJZR.js} +1 -1
- package/dist/bundle/{chunk-HWIKY7KF.js → chunk-WHZJHUK6.js} +2 -2
- package/dist/bundle/{chunk-SHO3T3F2.js → chunk-WYSFOL74.js} +4 -4
- package/dist/bundle/{chunk-TIHQFMH2.js → chunk-XC26CUGL.js} +4 -4
- package/dist/bundle/{chunk-PPARTGFE.js → chunk-XTCN3VUP.js} +7 -7
- package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-Y2J52Y3A.js} +2 -2
- package/dist/bundle/{chunk-JKLJM7EG.js → chunk-YOM4PA3A.js} +1 -1
- package/dist/bundle/{chunk-OB3OPV55.js → chunk-Z4TPRASF.js} +5 -5
- package/dist/bundle/{chunk-OQSIFLZS.js → chunk-ZKCAR2OL.js} +1 -1
- package/dist/bundle/{command-contract-SEDOYJIJ.js → command-contract-L5GTW74N.js} +11 -11
- package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-A7ZCZWHH.js} +17 -17
- package/dist/bundle/{decode-VFRSEIBD.js → decode-FO2ELPW6.js} +2 -2
- package/dist/bundle/{echarts-DP2GC2C6.js → echarts-HTY3OB2X.js} +2 -2
- package/dist/bundle/{embed-BIINGRNY.js → embed-2DTGMR7Z.js} +3 -3
- package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-N3IGQ2M6.js} +6 -6
- package/dist/bundle/{entry-APUFP74B.js → entry-Q7CIJ3TU.js} +5 -5
- package/dist/bundle/{entry-LGJ2Y7AS.js → entry-YDEKGRCA.js} +5 -5
- package/dist/bundle/failure-QL3RJILP.js +71 -0
- package/dist/bundle/{first-run-7UMKRQL7.js → first-run-SAADMYEA.js} +5 -5
- package/dist/bundle/{first-screen-H5CQSLIX.js → first-screen-WXKAIMY6.js} +12 -12
- package/dist/bundle/{instructions-WDKCHEG6.js → instructions-XB5Y5DFA.js} +1 -1
- package/dist/bundle/{mcp-3HKOGYHL.js → mcp-IRJS472M.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-QBL3F2VF.js → node-4ZOD7X75.js} +2 -2
- package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-DWXKYFW6.js} +3 -3
- package/dist/bundle/{oauth-4PT7N4SE.js → oauth-GMIBNJQB.js} +4 -4
- package/dist/bundle/{open-I7XENSGI.js → open-3DBI3MHV.js} +2 -2
- package/dist/bundle/{openai-DUSBTUFI.js → openai-HFJAR7W5.js} +7 -7
- package/dist/bundle/{process-TVXEHAK6.js → process-2H5HNPHH.js} +1 -1
- package/dist/bundle/{program-3X4EPBEW.js → program-VXKN6DLP.js} +68 -67
- package/dist/bundle/{prompt-QRYXTON7.js → prompt-WETKFAQS.js} +2 -2
- package/dist/bundle/{recognize-ZLDPIN36.js → recognize-5LC3DQ2W.js} +1 -1
- package/dist/bundle/{remote-3GRP5YE3.js → remote-FURTWZ25.js} +4 -4
- package/dist/bundle/{rerank-6B2FI6LN.js → rerank-CMQWT3WC.js} +4 -4
- package/dist/bundle/{serve-ZP3TEANT.js → serve-LEF3PX34.js} +6 -6
- package/dist/bundle/server-C2EVLJLW.js +64 -0
- package/dist/bundle/{server-3SJJNNSX.js → server-GYLFN6Y7.js} +52 -52
- package/dist/bundle/server-L7GHFXJF.js +50 -0
- package/dist/bundle/{state-JDH2X2CY.js → state-OVZT24JF.js} +3 -3
- package/dist/bundle/{store-FDNYGJUF.js → store-SV46T732.js} +9 -9
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +49 -0
- package/dist/bundle/update-PRBIV3RG.js +74 -0
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +2 -0
- package/dist/people/identities-command.js.map +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/sources/readers/ai-model.js +3 -3
- package/dist/sources/readers/ai-model.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-3O7JD27U.js +0 -91
- package/dist/bundle/failure-5QSMH2CD.js +0 -71
- package/dist/bundle/server-72VZYABL.js +0 -50
- package/dist/bundle/server-UY47EXPQ.js +0 -64
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
- package/dist/bundle/update-257J2SPM.js +0 -74
- /package/dist/bundle/{chunk-6AALVDEA.js → chunk-DK3W4FPW.js} +0 -0
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
autoState,
|
|
7
7
|
lastAutoRun,
|
|
8
8
|
recordAutoRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OHMF7LWW.js";
|
|
10
10
|
import {
|
|
11
11
|
installer,
|
|
12
12
|
latest,
|
|
13
13
|
upgradeCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AZIXZIXT.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpOwnerAllowed,
|
|
17
17
|
memoLevels,
|
|
18
18
|
readOnlyAvailability,
|
|
19
19
|
refuseWritesUnderLock
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7DKS4GIW.js";
|
|
21
21
|
import {
|
|
22
22
|
answers,
|
|
23
23
|
atDetail,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
trackAnswers,
|
|
30
30
|
wholeList,
|
|
31
31
|
withStore
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-EIQ6HCIB.js";
|
|
33
33
|
import {
|
|
34
34
|
ATTACHMENT_CHARS,
|
|
35
35
|
DIALECTS,
|
|
@@ -66,15 +66,15 @@ import {
|
|
|
66
66
|
showMail,
|
|
67
67
|
unsetConfigKey,
|
|
68
68
|
updateConfig
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-JHW2ARPA.js";
|
|
70
70
|
import "./chunk-QP3KNC5D.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-MUFU4LNS.js";
|
|
72
|
+
import "./chunk-XTCN3VUP.js";
|
|
73
|
+
import "./chunk-PTKJIA7M.js";
|
|
74
74
|
import {
|
|
75
75
|
errorObject,
|
|
76
76
|
recognisable
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-XC26CUGL.js";
|
|
78
78
|
import {
|
|
79
79
|
provideTerminal,
|
|
80
80
|
terminalOf
|
|
@@ -151,34 +151,34 @@ import {
|
|
|
151
151
|
thisMachine,
|
|
152
152
|
withSqliteSidecars,
|
|
153
153
|
writeSchedule
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import "./chunk-
|
|
154
|
+
} from "./chunk-D67YDJ35.js";
|
|
155
|
+
import "./chunk-T37LLOZR.js";
|
|
156
156
|
import "./chunk-A3QZXQI3.js";
|
|
157
|
-
import "./chunk-
|
|
157
|
+
import "./chunk-6ABWVQ4T.js";
|
|
158
158
|
import {
|
|
159
159
|
allHitItem,
|
|
160
160
|
coverageGaps,
|
|
161
161
|
messageHitItem,
|
|
162
162
|
noteHitItem,
|
|
163
163
|
shownOf
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import "./chunk-
|
|
164
|
+
} from "./chunk-5NBQOU5V.js";
|
|
165
|
+
import "./chunk-YOM4PA3A.js";
|
|
166
166
|
import {
|
|
167
167
|
REASONS as REASONS2,
|
|
168
168
|
SKILL_TARGETS,
|
|
169
169
|
skillCommand,
|
|
170
170
|
skillPath,
|
|
171
171
|
skillVersion
|
|
172
|
-
} from "./chunk-
|
|
173
|
-
import "./chunk-
|
|
172
|
+
} from "./chunk-7ENXMVT5.js";
|
|
173
|
+
import "./chunk-EI7LYQQA.js";
|
|
174
174
|
import {
|
|
175
175
|
recoveryNotes,
|
|
176
176
|
storeInfo,
|
|
177
177
|
storeRecoveryCheck,
|
|
178
178
|
storeRecoveryRun,
|
|
179
179
|
storeSummary
|
|
180
|
-
} from "./chunk-
|
|
181
|
-
import "./chunk-
|
|
180
|
+
} from "./chunk-OMCET4QP.js";
|
|
181
|
+
import "./chunk-E5JVYVRX.js";
|
|
182
182
|
import {
|
|
183
183
|
LIST_QUERY_GUIDE,
|
|
184
184
|
RESOURCES_SEARCHED,
|
|
@@ -255,31 +255,31 @@ import {
|
|
|
255
255
|
timeLimit,
|
|
256
256
|
typedQuery,
|
|
257
257
|
withQuery
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-QEJHNTCX.js";
|
|
259
259
|
import {
|
|
260
260
|
readBoundedUtf8File,
|
|
261
261
|
writeFileAtomic
|
|
262
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-ELKRFQ5Y.js";
|
|
263
263
|
import {
|
|
264
264
|
releaseLock,
|
|
265
265
|
servingProfiles,
|
|
266
266
|
takeLock
|
|
267
|
-
} from "./chunk-
|
|
268
|
-
import "./chunk-
|
|
267
|
+
} from "./chunk-N7CHOWDF.js";
|
|
268
|
+
import "./chunk-6GHBGGN7.js";
|
|
269
269
|
import {
|
|
270
270
|
commandsText,
|
|
271
271
|
inSection,
|
|
272
272
|
installHelp
|
|
273
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-UWF6WXM7.js";
|
|
274
274
|
import "./chunk-HTQTIKWP.js";
|
|
275
|
-
import "./chunk-
|
|
275
|
+
import "./chunk-GXHPPHGB.js";
|
|
276
276
|
import {
|
|
277
277
|
isNewer
|
|
278
278
|
} from "./chunk-3QBRLN6T.js";
|
|
279
279
|
import "./chunk-OYKQX4H3.js";
|
|
280
|
-
import "./chunk-
|
|
281
|
-
import "./chunk-
|
|
282
|
-
import "./chunk-
|
|
280
|
+
import "./chunk-H2AQV772.js";
|
|
281
|
+
import "./chunk-WETWQO6X.js";
|
|
282
|
+
import "./chunk-ZKCAR2OL.js";
|
|
283
283
|
import {
|
|
284
284
|
EVIDENCE_FINDINGS_KIND,
|
|
285
285
|
MAIL_FINDINGS_KIND,
|
|
@@ -319,25 +319,25 @@ import {
|
|
|
319
319
|
refLabel,
|
|
320
320
|
storedProfilesFor,
|
|
321
321
|
writesWithOf
|
|
322
|
-
} from "./chunk-
|
|
323
|
-
import "./chunk-
|
|
324
|
-
import "./chunk-
|
|
325
|
-
import "./chunk-
|
|
326
|
-
import "./chunk-
|
|
322
|
+
} from "./chunk-22RYCAAO.js";
|
|
323
|
+
import "./chunk-KUY35N7Q.js";
|
|
324
|
+
import "./chunk-VJLJFLKZ.js";
|
|
325
|
+
import "./chunk-4LZLU2V3.js";
|
|
326
|
+
import "./chunk-Z4TPRASF.js";
|
|
327
327
|
import {
|
|
328
328
|
APP,
|
|
329
329
|
REASONS,
|
|
330
330
|
STORE_CLIENT,
|
|
331
331
|
VERSION
|
|
332
|
-
} from "./chunk-
|
|
332
|
+
} from "./chunk-IFANDP3T.js";
|
|
333
333
|
import "./chunk-NT5IOEEK.js";
|
|
334
334
|
import "./chunk-D72URWJE.js";
|
|
335
|
-
import "./chunk-
|
|
336
|
-
import "./chunk-
|
|
337
|
-
import "./chunk-
|
|
338
|
-
import "./chunk-
|
|
339
|
-
import "./chunk-
|
|
340
|
-
import "./chunk-
|
|
335
|
+
import "./chunk-OUATPEPP.js";
|
|
336
|
+
import "./chunk-EF33DKMR.js";
|
|
337
|
+
import "./chunk-3QV5JWFN.js";
|
|
338
|
+
import "./chunk-DAEPTQ6N.js";
|
|
339
|
+
import "./chunk-MW6IAMUI.js";
|
|
340
|
+
import "./chunk-Y2J52Y3A.js";
|
|
341
341
|
import {
|
|
342
342
|
Command,
|
|
343
343
|
DEFAULT_TEXT_MODEL,
|
|
@@ -377,11 +377,11 @@ import {
|
|
|
377
377
|
snakeKeys,
|
|
378
378
|
textModels,
|
|
379
379
|
textModelsFile
|
|
380
|
-
} from "./chunk-
|
|
381
|
-
import "./chunk-
|
|
382
|
-
import "./chunk-
|
|
383
|
-
import "./chunk-
|
|
384
|
-
import "./chunk-
|
|
380
|
+
} from "./chunk-NXQFVHG4.js";
|
|
381
|
+
import "./chunk-LJRXD44C.js";
|
|
382
|
+
import "./chunk-Q2CQNT3A.js";
|
|
383
|
+
import "./chunk-F7MKFYYP.js";
|
|
384
|
+
import "./chunk-NGWKI3E6.js";
|
|
385
385
|
import {
|
|
386
386
|
CATALOG_KINDS,
|
|
387
387
|
CATEGORIES,
|
|
@@ -454,15 +454,15 @@ import {
|
|
|
454
454
|
timezoneOf,
|
|
455
455
|
validateQuery,
|
|
456
456
|
walkQuery
|
|
457
|
-
} from "./chunk-
|
|
458
|
-
import "./chunk-
|
|
459
|
-
import "./chunk-
|
|
457
|
+
} from "./chunk-QU7UPCW2.js";
|
|
458
|
+
import "./chunk-WHZJHUK6.js";
|
|
459
|
+
import "./chunk-TT5RMHM6.js";
|
|
460
460
|
import {
|
|
461
461
|
sharedModelsDirectory
|
|
462
|
-
} from "./chunk-
|
|
462
|
+
} from "./chunk-T6LXUBXY.js";
|
|
463
463
|
import {
|
|
464
464
|
storePath
|
|
465
|
-
} from "./chunk-
|
|
465
|
+
} from "./chunk-VHA3LJQT.js";
|
|
466
466
|
import "./chunk-G5GW3FFJ.js";
|
|
467
467
|
import {
|
|
468
468
|
Credentials,
|
|
@@ -887,7 +887,7 @@ var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sou
|
|
|
887
887
|
var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
|
|
888
888
|
var jsonOption = /* @__PURE__ */ __name((command, fields = "ref,title") => command.option("--json", `print JSON; --json=${fields} keeps only those fields`), "jsonOption");
|
|
889
889
|
|
|
890
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
890
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
|
|
891
891
|
var SCORED = "mail_sender_scores";
|
|
892
892
|
var DAY = 864e5;
|
|
893
893
|
var RECENT = 2 * 365 * DAY;
|
|
@@ -903,7 +903,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
|
|
|
903
903
|
return senders;
|
|
904
904
|
}, "demotedSenders");
|
|
905
905
|
|
|
906
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mail/sync.js
|
|
907
907
|
var DAY2 = 864e5;
|
|
908
908
|
var EDGE = 2 * DAY2;
|
|
909
909
|
|
|
@@ -2348,7 +2348,7 @@ import { createHash } from "node:crypto";
|
|
|
2348
2348
|
import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
|
|
2349
2349
|
import { basename, extname, relative, sep } from "node:path";
|
|
2350
2350
|
|
|
2351
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2351
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
|
|
2352
2352
|
var Proposal = object({
|
|
2353
2353
|
kind: picklist(["summary", "digest", "fact", "preference"]),
|
|
2354
2354
|
body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
|
|
@@ -2356,13 +2356,13 @@ var Proposal = object({
|
|
|
2356
2356
|
});
|
|
2357
2357
|
var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
|
|
2358
2358
|
|
|
2359
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2359
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
|
|
2360
2360
|
var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
|
|
2361
2361
|
|
|
2362
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2362
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
|
|
2363
2363
|
var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
|
|
2364
2364
|
|
|
2365
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2365
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/fetch/addresses.js
|
|
2366
2366
|
import { isIP } from "node:net";
|
|
2367
2367
|
var within3 = /* @__PURE__ */ __name((address, [prefix, bits]) => {
|
|
2368
2368
|
for (let bit = 0; bit < bits; bit++) {
|
|
@@ -2433,7 +2433,7 @@ var isPublicAddress = /* @__PURE__ */ __name((address) => {
|
|
|
2433
2433
|
return within3(bytes, [[32], 3]) && !V6_PRIVATE.some((prefix) => within3(bytes, prefix));
|
|
2434
2434
|
}, "isPublicAddress");
|
|
2435
2435
|
|
|
2436
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2436
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/fetch/page.js
|
|
2437
2437
|
import { lookup as dnsLookup } from "node:dns/promises";
|
|
2438
2438
|
import { request as httpRequest } from "node:http";
|
|
2439
2439
|
import { request as httpsRequest } from "node:https";
|
|
@@ -6968,7 +6968,7 @@ var doctorCommand = /* @__PURE__ */ __name((...args) => {
|
|
|
6968
6968
|
}, SHELL_OVERRIDES.doctor);
|
|
6969
6969
|
}, "doctorCommand");
|
|
6970
6970
|
|
|
6971
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6971
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/calendar/sync.js
|
|
6972
6972
|
var DAY8 = 864e5;
|
|
6973
6973
|
var SLOTS_EVERY = 7 * DAY8;
|
|
6974
6974
|
var isWindow = /* @__PURE__ */ __name((value) => typeof value?.from === "number" && typeof value.to === "number", "isWindow");
|
|
@@ -7048,10 +7048,10 @@ var calendarStatus = /* @__PURE__ */ __name(async (store, accountId, { profile,
|
|
|
7048
7048
|
return { items, page: 1, limit: Math.max(1, items.length), hasMore: false };
|
|
7049
7049
|
}, "calendarStatus");
|
|
7050
7050
|
|
|
7051
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7051
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/calendar/feeds.js
|
|
7052
7052
|
var FEED_LIMITS = { maxBytes: 10 * 1024 * 1024, timeoutMs: 3e4, redirects: 5 };
|
|
7053
7053
|
|
|
7054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7054
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/calendar/reads.js
|
|
7055
7055
|
var LIST = "events list";
|
|
7056
7056
|
var EVENT_TYPES = [
|
|
7057
7057
|
"default",
|
|
@@ -7128,7 +7128,7 @@ var accountsMeta = /* @__PURE__ */ __name(async (store, accounts, skipped, now)
|
|
|
7128
7128
|
};
|
|
7129
7129
|
}, "accountsMeta");
|
|
7130
7130
|
|
|
7131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/calendar/writer.js
|
|
7132
7132
|
var EVENTS_NOTIFY_KEY = "events.notify";
|
|
7133
7133
|
var EVENTS_DELETE_SERIES_KEY = "events.delete.series";
|
|
7134
7134
|
var EVENTS_REMIND_HOOK_KEY = "events.remind.hook";
|
|
@@ -10864,10 +10864,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
10864
10864
|
}).summary("serve this profile's commands to an AI agent").description("serve memo commands over MCP on stdio or authenticated HTTP, limited by saved permissions").option("--permission <key=level>", "tighten one saved permission for this server; repeat for more keys", (value, previous = []) => [...previous, value]).option("--http", "serve on 127.0.0.1 behind an HTTPS tunnel with an owner access-code login").option("--port <port>", `local HTTP port (default ${DEFAULT_PORT}); requires --http`).option("--public-url <url>", "tunnel's HTTPS address without /mcp, or a path of it such as https://<name>.ts.net/memo; requires --http").action(async (options) => {
|
|
10865
10865
|
if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
|
|
10866
10866
|
throw new CliError("validation_error", "--port and --public-url require --http");
|
|
10867
|
-
const { createMemoServer } = await import("./server-
|
|
10867
|
+
const { createMemoServer } = await import("./server-GYLFN6Y7.js");
|
|
10868
10868
|
const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
|
|
10869
10869
|
if (options.http) {
|
|
10870
|
-
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-
|
|
10870
|
+
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-IRJS472M.js");
|
|
10871
10871
|
const publicUrl = publicUrlOf(options.publicUrl, {
|
|
10872
10872
|
missing: "--http",
|
|
10873
10873
|
reaches: "the browser apps reach memo",
|
|
@@ -10919,7 +10919,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
10919
10919
|
});
|
|
10920
10920
|
});
|
|
10921
10921
|
annotate(mcp2.command("revoke"), { effects: LOCAL_WRITE, mcp: false, examples: ["memo mcp revoke --json"] }).summary("forget every login given to a browser app").description("forget every login `memo mcp serve --http` gave a browser app; each app must log in again").option("--json", "print JSON").action(async function() {
|
|
10922
|
-
const { revokeAll } = await import("./mcp-
|
|
10922
|
+
const { revokeAll } = await import("./mcp-IRJS472M.js");
|
|
10923
10923
|
revokeAll(httpTokenFile(env));
|
|
10924
10924
|
out.print(this.opts().json, itemAnswer({ revoked: true }));
|
|
10925
10925
|
});
|
|
@@ -11731,6 +11731,8 @@ var personAnswer = /* @__PURE__ */ __name((person) => ({
|
|
|
11731
11731
|
identity: `${identity.provider}:${identity.id}`,
|
|
11732
11732
|
name: identity.name,
|
|
11733
11733
|
username: identity.username,
|
|
11734
|
+
phone: identity.phone ?? null,
|
|
11735
|
+
email: identity.email ?? null,
|
|
11734
11736
|
seenIn: identity.seenIn,
|
|
11735
11737
|
method: identity.method,
|
|
11736
11738
|
linkedBy: identity.linkedBy,
|
|
@@ -11922,6 +11924,7 @@ var personRow = /* @__PURE__ */ __name((person) => ({
|
|
|
11922
11924
|
phone: person.phone,
|
|
11923
11925
|
email: person.email,
|
|
11924
11926
|
username: person.username,
|
|
11927
|
+
username_source: person.usernameSource,
|
|
11925
11928
|
messages_from: person.messagesFrom,
|
|
11926
11929
|
last_contact: person.lastContact,
|
|
11927
11930
|
ties: person.ties
|
|
@@ -11970,7 +11973,7 @@ var peopleCommand = /* @__PURE__ */ __name((program, streams, env) => {
|
|
|
11970
11973
|
termField("kind", "enum", "kind:organization", { values: [...PERSON_KINDS, "all"] })
|
|
11971
11974
|
]
|
|
11972
11975
|
};
|
|
11973
|
-
withQuery(annotate(people.command("list"), { effects: LOCAL_READ }).summary("people of one kind, most messages first: person by default").description("people of one kind: person (the default: the owner, people added by hand or assigned a task, and named people with a tie to you, such as a one-to-one chat, a group of at most 10, mail you wrote, a meeting, a CRM or your address book), organization, automated (bots, newsletters, notifications),
|
|
11976
|
+
withQuery(annotate(people.command("list"), { effects: LOCAL_READ }).summary("people of one kind, most messages first: person by default").description("people of one kind: person (the default: the owner, people added by hand or assigned a task, and named people with a tie to you, such as a one-to-one chat, a group of at most 10, mail you wrote, a meeting, a CRM deal of yours or your address book), organization, automated (bots, newsletters, notifications), stranger (no tie), unsorted (no name) or all. The owner first, then by the messages and mail they sent"), query).option("--sort <field>", `${PEOPLE_SORTS.join(", ")} (default interactions)`, oneOf(PEOPLE_SORTS), "interactions").option("--limit <n>", "most people on a page, up to 5000", positive, 500).option("--page <n>", "which page, from 1", positive, 1).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (words, { json: json5, ...options }) => {
|
|
11974
11977
|
const terms2 = queryTerms(words, query, "people list");
|
|
11975
11978
|
const name2 = terms2.get("name");
|
|
11976
11979
|
const kind = terms2.get("kind") ?? "person";
|
|
@@ -13804,9 +13807,7 @@ var aiModel = {
|
|
|
13804
13807
|
read: /* @__PURE__ */ __name(async (context, { system, prompt }) => {
|
|
13805
13808
|
const found = reader(context);
|
|
13806
13809
|
if ("refused" in found)
|
|
13807
|
-
throw new CliError("configuration_error", problemOf(found.refused), {
|
|
13808
|
-
reason: found.refused === "ai.not-set" ? "reader.ai-not-set" : "reader.no-key"
|
|
13809
|
-
});
|
|
13810
|
+
throw found.refused === "ai.not-set" ? new CliError("configuration_error", problemOf(found.refused), { reason: "reader.ai-not-set" }) : new CliError("authentication_error", problemOf(found.refused), { reason: "reader.no-key" });
|
|
13810
13811
|
try {
|
|
13811
13812
|
return await found.complete({ purpose: "sources", system, prompt, maxTokens: 4096 });
|
|
13812
13813
|
} catch (error) {
|
|
@@ -3,8 +3,8 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
pasteHint,
|
|
5
5
|
readSecret
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-WETWQO6X.js";
|
|
7
|
+
import "./chunk-ZKCAR2OL.js";
|
|
8
8
|
import "./chunk-2IQWMWMC.js";
|
|
9
9
|
import "./chunk-EXFRC4OT.js";
|
|
10
10
|
import "./chunk-X2SA73EE.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
openRemote,
|
|
9
9
|
remoteKey,
|
|
10
10
|
remoteModel
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-6GHBGGN7.js";
|
|
12
|
+
import "./chunk-Z4TPRASF.js";
|
|
13
|
+
import "./chunk-T6LXUBXY.js";
|
|
14
|
+
import "./chunk-VHA3LJQT.js";
|
|
15
15
|
import "./chunk-2IQWMWMC.js";
|
|
16
16
|
import "./chunk-EXFRC4OT.js";
|
|
17
17
|
import "./chunk-X2SA73EE.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
defaultThreads,
|
|
5
5
|
loadModel,
|
|
6
6
|
truncated
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Z4TPRASF.js";
|
|
8
|
+
import "./chunk-T6LXUBXY.js";
|
|
9
|
+
import "./chunk-VHA3LJQT.js";
|
|
10
10
|
import "./chunk-2IQWMWMC.js";
|
|
11
11
|
import "./chunk-EXFRC4OT.js";
|
|
12
12
|
import "./chunk-X2SA73EE.js";
|
|
@@ -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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/embeddings/rerank.js
|
|
21
21
|
var openReranker = /* @__PURE__ */ __name(async (model, directory, { threads = defaultThreads() } = {}) => {
|
|
22
22
|
const { ort, tokenizer, session } = await loadModel(model, directory, threads);
|
|
23
23
|
const typeIds = session.inputNames.includes("token_type_ids");
|
|
@@ -3,14 +3,14 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
MCP_PATH,
|
|
5
5
|
serveOverHttp
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OMGNXKSH.js";
|
|
7
|
+
import "./chunk-6ABWVQ4T.js";
|
|
8
|
+
import "./chunk-UIJBGS6K.js";
|
|
9
9
|
import "./chunk-3X4JM3ZR.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-EI7LYQQA.js";
|
|
11
11
|
import "./chunk-H3ZN4YLB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-N7CHOWDF.js";
|
|
13
|
+
import "./chunk-Q2CQNT3A.js";
|
|
14
14
|
import "./chunk-2IQWMWMC.js";
|
|
15
15
|
import "./chunk-EXFRC4OT.js";
|
|
16
16
|
import "./chunk-X2SA73EE.js";
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
PER_RUN,
|
|
5
|
+
createServer,
|
|
6
|
+
envelope,
|
|
7
|
+
serveOverHttpUntilStopped,
|
|
8
|
+
serveOverStdio
|
|
9
|
+
} from "./chunk-5PCPPT43.js";
|
|
10
|
+
import "./chunk-TWWYDJBW.js";
|
|
11
|
+
import "./chunk-DDPZY27T.js";
|
|
12
|
+
import "./chunk-B2ZAEF5Z.js";
|
|
13
|
+
import "./chunk-5NBQOU5V.js";
|
|
14
|
+
import "./chunk-YOM4PA3A.js";
|
|
15
|
+
import "./chunk-7ENXMVT5.js";
|
|
16
|
+
import "./chunk-MM5NVP7F.js";
|
|
17
|
+
import "./chunk-WHMKYJZR.js";
|
|
18
|
+
import "./chunk-3X4JM3ZR.js";
|
|
19
|
+
import "./chunk-EI7LYQQA.js";
|
|
20
|
+
import "./chunk-H3ZN4YLB.js";
|
|
21
|
+
import "./chunk-E5JVYVRX.js";
|
|
22
|
+
import "./chunk-QEJHNTCX.js";
|
|
23
|
+
import "./chunk-ELKRFQ5Y.js";
|
|
24
|
+
import "./chunk-N7CHOWDF.js";
|
|
25
|
+
import "./chunk-6GHBGGN7.js";
|
|
26
|
+
import "./chunk-3QBRLN6T.js";
|
|
27
|
+
import "./chunk-OYKQX4H3.js";
|
|
28
|
+
import "./chunk-ZKCAR2OL.js";
|
|
29
|
+
import "./chunk-22RYCAAO.js";
|
|
30
|
+
import "./chunk-KUY35N7Q.js";
|
|
31
|
+
import "./chunk-VJLJFLKZ.js";
|
|
32
|
+
import "./chunk-4LZLU2V3.js";
|
|
33
|
+
import "./chunk-Z4TPRASF.js";
|
|
34
|
+
import "./chunk-NT5IOEEK.js";
|
|
35
|
+
import "./chunk-D72URWJE.js";
|
|
36
|
+
import "./chunk-EF33DKMR.js";
|
|
37
|
+
import "./chunk-DAEPTQ6N.js";
|
|
38
|
+
import "./chunk-MW6IAMUI.js";
|
|
39
|
+
import "./chunk-Y2J52Y3A.js";
|
|
40
|
+
import "./chunk-NXQFVHG4.js";
|
|
41
|
+
import "./chunk-LJRXD44C.js";
|
|
42
|
+
import "./chunk-Q2CQNT3A.js";
|
|
43
|
+
import "./chunk-F7MKFYYP.js";
|
|
44
|
+
import "./chunk-NGWKI3E6.js";
|
|
45
|
+
import "./chunk-QU7UPCW2.js";
|
|
46
|
+
import "./chunk-WHZJHUK6.js";
|
|
47
|
+
import "./chunk-TT5RMHM6.js";
|
|
48
|
+
import "./chunk-T6LXUBXY.js";
|
|
49
|
+
import "./chunk-VHA3LJQT.js";
|
|
50
|
+
import "./chunk-G5GW3FFJ.js";
|
|
51
|
+
import "./chunk-2IQWMWMC.js";
|
|
52
|
+
import "./chunk-EXFRC4OT.js";
|
|
53
|
+
import "./chunk-X2SA73EE.js";
|
|
54
|
+
import "./chunk-6A37YXAL.js";
|
|
55
|
+
import "./chunk-Y5E2WNWB.js";
|
|
56
|
+
import "./chunk-BA6GHX5B.js";
|
|
57
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
58
|
+
export {
|
|
59
|
+
PER_RUN,
|
|
60
|
+
createServer,
|
|
61
|
+
envelope,
|
|
62
|
+
serveOverHttpUntilStopped,
|
|
63
|
+
serveOverStdio
|
|
64
|
+
};
|