@mcp-use/cli 4.0.0 → 4.0.1-canary.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/dist/bin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{a as n}from"./chunk-
|
|
2
|
+
import{a as n}from"./chunk-HKE5UI5S.js";import"./chunk-USIKTT3N.js";n(process.argv.slice(2),{frameworkVersion:"4.0.1-canary.0"}).then(e=>{process.exitCode=e},e=>{console.error(e instanceof Error?e.message:String(e)),process.exitCode=1});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as p,b as a}from"../chunk-FLGSKQGU.js";import{spawn as d}from"child_process";import{createRequire as u}from"module";import{dirname as l,join as m,resolve as y}from"path";async function f(e){let n=performance.now(),t=e.mcpDir===void 0?e.cwd:y(e.cwd,e.mcpDir),s=e.entry===void 0?p(t):p(e.cwd,e.entry),r=await a(e.cwd,s);r==="created"||r==="updated"?console.log(`[mcp-use] ${r} mcp-env.d.ts`):r==="user-owned"&&console.warn("[mcp-use] mcp-env.d.ts is user-owned; leaving it unchanged");let c=w(e.cwd),o=await g(c,e.cwd,e.tscArgs??[]);if(o===0){let i=Math.round(performance.now()-n);console.log(`[mcp-use] no type errors (${i}ms)`)}return o}function w(e){let n=u(m(e,"package.json"));try{let t=n.resolve("typescript/package.json");return m(l(t),"bin","tsc")}catch{throw new Error(`TypeScript is not installed in ${e}. Install it with npm install --save-dev typescript.`)}}function g(e,n,t){return new Promise((s,r)=>{let c=d(process.execPath,[e,...t,"--noEmit"],{cwd:n,stdio:"inherit"});c.once("error",r),c.once("close",(o,i)=>{s(o??(i==="SIGINT"?130:1))})})}export{f as runTypecheck};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-HKE5UI5S.js";import"./chunk-USIKTT3N.js";export{a as main};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0",
|
|
4
|
+
"version": "4.0.1-canary.0",
|
|
5
5
|
"description": "Prebuilt CLI, development server, and build pipeline for mcp-use",
|
|
6
6
|
"author": "mcp-use, Inc.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"@mcp-use/client": "^2.0.0",
|
|
49
|
-
"@mcp-use/inspector": "^20.0.0"
|
|
49
|
+
"@mcp-use/inspector": "^20.0.1-canary.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@mcp-use/client": {
|
|
File without changes
|