@wirecat/cli-memo 0.131.77 → 0.131.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-4UWCPMRQ.js → all-profiles-ZMIHTBZD.js} +9 -9
- package/dist/bundle/{anthropic-HECHQVOK.js → anthropic-PNRUKJHS.js} +6 -6
- package/dist/bundle/{app-server-GQEQWFYQ.js → app-server-RNASTWZO.js} +41 -41
- package/dist/bundle/auto-TRSJQGJH.js +91 -0
- package/dist/bundle/{bun-IWGIAD7H.js → bun-QU4I5GWB.js} +2 -2
- package/dist/bundle/{bun-sqlite-VJFM4TVN.js → bun-sqlite-J4KG5VML.js} +10 -6
- package/dist/bundle/{chunk-D7KQYLAN.js → chunk-24FOGKJI.js} +7 -7
- package/dist/bundle/{chunk-JKLJM7EG.js → chunk-2C536VQW.js} +1 -1
- package/dist/bundle/{chunk-3QBRLN6T.js → chunk-2EGS6BXF.js} +2 -2
- package/dist/bundle/{chunk-JSGRDE5Q.js → chunk-2TIK6LHL.js} +443 -344
- package/dist/bundle/{chunk-PPARTGFE.js → chunk-3GOMBG55.js} +8 -8
- package/dist/bundle/{chunk-OQSIFLZS.js → chunk-3HCGK4FN.js} +1 -1
- package/dist/bundle/{chunk-MRUE3BWX.js → chunk-46Z7UUCG.js} +1 -1
- package/dist/bundle/{chunk-ZPB3VTS7.js → chunk-4BSNHOEV.js} +28 -11
- package/dist/bundle/{chunk-BNOSAHVH.js → chunk-4FPSZCWN.js} +2 -2
- package/dist/bundle/{chunk-4VO2RJAE.js → chunk-4XOAQ5EQ.js} +10 -10
- package/dist/bundle/{chunk-6A37YXAL.js → chunk-5LEIPSJG.js} +24 -0
- package/dist/bundle/{chunk-M4MM4QUM.js → chunk-5YS4WS74.js} +1 -1
- package/dist/bundle/{chunk-HFZHXP4U.js → chunk-6ZO2ZVKV.js} +5 -5
- package/dist/bundle/{chunk-C3HS26N5.js → chunk-7SGURCSQ.js} +1 -1
- package/dist/bundle/chunk-A5TSIMI2.js +53 -0
- package/dist/bundle/{chunk-UDRKGCDS.js → chunk-AWUANCLC.js} +1 -1
- package/dist/bundle/{chunk-KYW7RWGE.js → chunk-BBJBWSGN.js} +2 -2
- package/dist/bundle/{chunk-OAWNQZ3V.js → chunk-CLZHPHKI.js} +3 -3
- package/dist/bundle/{chunk-NGWUFB4K.js → chunk-CQPXUMIS.js} +1 -1
- package/dist/bundle/{chunk-LO74ISD6.js → chunk-CX3D6D43.js} +3 -3
- package/dist/bundle/{chunk-5APYWW46.js → chunk-CY7WACM7.js} +31 -31
- package/dist/bundle/{chunk-7YALAAL4.js → chunk-DAJEINOF.js} +1193 -905
- package/dist/bundle/{chunk-EXFRC4OT.js → chunk-DCK5AT3D.js} +1 -1
- package/dist/bundle/{chunk-JTLPFUIQ.js → chunk-DP2RZ6FO.js} +3 -3
- package/dist/bundle/{chunk-YZ4J67GU.js → chunk-FCHVDLEL.js} +3 -3
- package/dist/bundle/{chunk-BFEXVALS.js → chunk-GDSCR5BG.js} +1 -1
- package/dist/bundle/{chunk-AH6V2UJZ.js → chunk-GJ7KTKIP.js} +16 -16
- package/dist/bundle/{chunk-DJYMK7EI.js → chunk-GTYESBB2.js} +3 -3
- package/dist/bundle/{chunk-TIHQFMH2.js → chunk-H6QELEPY.js} +6 -6
- package/dist/bundle/{chunk-6VISMU6R.js → chunk-HKOHKYDY.js} +7 -7
- package/dist/bundle/{chunk-IYINNZQE.js → chunk-IE6AEPW3.js} +10 -10
- package/dist/bundle/{chunk-EY46RMMS.js → chunk-IHWPNLCI.js} +170 -152
- package/dist/bundle/{chunk-76T57Y3Q.js → chunk-IU2QDYBO.js} +5 -5
- package/dist/bundle/{chunk-W36BMC6F.js → chunk-J2KPUG2X.js} +4 -4
- package/dist/bundle/{chunk-VMTTWF2M.js → chunk-JDI7CKLO.js} +7 -7
- package/dist/bundle/{chunk-CPKS7JKX.js → chunk-JX4YNSYT.js} +1 -1
- package/dist/bundle/{chunk-WZZ426CJ.js → chunk-LQBVQX47.js} +80 -80
- package/dist/bundle/{chunk-6RN34ZWU.js → chunk-MQ6XB6BV.js} +5 -5
- package/dist/bundle/{chunk-UIS44ZMF.js → chunk-O4ZIN4AY.js} +6 -6
- package/dist/bundle/{chunk-TFXKS2WG.js → chunk-OP5MKU7T.js} +1 -1
- package/dist/bundle/{chunk-XLZPP5MB.js → chunk-PB4ZGGR4.js} +1 -1
- package/dist/bundle/{chunk-MZHH5XMX.js → chunk-PI42ZHZQ.js} +2 -2
- package/dist/bundle/{chunk-QNJ6O6J4.js → chunk-Q5YM3JWV.js} +2 -2
- package/dist/bundle/{chunk-3URQNBDV.js → chunk-QNI3Q7XS.js} +2 -2
- package/dist/bundle/{chunk-OB3OPV55.js → chunk-QOFD6JSB.js} +5 -5
- package/dist/bundle/{chunk-CFZZUGUD.js → chunk-R24Q24U5.js} +26 -23
- package/dist/bundle/{chunk-X2SA73EE.js → chunk-RK24IARI.js} +1 -1
- package/dist/bundle/{chunk-VIY77EDM.js → chunk-RMKJWDVT.js} +47 -47
- package/dist/bundle/{chunk-TXXKLYJQ.js → chunk-RUHFWDHD.js} +3 -3
- package/dist/bundle/{chunk-2IQWMWMC.js → chunk-SB3AOH3M.js} +3 -3
- package/dist/bundle/{chunk-4EFQOTNQ.js → chunk-SEIRBXJT.js} +7 -7
- package/dist/bundle/{chunk-INXIJXU2.js → chunk-SM7PB5CU.js} +7 -7
- package/dist/bundle/{chunk-UD5JUJES.js → chunk-TBCHID7L.js} +23644 -22657
- package/dist/bundle/{chunk-HKDUGTWQ.js → chunk-TH3LLEA2.js} +3 -3
- package/dist/bundle/{chunk-LHVNZ25W.js → chunk-U3VXKVKI.js} +12 -12
- package/dist/bundle/{chunk-A54EZ6DV.js → chunk-UC5YCXKS.js} +15 -14
- package/dist/bundle/{chunk-DE5BNDIA.js → chunk-UYKKJOND.js} +4 -4
- package/dist/bundle/{chunk-SHO3T3F2.js → chunk-VIZBCX3C.js} +4 -4
- package/dist/bundle/{chunk-DNPE4LOZ.js → chunk-VSSWVVOZ.js} +11 -11
- package/dist/bundle/{chunk-2DLCQ4AK.js → chunk-WN7BSOD2.js} +1 -1
- package/dist/bundle/{chunk-S5T4SO7I.js → chunk-XO6RP5FV.js} +20 -2
- package/dist/bundle/{chunk-KTBPBMNR.js → chunk-YJUVVYS6.js} +5 -5
- package/dist/bundle/{chunk-ZPPMGXER.js → chunk-ZFUYVQII.js} +34 -34
- package/dist/bundle/{chunk-HWIKY7KF.js → chunk-ZIDR2CSX.js} +2 -2
- package/dist/bundle/command-contract-4ZJOMSQ2.js +34 -0
- package/dist/bundle/{command-server-entry-TQBKNSM3.js → command-server-entry-VSWZ5K2Q.js} +21 -21
- package/dist/bundle/{decode-VFRSEIBD.js → decode-OPD4OHCW.js} +6 -6
- package/dist/bundle/{dispatch-N73TJNYM.js → dispatch-BRRZ6TLX.js} +1 -1
- package/dist/bundle/{echarts-DP2GC2C6.js → echarts-AXYKRYU7.js} +2 -2
- package/dist/bundle/{embed-BIINGRNY.js → embed-6DBZRTQ7.js} +7 -7
- package/dist/bundle/{embedder-2AUO2PHQ.js → embedder-SQI6IDZC.js} +10 -10
- package/dist/bundle/{entry-APUFP74B.js → entry-2GKNMGW6.js} +9 -9
- package/dist/bundle/{entry-LGJ2Y7AS.js → entry-RV5QAV44.js} +9 -9
- package/dist/bundle/failure-7RJ4HOL4.js +71 -0
- package/dist/bundle/{failure-IPHFR3KW.js → failure-ECNGLVHX.js} +2 -2
- package/dist/bundle/{first-run-7UMKRQL7.js → first-run-BBMUDHYX.js} +10 -10
- package/dist/bundle/first-screen-4BS5M4JW.js +32 -0
- package/dist/bundle/{instructions-WDKCHEG6.js → instructions-JNAROG65.js} +1 -1
- package/dist/bundle/mcp-3MBYSBNS.js +92 -0
- package/dist/bundle/memo.js +6 -6
- package/dist/bundle/{node-QBL3F2VF.js → node-6OTEDFSP.js} +2 -2
- package/dist/bundle/{node-sqlite-WFKC73E5.js → node-sqlite-HBHJOJX6.js} +11 -7
- package/dist/bundle/{oauth-4PT7N4SE.js → oauth-PVQSSPPE.js} +8 -8
- package/dist/bundle/{open-I7XENSGI.js → open-ARBTD4LX.js} +6 -6
- package/dist/bundle/{openai-DUSBTUFI.js → openai-2JRFTWUA.js} +11 -11
- package/dist/bundle/{process-TVXEHAK6.js → process-4ERCV4WX.js} +1 -1
- package/dist/bundle/{program-3X4EPBEW.js → program-5KVHPFJU.js} +299 -133
- package/dist/bundle/{prompt-QRYXTON7.js → prompt-4I34VBPK.js} +6 -6
- package/dist/bundle/{recognize-ZLDPIN36.js → recognize-22BJ7RWB.js} +5 -5
- package/dist/bundle/{remote-3GRP5YE3.js → remote-BON3MKY5.js} +8 -8
- package/dist/bundle/{rerank-6B2FI6LN.js → rerank-6CCCIZDS.js} +8 -8
- package/dist/bundle/{serve-ZP3TEANT.js → serve-FB54DFIV.js} +10 -10
- package/dist/bundle/server-SG4BOF6U.js +64 -0
- package/dist/bundle/{server-3SJJNNSX.js → server-TL5WPR3I.js} +59 -59
- package/dist/bundle/server-UYEXFEEB.js +50 -0
- package/dist/bundle/{state-JDH2X2CY.js → state-23IF45K6.js} +7 -7
- package/dist/bundle/{store-FDNYGJUF.js → store-FGNXSGJU.js} +13 -13
- package/dist/bundle/store-maintenance-command-PDLIZ4J2.js +49 -0
- package/dist/bundle/update-QTZREQD6.js +74 -0
- package/dist/examples.d.ts.map +1 -1
- package/dist/examples.js +12 -3
- package/dist/examples.js.map +1 -1
- package/dist/mcp/catalogue.d.ts +4 -4
- package/dist/mcp/catalogue.d.ts.map +1 -1
- package/dist/mcp/catalogue.js +2 -2
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -2
- package/dist/people/command.js.map +1 -1
- package/dist/people/doubts-command.d.ts +5 -0
- package/dist/people/doubts-command.d.ts.map +1 -0
- package/dist/people/doubts-command.js +46 -0
- package/dist/people/doubts-command.js.map +1 -0
- package/dist/people/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +54 -57
- package/dist/people/identities-command.js.map +1 -1
- package/dist/people/proposal-rows.d.ts +48 -0
- package/dist/people/proposal-rows.d.ts.map +1 -0
- package/dist/people/proposal-rows.js +61 -0
- package/dist/people/proposal-rows.js.map +1 -0
- package/dist/people/proposals-command.d.ts +5 -0
- package/dist/people/proposals-command.d.ts.map +1 -0
- package/dist/people/proposals-command.js +107 -0
- package/dist/people/proposals-command.js.map +1 -0
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +18 -0
- package/dist/reasons.js.map +1 -1
- package/dist/review/kinds.d.ts +1 -1
- package/dist/review/kinds.d.ts.map +1 -1
- package/dist/review/kinds.js +1 -0
- package/dist/review/kinds.js.map +1 -1
- package/dist/sources/readers/ai-model.js +3 -3
- package/dist/sources/readers/ai-model.js.map +1 -1
- package/dist/tasks/shared.d.ts.map +1 -1
- package/dist/tasks/shared.js +14 -2
- package/dist/tasks/shared.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/cli-memo/topics/proposals.md +10 -6
- package/dist/bundle/auto-3O7JD27U.js +0 -91
- package/dist/bundle/chunk-YABNPKKQ.js +0 -35
- package/dist/bundle/command-contract-SEDOYJIJ.js +0 -34
- package/dist/bundle/failure-5QSMH2CD.js +0 -71
- package/dist/bundle/first-screen-H5CQSLIX.js +0 -32
- package/dist/bundle/mcp-3HKOGYHL.js +0 -92
- package/dist/bundle/server-72VZYABL.js +0 -50
- package/dist/bundle/server-UY47EXPQ.js +0 -64
- package/dist/bundle/store-maintenance-command-5LFS45JM.js +0 -49
- package/dist/bundle/update-257J2SPM.js +0 -74
- /package/dist/bundle/{chunk-6AALVDEA.js → chunk-2AFREBSM.js} +0 -0
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
serverSearchOptions,
|
|
28
28
|
summaryOf,
|
|
29
29
|
unansweredHours
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DAJEINOF.js";
|
|
31
31
|
import {
|
|
32
32
|
MAIL_HIT_UNTRUSTED,
|
|
33
33
|
messagesAnswer,
|
|
34
34
|
offsetOf,
|
|
35
35
|
shownOf
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-R24Q24U5.js";
|
|
37
37
|
import {
|
|
38
38
|
messageItem
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-RMKJWDVT.js";
|
|
40
40
|
import {
|
|
41
41
|
knownPermissionKeys
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-UC5YCXKS.js";
|
|
43
43
|
import {
|
|
44
44
|
AGENDA_DEFAULTS,
|
|
45
45
|
DEFAULT_BACKEND,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
sourceKey,
|
|
64
64
|
typedQuery,
|
|
65
65
|
withQuery
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-2TIK6LHL.js";
|
|
67
67
|
import {
|
|
68
68
|
DEFAULT_DECISION_POLICY,
|
|
69
69
|
MESSAGE_PARSING,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
registrableOf,
|
|
77
77
|
scoreGroup,
|
|
78
78
|
validateFields
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-TBCHID7L.js";
|
|
80
80
|
import {
|
|
81
81
|
Command,
|
|
82
82
|
FETCH,
|
|
@@ -106,11 +106,11 @@ import {
|
|
|
106
106
|
snakeKeys,
|
|
107
107
|
withSettingDefaults,
|
|
108
108
|
withoutSetting
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-IHWPNLCI.js";
|
|
110
110
|
import {
|
|
111
111
|
mailHolderVariable,
|
|
112
112
|
readOnlyLockOf
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-AWUANCLC.js";
|
|
114
114
|
import {
|
|
115
115
|
DEAL_KINDS,
|
|
116
116
|
KEEP_RUNS_FOR_DAYS,
|
|
@@ -128,12 +128,12 @@ import {
|
|
|
128
128
|
time,
|
|
129
129
|
timezoneOf,
|
|
130
130
|
untrusted
|
|
131
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-LQBVQX47.js";
|
|
132
132
|
import {
|
|
133
133
|
configFilePath,
|
|
134
134
|
resolvePaths,
|
|
135
135
|
saveConfigFile
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-SB3AOH3M.js";
|
|
137
137
|
import {
|
|
138
138
|
MAX_NEXT_STEPS,
|
|
139
139
|
array,
|
|
@@ -157,7 +157,7 @@ import {
|
|
|
157
157
|
string,
|
|
158
158
|
union,
|
|
159
159
|
unknown
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-5LEIPSJG.js";
|
|
161
161
|
import {
|
|
162
162
|
CliError
|
|
163
163
|
} from "./chunk-BA6GHX5B.js";
|
|
@@ -166,7 +166,7 @@ import {
|
|
|
166
166
|
__toESM
|
|
167
167
|
} from "./chunk-ZVVMGPBJ.js";
|
|
168
168
|
|
|
169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
169
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/domain/records-table.js
|
|
170
170
|
var TABLE_RECORD_TYPES = Object.keys(RECORD_TYPES).filter((type) => !RECORD_TYPES[type].importOnly);
|
|
171
171
|
var TableError = class extends Error {
|
|
172
172
|
static {
|
|
@@ -2154,7 +2154,7 @@ var createDataURL = /* @__PURE__ */ __name(function(width, height, getPixel) {
|
|
|
2154
2154
|
}, "createDataURL");
|
|
2155
2155
|
var stringToBytes = qrcode.stringToBytes;
|
|
2156
2156
|
|
|
2157
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2157
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/attachments.js
|
|
2158
2158
|
var MAX_ATTACHMENT_CHARS = 2e5;
|
|
2159
2159
|
var DEFAULT_ATTACHMENT_POLICY = { read: true, maxBytes: 10 * 1024 * 1024 };
|
|
2160
2160
|
var POLICY_SKIPS = ["not-read", "too-large"];
|
|
@@ -2193,7 +2193,7 @@ var readAttachments = /* @__PURE__ */ __name(async (mail, messageId, { loadEngin
|
|
|
2193
2193
|
return files;
|
|
2194
2194
|
}, "readAttachments");
|
|
2195
2195
|
|
|
2196
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2196
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/read.js
|
|
2197
2197
|
var lowerSuspicious = /* @__PURE__ */ __name((items, suspicious) => [
|
|
2198
2198
|
...items.filter((item) => !suspicious(item)),
|
|
2199
2199
|
...items.filter(suspicious)
|
|
@@ -2280,11 +2280,11 @@ var attachmentsText = /* @__PURE__ */ __name((hit) => (hit.attachments ?? []).ma
|
|
|
2280
2280
|
${file.text.replace(/\n/g, "\n ")}`;
|
|
2281
2281
|
}).join("\n"), "attachmentsText");
|
|
2282
2282
|
|
|
2283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/bulk.js
|
|
2284
2284
|
var BULK = "bulk";
|
|
2285
2285
|
var bulkBox = { externalId: "memo:bulk", name: "bulk", kind: BULK };
|
|
2286
2286
|
|
|
2287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/email-input.js
|
|
2288
2288
|
var sentAtOf = /* @__PURE__ */ __name((date, receivedAt) => {
|
|
2289
2289
|
const sent = date === null ? Number.NaN : Date.parse(date);
|
|
2290
2290
|
return Number.isNaN(sent) ? Date.parse(receivedAt) : sent;
|
|
@@ -2304,7 +2304,7 @@ var parsedEmail = /* @__PURE__ */ __name((mail, item, header, address) => ({
|
|
|
2304
2304
|
outgoing: mail.from === null ? null : mail.from.email === address
|
|
2305
2305
|
}), "parsedEmail");
|
|
2306
2306
|
|
|
2307
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2307
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/presets.js
|
|
2308
2308
|
var PRESETS = {
|
|
2309
2309
|
social: {
|
|
2310
2310
|
about: "notifications from social networks",
|
|
@@ -2396,7 +2396,7 @@ var presetMatches = /* @__PURE__ */ __name((name, facts) => {
|
|
|
2396
2396
|
return false;
|
|
2397
2397
|
}, "presetMatches");
|
|
2398
2398
|
|
|
2399
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2399
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/probe.js
|
|
2400
2400
|
var share = /* @__PURE__ */ __name((part, whole) => Math.round(part / whole * 100) / 100, "share");
|
|
2401
2401
|
var isSent = /* @__PURE__ */ __name((item) => item.labels?.includes("Sent") || /(^|\/)sent\b/i.test(item.folder ?? ""), "isSent");
|
|
2402
2402
|
var groupKey = /* @__PURE__ */ __name((headers) => headers.listId === void 0 ? `from:${headers.from}` : `list:${headers.listId}`, "groupKey");
|
|
@@ -2464,7 +2464,7 @@ var probeMail = /* @__PURE__ */ __name((items, limit, ages = /* @__PURE__ */ new
|
|
|
2464
2464
|
};
|
|
2465
2465
|
}, "probeMail");
|
|
2466
2466
|
|
|
2467
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2467
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/facts.js
|
|
2468
2468
|
var factsOf = /* @__PURE__ */ __name((listed2, rules, ages = /* @__PURE__ */ new Map()) => {
|
|
2469
2469
|
const grouped = rules.some(({ match }) => match.score_at_least !== void 0 || match.preset !== void 0);
|
|
2470
2470
|
if (!grouped)
|
|
@@ -7735,7 +7735,7 @@ var PostalMime = class _PostalMime {
|
|
|
7735
7735
|
}
|
|
7736
7736
|
};
|
|
7737
7737
|
|
|
7738
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/headers.js
|
|
7739
7739
|
var unfold = /* @__PURE__ */ __name((text2) => text2.replace(/\r?\n[ \t]+/g, " "), "unfold");
|
|
7740
7740
|
var field = /* @__PURE__ */ __name((unfolded, name) => new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "im").exec(unfolded)?.[1], "field");
|
|
7741
7741
|
var fieldsOf = /* @__PURE__ */ __name((unfolded, name) => [...unfolded.matchAll(new RegExp(`^${name}:[ \\t]*(.*?)\\r?$`, "gim"))].map(([, value]) => value), "fieldsOf");
|
|
@@ -7782,7 +7782,7 @@ var mailHeadersOf = /* @__PURE__ */ __name((raw) => {
|
|
|
7782
7782
|
};
|
|
7783
7783
|
}, "mailHeadersOf");
|
|
7784
7784
|
|
|
7785
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7785
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/parse.js
|
|
7786
7786
|
var MAX_BODY_CHARS = 1e6;
|
|
7787
7787
|
var MAX_ATTACHMENTS = 50;
|
|
7788
7788
|
var BRACKETED_ID = /<[^<>\s]+>/g;
|
|
@@ -7847,13 +7847,13 @@ var parseMail = /* @__PURE__ */ __name(async (raw, maxBodyChars = MAX_BODY_CHARS
|
|
|
7847
7847
|
};
|
|
7848
7848
|
}, "parseMail");
|
|
7849
7849
|
|
|
7850
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7850
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/partial.js
|
|
7851
7851
|
var PARTIAL = "partial";
|
|
7852
7852
|
|
|
7853
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/account-key.js
|
|
7854
7854
|
var mailAccountKey = /* @__PURE__ */ __name((address) => ({ provider: "email", account: address.toLowerCase() }), "mailAccountKey");
|
|
7855
7855
|
|
|
7856
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7856
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/rule-stored.js
|
|
7857
7857
|
var ACTION_OF = { full: "keep", envelope: "envelope", skip: "skip" };
|
|
7858
7858
|
var KINDS2 = {
|
|
7859
7859
|
from: "string",
|
|
@@ -7922,7 +7922,7 @@ var storedMailRuleSet = /* @__PURE__ */ __name(async (store, account, query) =>
|
|
|
7922
7922
|
}, "storedMailRuleSet");
|
|
7923
7923
|
var storedMailRules = /* @__PURE__ */ __name(async (store, account, query) => (await storedMailRuleSet(store, account, query)).rules, "storedMailRules");
|
|
7924
7924
|
|
|
7925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/rules.js
|
|
7926
7926
|
var DAY_MS = 24 * 60 * 60 * 1e3;
|
|
7927
7927
|
var domainOf = /* @__PURE__ */ __name((address) => address.slice(address.lastIndexOf("@") + 1), "domainOf");
|
|
7928
7928
|
var domainMatches = /* @__PURE__ */ __name((wanted2, sender) => {
|
|
@@ -7994,7 +7994,7 @@ var tagsOf = /* @__PURE__ */ __name((rules, facts) => {
|
|
|
7994
7994
|
}, "tagsOf");
|
|
7995
7995
|
var conditionKeys = /* @__PURE__ */ __name((match) => Object.keys(match).filter((key) => match[key] !== void 0).sort(), "conditionKeys");
|
|
7996
7996
|
|
|
7997
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
7997
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/rule-input.js
|
|
7998
7998
|
var STORE_ACTION = { keep: "full", envelope: "envelope", skip: "skip" };
|
|
7999
7999
|
var LOWER = ["from", "domain", "list_id", "subject"];
|
|
8000
8000
|
var conditionsOf = /* @__PURE__ */ __name((match) => Object.fromEntries(conditionKeys(match).map((key) => {
|
|
@@ -8024,7 +8024,7 @@ var ruleInput = /* @__PURE__ */ __name((rule, source = rule.source ?? "owner") =
|
|
|
8024
8024
|
decidedAt: decidedAtOf(rule.decided_at)
|
|
8025
8025
|
}), "ruleInput");
|
|
8026
8026
|
|
|
8027
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/rule-tags.js
|
|
8028
8028
|
var reuseOf = /* @__PURE__ */ __name((error) => {
|
|
8029
8029
|
const { details } = error;
|
|
8030
8030
|
return details?.reason === "tag-review.required" ? details.candidates?.[0]?.name : void 0;
|
|
@@ -8085,7 +8085,7 @@ var settleRuleTags = /* @__PURE__ */ __name(async (store, accountId, rules, outc
|
|
|
8085
8085
|
}
|
|
8086
8086
|
}, "settleRuleTags");
|
|
8087
8087
|
|
|
8088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8088
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/server-query.js
|
|
8089
8089
|
var DAY = 864e5;
|
|
8090
8090
|
var empty = /* @__PURE__ */ __name(() => ({ words: [], from: [], to: [], cc: [], subject: [], body: [] }), "empty");
|
|
8091
8091
|
var narrows = /* @__PURE__ */ __name((criteria) => criteria.words.length + criteria.from.length + criteria.to.length + criteria.cc.length + criteria.subject.length + criteria.body.length > 0 || criteria.since !== void 0 || criteria.before !== void 0 || criteria.seen !== void 0 || criteria.flagged !== void 0, "narrows");
|
|
@@ -8158,7 +8158,7 @@ var mailCriteriaOf = /* @__PURE__ */ __name((text2, { exact, timezone } = {}) =>
|
|
|
8158
8158
|
};
|
|
8159
8159
|
}, "mailCriteriaOf");
|
|
8160
8160
|
|
|
8161
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8161
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/server-search.js
|
|
8162
8162
|
var refusal = {
|
|
8163
8163
|
unsupported: "this mailbox's server cannot be searched \u2014 use --backend archive",
|
|
8164
8164
|
offline: "--backend server needs the network \u2014 not with --offline",
|
|
@@ -8373,7 +8373,7 @@ var searchMailServer = /* @__PURE__ */ __name(async (store, mailbox, access, req
|
|
|
8373
8373
|
return { report, sources };
|
|
8374
8374
|
}, "searchMailServer");
|
|
8375
8375
|
|
|
8376
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8376
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/cli/marks.js
|
|
8377
8377
|
var iso = /* @__PURE__ */ __name((ms) => ms === null ? null : new Date(ms).toISOString(), "iso");
|
|
8378
8378
|
var mailMark = strictObject({
|
|
8379
8379
|
holder: string(),
|
|
@@ -8471,7 +8471,7 @@ var resetMarkCommand = /* @__PURE__ */ __name((mail) => answerEntity(annotate(ne
|
|
|
8471
8471
|
});
|
|
8472
8472
|
}), "resetMarkCommand");
|
|
8473
8473
|
|
|
8474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8474
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/review.js
|
|
8475
8475
|
var REVIEW_THREADS = 50;
|
|
8476
8476
|
var REVIEW_PER_THREAD = 50;
|
|
8477
8477
|
var OWED_DAYS = 30;
|
|
@@ -8569,7 +8569,7 @@ var reviewMail = /* @__PURE__ */ __name(async (store, mailbox, options) => {
|
|
|
8569
8569
|
};
|
|
8570
8570
|
}, "reviewMail");
|
|
8571
8571
|
|
|
8572
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8572
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/cli/review.js
|
|
8573
8573
|
var DAY2 = 864e5;
|
|
8574
8574
|
var REVIEW_UNTRUSTED = [...SUMMARY_UNTRUSTED, ...MAIL_HIT_UNTRUSTED];
|
|
8575
8575
|
var MAIL_REVIEW_QUERY = defineQuery({
|
|
@@ -8851,7 +8851,7 @@ an agent over MCP, and each scheduled run.`).action(async function(query) {
|
|
|
8851
8851
|
saved?.save(found.checked ?? {}, found.complete ? { through: found.until } : {});
|
|
8852
8852
|
}), "mailReviewCommand");
|
|
8853
8853
|
|
|
8854
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8854
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/cli/bulk-settings.js
|
|
8855
8855
|
var listed = /* @__PURE__ */ __name((words2) => words2.join(", "), "listed");
|
|
8856
8856
|
var MAIL_BULK_SETTINGS = [
|
|
8857
8857
|
{
|
|
@@ -8907,7 +8907,7 @@ var bulkTriageOf = /* @__PURE__ */ __name((config) => {
|
|
|
8907
8907
|
};
|
|
8908
8908
|
}, "bulkTriageOf");
|
|
8909
8909
|
|
|
8910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
8910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/mail/cli/index.js
|
|
8911
8911
|
var absentAccount = /* @__PURE__ */ __name((error) => {
|
|
8912
8912
|
if (error instanceof CliError && error.code === "not_found")
|
|
8913
8913
|
return void 0;
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-ZVVMGPBJ.js";
|
|
10
10
|
|
|
11
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
11
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/errors/failures.js
|
|
12
12
|
var isCliFailure = /* @__PURE__ */ __name((value) => value instanceof Error && value.name === "CliError" && errorCodes.includes(value.code), "isCliFailure");
|
|
13
13
|
var isCommanderFailure = /* @__PURE__ */ __name((value) => {
|
|
14
14
|
const { code, exitCode } = value ?? {};
|
|
@@ -55,7 +55,7 @@ var damagedFile = /* @__PURE__ */ __name(async (files, work) => {
|
|
|
55
55
|
}, "damagedFile");
|
|
56
56
|
var isStoreDamage = /* @__PURE__ */ __name((error) => damageIn(error) !== void 0, "isStoreDamage");
|
|
57
57
|
|
|
58
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
58
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/runs/secrets.js
|
|
59
59
|
var SECRET_WORDS = /* @__PURE__ */ new Set([
|
|
60
60
|
"authorization",
|
|
61
61
|
"cookie",
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
SCHEMA_DIALECT,
|
|
5
|
+
commandContract,
|
|
6
|
+
commandPathOf,
|
|
7
|
+
findCommand,
|
|
8
|
+
outputOf
|
|
9
|
+
} from "./chunk-DP2RZ6FO.js";
|
|
10
|
+
import "./chunk-IHWPNLCI.js";
|
|
11
|
+
import "./chunk-SEIRBXJT.js";
|
|
12
|
+
import "./chunk-46Z7UUCG.js";
|
|
13
|
+
import "./chunk-RUHFWDHD.js";
|
|
14
|
+
import "./chunk-AWUANCLC.js";
|
|
15
|
+
import "./chunk-LQBVQX47.js";
|
|
16
|
+
import "./chunk-ZIDR2CSX.js";
|
|
17
|
+
import "./chunk-YJUVVYS6.js";
|
|
18
|
+
import "./chunk-CX3D6D43.js";
|
|
19
|
+
import "./chunk-G5GW3FFJ.js";
|
|
20
|
+
import "./chunk-A5TSIMI2.js";
|
|
21
|
+
import "./chunk-SB3AOH3M.js";
|
|
22
|
+
import "./chunk-DCK5AT3D.js";
|
|
23
|
+
import "./chunk-RK24IARI.js";
|
|
24
|
+
import "./chunk-5LEIPSJG.js";
|
|
25
|
+
import "./chunk-Y5E2WNWB.js";
|
|
26
|
+
import "./chunk-BA6GHX5B.js";
|
|
27
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
28
|
+
export {
|
|
29
|
+
SCHEMA_DIALECT,
|
|
30
|
+
commandContract,
|
|
31
|
+
commandPathOf,
|
|
32
|
+
findCommand,
|
|
33
|
+
outputOf
|
|
34
|
+
};
|
|
@@ -4,37 +4,37 @@ import {
|
|
|
4
4
|
COMMAND_SERVER_CONCURRENT,
|
|
5
5
|
enterCommandServer,
|
|
6
6
|
serveCommands
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-O4ZIN4AY.js";
|
|
8
|
+
import "./chunk-OP5MKU7T.js";
|
|
9
9
|
import {
|
|
10
10
|
ensureSqlite
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-TH3LLEA2.js";
|
|
12
|
+
import "./chunk-6ZO2ZVKV.js";
|
|
13
|
+
import "./chunk-CQPXUMIS.js";
|
|
14
|
+
import "./chunk-DP2RZ6FO.js";
|
|
15
15
|
import {
|
|
16
16
|
commandServerRequest,
|
|
17
17
|
exitCodeSet,
|
|
18
18
|
inCommandServerRequest
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-IHWPNLCI.js";
|
|
20
|
+
import "./chunk-SEIRBXJT.js";
|
|
21
|
+
import "./chunk-46Z7UUCG.js";
|
|
22
|
+
import "./chunk-RUHFWDHD.js";
|
|
23
|
+
import "./chunk-AWUANCLC.js";
|
|
24
24
|
import {
|
|
25
25
|
asOwnProcess
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-YABNPKKQ.js";
|
|
26
|
+
} from "./chunk-LQBVQX47.js";
|
|
27
|
+
import "./chunk-ZIDR2CSX.js";
|
|
28
|
+
import "./chunk-YJUVVYS6.js";
|
|
29
|
+
import "./chunk-CX3D6D43.js";
|
|
31
30
|
import "./chunk-G5GW3FFJ.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-A5TSIMI2.js";
|
|
32
|
+
import "./chunk-SB3AOH3M.js";
|
|
33
|
+
import "./chunk-DCK5AT3D.js";
|
|
34
34
|
import {
|
|
35
35
|
catchCrashes
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-RK24IARI.js";
|
|
37
|
+
import "./chunk-5LEIPSJG.js";
|
|
38
38
|
import "./chunk-Y5E2WNWB.js";
|
|
39
39
|
import {
|
|
40
40
|
CliError
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
__name
|
|
44
44
|
} from "./chunk-ZVVMGPBJ.js";
|
|
45
45
|
|
|
46
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
46
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/cli/command-server-entry.js
|
|
47
47
|
import { PassThrough } from "node:stream";
|
|
48
48
|
var route = /* @__PURE__ */ __name((stream, sink) => {
|
|
49
49
|
const original = stream.write;
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
decodeChannels,
|
|
7
7
|
formatOf,
|
|
8
8
|
runFfmpeg
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-Q5YM3JWV.js";
|
|
10
|
+
import "./chunk-CLZHPHKI.js";
|
|
11
|
+
import "./chunk-SB3AOH3M.js";
|
|
12
|
+
import "./chunk-DCK5AT3D.js";
|
|
13
|
+
import "./chunk-RK24IARI.js";
|
|
14
|
+
import "./chunk-5LEIPSJG.js";
|
|
15
15
|
import "./chunk-Y5E2WNWB.js";
|
|
16
16
|
import "./chunk-BA6GHX5B.js";
|
|
17
17
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -338,7 +338,7 @@ var runTool = /* @__PURE__ */ __name((path, args, context) => new Promise((resol
|
|
|
338
338
|
});
|
|
339
339
|
}), "runTool");
|
|
340
340
|
var fail = /* @__PURE__ */ __name(async (error, json, context) => {
|
|
341
|
-
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-
|
|
341
|
+
const { errorObjectOf, exitCodeOfError, renderError } = await import("./failure-ECNGLVHX.js");
|
|
342
342
|
const object = errorObjectOf(error);
|
|
343
343
|
context.stderr.write(`${renderError(object, { cli: "wcat", interactive: !json })}
|
|
344
344
|
`);
|
|
@@ -42399,7 +42399,7 @@ function install11(registers) {
|
|
|
42399
42399
|
}
|
|
42400
42400
|
__name(install11, "install");
|
|
42401
42401
|
|
|
42402
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42402
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/charts/echarts-option.js
|
|
42403
42403
|
var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
42404
42404
|
animation: false,
|
|
42405
42405
|
backgroundColor: "#111827",
|
|
@@ -42447,7 +42447,7 @@ var echartsOption = /* @__PURE__ */ __name((chart) => ({
|
|
|
42447
42447
|
} : {}
|
|
42448
42448
|
}), "echartsOption");
|
|
42449
42449
|
|
|
42450
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
42450
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/charts/echarts.js
|
|
42451
42451
|
use([install2, install, install6, install5, install10, install7, install11]);
|
|
42452
42452
|
var echartsRenderer = {
|
|
42453
42453
|
render: /* @__PURE__ */ __name(async (chart, size) => {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
truncated,
|
|
14
14
|
unit,
|
|
15
15
|
warmEmbedders
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-QOFD6JSB.js";
|
|
17
|
+
import "./chunk-CX3D6D43.js";
|
|
18
|
+
import "./chunk-A5TSIMI2.js";
|
|
19
|
+
import "./chunk-SB3AOH3M.js";
|
|
20
|
+
import "./chunk-DCK5AT3D.js";
|
|
21
|
+
import "./chunk-RK24IARI.js";
|
|
22
|
+
import "./chunk-5LEIPSJG.js";
|
|
23
23
|
import "./chunk-Y5E2WNWB.js";
|
|
24
24
|
import "./chunk-BA6GHX5B.js";
|
|
25
25
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
openSession,
|
|
5
5
|
truncated,
|
|
6
6
|
unit
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QOFD6JSB.js";
|
|
8
|
+
import "./chunk-CX3D6D43.js";
|
|
9
|
+
import "./chunk-A5TSIMI2.js";
|
|
10
|
+
import "./chunk-SB3AOH3M.js";
|
|
11
|
+
import "./chunk-DCK5AT3D.js";
|
|
12
|
+
import "./chunk-RK24IARI.js";
|
|
13
|
+
import "./chunk-5LEIPSJG.js";
|
|
14
14
|
import {
|
|
15
15
|
importFrom
|
|
16
16
|
} from "./chunk-Y5E2WNWB.js";
|
|
@@ -21,11 +21,11 @@ import {
|
|
|
21
21
|
__name
|
|
22
22
|
} from "./chunk-ZVVMGPBJ.js";
|
|
23
23
|
|
|
24
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
24
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
25
25
|
import { readFileSync } from "node:fs";
|
|
26
26
|
import { join } from "node:path";
|
|
27
27
|
|
|
28
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
28
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/images/picture/preprocess.js
|
|
29
29
|
var SIZE = 224;
|
|
30
30
|
var MEAN = [0.48145466, 0.4578275, 0.40821073];
|
|
31
31
|
var STD = [0.26862954, 0.26130258, 0.27577711];
|
|
@@ -64,7 +64,7 @@ var preprocess = /* @__PURE__ */ __name(async (bytes, load = importCanvas) => {
|
|
|
64
64
|
return pixels;
|
|
65
65
|
}, "preprocess");
|
|
66
66
|
|
|
67
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
67
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.633.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_6b55a08b64e6f66e5ab3a99b7d6b1e87/node_modules/@wirecat/cli-core/dist/images/picture/embedder.js
|
|
68
68
|
var openPictureEmbedder = /* @__PURE__ */ __name(async (model, directory, { threads = 4, canvas } = {}) => {
|
|
69
69
|
const { Tokenizer } = await importFrom(new URL("images/picture/embedder.js", import.meta.resolve("@wirecat/cli-core")).href, "@huggingface/tokenizers");
|
|
70
70
|
const path = /* @__PURE__ */ __name((name) => join(directory, model.id, name), "path");
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
firstRunAt,
|
|
5
5
|
openBrowser,
|
|
6
6
|
startCli
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-IE6AEPW3.js";
|
|
8
|
+
import "./chunk-TH3LLEA2.js";
|
|
9
|
+
import "./chunk-6ZO2ZVKV.js";
|
|
10
|
+
import "./chunk-CQPXUMIS.js";
|
|
11
|
+
import "./chunk-AWUANCLC.js";
|
|
12
|
+
import "./chunk-SB3AOH3M.js";
|
|
13
|
+
import "./chunk-DCK5AT3D.js";
|
|
14
|
+
import "./chunk-RK24IARI.js";
|
|
15
|
+
import "./chunk-5LEIPSJG.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
17
|
import "./chunk-BA6GHX5B.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
} from "./chunk-BPGYTJNB.js";
|
|
6
6
|
import {
|
|
7
7
|
APP
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XO6RP5FV.js";
|
|
9
9
|
import "./chunk-G5GW3FFJ.js";
|
|
10
10
|
import {
|
|
11
11
|
processStreams
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-SB3AOH3M.js";
|
|
13
|
+
import "./chunk-DCK5AT3D.js";
|
|
14
14
|
import {
|
|
15
15
|
errorObjectOf,
|
|
16
16
|
exitCodeOfError,
|
|
17
17
|
renderError
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-RK24IARI.js";
|
|
19
|
+
import "./chunk-5LEIPSJG.js";
|
|
20
20
|
import "./chunk-Y5E2WNWB.js";
|
|
21
21
|
import "./chunk-BA6GHX5B.js";
|
|
22
22
|
import {
|
|
@@ -34,9 +34,9 @@ var memoEntry = /* @__PURE__ */ __name((io) => {
|
|
|
34
34
|
reasons: APP.errors.reasons,
|
|
35
35
|
...io === void 0 ? {} : { io },
|
|
36
36
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
37
|
-
failure = await import("./failure-
|
|
38
|
-
const { createProgram, liftGroup, refuseJoinedPath } = await import("./program-
|
|
39
|
-
const { autoNotice, followInstall } = await import("./auto-
|
|
37
|
+
failure = await import("./failure-7RJ4HOL4.js");
|
|
38
|
+
const { createProgram, liftGroup, refuseJoinedPath } = await import("./program-5KVHPFJU.js");
|
|
39
|
+
const { autoNotice, followInstall } = await import("./auto-TRSJQGJH.js");
|
|
40
40
|
const lifting = createProgram({ signal: entry.signal, setExitCode: entry.setExitCode });
|
|
41
41
|
programs.set(entry, lifting);
|
|
42
42
|
const { group, rest: args } = await liftGroup(lifting, entry.args, entry.env);
|
|
@@ -47,7 +47,7 @@ var memoEntry = /* @__PURE__ */ __name((io) => {
|
|
|
47
47
|
if (notice2)
|
|
48
48
|
processStreams.diagnostic(notice2);
|
|
49
49
|
}
|
|
50
|
-
const { updateNotice } = await import("./update-
|
|
50
|
+
const { updateNotice } = await import("./update-QTZREQD6.js");
|
|
51
51
|
const notice = updateNotice(args);
|
|
52
52
|
program.hook("preAction", (_root, command) => entry.atStart(command));
|
|
53
53
|
failure.throwParseFailures(program);
|