@webiny/mcp 6.1.0-beta.1 → 6.1.0-beta.3

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.
Files changed (84) hide show
  1. package/agents/claude.d.ts +2 -0
  2. package/agents/claude.js +6 -0
  3. package/agents/claude.js.map +1 -1
  4. package/agents/cline.d.ts +2 -0
  5. package/agents/cline.js +6 -0
  6. package/agents/cline.js.map +1 -1
  7. package/agents/copilot.d.ts +2 -0
  8. package/agents/copilot.js +7 -0
  9. package/agents/copilot.js.map +1 -1
  10. package/agents/cursor.d.ts +2 -0
  11. package/agents/cursor.js +6 -0
  12. package/agents/cursor.js.map +1 -1
  13. package/agents/discover.d.ts +3 -0
  14. package/agents/discover.js +29 -0
  15. package/agents/discover.js.map +1 -0
  16. package/agents/instructions.d.ts +3 -1
  17. package/agents/instructions.js +15 -2
  18. package/agents/instructions.js.map +1 -1
  19. package/agents/kiro.d.ts +2 -0
  20. package/agents/kiro.js +6 -0
  21. package/agents/kiro.js.map +1 -1
  22. package/agents/opencode.d.ts +2 -0
  23. package/agents/opencode.js +7 -0
  24. package/agents/opencode.js.map +1 -1
  25. package/agents/types.d.ts +16 -0
  26. package/agents/types.js +3 -0
  27. package/agents/types.js.map +1 -0
  28. package/agents/windsurf.d.ts +2 -0
  29. package/agents/windsurf.js +6 -0
  30. package/agents/windsurf.js.map +1 -1
  31. package/cli/ConfigureMcp.js +21 -6
  32. package/cli/ConfigureMcp.js.map +1 -1
  33. package/package.json +3 -3
  34. package/skills/admin/admin-architect/SKILL.md +188 -0
  35. package/skills/admin/admin-permissions/SKILL.md +159 -0
  36. package/skills/admin/ui-extensions/SKILL.md +2 -0
  37. package/skills/api/api-architect/SKILL.md +548 -60
  38. package/skills/api/event-handler-pattern/SKILL.md +195 -23
  39. package/skills/api/graphql-api/SKILL.md +231 -31
  40. package/skills/api/permissions/SKILL.md +291 -0
  41. package/skills/api/use-case-pattern/SKILL.md +351 -12
  42. package/skills/api/v5-to-v6-migration/SKILL.md +416 -0
  43. package/skills/cli-extensions/SKILL.md +1 -1
  44. package/skills/content-models/SKILL.md +9 -5
  45. package/skills/full-stack-architect/SKILL.md +4 -0
  46. package/skills/generated/admin/SKILL.md +1 -1
  47. package/skills/generated/admin/aco/SKILL.md +1 -1
  48. package/skills/generated/admin/build-params/SKILL.md +1 -1
  49. package/skills/generated/admin/cms/SKILL.md +1 -1
  50. package/skills/generated/admin/configs/SKILL.md +1 -1
  51. package/skills/generated/admin/env-config/SKILL.md +1 -1
  52. package/skills/generated/admin/form/SKILL.md +1 -1
  53. package/skills/generated/admin/graphql-client/SKILL.md +1 -1
  54. package/skills/generated/admin/lexical/SKILL.md +1 -1
  55. package/skills/generated/admin/local-storage/SKILL.md +1 -1
  56. package/skills/generated/admin/router/SKILL.md +1 -1
  57. package/skills/generated/admin/security/SKILL.md +1 -1
  58. package/skills/generated/admin/tenancy/SKILL.md +1 -1
  59. package/skills/generated/admin/ui/SKILL.md +1 -1
  60. package/skills/generated/admin/website-builder/SKILL.md +1 -1
  61. package/skills/generated/api/SKILL.md +1 -1
  62. package/skills/generated/api/aco/SKILL.md +1 -1
  63. package/skills/generated/api/build-params/SKILL.md +1 -1
  64. package/skills/generated/api/cms/SKILL.md +1 -1
  65. package/skills/generated/api/event-publisher/SKILL.md +1 -1
  66. package/skills/generated/api/file-manager/SKILL.md +1 -1
  67. package/skills/generated/api/graphql/SKILL.md +1 -1
  68. package/skills/generated/api/key-value-store/SKILL.md +1 -1
  69. package/skills/generated/api/logger/SKILL.md +1 -1
  70. package/skills/generated/api/opensearch/SKILL.md +1 -1
  71. package/skills/generated/api/scheduler/SKILL.md +1 -1
  72. package/skills/generated/api/security/SKILL.md +1 -1
  73. package/skills/generated/api/system/SKILL.md +1 -1
  74. package/skills/generated/api/tasks/SKILL.md +1 -1
  75. package/skills/generated/api/tenancy/SKILL.md +1 -1
  76. package/skills/generated/api/tenant-manager/SKILL.md +1 -1
  77. package/skills/generated/api/website-builder/SKILL.md +1 -1
  78. package/skills/generated/cli/SKILL.md +1 -1
  79. package/skills/generated/cli/command/SKILL.md +1 -1
  80. package/skills/generated/extensions/SKILL.md +1 -1
  81. package/skills/generated/infra/SKILL.md +1 -1
  82. package/skills/infrastructure-extensions/SKILL.md +1 -1
  83. package/skills/project-structure/SKILL.md +4 -0
  84. package/skills/webiny-sdk/SKILL.md +1 -1
