@stabgan/openrouter-mcp-multimodal 4.0.1 → 4.5.0
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/README.md +40 -7
- package/dist/errors.d.ts +26 -8
- package/dist/errors.js +17 -12
- package/dist/logger.d.ts +11 -0
- package/dist/logger.js +26 -0
- package/dist/model-cache.d.ts +4 -0
- package/dist/model-cache.js +6 -0
- package/dist/openrouter-api.d.ts +22 -2
- package/dist/openrouter-api.js +21 -2
- package/dist/tool-handlers/analyze-audio.d.ts +9 -4
- package/dist/tool-handlers/analyze-audio.js +29 -15
- package/dist/tool-handlers/analyze-image.d.ts +10 -4
- package/dist/tool-handlers/analyze-image.js +37 -9
- package/dist/tool-handlers/analyze-video.d.ts +9 -4
- package/dist/tool-handlers/analyze-video.js +31 -19
- package/dist/tool-handlers/cache.d.ts +33 -0
- package/dist/tool-handlers/cache.js +54 -0
- package/dist/tool-handlers/chat-completion.d.ts +18 -4
- package/dist/tool-handlers/chat-completion.js +39 -11
- package/dist/tool-handlers/completion-utils.d.ts +29 -0
- package/dist/tool-handlers/completion-utils.js +76 -17
- package/dist/tool-handlers/generate-audio.d.ts +2 -0
- package/dist/tool-handlers/generate-audio.js +18 -1
- package/dist/tool-handlers/generate-image.d.ts +2 -0
- package/dist/tool-handlers/generate-image.js +15 -0
- package/dist/tool-handlers/generate-video.d.ts +43 -0
- package/dist/tool-handlers/generate-video.js +46 -3
- package/dist/tool-handlers/get-model-info.d.ts +1 -6
- package/dist/tool-handlers/get-model-info.js +2 -1
- package/dist/tool-handlers/health-check.d.ts +23 -0
- package/dist/tool-handlers/health-check.js +32 -0
- package/dist/tool-handlers/openai-withresponse.d.ts +16 -0
- package/dist/tool-handlers/openai-withresponse.js +16 -0
- package/dist/tool-handlers/rerank.d.ts +17 -0
- package/dist/tool-handlers/rerank.js +52 -0
- package/dist/tool-handlers/search-models.d.ts +18 -7
- package/dist/tool-handlers/search-models.js +25 -2
- package/dist/tool-handlers/structured-output.d.ts +13 -0
- package/dist/tool-handlers/structured-output.js +24 -0
- package/dist/tool-handlers/validate-model.d.ts +4 -6
- package/dist/tool-handlers/validate-model.js +3 -8
- package/dist/tool-handlers.d.ts +1 -0
- package/dist/tool-handlers.js +417 -165
- package/dist/version.d.ts +16 -0
- package/dist/version.js +16 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single source of truth for our server version. Exposed via
|
|
3
|
+
* `_meta.server_version` on every successful tool response and returned
|
|
4
|
+
* by the `health_check` tool.
|
|
5
|
+
*
|
|
6
|
+
* Bumped in lockstep with package.json / server.json / smithery.yaml /
|
|
7
|
+
* scripts/build-manifest.mjs during release prep.
|
|
8
|
+
*/
|
|
9
|
+
export declare const SERVER_VERSION = "4.5.0";
|
|
10
|
+
/**
|
|
11
|
+
* MCP protocol version our SDK speaks. Hardcoded to match the version
|
|
12
|
+
* bundled with `@modelcontextprotocol/sdk`; update when upgrading the
|
|
13
|
+
* SDK major. Surfaced by `health_check` so ops can confirm spec level
|
|
14
|
+
* at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export declare const MCP_PROTOCOL_VERSION = "2025-06-18";
|
package/dist/version.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single source of truth for our server version. Exposed via
|
|
3
|
+
* `_meta.server_version` on every successful tool response and returned
|
|
4
|
+
* by the `health_check` tool.
|
|
5
|
+
*
|
|
6
|
+
* Bumped in lockstep with package.json / server.json / smithery.yaml /
|
|
7
|
+
* scripts/build-manifest.mjs during release prep.
|
|
8
|
+
*/
|
|
9
|
+
export const SERVER_VERSION = '4.5.0';
|
|
10
|
+
/**
|
|
11
|
+
* MCP protocol version our SDK speaks. Hardcoded to match the version
|
|
12
|
+
* bundled with `@modelcontextprotocol/sdk`; update when upgrading the
|
|
13
|
+
* SDK major. Surfaced by `health_check` so ops can confirm spec level
|
|
14
|
+
* at runtime.
|
|
15
|
+
*/
|
|
16
|
+
export const MCP_PROTOCOL_VERSION = '2025-06-18';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stabgan/openrouter-mcp-multimodal",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"mcpName": "io.github.stabgan/openrouter-multimodal",
|
|
5
5
|
"description": "MCP server for OpenRouter with text chat, image analysis + generation, audio analysis + generation, video analysis, and video generation (Veo 3.1 / Sora 2 Pro / Seedance / Wan)",
|
|
6
6
|
"type": "module",
|