@jaypie/mcp 0.8.185 → 0.8.187

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: "a5a715a3"
58
+ commit: "30803408"
59
59
  ,
60
- version: "0.8.185"
60
+ version: "0.8.187"
61
61
  ,
62
- versionString: "@jaypie/mcp@0.8.185#a5a715a3"
62
+ versionString: "@jaypie/mcp@0.8.187#30803408"
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.185",
3
+ "version": "0.8.187",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 1.2.121
3
+ date: 2026-10-08
4
+ summary: Pulls @jaypie/llm 1.3.62
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **`@jaypie/llm` 1.3.62**: Anthropic `format` schemas with more than 16 nullable or union-typed parameters answer through the `structured_output` tool path.
@@ -0,0 +1,22 @@
1
+ ---
2
+ version: 1.3.62
3
+ date: 2026-10-08
4
+ summary: Anthropic format schemas with more than 16 nullable or union-typed parameters answer through the structured_output tool path
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ ### Union parameter limit (issue #616)
10
+
11
+ Anthropic rejects native structured output (`output_config.format`) when a schema carries more than 16 union-typed parameters, and every `.nullable()` field is one. The 400 ("Schemas contains too many parameters with union types") matched none of the patterns that trigger the `structured_output` tool fallback, so `operate` failed, and an Anthropic fallback in a chain could not serve such a schema.
12
+
13
+ - `AnthropicAdapter.buildRequest` counts the schema's union-typed parameters (`anyOf` or a `type` array, at any depth) and sends a schema over 16 straight to the tool path, avoiding the rejected round trip.
14
+ - The union-limit 400 is retried through the tool path for the request that received it.
15
+ - Neither path demotes the model. The limit belongs to the schema, so the same model keeps native `output_config.format` for smaller schemas.
16
+ - Both log at debug.
17
+ - Citations and deprecated-field 400s still propagate unchanged.
18
+
19
+ ## Testing
20
+
21
+ - `AnthropicAdapter.spec.ts` covers the retry, the model staying native afterward, the count at 16 and 17, `type` arrays and nested unions, and the debug log on each path.
22
+ - Verified live on `claude-sonnet-5-5` and `claude-opus-5-5`: the API accepts 16 union-typed parameters natively and rejects 17.
@@ -0,0 +1,26 @@
1
+ ---
2
+ version: 1.3.63
3
+ date: 2026-10-08
4
+ summary: MODEL.HAIKU points at Claude Haiku 5.5
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ ### Claude Haiku 5.5
10
+
11
+ - `MODEL.HAIKU` is now `claude-haiku-5-5`, superseding `claude-haiku-4-5`. Every `MODEL.HAIKU` consumer follows, including the live matrix.
12
+ - `COST` prices `claude-haiku-5-5` at $0.10 input and $0.50 output per million tokens, with cache reads at $0.01 and cache writes at $0.125 (5m) and $0.20 (1h). This is the rate card for prompts up to 100K tokens; the $0.50 / $2.50 long-prompt rate is not modeled. The `claude-haiku-4-5` entry stays so historic usage remains replayable.
13
+ - Streaming requests resolve Haiku 5.5's 128,000 output-token maximum. Haiku 4.5 keeps 64,000.
14
+ - `AnthropicAdapter` strips `temperature` for Haiku 5 and later, which reject non-default sampling parameters with a 400.
15
+ - The deprecated `PROVIDER.ANTHROPIC.MODEL.TINY` tier stays frozen on `claude-haiku-4-5`.
16
+
17
+ ### Behavior to expect from the new model
18
+
19
+ - Thinking is adaptive and on by default, and it counts toward `max_tokens`. A caller passing a small explicit output limit may see a response stop before any text.
20
+ - Cost per token drops tenfold against Haiku 4.5, though the newer tokenizer counts the same text as about 30% more tokens.
21
+
22
+ ## Testing
23
+
24
+ - `maxOutputTokens.spec.ts` covers the 128,000 ceiling for `claude-haiku-5-5` alongside 64,000 for `claude-haiku-4-5`.
25
+ - `AnthropicAdapter.spec.ts` covers the temperature strip for `claude-haiku-5-5`.
26
+ - Verified live: `claude-haiku-5-5` passes all seven capability matrix cells.
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 0.8.186
3
+ date: 2026-10-08
4
+ summary: Release notes for @jaypie/llm 1.3.62 and jaypie 1.2.121; llm skill documents Anthropic's union parameter limit
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **Release notes**: `@jaypie/llm` 1.3.62 and `jaypie` 1.2.121
10
+ - **`llm` skill**: Anthropic's limit of 16 union-typed parameters on native structured output
package/skills/llm.md CHANGED
@@ -410,6 +410,8 @@ const result = await Llm.operate(
410
410
  );
411
411
  ```
412
412
 
413
+ Anthropic's native structured output accepts at most 16 union-typed parameters per schema, and every `.nullable()` field counts as one. A larger schema is answered through a `structured_output` tool call instead and still returns parsed JSON in `content`.
414
+
413
415
  ### Bare JSON Schema
414
416
 
415
417
  `format` also duck-types a bare JSON Schema object node — `{ type: "object", properties: {...} }` — without needing the OpenAI-style `{ type: "json_schema", ... }` envelope. `required` is honored.
@@ -1344,7 +1346,7 @@ truncate:
1344
1346
  - **Non-streaming** (`operate()`, `send()`): capped at 16,384 tokens —
1345
1347
  larger non-streaming responses risk HTTP timeouts (stream instead)
1346
1348
  - **Streaming** (`stream()`): the model maximum — e.g., 128,000 for current
1347
- Claude models (64,000 for Haiku), 65,536 for Gemini 2.5/3.x
1349
+ Claude models (64,000 for Haiku 4.5), 65,536 for Gemini 2.5/3.x
1348
1350
 
1349
1351
  Override per model with `modelOptions`:
1350
1352