@wirecat/mail-cli 0.19.0 → 0.21.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 +17 -0
- package/dist/bin/mail.js +2 -2
- package/dist/bundle/{all-profiles-MRNWJSXX.js → all-profiles-DTUWUCQQ.js} +7 -6
- package/dist/bundle/{anthropic-OUV5B4ZR.js → anthropic-YJAEQSNT.js} +3 -3
- package/dist/bundle/{app-server-TLZPGT53.js → app-server-3ZXSTBA3.js} +41 -40
- package/dist/bundle/{bun-IDEPIM6S.js → bun-34VBM7C5.js} +2 -2
- package/dist/bundle/{bun-sqlite-DW4XMJOP.js → bun-sqlite-GCT7ROCK.js} +2 -2
- package/dist/bundle/{chunk-ETZFPIDO.js → chunk-2PPEDB67.js} +31 -29
- package/dist/bundle/{chunk-HUOAAQU7.js → chunk-3DSYLE5N.js} +2 -2
- package/dist/bundle/{chunk-RYRR5NFB.js → chunk-3HDQVTND.js} +4 -4
- package/dist/bundle/{chunk-H3KB77WL.js → chunk-4FWJNIPH.js} +1 -1
- package/dist/bundle/{chunk-NA63ZIYN.js → chunk-4WIEVQ2Q.js} +8 -14
- package/dist/bundle/{chunk-EWXCMKLM.js → chunk-566MEXK5.js} +2 -2
- package/dist/bundle/{chunk-GZAETQ6X.js → chunk-72N26BQM.js} +24 -22
- package/dist/bundle/{chunk-DC6BXHWF.js → chunk-7XLOWYGD.js} +93 -6
- package/dist/bundle/{chunk-RYE5SRUM.js → chunk-AF62BPIW.js} +5 -5
- package/dist/bundle/{chunk-GAPH7GET.js → chunk-B74SOC4R.js} +9 -20
- package/dist/bundle/{chunk-BQM4ROFB.js → chunk-FTI73RLC.js} +2 -2
- package/dist/bundle/{chunk-OUMXW53I.js → chunk-GAPQENMY.js} +2 -2
- package/dist/bundle/{chunk-4EMXLDQ6.js → chunk-HJ2CXDKJ.js} +130 -11
- package/dist/bundle/{chunk-2ZDKZGES.js → chunk-HN43G27G.js} +30 -22
- package/dist/bundle/{chunk-VVHEB3M3.js → chunk-HRRSTIGP.js} +4 -4
- package/dist/bundle/{chunk-QC6QDORL.js → chunk-HSBGNVEL.js} +202 -171
- package/dist/bundle/{chunk-CQVRBZGP.js → chunk-I2SDXWLR.js} +173 -48
- package/dist/bundle/{chunk-3CJVUCDZ.js → chunk-J2U6LUT5.js} +3 -3
- package/dist/bundle/{chunk-WJQWEKZL.js → chunk-J4UZXBEV.js} +1 -1
- package/dist/bundle/{chunk-57KFWOMH.js → chunk-KMQAHDBM.js} +7170 -13496
- package/dist/bundle/{chunk-7H45FPAT.js → chunk-LF5XM4HE.js} +1 -1
- package/dist/bundle/chunk-LTXYJAJK.js +12211 -0
- package/dist/bundle/{chunk-YJMQWOPH.js → chunk-MD64ITYO.js} +1 -1
- package/dist/bundle/{chunk-WELIANTW.js → chunk-MDDB7M7Z.js} +1 -1
- package/dist/bundle/{chunk-ZXQDJMWD.js → chunk-NOVBK4SY.js} +12 -12
- package/dist/bundle/{chunk-YL5WH6XH.js → chunk-O3M2S62X.js} +3 -3
- package/dist/bundle/{chunk-H4MWBB4X.js → chunk-ODFHIXMA.js} +1 -1
- package/dist/bundle/{chunk-HCRMPNSO.js → chunk-OKO2Q6H6.js} +2 -2
- package/dist/bundle/{chunk-FBSDRNW5.js → chunk-P2QJA7S5.js} +1 -1
- package/dist/bundle/{chunk-VIXEQPVE.js → chunk-P6FT6YYT.js} +17 -14
- package/dist/bundle/{chunk-QU3JH3GB.js → chunk-QE72KTS7.js} +1 -1
- package/dist/bundle/{chunk-W3PU5XGE.js → chunk-QPRXTLMD.js} +1 -1
- package/dist/bundle/{chunk-EQWYG3QN.js → chunk-QTMVGOSF.js} +298 -266
- package/dist/bundle/{chunk-HTNWOOA2.js → chunk-R3WPMQYZ.js} +105 -61
- package/dist/bundle/{chunk-SOZXI7I3.js → chunk-RFB27ACZ.js} +2 -2
- package/dist/bundle/{chunk-P2RSKCY4.js → chunk-RPCKBXKN.js} +1 -1
- package/dist/bundle/{chunk-QXZTVB5I.js → chunk-RT6SLZBI.js} +1 -1
- package/dist/bundle/{chunk-TX2TTMK4.js → chunk-RY7PBP4F.js} +45 -29
- package/dist/bundle/{chunk-7ERCJWNL.js → chunk-SCIC2CJS.js} +4 -4
- package/dist/bundle/{chunk-33BOFLDQ.js → chunk-SFC46MP2.js} +249 -8
- package/dist/bundle/chunk-SYEICLTR.js +66 -0
- package/dist/bundle/{chunk-HOGJNJ3T.js → chunk-T3DTYJTG.js} +1 -1
- package/dist/bundle/{chunk-NBHMSEN4.js → chunk-T4FVIPUJ.js} +1 -1
- package/dist/bundle/{chunk-MQISDBH2.js → chunk-TCCN5TON.js} +1 -1
- package/dist/bundle/{chunk-KO2DA7CN.js → chunk-V6OIIVH3.js} +10 -10
- package/dist/bundle/{chunk-A5A6MPIX.js → chunk-VDUGE6TH.js} +2 -2
- package/dist/bundle/{chunk-LCP2DMBD.js → chunk-VINSQR4X.js} +7 -7
- package/dist/bundle/{chunk-42QY6DIG.js → chunk-VQZCIDSO.js} +2 -2
- package/dist/bundle/{chunk-OYYEY3UE.js → chunk-WBAA2X3E.js} +9 -9
- package/dist/bundle/{chunk-2WORM2E3.js → chunk-Z75WYAX6.js} +6 -6
- package/dist/bundle/{chunk-POWHDZIC.js → chunk-Z7N4MGOQ.js} +5 -5
- package/dist/bundle/{chunk-R2ETE3SX.js → chunk-ZKLXSVIO.js} +1 -1
- package/dist/bundle/{chunk-OBSV2GUJ.js → chunk-ZZSHGCRC.js} +3 -3
- package/dist/bundle/{command-contract-36ASI4YI.js → command-contract-Y4ZQAJEC.js} +14 -13
- package/dist/bundle/{decode-Z37HTJ53.js → decode-BIOOL5E4.js} +2 -2
- package/dist/bundle/{dist-E3UUAOWA.js → dist-TJVIRLE5.js} +77 -17
- package/dist/bundle/{echarts-TSRD7GVA.js → echarts-ECPGMKXO.js} +2 -2
- package/dist/bundle/{embed-Z5GZUUCK.js → embed-F7JFSLHN.js} +3 -3
- package/dist/bundle/{embedder-SYWZ6JW2.js → embedder-U4G74HV3.js} +6 -6
- package/dist/bundle/{first-run-I5GMVVX5.js → first-run-JTYPUYQP.js} +5 -5
- package/dist/bundle/first-screen-W6RWTAU7.js +33 -0
- package/dist/bundle/{instructions-IMW3LWMS.js → instructions-WNCGZ7OJ.js} +1 -1
- package/dist/bundle/mail.js +2 -2
- package/dist/bundle/{node-V6SRRJ2F.js → node-UIRGGMGT.js} +2 -2
- package/dist/bundle/{node-sqlite-HN2P6PY2.js → node-sqlite-4ZM7OPRF.js} +3 -3
- package/dist/bundle/{oauth-7FIIKNXY.js → oauth-5RAJZPBW.js} +4 -4
- package/dist/bundle/{open-6XPAHITO.js → open-7ORCHOAI.js} +2 -2
- package/dist/bundle/{openai-B5MSVUDL.js → openai-XSJNXJA7.js} +10 -10
- package/dist/bundle/{process-LNEAZMJV.js → process-ZLO72UVZ.js} +1 -1
- package/dist/bundle/{program-BDB3D2HE.js → program-LBLGFZWU.js} +1733 -1654
- package/dist/bundle/{prompt-ZXS7F7OS.js → prompt-IDUPCUGM.js} +2 -2
- package/dist/bundle/{recognize-ONHYBE77.js → recognize-OS3EZKIM.js} +1 -1
- package/dist/bundle/{remote-IBZTKGBQ.js → remote-PF4LZR65.js} +4 -4
- package/dist/bundle/{rerank-TWODAEGK.js → rerank-CQNZF3JI.js} +4 -4
- package/dist/bundle/{serve-PPJIP254.js → serve-Y2DDLGBT.js} +6 -6
- package/dist/bundle/server-I3IALQMC.js +65 -0
- package/dist/bundle/{server-VG7EAG5C.js → server-TVRT7YEY.js} +33 -32
- package/dist/bundle/{sqlite-runtime-JZFSB33U.js → sqlite-runtime-5343C3OE.js} +3 -3
- package/dist/bundle/{state-2FUXS6RU.js → state-4GBTMPIV.js} +3 -3
- package/dist/bundle/{store-VURW3NE7.js → store-OLBLTQPT.js} +44 -13
- package/dist/bundle/{store-PYAP6NYK.js → store-QA6QJ5BB.js} +20 -11
- package/dist/bundle/store-maintenance-command-LB6CMGP4.js +55 -0
- package/dist/commands/send.d.ts +1 -0
- package/dist/commands/send.d.ts.map +1 -1
- package/dist/commands/send.js +10 -2
- package/dist/commands/send.js.map +1 -1
- package/dist/mail/compose.d.ts +2 -0
- package/dist/mail/compose.d.ts.map +1 -1
- package/dist/mail/compose.js +1 -0
- package/dist/mail/compose.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/mail-cli/SKILL.md +2 -1
- package/dist/bundle/chunk-IRY3ZFPW.js +0 -656
- package/dist/bundle/first-screen-R3LHPHU3.js +0 -32
- package/dist/bundle/server-JBV7NTAA.js +0 -64
- package/dist/bundle/store-maintenance-command-EHWGMBEA.js +0 -54
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to `@wirecat/mail-cli`. One section per version, newest first.
|
|
4
4
|
|
|
5
|
+
## 0.21.0 — 08.11.2026
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- **`messages send --html` sends an HTML message.** The text (argument or stdin) is HTML; the plain-text alternative
|
|
10
|
+
is made from it, and the mail goes as `multipart/alternative`. The answer gives `html_chars`. A reply keeps plain
|
|
11
|
+
text: `--html` with `--reply-to` is refused.
|
|
12
|
+
|
|
13
|
+
## 0.20.0 — 08.11.2026
|
|
14
|
+
|
|
15
|
+
### Changed — may break callers
|
|
16
|
+
|
|
17
|
+
- **mail runs on cli-core 0.608.0, and the shared store moves to version 57.** A WireCat tool on a cli-core older
|
|
18
|
+
than 0.606.0 then refuses the store and asks to be upgraded, so update every WireCat CLI together. A CRM's deal and
|
|
19
|
+
lead people are stored as reported, not confirmed by the owner, and `config set` takes
|
|
20
|
+
`crm.<provider>:<account>.links` and `crm.<provider>:<account>.company-types`.
|
|
21
|
+
|
|
5
22
|
## 0.19.0 — 08.11.2026
|
|
6
23
|
|
|
7
24
|
### Added
|
package/dist/bin/mail.js
CHANGED
|
@@ -9,7 +9,7 @@ if (
|
|
|
9
9
|
(words[0] === "--version" || words[0] === "-V") &&
|
|
10
10
|
!Object.keys(process.env).some((key) => key.endsWith("_TEST_ARGV_LOG"))
|
|
11
11
|
) {
|
|
12
|
-
process.stdout.write("0.
|
|
12
|
+
process.stdout.write("0.21.0\n")
|
|
13
13
|
} else {
|
|
14
14
|
// Before the bundle compiles: the bundle's own call comes after its chunks.
|
|
15
15
|
module.enableCompileCache()
|
|
@@ -28,7 +28,7 @@ if (
|
|
|
28
28
|
: next(specifier, context),
|
|
29
29
|
})
|
|
30
30
|
}
|
|
31
|
-
const chunks = ["../bundle/all-profiles-
|
|
31
|
+
const chunks = ["../bundle/all-profiles-DTUWUCQQ.js","../bundle/anthropic-YJAEQSNT.js","../bundle/app-server-3ZXSTBA3.js","../bundle/bun-34VBM7C5.js","../bundle/bun-sqlite-GCT7ROCK.js","../bundle/decode-BIOOL5E4.js","../bundle/dispatch-R5OF2FVZ.js","../bundle/dist-HFUVURJG.js","../bundle/dist-TJVIRLE5.js","../bundle/echarts-ECPGMKXO.js","../bundle/embed-F7JFSLHN.js","../bundle/embedder-U4G74HV3.js","../bundle/failure-WYKVF6RH.js","../bundle/first-screen-W6RWTAU7.js","../bundle/instructions-WNCGZ7OJ.js","../bundle/mcp-CFVG2OUS.js","../bundle/node-KM3CUABH.js","../bundle/node-TLZSIHIJ.js","../bundle/node-UIRGGMGT.js","../bundle/node-sqlite-4ZM7OPRF.js","../bundle/oauth-5RAJZPBW.js","../bundle/open-7ORCHOAI.js","../bundle/openai-XSJNXJA7.js","../bundle/process-ZLO72UVZ.js","../bundle/program-LBLGFZWU.js","../bundle/prompt-IDUPCUGM.js","../bundle/recognize-OS3EZKIM.js","../bundle/remote-PF4LZR65.js","../bundle/rerank-CQNZF3JI.js","../bundle/serve-Y2DDLGBT.js","../bundle/server-I3IALQMC.js","../bundle/server-TVRT7YEY.js","../bundle/sqlite-runtime-5343C3OE.js","../bundle/state-4GBTMPIV.js","../bundle/store-OLBLTQPT.js","../bundle/store-QA6QJ5BB.js","../bundle/store-maintenance-command-LB6CMGP4.js"]
|
|
32
32
|
if (((words) => words
|
|
33
33
|
.filter((word) => !word.startsWith("-"))
|
|
34
34
|
.slice(0, 2)
|
|
@@ -2,19 +2,20 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
answeredWire
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QE72KTS7.js";
|
|
6
6
|
import {
|
|
7
7
|
CALLER_META_KEY,
|
|
8
8
|
PROXY_CLIENT_NAME,
|
|
9
9
|
StdioServerTransport,
|
|
10
10
|
callerOf,
|
|
11
11
|
serveStdio
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FTI73RLC.js";
|
|
13
13
|
import {
|
|
14
14
|
McpServer
|
|
15
15
|
} from "./chunk-5D4AEUVA.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-B74SOC4R.js";
|
|
17
|
+
import "./chunk-SYEICLTR.js";
|
|
18
|
+
import "./chunk-4FWJNIPH.js";
|
|
18
19
|
import "./chunk-QZLK2ISN.js";
|
|
19
20
|
import "./chunk-BMV56JCL.js";
|
|
20
21
|
import "./chunk-BHNBWFT5.js";
|
|
@@ -24,7 +25,7 @@ import {
|
|
|
24
25
|
__name
|
|
25
26
|
} from "./chunk-ZVVMGPBJ.js";
|
|
26
27
|
|
|
27
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/all-profiles.js
|
|
28
29
|
import { spawn } from "node:child_process";
|
|
29
30
|
import { randomUUID } from "node:crypto";
|
|
30
31
|
var PROTOCOL = "2025-06-18";
|
|
@@ -258,7 +259,7 @@ var serveAllProfilesOverStdio = /* @__PURE__ */ __name(async (options, io = {})
|
|
|
258
259
|
}, "serveAllProfilesOverStdio");
|
|
259
260
|
var serveAllProfilesOverHttp = /* @__PURE__ */ __name(async (options, http) => {
|
|
260
261
|
const { build, close } = allProfilesServer(options);
|
|
261
|
-
const { serveOverHttp } = await import("./serve-
|
|
262
|
+
const { serveOverHttp } = await import("./serve-Y2DDLGBT.js");
|
|
262
263
|
const listening = await serveOverHttp(build, {
|
|
263
264
|
...http,
|
|
264
265
|
appName: options.command,
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
} from "./chunk-XQUUANA2.js";
|
|
6
6
|
import {
|
|
7
7
|
checkedOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QPRXTLMD.js";
|
|
9
9
|
import {
|
|
10
10
|
messagesFor,
|
|
11
11
|
systemFor
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-TCCN5TON.js";
|
|
13
13
|
import "./chunk-BMV56JCL.js";
|
|
14
14
|
import {
|
|
15
15
|
array,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/models/anthropic.js
|
|
27
27
|
var options = strictObject({
|
|
28
28
|
stop_sequences: optional(array(string()))
|
|
29
29
|
});
|
|
@@ -3,42 +3,42 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
PER_RUN,
|
|
5
5
|
envelope
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2PPEDB67.js";
|
|
7
7
|
import {
|
|
8
8
|
answered,
|
|
9
9
|
failed,
|
|
10
10
|
registerCommands,
|
|
11
11
|
runCommandForAgent,
|
|
12
12
|
toolsFromCommands
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-P6FT6YYT.js";
|
|
14
14
|
import {
|
|
15
15
|
mcpUrlOf
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HN43G27G.js";
|
|
17
17
|
import {
|
|
18
18
|
agentJson,
|
|
19
19
|
skillResource
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-WBAA2X3E.js";
|
|
21
|
+
import "./chunk-7XLOWYGD.js";
|
|
22
22
|
import {
|
|
23
23
|
appInstructions
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-P2QJA7S5.js";
|
|
25
25
|
import {
|
|
26
26
|
answeredWire
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QE72KTS7.js";
|
|
28
28
|
import {
|
|
29
29
|
StdioServerTransport,
|
|
30
30
|
serveStdio
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FTI73RLC.js";
|
|
32
32
|
import {
|
|
33
33
|
McpServer
|
|
34
34
|
} from "./chunk-5D4AEUVA.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-72N26BQM.js";
|
|
36
|
+
import "./chunk-QTMVGOSF.js";
|
|
37
|
+
import "./chunk-NOVBK4SY.js";
|
|
38
|
+
import "./chunk-SFC46MP2.js";
|
|
39
|
+
import "./chunk-TCCN5TON.js";
|
|
40
|
+
import "./chunk-MDDB7M7Z.js";
|
|
41
|
+
import "./chunk-ZZSHGCRC.js";
|
|
42
42
|
import {
|
|
43
43
|
DEFAULT_OUTPUT_BYTES,
|
|
44
44
|
changesAuthorityAt,
|
|
@@ -48,35 +48,36 @@ import {
|
|
|
48
48
|
readOnlyLockOf,
|
|
49
49
|
readsOverMcpAt,
|
|
50
50
|
rootOf2 as rootOf
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
51
|
+
} from "./chunk-HSBGNVEL.js";
|
|
52
|
+
import "./chunk-HRRSTIGP.js";
|
|
53
|
+
import "./chunk-B74SOC4R.js";
|
|
54
54
|
import "./chunk-UWL2IOII.js";
|
|
55
55
|
import "./chunk-3DQYO7FB.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-VDUGE6TH.js";
|
|
57
57
|
import {
|
|
58
58
|
mcpHttpMarker
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-SCIC2CJS.js";
|
|
60
|
+
import "./chunk-VQZCIDSO.js";
|
|
61
|
+
import "./chunk-T3DTYJTG.js";
|
|
62
|
+
import "./chunk-RY7PBP4F.js";
|
|
63
|
+
import "./chunk-566MEXK5.js";
|
|
64
|
+
import "./chunk-KMQAHDBM.js";
|
|
65
|
+
import "./chunk-LTXYJAJK.js";
|
|
66
|
+
import "./chunk-HJ2CXDKJ.js";
|
|
67
|
+
import "./chunk-I2SDXWLR.js";
|
|
68
|
+
import "./chunk-SYEICLTR.js";
|
|
69
|
+
import "./chunk-4FWJNIPH.js";
|
|
70
|
+
import "./chunk-VINSQR4X.js";
|
|
71
|
+
import "./chunk-3HDQVTND.js";
|
|
72
|
+
import "./chunk-OKO2Q6H6.js";
|
|
73
|
+
import "./chunk-Z7N4MGOQ.js";
|
|
74
|
+
import "./chunk-O3M2S62X.js";
|
|
75
|
+
import "./chunk-RPCKBXKN.js";
|
|
75
76
|
import "./chunk-UHC5I3JV.js";
|
|
76
77
|
import "./chunk-QZLK2ISN.js";
|
|
77
78
|
import "./chunk-D72URWJE.js";
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-AF62BPIW.js";
|
|
80
|
+
import "./chunk-ODFHIXMA.js";
|
|
80
81
|
import "./chunk-BMV56JCL.js";
|
|
81
82
|
import {
|
|
82
83
|
mcpErrorResult
|
|
@@ -85,12 +86,12 @@ import "./chunk-Y5E2WNWB.js";
|
|
|
85
86
|
import {
|
|
86
87
|
CliError
|
|
87
88
|
} from "./chunk-DALBYUPC.js";
|
|
88
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-RT6SLZBI.js";
|
|
89
90
|
import {
|
|
90
91
|
__name
|
|
91
92
|
} from "./chunk-ZVVMGPBJ.js";
|
|
92
93
|
|
|
93
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
94
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/app-server.js
|
|
94
95
|
var EXCLUDED = [["mcp"]];
|
|
95
96
|
var createAppServer = /* @__PURE__ */ __name((command, context, options) => {
|
|
96
97
|
const { app } = options;
|
|
@@ -208,7 +209,7 @@ var serveAppOverStdio = /* @__PURE__ */ __name(async (command, context, options)
|
|
|
208
209
|
var serveAppOverHttp = /* @__PURE__ */ __name(async (command, context, options, http) => {
|
|
209
210
|
const { app } = options;
|
|
210
211
|
const { build } = createAppServer(command, context, options);
|
|
211
|
-
const { serveOverHttp } = await import("./serve-
|
|
212
|
+
const { serveOverHttp } = await import("./serve-Y2DDLGBT.js");
|
|
212
213
|
const listening = await serveOverHttp(build, {
|
|
213
214
|
...http,
|
|
214
215
|
appName: app.command,
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RT6SLZBI.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/bun.js
|
|
27
27
|
import { Database } from "bun:sqlite";
|
|
28
28
|
var bunSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LF5XM4HE.js";
|
|
7
7
|
import "./chunk-BMV56JCL.js";
|
|
8
8
|
import "./chunk-BHNBWFT5.js";
|
|
9
9
|
import {
|
|
@@ -14,7 +14,7 @@ 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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/store/drivers/bun-sqlite.js
|
|
18
18
|
var customised = false;
|
|
19
19
|
var ownLibrary = /* @__PURE__ */ __name(async () => {
|
|
20
20
|
try {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tool,
|
|
21
21
|
toolKey,
|
|
22
22
|
toolsFromCommands
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P6FT6YYT.js";
|
|
24
24
|
import {
|
|
25
25
|
CHART_KINDS,
|
|
26
26
|
CHART_SIZE,
|
|
@@ -34,23 +34,23 @@ import {
|
|
|
34
34
|
registerPrompts,
|
|
35
35
|
stdinFieldOf,
|
|
36
36
|
syncsFirst
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HN43G27G.js";
|
|
38
38
|
import {
|
|
39
39
|
agentJson,
|
|
40
40
|
skillResource
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-WBAA2X3E.js";
|
|
42
42
|
import {
|
|
43
43
|
instructions
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-P2QJA7S5.js";
|
|
45
45
|
import {
|
|
46
46
|
answeredWire
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QE72KTS7.js";
|
|
48
48
|
import {
|
|
49
49
|
StdioServerTransport,
|
|
50
50
|
callerOf,
|
|
51
51
|
callingAgent,
|
|
52
52
|
serveStdio
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FTI73RLC.js";
|
|
54
54
|
import {
|
|
55
55
|
McpServer,
|
|
56
56
|
ResourceTemplate
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
connectedFor,
|
|
60
60
|
guardFor
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-72N26BQM.js";
|
|
62
62
|
import {
|
|
63
63
|
capability,
|
|
64
64
|
dateWindow,
|
|
@@ -67,10 +67,10 @@ import {
|
|
|
67
67
|
servicesFor,
|
|
68
68
|
storedDeps,
|
|
69
69
|
wholeList
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-QTMVGOSF.js";
|
|
71
71
|
import {
|
|
72
72
|
findCommand
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ZZSHGCRC.js";
|
|
74
74
|
import {
|
|
75
75
|
DEFAULT_OUTPUT_BYTES,
|
|
76
76
|
changesAuthorityAt,
|
|
@@ -85,28 +85,30 @@ import {
|
|
|
85
85
|
sealed,
|
|
86
86
|
snakeKeys,
|
|
87
87
|
typedCommand
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-HSBGNVEL.js";
|
|
89
89
|
import {
|
|
90
90
|
levelFor,
|
|
91
91
|
readKeysForCommand
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-HRRSTIGP.js";
|
|
93
93
|
import {
|
|
94
|
-
isCliFailure,
|
|
95
94
|
withCaller
|
|
96
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-B74SOC4R.js";
|
|
97
96
|
import {
|
|
98
97
|
mcpHttpMarker
|
|
99
|
-
} from "./chunk-
|
|
100
|
-
import {
|
|
101
|
-
warmEmbedders
|
|
102
|
-
} from "./chunk-POWHDZIC.js";
|
|
98
|
+
} from "./chunk-SCIC2CJS.js";
|
|
103
99
|
import {
|
|
104
100
|
openStore,
|
|
105
101
|
pdfPreviewLimits
|
|
106
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-KMQAHDBM.js";
|
|
107
103
|
import {
|
|
108
104
|
timezoneOf
|
|
109
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-I2SDXWLR.js";
|
|
106
|
+
import {
|
|
107
|
+
isCliFailure
|
|
108
|
+
} from "./chunk-SYEICLTR.js";
|
|
109
|
+
import {
|
|
110
|
+
warmEmbedders
|
|
111
|
+
} from "./chunk-Z7N4MGOQ.js";
|
|
110
112
|
import {
|
|
111
113
|
description,
|
|
112
114
|
integer,
|
|
@@ -131,10 +133,10 @@ import {
|
|
|
131
133
|
__name
|
|
132
134
|
} from "./chunk-ZVVMGPBJ.js";
|
|
133
135
|
|
|
134
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
136
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
135
137
|
import { randomUUID } from "node:crypto";
|
|
136
138
|
|
|
137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/agent-log.js
|
|
138
140
|
var agentLog = /* @__PURE__ */ __name((open) => {
|
|
139
141
|
let held;
|
|
140
142
|
return {
|
|
@@ -153,7 +155,7 @@ var agentLog = /* @__PURE__ */ __name((open) => {
|
|
|
153
155
|
};
|
|
154
156
|
}, "agentLog");
|
|
155
157
|
|
|
156
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/resources.js
|
|
157
159
|
var LISTED = 100;
|
|
158
160
|
var registerResources = /* @__PURE__ */ __name((server, session, { command, name, limit, recorded, withStore, messenger, guard, assertRead }) => {
|
|
159
161
|
server.registerResource("chat", new ResourceTemplate(`${command}://chat/{id}`, {
|
|
@@ -191,7 +193,7 @@ var registerResources = /* @__PURE__ */ __name((server, session, { command, name
|
|
|
191
193
|
});
|
|
192
194
|
}, "registerResources");
|
|
193
195
|
|
|
194
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/session.js
|
|
195
197
|
var HARMLESS = /* @__PURE__ */ new Set(["validation_error", "not_found", "permission_error", "confirmation_required", "rate_limited"]);
|
|
196
198
|
var harmless = /* @__PURE__ */ __name((code) => HARMLESS.has(code), "harmless");
|
|
197
199
|
var MessengerSession = class {
|
|
@@ -266,7 +268,7 @@ var MessengerSession = class {
|
|
|
266
268
|
}
|
|
267
269
|
};
|
|
268
270
|
|
|
269
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools/attachments.js
|
|
270
272
|
var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
271
273
|
const _command = messenger.app.command;
|
|
272
274
|
return {
|
|
@@ -320,7 +322,7 @@ var attachmentsTools = /* @__PURE__ */ __name((messenger) => {
|
|
|
320
322
|
};
|
|
321
323
|
}, "attachmentsTools");
|
|
322
324
|
|
|
323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
325
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools/messages-photo.js
|
|
324
326
|
var PHOTO_LIMIT = 512 * 1024;
|
|
325
327
|
var IMAGE_TYPES = [
|
|
326
328
|
["image/jpeg", (b) => b[0] === 255 && b[1] === 216 && b[2] === 255],
|
|
@@ -374,7 +376,7 @@ var readUpTo = /* @__PURE__ */ __name(async (file, limit, saveIt) => {
|
|
|
374
376
|
return new Uint8Array(Buffer.concat(chunks));
|
|
375
377
|
}, "readUpTo");
|
|
376
378
|
|
|
377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
379
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools/stats.js
|
|
378
380
|
var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
379
381
|
stats_charts: tool({
|
|
380
382
|
title: "A chart from a chat's statistics",
|
|
@@ -411,14 +413,14 @@ var statsTools = /* @__PURE__ */ __name((messenger) => ({
|
|
|
411
413
|
})
|
|
412
414
|
}), "statsTools");
|
|
413
415
|
|
|
414
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
416
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/tools.js
|
|
415
417
|
var pictureTools = /* @__PURE__ */ __name((messenger) => Object.fromEntries(Object.entries({
|
|
416
418
|
...messagesPhotoTools(messenger),
|
|
417
419
|
...attachmentsTools(messenger),
|
|
418
420
|
...statsTools(messenger)
|
|
419
421
|
}).map(([name, definition]) => [name, { ...definition, input: strictObject(definition.input.entries) }])), "pictureTools");
|
|
420
422
|
|
|
421
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
423
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/mcp/server.js
|
|
422
424
|
var PER_RUN = /* @__PURE__ */ new Set([
|
|
423
425
|
"streams",
|
|
424
426
|
"stdin",
|
|
@@ -742,7 +744,7 @@ var serveOverStdio = /* @__PURE__ */ __name(async (command, context, messenger,
|
|
|
742
744
|
}, "serveOverStdio");
|
|
743
745
|
var serveOverHttpUntilStopped = /* @__PURE__ */ __name(async (command, context, messenger, options, http) => {
|
|
744
746
|
const { session, embedders, build, log } = createServer(command, context, messenger, options);
|
|
745
|
-
const { serveOverHttp } = await import("./serve-
|
|
747
|
+
const { serveOverHttp } = await import("./serve-Y2DDLGBT.js");
|
|
746
748
|
const appName = messenger.app.command;
|
|
747
749
|
const appEnvPrefix = messenger.app.envPrefix;
|
|
748
750
|
const listening = await serveOverHttp(build, {
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
CAPABILITY_STATEMENTS,
|
|
5
5
|
storeCapable
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AF62BPIW.js";
|
|
7
7
|
import {
|
|
8
8
|
importFrom
|
|
9
9
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
__name
|
|
12
12
|
} from "./chunk-ZVVMGPBJ.js";
|
|
13
13
|
|
|
14
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
14
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/sqlite-runtime.js
|
|
15
15
|
import { spawn, spawnSync } from "node:child_process";
|
|
16
16
|
import { readFileSync } from "node:fs";
|
|
17
17
|
import { dirname } from "node:path";
|
|
@@ -2,7 +2,7 @@ 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-RPCKBXKN.js";
|
|
6
6
|
import {
|
|
7
7
|
resolvePaths
|
|
8
8
|
} from "./chunk-BMV56JCL.js";
|
|
@@ -14,11 +14,11 @@ 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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/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,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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
8
8
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
9
9
|
"authorization",
|
|
10
10
|
"cookie",
|
|
@@ -2,10 +2,10 @@ 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-SFC46MP2.js";
|
|
6
6
|
import {
|
|
7
7
|
inputPolicy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MDDB7M7Z.js";
|
|
9
9
|
import {
|
|
10
10
|
indent
|
|
11
11
|
} from "./chunk-BMV56JCL.js";
|
|
@@ -16,16 +16,12 @@ 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.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/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.
|
|
25
|
-
var CRM_KINDS = ["organization", "person", "deal", "lead"];
|
|
26
|
-
var isItemKind = /* @__PURE__ */ __name((kind) => kind === "deal" || kind === "lead", "isItemKind");
|
|
27
|
-
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_53afa6060d8ea71d32941ef81a17e026/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/markdown.js
|
|
29
25
|
var MARKERS = [
|
|
30
26
|
["**", "bold"],
|
|
31
27
|
["~~", "strike"],
|
|
@@ -71,7 +67,7 @@ var closing = /* @__PURE__ */ __name((input, open, marker) => {
|
|
|
71
67
|
return end;
|
|
72
68
|
}, "closing");
|
|
73
69
|
|
|
74
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
70
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/markdown-spans.js
|
|
75
71
|
var STYLES = [
|
|
76
72
|
["**", "bold"],
|
|
77
73
|
["__", "underline"],
|
|
@@ -231,7 +227,7 @@ var parseMarkdownSpans = /* @__PURE__ */ __name((input) => {
|
|
|
231
227
|
return validateFormattedText(result);
|
|
232
228
|
}, "parseMarkdownSpans");
|
|
233
229
|
|
|
234
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
230
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/domain/polls.js
|
|
235
231
|
var countedPoll = /* @__PURE__ */ __name((poll, votes, self) => {
|
|
236
232
|
const cast = votes.filter((vote) => vote.answers.length > 0);
|
|
237
233
|
const mine = self === null ? void 0 : votes.find((vote) => vote.person.id === self);
|
|
@@ -1880,7 +1876,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
1880
1876
|
var qrcode_default = qrcode;
|
|
1881
1877
|
var stringToBytes = qrcode.stringToBytes;
|
|
1882
1878
|
|
|
1883
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1879
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/terminal/qr.js
|
|
1884
1880
|
var QUIET_ZONE = 4;
|
|
1885
1881
|
var BLACK_ON_WHITE = "\x1B[30;107m";
|
|
1886
1882
|
var RESET = "\x1B[0m";
|
|
@@ -1927,7 +1923,7 @@ var plainQr = /* @__PURE__ */ __name((link) => {
|
|
|
1927
1923
|
return lines.join("\n");
|
|
1928
1924
|
}, "plainQr");
|
|
1929
1925
|
|
|
1930
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1926
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/terminal/login-qr.js
|
|
1931
1927
|
var MARGIN = 2;
|
|
1932
1928
|
var atTerminal = /* @__PURE__ */ __name((input) => input.isTTY === true && !inputPolicy(input).noInput, "atTerminal");
|
|
1933
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";
|
|
@@ -1965,8 +1961,6 @@ ${indent(drawn.text, pad + MARGIN)}`);
|
|
|
1965
1961
|
export {
|
|
1966
1962
|
bareCheck,
|
|
1967
1963
|
checkWords,
|
|
1968
|
-
CRM_KINDS,
|
|
1969
|
-
isItemKind,
|
|
1970
1964
|
parseMarkdown,
|
|
1971
1965
|
parseMarkdownSpans,
|
|
1972
1966
|
countedPoll,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
id,
|
|
6
6
|
text,
|
|
7
7
|
time
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HJ2CXDKJ.js";
|
|
9
9
|
import {
|
|
10
10
|
array,
|
|
11
11
|
nullable,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
unknown
|
|
19
19
|
} from "./chunk-BHNBWFT5.js";
|
|
20
20
|
|
|
21
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
21
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.608.0_@wirecat+cli-base@0.80.7_commander@15.0.0_esbuild@0.28.2_type_2045f8d992dff370989171c93240f8d7/node_modules/@wirecat/cli-core/dist/entities/note.js
|
|
22
22
|
var link = {
|
|
23
23
|
target_text: nullable(text),
|
|
24
24
|
kind: text,
|