@jaypie/mcp 0.8.50 → 0.8.51

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.
@@ -9,7 +9,7 @@ import { gt } from 'semver';
9
9
  /**
10
10
  * Docs Suite - Documentation services (skill, version, release_notes)
11
11
  */
12
- const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.50#a1804d0f"
12
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.51#4c00d3ed"
13
13
  ;
14
14
  const __filename$1 = fileURLToPath(import.meta.url);
15
15
  const __dirname$1 = path.dirname(__filename$1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.8.50",
3
+ "version": "0.8.51",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 1.2.44
3
+ date: 2026-04-29
4
+ summary: Pull in @jaypie/llm 1.2.32 (OpenAI temperature-deprecation handling)
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Bumped `@jaypie/llm` peer-dep range to `^1.2.32`, exposing:
10
+ - The OpenAI adapter strips `temperature` for denylisted models (`^gpt-5\.5`, `^o\d`) and transparently retries without the param when the API returns `400 Unsupported parameter: 'temperature' …`.
11
+ - Capability matrix now exercises `temperature` across every configured model.
@@ -0,0 +1,23 @@
1
+ ---
2
+ version: 1.2.32
3
+ date: 2026-04-29
4
+ summary: OpenAI adapter strips/retries on temperature deprecation; matrix gains a temperature capability
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - `OpenAiAdapter` (`operate()`/`stream()`) now mirrors the Anthropic adapter's temperature-deprecation handling:
10
+ - `MODELS_WITHOUT_TEMPERATURE` regex denylist (`^gpt-5\.5`, `^o\d`) is checked in `buildRequest` and `temperature` is stripped before the request is sent.
11
+ - Session-level `runtimeNoTemperatureModels` Set populated by `executeRequest` when the API returns `400 Unsupported parameter: 'temperature' …`. Subsequent calls for the same model strip the param up-front via `supportsTemperature`.
12
+ - `executeRequest` catches the 400, caches the model, and transparently retries without `temperature`. Unrelated 400s and 400s on requests without `temperature` still propagate.
13
+ - `clearRuntimeNoTemperatureModels()` exposed for tests.
14
+ - Capability matrix (`test/matrix.ts`, `test/models.ts`) gains a `temperature` capability that runs a basic prompt with `temperature: 0` and verifies a non-empty response. Runs across every model in the matrix.
15
+
16
+ ## Why
17
+
18
+ `gpt-5.5` rejects `temperature` outright (`400 Unsupported parameter`). Every prior adapter that hit this returned an unrecoverable error to the caller. Matching the Anthropic pattern lets the OpenAI adapter handle the deprecation transparently — first call for an unknown model pays one round-trip to learn; denylisted models pay nothing — so callers can pass `temperature` portably across the model line.
19
+
20
+ ## Notes
21
+
22
+ - The denylist regex is forward-compatible: any future `gpt-5.5.*` or o-series variant strips automatically. Other models that newly deprecate the param fall into the runtime-cache path on first 400.
23
+ - Streaming (`executeStreamRequest`) does not retry on temperature errors; it relies on the denylist + warmed runtime cache from prior `operate()` calls. Models not yet in the cache will surface the 400 to the streaming consumer.
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 0.8.51
3
+ date: 2026-04-29
4
+ summary: Add release notes for @jaypie/llm 1.2.32 and jaypie 1.2.44 (OpenAI temperature-deprecation handling)
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Added `release-notes/llm/1.2.32.md` covering the OpenAI adapter's temperature-deprecation strip-and-retry path and the new `temperature` capability in the matrix harness.
10
+ - Added `release-notes/jaypie/1.2.44.md` for the corresponding `jaypie` peer-dep bump to `@jaypie/llm` `^1.2.32`.