@jaypie/mcp 0.7.35 → 0.7.37
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/suites/docs/index.js +1 -1
- package/package.json +1 -1
- package/release-notes/constructs/1.2.32.md +11 -0
- package/release-notes/jaypie/1.2.20.md +9 -0
- package/release-notes/jaypie/1.2.21.md +15 -0
- package/release-notes/kit/1.2.4.md +12 -0
- package/release-notes/mcp/0.7.36.md +11 -0
- package/release-notes/mcp/0.7.37.md +10 -0
- package/skills/apikey.md +37 -2
|
@@ -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.
|
|
12
|
+
const BUILD_VERSION_STRING = "@jaypie/mcp@0.7.37#b65e6395"
|
|
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.32
|
|
3
|
+
date: 2026-03-13
|
|
4
|
+
summary: Add removalPolicy option to JaypieEnvSecret
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Added `removalPolicy` prop to `JaypieEnvSecret`
|
|
10
|
+
- Accepts `boolean` (`true` = RETAIN, `false` = DESTROY) or CDK `RemovalPolicy` enum
|
|
11
|
+
- Simplifies production retention: `removalPolicy: isProductionEnv()`
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.21
|
|
3
|
+
date: 2026-03-13
|
|
4
|
+
summary: Update internal dependency versions to latest published subpackages
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Updated dependency version ranges to match latest published subpackages:
|
|
10
|
+
- `@jaypie/aws` ^1.2.4 → ^1.2.5
|
|
11
|
+
- `@jaypie/express` ^1.2.11 → ^1.2.15
|
|
12
|
+
- `@jaypie/kit` ^1.2.1 → ^1.2.4
|
|
13
|
+
- `@jaypie/lambda` ^1.2.3 → ^1.2.4
|
|
14
|
+
- `@jaypie/logger` ^1.2.1 → ^1.2.5
|
|
15
|
+
- Ensures consumers get latest subpackage features (e.g., `generateJaypieKey` seed support)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 1.2.4
|
|
3
|
+
date: 2026-03-13
|
|
4
|
+
summary: Add seed parameter to generateJaypieKey for deterministic key derivation
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Added `seed` option to `generateJaypieKey` for deterministic key derivation via HMAC-SHA256
|
|
10
|
+
- Uses the `issuer` (defaulting to `"jaypie"`) as the HMAC message
|
|
11
|
+
- Same seed + same issuer always produces the same key
|
|
12
|
+
- Useful for bootstrapping owner keys from a shared secret
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.7.36
|
|
3
|
+
date: 2026-03-13
|
|
4
|
+
summary: Update apikey skill with seed and removalPolicy documentation
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Updated `~apikey` skill with seed-based key generation documentation
|
|
10
|
+
- Added `PROJECT_ADMIN_SEED` infrastructure example alongside `PROJECT_SALT`
|
|
11
|
+
- Documented `removalPolicy` boolean shorthand for `JaypieEnvSecret`
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
version: 0.7.37
|
|
3
|
+
date: 2026-03-13
|
|
4
|
+
summary: Add critical reminder to prepare skill about updating jaypie dependency versions
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Updated prepare skill to emphasize updating `packages/jaypie/package.json` dependency versions when bumping subpackages
|
|
10
|
+
- Added release notes for jaypie 1.2.21
|
package/skills/apikey.md
CHANGED
|
@@ -41,6 +41,25 @@ generateJaypieKey({ prefix: "", issuer: "jaypie" });
|
|
|
41
41
|
// "jaypie_A1b2C3d4E5f6G7h8I9j0K1l2M3n4O5p6_Xq7R"
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
+
### With Seed
|
|
45
|
+
|
|
46
|
+
Pass `seed` to derive a deterministic key from a secret. Uses HMAC-SHA256 with the `issuer` (defaulting to `"jaypie"`) as the HMAC message:
|
|
47
|
+
|
|
48
|
+
```typescript
|
|
49
|
+
const key = generateJaypieKey({ seed: process.env.PROJECT_ADMIN_SEED, issuer: "jaypie" });
|
|
50
|
+
// Same seed + same issuer = same key every time
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Different issuers produce different keys from the same seed:
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
generateJaypieKey({ seed: "my-seed", issuer: "alpha" });
|
|
57
|
+
generateJaypieKey({ seed: "my-seed", issuer: "beta" });
|
|
58
|
+
// Two different keys
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
This is useful for bootstrapping an initial owner key from a shared secret without requiring database access.
|
|
62
|
+
|
|
44
63
|
### Options
|
|
45
64
|
|
|
46
65
|
| Option | Default | Description |
|
|
@@ -50,6 +69,7 @@ generateJaypieKey({ prefix: "", issuer: "jaypie" });
|
|
|
50
69
|
| `length` | `32` | Random body length |
|
|
51
70
|
| `pool` | base62 (`0-9A-Za-z`) | Character pool for body |
|
|
52
71
|
| `prefix` | `"sk"` | Key prefix (`""` to omit) |
|
|
72
|
+
| `seed` | (none) | Derive key deterministically via HMAC-SHA256 |
|
|
53
73
|
| `separator` | `"_"` | Delimiter between segments |
|
|
54
74
|
|
|
55
75
|
All options are optional. Zero-param call produces `sk_<32 base62>_<4 checksum>`.
|
|
@@ -161,10 +181,13 @@ import { generateJaypieKey, hashJaypieKey, validateJaypieKey } from "@jaypie/tes
|
|
|
161
181
|
|
|
162
182
|
## Infrastructure
|
|
163
183
|
|
|
164
|
-
Use with the generated secrets pattern for `PROJECT_SALT`:
|
|
184
|
+
Use with the generated secrets pattern for `PROJECT_SALT` and `PROJECT_ADMIN_SEED`:
|
|
165
185
|
|
|
166
186
|
```typescript
|
|
167
|
-
|
|
187
|
+
import { isProductionEnv } from "@jaypie/kit";
|
|
188
|
+
|
|
189
|
+
// PROJECT_SALT — used by hashJaypieKey to HMAC hash keys for storage.
|
|
190
|
+
// If this value is lost, all stored key hashes become unverifiable.
|
|
168
191
|
new JaypieEnvSecret(this, "ProjectSalt", {
|
|
169
192
|
envKey: "PROJECT_SALT",
|
|
170
193
|
generateSecretString: {
|
|
@@ -172,6 +195,18 @@ new JaypieEnvSecret(this, "ProjectSalt", {
|
|
|
172
195
|
includeSpace: false,
|
|
173
196
|
passwordLength: 64,
|
|
174
197
|
},
|
|
198
|
+
// Preserve this value if production stack is deleted
|
|
199
|
+
removalPolicy: isProductionEnv(),
|
|
200
|
+
});
|
|
201
|
+
|
|
202
|
+
// PROJECT_ADMIN_SEED — used by generateJaypieKey({ seed }) to derive the bootstrap owner key.
|
|
203
|
+
new JaypieEnvSecret(this, "ProjectAdminSeed", {
|
|
204
|
+
envKey: "PROJECT_ADMIN_SEED",
|
|
205
|
+
generateSecretString: {
|
|
206
|
+
excludePunctuation: true,
|
|
207
|
+
includeSpace: false,
|
|
208
|
+
passwordLength: 64,
|
|
209
|
+
},
|
|
175
210
|
});
|
|
176
211
|
```
|
|
177
212
|
|