@jaypie/mcp 0.6.4 → 0.6.6

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.
@@ -8,7 +8,7 @@ import { gt } from 'semver';
8
8
  /**
9
9
  * Docs Suite - Documentation services (skill, version, release_notes)
10
10
  */
11
- const BUILD_VERSION_STRING = "@jaypie/mcp@0.6.4#db054728"
11
+ const BUILD_VERSION_STRING = "@jaypie/mcp@0.6.6#c35efb78"
12
12
  ;
13
13
  const __filename$1 = fileURLToPath(import.meta.url);
14
14
  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.6.4",
3
+ "version": "0.6.6",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,43 @@
1
+ ---
2
+ version: 1.2.23
3
+ date: 2025-01-26
4
+ summary: Fix shared secrets not injecting env vars across constructs (Issue #158)
5
+ ---
6
+
7
+ # @jaypie/constructs 1.2.23
8
+
9
+ ## Bug Fix
10
+
11
+ ### Shared Secrets Between Constructs (Issue #158)
12
+
13
+ Fixed an issue where secrets declared in multiple constructs (e.g., `JaypieQueuedLambda` and `JaypieNextJs`) would not properly inject `SECRET_*` environment variables or grant IAM permissions to the second construct.
14
+
15
+ **Root Cause**: `JaypieLambda` and `JaypieNextJs` were calling `resolveSecrets(scope, ...)` with their parent construct as the scope. This caused secrets to be cached per-construct rather than per-stack, so constructs couldn't share secrets.
16
+
17
+ **Fix**: Changed both `JaypieLambda` and `JaypieNextJs` to use `Stack.of(this)` as the scope for `resolveSecrets`. This ensures:
18
+ - Secrets are shared at the stack level across all constructs
19
+ - Each construct sets its own `SECRET_*` environment variables
20
+ - Each construct grants IAM permissions to its Lambda function
21
+
22
+ **Before** (broken):
23
+ ```typescript
24
+ // JaypieQueuedLambda created secrets under its own namespace
25
+ // JaypieNextJs couldn't find or use those secrets
26
+ const jobProcessor = new JaypieQueuedLambda(this, "JobProcessor", {
27
+ secrets: ["ANTHROPIC_API_KEY"], // Created JobProcessorANTHROPICAPIKEY-xxx
28
+ });
29
+ const nextjsApp = new JaypieNextJs(this, "NextJsApp", {
30
+ secrets: ["ANTHROPIC_API_KEY"], // Missing env var and permissions!
31
+ });
32
+ ```
33
+
34
+ **After** (fixed):
35
+ ```typescript
36
+ // Both constructs share secrets at stack level
37
+ const jobProcessor = new JaypieQueuedLambda(this, "JobProcessor", {
38
+ secrets: ["ANTHROPIC_API_KEY"], // Creates shared secret
39
+ });
40
+ const nextjsApp = new JaypieNextJs(this, "NextJsApp", {
41
+ secrets: ["ANTHROPIC_API_KEY"], // Reuses same secret, gets env var + permissions
42
+ });
43
+ ```
@@ -0,0 +1,15 @@
1
+ ---
2
+ version: 1.2.24
3
+ date: 2025-01-26
4
+ summary: Fix JaypieNextJs Lambda timeout defaulting to 10 seconds instead of 900 seconds
5
+ ---
6
+
7
+ ## Bug Fix
8
+
9
+ - **JaypieNextJs timeout**: Lambda functions deployed via `JaypieNextJs` now default to 900 seconds (`CDK.DURATION.LAMBDA_WORKER`) instead of the 10-second default from `cdk-nextjs-standalone`. This fix applies to both the server function and image optimization function.
10
+
11
+ ## Details
12
+
13
+ Previously, the `JaypieNextJs` construct did not pass a `timeout` property to the underlying `cdk-nextjs-standalone` Nextjs construct, causing Lambda functions to timeout after just 10 seconds. This was inconsistent with other Jaypie Lambda constructs like `JaypieQueuedLambda` which correctly defaulted to 900 seconds.
14
+
15
+ Fixes #162.
@@ -0,0 +1,10 @@
1
+ ---
2
+ version: 1.2.6
3
+ date: 2025-01-26
4
+ summary: Update @jaypie/llm peer dependency to 1.2.8
5
+ ---
6
+
7
+ ## Dependencies
8
+
9
+ - Updated `@jaypie/llm` peer dependency to ^1.2.8
10
+ - Includes fix for streaming crash after tool execution
@@ -0,0 +1,28 @@
1
+ ---
2
+ version: 1.2.8
3
+ date: 2025-01-26
4
+ summary: Fix streaming crash after tool execution in Anthropic and OpenRouter adapters
5
+ ---
6
+
7
+ ## Bug Fixes
8
+
9
+ - **Streaming with Tools**: Fixed crash in `Llm.stream()` when tools are executed
10
+ - Error: "Cannot read properties of undefined (reading 'map')"
11
+ - Root cause: FunctionCall/FunctionCallOutput messages lack role/content fields
12
+ - Fixed in AnthropicAdapter and OpenRouterAdapter buildRequest methods
13
+
14
+ ## Technical Details
15
+
16
+ StreamLoop adds messages with `type: LlmMessageType.FunctionCall` and `type: LlmMessageType.FunctionCallOutput` to conversation history. These message types don't have `role` and `content` fields that adapters expected.
17
+
18
+ ### AnthropicAdapter Changes
19
+ - FunctionCall messages converted to assistant message with `tool_use` block
20
+ - FunctionCallOutput messages converted to user message with `tool_result` block
21
+
22
+ ### OpenRouterAdapter Changes
23
+ - FunctionCall messages converted to assistant message with `toolCalls` array
24
+ - FunctionCallOutput messages converted to `tool` role message
25
+
26
+ ## Related
27
+
28
+ - Fixes GitHub Issue #165
@@ -0,0 +1,12 @@
1
+ ---
2
+ version: 0.6.5
3
+ date: 2026-01-26
4
+ summary: Added migration guide for class to category refactor in DynamoDB skill
5
+ ---
6
+
7
+ # @jaypie/mcp 0.6.5
8
+
9
+ ## Changes
10
+
11
+ - Added migration section to `dynamodb` skill documenting the `class` → `category` field rename in @jaypie/dynamodb 0.4.0+
12
+ - Documents table recreation and migration script options for existing tables
@@ -147,3 +147,19 @@ describe("OrderService", () => {
147
147
  });
148
148
  ```
149
149
 
150
+ ## Migration: class to category (v0.4.0)
151
+
152
+ Version 0.4.0 renamed `class` → `category` and `indexClass` → `indexCategory`.
153
+
154
+ **If your table was created with an older version:**
155
+
156
+ 1. **Local dev**: Delete and recreate the table using MCP `createTable`
157
+ 2. **Production**: See `packages/dynamodb/CLAUDE.md` for migration script
158
+
159
+ | Old | New |
160
+ |-----|-----|
161
+ | `class` | `category` |
162
+ | `indexClass` | `indexCategory` |
163
+ | `INDEX_CLASS` | `INDEX_CATEGORY` |
164
+ | `queryByClass()` | `queryByCategory()` |
165
+