@wirecat/cli-memo 0.131.50 → 0.131.51
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/author.d.ts +6 -3
- package/dist/author.d.ts.map +1 -1
- package/dist/author.js +9 -4
- package/dist/author.js.map +1 -1
- package/dist/bin/memo.js +2 -2
- package/dist/bundle/{all-profiles-3HADTQZA.js → all-profiles-3R3VE3W2.js} +9 -9
- package/dist/bundle/{anthropic-RI4DWC3G.js → anthropic-QVYJRACM.js} +6 -6
- package/dist/bundle/{app-server-6EKWAYJI.js → app-server-T3D2PIGZ.js} +42 -42
- package/dist/bundle/auto-XJCSM7WE.js +86 -0
- package/dist/bundle/{bun-HUHQD76Z.js → bun-DTDD2OHK.js} +2 -2
- package/dist/bundle/{bun-sqlite-RPSKGB4O.js → bun-sqlite-DWICJAH3.js} +5 -5
- package/dist/bundle/{chunk-NTQUBSIJ.js → chunk-3OL3QRFS.js} +6 -6
- package/dist/bundle/{chunk-2HPYP3ZT.js → chunk-4A6JOJLR.js} +4 -4
- package/dist/bundle/{chunk-EJDV5IIF.js → chunk-4GWFRZ2U.js} +1 -1
- package/dist/bundle/{chunk-LZWXGO3G.js → chunk-4MWP6Z3W.js} +2 -2
- package/dist/bundle/{chunk-Y6VH7IRN.js → chunk-4RHIJMRX.js} +29 -29
- package/dist/bundle/{chunk-BXTDAGM4.js → chunk-4ZW6ZJ2V.js} +2 -2
- package/dist/bundle/{chunk-ZA7FKGB7.js → chunk-526KVXRI.js} +2 -2
- package/dist/bundle/{chunk-OT23U5LT.js → chunk-56BBTOS2.js} +2 -2
- package/dist/bundle/{chunk-QCPUC3HW.js → chunk-5JY464PN.js} +13 -13
- package/dist/bundle/{chunk-57LMWEDK.js → chunk-5ZGOT57S.js} +3 -3
- package/dist/bundle/{chunk-EBNNONF5.js → chunk-64JCY7XJ.js} +8 -8
- package/dist/bundle/{chunk-3BG5VYMV.js → chunk-66A646SL.js} +10 -10
- package/dist/bundle/{chunk-VW6BF6M7.js → chunk-6G53ZFUT.js} +1 -1
- package/dist/bundle/{chunk-UDJTRFRV.js → chunk-6MEVHKIO.js} +1 -1
- package/dist/bundle/{chunk-UAR6UMFL.js → chunk-6O37NSG6.js} +5 -5
- package/dist/bundle/{chunk-7ZLOZGIC.js → chunk-7C3MP5LH.js} +6 -6
- package/dist/bundle/{chunk-PJMGQJAX.js → chunk-AEVTXHTY.js} +7 -7
- package/dist/bundle/{chunk-V2DMJ6ES.js → chunk-AWLAMVNY.js} +6 -6
- package/dist/bundle/{chunk-P2TISY3R.js → chunk-BUHTAMPF.js} +1 -1
- package/dist/bundle/{chunk-AKD62EUH.js → chunk-CPLYNBAJ.js} +2 -2
- package/dist/bundle/{chunk-RYMYE5PF.js → chunk-CZOBBAXM.js} +8 -8
- package/dist/bundle/{chunk-SSPSNSC5.js → chunk-E3WIMCV5.js} +1 -1
- package/dist/bundle/{chunk-IXXBPSXO.js → chunk-E7TMOUWZ.js} +2 -2
- package/dist/bundle/{chunk-QOGYHU3Q.js → chunk-EBDX6DNB.js} +61 -21
- package/dist/bundle/{chunk-6N6BVPVX.js → chunk-ECLBZGWI.js} +4 -4
- package/dist/bundle/{chunk-O3KOW7RG.js → chunk-ETD2DRJD.js} +8 -8
- package/dist/bundle/{chunk-HXOAPH47.js → chunk-FJ3DAE4M.js} +1 -1
- package/dist/bundle/{chunk-GIDZGGAD.js → chunk-FZ4GVE36.js} +4 -4
- package/dist/bundle/{chunk-KVOHC4ZM.js → chunk-GBWOMPZ7.js} +4 -4
- package/dist/bundle/{chunk-PYRHU35W.js → chunk-GSCGRBEQ.js} +155 -155
- package/dist/bundle/{chunk-ND6D4A6H.js → chunk-H65NWA3X.js} +3 -3
- package/dist/bundle/{chunk-4VQPPX47.js → chunk-H7RSMNHL.js} +263 -263
- package/dist/bundle/{chunk-D5KGXYG6.js → chunk-HRLQQLVD.js} +22 -22
- package/dist/bundle/{chunk-P3ASN72F.js → chunk-IK6KH3RE.js} +1 -1
- package/dist/bundle/{chunk-ZDHNEYKO.js → chunk-JBSMBHTM.js} +8 -8
- package/dist/bundle/{chunk-HCMXUHHF.js → chunk-JCNBJ3FN.js} +66 -66
- package/dist/bundle/{chunk-5RVL7GYA.js → chunk-JINNS3FI.js} +2 -2
- package/dist/bundle/{chunk-RKFKRCOH.js → chunk-LYUVULFK.js} +260 -260
- package/dist/bundle/{chunk-FOM7WE2C.js → chunk-MVV32ZTO.js} +9 -9
- package/dist/bundle/{chunk-7RNHFNHX.js → chunk-MZMJALJT.js} +4 -4
- package/dist/bundle/{chunk-XXGBXCBQ.js → chunk-N3UA5PO4.js} +11 -11
- package/dist/bundle/{chunk-355PHJYX.js → chunk-O5UP2KZL.js} +1 -1
- package/dist/bundle/{chunk-XZZFHQGM.js → chunk-O5Z74SBZ.js} +22 -22
- package/dist/bundle/{chunk-P2LMXIHL.js → chunk-OBVKXHOH.js} +291 -291
- package/dist/bundle/{chunk-DJRBSOWH.js → chunk-OJFRMK2W.js} +4 -4
- package/dist/bundle/{chunk-2MFBZ2UM.js → chunk-PNNM72BO.js} +5 -5
- package/dist/bundle/{chunk-S7F4ZDFU.js → chunk-PWYCF76F.js} +3 -3
- package/dist/bundle/{chunk-2OIGV355.js → chunk-PX2B5ZRL.js} +50 -50
- package/dist/bundle/{chunk-5JVA43HX.js → chunk-QFC7V5VW.js} +6 -6
- package/dist/bundle/{chunk-NJDGZRF5.js → chunk-QIFK3EZM.js} +14 -14
- package/dist/bundle/{chunk-DVA6MQWK.js → chunk-REROHDUR.js} +1 -1
- package/dist/bundle/{chunk-LUPJB7ZD.js → chunk-RL2DSQCD.js} +9 -9
- package/dist/bundle/{chunk-UJLYVXP6.js → chunk-ROP27ZJU.js} +34 -34
- package/dist/bundle/{chunk-N6IHOYMT.js → chunk-SXVPRYEF.js} +161 -36
- package/dist/bundle/{chunk-GV6XJMUW.js → chunk-UDAATSWZ.js} +12 -12
- package/dist/bundle/{chunk-XH6K2B5L.js → chunk-UQ2OA6EM.js} +4 -4
- package/dist/bundle/{chunk-TSUNLSIN.js → chunk-V3TELYLZ.js} +2 -2
- package/dist/bundle/{chunk-O3ZOYXH3.js → chunk-WLKDS65F.js} +20 -20
- package/dist/bundle/{chunk-W6JQNNJ5.js → chunk-WPW6ULD7.js} +3 -3
- package/dist/bundle/{chunk-PEYCLVIO.js → chunk-XGNNI3S3.js} +2 -2
- package/dist/bundle/{chunk-PUTGTW6W.js → chunk-XN5YDZY7.js} +1 -1
- package/dist/bundle/{chunk-SLIF5EMS.js → chunk-YPLKNKAD.js} +7 -7
- package/dist/bundle/{chunk-QCRJNWJZ.js → chunk-YZB5IL4L.js} +3 -3
- package/dist/bundle/{chunk-5TWUUDKP.js → chunk-ZC2LNXGO.js} +2 -2
- package/dist/bundle/command-contract-OTVOQLZS.js +32 -0
- package/dist/bundle/{decode-IYWZ3X7X.js → decode-ISKRNDDM.js} +5 -5
- package/dist/bundle/{dispatch-HCRXCPCF.js → dispatch-W4ZVXTJT.js} +10 -10
- package/dist/bundle/{echarts-5LLJ6JXC.js → echarts-TINXXXCB.js} +2 -2
- package/dist/bundle/{embed-EGY2R4FN.js → embed-R2KJDGEX.js} +6 -6
- package/dist/bundle/{embedder-K2BGPWNX.js → embedder-X2Y5RLKE.js} +9 -9
- package/dist/bundle/{entry-NMAZNDNU.js → entry-2MUKT36Z.js} +7 -7
- package/dist/bundle/{failure-G4DCTWFD.js → failure-GQHAQVGH.js} +2 -2
- package/dist/bundle/failure-KYUARIL2.js +66 -0
- package/dist/bundle/{first-run-QDCSWX3N.js → first-run-6BSAM4BD.js} +11 -11
- package/dist/bundle/first-screen-ALXB4ONR.js +30 -0
- package/dist/bundle/{instructions-P72XX4AK.js → instructions-E5NBM2NJ.js} +1 -1
- package/dist/bundle/{mcp-M4QN2E7R.js → mcp-RKJG22KM.js} +2 -2
- package/dist/bundle/mcp-YUPBMZPV.js +90 -0
- package/dist/bundle/memo.js +41 -17
- package/dist/bundle/{node-ZB4RNICS.js → node-NBHZ4XWV.js} +2 -2
- package/dist/bundle/{node-sqlite-7XJ4J4E5.js → node-sqlite-3CBWCPNC.js} +6 -6
- package/dist/bundle/{oauth-FMH3JIPT.js → oauth-L5XC2THD.js} +7 -7
- package/dist/bundle/{open-PRCTOHHL.js → open-WR6QQPVB.js} +5 -5
- package/dist/bundle/{openai-VW4W6SIO.js → openai-MCPELYCJ.js} +10 -10
- package/dist/bundle/{process-XNN4WG6N.js → process-EAEC2FBD.js} +1 -1
- package/dist/bundle/{program-TVT22XUQ.js → program-WKKBFQIW.js} +68 -63
- package/dist/bundle/{prompt-RT55UZGB.js → prompt-M4Z35LQ5.js} +5 -5
- package/dist/bundle/{recognize-AQ2UXUC2.js → recognize-VT6NKW6D.js} +4 -4
- package/dist/bundle/{remote-T3P5OWRR.js → remote-6QTPH5PJ.js} +7 -7
- package/dist/bundle/{rerank-743T3675.js → rerank-MJYLXZ4K.js} +7 -7
- package/dist/bundle/{serve-BSKOU4FJ.js → serve-KQ6OL3OH.js} +9 -9
- package/dist/bundle/server-AVAJTC5G.js +61 -0
- package/dist/bundle/server-QAFF3RP5.js +48 -0
- package/dist/bundle/{server-ECOTCYJ3.js → server-UJIH2SBV.js} +58 -58
- package/dist/bundle/{state-MDMI3I2Z.js → state-2PDCOSJN.js} +6 -6
- package/dist/bundle/{store-I3DIZALN.js → store-SXYAS5EI.js} +13 -13
- package/dist/bundle/store-maintenance-command-ARTXRVYD.js +48 -0
- package/dist/bundle/update-MOZKRB2Z.js +69 -0
- package/dist/mcp/catalogue.js +1 -1
- package/dist/mcp/catalogue.js.map +1 -1
- package/dist/people/command.d.ts.map +1 -1
- package/dist/people/command.js +3 -1
- package/dist/people/command.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/cli-memo/SKILL.md +1 -1
- package/skills/cli-memo/topics/proposals.md +2 -2
- package/skills/mail-triage/SKILL.md +1 -1
- package/skills/morning-digest/SKILL.md +1 -1
- package/dist/bundle/auto-C7G3WVRU.js +0 -86
- package/dist/bundle/command-contract-MRLLZQ4M.js +0 -32
- package/dist/bundle/failure-FW4NJI7G.js +0 -66
- package/dist/bundle/first-screen-YABO6OZ7.js +0 -30
- package/dist/bundle/mcp-QRZ2HSON.js +0 -90
- package/dist/bundle/server-VMWVYGK7.js +0 -48
- package/dist/bundle/server-ZFHSK6TT.js +0 -61
- package/dist/bundle/store-maintenance-command-HZPQPOK7.js +0 -48
- package/dist/bundle/update-ZIZAU5RE.js +0 -69
- /package/dist/bundle/{chunk-CDFNOKPG.js → chunk-4ZSY3MKL.js} +0 -0
- /package/dist/bundle/{chunk-VOXIGICJ.js → chunk-SW6C6WH5.js} +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import {
|
|
4
|
+
WIRECAT_TOOLS,
|
|
5
|
+
firstScreen,
|
|
6
|
+
installHelp
|
|
7
|
+
} from "./chunk-ETD2DRJD.js";
|
|
8
|
+
import "./chunk-HTQTIKWP.js";
|
|
9
|
+
import "./chunk-FZ4GVE36.js";
|
|
10
|
+
import "./chunk-GSCGRBEQ.js";
|
|
11
|
+
import "./chunk-MVV32ZTO.js";
|
|
12
|
+
import "./chunk-OJFRMK2W.js";
|
|
13
|
+
import "./chunk-56BBTOS2.js";
|
|
14
|
+
import "./chunk-REROHDUR.js";
|
|
15
|
+
import "./chunk-JCNBJ3FN.js";
|
|
16
|
+
import "./chunk-4GWFRZ2U.js";
|
|
17
|
+
import "./chunk-AWLAMVNY.js";
|
|
18
|
+
import "./chunk-GBWOMPZ7.js";
|
|
19
|
+
import "./chunk-4MWP6Z3W.js";
|
|
20
|
+
import "./chunk-SW6C6WH5.js";
|
|
21
|
+
import "./chunk-WLKDS65F.js";
|
|
22
|
+
import "./chunk-64JCY7XJ.js";
|
|
23
|
+
import "./chunk-Y5E2WNWB.js";
|
|
24
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
25
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
26
|
+
export {
|
|
27
|
+
WIRECAT_TOOLS,
|
|
28
|
+
firstScreen,
|
|
29
|
+
installHelp
|
|
30
|
+
};
|
|
@@ -3,7 +3,7 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
executableEnvironment,
|
|
5
5
|
executableOnPath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6G53ZFUT.js";
|
|
7
7
|
import {
|
|
8
8
|
require_cross_spawn
|
|
9
9
|
} from "./chunk-D72URWJE.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
__toESM
|
|
13
13
|
} from "./chunk-ZVVMGPBJ.js";
|
|
14
14
|
|
|
15
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
15
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/mcp/index.js
|
|
16
16
|
var import_cross_spawn = __toESM(require_cross_spawn(), 1);
|
|
17
17
|
var realRun = /* @__PURE__ */ __name((file, args) => {
|
|
18
18
|
const result = import_cross_spawn.default.sync(executableOnPath(file, process.env), args, {
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { createRequire as __bundleRequire } from "node:module";
|
|
2
|
+
const require = __bundleRequire(import.meta.url);
|
|
3
|
+
import "./chunk-4ZSY3MKL.js";
|
|
4
|
+
import {
|
|
5
|
+
createBotServer
|
|
6
|
+
} from "./chunk-RL2DSQCD.js";
|
|
7
|
+
import "./chunk-O5UP2KZL.js";
|
|
8
|
+
import {
|
|
9
|
+
MCP_PATH,
|
|
10
|
+
serveOverHttp
|
|
11
|
+
} from "./chunk-6O37NSG6.js";
|
|
12
|
+
import "./chunk-E3WIMCV5.js";
|
|
13
|
+
import {
|
|
14
|
+
revokeAll
|
|
15
|
+
} from "./chunk-526KVXRI.js";
|
|
16
|
+
import {
|
|
17
|
+
registerCommands,
|
|
18
|
+
runCommandForAgent,
|
|
19
|
+
toolsFromCommands
|
|
20
|
+
} from "./chunk-SXVPRYEF.js";
|
|
21
|
+
import {
|
|
22
|
+
mcpUrlOf,
|
|
23
|
+
portOf,
|
|
24
|
+
publicUrlOf
|
|
25
|
+
} from "./chunk-E7TMOUWZ.js";
|
|
26
|
+
import "./chunk-QIFK3EZM.js";
|
|
27
|
+
import {
|
|
28
|
+
allProfilesServer,
|
|
29
|
+
serveAllProfilesOverHttp,
|
|
30
|
+
serveAllProfilesOverStdio
|
|
31
|
+
} from "./chunk-UQ2OA6EM.js";
|
|
32
|
+
import "./chunk-FJ3DAE4M.js";
|
|
33
|
+
import {
|
|
34
|
+
callingAgent
|
|
35
|
+
} from "./chunk-XGNNI3S3.js";
|
|
36
|
+
import "./chunk-MM5NVP7F.js";
|
|
37
|
+
import "./chunk-3X4JM3ZR.js";
|
|
38
|
+
import "./chunk-H3ZN4YLB.js";
|
|
39
|
+
import "./chunk-H7RSMNHL.js";
|
|
40
|
+
import "./chunk-5JY464PN.js";
|
|
41
|
+
import "./chunk-GSCGRBEQ.js";
|
|
42
|
+
import "./chunk-MVV32ZTO.js";
|
|
43
|
+
import "./chunk-MZMJALJT.js";
|
|
44
|
+
import "./chunk-6G53ZFUT.js";
|
|
45
|
+
import "./chunk-OJFRMK2W.js";
|
|
46
|
+
import "./chunk-56BBTOS2.js";
|
|
47
|
+
import {
|
|
48
|
+
httpLockFile
|
|
49
|
+
} from "./chunk-4A6JOJLR.js";
|
|
50
|
+
import "./chunk-PWYCF76F.js";
|
|
51
|
+
import "./chunk-REROHDUR.js";
|
|
52
|
+
import "./chunk-OBVKXHOH.js";
|
|
53
|
+
import "./chunk-JCNBJ3FN.js";
|
|
54
|
+
import "./chunk-4GWFRZ2U.js";
|
|
55
|
+
import "./chunk-CZOBBAXM.js";
|
|
56
|
+
import "./chunk-AWLAMVNY.js";
|
|
57
|
+
import "./chunk-CPLYNBAJ.js";
|
|
58
|
+
import "./chunk-JINNS3FI.js";
|
|
59
|
+
import "./chunk-YZB5IL4L.js";
|
|
60
|
+
import "./chunk-QFC7V5VW.js";
|
|
61
|
+
import "./chunk-GBWOMPZ7.js";
|
|
62
|
+
import "./chunk-4MWP6Z3W.js";
|
|
63
|
+
import "./chunk-IK6KH3RE.js";
|
|
64
|
+
import "./chunk-SW6C6WH5.js";
|
|
65
|
+
import "./chunk-D72URWJE.js";
|
|
66
|
+
import "./chunk-3OL3QRFS.js";
|
|
67
|
+
import "./chunk-XN5YDZY7.js";
|
|
68
|
+
import "./chunk-WLKDS65F.js";
|
|
69
|
+
import "./chunk-64JCY7XJ.js";
|
|
70
|
+
import "./chunk-Y5E2WNWB.js";
|
|
71
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
72
|
+
import "./chunk-BUHTAMPF.js";
|
|
73
|
+
import "./chunk-ZVVMGPBJ.js";
|
|
74
|
+
export {
|
|
75
|
+
MCP_PATH,
|
|
76
|
+
allProfilesServer,
|
|
77
|
+
callingAgent,
|
|
78
|
+
createBotServer,
|
|
79
|
+
httpLockFile,
|
|
80
|
+
mcpUrlOf,
|
|
81
|
+
portOf,
|
|
82
|
+
publicUrlOf,
|
|
83
|
+
registerCommands,
|
|
84
|
+
revokeAll,
|
|
85
|
+
runCommandForAgent,
|
|
86
|
+
serveAllProfilesOverHttp,
|
|
87
|
+
serveAllProfilesOverStdio,
|
|
88
|
+
serveOverHttp,
|
|
89
|
+
toolsFromCommands
|
|
90
|
+
};
|
package/dist/bundle/memo.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "./chunk-BPGYTJNB.js";
|
|
7
7
|
import {
|
|
8
8
|
APP
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZC2LNXGO.js";
|
|
10
10
|
import {
|
|
11
11
|
installerOf
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-IK6KH3RE.js";
|
|
13
|
+
import "./chunk-SW6C6WH5.js";
|
|
14
14
|
import {
|
|
15
15
|
DESCRIBE_FLAG,
|
|
16
16
|
DISPATCH_FLAG,
|
|
@@ -21,17 +21,17 @@ import {
|
|
|
21
21
|
fileState,
|
|
22
22
|
shimFiles,
|
|
23
23
|
writeShim
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EBDX6DNB.js";
|
|
25
25
|
import {
|
|
26
26
|
processStreams
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-WLKDS65F.js";
|
|
28
28
|
import {
|
|
29
29
|
errorObjectOf,
|
|
30
30
|
exitCodeOfError,
|
|
31
31
|
renderError
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-64JCY7XJ.js";
|
|
33
33
|
import "./chunk-Y5E2WNWB.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
35
35
|
import {
|
|
36
36
|
__name
|
|
37
37
|
} from "./chunk-ZVVMGPBJ.js";
|
|
@@ -39,10 +39,13 @@ import {
|
|
|
39
39
|
// dist/bin/memo.js
|
|
40
40
|
import { enableCompileCache } from "node:module";
|
|
41
41
|
|
|
42
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
42
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
43
|
+
import { createHash } from "node:crypto";
|
|
44
|
+
import { existsSync, readFileSync as readFileSync2, realpathSync } from "node:fs";
|
|
45
|
+
import { dirname as dirname2, join as join2 } from "node:path";
|
|
43
46
|
import { fileURLToPath } from "node:url";
|
|
44
47
|
|
|
45
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/launcher.js
|
|
46
49
|
import { readFileSync } from "node:fs";
|
|
47
50
|
import { basename, dirname, join, resolve } from "node:path";
|
|
48
51
|
var posix = /* @__PURE__ */ __name((path) => path.replaceAll("\\", "/"), "posix");
|
|
@@ -101,6 +104,8 @@ var installed = /* @__PURE__ */ __name((dir, program) => {
|
|
|
101
104
|
var NAME = "wcat";
|
|
102
105
|
var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
103
106
|
try {
|
|
107
|
+
if (!exists(join(dir, program)))
|
|
108
|
+
return "failed";
|
|
104
109
|
const mine = shimFiles("launcher", { dir, name: NAME, target: program, platform });
|
|
105
110
|
const states = mine.map((file) => fileState(file.path));
|
|
106
111
|
if (states.some((one) => one.state === "foreign"))
|
|
@@ -126,7 +131,7 @@ var ensureLauncher = /* @__PURE__ */ __name(({ dir, program, platform }) => {
|
|
|
126
131
|
}
|
|
127
132
|
}, "ensureLauncher");
|
|
128
133
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
134
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/wcat/start.js
|
|
130
135
|
var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
131
136
|
const argv = io.argv ?? process.argv;
|
|
132
137
|
const env = io.env ?? process.env;
|
|
@@ -134,12 +139,12 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
134
139
|
const stdout = io.stdout ?? process.stdout;
|
|
135
140
|
const [first, ...rest] = argv.slice(2);
|
|
136
141
|
if (first === DESCRIBE_FLAG) {
|
|
137
|
-
stdout.write(`${JSON.stringify(describeAnswer(tool))}
|
|
142
|
+
stdout.write(`${JSON.stringify(describeAnswer(tool, shippedManifest(argv[1])))}
|
|
138
143
|
`);
|
|
139
144
|
return { code: 0 };
|
|
140
145
|
}
|
|
141
146
|
if (first === DISPATCH_FLAG) {
|
|
142
|
-
const { runWcat } = await import("./dispatch-
|
|
147
|
+
const { runWcat } = await import("./dispatch-W4ZVXTJT.js");
|
|
143
148
|
const code = await runWcat(rest, { env, platform, stdout, stderr: io.stderr ?? process.stderr, self: tool });
|
|
144
149
|
return { code };
|
|
145
150
|
}
|
|
@@ -152,6 +157,25 @@ var wcatStart = /* @__PURE__ */ __name(async (tool, io = {}) => {
|
|
|
152
157
|
});
|
|
153
158
|
return folder ? { launcher: ensureLauncher({ ...folder, platform }) } : {};
|
|
154
159
|
}, "wcatStart");
|
|
160
|
+
var shippedManifest = /* @__PURE__ */ __name((bin) => {
|
|
161
|
+
if (!bin)
|
|
162
|
+
return void 0;
|
|
163
|
+
try {
|
|
164
|
+
for (let dir = dirname2(realpathSync(bin)); ; dir = dirname2(dir)) {
|
|
165
|
+
if (existsSync(join2(dir, "package.json"))) {
|
|
166
|
+
const bytes = readFileSync2(join2(dir, "contracts", "wirecat.json"));
|
|
167
|
+
const { wcat_manifest: format, desktop } = JSON.parse(bytes.toString("utf8"));
|
|
168
|
+
if (format !== 2 || typeof desktop !== "object" || desktop === null)
|
|
169
|
+
return void 0;
|
|
170
|
+
return { desktop, sha256: createHash("sha256").update(bytes).digest("hex") };
|
|
171
|
+
}
|
|
172
|
+
if (dirname2(dir) === dir)
|
|
173
|
+
return void 0;
|
|
174
|
+
}
|
|
175
|
+
} catch {
|
|
176
|
+
return void 0;
|
|
177
|
+
}
|
|
178
|
+
}, "shippedManifest");
|
|
155
179
|
|
|
156
180
|
// dist/bin/memo.js
|
|
157
181
|
enableCompileCache();
|
|
@@ -164,7 +188,7 @@ var wcat = await wcatStart({
|
|
|
164
188
|
if (wcat.code !== void 0) {
|
|
165
189
|
process.exitCode = wcat.code;
|
|
166
190
|
} else {
|
|
167
|
-
const { startCli } = await import("./entry-
|
|
191
|
+
const { startCli } = await import("./entry-2MUKT36Z.js");
|
|
168
192
|
let program;
|
|
169
193
|
let failure;
|
|
170
194
|
await startCli({
|
|
@@ -173,15 +197,15 @@ if (wcat.code !== void 0) {
|
|
|
173
197
|
interactive: interactiveOf,
|
|
174
198
|
reasons: APP.errors.reasons,
|
|
175
199
|
run: /* @__PURE__ */ __name(async (entry) => {
|
|
176
|
-
failure = await import("./failure-
|
|
177
|
-
const { createProgram, refuseJoinedPath } = await import("./program-
|
|
178
|
-
const { autoNotice, followInstall } = await import("./auto-
|
|
200
|
+
failure = await import("./failure-KYUARIL2.js");
|
|
201
|
+
const { createProgram, refuseJoinedPath } = await import("./program-WKKBFQIW.js");
|
|
202
|
+
const { autoNotice, followInstall } = await import("./auto-XJCSM7WE.js");
|
|
179
203
|
if (entry.args[0] !== "jobs") {
|
|
180
204
|
const notice2 = autoNotice(entry.env);
|
|
181
205
|
if (notice2)
|
|
182
206
|
processStreams.diagnostic(notice2);
|
|
183
207
|
}
|
|
184
|
-
const { updateNotice } = await import("./update-
|
|
208
|
+
const { updateNotice } = await import("./update-MOZKRB2Z.js");
|
|
185
209
|
const notice = updateNotice(entry.args);
|
|
186
210
|
program = createProgram({ signal: entry.signal });
|
|
187
211
|
program.hook("preAction", (_root, command) => entry.atStart(command));
|
|
@@ -18,12 +18,12 @@ import {
|
|
|
18
18
|
jitCompatCheck,
|
|
19
19
|
refineSqliteCodecs,
|
|
20
20
|
sql
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BUHTAMPF.js";
|
|
22
22
|
import {
|
|
23
23
|
__name
|
|
24
24
|
} from "./chunk-ZVVMGPBJ.js";
|
|
25
25
|
|
|
26
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
26
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/sqlite/drizzle/node.js
|
|
27
27
|
import { DatabaseSync } from "node:sqlite";
|
|
28
28
|
var nodeSQLiteCodecs = refineSqliteCodecs({
|
|
29
29
|
"integer:boolean": { normalize: booleanFromInteger },
|
|
@@ -3,20 +3,20 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
loadVectorExtension,
|
|
5
5
|
vectorExtension
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-V3TELYLZ.js";
|
|
7
7
|
import {
|
|
8
8
|
TIME_LIMIT_FUNCTION,
|
|
9
9
|
beforeTimeLimit
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-XN5YDZY7.js";
|
|
11
|
+
import "./chunk-WLKDS65F.js";
|
|
12
|
+
import "./chunk-64JCY7XJ.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
15
15
|
import {
|
|
16
16
|
__name
|
|
17
17
|
} from "./chunk-ZVVMGPBJ.js";
|
|
18
18
|
|
|
19
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
19
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/store/drivers/node-sqlite.js
|
|
20
20
|
import { DatabaseSync } from "node:sqlite";
|
|
21
21
|
var openWithNodeSqlite = /* @__PURE__ */ __name(async (path) => cacheOverNodeSqlite(await nodeClient(path)), "openWithNodeSqlite");
|
|
22
22
|
var nodeClient = /* @__PURE__ */ __name(async (path, { readOnly = false } = {}) => {
|
|
@@ -3,16 +3,16 @@ const require = __bundleRequire(import.meta.url);
|
|
|
3
3
|
import {
|
|
4
4
|
ownerLogin,
|
|
5
5
|
revokeAll
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-526KVXRI.js";
|
|
7
7
|
import "./chunk-3X4JM3ZR.js";
|
|
8
8
|
import "./chunk-H3ZN4YLB.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-4A6JOJLR.js";
|
|
10
|
+
import "./chunk-PWYCF76F.js";
|
|
11
|
+
import "./chunk-REROHDUR.js";
|
|
12
|
+
import "./chunk-WLKDS65F.js";
|
|
13
|
+
import "./chunk-64JCY7XJ.js";
|
|
14
14
|
import "./chunk-Y5E2WNWB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
16
16
|
import "./chunk-ZVVMGPBJ.js";
|
|
17
17
|
export {
|
|
18
18
|
ownerLogin,
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
openCache,
|
|
7
7
|
openFile,
|
|
8
8
|
storeCapable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-3OL3QRFS.js";
|
|
10
|
+
import "./chunk-XN5YDZY7.js";
|
|
11
|
+
import "./chunk-WLKDS65F.js";
|
|
12
|
+
import "./chunk-64JCY7XJ.js";
|
|
13
13
|
import "./chunk-Y5E2WNWB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
15
15
|
import "./chunk-ZVVMGPBJ.js";
|
|
16
16
|
export {
|
|
17
17
|
CAPABILITY_STATEMENTS,
|
|
@@ -4,17 +4,17 @@ import {
|
|
|
4
4
|
LONGEST_REQUEST_SECONDS,
|
|
5
5
|
piecesOf,
|
|
6
6
|
transcribeOpenAI
|
|
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-66A646SL.js";
|
|
8
|
+
import "./chunk-ECLBZGWI.js";
|
|
9
|
+
import "./chunk-5JY464PN.js";
|
|
10
|
+
import "./chunk-YZB5IL4L.js";
|
|
11
|
+
import "./chunk-QFC7V5VW.js";
|
|
12
|
+
import "./chunk-GBWOMPZ7.js";
|
|
13
|
+
import "./chunk-4MWP6Z3W.js";
|
|
14
|
+
import "./chunk-WLKDS65F.js";
|
|
15
|
+
import "./chunk-64JCY7XJ.js";
|
|
16
16
|
import "./chunk-Y5E2WNWB.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-4ZW6ZJ2V.js";
|
|
18
18
|
import "./chunk-ZVVMGPBJ.js";
|
|
19
19
|
export {
|
|
20
20
|
LONGEST_REQUEST_SECONDS,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-ZVVMGPBJ.js";
|
|
7
7
|
|
|
8
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.
|
|
8
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.604.0_@wirecat+cli-base@0.82.0_commander@15.0.0_esbuild@0.28.2_type_d9de6622c75caef4cd0a02912b39a001/node_modules/@wirecat/cli-core/dist/embeddings/process.js
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
import { fileURLToPath } from "node:url";
|