@@ -13,7 +13,7 @@ Entry, model, and group event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
16
16
 
@@ -13,7 +13,7 @@ File event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
16
16
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
16
16
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
16
16
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
16
16
 
@@ -13,7 +13,7 @@ Scheduled action use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -13,7 +13,7 @@ Authentication, API keys, roles, users, teams event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -13,7 +13,7 @@ System installation event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
16
16
 
@@ -13,7 +13,7 @@ Tenant lifecycle and installation event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -13,7 +13,7 @@ Tenant management event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -13,7 +13,7 @@ Page and redirect event handlers and use cases.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
  4. See `webiny-use-case-pattern` or `webiny-event-handler-pattern` skills for implementation patterns
19
19
 
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
 
16
16
  ## Abstractions
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
 
16
16
  ## Abstractions
@@ -10,7 +10,7 @@ description: >
10
10
  ## How to Use
11
11
 
12
12
  1. Find the abstraction you need below
13
- 2. Read the source file to get the exact interface and types
13
+ 2. You MUST read the source file to get the exact interface and types!
14
14
  3. Import: `import { Name } from "<importPath>";`
15
15
 
16
16
  ## Abstractions
@@ -13,7 +13,7 @@ Infrastructure extensions.
13
13
  ## How to Use
14
14
 
15
15
  1. Find the abstraction you need below
16
- 2. Read the source file to get the exact interface and types
16
+ 2. You MUST read the source file to get the exact interface and types!
17
17
  3. Import: `import { Name } from "<importPath>";`
18
18
 
19
19
  ## Abstractions
@@ -41,7 +41,7 @@ export default CorePulumi.createImplementation({
41
41
  });
42
42
  ```
43
43
 
44
- Register:
44
+ Register (**YOU MUST include the `.ts` file extension in the `src` prop** — omitting it will cause a build failure):
45
45
 
46
46
  ```tsx
47
47
  <Infra.Core.Pulumi src={"/extensions/MyCorePulumiHandler.ts"} />
@@ -99,6 +99,10 @@ export const Extensions = () => {
99
99
  | `<Cli.Command src="..." />` | Registers a custom CLI command | `.ts` |
100
100
  | `<Security.ApiKey.AfterUpdate src="..." />` | Registers a security lifecycle hook | `.ts` |
101
101
 
102
+ **YOU MUST include the full file path with the `.ts` or `.tsx` extension in every `src` prop.** For example, use `src={"/extensions/MyModel.ts"}`, NOT `src={"/extensions/MyModel"}`. Omitting the file extension will cause a build failure.
103
+
104
+ **YOU MUST use `export default` for the `createImplementation()` call** when the file is targeted directly by an Extension `src` prop. Using a named export (`export const Foo = SomeFactory.createImplementation(...)`) will cause a build failure. Named exports are only valid inside files registered via `createFeature`.
105
+
102
106
  ## Infrastructure Components
103
107
 
104
108
  Declarative components for configuring AWS infrastructure:
@@ -241,7 +241,7 @@ export default ApiKeyFactory.createImplementation({
241
241
  });
242
242
  ```
243
243
 
244
- Register:
244
+ Register (**YOU MUST include the `.ts` file extension in the `src` prop** — omitting it will cause a build failure):
245
245
 
246
246
  ```tsx
247
247
  <Api.Extension src={"/extensions/MyApiKey.ts"} />