@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.
@@ -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.17#0cfeac13"
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.7.17",
3
+ "version": "0.7.18",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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
@@ -65,7 +65,9 @@ const result = await client.send(new QueryCommand({
65
65
 
66
66
  ## GSI Patterns
67
67
 
68
- ### By-Status Index
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 { JaypieTable } from "@jaypie/constructs";
97
-
98
- const table = new JaypieTable(this, "DataTable", {
99
- partitionKey: { name: "pk", type: AttributeType.STRING },
100
- sortKey: { name: "sk", type: AttributeType.STRING },
101
- globalSecondaryIndexes: [
102
- {
103
- indexName: "gsi1",
104
- partitionKey: { name: "gsi1pk", type: AttributeType.STRING },
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
  ```