@wirecat/mail-cli 0.11.0 → 0.13.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 +28 -0
- package/dist/bin/mail.js +6 -2
- package/dist/bundle/{all-profiles-OJPRIFKU.js → all-profiles-EEOMFTKE.js} +9 -9
- package/dist/bundle/{anthropic-3AXHD4WH.js → anthropic-FPSVNB3F.js} +6 -6
- package/dist/bundle/{app-server-V4KHCUGE.js → app-server-3T6UVR7B.js} +47 -45
- package/dist/bundle/{bun-ISYNUTQJ.js → bun-MSNAKMDK.js} +2 -2
- package/dist/bundle/{bun-sqlite-FH3D4AXL.js → bun-sqlite-GIBBI5DV.js} +5 -5
- package/dist/bundle/{chunk-TTKNBUMT.js → chunk-2Y3RKROM.js} +13 -3
- package/dist/bundle/{chunk-UDJIC6YL.js → chunk-3BC2XSNX.js} +33 -28
- package/dist/bundle/{chunk-OHC4GVWV.js → chunk-3CBK26T2.js} +2 -2
- package/dist/bundle/{chunk-QB54TE52.js → chunk-3QEYHTCQ.js} +1 -1
- package/dist/bundle/{chunk-T3AGR4TI.js → chunk-5XTJUQZ5.js} +667 -160
- package/dist/bundle/{chunk-IG2WXKIT.js → chunk-6KDFUPBT.js} +8 -8
- package/dist/bundle/{chunk-GUFWLTOW.js → chunk-6O6CM2ML.js} +2 -2
- package/dist/bundle/{chunk-MDIRW3AT.js → chunk-72CGQMAZ.js} +2 -2
- package/dist/bundle/{chunk-FYMQPAE5.js → chunk-7CSK47S2.js} +4 -4
- package/dist/bundle/{chunk-IWHXM2S7.js → chunk-7D7AKYQ2.js} +625 -298
- package/dist/bundle/{chunk-XTIQFMZH.js → chunk-7FCPLSSM.js} +4 -4
- package/dist/bundle/{chunk-V6K2GX2Y.js → chunk-7L26RKOS.js} +17 -17
- package/dist/bundle/{chunk-G2WDY5XB.js → chunk-AXWTELO4.js} +2 -2
- package/dist/bundle/{chunk-N6P55LDU.js → chunk-BZBNBPCR.js} +10 -10
- package/dist/bundle/{chunk-4DPICEPQ.js → chunk-CCHHEMPM.js} +2 -2
- package/dist/bundle/{chunk-F3QDSQ7V.js → chunk-CJPEL2N5.js} +27 -26
- package/dist/bundle/{chunk-IS6KAUSG.js → chunk-CSJYZEFR.js} +2 -2
- package/dist/bundle/{chunk-6UT3MXOB.js → chunk-EFA7FRFJ.js} +3 -3
- package/dist/bundle/{chunk-JIIEJLAX.js → chunk-EW3XTUPB.js} +4 -4
- package/dist/bundle/{chunk-SW5NVASW.js → chunk-FVZST7ZH.js} +9 -9
- package/dist/bundle/{chunk-X37KLD23.js → chunk-GIZILLRJ.js} +12 -12
- package/dist/bundle/{chunk-GFCNSU3B.js → chunk-GQGJV53E.js} +176 -47
- package/dist/bundle/{chunk-KJP2B65C.js → chunk-H3XWM2VA.js} +29 -28
- package/dist/bundle/{chunk-VEXXVLBM.js → chunk-H5XCD6OG.js} +3 -3
- package/dist/bundle/{chunk-L3PVAY3M.js → chunk-H6Y2A4JA.js} +2 -2
- package/dist/bundle/{chunk-K2F7YMMM.js → chunk-HANGU5HI.js} +8 -13
- package/dist/bundle/{chunk-HVVLSCFB.js → chunk-IGSHWMWC.js} +1 -1
- package/dist/bundle/{chunk-JNUKTAMZ.js → chunk-ILHTNOIV.js} +1 -1
- package/dist/bundle/{chunk-6LNRNQHJ.js → chunk-JBLZ5XQG.js} +6 -4
- package/dist/bundle/{chunk-IXYKM7OJ.js → chunk-JYZCISN7.js} +13 -13
- package/dist/bundle/{chunk-44LVUMS2.js → chunk-LO66SLGD.js} +1 -1
- package/dist/bundle/{chunk-NSDOYHIS.js → chunk-M7JREJFC.js} +8 -8
- package/dist/bundle/{chunk-2TTCKOQ7.js → chunk-MBWVZINS.js} +2 -2
- package/dist/bundle/{chunk-LXHLQ6RK.js → chunk-NHVOJHHD.js} +7 -9
- package/dist/bundle/{chunk-QPQSMJBW.js → chunk-OHDDGTCH.js} +10 -10
- package/dist/bundle/{chunk-GYNHU56E.js → chunk-OHFSAYZG.js} +4 -4
- package/dist/bundle/{chunk-TZGQPTZ2.js → chunk-PQLBPYJR.js} +1 -1
- package/dist/bundle/{chunk-PLPSFJO6.js → chunk-SOCALLW5.js} +6 -6
- package/dist/bundle/{chunk-LIQ5LICB.js → chunk-TBG3FRS6.js} +3 -3
- package/dist/bundle/{chunk-AJ4JS2ZR.js → chunk-UFWCJUGA.js} +8 -7
- package/dist/bundle/{chunk-4D52FA34.js → chunk-UGXTDYUY.js} +1 -1
- package/dist/bundle/{chunk-YDUES6ET.js → chunk-URC4ATBD.js} +4 -4
- package/dist/bundle/{chunk-SYBMOE6F.js → chunk-UUBAWUUI.js} +5526 -4503
- package/dist/bundle/chunk-V25TCQ3Z.js +34 -0
- package/dist/bundle/{chunk-PSXAC6OO.js → chunk-VD5UJUNR.js} +1 -1
- package/dist/bundle/{chunk-KVN4RY7E.js → chunk-VMLGER4M.js} +311 -139
- package/dist/bundle/{chunk-6QNPJSRM.js → chunk-VNBQHV5H.js} +6 -6
- package/dist/bundle/{chunk-YRZ23RCS.js → chunk-VNXCWZDW.js} +7 -7
- package/dist/bundle/{chunk-DN54W657.js → chunk-VSHQITKC.js} +4 -4
- package/dist/bundle/{chunk-4GPPRLIG.js → chunk-WBI7J5B7.js} +5 -5
- package/dist/bundle/{chunk-NBQQ2ZTF.js → chunk-XLCFCOT4.js} +14 -14
- package/dist/bundle/{chunk-WL7CYT7O.js → chunk-XPBRNJ2V.js} +1 -1
- package/dist/bundle/{chunk-S64N24ON.js → chunk-XV66LQXV.js} +3 -3
- package/dist/bundle/{chunk-JAWJZTFL.js → chunk-Y2O3DACO.js} +18 -18
- package/dist/bundle/{chunk-BYQ3Z6UL.js → chunk-YHSXNUFQ.js} +3 -3
- package/dist/bundle/{chunk-GAIVTJ3E.js → chunk-YMNF4QLY.js} +24 -23
- package/dist/bundle/{chunk-35Y3INBK.js → chunk-ZSS22YHM.js} +2 -2
- package/dist/bundle/{chunk-5TACUBRJ.js → chunk-ZXLJ5EKZ.js} +8 -8
- package/dist/bundle/command-contract-6QSZ5QHQ.js +33 -0
- package/dist/bundle/{decode-FM4C2WWG.js → decode-YRTMNHC6.js} +5 -5
- package/dist/bundle/{dispatch-K3HG4RYT.js → dispatch-BCS2RDF4.js} +8 -8
- package/dist/bundle/{dist-7LNVI7VB.js → dist-NOBSXRL2.js} +13 -13
- package/dist/bundle/{echarts-5C2A72XM.js → echarts-5UKZVIF6.js} +2 -2
- package/dist/bundle/{embed-N56P6YVY.js → embed-G62XY6BJ.js} +6 -6
- package/dist/bundle/{embedder-QLYKFLOL.js → embedder-SCHGLA74.js} +9 -9
- package/dist/bundle/{failure-5ZLVZTRU.js → failure-N5S6ZS62.js} +2 -2
- package/dist/bundle/{first-run-VMF4PJ7Q.js → first-run-DPF2BBQN.js} +11 -11
- package/dist/bundle/first-screen-4MRKF6RQ.js +31 -0
- package/dist/bundle/{instructions-QA5FHDOJ.js → instructions-7RP5OKLE.js} +1 -1
- package/dist/bundle/mail.js +12 -12
- package/dist/bundle/{mcp-LO2XDBBC.js → mcp-MNI62HHE.js} +2 -2
- package/dist/bundle/{node-OXJZWUYZ.js → node-ENCKD6SS.js} +2 -2
- package/dist/bundle/{node-sqlite-7GCEI67B.js → node-sqlite-4ICXMPYY.js} +11 -5
- package/dist/bundle/{oauth-VTPIYBTP.js → oauth-CX2WYMGN.js} +7 -7
- package/dist/bundle/{open-7XX3YF2X.js → open-HQZYHMVE.js} +5 -4
- package/dist/bundle/{openai-D3KRCXSY.js → openai-3ONJIA3F.js} +14 -14
- package/dist/bundle/{process-KFI7SXQD.js → process-OK3HRPMD.js} +1 -1
- package/dist/bundle/{program-INCGQV4G.js → program-FLKUE6LL.js} +2125 -866
- package/dist/bundle/{prompt-TBZT3APW.js → prompt-ZWKUQ42Y.js} +5 -5
- package/dist/bundle/{recognize-WQSE5ZPL.js → recognize-PHDYO6DC.js} +4 -4
- package/dist/bundle/{remote-J5HHRNVQ.js → remote-4CX7GFMU.js} +7 -7
- package/dist/bundle/{rerank-DP2Y3WDT.js → rerank-ZCZTGXDQ.js} +7 -7
- package/dist/bundle/{serve-VXPOQDQO.js → serve-3LBS7CPR.js} +11 -10
- package/dist/bundle/{server-OSBNGA2F.js → server-2BKI2OQP.js} +38 -37
- package/dist/bundle/server-X5F7VD2E.js +63 -0
- package/dist/bundle/{sqlite-runtime-XY32WOIT.js → sqlite-runtime-J5T7SR5W.js} +6 -5
- package/dist/bundle/{state-KPOPMR6O.js → state-TIRNYVEL.js} +6 -6
- package/dist/bundle/{store-FWRGNGP3.js → store-F7ZXMIAP.js} +29 -18
- package/dist/bundle/{store-UBI2YCRC.js → store-NGE2E7KZ.js} +16 -13
- package/dist/bundle/store-maintenance-command-QZV76KAH.js +53 -0
- package/dist/commands/session.js +1 -1
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/status.d.ts.map +1 -1
- package/dist/commands/status.js +12 -7
- package/dist/commands/status.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/bundle/command-contract-TW44FY47.js +0 -33
- package/dist/bundle/first-screen-ZN7ODW5K.js +0 -31
- package/dist/bundle/server-XHWSCXVX.js +0 -62
- package/dist/bundle/store-maintenance-command-3ZXPEIGF.js +0 -52
- /package/dist/bundle/{chunk-MRLSUCHT.js → chunk-NUN6OGOV.js} +0 -0
|
@@ -2,26 +2,26 @@ 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-BZBNBPCR.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-H6Y2A4JA.js";
|
|
9
9
|
import {
|
|
10
10
|
indent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y2O3DACO.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CCHHEMPM.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/checks.js
|
|
20
20
|
var spelled = /* @__PURE__ */ __name((check, args) => `${check.replaceAll(".", " ")}${args === void 0 ? "" : ` ${args}`}`, "spelled");
|
|
21
21
|
var bareCheck = /* @__PURE__ */ __name((check, args) => `\`${spelled(check, args)}\``, "bareCheck");
|
|
22
22
|
var checkWords = /* @__PURE__ */ __name((command, profile) => (check, args) => `\`${command} ${profile === void 0 ? "" : `${profile} `}${spelled(check, args)}\``, "checkWords");
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
25
25
|
var MARKERS = [
|
|
26
26
|
["**", "bold"],
|
|
27
27
|
["~~", "strike"],
|
|
@@ -67,7 +67,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
67
67
|
return end;
|
|
68
68
|
}, "closing");
|
|
69
69
|
|
|
70
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
71
71
|
var STYLES = [
|
|
72
72
|
["**", "bold"],
|
|
73
73
|
["__", "underline"],
|
|
@@ -227,7 +227,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
227
227
|
return validateFormattedText(result);
|
|
228
228
|
}, "parseMarkdownSpans");
|
|
229
229
|
|
|
230
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
231
231
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
232
232
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
233
233
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1876,7 +1876,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1876
1876
|
var qrcode_default = qrcode;
|
|
1877
1877
|
var stringToBytes = qrcode.stringToBytes;
|
|
1878
1878
|
|
|
1879
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1880
1880
|
var QUIET_ZONE = 4;
|
|
1881
1881
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1882
1882
|
var RESET = "\x1B[0m";
|
|
@@ -1923,7 +1923,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1923
1923
|
return lines.join("\n");
|
|
1924
1924
|
}, "plainQr");
|
|
1925
1925
|
|
|
1926
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1927
1927
|
var MARGIN = 2;
|
|
1928
1928
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1929
1929
|
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";
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
readLock,
|
|
6
6
|
releaseLock,
|
|
7
7
|
takeLock
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YHSXNUFQ.js";
|
|
9
9
|
import {
|
|
10
10
|
__name
|
|
11
11
|
} from "./chunk-ZVVMGPBJ.js";
|
|
12
12
|
|
|
13
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
13
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
14
14
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "node:fs";
|
|
15
15
|
|
|
16
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
16
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/http/activity.js
|
|
17
17
|
import { randomBytes } from "node:crypto";
|
|
18
18
|
import { chmodSync, existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname } from "node:path";
|
|
@@ -86,7 +86,7 @@ var activityRecorder = /* @__PURE__ */ __name((path, now = Date.now) => {
|
|
|
86
86
|
};
|
|
87
87
|
}, "activityRecorder");
|
|
88
88
|
|
|
89
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
89
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/http/state.js
|
|
90
90
|
var ACCESS_SECONDS = 60 * 60;
|
|
91
91
|
var REFRESH_SECONDS = 30 * 24 * 60 * 60;
|
|
92
92
|
var readStored = /* @__PURE__ */ __name((path) => existsSync2(path) ? JSON.parse(readFileSync2(path, "utf8")) : { clients: [], tokens: [] }, "readStored");
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/executable.js
|
|
8
8
|
import { existsSync } from "node:fs";
|
|
9
9
|
import { win32 } from "node:path";
|
|
10
10
|
var variable = /* @__PURE__ */ __name((env, name) => Object.entries(env).find(([key]) => key.toUpperCase() === name)?.[1], "variable");
|
|
@@ -2,23 +2,23 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
storePath
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-72CGQMAZ.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y2O3DACO.js";
|
|
9
9
|
import {
|
|
10
10
|
CliError,
|
|
11
11
|
singleLine
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CCHHEMPM.js";
|
|
13
13
|
import {
|
|
14
14
|
__name
|
|
15
15
|
} from "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
|
|
17
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
17
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
18
18
|
import { mkdirSync, readFileSync, renameSync, statSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, join, resolve } from "node:path";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/domain/task-categories.js
|
|
22
22
|
var DEFAULT_TASK_CATEGORIES = [
|
|
23
23
|
{
|
|
24
24
|
name: "taxes",
|
|
@@ -773,7 +773,7 @@ var storedTaskCategories = /* @__PURE__ */ __name((json) => {
|
|
|
773
773
|
}
|
|
774
774
|
}, "storedTaskCategories");
|
|
775
775
|
|
|
776
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/store/shared-config.js
|
|
777
777
|
var SECTION = "task_categories";
|
|
778
778
|
var sharedConfigPath = /* @__PURE__ */ __name((store, env = process.env) => {
|
|
779
779
|
const paths = resolvePaths({ appName: "WireCat", prefix: "WIRECAT", env });
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
MAX_SECRET_INPUT,
|
|
5
5
|
bufferedInput,
|
|
6
6
|
inputPolicy
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-H6Y2A4JA.js";
|
|
8
8
|
import {
|
|
9
9
|
CliError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CCHHEMPM.js";
|
|
11
11
|
import {
|
|
12
12
|
__name
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/terminal/prompt.js
|
|
16
16
|
import { createInterface } from "node:readline";
|
|
17
17
|
import { Writable } from "node:stream";
|
|
18
18
|
var readSecret = /* @__PURE__ */ __name(async (prompt, { input = process.stdin, output = process.stderr, echo = false, signal: givenSignal } = {}) => {
|
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
fieldsOf,
|
|
6
6
|
processStreams,
|
|
7
7
|
projectFields
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Y2O3DACO.js";
|
|
9
9
|
import {
|
|
10
10
|
COMPACT_FLAG
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M7JREJFC.js";
|
|
12
12
|
import {
|
|
13
13
|
CliError,
|
|
14
14
|
singleLine
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CCHHEMPM.js";
|
|
16
16
|
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.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/sends/permissions.js
|
|
21
21
|
var LEVELS = ["deny", "readonly", "ask", "allow"];
|
|
22
22
|
var DANGEROUS = /* @__PURE__ */ new Set(["messages.delete", "bot.messages.delete", "topics.delete", "chats.delete", "chats.clear"]);
|
|
23
23
|
var skipFlagFor = /* @__PURE__ */ __name((key) => DANGEROUS.has(key) ? "--allow-dangerous" : "--yes", "skipFlagFor");
|
|
@@ -263,6 +263,7 @@ var NAMED_WRITE_KEYS = [
|
|
|
263
263
|
"mentions.reject",
|
|
264
264
|
"tags.add",
|
|
265
265
|
"tags.remove",
|
|
266
|
+
"tasks.acknowledge",
|
|
266
267
|
"tasks.add",
|
|
267
268
|
"tasks.claim",
|
|
268
269
|
"tasks.close",
|
|
@@ -412,7 +413,7 @@ var assertRetentionEvidenceRead = /* @__PURE__ */ __name((permissions) => {
|
|
|
412
413
|
}
|
|
413
414
|
}, "assertRetentionEvidenceRead");
|
|
414
415
|
|
|
415
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/cli/result-fields.js
|
|
416
417
|
var named = /* @__PURE__ */ __name((work) => {
|
|
417
418
|
try {
|
|
418
419
|
return work();
|
|
@@ -439,7 +440,7 @@ var projectFields2 = /* @__PURE__ */ __name((value, fields) => named(() => {
|
|
|
439
440
|
return projectFields(value, fields);
|
|
440
441
|
}), "projectFields");
|
|
441
442
|
|
|
442
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
443
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/output-detail.js
|
|
443
444
|
var RARELY_SET = ["editedAt", "replyTo", "forwardedFrom", "reactions"];
|
|
444
445
|
var BRIEF = ["locator", "chatTitle", "timestamp", "senderName", "excerpt", "score"];
|
|
445
446
|
var SNAKE_BRIEF = ["ref", "chat_title", "timestamp", "sender_name", "excerpt", "score"];
|
|
@@ -475,7 +476,7 @@ var atDetail = /* @__PURE__ */ __name((value, detail = "default") => {
|
|
|
475
476
|
return value;
|
|
476
477
|
}, "atDetail");
|
|
477
478
|
|
|
478
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/output.js
|
|
479
480
|
var refuseCompact = /* @__PURE__ */ __name(({ json, jsonl, fields, hitDetail }) => {
|
|
480
481
|
const other = jsonl ? "--jsonl" : fields !== void 0 ? "--json=\u2026" : json ? "--json" : hitDetail === "brief" ? "--brief" : "";
|
|
481
482
|
if (other)
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/mcp/stdio-wire.js
|
|
8
8
|
import { PassThrough, Writable } from "node:stream";
|
|
9
9
|
var lineReader = /* @__PURE__ */ __name((onMessage) => {
|
|
10
10
|
let rest = "";
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
strictObject,
|
|
19
19
|
string,
|
|
20
20
|
unknown
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M7JREJFC.js";
|
|
22
22
|
|
|
23
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
23
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/fields.js
|
|
24
24
|
var text = string();
|
|
25
25
|
var id = pipe(string(), minLength(1));
|
|
26
26
|
var time = isoTime;
|
|
@@ -44,7 +44,7 @@ var author = strictObject({
|
|
|
44
44
|
name: nullable(text)
|
|
45
45
|
});
|
|
46
46
|
|
|
47
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
47
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/knowledge-lists.js
|
|
48
48
|
var organization = strictObject({
|
|
49
49
|
id,
|
|
50
50
|
ref: reference,
|
|
@@ -74,7 +74,7 @@ var reminder = strictObject({
|
|
|
74
74
|
receipt: nullable(text)
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
77
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.556.0_@wirecat+cli-base@0.75.0_commander@15.0.0_esbuild@0.28.2_type_5fb5e28714725a9ac5c32d6d19d5eccc/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
78
78
|
var link = {
|
|
79
79
|
target_text: nullable(text),
|
|
80
80
|
kind: text,
|