@umbraco-cms/mcp-dev 17.4.0 → 17.4.1

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.
@@ -4,12 +4,17 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkOBOSCZYRcjs = require('./chunk-OBOSCZYR.cjs');
7
+ var _chunkH5ZIS43Mcjs = require('./chunk-H5ZIS43M.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
- exports.UmbracoManagementClient = _chunkOBOSCZYRcjs.UmbracoManagementClient; exports.allModeNames = _chunkOBOSCZYRcjs.allModeNames; exports.allModes = _chunkOBOSCZYRcjs.allModes; exports.allSliceNames = _chunkOBOSCZYRcjs.allSliceNames; exports.collections = _chunkOBOSCZYRcjs.availableCollections;
16
+
17
+
18
+
19
+ exports.UmbracoManagementClient = _chunkH5ZIS43Mcjs.UmbracoManagementClient; exports.allModeNames = _chunkH5ZIS43Mcjs.allModeNames; exports.allModes = _chunkH5ZIS43Mcjs.allModes; exports.allSliceNames = _chunkH5ZIS43Mcjs.allSliceNames; exports.collections = _chunkH5ZIS43Mcjs.availableCollections; exports.configureApiClient = _mcpserversdk.configureApiClient; exports.initializeUmbracoFetch = _mcpserversdk.initializeUmbracoFetch;
15
20
  //# sourceMappingURL=collections.cjs.map
@@ -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,ySAAC","file":"/home/vsts/work/1/s/dist/collections.cjs"}
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"]}
@@ -4,12 +4,17 @@ import {
4
4
  allModes,
5
5
  allSliceNames,
6
6
  availableCollections
7
- } from "./chunk-6NEKTCPS.js";
7
+ } from "./chunk-XVBYRUFE.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
@@ -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":[]}