@umbraco-cms/mcp-dev 18.1.9 → 18.1.11

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,7 +4,9 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkR2HBS7YHcjs = require('./chunk-R2HBS7YH.cjs');
7
+
8
+
9
+ var _chunkFYAOUFDEcjs = require('./chunk-FYAOUFDE.cjs');
8
10
 
9
11
  // src/collections.ts
10
12
  var _mcpserversdk = require('@umbraco-cms/mcp-server-sdk');
@@ -16,5 +18,7 @@ var _mcpserversdk = require('@umbraco-cms/mcp-server-sdk');
16
18
 
17
19
 
18
20
 
19
- exports.UmbracoManagementClient = _chunkR2HBS7YHcjs.UmbracoManagementClient; exports.allModeNames = _chunkR2HBS7YHcjs.allModeNames; exports.allModes = _chunkR2HBS7YHcjs.allModes; exports.allSliceNames = _chunkR2HBS7YHcjs.allSliceNames; exports.collections = _chunkR2HBS7YHcjs.availableCollections; exports.configureApiClient = _mcpserversdk.configureApiClient; exports.initializeUmbracoFetch = _mcpserversdk.initializeUmbracoFetch;
21
+
22
+
23
+ exports.UmbracoManagementClient = _chunkFYAOUFDEcjs.UmbracoManagementClient; exports.allModeNames = _chunkFYAOUFDEcjs.allModeNames; exports.allModes = _chunkFYAOUFDEcjs.allModes; exports.allSliceNames = _chunkFYAOUFDEcjs.allSliceNames; exports.collections = _chunkFYAOUFDEcjs.availableCollections; exports.configureApiClient = _mcpserversdk.configureApiClient; exports.initializeUmbracoFetch = _mcpserversdk.initializeUmbracoFetch; exports.setAllowFilePathUploads = _chunkFYAOUFDEcjs.setAllowFilePathUploads; exports.setUmbracoVersion = _chunkFYAOUFDEcjs.setUmbracoVersion;
20
24
  //# sourceMappingURL=collections.cjs.map
@@ -1 +1 @@
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 \"./umbraco-api/tools/collection-registry.js\";\nexport { allModes, allModeNames } from \"./config/mode-registry.js\";\nexport { allSliceNames } from \"./config/slice-registry.js\";\nexport { UmbracoManagementClient } from \"./umbraco-api/umbraco-management-client.js\";\nexport { configureApiClient, initializeUmbracoFetch } from \"@umbraco-cms/mcp-server-sdk\";\n"]}
1
+ {"version":3,"sources":["/home/runner/work/1/s/dist/collections.cjs","../src/collections.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACA;ACeA,2DAA2D;ADb3D;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,6jBAAC","file":"/home/runner/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 \"./umbraco-api/tools/collection-registry.js\";\nexport { allModes, allModeNames } from \"./config/mode-registry.js\";\nexport { allSliceNames } from \"./config/slice-registry.js\";\nexport { UmbracoManagementClient } from \"./umbraco-api/umbraco-management-client.js\";\nexport { configureApiClient, initializeUmbracoFetch } from \"@umbraco-cms/mcp-server-sdk\";\n\n// Runtime setup that src/index.ts (the stdio entry point) performs before\n// building the tool list. In-process consumers that import this module\n// instead of spawning the stdio process (e.g. Forms in-process chaining, or\n// a host combining several products' collections in one process) need to\n// reproduce that same setup themselves, so it must be reachable from here\n// too. See #563.\nexport { setUmbracoVersion, setAllowFilePathUploads } from \"./umbraco-api/runtime-context.js\";\n"]}
@@ -3,8 +3,10 @@ import {
3
3
  allModeNames,
4
4
  allModes,
5
5
  allSliceNames,
6
- availableCollections
7
- } from "./chunk-OF7HVRKR.js";
6
+ availableCollections,
7
+ setAllowFilePathUploads,
8
+ setUmbracoVersion
9
+ } from "./chunk-YZZKYEAE.js";
8
10
 
9
11
  // src/collections.ts
10
12
  import { configureApiClient, initializeUmbracoFetch } from "@umbraco-cms/mcp-server-sdk";
@@ -15,6 +17,8 @@ export {
15
17
  allSliceNames,
16
18
  availableCollections as collections,
17
19
  configureApiClient,
18
- initializeUmbracoFetch
20
+ initializeUmbracoFetch,
21
+ setAllowFilePathUploads,
22
+ setUmbracoVersion
19
23
  };
20
24
  //# sourceMappingURL=collections.js.map
@@ -1 +1 @@
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 \"./umbraco-api/tools/collection-registry.js\";\nexport { allModes, allModeNames } from \"./config/mode-registry.js\";\nexport { allSliceNames } from \"./config/slice-registry.js\";\nexport { UmbracoManagementClient } from \"./umbraco-api/umbraco-management-client.js\";\nexport { configureApiClient, initializeUmbracoFetch } from \"@umbraco-cms/mcp-server-sdk\";\n"],"mappings":";;;;;;;;;AAyBA,SAAS,oBAAoB,8BAA8B;","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 \"./umbraco-api/tools/collection-registry.js\";\nexport { allModes, allModeNames } from \"./config/mode-registry.js\";\nexport { allSliceNames } from \"./config/slice-registry.js\";\nexport { UmbracoManagementClient } from \"./umbraco-api/umbraco-management-client.js\";\nexport { configureApiClient, initializeUmbracoFetch } from \"@umbraco-cms/mcp-server-sdk\";\n\n// Runtime setup that src/index.ts (the stdio entry point) performs before\n// building the tool list. In-process consumers that import this module\n// instead of spawning the stdio process (e.g. Forms in-process chaining, or\n// a host combining several products' collections in one process) need to\n// reproduce that same setup themselves, so it must be reachable from here\n// too. See #563.\nexport { setUmbracoVersion, setAllowFilePathUploads } from \"./umbraco-api/runtime-context.js\";\n"],"mappings":";;;;;;;;;;;AAyBA,SAAS,oBAAoB,8BAA8B;","names":[]}