@mcp-use/cli 4.0.2-canary.5 → 5.0.0-canary.7
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/THIRD_PARTY_NOTICES.md +20 -0
- package/dist/bin.js +1 -1
- package/dist/chunk-HUHBRE4Z.js +131 -0
- package/dist/commands/build.js +5 -5
- package/dist/commands/dev.js +25 -26
- package/dist/index.js +1 -1
- package/dist/internal/skills-loader.js +1 -0
- package/package.json +10 -5
- package/types/internal/skills-loader.d.ts +44 -0
- /package/dist/{chunk-Q53LTBGS.js → chunk-YN5LLEPO.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"./chunk-
|
|
1
|
+
import{a}from"./chunk-YN5LLEPO.js";import"./chunk-RXKUVCL7.js";import"./chunk-WOT6VMZA.js";export{a as main};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../chunk-HUHBRE4Z.js";import"../chunk-WOT6VMZA.js";export{b as discoverConfiguredSkills,a as resolveConfiguredSkillsDirectory};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "5.0.0-canary.7",
|
|
5
5
|
"description": "Prebuilt CLI, development server, and build pipeline for mcp-use",
|
|
6
6
|
"author": "mcp-use, Inc.",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,13 +27,18 @@
|
|
|
27
27
|
"types": "./types/index.d.ts",
|
|
28
28
|
"import": "./dist/index.js"
|
|
29
29
|
},
|
|
30
|
+
"./internal/skills-loader": {
|
|
31
|
+
"types": "./types/internal/skills-loader.d.ts",
|
|
32
|
+
"import": "./dist/internal/skills-loader.js"
|
|
33
|
+
},
|
|
30
34
|
"./vite-client": {
|
|
31
35
|
"types": "./types/vite-client.d.ts"
|
|
32
36
|
}
|
|
33
37
|
},
|
|
34
38
|
"files": [
|
|
35
39
|
"dist",
|
|
36
|
-
"types"
|
|
40
|
+
"types",
|
|
41
|
+
"THIRD_PARTY_NOTICES.md"
|
|
37
42
|
],
|
|
38
43
|
"engines": {
|
|
39
44
|
"node": ">=22.22.2"
|
|
@@ -45,8 +50,8 @@
|
|
|
45
50
|
"vite": "^8.0.16"
|
|
46
51
|
},
|
|
47
52
|
"peerDependencies": {
|
|
48
|
-
"@mcp-use/client": "^2.0
|
|
49
|
-
"@mcp-use/inspector": "^
|
|
53
|
+
"@mcp-use/client": "^2.1.0-canary.3",
|
|
54
|
+
"@mcp-use/inspector": "^21.0.0-canary.7"
|
|
50
55
|
},
|
|
51
56
|
"peerDependenciesMeta": {
|
|
52
57
|
"@mcp-use/client": {
|
|
@@ -69,7 +74,7 @@
|
|
|
69
74
|
"typescript": "^5.9.3",
|
|
70
75
|
"vitest": "^4.1.9",
|
|
71
76
|
"zod": "^4.4.3",
|
|
72
|
-
"@mcp-use/client": "2.0
|
|
77
|
+
"@mcp-use/client": "2.1.0-canary.4",
|
|
73
78
|
"@mcp-use/tunnel": "0.2.0-canary.0"
|
|
74
79
|
},
|
|
75
80
|
"publishConfig": {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** Configuration accepted by the CLI's internal Node-only Skills loader. */
|
|
2
|
+
export interface SkillsOptions {
|
|
3
|
+
directory?: string;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export type SkillResourceSnapshot = {
|
|
7
|
+
uri: string;
|
|
8
|
+
name: string;
|
|
9
|
+
mimeType: string;
|
|
10
|
+
digest: string;
|
|
11
|
+
} & ({ text: string; blob?: never } | { blob: string; text?: never });
|
|
12
|
+
|
|
13
|
+
export interface SkillsSnapshot {
|
|
14
|
+
skills: Array<{
|
|
15
|
+
uri: string;
|
|
16
|
+
frontmatter: Record<string, unknown>;
|
|
17
|
+
resources: Array<{ uri: string; digest: string }>;
|
|
18
|
+
}>;
|
|
19
|
+
resources: SkillResourceSnapshot[];
|
|
20
|
+
directories: Array<{ uri: string; name: string }>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** Optional controls for Node-only skill discovery. */
|
|
24
|
+
export interface SkillsDiscoveryOptions {
|
|
25
|
+
/** Recover from independently invalid skills; omit for strict discovery. */
|
|
26
|
+
onInvalidSkill?: (error: Error) => void;
|
|
27
|
+
/** Override resource reads, primarily for deterministic failure testing. */
|
|
28
|
+
readResourceFile?: (path: string) => Buffer;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/** Discover and validate an immutable Skills snapshot from a project tree. */
|
|
32
|
+
export declare function discoverConfiguredSkills(
|
|
33
|
+
config: boolean | SkillsOptions | undefined,
|
|
34
|
+
projectRoot: string,
|
|
35
|
+
conventionalDirectory?: string,
|
|
36
|
+
options?: SkillsDiscoveryOptions
|
|
37
|
+
): SkillsSnapshot | undefined;
|
|
38
|
+
|
|
39
|
+
/** Resolve the effective directory watched and read by CLI tooling. */
|
|
40
|
+
export declare function resolveConfiguredSkillsDirectory(
|
|
41
|
+
config: boolean | SkillsOptions | undefined,
|
|
42
|
+
projectRoot: string,
|
|
43
|
+
conventionalDirectory?: string
|
|
44
|
+
): string | undefined;
|
|
File without changes
|