@modeldesk/cli 0.7.0 → 0.8.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/README.md +144 -50
- package/THIRD-PARTY-NOTICES.txt +1 -1
- package/dist/modeldesk.js +224 -220
- package/package.json +12 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modeldesk/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Command-line interface (CLI) for the ModelDesk platform",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"modeldesk",
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"bin": {
|
|
23
23
|
"modeldesk": "dist/modeldesk.js"
|
|
24
24
|
},
|
|
25
|
+
"//": "The ./headless export is the hosted MCP server's entry within this workspace, as TypeScript source. The published package is the binary alone: files ships dist, so the bin runs as before, and an import of @modeldesk/cli/headless or of any other path from it fails, as none is an API.",
|
|
26
|
+
"exports": {
|
|
27
|
+
"./headless": "./src/headless.ts"
|
|
28
|
+
},
|
|
25
29
|
"files": [
|
|
26
30
|
"dist",
|
|
27
31
|
"THIRD-PARTY-NOTICES.txt"
|
|
@@ -35,8 +39,10 @@
|
|
|
35
39
|
"scripts": {
|
|
36
40
|
"build": "node esbuild.config.mjs",
|
|
37
41
|
"prepublishOnly": "npm run build",
|
|
38
|
-
"typecheck": "node scripts/api-types.mjs --check && tsc --noEmit",
|
|
42
|
+
"typecheck": "node scripts/api-types.mjs --check && node scripts/result-schemas.mjs --check && node scripts/guides.mjs --check && tsc --noEmit",
|
|
39
43
|
"generate:api": "node scripts/api-types.mjs",
|
|
44
|
+
"generate:result-schemas": "node scripts/result-schemas.mjs",
|
|
45
|
+
"generate:guides": "node scripts/guides.mjs",
|
|
40
46
|
"lint": "eslint",
|
|
41
47
|
"lint:fix": "eslint --fix",
|
|
42
48
|
"test": "vitest run",
|
|
@@ -44,6 +50,8 @@
|
|
|
44
50
|
},
|
|
45
51
|
"devDependencies": {
|
|
46
52
|
"@eslint/js": "^10.0.1",
|
|
53
|
+
"@modelcontextprotocol/client": "^2.4.0",
|
|
54
|
+
"@modelcontextprotocol/server": "^2.4.0",
|
|
47
55
|
"@modeldesk/content-bundle": "*",
|
|
48
56
|
"@types/node": "^24.19.2",
|
|
49
57
|
"esbuild": "^0.28.2",
|
|
@@ -51,10 +59,10 @@
|
|
|
51
59
|
"eslint-config-prettier": "^10.1.5",
|
|
52
60
|
"eslint-plugin-prettier": "^5.5.7",
|
|
53
61
|
"globals": "^17.14.0",
|
|
54
|
-
"openapi-typescript": "^
|
|
62
|
+
"openapi-typescript": "^7.13.0",
|
|
55
63
|
"prettier": "^3.9.10",
|
|
56
64
|
"typescript": "^6.0.3",
|
|
57
|
-
"typescript-eslint": "^8.72.
|
|
65
|
+
"typescript-eslint": "^8.72.2",
|
|
58
66
|
"vitest": "^5.1.0",
|
|
59
67
|
"yaml": "^2.9.1"
|
|
60
68
|
}
|