@wirecat/cli-memo 0.131.76 → 0.131.78
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/bin/memo.js.map +1 -1
- package/dist/bundle/{all-profiles-CGQTLFDM.js → all-profiles-ZEUEPNFD.js} +10 -8
- package/dist/bundle/{anthropic-C744EPRR.js → anthropic-VF75LSDZ.js} +7 -5
- package/dist/bundle/{app-server-LOH7WXAB.js → app-server-Z4TY5VP5.js} +42 -40
- package/dist/bundle/auto-SA667UAT.js +91 -0
- package/dist/bundle/{bun-SQWZDSWT.js → bun-OUR5UZAI.js} +2 -2
- package/dist/bundle/{bun-sqlite-YVBFXNWB.js → bun-sqlite-26ZGEVH3.js} +7 -5
- package/dist/bundle/{chunk-2KGYREGD.js → chunk-22RYCAAO.js} +1604 -1114
- package/dist/bundle/{chunk-W46O6RJ5.js → chunk-2IQWMWMC.js} +42 -130
- package/dist/bundle/{chunk-4O2MYFYC.js → chunk-3EPBPSP6.js} +1 -1
- package/dist/bundle/{chunk-KEBL3PY4.js → chunk-3QBRLN6T.js} +2 -2
- package/dist/bundle/{chunk-Y7YXXWQI.js → chunk-3QV5JWFN.js} +3 -3
- package/dist/bundle/{chunk-LLBZDBPT.js → chunk-4LZLU2V3.js} +4 -4
- package/dist/bundle/{chunk-6RPLAGAL.js → chunk-5NBQOU5V.js} +22 -22
- package/dist/bundle/{chunk-AUCXJVUI.js → chunk-5PCPPT43.js} +34 -32
- package/dist/bundle/{chunk-VYCLOFPC.js → chunk-6A37YXAL.js} +6 -184
- package/dist/bundle/{chunk-3PLYUZAR.js → chunk-6ABWVQ4T.js} +1 -1
- package/dist/bundle/{chunk-NM4QMIOQ.js → chunk-6GHBGGN7.js} +3 -3
- package/dist/bundle/{chunk-RTSRESGX.js → chunk-7DKS4GIW.js} +6 -6
- package/dist/bundle/{chunk-RLRKBPLJ.js → chunk-7ENXMVT5.js} +25 -13
- package/dist/bundle/{chunk-KA5MDFLU.js → chunk-A3QZXQI3.js} +1 -1
- package/dist/bundle/{chunk-ZHAHSVQO.js → chunk-AZIXZIXT.js} +7 -7
- package/dist/bundle/{chunk-NE3UIK5P.js → chunk-B2ZAEF5Z.js} +2 -2
- package/dist/bundle/{chunk-2EZFUIL4.js → chunk-BA6GHX5B.js} +27 -27
- package/dist/bundle/{chunk-V6CRCAWN.js → chunk-D67YDJ35.js} +505 -305
- package/dist/bundle/{chunk-C7OOLF5J.js → chunk-DAEPTQ6N.js} +6 -6
- package/dist/bundle/{chunk-MODHP5VA.js → chunk-DDPZY27T.js} +22 -18
- package/dist/bundle/{chunk-YSOTOUHJ.js → chunk-E5JVYVRX.js} +15 -15
- package/dist/bundle/{chunk-HAMGOLFU.js → chunk-EF33DKMR.js} +1 -1
- package/dist/bundle/{chunk-N2FIIVJV.js → chunk-EI7LYQQA.js} +4 -4
- package/dist/bundle/{chunk-4DTJF6E7.js → chunk-EIQ6HCIB.js} +8 -8
- package/dist/bundle/{chunk-OEH5JUAL.js → chunk-ELKRFQ5Y.js} +13 -13
- package/dist/bundle/chunk-EXFRC4OT.js +106 -0
- package/dist/bundle/{chunk-EVLOYNXC.js → chunk-F7MKFYYP.js} +4 -4
- package/dist/bundle/{chunk-YRJ2576I.js → chunk-GXHPPHGB.js} +11 -11
- package/dist/bundle/{chunk-YNXQAB4X.js → chunk-H2AQV772.js} +11 -11
- package/dist/bundle/{chunk-KYLKZKQ7.js → chunk-I6CZU7X7.js} +2 -2
- package/dist/bundle/{chunk-TGURQ4YH.js → chunk-IFANDP3T.js} +8 -2
- package/dist/bundle/{chunk-MFQTOOHR.js → chunk-JHW2ARPA.js} +35 -35
- package/dist/bundle/{chunk-DUON3SRD.js → chunk-KUY35N7Q.js} +8 -8
- package/dist/bundle/{chunk-SF2OLWBU.js → chunk-LJRXD44C.js} +7 -7
- package/dist/bundle/{chunk-VFJAGY3L.js → chunk-MUFU4LNS.js} +3 -3
- package/dist/bundle/{chunk-3NCRQMEN.js → chunk-MW6IAMUI.js} +1 -1
- package/dist/bundle/{chunk-PFNEOHCY.js → chunk-N7CHOWDF.js} +3 -3
- package/dist/bundle/{chunk-S54Z74G2.js → chunk-NGWKI3E6.js} +2 -2
- package/dist/bundle/{chunk-ODCHYVTW.js → chunk-NXQFVHG4.js} +163 -154
- package/dist/bundle/{chunk-AI6PMW7L.js → chunk-OHMF7LWW.js} +6 -6
- package/dist/bundle/{chunk-XGPSFPLH.js → chunk-OMCET4QP.js} +48 -48
- package/dist/bundle/{chunk-YU7KZW5I.js → chunk-OMGNXKSH.js} +5 -5
- package/dist/bundle/{chunk-4IWOPJL4.js → chunk-OUATPEPP.js} +7 -7
- package/dist/bundle/{chunk-5NY7U6CM.js → chunk-P3UQGKGY.js} +12 -10
- package/dist/bundle/{chunk-DDSKTPU7.js → chunk-PTKJIA7M.js} +4 -4
- package/dist/bundle/{chunk-TD4HM7XL.js → chunk-Q2CQNT3A.js} +1 -1
- package/dist/bundle/{chunk-GB64N6DP.js → chunk-QEJHNTCX.js} +298 -297
- package/dist/bundle/{chunk-FUATAPSB.js → chunk-QU7UPCW2.js} +83 -81
- package/dist/bundle/{chunk-TPWAXJUQ.js → chunk-T37LLOZR.js} +1 -1
- package/dist/bundle/{chunk-OJU774SG.js → chunk-T6LXUBXY.js} +4 -4
- package/dist/bundle/{chunk-TXVXEE7L.js → chunk-TT5RMHM6.js} +6 -6
- package/dist/bundle/{chunk-Z3NRIW4M.js → chunk-TWWYDJBW.js} +1 -1
- package/dist/bundle/{chunk-ZIA7AU7L.js → chunk-UIJBGS6K.js} +2 -2
- package/dist/bundle/{chunk-7PSGKP3R.js → chunk-UWF6WXM7.js} +8 -8
- package/dist/bundle/{chunk-FH753LZS.js → chunk-VHA3LJQT.js} +2 -2
- package/dist/bundle/{chunk-GBU4U55M.js → chunk-VJLJFLKZ.js} +1 -1
- package/dist/bundle/{chunk-H3WELZYK.js → chunk-WETWQO6X.js} +3 -3
- package/dist/bundle/{chunk-7OZEQIK7.js → chunk-WHMKYJZR.js} +1 -1
- package/dist/bundle/{chunk-7XFJRX6F.js → chunk-WHZJHUK6.js} +3 -3
- package/dist/bundle/{chunk-W5ARY4U2.js → chunk-WYSFOL74.js} +4 -4
- package/dist/bundle/chunk-X2SA73EE.js +200 -0
- package/dist/bundle/{chunk-47WS4BML.js → chunk-XC26CUGL.js} +12 -10
- package/dist/bundle/{chunk-6YRVBXFH.js → chunk-XTCN3VUP.js} +10 -10
- package/dist/bundle/{chunk-O3KNZVDZ.js → chunk-Y2J52Y3A.js} +4 -4
- package/dist/bundle/{chunk-42UNPXTC.js → chunk-YOM4PA3A.js} +2 -2
- package/dist/bundle/{chunk-YD7XTYEC.js → chunk-Z4TPRASF.js} +6 -6
- package/dist/bundle/{chunk-5AQIET5P.js → chunk-ZKCAR2OL.js} +2 -2
- package/dist/bundle/command-contract-L5GTW74N.js +34 -0
- package/dist/bundle/{command-server-entry-472XWNSN.js → command-server-entry-A7ZCZWHH.js} +22 -20
- package/dist/bundle/{decode-SFZ67QJN.js → decode-FO2ELPW6.js} +7 -5
- package/dist/bundle/{dispatch-PHB2Y6ZL.js → dispatch-N73TJNYM.js} +3 -3
- package/dist/bundle/{echarts-3U34KH7O.js → echarts-HTY3OB2X.js} +2 -2
- package/dist/bundle/{embed-ZEZXJ45Q.js → embed-2DTGMR7Z.js} +8 -6
- package/dist/bundle/{embedder-AASO2I4Z.js → embedder-N3IGQ2M6.js} +11 -9
- package/dist/bundle/entry-Q7CIJ3TU.js +23 -0
- package/dist/bundle/entry-YDEKGRCA.js +78 -0
- package/dist/bundle/{failure-OBT7CUVW.js → failure-IPHFR3KW.js} +3 -2
- package/dist/bundle/failure-QL3RJILP.js +71 -0
- package/dist/bundle/{first-run-YL3TIUU3.js → first-run-SAADMYEA.js} +11 -9
- package/dist/bundle/first-screen-WXKAIMY6.js +32 -0
- package/dist/bundle/{instructions-HG2ZZ7AP.js → instructions-XB5Y5DFA.js} +1 -1
- package/dist/bundle/mcp-IRJS472M.js +92 -0
- package/dist/bundle/memo.js +9 -56
- package/dist/bundle/{node-7AQN6OTR.js → node-4ZOD7X75.js} +2 -2
- package/dist/bundle/{node-sqlite-55KMFPGI.js → node-sqlite-DWXKYFW6.js} +8 -6
- package/dist/bundle/{oauth-S2GLD4PY.js → oauth-GMIBNJQB.js} +9 -7
- package/dist/bundle/{open-6R4UPST5.js → open-3DBI3MHV.js} +7 -5
- package/dist/bundle/openai-HFJAR7W5.js +26 -0
- package/dist/bundle/{process-C7J3IT7Q.js → process-2H5HNPHH.js} +1 -1
- package/dist/bundle/{program-KWI6M5IB.js → program-VXKN6DLP.js} +300 -149
- package/dist/bundle/{prompt-EEFKVWSA.js → prompt-WETKFAQS.js} +7 -5
- package/dist/bundle/{recognize-STYHVWQ6.js → recognize-5LC3DQ2W.js} +6 -4
- package/dist/bundle/{remote-6MXZXHYY.js → remote-FURTWZ25.js} +9 -7
- package/dist/bundle/{rerank-IMX2ONZG.js → rerank-CMQWT3WC.js} +9 -7
- package/dist/bundle/serve-LEF3PX34.js +24 -0
- package/dist/bundle/server-C2EVLJLW.js +64 -0
- package/dist/bundle/{server-L6OS2MJ5.js → server-GYLFN6Y7.js} +62 -59
- package/dist/bundle/server-L7GHFXJF.js +50 -0
- package/dist/bundle/{state-7MP4KKPG.js → state-OVZT24JF.js} +8 -6
- package/dist/bundle/{store-EMAKEEYI.js → store-SV46T732.js} +14 -12
- package/dist/bundle/store-maintenance-command-TZYC5HVL.js +49 -0
- package/dist/bundle/update-PRBIV3RG.js +74 -0
- 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/identities-command.d.ts.map +1 -1
- package/dist/people/identities-command.js +2 -0
- package/dist/people/identities-command.js.map +1 -1
- package/dist/reasons.d.ts.map +1 -1
- package/dist/reasons.js +6 -0
- package/dist/reasons.js.map +1 -1
- package/dist/run/entry.d.ts +7 -0
- package/dist/run/entry.d.ts.map +1 -0
- package/dist/run/entry.js +62 -0
- package/dist/run/entry.js.map +1 -0
- package/dist/sources/command.d.ts.map +1 -1
- package/dist/sources/command.js +29 -3
- package/dist/sources/command.js.map +1 -1
- package/dist/sources/read.d.ts +16 -2
- package/dist/sources/read.d.ts.map +1 -1
- package/dist/sources/read.js +40 -4
- package/dist/sources/read.js.map +1 -1
- package/dist/sources/readers/ai-model.d.ts +4 -0
- package/dist/sources/readers/ai-model.d.ts.map +1 -0
- package/dist/sources/readers/ai-model.js +74 -0
- package/dist/sources/readers/ai-model.js.map +1 -0
- package/dist/sources/readers/index.d.ts +1 -0
- package/dist/sources/readers/index.d.ts.map +1 -1
- package/dist/sources/readers/index.js +3 -1
- package/dist/sources/readers/index.js.map +1 -1
- package/dist/sources/readers/keys.js +1 -1
- package/dist/sources/readers/keys.js.map +1 -1
- package/dist/sources/readers/types.d.ts +5 -2
- package/dist/sources/readers/types.d.ts.map +1 -1
- package/dist/sources/readers/types.js +1 -1
- package/dist/sources/readers/types.js.map +1 -1
- package/dist/sources/suggest-command.d.ts.map +1 -1
- package/dist/sources/suggest-command.js +16 -5
- package/dist/sources/suggest-command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/dist/bundle/auto-R3ABUML7.js +0 -89
- package/dist/bundle/command-contract-IEUSFI3B.js +0 -32
- package/dist/bundle/entry-7VHMR3LD.js +0 -21
- package/dist/bundle/failure-DJSK3LGN.js +0 -69
- package/dist/bundle/first-screen-OQVOWRYM.js +0 -30
- package/dist/bundle/mcp-EUFDOVMI.js +0 -90
- package/dist/bundle/openai-JK5GCSDK.js +0 -24
- package/dist/bundle/serve-ZNN464BH.js +0 -22
- package/dist/bundle/server-4CHUUMVI.js +0 -48
- package/dist/bundle/server-VCZCAQOB.js +0 -62
- package/dist/bundle/store-maintenance-command-LWN6OUFA.js +0 -47
- package/dist/bundle/update-I4X2UO6J.js +0 -72
- /package/dist/bundle/{chunk-IKIYW7FW.js → chunk-DK3W4FPW.js} +0 -0
|
@@ -2,19 +2,19 @@ import { createRequire as __bundleRequire } from "node:module";
|
|
|
2
2
|
const require = __bundleRequire(import.meta.url);
|
|
3
3
|
import {
|
|
4
4
|
loadConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-JHW2ARPA.js";
|
|
6
6
|
import {
|
|
7
7
|
upgradeCommand
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-D67YDJ35.js";
|
|
9
9
|
import {
|
|
10
10
|
latestVersion,
|
|
11
11
|
runUpdate,
|
|
12
12
|
updateNotice
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3QBRLN6T.js";
|
|
14
14
|
import {
|
|
15
15
|
APP,
|
|
16
16
|
VERSION
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IFANDP3T.js";
|
|
18
18
|
import {
|
|
19
19
|
installerOf
|
|
20
20
|
} from "./chunk-NT5IOEEK.js";
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
FETCH,
|
|
23
23
|
annotate,
|
|
24
24
|
overrideSharedContract
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NXQFVHG4.js";
|
|
26
26
|
import {
|
|
27
27
|
createRenderer,
|
|
28
28
|
resolvePaths
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2IQWMWMC.js";
|
|
30
30
|
import {
|
|
31
31
|
__name
|
|
32
32
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// dist/update.js
|
|
35
35
|
import { join } from "node:path";
|
|
36
36
|
|
|
37
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
37
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/update/index.js
|
|
38
38
|
import { realpathSync } from "node:fs";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
40
|
var QUIET_WORDS = [
|
|
@@ -7,12 +7,12 @@ import {
|
|
|
7
7
|
agentOf,
|
|
8
8
|
clientHash,
|
|
9
9
|
currentCaller
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LJRXD44C.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.630.0_@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_type_1b546a322b3713cdbc9690b4e675a304/node_modules/@wirecat/cli-core/dist/mcp/caller.js
|
|
16
16
|
var callingAgent = /* @__PURE__ */ __name((fallback, caller = currentCaller()) => {
|
|
17
17
|
const client = caller?.agent?.client?.name;
|
|
18
18
|
if (client && client !== "unknown")
|
|
@@ -4,6 +4,30 @@ import {
|
|
|
4
4
|
__name
|
|
5
5
|
} from "./chunk-ZVVMGPBJ.js";
|
|
6
6
|
|
|
7
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
8
|
+
var CONTROL = (
|
|
9
|
+
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
10
|
+
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
11
|
+
);
|
|
12
|
+
var SUBDIVISION_FLAG = /\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}/gu;
|
|
13
|
+
var LINE_BREAKS = /[\t\n\u2028\u2029]/g;
|
|
14
|
+
var escaped = /* @__PURE__ */ __name((c) => {
|
|
15
|
+
const code = c.codePointAt(0) ?? 0;
|
|
16
|
+
if (code > 65535)
|
|
17
|
+
return `\\u{${code.toString(16)}}`;
|
|
18
|
+
return code > 255 ? `\\u${code.toString(16).padStart(4, "0")}` : `\\x${code.toString(16).padStart(2, "0")}`;
|
|
19
|
+
}, "escaped");
|
|
20
|
+
var visibleControls = /* @__PURE__ */ __name((text) => {
|
|
21
|
+
let at = 0;
|
|
22
|
+
let result = "";
|
|
23
|
+
for (const flag of text.matchAll(SUBDIVISION_FLAG)) {
|
|
24
|
+
result += text.slice(at, flag.index).replace(CONTROL, escaped) + flag[0];
|
|
25
|
+
at = flag.index + flag[0].length;
|
|
26
|
+
}
|
|
27
|
+
return result + text.slice(at).replace(CONTROL, escaped);
|
|
28
|
+
}, "visibleControls");
|
|
29
|
+
var singleLine = /* @__PURE__ */ __name((text) => visibleControls(text).replace(LINE_BREAKS, escaped), "singleLine");
|
|
30
|
+
|
|
7
31
|
// node_modules/.pnpm/@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/errors.js
|
|
8
32
|
var errorCodes = [
|
|
9
33
|
"validation_error",
|
|
@@ -39,34 +63,10 @@ var CliError = class extends Error {
|
|
|
39
63
|
};
|
|
40
64
|
var isCliError = /* @__PURE__ */ __name((value) => typeof value === "object" && value !== null && value[BRAND] === true, "isCliError");
|
|
41
65
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.95.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/sanitize.js
|
|
43
|
-
var CONTROL = (
|
|
44
|
-
// biome-ignore lint/suspicious/noControlCharactersInRegex: matching them is the whole point
|
|
45
|
-
/[\u0000-\u0008\u000B-\u001F\u007F-\u009F\u200B\u200E\u200F\u202A-\u202E\u2066-\u2069\uFEFF\u{E0000}-\u{E007F}]/gu
|
|
46
|
-
);
|
|
47
|
-
var SUBDIVISION_FLAG = /\u{1F3F4}[\u{E0061}-\u{E007A}]{2}[\u{E0030}-\u{E0039}\u{E0061}-\u{E007A}]{1,3}\u{E007F}/gu;
|
|
48
|
-
var LINE_BREAKS = /[\t\n\u2028\u2029]/g;
|
|
49
|
-
var escaped = /* @__PURE__ */ __name((c) => {
|
|
50
|
-
const code = c.codePointAt(0) ?? 0;
|
|
51
|
-
if (code > 65535)
|
|
52
|
-
return `\\u{${code.toString(16)}}`;
|
|
53
|
-
return code > 255 ? `\\u${code.toString(16).padStart(4, "0")}` : `\\x${code.toString(16).padStart(2, "0")}`;
|
|
54
|
-
}, "escaped");
|
|
55
|
-
var visibleControls = /* @__PURE__ */ __name((text) => {
|
|
56
|
-
let at = 0;
|
|
57
|
-
let result = "";
|
|
58
|
-
for (const flag of text.matchAll(SUBDIVISION_FLAG)) {
|
|
59
|
-
result += text.slice(at, flag.index).replace(CONTROL, escaped) + flag[0];
|
|
60
|
-
at = flag.index + flag[0].length;
|
|
61
|
-
}
|
|
62
|
-
return result + text.slice(at).replace(CONTROL, escaped);
|
|
63
|
-
}, "visibleControls");
|
|
64
|
-
var singleLine = /* @__PURE__ */ __name((text) => visibleControls(text).replace(LINE_BREAKS, escaped), "singleLine");
|
|
65
|
-
|
|
66
66
|
export {
|
|
67
|
+
visibleControls,
|
|
68
|
+
singleLine,
|
|
67
69
|
errorCodes,
|
|
68
70
|
CliError,
|
|
69
|
-
isCliError
|
|
70
|
-
visibleControls,
|
|
71
|
-
singleLine
|
|
71
|
+
isCliError
|
|
72
72
|
};
|