@jaypie/mcp 0.8.189 → 0.8.190

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/assets.js CHANGED
@@ -55,11 +55,11 @@ function getMcpAssetPaths() {
55
55
  */
56
56
  function getMcpBuildInfo() {
57
57
  return {
58
- commit: "5569d996"
58
+ commit: "c95f849f"
59
59
  ,
60
- version: "0.8.189"
60
+ version: "0.8.190"
61
61
  ,
62
- versionString: "@jaypie/mcp@0.8.189#5569d996"
62
+ versionString: "@jaypie/mcp@0.8.190#c95f849f"
63
63
  ,
64
64
  };
65
65
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jaypie/mcp",
3
- "version": "0.8.189",
3
+ "version": "0.8.190",
4
4
  "description": "Jaypie MCP",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,11 @@
1
+ ---
2
+ version: 0.8.190
3
+ date: 2026-10-14
4
+ summary: Skills agree on packages/cdk as the CDK package directory
5
+ ---
6
+
7
+ ## Changes
8
+
9
+ - **Skills**: `monorepo`, `cdk`, `cicd-actions`, `cicd-deploy`, `dynamodb`, and `jaypie` name `packages/cdk` as the single location for the CDK package (#623)
10
+ - **`monorepo`**: drops `stacks` as a workspace directory name; limits `workspaces/` to repositories whose `packages/` publish to npm; notes that the root `package.json` and vitest globs cover `packages/*` only
11
+ - **`cicd-actions`**: `cdk-deploy` defaults `working-directory` to `packages/cdk`; `web-deploy` defaults to `packages/cdk/cdk-outputs.json` and `packages/web/dist`
package/skills/cdk.md CHANGED
@@ -107,10 +107,10 @@ new JaypieSesIntake(this, "Intake", {
107
107
 
108
108
  ## Stack Structure
109
109
 
110
- Organize stacks in the `workspaces/` directory:
110
+ The CDK package lives at `packages/cdk`, alongside every other workspace (see `skill("monorepo")`):
111
111
 
112
112
  ```
113
- workspaces/
113
+ packages/
114
114
  ├── cdk/
115
115
  │ ├── src/
116
116
  │ │ ├── app.ts # CDK app entry
@@ -194,7 +194,6 @@ runs:
194
194
  path: |
195
195
  node_modules
196
196
  packages/*/node_modules
197
- workspaces/*/node_modules
198
197
  key: ${{ runner.os }}-node-${{ inputs.node-version }}-${{ hashFiles('**/package-lock.json') }}
199
198
  restore-keys: |
200
199
  ${{ runner.os }}-node-${{ inputs.node-version }}-
@@ -205,8 +204,7 @@ runs:
205
204
  with:
206
205
  path: |
207
206
  packages/*/dist
208
- workspaces/*/dist
209
- workspaces/*/.open-next
207
+ packages/*/.open-next
210
208
  key: ${{ runner.os }}-build-${{ github.sha }}
211
209
  restore-keys: |
212
210
  ${{ runner.os }}-build-
@@ -262,7 +260,7 @@ inputs:
262
260
  working-directory:
263
261
  description: 'Working directory for CDK commands'
264
262
  required: false
265
- default: 'workspaces/cdk'
263
+ default: 'packages/cdk'
266
264
  require-approval:
267
265
  description: 'CDK approval mode (never, any-change, broadening)'
268
266
  required: false
@@ -310,7 +308,7 @@ inputs:
310
308
  outputs-file:
311
309
  description: 'Path to cdk-outputs.json produced by cdk deploy'
312
310
  required: false
313
- default: 'workspaces/cdk/cdk-outputs.json'
311
+ default: 'packages/cdk/cdk-outputs.json'
314
312
  prefix:
315
313
  description: 'Output name prefix when exportOutputs({ prefix }) was used (e.g., "App")'
316
314
  required: false
@@ -318,7 +316,7 @@ inputs:
318
316
  source:
319
317
  description: 'Directory of built assets to sync'
320
318
  required: false
321
- default: 'workspaces/web/dist'
319
+ default: 'packages/web/dist'
322
320
  region:
323
321
  description: 'AWS region'
324
322
  required: false
@@ -261,7 +261,7 @@ jobs:
261
261
 
262
262
  CDK provisions a `JaypieWebDeploymentBucket`; it does not fill it. Jaypie avoids `s3deploy.BucketDeployment`, so shipping content is a workflow step:
263
263
 
264
- 1. `cdk-deploy` deploys the bucket, distribution, and deploy role, and writes `workspaces/cdk/cdk-outputs.json`.
264
+ 1. `cdk-deploy` deploys the bucket, distribution, and deploy role, and writes `packages/cdk/cdk-outputs.json`.
265
265
  2. `web-deploy` reads `DestinationBucketName`, `DestinationBucketDeployRoleArn`, and `DistributionId` from that file.
266
266
  3. `web-deploy` assumes the deploy role, syncs the built assets, and invalidates the distribution.
267
267
 
@@ -278,7 +278,7 @@ See `skill("cicd-actions")` for the `web-deploy` action body and `skill("web")`
278
278
  `JaypieStack` names every stack `cdk-{PROJECT_SPONSOR}-{PROJECT_KEY}-{PROJECT_ENV}-{PROJECT_NONCE}[-{key}]` and resolves the account and region (see `skill("cdk")`). Do not compose stack names in `app.ts`:
279
279
 
280
280
  ```typescript
281
- // workspaces/cdk/src/app.ts
281
+ // packages/cdk/src/app.ts
282
282
  import { App } from "aws-cdk-lib";
283
283
  import { JaypieAppStack } from "@jaypie/constructs";
284
284
 
@@ -550,7 +550,7 @@ registerModel({ model: "session", indexes: [fabricIndex()], ttl: "30 days" });
550
550
  ```
551
551
 
552
552
  ```typescript
553
- // workspaces/cdk/lib/data-stack.ts
553
+ // packages/cdk/lib/data-stack.ts
554
554
  import "@project/models"; // registers models
555
555
  import { JaypieDynamoDb } from "@jaypie/constructs";
556
556
  import { getAllRegisteredIndexes } from "@jaypie/fabric";
package/skills/jaypie.md CHANGED
@@ -50,11 +50,10 @@ Jaypie projects use npm workspaces:
50
50
 
51
51
  ```
52
52
  project/
53
- ├── packages/ # npm packages
53
+ ├── packages/ # npm workspaces
54
54
  │ ├── api/ # Express API
55
+ │ ├── cdk/ # CDK app
55
56
  │ └── lib/ # Shared library
56
- ├── workspaces/ # CDK infrastructure
57
- │ └── cdk/ # CDK app
58
57
  └── package.json # Root workspace config
59
58
  ```
60
59
 
@@ -135,8 +135,12 @@ npm install --save-dev @jaypie/eslint @jaypie/repokit @jaypie/testkit eslint vit
135
135
 
136
136
  | Directory | Purpose |
137
137
  |-----------|---------|
138
- | `packages/` | npm packages (default workspace) |
139
- | `workspaces/` | CDK-deployed infrastructure and sites |
138
+ | `packages/` | Default for every workspace: npm packages, the CDK package (`packages/cdk`), and sites (`packages/web`) |
139
+ | `workspaces/` | Only in a repository whose `packages/` publish to npm: the unpublished workspaces that manage them (`workspaces/cdk`, `workspaces/documentation`) |
140
+
141
+ Use `packages/cdk` unless the repository publishes its packages to npm. The Jaypie repository itself is the `workspaces/` case: `packages/` holds the published libraries and `workspaces/` holds the CDK app and documentation site that deploy around them.
142
+
143
+ `packages/cdk` is the default the `cdk`, `cicd-actions`, and `cicd-deploy` skills assume. The root `package.json` scripts and the vitest `test.projects` glob cover `packages/*` only, so a repository that adds `workspaces/` must pass `workspaces/cdk` to the `cdk-deploy` and `web-deploy` inputs, and its workspaces fall out of `build`, `clean`, `format:package`, `test`, and `typecheck` until every one of those globs names it.
140
144
 
141
145
  ## Scripts Reference
142
146
 
@@ -164,10 +168,9 @@ npm install --save-dev @jaypie/eslint @jaypie/repokit @jaypie/testkit eslint vit
164
168
  - etc: configurations
165
169
  - lib: usually within a src directory, modules of encapsulated logic that could be refactored out later
166
170
  - LOCAL: human local scratch directory, include in gitignore
167
- - packages: default and preferred name for NPM workspaces; always use for packages publishing to NPM
168
- - stacks: allowed name for NPM workspaces that publish via CDK
171
+ - packages: default directory for NPM workspaces, including the CDK package (`packages/cdk`); always use for packages publishing to NPM
169
172
  - templates: usually CloudFormation
170
- - workspaces: allowed name for NPM workspace that do not publish
173
+ - workspaces: unpublished workspaces (CDK, sites) in a repository whose packages publish to NPM
171
174
  - var: agent and machine local scratch directory, include in gitignore
172
175
 
173
176
  ### Discouraged Folder Names