@jaypie/mcp 0.8.163 → 0.8.165
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 +3 -3
- package/package.json +1 -1
- package/release-notes/llm/1.3.45.md +14 -0
- package/release-notes/llm/1.3.46.md +15 -0
- package/release-notes/mcp/0.8.164.md +10 -0
- package/skills/llm.md +1 -0
package/dist/assets.js
CHANGED
|
@@ -55,11 +55,11 @@ function getMcpAssetPaths() {
|
|
|
55
55
|
*/
|
|
56
56
|
function getMcpBuildInfo() {
|
|
57
57
|
return {
|
|
58
|
-
commit: "
|
|
58
|
+
commit: "f03ecc6d"
|
|
59
59
|
,
|
|
60
|
-
version: "0.8.
|
|
60
|
+
version: "0.8.165"
|
|
61
61
|
,
|
|
62
|
-
versionString: "@jaypie/mcp@0.8.
|
|
62
|
+
versionString: "@jaypie/mcp@0.8.165#f03ecc6d"
|
|
63
63
|
,
|
|
64
64
|
};
|
|
65
65
|
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.3.45
|
|
3
|
+
date: 2026-09-19
|
|
4
|
+
summary: Settle a response the provider cut short as incomplete with the provider's reason
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `operate()` settles `status: "incomplete"` with `error.reason: "incomplete"` (502) when the provider stops the model before it finishes; the partial text stays in `content` and `error.detail` names the provider's reason
|
|
10
|
+
- Every adapter reports it: OpenAI, xAI, and Meta from `status: "incomplete"` plus `incomplete_details.reason` (`max_output_tokens`, `content_filter`); Anthropic from `stop_reason` `max_tokens` or `refusal`; Google from `finishReason` `MAX_TOKENS` or a safety finish; Bedrock from `max_tokens` or a guardrail stop; Fireworks, Mistral, and OpenRouter from `finish_reason` `length` or `content_filter`
|
|
11
|
+
- Previously the loop completed with the truncated text, and a structured request surfaced as prose that failed the format contract ("OCR emulation did not return JSON")
|
|
12
|
+
- `stream()` emits an error chunk from the same stop event on every provider and settles the exchange incomplete; usage from that event still tallies
|
|
13
|
+
- `Llm.ocr` emulation wraps a settled error body in `LlmUnrecoverableError` so a fallback chain logs the provider's reason and moves to the next engine
|
|
14
|
+
- New `LlmResponseErrorReason.Incomplete` and `ParsedResponse.incompleteReason` for adapters
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.3.46
|
|
3
|
+
date: 2026-09-21
|
|
4
|
+
summary: MODEL.GROK names grok-4.7
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- `MODEL.GROK` and `PROVIDER.XAI.DEFAULT` name `grok-4.7`, superseding `grok-4.6`
|
|
10
|
+
- `COST["grok-4.7"]` prices the model at $2.00 input, $6.00 output, and $0.50 cache read per million tokens, matching what xAI publishes on the models endpoint
|
|
11
|
+
- `COST["grok-4.6"]` remains so historic usage records stay replayable
|
|
12
|
+
|
|
13
|
+
## Testing
|
|
14
|
+
|
|
15
|
+
- Live, 2026-09-21 (`APP_MODELS=grok-4.7 npm run test:llm:matrix`): all seven capability cells passed — plain, tools, structured, both, pdf, image, and temperature
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.8.164
|
|
3
|
+
date: 2026-09-19
|
|
4
|
+
summary: Document the incomplete loop stop in the llm skill
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- The llm skill's loop stops table gains `incomplete` (502): the provider cut the model off before it finished; `content` holds the partial text and `error.detail` names the provider's reason
|
|
10
|
+
- Add release notes for `@jaypie/llm` 1.3.45
|
package/skills/llm.md
CHANGED
|
@@ -918,6 +918,7 @@ exactly like a provider rate limit.
|
|
|
918
918
|
|----------|--------|---------|
|
|
919
919
|
| `max_turns` | 429 | The model asked for another tool call after `turns` ran out. Nothing failed; the run did not converge. |
|
|
920
920
|
| `tool_errors` | 502 | Tool execution failed six times in a row and the loop stopped. |
|
|
921
|
+
| `incomplete` | 502 | The provider cut the model off before it finished (an output token ceiling, a content filter). `content` holds the partial text; `error.detail` names the provider's reason. |
|
|
921
922
|
|
|
922
923
|
```typescript
|
|
923
924
|
import { LlmResponseErrorReason } from "@jaypie/llm";
|