@umbraco-cms/mcp-dev 17.5.0 → 17.5.2
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/{chunk-ZDGU5P5E.js → chunk-4ZLKJ22B.js} +1634 -1498
- package/dist/chunk-4ZLKJ22B.js.map +1 -0
- package/dist/{chunk-BKIMD4NU.cjs → chunk-WAIHDFP5.cjs} +612 -476
- package/dist/chunk-WAIHDFP5.cjs.map +1 -0
- package/dist/collections.cjs +2 -2
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +1 -1
- package/dist/collections.js.map +1 -1
- package/dist/index.cjs +95 -93
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -7
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +34 -0
- package/package.json +4 -2
- package/dist/chunk-BKIMD4NU.cjs.map +0 -1
- package/dist/chunk-ZDGU5P5E.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
availableCollections,
|
|
10
10
|
setAllowFilePathUploads,
|
|
11
11
|
setUmbracoVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4ZLKJ22B.js";
|
|
13
13
|
|
|
14
14
|
// node_modules/ajv/dist/compile/codegen/code.js
|
|
15
15
|
var require_code = __commonJS({
|
|
@@ -12511,7 +12511,7 @@ var StdioServerTransport = class {
|
|
|
12511
12511
|
// package.json
|
|
12512
12512
|
var package_default = {
|
|
12513
12513
|
name: "@umbraco-cms/mcp-dev",
|
|
12514
|
-
version: "17.5.
|
|
12514
|
+
version: "17.5.2",
|
|
12515
12515
|
type: "module",
|
|
12516
12516
|
description: "A model context protocol (MCP) server for Umbraco CMS",
|
|
12517
12517
|
main: "dist/index.js",
|
|
@@ -12540,6 +12540,8 @@ var package_default = {
|
|
|
12540
12540
|
test: "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
12541
12541
|
"test:rerun-failures": "grep '^FAIL ' test-failures.log 2>/dev/null | sed 's/^FAIL //' | tr '\\n' ' ' | xargs -r node --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage || echo 'No failures to rerun (test-failures.log not found or empty)'",
|
|
12542
12542
|
"test:evals": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage --config tests/evals/jest.config.ts",
|
|
12543
|
+
"test:one": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --forceExit",
|
|
12544
|
+
"test:all": "npm run build && npm run test && npm run test:evals",
|
|
12543
12545
|
"patch-publish-alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha --access public",
|
|
12544
12546
|
"test:e2e-sdk": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config tests/e2e-sdk/jest.config.ts --runInBand --silent --forceExit 2>/dev/null",
|
|
12545
12547
|
"test:e2e-sdk:verbose": "E2E_VERBOSITY=verbose node --experimental-vm-modules node_modules/jest/bin/jest.js tests/e2e-sdk --runInBand --testTimeout=120000 --forceExit",
|
|
@@ -12547,6 +12549,7 @@ var package_default = {
|
|
|
12547
12549
|
"test:e2e": "npx playwright test --config tests/cms-hosted-e2e/playwright.config.ts",
|
|
12548
12550
|
"umbraco:bootstrap": "bash scripts/bootstrap-demo-site.sh",
|
|
12549
12551
|
"umbraco:start": "bash scripts/bootstrap-demo-site.sh && dotnet run --project demo-site",
|
|
12552
|
+
"start:umbraco": "npm run umbraco:start",
|
|
12550
12553
|
"umbraco:stop": "lsof -ti :44391 | xargs kill 2>/dev/null; lsof -ti :56472 | xargs kill 2>/dev/null",
|
|
12551
12554
|
"dev:hosted": "wrangler dev"
|
|
12552
12555
|
},
|
|
@@ -12581,7 +12584,6 @@ var package_default = {
|
|
|
12581
12584
|
"@types/yargs": "^17.0.33",
|
|
12582
12585
|
"@umbraco-cms/mcp-hosted": "^17.0.0-beta.28",
|
|
12583
12586
|
"@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.28",
|
|
12584
|
-
axios: "^1.8.4",
|
|
12585
12587
|
dotenv: "^16.5.0",
|
|
12586
12588
|
"form-data": "^4.0.4",
|
|
12587
12589
|
"mime-types": "^3.0.1",
|
|
@@ -12615,7 +12617,7 @@ var package_default = {
|
|
|
12615
12617
|
}
|
|
12616
12618
|
};
|
|
12617
12619
|
|
|
12618
|
-
// src/
|
|
12620
|
+
// src/umbraco-api/tools/tool-factory.ts
|
|
12619
12621
|
import { createCollectionConfigLoader } from "@umbraco-cms/mcp-server-sdk";
|
|
12620
12622
|
|
|
12621
12623
|
// src/config/server-config.ts
|
|
@@ -12649,7 +12651,7 @@ function clearConfigCache() {
|
|
|
12649
12651
|
cachedConfig = null;
|
|
12650
12652
|
}
|
|
12651
12653
|
|
|
12652
|
-
// src/
|
|
12654
|
+
// src/umbraco-api/tools/collection-resolver.ts
|
|
12653
12655
|
var CollectionResolver = {
|
|
12654
12656
|
/**
|
|
12655
12657
|
* Validates that all referenced collection names exist in the available collections.
|
|
@@ -12705,7 +12707,7 @@ var CollectionResolver = {
|
|
|
12705
12707
|
}
|
|
12706
12708
|
};
|
|
12707
12709
|
|
|
12708
|
-
// src/
|
|
12710
|
+
// src/umbraco-api/tools/tool-registrar.ts
|
|
12709
12711
|
import {
|
|
12710
12712
|
createToolAnnotations
|
|
12711
12713
|
} from "@umbraco-cms/mcp-server-sdk";
|
|
@@ -12756,7 +12758,7 @@ var ToolRegistrar = {
|
|
|
12756
12758
|
}
|
|
12757
12759
|
};
|
|
12758
12760
|
|
|
12759
|
-
// src/
|
|
12761
|
+
// src/umbraco-api/tools/tool-factory.ts
|
|
12760
12762
|
var configLoader = createCollectionConfigLoader({
|
|
12761
12763
|
modeRegistry: allModes,
|
|
12762
12764
|
allModeNames,
|