@clipform/mcp-server 4.2.7 → 4.2.8
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-K67KW7GF.js → chunk-HIKPHBFH.js} +2 -2
- package/dist/{chunk-RMFF42S5.js → chunk-S7PD574X.js} +9 -2
- package/dist/{chunk-RMFF42S5.js.map → chunk-S7PD574X.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/prompts.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +2 -2
- package/server.json +2 -2
- /package/dist/{chunk-K67KW7GF.js.map → chunk-HIKPHBFH.js.map} +0 -0
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
union,
|
|
30
30
|
unknown,
|
|
31
31
|
url
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-S7PD574X.js";
|
|
33
33
|
import {
|
|
34
34
|
GUIDE_TYPES,
|
|
35
35
|
QUIZ_VARIANTS,
|
|
@@ -20213,4 +20213,4 @@ export {
|
|
|
20213
20213
|
* MIT Licensed
|
|
20214
20214
|
*)
|
|
20215
20215
|
*/
|
|
20216
|
-
//# sourceMappingURL=chunk-
|
|
20216
|
+
//# sourceMappingURL=chunk-HIKPHBFH.js.map
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
getSessionContextWithAuth
|
|
4
4
|
} from "./chunk-75X4S4LA.js";
|
|
5
5
|
import {
|
|
6
|
+
FORM_TYPES,
|
|
6
7
|
WORKFLOW_TYPES,
|
|
7
8
|
getDiscoveryParams
|
|
8
9
|
} from "./chunk-UMO47NOJ.js";
|
|
@@ -14988,7 +14989,13 @@ function blankAsOmitted(schema) {
|
|
|
14988
14989
|
}
|
|
14989
14990
|
function registerPrompts(server, caps = FULL_CAPS) {
|
|
14990
14991
|
const _registerPrompt = server.registerPrompt.bind(server);
|
|
14991
|
-
const
|
|
14992
|
+
const inactivePromptNames = new Set(
|
|
14993
|
+
Object.values(FORM_TYPES).filter((def) => !def.is_active).map((def) => def.prompt?.name)
|
|
14994
|
+
);
|
|
14995
|
+
const registerPrompt = ((name, config2, cb) => {
|
|
14996
|
+
if (inactivePromptNames.has(name)) return void 0;
|
|
14997
|
+
return _registerPrompt(name, config2?.argsSchema ? { ...config2, argsSchema: blankAsOmitted(config2.argsSchema) } : config2, cb);
|
|
14998
|
+
});
|
|
14992
14999
|
const mediaStyleArg = caps.media ? { media_style: external_exports.string().optional().describe("Media style: text, images, or video (default: video)") } : {};
|
|
14993
15000
|
const styleNote = (args) => caps.media ? `, ${args.media_style ?? "video"} style` : "";
|
|
14994
15001
|
registerPrompt(
|
|
@@ -15224,4 +15231,4 @@ export {
|
|
|
15224
15231
|
getWorkflowText,
|
|
15225
15232
|
registerPrompts
|
|
15226
15233
|
};
|
|
15227
|
-
//# sourceMappingURL=chunk-
|
|
15234
|
+
//# sourceMappingURL=chunk-S7PD574X.js.map
|