@jaypie/mcp 0.7.29 → 0.7.31

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.7.29#c4402727"
12
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.7.31#0a295f43"
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.7.29",
3
+ "version": "0.7.31",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 1.2.14
3
+ date: 2026-03-02
4
+ summary: Remove x-powered-by header instead of setting it
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Changed `decorateResponse` to remove the `X-Powered-By` header instead of setting it to `@jaypie/express`
10
+ - Added `safeRemoveHeader` helper with support for dd-trace bypass, Lambda adapter, and standard Node.js responses
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 1.2.15
3
+ date: 2026-03-03
4
+ summary: Redact sensitive headers in request summary logs
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - `summarizeRequest` now redacts `authorization`, `cookie`, and `set-cookie` headers before logging
10
+ - Fixes plaintext auth tokens appearing in `log.info.var({ req })` output
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 1.2.16
3
+ date: 2026-03-02
4
+ summary: Dependency updates for kit, logger, and express
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Updated `@jaypie/kit` to 1.2.2 (jaypieKey functions)
10
+ - Updated `@jaypie/logger` to 1.2.4 (sanitize auth headers)
11
+ - Updated `@jaypie/express` to 1.2.14 (remove x-powered-by)
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 1.2.17
3
+ date: 2026-03-03
4
+ summary: Dependency update for express 1.2.15
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Updated `@jaypie/express` to 1.2.15 (redact sensitive headers in request logs)
@@ -0,0 +1,13 @@
1
+ ---
2
+ version: 1.2.2
3
+ date: 2026-03-02
4
+ summary: Add generateJaypieKey, validateJaypieKey, and hashJaypieKey functions
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Added `generateJaypieKey({ checksum, issuer, length, pool, prefix, separator })` for API key generation using `crypto.randomBytes`
10
+ - Added `validateJaypieKey(key, options)` for format and checksum validation
11
+ - Added `hashJaypieKey(key, { salt })` for SHA-256/HMAC-SHA256 key hashing with salt from param or `PROJECT_SALT` env
12
+ - All params optional with sensible defaults; zero-param `generateJaypieKey()` produces `sk_<32 base62><4 checksum>`
13
+ - Checksum algorithm is backward-compatible with existing garden API key format
@@ -0,0 +1,12 @@
1
+ ---
2
+ version: 1.2.4
3
+ date: 2026-03-02
4
+ summary: Sanitize authorization headers in logger output
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Added `sanitizeAuth` that redacts authorization headers before logging
10
+ - `sk-*` tokens are redacted to `sk_<last4>`, other values to `md5_<last4>`
11
+ - Handles top-level `authorization` keys and nested `headers.authorization`
12
+ - Original objects are never mutated
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 1.2.5
3
+ date: 2026-03-03
4
+ summary: Export redactAuth and sanitizeAuth utilities
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Exported `redactAuth` and `sanitizeAuth` functions for use by other packages
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 0.7.30
3
+ date: 2026-03-02
4
+ summary: Release notes for kit 1.2.2, testkit 1.2.22, logger 1.2.4, express 1.2.14, jaypie 1.2.16
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Added release notes for `@jaypie/kit` 1.2.2, `@jaypie/testkit` 1.2.22, `@jaypie/logger` 1.2.4, `@jaypie/express` 1.2.14, `jaypie` 1.2.16
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 0.7.31
3
+ date: 2026-03-03
4
+ summary: Release notes for express 1.2.15, jaypie 1.2.17
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Added release notes for `@jaypie/express` 1.2.15, `jaypie` 1.2.17
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 1.2.22
3
+ date: 2026-03-02
4
+ summary: Add mocks for jaypieKey functions
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Added `generateJaypieKey` mock returning deterministic key string
10
+ - Added `validateJaypieKey` mock returning `true`
11
+ - Added `hashJaypieKey` mock returning deterministic 64-char hex string
@@ -0,0 +1,9 @@
1
+ ---
2
+ version: 1.2.23
3
+ date: 2026-03-03
4
+ summary: Re-export redactAuth and sanitizeAuth from logger
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - Re-export `redactAuth` and `sanitizeAuth` from `@jaypie/logger` in mock logger
package/skills/express.md CHANGED
@@ -111,7 +111,7 @@ app.use(cors({ origin: ["https://a.com", "https://b.com"] }));
111
111
  ```typescript
112
112
  import { EXPRESS } from "jaypie";
113
113
 
114
- EXPRESS.HEADER.POWERED_BY // "x-powered-by"
114
+ EXPRESS.HEADER.POWERED_BY // "x-powered-by" (removed by decorateResponse)
115
115
  EXPRESS.HEADER.PROJECT_KEY // "x-project-key"
116
116
  EXPRESS.HEADER.REQUEST_ID // "x-request-id"
117
117
  EXPRESS.PROJECT.EXPRESS // "@jaypie/express"