@jaypie/mcp 0.8.69 → 0.8.71
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.
|
|
12
|
+
const BUILD_VERSION_STRING = "@jaypie/mcp@0.8.71#38772586"
|
|
13
13
|
;
|
|
14
14
|
const __filename$1 = fileURLToPath(import.meta.url);
|
|
15
15
|
const __dirname$1 = path.dirname(__filename$1);
|
package/package.json
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.39
|
|
3
|
+
date: 2026-06-16
|
|
4
|
+
summary: Fix MODEL.GPT_MINI/GPT_NANO typo (gpt-5.5-* → gpt-5.4-*) to match OpenAI provider constants
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## @jaypie/llm 1.2.39
|
|
8
|
+
|
|
9
|
+
### Fixes
|
|
10
|
+
|
|
11
|
+
- **Model constants**: `MODEL.GPT_MINI` and `MODEL.GPT_NANO` were pinned to nonexistent `gpt-5.5-mini`/`gpt-5.5-nano`; corrected to `gpt-5.4-mini`/`gpt-5.4-nano`, matching `PROVIDER.OPENAI.MODEL.SMALL`/`TINY` and the CI test matrix.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.8.71
|
|
3
|
+
date: 2026-06-16
|
|
4
|
+
summary: Add @jaypie/llm 1.2.39 release notes; document model-first Llm constructor
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Adds release notes for `@jaypie/llm` 1.2.39 (`MODEL.GPT_MINI`/`GPT_NANO` typo fix).
|
|
10
|
+
- Documents that `new Llm(model)` accepts a model name as its first argument (provider auto-detected, model retained) in the `llm` skill.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.42
|
|
3
|
+
date: 2026-06-14
|
|
4
|
+
summary: vitest 4 compatibility for constructor mocks (Llm) and callable mock typing
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## @jaypie/testkit 1.2.42
|
|
8
|
+
|
|
9
|
+
### Changes
|
|
10
|
+
|
|
11
|
+
- **vitest 4 support**: mock factories in `mock/utils.ts` now surface a callable `Mock` type (vitest 4 types a bare `vi.fn()` as the non-callable `Mock<Constructable | Procedure>`).
|
|
12
|
+
- **`Llm` mock**: converted to a constructable (non-arrow `function`) implementation so it can be instantiated with `new` under vitest 4 while preserving the previous mock shape.
|
package/skills/llm.md
CHANGED
|
@@ -315,6 +315,15 @@ const review1 = await llm.operate(code1);
|
|
|
315
315
|
const review2 = await llm.operate(code2);
|
|
316
316
|
```
|
|
317
317
|
|
|
318
|
+
The first constructor argument may be a provider name **or** a model name. When a model name is passed, the provider is auto-detected and the model is retained:
|
|
319
|
+
|
|
320
|
+
```typescript
|
|
321
|
+
import Llm, { LLM } from "@jaypie/llm";
|
|
322
|
+
|
|
323
|
+
const llm = new Llm("claude-sonnet-4-6"); // -> anthropic, claude-sonnet-4-6
|
|
324
|
+
const flash = new Llm(LLM.MODEL.GEMINI_FLASH); // -> google, gemini-3.5-flash
|
|
325
|
+
```
|
|
326
|
+
|
|
318
327
|
## Environment Variables
|
|
319
328
|
|
|
320
329
|
```bash
|