@jaypie/mcp 0.8.2 → 0.8.4
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.4#71fb4b1f"
|
|
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,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.6
|
|
3
|
+
date: 2026-03-26
|
|
4
|
+
summary: Export getDatadogTransport for clean shutdown in production
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Export `getDatadogTransport` from `@jaypie/logger` for production use cases like flushing the transport before `process.exit()` in ECS Fargate containers
|
|
10
|
+
- Closes #248
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.7
|
|
3
|
+
date: 2026-03-27
|
|
4
|
+
summary: Rename JSON log field from "log" to "level" to fix Datadog CloudWatch collision
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Renamed `"log"` field to `"level"` in JSON output to prevent Datadog Forwarder from interpreting the log level as the message content
|
|
10
|
+
- Updated DatadogTransport to strip `"level"` instead of `"log"` when forwarding
|
|
11
|
+
- Closes #250
|
|
12
|
+
|
|
13
|
+
## Migration
|
|
14
|
+
|
|
15
|
+
JSON output changes from:
|
|
16
|
+
```json
|
|
17
|
+
{"log":"debug","message":"hello"}
|
|
18
|
+
```
|
|
19
|
+
to:
|
|
20
|
+
```json
|
|
21
|
+
{"level":"debug","message":"hello"}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Any log parsing rules that match on the `"log"` field should be updated to match `"level"`.
|
package/skills/logs.md
CHANGED
|
@@ -28,7 +28,7 @@ log.error("Error message");
|
|
|
28
28
|
log.fatal("Fatal error"); // only used internally in jaypie
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
## Logging
|
|
31
|
+
## Logging Data
|
|
32
32
|
|
|
33
33
|
DO NOT use multiple parameters when logging:
|
|
34
34
|
<BAD>
|
|
@@ -61,13 +61,15 @@ log.var({ Processing: {
|
|
|
61
61
|
} });
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
+
Log any important, even scalar, data and filter with `var` in Datadog
|
|
65
|
+
|
|
64
66
|
## Setting Log Level
|
|
65
67
|
|
|
66
68
|
Via environment variable:
|
|
67
69
|
|
|
68
70
|
```bash
|
|
69
71
|
LOG_LEVEL=debug npm run dev
|
|
70
|
-
LOG_LEVEL=trace npm test
|
|
72
|
+
LOG_LEVEL=trace MODULE_LOG_LEVEL=warn npm test
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
## Lambda Logging
|