crosscheck-mcp 0.2.29 → 0.2.30

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.
@@ -12,12 +12,23 @@ interface Usage {
12
12
  purpose: string;
13
13
  }
14
14
 
15
- /** Inbound message shape — chat-completions style. */
15
+ /** An image sent with a message: base64 bytes and their media type
16
+ * (image/png, image/jpeg, image/webp, image/gif). */
17
+ interface ImagePart {
18
+ mediaType: string;
19
+ data: string;
20
+ }
21
+ /** Inbound message shape — chat-completions style. `images`, on a user
22
+ * message, are sent alongside its text by adapters whose provider can see
23
+ * images (each in its own wire shape). */
16
24
  interface ChatMessage {
17
25
  role: "system" | "user" | "assistant" | string;
18
26
  content: string;
27
+ images?: readonly ImagePart[];
19
28
  [k: string]: unknown;
20
29
  }
30
+ /** Image media types every vision provider here accepts. */
31
+ declare const IMAGE_MEDIA_TYPES: readonly ["image/png", "image/jpeg", "image/webp", "image/gif"];
21
32
  /** A successful `send()` result. */
22
33
  interface SendResult {
23
34
  /** Concatenated text from the provider response. */
@@ -73,4 +84,4 @@ interface Provider {
73
84
  send(args: SendArgs): Promise<SendResult>;
74
85
  }
75
86
 
76
- export type { ChatMessage as C, Provider as P };
87
+ export { type ChatMessage as C, type ImagePart as I, type Provider as P, type SendArgs as S, IMAGE_MEDIA_TYPES as a };
@@ -12,12 +12,23 @@ interface Usage {
12
12
  purpose: string;
13
13
  }
14
14
 
15
- /** Inbound message shape — chat-completions style. */
15
+ /** An image sent with a message: base64 bytes and their media type
16
+ * (image/png, image/jpeg, image/webp, image/gif). */
17
+ interface ImagePart {
18
+ mediaType: string;
19
+ data: string;
20
+ }
21
+ /** Inbound message shape — chat-completions style. `images`, on a user
22
+ * message, are sent alongside its text by adapters whose provider can see
23
+ * images (each in its own wire shape). */
16
24
  interface ChatMessage {
17
25
  role: "system" | "user" | "assistant" | string;
18
26
  content: string;
27
+ images?: readonly ImagePart[];
19
28
  [k: string]: unknown;
20
29
  }
30
+ /** Image media types every vision provider here accepts. */
31
+ declare const IMAGE_MEDIA_TYPES: readonly ["image/png", "image/jpeg", "image/webp", "image/gif"];
21
32
  /** A successful `send()` result. */
22
33
  interface SendResult {
23
34
  /** Concatenated text from the provider response. */
@@ -73,4 +84,4 @@ interface Provider {
73
84
  send(args: SendArgs): Promise<SendResult>;
74
85
  }
75
86
 
76
- export type { ChatMessage as C, Provider as P };
87
+ export { type ChatMessage as C, type ImagePart as I, type Provider as P, type SendArgs as S, IMAGE_MEDIA_TYPES as a };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crosscheck-mcp",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Multi-LLM MCP server: confer / debate / coordinate / audit / orchestrate across Anthropic + OpenAI + xAI + Gemini + Mistral + Groq + DeepSeek + Kimi + Qwen, with scoreboard-driven router, canary-leak detection, sandboxed shell verifiers, and a tier-aware cheap-mode picker. TypeScript implementation; no Python at runtime.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -76,7 +76,8 @@
76
76
  "prices:drift:strict": "tsx ../../scripts/price-drift.ts --strict",
77
77
  "canary": "tsx ../../scripts/canary.ts",
78
78
  "canary:super": "tsx ../../scripts/canary.ts --super",
79
- "canary:fallbacks": "tsx ../../scripts/canary.ts --fallbacks"
79
+ "canary:fallbacks": "tsx ../../scripts/canary.ts --fallbacks",
80
+ "canary:vision": "tsx ../../scripts/canary-vision.ts"
80
81
  },
81
82
  "dependencies": {
82
83
  "@modelcontextprotocol/sdk": "^1.29.0",