@jaypie/mcp 0.8.19 → 0.8.20
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.20#c64428ea"
|
|
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,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.12
|
|
3
|
+
date: 2026-04-08
|
|
4
|
+
summary: Extract useful data from opaque objects (Response, Headers, etc.) in .var() logging
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Type-based filters now run on any var key, not just `"response"` or `"error"` — `log.var({ errorResponse: resp })` now works
|
|
10
|
+
- Added fetch `Response` detection: extracts `ok`, `status`, `statusText`, `headers`, `url`, `redirected`, `type`
|
|
11
|
+
- Error detection now works with any key (e.g., `{ lastError: new Error() }`)
|
|
12
|
+
- Generic fallback for opaque objects (classes where `JSON.stringify` returns `{}`):
|
|
13
|
+
- Map-like objects (`Headers`, `URLSearchParams`, `FormData`) converted via `.entries()`
|
|
14
|
+
- Other opaque objects: walks prototype chain to read getters, skips functions and streams
|
|
15
|
+
- Base `Logger` class now applies pipelines (previously only `JaypieLogger` did)
|