@wirecat/mail-cli 0.37.0 → 0.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/contracts/wirecat.json +1 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/agent-U43CYLAP.js +41 -0
- package/dist/bundle/{all-profiles-ICGWDPUU.js → all-profiles-OCUZMXMI.js} +7 -7
- package/dist/bundle/{anthropic-TL4WFWGU.js → anthropic-CABWJABQ.js} +2 -2
- package/dist/bundle/{app-server-YAR5EFOO.js → app-server-TTWPIGWG.js} +63 -62
- package/dist/bundle/{bun-OPDGMZZQ.js → bun-F4M4KCNA.js} +2 -2
- package/dist/bundle/{bun-sqlite-WI3ZPANS.js → bun-sqlite-YKYG25CR.js} +3 -3
- package/dist/bundle/{chunk-YODGIMMM.js → chunk-24UGTK32.js} +7 -7
- package/dist/bundle/{chunk-IUJDWEGJ.js → chunk-2HDXD6LM.js} +4 -4
- package/dist/bundle/{chunk-UTS5NMR3.js → chunk-2SQLHBDP.js} +1 -1
- package/dist/bundle/{chunk-JLXXUEAM.js → chunk-3TYER5IK.js} +13 -5
- package/dist/bundle/{chunk-R73VWPNL.js → chunk-4FXDUXZP.js} +6 -6
- package/dist/bundle/{chunk-XWBTD2WP.js → chunk-5ICUC66S.js} +2 -2
- package/dist/bundle/{chunk-TMJLGR4A.js → chunk-725OPCHI.js} +51 -51
- package/dist/bundle/{chunk-ZSAPOC7B.js → chunk-77YTUOKN.js} +22 -14
- package/dist/bundle/{chunk-NB52JKLR.js → chunk-7EJWHADX.js} +7 -7
- package/dist/bundle/{chunk-FXNCKPQ7.js → chunk-7KO5FSAW.js} +2 -2
- package/dist/bundle/{chunk-OWPRJLHV.js → chunk-A3KNH3Q4.js} +7 -7
- package/dist/bundle/{chunk-KUX54EGR.js → chunk-AGO3OVKW.js} +441 -377
- package/dist/bundle/{chunk-VB7FZOYX.js → chunk-AQ5RIOUE.js} +1 -1
- package/dist/bundle/{chunk-NAOLBEFX.js → chunk-BA5B5ZF4.js} +203 -168
- package/dist/bundle/{chunk-CICUPYHT.js → chunk-C4PUDTGD.js} +2 -2
- package/dist/bundle/{chunk-VZ5PPYDG.js → chunk-C7JPYWYQ.js} +1 -1
- package/dist/bundle/{chunk-DJZIFZOT.js → chunk-CJJFOT7W.js} +2 -2
- package/dist/bundle/{chunk-JNP3XGJI.js → chunk-CLTFTGBP.js} +15 -14
- package/dist/bundle/{chunk-GQIMVR7C.js → chunk-DKGKPJA3.js} +10 -10
- package/dist/bundle/{chunk-DTR7JO2M.js → chunk-DYCE72XB.js} +34 -34
- package/dist/bundle/{chunk-7PDGZFXD.js → chunk-EDWY73H7.js} +3 -3
- package/dist/bundle/{chunk-3ZOOTTFW.js → chunk-EJQAP6A6.js} +5 -5
- package/dist/bundle/{chunk-7YKWFERX.js → chunk-ESNZL7SB.js} +1 -1
- package/dist/bundle/{chunk-JG6LCSEX.js → chunk-FFER7KJI.js} +12 -12
- package/dist/bundle/{chunk-3HC5F3P7.js → chunk-FTH6WGYO.js} +1 -1
- package/dist/bundle/{chunk-GPUC3FTU.js → chunk-FWGNDKJK.js} +1 -1
- package/dist/bundle/{chunk-NISH4UXM.js → chunk-G46PNDWL.js} +1 -1
- package/dist/bundle/{chunk-K4DEQAEW.js → chunk-G5HG7ZWQ.js} +42 -164
- package/dist/bundle/{chunk-LKH3UKLO.js → chunk-G6NY7LFB.js} +3 -3
- package/dist/bundle/{chunk-KCM3WSER.js → chunk-GMWKNWWY.js} +1 -1
- package/dist/bundle/{chunk-Q7ICVP25.js → chunk-GZ7WBU5Y.js} +1 -1
- package/dist/bundle/{chunk-HFY7536N.js → chunk-HFDDVGDH.js} +62 -60
- package/dist/bundle/{chunk-BYITYTRL.js → chunk-HFRH5YJ6.js} +2 -2
- package/dist/bundle/{chunk-EZQ5BYNL.js → chunk-HI6MTNID.js} +4 -4
- package/dist/bundle/{chunk-BNURKCQG.js → chunk-HIKPVWCL.js} +2 -1
- package/dist/bundle/{chunk-2JHVQMVC.js → chunk-HO4JGD4Q.js} +1 -1
- package/dist/bundle/{chunk-WOPVBRPV.js → chunk-HUAHLO6N.js} +1 -1
- package/dist/bundle/{chunk-F2D3J5DR.js → chunk-HYUUAH2N.js} +6 -6
- package/dist/bundle/chunk-I4AWLFYH.js +377 -0
- package/dist/bundle/{chunk-CUW7Y2HJ.js → chunk-I4PZOWYG.js} +4 -4
- package/dist/bundle/chunk-IDCZ4LWS.js +150 -0
- package/dist/bundle/{chunk-NB7EOAUZ.js → chunk-ISQ23VKV.js} +1 -1
- package/dist/bundle/{chunk-IA7LLLEI.js → chunk-KLRCTMES.js} +2 -2
- package/dist/bundle/{chunk-GGMAIIVE.js → chunk-KYRYD4CR.js} +1 -1
- package/dist/bundle/{chunk-4IZ6R5FS.js → chunk-LB2CF3GG.js} +13 -13
- package/dist/bundle/{chunk-XEQQJBBO.js → chunk-LC7ZD2RW.js} +1 -1
- package/dist/bundle/{chunk-4FTIHADB.js → chunk-M65NILSA.js} +5 -5
- package/dist/bundle/{chunk-IWFWWO37.js → chunk-NQFG7AES.js} +7 -7
- package/dist/bundle/chunk-OAO3JKQD.js +463 -0
- package/dist/bundle/{chunk-2XBDILVW.js → chunk-OEEWVKJX.js} +1 -1
- package/dist/bundle/{chunk-R44KVISE.js → chunk-OVHC7OV4.js} +10 -10
- package/dist/bundle/{chunk-HES6YMYN.js → chunk-PT4VLN3K.js} +4 -4
- package/dist/bundle/chunk-QETNCUWB.js +1703 -0
- package/dist/bundle/{chunk-BNVISIHP.js → chunk-QK3Z7BCC.js} +5 -5
- package/dist/bundle/{chunk-CQHLWMKK.js → chunk-QWF3TFW4.js} +34 -25
- package/dist/bundle/{chunk-FTT7UDYV.js → chunk-RHEDE7D4.js} +2 -2
- package/dist/bundle/{chunk-7HRKUKKY.js → chunk-RI5YZ23Y.js} +20 -20
- package/dist/bundle/{chunk-JZUYZ2XJ.js → chunk-ROUZN6UQ.js} +19 -98
- package/dist/bundle/{chunk-3SKTQ2HC.js → chunk-RQD7CAGF.js} +2 -2
- package/dist/bundle/{chunk-BQMJYSA4.js → chunk-SBLHQAH3.js} +10 -10
- package/dist/bundle/{chunk-NQSKI7XK.js → chunk-SXLIADMY.js} +3 -3
- package/dist/bundle/{chunk-ES2FF42M.js → chunk-SYCM6SQ5.js} +12 -12
- package/dist/bundle/{chunk-3YM4B2GT.js → chunk-T3W4V4A6.js} +1 -1
- package/dist/bundle/{chunk-4N7PP76S.js → chunk-TCT5D2X2.js} +1 -1
- package/dist/bundle/{chunk-YWDFYQOU.js → chunk-TES7MB6I.js} +1 -1
- package/dist/bundle/{chunk-HCRUGAIN.js → chunk-UGFMQWAZ.js} +29 -9
- package/dist/bundle/{chunk-3DHJF57U.js → chunk-VA6PHTMV.js} +6 -6
- package/dist/bundle/{chunk-Z4BLNAWI.js → chunk-VUHH4MQW.js} +8817 -2581
- package/dist/bundle/{chunk-UDSL3MUU.js → chunk-W3BOR6AT.js} +7 -7
- package/dist/bundle/chunk-WA53OJ7V.js +160 -0
- package/dist/bundle/{chunk-QLJGYDWG.js → chunk-XGVMQMTS.js} +5 -5
- package/dist/bundle/{chunk-ZTWTEXB2.js → chunk-YP4FYLFI.js} +2 -2
- package/dist/bundle/{chunk-KZD3H5QA.js → chunk-ZDBWBCEO.js} +2 -2
- package/dist/bundle/{chunk-EV72K4IU.js → chunk-ZKVUAH5N.js} +3 -3
- package/dist/bundle/command-contract-V2WIL6RL.js +40 -0
- package/dist/bundle/{command-server-entry-RA3ZX2KV.js → command-server-entry-ZC5YF4EC.js} +25 -24
- package/dist/bundle/{decode-QVKRSRVF.js → decode-NXAGEUAD.js} +2 -2
- package/dist/bundle/{dist-ITIXJAXK.js → dist-XN2CRP3U.js} +45 -44
- package/dist/bundle/{echarts-O3TNDAXJ.js → echarts-QMAA7HH5.js} +2 -2
- package/dist/bundle/{embed-2HOODFQT.js → embed-3P3LSM2O.js} +3 -3
- package/dist/bundle/{embedder-22AJGCZX.js → embedder-2SANUF2X.js} +6 -6
- package/dist/bundle/{first-run-FU4MFXOA.js → first-run-HEZKQLJL.js} +6 -6
- package/dist/bundle/first-screen-7TQZ4I6X.js +41 -0
- package/dist/bundle/{instructions-AMH5RWVJ.js → instructions-4H7UREH2.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/meeting-combined-HF2NL4PU.js +26 -0
- package/dist/bundle/{meeting-model-QWGAOQHL.js → meeting-model-B7RVFB7L.js} +8 -8
- package/dist/bundle/{meeting-semantic-7PVO6RNB.js → meeting-semantic-YQTL7YVQ.js} +2 -2
- package/dist/bundle/{node-EGMCBAO7.js → node-P3PUHKYH.js} +2 -2
- package/dist/bundle/{node-sqlite-JXUELLMP.js → node-sqlite-OFHTCHJH.js} +4 -4
- package/dist/bundle/{oauth-OYAYWH4K.js → oauth-IVB5RP7T.js} +4 -4
- package/dist/bundle/{open-GLEUJGNA.js → open-KDGDLCWV.js} +2 -2
- package/dist/bundle/{openai-PYTVNB6L.js → openai-NVUBKA7Z.js} +12 -12
- package/dist/bundle/{process-SGHEN6MQ.js → process-AFIXYXWL.js} +1 -1
- package/dist/bundle/{program-7CFNZ2DF.js → program-JQ7EFODJ.js} +1615 -6308
- package/dist/bundle/{prompt-CYTILD7N.js → prompt-QG7FC2SA.js} +2 -2
- package/dist/bundle/{public-XWMXEGEF.js → public-FBD7MQUM.js} +42 -34
- package/dist/bundle/{recognize-26UNETSQ.js → recognize-ZBR5KNID.js} +1 -1
- package/dist/bundle/{remote-PKXBQA5N.js → remote-QOTHNO2M.js} +6 -6
- package/dist/bundle/{rerank-LLKP7M6Q.js → rerank-JD2NIUW6.js} +4 -4
- package/dist/bundle/{serve-ZRJEAPJI.js → serve-QZT3FKK7.js} +6 -6
- package/dist/bundle/{server-4OQ4G5JY.js → server-M6JJ7IKS.js} +55 -54
- package/dist/bundle/server-TAMXMWK6.js +87 -0
- package/dist/bundle/{sqlite-runtime-667VV4VY.js → sqlite-runtime-N2PY7C7J.js} +3 -3
- package/dist/bundle/{state-V3CAAJBE.js → state-OGRUMU7P.js} +3 -3
- package/dist/bundle/{store-BJCIMIAH.js → store-7UE63OQR.js} +52 -41
- package/dist/bundle/{store-GLBBY4OZ.js → store-DGJKE4ZJ.js} +21 -19
- package/dist/bundle/store-maintenance-command-WIDKMZLK.js +74 -0
- package/dist/bundle/surface-LTEEEZU4.js +73 -0
- package/dist/commands/sync.d.ts.map +1 -1
- package/dist/commands/sync.js +28 -4
- package/dist/commands/sync.js.map +1 -1
- package/dist/identity.d.ts.map +1 -1
- package/dist/identity.js +1 -0
- package/dist/identity.js.map +1 -1
- package/dist/mail/send-as.d.ts +21 -0
- package/dist/mail/send-as.d.ts.map +1 -0
- package/dist/mail/send-as.js +66 -0
- package/dist/mail/send-as.js.map +1 -0
- package/dist/mail/send.d.ts.map +1 -1
- package/dist/mail/send.js +3 -1
- package/dist/mail/send.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/agent-OU4K7TKQ.js +0 -40
- package/dist/bundle/chunk-G4VJN75G.js +0 -806
- package/dist/bundle/chunk-OZKZT3ZI.js +0 -79
- package/dist/bundle/chunk-RRTMPSQR.js +0 -29
- package/dist/bundle/chunk-VYCB5EVI.js +0 -721
- package/dist/bundle/command-contract-UC6IGCCM.js +0 -39
- package/dist/bundle/first-screen-A7SEI2ON.js +0 -40
- package/dist/bundle/meeting-combined-KC6YGWA7.js +0 -24
- package/dist/bundle/server-VVRQ4A34.js +0 -86
- package/dist/bundle/store-maintenance-command-N7L5OVUE.js +0 -73
- package/dist/bundle/surface-26EUQNDT.js +0 -72
- /package/dist/bundle/{chunk-KXJ3JEDH.js → chunk-7ECP5ZQR.js} +0 -0
- /package/dist/bundle/{chunk-XXPJF2VD.js → chunk-TQDSBLQB.js} +0 -0
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
ACCESS_SECONDS,
|
|
9
9
|
REFRESH_SECONDS,
|
|
10
10
|
readStored
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PT4VLN3K.js";
|
|
12
12
|
import {
|
|
13
13
|
__name
|
|
14
14
|
} from "./chunk-ZVVMGPBJ.js";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/mcp/http/oauth.js
|
|
17
17
|
import { createHash, randomBytes, randomInt, timingSafeEqual } from "node:crypto";
|
|
18
18
|
import { chmodSync, mkdirSync, renameSync, rmSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateVector
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YP4FYLFI.js";
|
|
6
6
|
import {
|
|
7
7
|
meaningFloor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I4PZOWYG.js";
|
|
9
9
|
import {
|
|
10
10
|
RRF_K
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QETNCUWB.js";
|
|
12
12
|
import {
|
|
13
13
|
MESSAGE_PARSING
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WA53OJ7V.js";
|
|
15
15
|
import {
|
|
16
16
|
normalize
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HO4JGD4Q.js";
|
|
18
18
|
import {
|
|
19
19
|
formatMeetingReference,
|
|
20
20
|
implicitTextTerms,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
parseMeetingReference,
|
|
24
24
|
refreshMeetingIndex,
|
|
25
25
|
walkQuery
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-725OPCHI.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
29
|
} from "./chunk-S6JG4YUH.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
33
33
|
|
|
34
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
34
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
35
35
|
import { createHash } from "node:crypto";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/search/question-plan.js
|
|
38
38
|
var words = /* @__PURE__ */ __name((text) => normalize(text).match(/[\p{L}\p{N}]+/gu) ?? [], "words");
|
|
39
39
|
var joinedHyphens = /* @__PURE__ */ __name((text) => (normalize(text).match(new RegExp("(?<![:\\p{L}\\p{N}-])\\p{L}[\\p{L}\\p{N}]*(?:-\\p{L}[\\p{L}\\p{N}]*)+", "gu")) ?? []).map((word) => word.replaceAll("-", "")), "joinedHyphens");
|
|
40
40
|
var scaffolding = new Set(words("what which how many much who where when is are was were do does did can could should we the a an for of to under from in on at has have \u0441\u043A\u043E\u043B\u044C\u043A\u043E \u043A\u0430\u043A\u043E\u0439 \u043A\u0430\u043A\u0430\u044F \u043A\u0430\u043A\u0438\u0435 \u043A\u0430\u043A\u043E\u0435 \u043A\u0442\u043E \u043A\u043E\u043C\u0443 \u043A\u0435\u043C \u0433\u0434\u0435 \u043A\u043E\u0433\u0434\u0430 \u043A\u0430\u043A \u0447\u0442\u043E \u0432\u043E \u043F\u043E \u043D\u0430 \u0432 \u043A \u0441 \u0443 \u0447\u0435\u0440\u0435\u0437 \u043B\u0438 \u0434\u043E\u043B\u0436\u0435\u043D \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0443\u0436\u043D\u043E \u0438\u0434\u0451\u0442 \u0438\u0434\u0435\u0442 \u043C\u043E\u0436\u043D\u043E \u043C\u043E\u0436\u0435\u0442 \u043C\u043E\u0433\u0443\u0442"));
|
|
@@ -171,7 +171,7 @@ var questionLookup = /* @__PURE__ */ __name((text) => {
|
|
|
171
171
|
return terms.length ? anyOfTerms(terms, plan.scope) : void 0;
|
|
172
172
|
}, "questionLookup");
|
|
173
173
|
|
|
174
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
174
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-hit-search.js
|
|
175
175
|
var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
176
176
|
const { project, tag, topic, ...input } = request;
|
|
177
177
|
input.signal?.throwIfAborted();
|
|
@@ -209,7 +209,7 @@ var resolveMeetingSelection = /* @__PURE__ */ __name(async (store, request) => {
|
|
|
209
209
|
return { input, selection };
|
|
210
210
|
}, "resolveMeetingSelection");
|
|
211
211
|
|
|
212
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
212
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/services/meeting-combined.js
|
|
213
213
|
var DEPTH = 200;
|
|
214
214
|
var cursorOf = /* @__PURE__ */ __name((value, key) => {
|
|
215
215
|
if (value === void 0)
|
|
@@ -2,7 +2,7 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
changesMessenger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BA5B5ZF4.js";
|
|
6
6
|
import {
|
|
7
7
|
AUTHORITY_KEY,
|
|
8
8
|
BOT_API_KEY,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
keyForCommand,
|
|
13
13
|
levelFor,
|
|
14
14
|
readKeysForCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2HDXD6LM.js";
|
|
16
16
|
import {
|
|
17
17
|
writes
|
|
18
18
|
} from "./chunk-KP5JDYY6.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
__name
|
|
21
21
|
} from "./chunk-ZVVMGPBJ.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/command-availability.js
|
|
24
24
|
var commandAvailability = /* @__PURE__ */ __name((info, levels, keyOf, authority, readOnly = false, mcp = true, declared, fetches) => {
|
|
25
25
|
const declaredKey = declared?.keyOf(info.path);
|
|
26
26
|
const key = declared ? declaredKey : keyOf?.(info.path) ?? keyForCommand(info.path);
|
|
@@ -2,18 +2,18 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
validateFormattedText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VA6PHTMV.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TES7MB6I.js";
|
|
9
9
|
import {
|
|
10
10
|
RECORDS_SCHEMA_VERSION,
|
|
11
11
|
RECORD_TYPES,
|
|
12
12
|
pointerOf
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ROUZN6UQ.js";
|
|
14
14
|
import {
|
|
15
15
|
parseReference
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OAO3JKQD.js";
|
|
17
17
|
import {
|
|
18
18
|
indent
|
|
19
19
|
} from "./chunk-2YO3PLOE.js";
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
__name
|
|
25
25
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
26
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
27
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
28
28
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
29
29
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
30
30
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
31
31
|
|
|
32
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
32
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/links.js
|
|
33
33
|
var LINK_VERSION = "v1";
|
|
34
34
|
var DEFAULT_LINK_CONFIG = { base: "https://wirecat.dev/o", enabled: true };
|
|
35
35
|
var APP_PREFIX = "wirecat://open";
|
|
@@ -150,7 +150,7 @@ var linkFor = /* @__PURE__ */ __name((ref, { form, config = DEFAULT_LINK_CONFIG,
|
|
|
150
150
|
return form === "app" ? `${APP_PREFIX}${path}` : `${config.base}#${path}`;
|
|
151
151
|
}, "linkFor");
|
|
152
152
|
|
|
153
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
153
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
154
154
|
var MARKERS = [
|
|
155
155
|
["**", "bold"],
|
|
156
156
|
["~~", "strike"],
|
|
@@ -196,7 +196,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
196
196
|
return end;
|
|
197
197
|
}, "closing");
|
|
198
198
|
|
|
199
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
199
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
200
200
|
var STYLES = [
|
|
201
201
|
["**", "bold"],
|
|
202
202
|
["__", "underline"],
|
|
@@ -356,7 +356,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
356
356
|
return validateFormattedText(result);
|
|
357
357
|
}, "parseMarkdownSpans");
|
|
358
358
|
|
|
359
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
359
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
360
360
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
361
361
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
362
362
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -371,7 +371,7 @@ var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
|
371
371
|
};
|
|
372
372
|
}, "countedPoll");
|
|
373
373
|
|
|
374
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
374
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/records-table.js
|
|
375
375
|
var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => RECORD_TYPES[type].sheet !== false);
|
|
376
376
|
var TableError = class extends Error {
|
|
377
377
|
static {
|
|
@@ -2361,7 +2361,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
2361
2361
|
var qrcode_default = qrcode;
|
|
2362
2362
|
var stringToBytes = qrcode.stringToBytes;
|
|
2363
2363
|
|
|
2364
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
2364
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
2365
2365
|
var QUIET_ZONE = 4;
|
|
2366
2366
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
2367
2367
|
var RESET = "\x1B[0m";
|
|
@@ -2408,7 +2408,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
2408
2408
|
return lines.join("\n");
|
|
2409
2409
|
}, "plainQr");
|
|
2410
2410
|
|
|
2411
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
2411
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
2412
2412
|
var MARGIN = 2;
|
|
2413
2413
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
2414
2414
|
var PASTE_QR = "agents: paste the QR code above into the chat as a code block, exactly as printed; when a new one is printed, paste it and say the old one expired";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/background/processes.js
|
|
8
8
|
import { execFileSync } from "node:child_process";
|
|
9
9
|
import { readdirSync, readFileSync, readlinkSync } from "node:fs";
|
|
10
10
|
var alive = /* @__PURE__ */ __name((pid) => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/shared-5XR7K42U.js
|
|
8
8
|
var entityKind = /* @__PURE__ */ Symbol.for("drizzle:entityKind");
|
|
9
9
|
var kindsByConstructor = /* @__PURE__ */ new WeakMap();
|
|
10
10
|
function collectKinds(ctor) {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
__name
|
|
8
8
|
} from "./chunk-ZVVMGPBJ.js";
|
|
9
9
|
|
|
10
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
10
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/cli/input-policy.js
|
|
11
11
|
var MAX_BUFFERED_INPUT = 16 * 1024 * 1024;
|
|
12
12
|
var MAX_SECRET_INPUT = 64 * 1024;
|
|
13
13
|
var policies = /* @__PURE__ */ new WeakMap();
|
|
@@ -2,15 +2,15 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
QUERY_REASONS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-725OPCHI.js";
|
|
6
6
|
import {
|
|
7
7
|
readSharedSection,
|
|
8
8
|
sharedConfigPath,
|
|
9
9
|
writeSharedSection
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XGVMQMTS.js";
|
|
11
11
|
import {
|
|
12
12
|
storePath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2SQLHBDP.js";
|
|
14
14
|
import {
|
|
15
15
|
defineReasons,
|
|
16
16
|
isoTimestamp,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
__name
|
|
28
28
|
} from "./chunk-ZVVMGPBJ.js";
|
|
29
29
|
|
|
30
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
30
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/models/chat-sending.js
|
|
31
31
|
var CHAT_SENDING_MODES = ["allowed", "ask", "denied"];
|
|
32
32
|
var SECTION = "chat_sending";
|
|
33
33
|
var Setting = strictObject({
|
|
@@ -56,7 +56,7 @@ var chatSendingAllowed = /* @__PURE__ */ __name((env, host, command) => {
|
|
|
56
56
|
}, "chatSendingAllowed");
|
|
57
57
|
var chatSendingAskRefusal = /* @__PURE__ */ __name((what, command, details = {}) => new CliError("confirmation_required", `${what} \u2014 add --yes to send them (an agent may pass yes), or ask the owner to run \`${chatSendingCommand(command, "allowed")}\` so no yes is needed`, { ...details, reason: "chat-sending.ask" }), "chatSendingAskRefusal");
|
|
58
58
|
|
|
59
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
59
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/errors/sftp-reasons.js
|
|
60
60
|
var validation = /* @__PURE__ */ __name((reason, message) => [reason, "validation_error", message], "validation");
|
|
61
61
|
var SFTP = [
|
|
62
62
|
["sftp.host-key-missing", "configuration_error", "no host key is pinned for the SFTP server"],
|
|
@@ -72,7 +72,7 @@ var SFTP = [
|
|
|
72
72
|
["ssh.forward-failed", "network_error", "the SSH server could not reach the address behind it"]
|
|
73
73
|
];
|
|
74
74
|
|
|
75
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
75
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/errors/store-reasons.js
|
|
76
76
|
var STORE = [
|
|
77
77
|
validation("store.refused", "the local store refused the document text"),
|
|
78
78
|
["store.not-writable", "permission_error", "the message store cannot be written from this process"],
|
|
@@ -86,6 +86,7 @@ var STORE = [
|
|
|
86
86
|
"conflict",
|
|
87
87
|
"another program deleted or replaced the store's journal file while it was open; store recover says what to do"
|
|
88
88
|
],
|
|
89
|
+
["store.busy", "conflict", "another process held the store for longer than this command waits; run it again"],
|
|
89
90
|
validation("store.file-damaged", "the named store file is damaged or not a database"),
|
|
90
91
|
["store.unopenable", "configuration_error", "the store file cannot be opened at its path; details.path names it"],
|
|
91
92
|
[
|
|
@@ -133,7 +134,7 @@ var STORE_MIGRATION = [
|
|
|
133
134
|
]
|
|
134
135
|
];
|
|
135
136
|
|
|
136
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
137
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/errors/reasons.js
|
|
137
138
|
var QUERY = [
|
|
138
139
|
["query.aborted", "the search was stopped before it finished"],
|
|
139
140
|
["query.conflict", "two parts of the query contradict each other"],
|
|
@@ -266,6 +267,7 @@ var OTHERS = [
|
|
|
266
267
|
["enrichment.owner-only", "permission_error", "only the owner turns enrichment on, not an agent"],
|
|
267
268
|
["search-harder.owner-only", "permission_error", "only the owner allows search all --harder, not an agent"],
|
|
268
269
|
["model.offline", "permission_error", "downloading a model needs the network; --offline was requested"],
|
|
270
|
+
["domain-lists.offline", "permission_error", "updating the domain lists needs the network; --offline was requested"],
|
|
269
271
|
["model.key-rejected", "invalid_response", "the model provider refused the API key (401 or 403)"],
|
|
270
272
|
["model.unreachable", "invalid_response", "the model provider could not be reached over the network"],
|
|
271
273
|
[
|
|
@@ -787,10 +789,28 @@ var OTHERS = [
|
|
|
787
789
|
validation("identity.common-name", "more than six people have the name, so it proposes no one"),
|
|
788
790
|
validation("identity.not-a-person", "a bot, a program or an organization is never proposed as a person by name"),
|
|
789
791
|
validation("identity.owner", "one side is the owner's person, and only the owner joins anyone to themselves"),
|
|
790
|
-
["sender-bot.not-found", "not_found", "no sender bot has that id;
|
|
792
|
+
["sender-bot.not-found", "not_found", "no sender bot has that id; the bots list names them"],
|
|
791
793
|
validation("sender-bot.owner", "the owner's own person is never a bot"),
|
|
792
|
-
validation("sender-bot.not-a-person", "the
|
|
794
|
+
validation("sender-bot.not-a-person", "the identity named is a sender bot's, not a person's; name a person"),
|
|
795
|
+
validation("sender-bot.empty", "the person or bot named holds no identity to move"),
|
|
793
796
|
validation("sender-bot.assignee", "a sender bot is no one's assignee; move it to a person first"),
|
|
797
|
+
validation("sender-bot.unknown-sends", "a bot list filters by alerts, receipts, newsletters, marketing or messenger"),
|
|
798
|
+
validation("mail-sort.scope", "a sorting rule's scope is mail, list, subject, address or domain"),
|
|
799
|
+
validation("mail-sort.apply-to", "a sorting rule says whether it sorts past mail too: applyTo all or new"),
|
|
800
|
+
validation("mail-sort.value", "the value names no mail, list, subject, address or domain of that scope"),
|
|
801
|
+
validation("mail-sort.mail-type", "the mail type is not one of the known types"),
|
|
802
|
+
validation("mail-sort.sender", "a sorting rule makes a sender a bot or a person"),
|
|
803
|
+
validation("mail-sort.no-action", "a sorting rule sets a mail type, a sender or an organization"),
|
|
804
|
+
validation("mail-sort.owner-only", "only the owner moves or files senders, undoes and resets; a program removes its own rules"),
|
|
805
|
+
validation("mail-sort.sender-scope", "a sorting rule moves or files a sender at address or domain scope only"),
|
|
806
|
+
validation("mail-sort.sender-new", "a sender moves with its whole history, so an address rule that moves one applies to all"),
|
|
807
|
+
validation("mail-sort.over-addresses", "only a domain rule can beat the address rules"),
|
|
808
|
+
validation("mail-sort.free-mail-program", "only the owner sets a sorting rule on a free-mail or throwaway domain"),
|
|
809
|
+
validation("mail-sort.organization", "the organization named is not in the store"),
|
|
810
|
+
validation("mail-sort.confirm", "a free-mail domain rule needs the confirm of a dry run whose counts still hold; run the dry run again"),
|
|
811
|
+
validation("mail-sort.sender-ref", "the sender is named by an address, a person: ref or a bot: ref"),
|
|
812
|
+
["mail-sort.not-found", "not_found", "no mail sorting rule has that id; the rules list names them"],
|
|
813
|
+
["mail-sort.email", "not_found", "no incoming email has that id"],
|
|
794
814
|
validation("identity.shared-email", "more than six people share the address, so it proposes no one"),
|
|
795
815
|
validation("identity-link.dedicated-review", "an identity link is staged and decided through the people review"),
|
|
796
816
|
validation("identity-split.dedicated-review", "a split of a person is staged and decided through the people review"),
|
|
@@ -2,11 +2,11 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
LEVELS
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2HDXD6LM.js";
|
|
6
6
|
import {
|
|
7
7
|
WORD_BODY,
|
|
8
8
|
e164Of
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ROUZN6UQ.js";
|
|
10
10
|
import {
|
|
11
11
|
resolvePaths,
|
|
12
12
|
writeSecurely
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
__name
|
|
39
39
|
} from "./chunk-ZVVMGPBJ.js";
|
|
40
40
|
|
|
41
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
41
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/vcard.js
|
|
42
42
|
import { createHash } from "node:crypto";
|
|
43
43
|
var MAX_ID = 512;
|
|
44
44
|
var AS_WORD = new RegExp(`^${WORD_BODY}$`);
|
|
@@ -269,7 +269,7 @@ var envelopeOfVcard = /* @__PURE__ */ __name((text, { provider, account, batchId
|
|
|
269
269
|
};
|
|
270
270
|
}, "envelopeOfVcard");
|
|
271
271
|
|
|
272
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
272
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/domain/formatting.js
|
|
273
273
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "the messenger formatter returned invalid text spans"), "invalid");
|
|
274
274
|
var validateFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
275
275
|
const { text, spans } = formatted;
|
|
@@ -329,7 +329,7 @@ var visibleFormattedText = /* @__PURE__ */ __name((formatted) => {
|
|
|
329
329
|
};
|
|
330
330
|
}, "visibleFormattedText");
|
|
331
331
|
|
|
332
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
332
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/moderation/check.js
|
|
333
333
|
var INVITE = /max\.ru\/join\/|(t|telegram)\.me\/(\+|joinchat\/)|tg:\/\/join/i;
|
|
334
334
|
var LINK = /https?:\/\/\S+/i;
|
|
335
335
|
var STRENGTH = { report: 0, delete: 1, remove: 2 };
|
|
@@ -517,7 +517,7 @@ var nextPoint = /* @__PURE__ */ __name((rows, found) => {
|
|
|
517
517
|
}, "nextPoint");
|
|
518
518
|
var someUndone = /* @__PURE__ */ __name((rows) => rows.some(undone), "someUndone");
|
|
519
519
|
|
|
520
|
-
// node_modules/.pnpm/@wirecat+cli-core@
|
|
520
|
+
// node_modules/.pnpm/@wirecat+cli-core@2.0.0_@wirecat+cli-base@1.0.0_commander@15.0.0_esbuild@0.28.2_typescr_a82f624c57005d53c3f072e45c3a3a86/node_modules/@wirecat/cli-core/dist/moderation/rules.js
|
|
521
521
|
import { existsSync, readdirSync, readFileSync } from "node:fs";
|
|
522
522
|
import { join } from "node:path";
|
|
523
523
|
var RULE_ACTIONS = ["report", "delete", "remove"];
|