@jaypie/mcp 0.7.17 → 0.7.18
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/mcp/0.7.18.md +10 -0
- package/skills/dynamodb.md +14 -12
|
@@ -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.18#db5c9ff1"
|
|
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: 0.7.18
|
|
3
|
+
date: 2026-02-14
|
|
4
|
+
summary: Fix dynamodb skill documentation errors
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Changes
|
|
8
|
+
|
|
9
|
+
- Fix non-existent `JaypieTable` reference to `JaypieDynamoDb` in dynamodb skill
|
|
10
|
+
- Add minimal-index guidance: start with zero GSIs, add only when access patterns demand
|
package/skills/dynamodb.md
CHANGED
|
@@ -65,7 +65,9 @@ const result = await client.send(new QueryCommand({
|
|
|
65
65
|
|
|
66
66
|
## GSI Patterns
|
|
67
67
|
|
|
68
|
-
|
|
68
|
+
Start with zero GSIs. Add indexes only when a real access pattern requires them — GSIs cost money and can always be added later.
|
|
69
|
+
|
|
70
|
+
### By-Status Index (example)
|
|
69
71
|
|
|
70
72
|
```typescript
|
|
71
73
|
// GSI for querying by status across all users
|
|
@@ -92,18 +94,18 @@ const result = await client.send(new QueryCommand({
|
|
|
92
94
|
|
|
93
95
|
## CDK Table Definition
|
|
94
96
|
|
|
97
|
+
Start with a basic table and add indexes only when access patterns demand them.
|
|
98
|
+
|
|
95
99
|
```typescript
|
|
96
|
-
import {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
sortKey: { name: "gsi1sk", type: AttributeType.STRING },
|
|
106
|
-
},
|
|
100
|
+
import { JaypieDynamoDb } from "@jaypie/constructs";
|
|
101
|
+
|
|
102
|
+
// Recommended: start with no indexes
|
|
103
|
+
const table = new JaypieDynamoDb(this, "myApp");
|
|
104
|
+
|
|
105
|
+
// Add indexes later when driven by real access patterns
|
|
106
|
+
const table = new JaypieDynamoDb(this, "myApp", {
|
|
107
|
+
indexes: [
|
|
108
|
+
{ pk: ["scope", "model"], sk: ["sequence"] },
|
|
107
109
|
],
|
|
108
110
|
});
|
|
109
111
|
```
|