@fre4x/openai 1.0.64 → 1.0.65-beta.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.
- package/dist/index.js +3 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -43595,7 +43595,9 @@ var AnalyzeMediaInputSchema = z4.object({
|
|
|
43595
43595
|
const protocol = new URL(value).protocol;
|
|
43596
43596
|
return protocol === "http:" || protocol === "https:" || protocol === "file:";
|
|
43597
43597
|
}, "Use an http(s) or file URL.").describe("HTTP(S) or file URL of the image."),
|
|
43598
|
-
detail: z4.enum(["low", "high", "auto"]).default("auto").describe(
|
|
43598
|
+
detail: z4.enum(["low", "high", "auto"]).default("auto").describe(
|
|
43599
|
+
"Detail level for vision analysis: low is cheaper, high inspects more detail, auto lets the model choose."
|
|
43600
|
+
),
|
|
43599
43601
|
model: z4.string().default(DEFAULT_VISION_MODEL).describe("Vision model to use.")
|
|
43600
43602
|
}).strict();
|
|
43601
43603
|
var AnalyzeMediaOutputSchema = z4.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fre4x/openai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.65-beta.1",
|
|
4
4
|
"description": "OpenAI MCP server providing multimodal analysis, image generation, and transcription.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dev": "tsx watch src/index.ts",
|
|
16
16
|
"typecheck": "node --max-old-space-size=4096 ../node_modules/typescript/bin/tsc --noEmit",
|
|
17
17
|
"prepublishOnly": "npm run typecheck && npm run build",
|
|
18
|
-
"test": "vitest run --exclude dist",
|
|
19
|
-
"test:watch": "vitest",
|
|
18
|
+
"test": "node ../scripts/run-vitest.mjs run --exclude dist",
|
|
19
|
+
"test:watch": "node ../scripts/run-vitest.mjs",
|
|
20
20
|
"inspector": "npm run build && node ../scripts/run-official-inspector.mjs node dist/index.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|