@wirecat/cli-memo 0.131.80 → 0.131.81
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-RVKEGURX.js → all-profiles-AG3WU2VX.js} +5 -5
- package/dist/bundle/{anthropic-FC6XUSWM.js → anthropic-5OJ6VVBT.js} +2 -2
- package/dist/bundle/{app-server-IRNKU3IF.js → app-server-CYMFIH4U.js} +36 -36
- package/dist/bundle/auto-PI3CSWZS.js +91 -0
- package/dist/bundle/{bun-TYBGE5BX.js → bun-YI3OK27Z.js} +2 -2
- package/dist/bundle/{bun-sqlite-YENHHNPL.js → bun-sqlite-YXHIEV5I.js} +3 -3
- package/dist/bundle/{chunk-HHZMDFE2.js → chunk-26HACUK7.js} +45 -45
- package/dist/bundle/{chunk-IJUXHUNZ.js → chunk-2DLWUJW2.js} +2 -2
- package/dist/bundle/{chunk-FIJTCBPQ.js → chunk-3UQC4O3L.js} +8 -8
- package/dist/bundle/{chunk-GNII3UL7.js → chunk-5MGGZJAL.js} +1 -1
- package/dist/bundle/{chunk-JDQSL2EY.js → chunk-6GFML7RP.js} +2 -2
- package/dist/bundle/{chunk-SULQCO3Y.js → chunk-6KPJKZNM.js} +5 -5
- package/dist/bundle/{chunk-NUKMYB65.js → chunk-7CU4TLEU.js} +4 -4
- package/dist/bundle/{chunk-MDIXXKVU.js → chunk-7END7RSM.js} +9 -9
- package/dist/bundle/{chunk-X3NHAO6T.js → chunk-7TGAZTZ7.js} +1 -1
- package/dist/bundle/{chunk-OH4AIBZF.js → chunk-ACUFYEMU.js} +1 -1
- package/dist/bundle/{chunk-OFRIG3CX.js → chunk-B44MN5AV.js} +3 -3
- package/dist/bundle/{chunk-JJ6ODCVQ.js → chunk-BM7X632R.js} +2 -2
- package/dist/bundle/{chunk-FR646D4S.js → chunk-BXFFFWJC.js} +1 -1
- package/dist/bundle/{chunk-RWVB7SLQ.js → chunk-C4PKTIIC.js} +20 -20
- package/dist/bundle/{chunk-NH7KIGIS.js → chunk-CYNITS32.js} +2 -2
- package/dist/bundle/{chunk-C2FE62E5.js → chunk-D6QYOZQ7.js} +29 -29
- package/dist/bundle/{chunk-BS5JBNGX.js → chunk-DWWQE6QB.js} +951 -725
- package/dist/bundle/{chunk-ZMSEKQQQ.js → chunk-EHBC5J5T.js} +1 -1
- package/dist/bundle/{chunk-MLYPJ4EC.js → chunk-ENNO7YI4.js} +6 -6
- package/dist/bundle/{chunk-Q46O7KXY.js → chunk-F5G2ECJT.js} +5 -5
- package/dist/bundle/{chunk-2CJIZZSI.js → chunk-FSWVWWK6.js} +12 -12
- package/dist/bundle/{chunk-EOXWI2EX.js → chunk-GAGGDEEV.js} +4 -4
- package/dist/bundle/{chunk-CUWTYE5A.js → chunk-GTOC7CVD.js} +2 -2
- package/dist/bundle/{chunk-OSE7GXAR.js → chunk-HMLUAJ5X.js} +1 -1
- package/dist/bundle/{chunk-VTBIVTS5.js → chunk-IMGEDPEG.js} +3 -3
- package/dist/bundle/{chunk-2FICCBKH.js → chunk-IMOHS6Z4.js} +1 -1
- package/dist/bundle/{chunk-3H56E3VI.js → chunk-ISODMBTI.js} +4 -4
- package/dist/bundle/{chunk-JPC7GSJO.js → chunk-J53G4IDW.js} +14 -9
- package/dist/bundle/{chunk-PX55CRD3.js → chunk-JURO45D4.js} +77 -77
- package/dist/bundle/{chunk-IW6O2SAG.js → chunk-KAJJEVBN.js} +10 -10
- package/dist/bundle/{chunk-UTYGPWUY.js → chunk-L4JRQ3EF.js} +3 -3
- package/dist/bundle/{chunk-666J5H2Z.js → chunk-LEVVMGYP.js} +1 -1
- package/dist/bundle/{chunk-R4XCBPD2.js → chunk-LQRUSNYT.js} +1 -1
- package/dist/bundle/{chunk-SKX3BNTE.js → chunk-M27DVXQY.js} +7 -7
- package/dist/bundle/{chunk-VQJDYQ55.js → chunk-OW7QEJQC.js} +32 -32
- package/dist/bundle/{chunk-TJ2B36VK.js → chunk-OXUVXJQZ.js} +7 -7
- package/dist/bundle/{chunk-KNRYIHUJ.js → chunk-QACKJE66.js} +281 -281
- package/dist/bundle/{chunk-6W6CLZKX.js → chunk-QKDLZFET.js} +12 -12
- package/dist/bundle/{chunk-RUM4GGHP.js → chunk-RRAO2HEO.js} +4 -4
- package/dist/bundle/{chunk-XZJUAG7B.js → chunk-SFZATVW3.js} +3 -3
- package/dist/bundle/{chunk-K3JEAMTT.js → chunk-SUN4Z4O5.js} +1 -1
- package/dist/bundle/{chunk-CVQJ7L4C.js → chunk-SZXP5BLK.js} +4 -4
- package/dist/bundle/{chunk-S2KXO7MO.js → chunk-TGKW746D.js} +1 -1
- package/dist/bundle/{chunk-GHYJW4ZH.js → chunk-TM7HPDDC.js} +2 -2
- package/dist/bundle/{chunk-F62N6QMI.js → chunk-U5KHIIEZ.js} +1 -1
- package/dist/bundle/{chunk-HXPU3ABX.js → chunk-UIPF5ZPZ.js} +326 -301
- package/dist/bundle/{chunk-W26VONC6.js → chunk-UXAVR5L4.js} +5 -5
- package/dist/bundle/{chunk-SGV2Z4BO.js → chunk-VR5JZXFD.js} +148 -148
- package/dist/bundle/{chunk-C4TAEYDQ.js → chunk-W2NETMA4.js} +5 -5
- package/dist/bundle/{chunk-UBUCTVHB.js → chunk-W6JVRWUC.js} +1 -1
- package/dist/bundle/{chunk-HFQXEMRG.js → chunk-WVTH7Q23.js} +1 -1
- package/dist/bundle/{chunk-KDLOSANT.js → chunk-Y22BK4VX.js} +5 -5
- package/dist/bundle/{chunk-HKXACNLD.js → chunk-YMM7JV6G.js} +2 -2
- package/dist/bundle/{chunk-4IKO3JAA.js → chunk-YVY6VV6C.js} +4 -4
- package/dist/bundle/{chunk-DS5SA5QP.js → chunk-YZLQY6MO.js} +5 -5
- package/dist/bundle/{chunk-JTQAMVZH.js → chunk-ZA3QA66B.js} +13 -13
- package/dist/bundle/{chunk-KVQY7R66.js → chunk-ZQRDE63F.js} +2 -2
- package/dist/bundle/{chunk-CEGA7A35.js → chunk-ZSDIUMUQ.js} +2 -2
- package/dist/bundle/{chunk-ZMLDVE22.js → chunk-ZYBFT7EU.js} +6 -6
- package/dist/bundle/{command-contract-SR6ONYV4.js → command-contract-G4GWD3V6.js} +11 -11
- package/dist/bundle/{command-server-entry-2WXZVYIX.js → command-server-entry-CNTXCJJ4.js} +17 -17
- package/dist/bundle/{decode-U7VFYQAA.js → decode-LV4O5H3M.js} +2 -2
- package/dist/bundle/{echarts-2PXBBLLJ.js → echarts-7FYCTGV2.js} +2 -2
- package/dist/bundle/{embed-DPA5QOIR.js → embed-BJ6VBMFC.js} +3 -3
- package/dist/bundle/{embedder-IGI2UTFK.js → embedder-EMU2SEDZ.js} +6 -6
- package/dist/bundle/{entry-IFOQTBXC.js → entry-IXBQ4UNV.js} +5 -5
- package/dist/bundle/{entry-7PAYGIQO.js → entry-SWFZ52CW.js} +5 -5
- package/dist/bundle/failure-KXBXKFBC.js +71 -0
- package/dist/bundle/{first-run-WHDDKA4V.js → first-run-74EADT2V.js} +5 -5
- package/dist/bundle/{first-screen-P5C57USR.js → first-screen-IW4EUPTH.js} +12 -12
- package/dist/bundle/{instructions-W7F7OQZS.js → instructions-HTJ3I5F5.js} +1 -1
- package/dist/bundle/{mcp-3LAFWOGW.js → mcp-RO7CEZ4P.js} +35 -35
- package/dist/bundle/memo.js +3 -3
- package/dist/bundle/{node-K6MWX3SW.js → node-GTF4PZZJ.js} +2 -2
- package/dist/bundle/{node-sqlite-WV6GCPEC.js → node-sqlite-TCF6PKCK.js} +4 -4
- package/dist/bundle/{oauth-EH2Y54DG.js → oauth-MQWM7KWY.js} +4 -4
- package/dist/bundle/{open-PB4W3UAM.js → open-NDV2TOBL.js} +2 -2
- package/dist/bundle/{openai-76OKHXWR.js → openai-BQAQJD34.js} +7 -7
- package/dist/bundle/{process-FMQ7Q7AI.js → process-YWF25XAX.js} +1 -1
- package/dist/bundle/{program-BR2QHF36.js → program-L4PM3UNK.js} +133 -68
- package/dist/bundle/{prompt-AW4T6CC2.js → prompt-ME3B7BVG.js} +2 -2
- package/dist/bundle/{recognize-X5DMT3HH.js → recognize-NJTH7EAF.js} +1 -1
- package/dist/bundle/{remote-HVKKXNYZ.js → remote-2SQT2DEL.js} +4 -4
- package/dist/bundle/{rerank-IXMWD7JV.js → rerank-OYYNHRTD.js} +4 -4
- package/dist/bundle/{serve-42XTYB26.js → serve-KMZU3JKX.js} +6 -6
- package/dist/bundle/server-K3HNYEDO.js +64 -0
- package/dist/bundle/{server-NNE7MUYT.js → server-OPVBIS67.js} +54 -53
- package/dist/bundle/server-QP3EDFBW.js +50 -0
- package/dist/bundle/{state-EOU37GAH.js → state-Y6JT6KT3.js} +3 -3
- package/dist/bundle/{store-F3REYMA6.js → store-X53QOU4W.js} +9 -9
- package/dist/bundle/store-maintenance-command-ELTUGXWJ.js +49 -0
- package/dist/bundle/update-4NPCGZ2P.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +5 -0
- package/dist/examples.js.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 +1 -0
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +6 -1
- package/dist/people/proposal-rows.d.ts.map +1 -1
- package/dist/people/proposal-rows.js +14 -5
- package/dist/people/proposal-rows.js.map +1 -1
- package/dist/people/proposals-command.d.ts.map +1 -1
- package/dist/people/proposals-command.js +45 -1
- package/dist/people/proposals-command.js.map +1 -1
- package/dist/store/groups-command.d.ts.map +1 -1
- package/dist/store/groups-command.js +37 -2
- package/dist/store/groups-command.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-GTL4YGZX.js +0 -91
- package/dist/bundle/failure-NAM37T2T.js +0 -71
- package/dist/bundle/server-HUEXB5QL.js +0 -64
- package/dist/bundle/server-YLXOJOTR.js +0 -50
- package/dist/bundle/store-maintenance-command-TOBBH3ZK.js +0 -49
- package/dist/bundle/update-3QB752NL.js +0 -74
- /package/dist/bundle/{chunk-ID2I2X2Z.js → chunk-VI7FFUEX.js} +0 -0
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
autoState,
|
|
7
7
|
lastAutoRun,
|
|
8
8
|
recordAutoRun
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ISODMBTI.js";
|
|
10
10
|
import {
|
|
11
11
|
installer,
|
|
12
12
|
latest,
|
|
13
13
|
upgradeCommand
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Y22BK4VX.js";
|
|
15
15
|
import {
|
|
16
16
|
mcpOwnerAllowed,
|
|
17
17
|
memoLevels,
|
|
18
18
|
readOnlyAvailability,
|
|
19
19
|
refuseWritesUnderLock
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-F5G2ECJT.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-UXAVR5L4.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-OW7QEJQC.js";
|
|
70
70
|
import "./chunk-QP3KNC5D.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-GTOC7CVD.js";
|
|
72
|
+
import "./chunk-M27DVXQY.js";
|
|
73
|
+
import "./chunk-B44MN5AV.js";
|
|
74
74
|
import {
|
|
75
75
|
errorObject,
|
|
76
76
|
recognisable
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-7CU4TLEU.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-QACKJE66.js";
|
|
155
|
+
import "./chunk-BXFFFWJC.js";
|
|
156
156
|
import "./chunk-A3QZXQI3.js";
|
|
157
|
-
import "./chunk-
|
|
157
|
+
import "./chunk-5MGGZJAL.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-C4PKTIIC.js";
|
|
165
|
+
import "./chunk-WVTH7Q23.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-J53G4IDW.js";
|
|
173
|
+
import "./chunk-SZXP5BLK.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-26HACUK7.js";
|
|
181
|
+
import "./chunk-ZA3QA66B.js";
|
|
182
182
|
import {
|
|
183
183
|
LIST_QUERY_GUIDE,
|
|
184
184
|
RESOURCES_SEARCHED,
|
|
@@ -247,6 +247,8 @@ import {
|
|
|
247
247
|
searchNotesOf,
|
|
248
248
|
searchNotesQuery,
|
|
249
249
|
searchStore,
|
|
250
|
+
setAccountScope,
|
|
251
|
+
setChatScope,
|
|
250
252
|
snapshotProjectAnnotations,
|
|
251
253
|
storeOnlyDeps,
|
|
252
254
|
storedNeighbours,
|
|
@@ -256,31 +258,31 @@ import {
|
|
|
256
258
|
timeLimit,
|
|
257
259
|
typedQuery,
|
|
258
260
|
withQuery
|
|
259
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-UIPF5ZPZ.js";
|
|
260
262
|
import {
|
|
261
263
|
readBoundedUtf8File,
|
|
262
264
|
writeFileAtomic
|
|
263
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-QKDLZFET.js";
|
|
264
266
|
import {
|
|
265
267
|
releaseLock,
|
|
266
268
|
servingProfiles,
|
|
267
269
|
takeLock
|
|
268
|
-
} from "./chunk-
|
|
269
|
-
import "./chunk-
|
|
270
|
+
} from "./chunk-6GFML7RP.js";
|
|
271
|
+
import "./chunk-TM7HPDDC.js";
|
|
270
272
|
import {
|
|
271
273
|
commandsText,
|
|
272
274
|
inSection,
|
|
273
275
|
installHelp
|
|
274
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-ZYBFT7EU.js";
|
|
275
277
|
import "./chunk-HTQTIKWP.js";
|
|
276
|
-
import "./chunk-
|
|
278
|
+
import "./chunk-KAJJEVBN.js";
|
|
277
279
|
import {
|
|
278
280
|
isNewer
|
|
279
281
|
} from "./chunk-2EGS6BXF.js";
|
|
280
282
|
import "./chunk-OYKQX4H3.js";
|
|
281
|
-
import "./chunk-
|
|
282
|
-
import "./chunk-
|
|
283
|
-
import "./chunk-
|
|
283
|
+
import "./chunk-7END7RSM.js";
|
|
284
|
+
import "./chunk-YMM7JV6G.js";
|
|
285
|
+
import "./chunk-W6JVRWUC.js";
|
|
284
286
|
import {
|
|
285
287
|
EVIDENCE_FINDINGS_KIND,
|
|
286
288
|
IDENTITY_LINK_KIND,
|
|
@@ -322,25 +324,25 @@ import {
|
|
|
322
324
|
refLabel,
|
|
323
325
|
storedProfilesFor,
|
|
324
326
|
writesWithOf
|
|
325
|
-
} from "./chunk-
|
|
326
|
-
import "./chunk-
|
|
327
|
-
import "./chunk-
|
|
328
|
-
import "./chunk-
|
|
329
|
-
import "./chunk-
|
|
327
|
+
} from "./chunk-DWWQE6QB.js";
|
|
328
|
+
import "./chunk-OXUVXJQZ.js";
|
|
329
|
+
import "./chunk-LEVVMGYP.js";
|
|
330
|
+
import "./chunk-2DLWUJW2.js";
|
|
331
|
+
import "./chunk-W2NETMA4.js";
|
|
330
332
|
import {
|
|
331
333
|
APP,
|
|
332
334
|
REASONS,
|
|
333
335
|
STORE_CLIENT,
|
|
334
336
|
VERSION
|
|
335
|
-
} from "./chunk-
|
|
337
|
+
} from "./chunk-IMOHS6Z4.js";
|
|
336
338
|
import "./chunk-NT5IOEEK.js";
|
|
337
339
|
import "./chunk-D72URWJE.js";
|
|
338
|
-
import "./chunk-
|
|
339
|
-
import "./chunk-
|
|
340
|
-
import "./chunk-
|
|
341
|
-
import "./chunk-
|
|
342
|
-
import "./chunk-
|
|
343
|
-
import "./chunk-
|
|
340
|
+
import "./chunk-6KPJKZNM.js";
|
|
341
|
+
import "./chunk-U5KHIIEZ.js";
|
|
342
|
+
import "./chunk-SFZATVW3.js";
|
|
343
|
+
import "./chunk-YZLQY6MO.js";
|
|
344
|
+
import "./chunk-TGKW746D.js";
|
|
345
|
+
import "./chunk-CYNITS32.js";
|
|
344
346
|
import {
|
|
345
347
|
Command,
|
|
346
348
|
DEFAULT_TEXT_MODEL,
|
|
@@ -380,11 +382,11 @@ import {
|
|
|
380
382
|
snakeKeys,
|
|
381
383
|
textModels,
|
|
382
384
|
textModelsFile
|
|
383
|
-
} from "./chunk-
|
|
384
|
-
import "./chunk-
|
|
385
|
-
import "./chunk-
|
|
386
|
-
import "./chunk-
|
|
387
|
-
import "./chunk-
|
|
385
|
+
} from "./chunk-VR5JZXFD.js";
|
|
386
|
+
import "./chunk-ENNO7YI4.js";
|
|
387
|
+
import "./chunk-SUN4Z4O5.js";
|
|
388
|
+
import "./chunk-IMGEDPEG.js";
|
|
389
|
+
import "./chunk-EHBC5J5T.js";
|
|
388
390
|
import {
|
|
389
391
|
CATALOG_KINDS,
|
|
390
392
|
CATEGORIES,
|
|
@@ -458,16 +460,16 @@ import {
|
|
|
458
460
|
timezoneOf,
|
|
459
461
|
validateQuery,
|
|
460
462
|
walkQuery
|
|
461
|
-
} from "./chunk-
|
|
462
|
-
import "./chunk-
|
|
463
|
-
import "./chunk-
|
|
463
|
+
} from "./chunk-JURO45D4.js";
|
|
464
|
+
import "./chunk-BM7X632R.js";
|
|
465
|
+
import "./chunk-RRAO2HEO.js";
|
|
464
466
|
import {
|
|
465
467
|
sharedModelsDirectory
|
|
466
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-L4JRQ3EF.js";
|
|
467
469
|
import "./chunk-G5GW3FFJ.js";
|
|
468
470
|
import {
|
|
469
471
|
storePath
|
|
470
|
-
} from "./chunk-
|
|
472
|
+
} from "./chunk-LQRUSNYT.js";
|
|
471
473
|
import {
|
|
472
474
|
Credentials,
|
|
473
475
|
configFilePath,
|
|
@@ -891,7 +893,7 @@ var readScope = /* @__PURE__ */ __name((command, help = ONE_ACCOUNT_HELP) => sou
|
|
|
891
893
|
var writeScope = /* @__PURE__ */ __name((command, help) => writeOptions(command, help).option("--json", "print JSON; --json=id,title keeps only those fields"), "writeScope");
|
|
892
894
|
var jsonOption = /* @__PURE__ */ __name((command, fields = "ref,title") => command.option("--json", `print JSON; --json=${fields} keeps only those fields`), "jsonOption");
|
|
893
895
|
|
|
894
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
896
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mail/sender-scores.js
|
|
895
897
|
var SCORED = "mail_sender_scores";
|
|
896
898
|
var DAY = 864e5;
|
|
897
899
|
var RECENT = 2 * 365 * DAY;
|
|
@@ -907,7 +909,7 @@ var demotedSenders = /* @__PURE__ */ __name(async (store) => {
|
|
|
907
909
|
return senders;
|
|
908
910
|
}, "demotedSenders");
|
|
909
911
|
|
|
910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
912
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/mail/sync.js
|
|
911
913
|
var DAY2 = 864e5;
|
|
912
914
|
var EDGE = 2 * DAY2;
|
|
913
915
|
|
|
@@ -2353,7 +2355,7 @@ import { createHash } from "node:crypto";
|
|
|
2353
2355
|
import { existsSync, readFileSync as readFileSync2, statSync } from "node:fs";
|
|
2354
2356
|
import { basename, extname, relative, sep } from "node:path";
|
|
2355
2357
|
|
|
2356
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2358
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/services/documents/extraction.js
|
|
2357
2359
|
var Proposal = object({
|
|
2358
2360
|
kind: picklist(["summary", "digest", "fact", "preference"]),
|
|
2359
2361
|
body: pipe(string(), trim(), minLength(1), maxLength(15e3)),
|
|
@@ -2361,13 +2363,13 @@ var Proposal = object({
|
|
|
2361
2363
|
});
|
|
2362
2364
|
var Proposals = object({ items: pipe(array(Proposal), maxLength(20)) });
|
|
2363
2365
|
|
|
2364
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/services/documents/mirrors.js
|
|
2365
2367
|
var ID = pipe(string(), regex(/^[A-Za-z0-9_-]{1,200}$/));
|
|
2366
2368
|
|
|
2367
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2369
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/services/documents/sync.js
|
|
2368
2370
|
var MAX_PICTURE_BYTES = 25 * 1024 * 1024;
|
|
2369
2371
|
|
|
2370
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2372
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/fetch/addresses.js
|
|
2371
2373
|
import { isIP } from "node:net";
|
|
2372
2374
|
var within3 = /* @__PURE__ */ __name((address, [prefix, bits]) => {
|
|
2373
2375
|
for (let bit = 0; bit < bits; bit++) {
|
|
@@ -2438,7 +2440,7 @@ var isPublicAddress = /* @__PURE__ */ __name((address) => {
|
|
|
2438
2440
|
return within3(bytes, [[32], 3]) && !V6_PRIVATE.some((prefix) => within3(bytes, prefix));
|
|
2439
2441
|
}, "isPublicAddress");
|
|
2440
2442
|
|
|
2441
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/fetch/page.js
|
|
2442
2444
|
import { lookup as dnsLookup } from "node:dns/promises";
|
|
2443
2445
|
import { request as httpRequest } from "node:http";
|
|
2444
2446
|
import { request as httpsRequest } from "node:https";
|
|
@@ -6973,7 +6975,7 @@ var doctorCommand = /* @__PURE__ */ __name((...args) => {
|
|
|
6973
6975
|
}, SHELL_OVERRIDES.doctor);
|
|
6974
6976
|
}, "doctorCommand");
|
|
6975
6977
|
|
|
6976
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
6978
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/calendar/sync.js
|
|
6977
6979
|
var DAY8 = 864e5;
|
|
6978
6980
|
var SLOTS_EVERY = 7 * DAY8;
|
|
6979
6981
|
var isWindow = /* @__PURE__ */ __name((value) => typeof value?.from === "number" && typeof value.to === "number", "isWindow");
|
|
@@ -7053,10 +7055,10 @@ var calendarStatus = /* @__PURE__ */ __name(async (store, accountId, { profile,
|
|
|
7053
7055
|
return { items, page: 1, limit: Math.max(1, items.length), hasMore: false };
|
|
7054
7056
|
}, "calendarStatus");
|
|
7055
7057
|
|
|
7056
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7058
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/calendar/feeds.js
|
|
7057
7059
|
var FEED_LIMITS = { maxBytes: 10 * 1024 * 1024, timeoutMs: 3e4, redirects: 5 };
|
|
7058
7060
|
|
|
7059
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7061
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/calendar/reads.js
|
|
7060
7062
|
var LIST = "events list";
|
|
7061
7063
|
var EVENT_TYPES = [
|
|
7062
7064
|
"default",
|
|
@@ -7133,7 +7135,7 @@ var accountsMeta = /* @__PURE__ */ __name(async (store, accounts, skipped, now)
|
|
|
7133
7135
|
};
|
|
7134
7136
|
}, "accountsMeta");
|
|
7135
7137
|
|
|
7136
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7138
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/node_modules/@wirecat/cli-core/dist/calendar/writer.js
|
|
7137
7139
|
var EVENTS_NOTIFY_KEY = "events.notify";
|
|
7138
7140
|
var EVENTS_DELETE_SERIES_KEY = "events.delete.series";
|
|
7139
7141
|
var EVENTS_REMIND_HOOK_KEY = "events.remind.hook";
|
|
@@ -7398,6 +7400,10 @@ var EXAMPLES = {
|
|
|
7398
7400
|
"groups add": ["memo groups add work bitrix24:acme", "memo groups add personal telegram:102"],
|
|
7399
7401
|
"groups remove": ["memo groups remove work telegram:102"],
|
|
7400
7402
|
"groups move": ["memo groups move telegram:102 personal work"],
|
|
7403
|
+
"groups update": [
|
|
7404
|
+
"memo groups update bitrix24:acme --scope work",
|
|
7405
|
+
"memo groups update telegram:102 --chat 7 --scope account"
|
|
7406
|
+
],
|
|
7401
7407
|
"config show": ["memo config show", "memo config show --json"],
|
|
7402
7408
|
"config migrate": ["memo config migrate"],
|
|
7403
7409
|
"config unset": ["memo config unset permissions.notes.edit"],
|
|
@@ -7511,6 +7517,7 @@ var EXAMPLES = {
|
|
|
7511
7517
|
"memo people reject 17081 --reason 'two people'",
|
|
7512
7518
|
"memo people reject all --kind link --reason 'not one'"
|
|
7513
7519
|
],
|
|
7520
|
+
"people resolve": ["memo people resolve 17092 company", "memo people resolve 17093 company organization:12 --json"],
|
|
7514
7521
|
"people links check": ["memo people links check", "memo people links check --page 2 --json"],
|
|
7515
7522
|
"people scan": ["memo people scan"],
|
|
7516
7523
|
"people link": [
|
|
@@ -10971,10 +10978,10 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
10971
10978
|
}).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) => {
|
|
10972
10979
|
if (!options.http && (options.port !== void 0 || options.publicUrl !== void 0))
|
|
10973
10980
|
throw new CliError("validation_error", "--port and --public-url require --http");
|
|
10974
|
-
const { createMemoServer } = await import("./server-
|
|
10981
|
+
const { createMemoServer } = await import("./server-OPVBIS67.js");
|
|
10975
10982
|
const build = /* @__PURE__ */ __name(() => createMemoServer(env, createProgram2, options.permission), "build");
|
|
10976
10983
|
if (options.http) {
|
|
10977
|
-
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-
|
|
10984
|
+
const { httpLockFile, mcpUrlOf, portOf, publicUrlOf, serveOverHttp } = await import("./mcp-RO7CEZ4P.js");
|
|
10978
10985
|
const publicUrl = publicUrlOf(options.publicUrl, {
|
|
10979
10986
|
missing: "--http",
|
|
10980
10987
|
reaches: "the browser apps reach memo",
|
|
@@ -11026,7 +11033,7 @@ var mcpCommandDefinition = /* @__PURE__ */ __name((program, streams, env, create
|
|
|
11026
11033
|
});
|
|
11027
11034
|
});
|
|
11028
11035
|
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() {
|
|
11029
|
-
const { revokeAll } = await import("./mcp-
|
|
11036
|
+
const { revokeAll } = await import("./mcp-RO7CEZ4P.js");
|
|
11030
11037
|
revokeAll(httpTokenFile(env));
|
|
11031
11038
|
out.print(this.opts().json, itemAnswer({ revoked: true }));
|
|
11032
11039
|
});
|
|
@@ -11869,6 +11876,8 @@ var matchAnswer = /* @__PURE__ */ __name((row) => ({
|
|
|
11869
11876
|
with: row.with,
|
|
11870
11877
|
signal: row.signal,
|
|
11871
11878
|
score: row.score,
|
|
11879
|
+
shared: row.shared,
|
|
11880
|
+
mailbox: row.mailbox,
|
|
11872
11881
|
candidates: row.candidates,
|
|
11873
11882
|
reason: row.reason,
|
|
11874
11883
|
evidence: row.evidence,
|
|
@@ -11888,17 +11897,21 @@ var splitAnswer = /* @__PURE__ */ __name((row) => ({
|
|
|
11888
11897
|
createdAt: row.createdAt
|
|
11889
11898
|
}), "splitAnswer");
|
|
11890
11899
|
var summaryOf2 = /* @__PURE__ */ __name((row) => {
|
|
11891
|
-
if (row.kind === "identity_link")
|
|
11892
|
-
|
|
11900
|
+
if (row.kind === "identity_link") {
|
|
11901
|
+
const why = [row.signal, ...row.mailbox ? [`shared mailbox ${row.mailbox}`] : []];
|
|
11902
|
+
const score = row.score === null ? "" : `, score ${row.score}`;
|
|
11903
|
+
return `${row.identity} may be the same person as ${row.with ?? row.persons[1]} (${why.join(", ")}${score})`;
|
|
11904
|
+
}
|
|
11893
11905
|
return row.split === "unmerge" ? `undo ${row.merge}: ${row.identities.join(" ")} go back to their own person` : `take ${row.identities.join(" ")} off ${row.person}`;
|
|
11894
11906
|
}, "summaryOf");
|
|
11895
11907
|
var PROPOSAL_KINDS = ["all", "link", "split"];
|
|
11908
|
+
var scoreOf = /* @__PURE__ */ __name((row) => row.kind === "identity_link" ? row.score ?? -1 : -1, "scoreOf");
|
|
11896
11909
|
var waiting2 = /* @__PURE__ */ __name(async (store, { kind, limit }) => {
|
|
11897
11910
|
const none = { items: [], hasMore: false };
|
|
11898
11911
|
const page = { status: "proposed", limit, offset: 0 };
|
|
11899
|
-
const links = kind === "split" ? none : await store.people.linkProposals(page);
|
|
11912
|
+
const links = kind === "split" ? none : await store.people.linkProposals({ ...page, order: "score" });
|
|
11900
11913
|
const splits = kind === "link" ? none : await store.people.splitProposals(page);
|
|
11901
|
-
const rows = [...links.items.map(matchAnswer), ...splits.items.map(splitAnswer)].sort((a, b) => b.createdAt.localeCompare(a.createdAt) || Number(b.id) - Number(a.id));
|
|
11914
|
+
const rows = [...links.items.map(matchAnswer), ...splits.items.map(splitAnswer)].sort((a, b) => scoreOf(b) - scoreOf(a) || b.createdAt.localeCompare(a.createdAt) || Number(b.id) - Number(a.id));
|
|
11902
11915
|
return { items: rows.slice(0, limit), hasMore: links.hasMore || splits.hasMore || rows.length > limit };
|
|
11903
11916
|
}, "waiting");
|
|
11904
11917
|
|
|
@@ -11928,9 +11941,20 @@ var peopleIds = /* @__PURE__ */ __name(async (store, ids) => {
|
|
|
11928
11941
|
}
|
|
11929
11942
|
return { ids: kept2, refused: refused2 };
|
|
11930
11943
|
}, "peopleIds");
|
|
11944
|
+
var RESOLVE_ANSWERS = ["company"];
|
|
11945
|
+
var organizationOf = /* @__PURE__ */ __name((word) => {
|
|
11946
|
+
if (word === void 0)
|
|
11947
|
+
return void 0;
|
|
11948
|
+
const id = /^(?:organization:)?(\d+)$/.exec(word)?.[1];
|
|
11949
|
+
if (id === void 0)
|
|
11950
|
+
throw new CliError("validation_error", `${word} is not an organization; it looks like organization:12`, {
|
|
11951
|
+
param: "organization"
|
|
11952
|
+
});
|
|
11953
|
+
return Number(id);
|
|
11954
|
+
}, "organizationOf");
|
|
11931
11955
|
var peopleProposalCommands = /* @__PURE__ */ __name((people, program, streams, env) => {
|
|
11932
11956
|
const { print } = answers(program, streams, env);
|
|
11933
|
-
annotate(people.command("review"), { effects: LOCAL_READ }).summary("people that may be one, and splits an agent proposed, waiting for you").description("what waits for the owner about who is who: matches (people that may be one) and splits (identities an agent says are not this person),
|
|
11957
|
+
annotate(people.command("review"), { effects: LOCAL_READ }).summary("people that may be one, and splits an agent proposed, waiting for you").description("what waits for the owner about who is who: matches (people that may be one) and splits (identities an agent says are not this person), highest score first, then newest; people confirm or people reject answers them, and people resolve company answers a match on a shared mailbox").option("--kind <kind>", `${PROPOSAL_KINDS.join(", ")} (default all)`, oneOf(PROPOSAL_KINDS), "all").option("--limit <n>", "most proposals, up to 500", positive, 50).option("--json", "print JSON; --json=id,title keeps only those fields").action(async (options) => {
|
|
11934
11958
|
const limit = limitOf(options.limit);
|
|
11935
11959
|
const found = await withStore(env, (store) => waiting2(store, { kind: options.kind, limit }));
|
|
11936
11960
|
print(options.json, listAnswer("people review", { items: found.items, limit, has_more: found.hasMore }), [
|
|
@@ -11972,6 +11996,26 @@ nothing changed; add --yes to ${name2} them${moreText}`);
|
|
|
11972
11996
|
print(options.json, itemAnswer({ ...decided, has_more: more }, issues.length ? { meta: { complete: false, issues } } : void 0), decidedText(decided) + moreText);
|
|
11973
11997
|
});
|
|
11974
11998
|
}
|
|
11999
|
+
const company = byOption(annotate(people.command("resolve"), { effects: LOCAL_WRITE }).summary("say a shared mailbox is a company's, not either person's; only you").description("answers a match on a shared mailbox (people review shows shared and mailbox) with company: the address goes to the organization you name, else to the one that has the address or its company domain, else to one named --name, else to a new company named after the domain. The two people are not joined and are not proposed again on that address").argument("<id>", "the match's id as people review lists it").argument("<answer>", "company: the mailbox is a company's, not either person's", oneOf(RESOLVE_ANSWERS)).argument("[organization]", "organization:<id> to give the address to")).option("--name <name>", "the company's name, when no organization is named").option("--reason <text>", "why, in a few words").option("--json", "print JSON; --json=id,title keeps only those fields");
|
|
12000
|
+
company.action(async (id, _answer, organization, options) => {
|
|
12001
|
+
const owned = organizationOf(organization);
|
|
12002
|
+
await asOwner(company, env, `say the mailbox of people proposal ${id} is a company's?`);
|
|
12003
|
+
const decided = await withStore(env, async (store) => {
|
|
12004
|
+
await (await reviewOf(store, env)).get(id);
|
|
12005
|
+
return store.people.decideLink(id, {
|
|
12006
|
+
confirm: false,
|
|
12007
|
+
by: "owner",
|
|
12008
|
+
company: {
|
|
12009
|
+
...owned === void 0 ? {} : { organization: owned },
|
|
12010
|
+
...options.name ? { name: options.name } : {}
|
|
12011
|
+
},
|
|
12012
|
+
...options.reason ? { reason: options.reason } : {}
|
|
12013
|
+
});
|
|
12014
|
+
});
|
|
12015
|
+
const given2 = decided.result?.organization ?? null;
|
|
12016
|
+
const mailbox = decided.payload.mailbox ?? null;
|
|
12017
|
+
print(options.json, itemAnswer({ id, kind: IDENTITY_LINK_KIND, status: "rejected", mailbox, organization: given2 }), `${id}: ${mailbox} is ${given2}'s mailbox now; the two people stay apart`);
|
|
12018
|
+
});
|
|
11975
12019
|
}, "peopleProposalCommands");
|
|
11976
12020
|
|
|
11977
12021
|
// dist/people/identities-command.js
|
|
@@ -14914,6 +14958,13 @@ var sourcesCommand = /* @__PURE__ */ __name((program, streams, env, { fetch: fet
|
|
|
14914
14958
|
}, "sourcesCommand");
|
|
14915
14959
|
|
|
14916
14960
|
// dist/store/groups-command.js
|
|
14961
|
+
var scopeOption = /* @__PURE__ */ __name((scope, chat) => {
|
|
14962
|
+
if (scope === "personal" || scope === "work")
|
|
14963
|
+
return scope;
|
|
14964
|
+
if (scope === "account" && chat !== void 0)
|
|
14965
|
+
return null;
|
|
14966
|
+
throw new CliError("validation_error", chat === void 0 ? `--scope ${scope}: personal or work` : `--scope ${scope}: personal, work, or account to let the chat follow its account`, { reason: "input.invalid", param: "scope" });
|
|
14967
|
+
}, "scopeOption");
|
|
14917
14968
|
var MEMBER_HELP = "one account, as --source names it: telegram:102, tg:work, email:me@work.example, bitrix24:<portal>";
|
|
14918
14969
|
var GROUPS_QUERY = { entity: "account_group", backend: "native", fields: [] };
|
|
14919
14970
|
var at = /* @__PURE__ */ __name((store, env) => ({ store, account: MEMO_ACCOUNT, app: APP, env }), "at");
|
|
@@ -14961,6 +15012,20 @@ var groupsCommand = /* @__PURE__ */ __name((program, streams, env) => {
|
|
|
14961
15012
|
grantsAuthority(annotate(groups.command("add"), { effects: LOCAL_WRITE, output: { entity: "account_group" } })).description("put an account in a group, which is made when it does not exist; it may stay in others too").summary("put an account in a group").argument("<group>", "the group: letters, digits, - and _, not a memo command word").argument("<source>", MEMBER_HELP).option("--json", "print JSON; --json=id,title keeps only those fields").action((group, member, options) => show("groups add", options.json, (store) => addGroupMember(at(store, env), { group, member, reserved: reserved() })));
|
|
14962
15013
|
grantsAuthority(annotate(groups.command("remove"), { effects: LOCAL_WRITE, output: { entity: "account_group" } })).description("take an account out of a group; the account and its data stay, and `all` still reads it").summary("take an account out of a group").argument("<group>", "the group").argument("<source>", MEMBER_HELP).option("--json", "print JSON; --json=id,title keeps only those fields").action((group, member, options) => show("groups remove", options.json, (store) => removeGroupMember(at(store, env), { group, member })));
|
|
14963
15014
|
grantsAuthority(annotate(groups.command("move"), { effects: LOCAL_WRITE, output: { entity: "account_group" } })).description("move an account from one group to another in one write; the other group is made when it is new").summary("move an account between groups").argument("<source>", MEMBER_HELP).argument("<from>", "the group it leaves").argument("<to>", "the group it joins").option("--json", "print JSON; --json=id,title keeps only those fields").action((member, from, to, options) => show("groups move", options.json, (store) => moveGroupMember(at(store, env), { member, from, to, reserved: reserved() })));
|
|
15015
|
+
grantsAuthority(annotate(groups.command("update"), {
|
|
15016
|
+
effects: LOCAL_WRITE,
|
|
15017
|
+
mcp: false,
|
|
15018
|
+
output: { entity: "account_scope" }
|
|
15019
|
+
})).description("set an account's scope, personal or work, which decides whether work views and meeting preparation read it; with --chat, pin one chat of it to a scope, or let it follow its account again").summary("set an account's or one chat's scope, personal or work").argument("<source>", MEMBER_HELP).requiredOption("--scope <scope>", "personal or work; with --chat also account, which takes the chat's own off").option("--chat <chat>", "one chat of the account, by its id there").option("--json", "print JSON; --json=id,title keeps only those fields").action(async (member, options) => {
|
|
15020
|
+
const scope = scopeOption(options.scope, options.chat);
|
|
15021
|
+
if (options.chat === void 0) {
|
|
15022
|
+
const account2 = await withStore(env, (store) => setAccountScope(at(store, env), { member, scope }));
|
|
15023
|
+
print(options.json, itemAnswer(account2), `${account2.provider}:${account2.account} is ${account2.scope}`);
|
|
15024
|
+
return;
|
|
15025
|
+
}
|
|
15026
|
+
const chat = await withStore(env, (store) => setChatScope(at(store, env), { member, chat: options.chat, scope }));
|
|
15027
|
+
print(options.json, itemAnswer(chat), `chat ${chat.chat} of ${chat.provider}:${chat.account} is ${chat.scope}` + (chat.own === null ? ", as its account" : ", its own"));
|
|
15028
|
+
});
|
|
14964
15029
|
}, "groupsCommand");
|
|
14965
15030
|
|
|
14966
15031
|
// dist/store/info-command.js
|
|
@@ -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-YMM7JV6G.js";
|
|
7
|
+
import "./chunk-W6JVRWUC.js";
|
|
8
8
|
import "./chunk-SB3AOH3M.js";
|
|
9
9
|
import "./chunk-DCK5AT3D.js";
|
|
10
10
|
import "./chunk-RK24IARI.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-TM7HPDDC.js";
|
|
12
|
+
import "./chunk-W2NETMA4.js";
|
|
13
|
+
import "./chunk-L4JRQ3EF.js";
|
|
14
|
+
import "./chunk-LQRUSNYT.js";
|
|
15
15
|
import "./chunk-SB3AOH3M.js";
|
|
16
16
|
import "./chunk-DCK5AT3D.js";
|
|
17
17
|
import "./chunk-RK24IARI.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-W2NETMA4.js";
|
|
8
|
+
import "./chunk-L4JRQ3EF.js";
|
|
9
|
+
import "./chunk-LQRUSNYT.js";
|
|
10
10
|
import "./chunk-SB3AOH3M.js";
|
|
11
11
|
import "./chunk-DCK5AT3D.js";
|
|
12
12
|
import "./chunk-RK24IARI.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.635.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_3655968b1fddf86e6ebc40f56f82dd2f/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-GAGGDEEV.js";
|
|
7
|
+
import "./chunk-5MGGZJAL.js";
|
|
8
|
+
import "./chunk-ZSDIUMUQ.js";
|
|
9
9
|
import "./chunk-3X4JM3ZR.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SZXP5BLK.js";
|
|
11
11
|
import "./chunk-H3ZN4YLB.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-6GFML7RP.js";
|
|
13
|
+
import "./chunk-SUN4Z4O5.js";
|
|
14
14
|
import "./chunk-SB3AOH3M.js";
|
|
15
15
|
import "./chunk-DCK5AT3D.js";
|
|
16
16
|
import "./chunk-RK24IARI.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-D6QYOZQ7.js";
|
|
10
|
+
import "./chunk-HMLUAJ5X.js";
|
|
11
|
+
import "./chunk-FSWVWWK6.js";
|
|
12
|
+
import "./chunk-ZQRDE63F.js";
|
|
13
|
+
import "./chunk-C4PKTIIC.js";
|
|
14
|
+
import "./chunk-WVTH7Q23.js";
|
|
15
|
+
import "./chunk-J53G4IDW.js";
|
|
16
|
+
import "./chunk-MM5NVP7F.js";
|
|
17
|
+
import "./chunk-ACUFYEMU.js";
|
|
18
|
+
import "./chunk-3X4JM3ZR.js";
|
|
19
|
+
import "./chunk-SZXP5BLK.js";
|
|
20
|
+
import "./chunk-H3ZN4YLB.js";
|
|
21
|
+
import "./chunk-ZA3QA66B.js";
|
|
22
|
+
import "./chunk-UIPF5ZPZ.js";
|
|
23
|
+
import "./chunk-QKDLZFET.js";
|
|
24
|
+
import "./chunk-6GFML7RP.js";
|
|
25
|
+
import "./chunk-TM7HPDDC.js";
|
|
26
|
+
import "./chunk-2EGS6BXF.js";
|
|
27
|
+
import "./chunk-OYKQX4H3.js";
|
|
28
|
+
import "./chunk-W6JVRWUC.js";
|
|
29
|
+
import "./chunk-DWWQE6QB.js";
|
|
30
|
+
import "./chunk-OXUVXJQZ.js";
|
|
31
|
+
import "./chunk-LEVVMGYP.js";
|
|
32
|
+
import "./chunk-2DLWUJW2.js";
|
|
33
|
+
import "./chunk-W2NETMA4.js";
|
|
34
|
+
import "./chunk-NT5IOEEK.js";
|
|
35
|
+
import "./chunk-D72URWJE.js";
|
|
36
|
+
import "./chunk-U5KHIIEZ.js";
|
|
37
|
+
import "./chunk-YZLQY6MO.js";
|
|
38
|
+
import "./chunk-TGKW746D.js";
|
|
39
|
+
import "./chunk-CYNITS32.js";
|
|
40
|
+
import "./chunk-VR5JZXFD.js";
|
|
41
|
+
import "./chunk-ENNO7YI4.js";
|
|
42
|
+
import "./chunk-SUN4Z4O5.js";
|
|
43
|
+
import "./chunk-IMGEDPEG.js";
|
|
44
|
+
import "./chunk-EHBC5J5T.js";
|
|
45
|
+
import "./chunk-JURO45D4.js";
|
|
46
|
+
import "./chunk-BM7X632R.js";
|
|
47
|
+
import "./chunk-RRAO2HEO.js";
|
|
48
|
+
import "./chunk-L4JRQ3EF.js";
|
|
49
|
+
import "./chunk-G5GW3FFJ.js";
|
|
50
|
+
import "./chunk-LQRUSNYT.js";
|
|
51
|
+
import "./chunk-SB3AOH3M.js";
|
|
52
|
+
import "./chunk-DCK5AT3D.js";
|
|
53
|
+
import "./chunk-RK24IARI.js";
|
|
54
|
+
import "./chunk-5LEIPSJG.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
|
+
};
|