@jaypie/mcp 0.8.173 → 0.8.175

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/assets.js CHANGED
@@ -55,11 +55,11 @@ function getMcpAssetPaths() {
55
55
  */
56
56
  function getMcpBuildInfo() {
57
57
  return {
58
- commit: "a6fc7633"
58
+ commit: "a3ee062e"
59
59
  ,
60
- version: "0.8.173"
60
+ version: "0.8.175"
61
61
  ,
62
- versionString: "@jaypie/mcp@0.8.173#a6fc7633"
62
+ versionString: "@jaypie/mcp@0.8.175#a3ee062e"
63
63
  ,
64
64
  };
65
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.8.173",
3
+ "version": "0.8.175",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 1.2.110
3
+ date: 2026-09-26
4
+ summary: Pulls @jaypie/llm 1.3.51
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **`@jaypie/llm` 1.3.51**: `providerOptions` no longer leak to fallback providers; `fallback` entries accept their own `providerOptions` (#591).
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 1.2.111
3
+ date: 2026-09-27
4
+ summary: Pulls @jaypie/llm 1.3.52
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **`@jaypie/llm` 1.3.52**: Gemini tool declarations no longer send `additionalProperties` and other unsupported JSON Schema keywords (#593).
@@ -0,0 +1,17 @@
1
+ ---
2
+ version: 1.3.51
3
+ date: 2026-09-26
4
+ summary: providerOptions reach only the model they were written for; fallback entries carry their own providerOptions; MODEL.FIREWORKS.DEEPSEEK moves to deepseek-v4p1-flash
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Per-call `providerOptions` on `operate` and `ocr` reach the primary only, its linger pass included. Previously every fallback received them verbatim, so options shaped for one provider (OpenAI `reasoning`) broke a fallback on another (Gemini rejected `reasoning` in `generation_config`) and the chain provided no resilience (#591)
10
+ - `LlmFallbackConfig` gains `providerOptions`, sent only to that entry
11
+ - Fallbacks derived from a `model` array carry no `providerOptions`
12
+ - `MODEL.FIREWORKS.DEEPSEEK` is now `accounts/fireworks/models/deepseek-v4p1-flash`, the same id as `DEEPSEEK_FLASH`. Fireworks withdrew `deepseek-v4-pro-0813` from serverless (404 "Model not found"); its `COST` entry stays
13
+
14
+ ## Testing
15
+
16
+ - `npm run test -w packages/llm`: new specs cover operate (cross-provider fallback, per-entry options, linger pass) and ocr scoping
17
+ - Fireworks hot spec passes for every catalog id, deepseek-v4p1-flash included
@@ -0,0 +1,15 @@
1
+ ---
2
+ version: 1.3.52
3
+ date: 2026-09-27
4
+ summary: Gemini tool declarations convert parameters to the OpenAPI 3.0 subset, so Zod-derived tool schemas no longer fail with a 400
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - The Google adapter passes every tool's `parameters` through `jsonSchemaToOpenApi3`, the same conversion `responseSchema` uses. Previously Gemini received the schema verbatim and rejected keywords outside its subset (`additionalProperties`, which `z.toJSONSchema` always emits), failing the request and pushing every call to the fallback provider (#593)
10
+ - Covers user tools, the legacy `structured_output` tool, and the Gemini 3 runtime fallback that rebuilds the request after the native `responseJsonSchema` + tools combo is rejected
11
+ - `const` and `$ref` are stripped, as in `responseSchema`; literal and referenced constraints do not reach Gemini
12
+
13
+ ## Testing
14
+
15
+ - `npm run test -w packages/llm`: new GoogleAdapter specs assert no `$schema`, `$defs`, `$ref`, `additionalProperties`, or `const` reaches any function declaration, across nested `properties`, `items`, and `anyOf`, and that caller schemas are not mutated
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 0.8.174
3
+ date: 2026-09-26
4
+ summary: llm skill documents providerOptions scoping across fallback chains
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **`llm` skill**: "Provider Options in a Chain" covers per-entry `providerOptions` on `fallback`.
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 0.8.175
3
+ date: 2026-09-27
4
+ summary: llm skill documents tool schema conversion for Gemini
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **`llm` skill**: "Define Tools with Toolkit" notes that `z.toJSONSchema` output works as `parameters` and that Google converts tool schemas to Gemini's OpenAPI 3.0 subset.
package/skills/llm.md CHANGED
@@ -182,6 +182,8 @@ const response = await Llm.operate("What's the weather in NYC?", {
182
182
  });
183
183
  ```
184
184
 
185
+ `parameters` is JSON Schema; `z.toJSONSchema(...)` output works directly. Each provider receives a schema it accepts: Google converts tool parameters (and the `structured_output` tool) to Gemini's OpenAPI 3.0 subset, stripping `$schema`, `$defs`, `$ref`, `additionalProperties`, and `const` at every depth. Literal (`const`) and `$ref` constraints do not reach Gemini; spell them out in `description` or `enum` when they matter.
186
+
185
187
  ### Built-in Tools
186
188
 
187
189
  ```typescript
@@ -809,6 +811,23 @@ const response = await Llm.operate(input, {
809
811
  });
810
812
  ```
811
813
 
814
+ ### Provider Options in a Chain
815
+
816
+ `providerOptions` belongs to the model it was written for. Per-call `providerOptions` reach the primary only (including its linger pass); a fallback receives only the `providerOptions` on its own entry, or none. Options shaped for one provider (OpenAI `reasoning`, Gemini `thinkingConfig`) would otherwise break every other provider in the chain. Prefer first-class `effort` and `temperature`, which translate per provider.
817
+
818
+ ```typescript
819
+ const response = await llm.operate(input, {
820
+ fallback: [
821
+ {
822
+ provider: "google",
823
+ model: LLM.MODEL.GEMINI_FLASH,
824
+ providerOptions: { thinkingConfig: { thinkingBudget: 1024 } },
825
+ },
826
+ ],
827
+ providerOptions: { reasoning: { summary: "detailed" } }, // primary only
828
+ });
829
+ ```
830
+
812
831
  ### Fallback Response Metadata
813
832
 
814
833
  ```typescript