@umbraco-cms/mcp-dev 17.4.0 → 17.4.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-OBOSCZYR.cjs → chunk-Q4LCXM42.cjs} +637 -333
- package/dist/chunk-Q4LCXM42.cjs.map +1 -0
- package/dist/{chunk-6NEKTCPS.js → chunk-VLJ3JQ46.js} +1067 -763
- package/dist/chunk-VLJ3JQ46.js.map +1 -0
- package/dist/collections.cjs +7 -2
- package/dist/collections.cjs.map +1 -1
- package/dist/collections.js +7 -2
- package/dist/collections.js.map +1 -1
- package/dist/index.cjs +91 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/tool-types.d.ts +8261 -24
- package/package.json +3 -3
- package/dist/chunk-6NEKTCPS.js.map +0 -1
- package/dist/chunk-OBOSCZYR.cjs.map +0 -1
package/dist/collections.cjs
CHANGED
|
@@ -4,12 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkQ4LCXM42cjs = require('./chunk-Q4LCXM42.cjs');
|
|
8
8
|
|
|
9
|
+
// src/collections.ts
|
|
10
|
+
var _mcpserversdk = require('@umbraco-cms/mcp-server-sdk');
|
|
9
11
|
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
|
|
14
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
exports.UmbracoManagementClient = _chunkQ4LCXM42cjs.UmbracoManagementClient; exports.allModeNames = _chunkQ4LCXM42cjs.allModeNames; exports.allModes = _chunkQ4LCXM42cjs.allModes; exports.allSliceNames = _chunkQ4LCXM42cjs.allSliceNames; exports.collections = _chunkQ4LCXM42cjs.availableCollections; exports.configureApiClient = _mcpserversdk.configureApiClient; exports.initializeUmbracoFetch = _mcpserversdk.initializeUmbracoFetch;
|
|
15
20
|
//# sourceMappingURL=collections.cjs.map
|
package/dist/collections.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/home/vsts/work/1/s/dist/collections.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACF
|
|
1
|
+
{"version":3,"sources":["/home/vsts/work/1/s/dist/collections.cjs","../src/collections.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACiBA,2DAA2D;ADf3D;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,+aAAC","file":"/home/vsts/work/1/s/dist/collections.cjs","sourcesContent":[null,"/**\n * Tool Collections Export\n *\n * Lightweight entry point for in-process chaining.\n * Import this from another MCP server to chain CMS tools without spawning a process.\n *\n * @example\n * ```typescript\n * import { collections, allModes, allModeNames, allSliceNames } from \"@umbraco-cms/mcp-dev/collections\";\n *\n * manager.registerServer({\n * transport: \"in-process\",\n * name: \"cms\",\n * collections,\n * modeRegistry: allModes,\n * allModeNames,\n * allSliceNames,\n * });\n * ```\n */\n\nexport { availableCollections as collections } from \"./umb-management-api/tools/collection-registry.js\";\nexport { allModes, allModeNames } from \"./config/mode-registry.js\";\nexport { allSliceNames } from \"./config/slice-registry.js\";\nexport { UmbracoManagementClient } from \"./umb-management-api/umbraco-management-client.js\";\nexport { configureApiClient, initializeUmbracoFetch } from \"@umbraco-cms/mcp-server-sdk\";\n"]}
|
package/dist/collections.js
CHANGED
|
@@ -4,12 +4,17 @@ import {
|
|
|
4
4
|
allModes,
|
|
5
5
|
allSliceNames,
|
|
6
6
|
availableCollections
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VLJ3JQ46.js";
|
|
8
|
+
|
|
9
|
+
// src/collections.ts
|
|
10
|
+
import { configureApiClient, initializeUmbracoFetch } from "@umbraco-cms/mcp-server-sdk";
|
|
8
11
|
export {
|
|
9
12
|
UmbracoManagementClient,
|
|
10
13
|
allModeNames,
|
|
11
14
|
allModes,
|
|
12
15
|
allSliceNames,
|
|
13
|
-
availableCollections as collections
|
|
16
|
+
availableCollections as collections,
|
|
17
|
+
configureApiClient,
|
|
18
|
+
initializeUmbracoFetch
|
|
14
19
|
};
|
|
15
20
|
//# sourceMappingURL=collections.js.map
|
package/dist/collections.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/collections.ts"],"sourcesContent":["/**\n * Tool Collections Export\n *\n * Lightweight entry point for in-process chaining.\n * Import this from another MCP server to chain CMS tools without spawning a process.\n *\n * @example\n * ```typescript\n * import { collections, allModes, allModeNames, allSliceNames } from \"@umbraco-cms/mcp-dev/collections\";\n *\n * manager.registerServer({\n * transport: \"in-process\",\n * name: \"cms\",\n * collections,\n * modeRegistry: allModes,\n * allModeNames,\n * allSliceNames,\n * });\n * ```\n */\n\nexport { availableCollections as collections } from \"./umb-management-api/tools/collection-registry.js\";\nexport { allModes, allModeNames } from \"./config/mode-registry.js\";\nexport { allSliceNames } from \"./config/slice-registry.js\";\nexport { UmbracoManagementClient } from \"./umb-management-api/umbraco-management-client.js\";\nexport { configureApiClient, initializeUmbracoFetch } from \"@umbraco-cms/mcp-server-sdk\";\n"],"mappings":";;;;;;;;;AAyBA,SAAS,oBAAoB,8BAA8B;","names":[]}
|