@breadstone/archipel-mcp 0.0.34 → 0.0.35

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 (61) hide show
  1. package/data/guides/email-delivery.md +42 -22
  2. package/data/guides/email-templates.md +29 -19
  3. package/data/packages/platform-feature-flags/api/Class.AzureFeatureFlagReader.md +9 -9
  4. package/data/packages/platform-feature-flags/api/Class.AzureFeatureFlagWriter.md +9 -9
  5. package/data/packages/platform-feature-flags/api/Class.FeatureFlagError.md +4 -4
  6. package/data/packages/platform-feature-flags/api/Class.FeatureFlagGuard.md +3 -3
  7. package/data/packages/platform-feature-flags/api/Class.FeatureFlagModule.md +2 -2
  8. package/data/packages/platform-feature-flags/api/Class.FeatureFlagReaderPort.md +6 -6
  9. package/data/packages/platform-feature-flags/api/Class.FeatureFlagWriterPort.md +7 -7
  10. package/data/packages/platform-feature-flags/api/Class.VercelFeatureFlagReader.md +8 -8
  11. package/data/packages/platform-feature-flags/api/Class.VercelFeatureFlagWriter.md +9 -9
  12. package/data/packages/platform-feature-flags/api/Function.FeatureFlag.md +1 -1
  13. package/data/packages/platform-feature-flags/api/Interface.IFeatureFlagContext.md +4 -4
  14. package/data/packages/platform-feature-flags/api/Interface.IFeatureFlagDefinition.md +6 -6
  15. package/data/packages/platform-feature-flags/api/Interface.IFeatureFlagEvaluation.md +4 -4
  16. package/data/packages/platform-feature-flags/api/Interface.IFeatureFlagModuleOptions.md +5 -5
  17. package/data/packages/platform-feature-flags/api/Variable.AZURE_APPCONFIG_CONNECTION_STRING.md +1 -1
  18. package/data/packages/platform-feature-flags/api/Variable.AZURE_APPCONFIG_ENDPOINT.md +1 -1
  19. package/data/packages/platform-feature-flags/api/Variable.AZURE_FEATURE_FLAG_CONFIG_ENTRIES.md +1 -1
  20. package/data/packages/platform-feature-flags/api/Variable.AZURE_FEATURE_FLAG_KEY_FILTER.md +1 -1
  21. package/data/packages/platform-feature-flags/api/Variable.AZURE_FEATURE_FLAG_REFRESH_INTERVAL.md +1 -1
  22. package/data/packages/platform-feature-flags/api/Variable.FEATURE_FLAG_KEY_METADATA.md +1 -1
  23. package/data/packages/platform-feature-flags/api/Variable.PLATFORM_FEATURE_FLAGS_CONFIG_ENTRIES.md +1 -1
  24. package/data/packages/platform-feature-flags/api/Variable.VERCEL_API_TOKEN.md +1 -1
  25. package/data/packages/platform-feature-flags/api/Variable.VERCEL_EDGE_CONFIG.md +1 -1
  26. package/data/packages/platform-feature-flags/api/Variable.VERCEL_EDGE_CONFIG_ID.md +1 -1
  27. package/data/packages/platform-feature-flags/api/Variable.VERCEL_EDGE_CONFIG_TOKEN.md +1 -1
  28. package/data/packages/platform-feature-flags/api/Variable.VERCEL_FEATURE_FLAG_CONFIG_ENTRIES.md +1 -1
  29. package/data/packages/platform-feature-flags/api/Variable.VERCEL_FEATURE_FLAG_PREFIX.md +1 -1
  30. package/data/packages/platform-feature-flags/api/Variable.VERCEL_FEATURE_FLAG_WRITER_CONFIG_ENTRIES.md +1 -1
  31. package/data/packages/platform-feature-flags/api/Variable.VERCEL_TEAM_ID.md +1 -1
  32. package/data/packages/platform-mailing/api/Class.FileTemplateFetchStrategy.md +8 -4
  33. package/data/packages/platform-mailing/api/Class.MailModule.md +7 -7
  34. package/data/packages/platform-mailing/api/Class.MailService.md +11 -7
  35. package/data/packages/platform-mailing/api/Class.MailTemplateEngine.md +29 -4
  36. package/data/packages/platform-mailing/api/Class.TemplateFetchStrategyBase.md +5 -11
  37. package/data/packages/platform-mailing/api/Interface.IMailEvents.md +28 -5
  38. package/data/packages/platform-mailing/api/Interface.IMailModuleOptions.md +50 -7
  39. package/data/packages/platform-mailing/api/Interface.IMailTemplateVariants.md +13 -3
  40. package/data/packages/platform-mailing/api/TypeAlias.MailTemplateFormat.md +1 -1
  41. package/data/packages/platform-mailing/api/Variable.MAIL_HOST.md +1 -1
  42. package/data/packages/platform-mailing/api/Variable.MAIL_MAILGUN_API_KEY.md +1 -1
  43. package/data/packages/platform-mailing/api/Variable.MAIL_MAILGUN_DOMAIN.md +1 -1
  44. package/data/packages/platform-mailing/api/Variable.MAIL_PORT.md +1 -1
  45. package/data/packages/platform-mailing/api/Variable.MAIL_POSTMARK_API_KEY.md +1 -1
  46. package/data/packages/platform-mailing/api/Variable.MAIL_RESEND_API_KEY.md +1 -1
  47. package/data/packages/platform-mailing/api/Variable.MAIL_SENDER_EMAIL.md +1 -1
  48. package/data/packages/platform-mailing/api/Variable.MAIL_SENDGRID_API_KEY.md +1 -1
  49. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_HOST.md +1 -1
  50. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_PASSWORD.md +1 -1
  51. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_PORT.md +1 -1
  52. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_SECURE.md +1 -1
  53. package/data/packages/platform-mailing/api/Variable.MAIL_SMTP_USER.md +1 -1
  54. package/data/packages/platform-mailing/api/Variable.MAIL_TEMPLATE_ENGINE_FORMAT.md +1 -1
  55. package/data/packages/platform-mailing/api/Variable.MAIL_TEMPLATE_NAMES_TOKEN.md +12 -0
  56. package/data/packages/platform-mailing/api/Variable.MAIL_USER.md +1 -1
  57. package/data/packages/platform-mailing/api/Variable.PLATFORM_MAILING_CONFIG_ENTRIES.md +1 -1
  58. package/data/packages/platform-mailing/api/index.md +1 -2
  59. package/package.json +1 -1
  60. package/data/packages/platform-mailing/api/Variable.MAIL_DELIVERY_STRATEGY.md +0 -14
  61. package/data/packages/platform-mailing/api/Variable.MAIL_TEMPLATE_STRATEGY.md +0 -14
@@ -5,7 +5,7 @@ editUrl: false
5
5
  ---
6
6
  # Abstract Class: TemplateFetchStrategyBase
7
7
 
8
- Defined in: [platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts:7](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts#L7)
8
+ Defined in: [platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts:9](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts#L9)
9
9
 
10
10
  Represents the base class for template fetch strategies.
11
11
 
@@ -23,7 +23,7 @@ Represents the base class for template fetch strategies.
23
23
  protected new TemplateFetchStrategyBase(): TemplateFetchStrategyBase;
24
24
  ```
25
25
 
26
- Defined in: [platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts:16](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts#L16)
26
+ Defined in: [platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts#L17)
27
27
 
28
28
  Initializes a new instance of the `TemplateFetchStrategyBase` class.
29
29
 
@@ -36,19 +36,13 @@ Initializes a new instance of the `TemplateFetchStrategyBase` class.
36
36
  ### load()
37
37
 
38
38
  ```ts
39
- abstract load(): Promise<Record<string, {
40
- html?: string;
41
- txt?: string;
42
- }>>;
39
+ abstract load(): Promise<Record<string, IMailTemplateVariants>>;
43
40
  ```
44
41
 
45
- Defined in: [platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts:30](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts#L30)
42
+ Defined in: [platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts:31](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/templating/strategies/abstracts/TemplateFetchStrategyBase.ts#L31)
46
43
 
47
44
  Loads the templates.
48
45
 
49
46
  #### Returns
50
47
 
51
- `Promise`\<`Record`\<`string`, \{
52
- `html?`: `string`;
53
- `txt?`: `string`;
54
- \}\>\>
48
+ `Promise`\<`Record`\<`string`, [`IMailTemplateVariants`](Interface.IMailTemplateVariants)\>\>
@@ -5,10 +5,14 @@ editUrl: false
5
5
  ---
6
6
  # Interface: IMailEvents
7
7
 
8
- Defined in: [platform-mailing/src/events/IMailEvents.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/events/IMailEvents.ts#L12)
8
+ Defined in: [platform-mailing/src/events/IMailEvents.ts:16](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/events/IMailEvents.ts#L16)
9
9
 
10
10
  Represents the contract of events emitted by the mail domain.
11
11
 
12
+ Publishers only need to specify `recipientEmail`, `templateName`, and `templateParams`.
13
+ The subject is resolved from the stored template (industry-standard behavior).
14
+ An explicit `subject` can be provided as an override.
15
+
12
16
  ## Extends
13
17
 
14
18
  - `IEventMap`
@@ -25,15 +29,24 @@ Represents the contract of events emitted by the mail domain.
25
29
 
26
30
  ```ts
27
31
  sendMail: {
32
+ locale?: string;
28
33
  recipientEmail: string;
29
34
  senderEmail?: string;
30
- subject: string;
35
+ subject?: string;
31
36
  templateName: string;
32
37
  templateParams: Record<string, string | number | boolean | Date | undefined | null>;
33
38
  };
34
39
  ```
35
40
 
36
- Defined in: [platform-mailing/src/events/IMailEvents.ts:13](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/events/IMailEvents.ts#L13)
41
+ Defined in: [platform-mailing/src/events/IMailEvents.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/events/IMailEvents.ts#L17)
42
+
43
+ #### locale?
44
+
45
+ ```ts
46
+ optional locale?: string;
47
+ ```
48
+
49
+ Optional locale for template resolution (e.g. `'de'`, `'en'`).
37
50
 
38
51
  #### recipientEmail
39
52
 
@@ -41,26 +54,36 @@ Defined in: [platform-mailing/src/events/IMailEvents.ts:13](https://github.com/R
41
54
  recipientEmail: string;
42
55
  ```
43
56
 
57
+ Recipient email address.
58
+
44
59
  #### senderEmail?
45
60
 
46
61
  ```ts
47
62
  optional senderEmail?: string;
48
63
  ```
49
64
 
50
- #### subject
65
+ Optional sender email override. When omitted, uses the configured default.
66
+
67
+ #### subject?
51
68
 
52
69
  ```ts
53
- subject: string;
70
+ optional subject?: string;
54
71
  ```
55
72
 
73
+ Optional subject override. When omitted, resolved from the template.
74
+
56
75
  #### templateName
57
76
 
58
77
  ```ts
59
78
  templateName: string;
60
79
  ```
61
80
 
81
+ Template key to resolve (e.g. `'AuthRegister'`).
82
+
62
83
  #### templateParams
63
84
 
64
85
  ```ts
65
86
  templateParams: Record<string, string | number | boolean | Date | undefined | null>;
66
87
  ```
88
+
89
+ Placeholder values to interpolate into subject and body.
@@ -5,7 +5,7 @@ editUrl: false
5
5
  ---
6
6
  # Interface: IMailModuleOptions
7
7
 
8
- Defined in: [platform-mailing/src/MailModule.ts:28](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L28)
8
+ Defined in: [platform-mailing/src/MailModule.ts:30](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L30)
9
9
 
10
10
  Options for configuring the [MailModule](Class.MailModule).
11
11
 
@@ -17,10 +17,22 @@ Options for configuring the [MailModule](Class.MailModule).
17
17
  readonly optional configEntries?: readonly Omit<IConfigRegistryEntry<unknown>, "module">[];
18
18
  ```
19
19
 
20
- Defined in: [platform-mailing/src/MailModule.ts:39](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L39)
20
+ Defined in: [platform-mailing/src/MailModule.ts:52](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L52)
21
21
 
22
- Additional or overriding configuration entries.
23
- Merged with the platform default entries.
22
+ Provider-specific configuration entries to register with the config module.
23
+
24
+ ***
25
+
26
+ ### deliveryStrategy
27
+
28
+ ```ts
29
+ readonly deliveryStrategy: Type<DeliveryStrategyBase>;
30
+ ```
31
+
32
+ Defined in: [platform-mailing/src/MailModule.ts:35](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L35)
33
+
34
+ Concrete implementation of the [DeliveryStrategyBase](Class.DeliveryStrategyBase) port.
35
+ For example, `SmtpDeliveryStrategy`, `PostmarkDeliveryStrategy`, or `LogDeliveryStrategy`.
24
36
 
25
37
  ***
26
38
 
@@ -30,27 +42,58 @@ Merged with the platform default entries.
30
42
  readonly optional isGlobal?: boolean;
31
43
  ```
32
44
 
33
- Defined in: [platform-mailing/src/MailModule.ts:33](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L33)
45
+ Defined in: [platform-mailing/src/MailModule.ts:47](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L47)
34
46
 
35
47
  Whether to register the module globally.
36
48
  Defaults to `true`.
37
49
 
38
50
  ***
39
51
 
52
+ ### templateFetchStrategy
53
+
54
+ ```ts
55
+ readonly templateFetchStrategy: Type<TemplateFetchStrategyBase>;
56
+ ```
57
+
58
+ Defined in: [platform-mailing/src/MailModule.ts:41](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L41)
59
+
60
+ Concrete implementation of the [TemplateFetchStrategyBase](Class.TemplateFetchStrategyBase) port.
61
+ For example, `FileTemplateFetchStrategy`, `BlobTemplateFetchStrategy`, or `DatabaseTemplateFetchStrategy`.
62
+
63
+ ***
64
+
65
+ ### templateNames?
66
+
67
+ ```ts
68
+ readonly optional templateNames?: readonly string[];
69
+ ```
70
+
71
+ Defined in: [platform-mailing/src/MailModule.ts:61](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L61)
72
+
73
+ Template names to load when using the `FileTemplateFetchStrategy`.
74
+ Each name corresponds to a resource file (e.g. `'AuthRegister'` loads
75
+ `AuthRegister.html` and `AuthRegister.txt`).
76
+
77
+ Defaults to an empty array (no templates loaded).
78
+
79
+ ***
80
+
40
81
  ### templateRepositoryProvider?
41
82
 
42
83
  ```ts
43
84
  readonly optional templateRepositoryProvider?: Provider<IMailTemplateRepository>;
44
85
  ```
45
86
 
46
- Defined in: [platform-mailing/src/MailModule.ts:55](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L55)
87
+ Defined in: [platform-mailing/src/MailModule.ts:79](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/MailModule.ts#L79)
47
88
 
48
89
  Provider for the `IMailTemplateRepository` port.
49
- Required when `MAIL_TEMPLATE_STRATEGY` is set to `'database'`.
90
+ Required when using `DatabaseTemplateFetchStrategy`.
50
91
 
51
92
  Example:
52
93
  ```typescript
53
94
  MailModule.register({
95
+ deliveryStrategy: SmtpDeliveryStrategy,
96
+ templateFetchStrategy: DatabaseTemplateFetchStrategy,
54
97
  templateRepositoryProvider: {
55
98
  provide: MAIL_TEMPLATE_REPOSITORY_TOKEN,
56
99
  useClass: PrismaMailTemplateRepository,
@@ -5,7 +5,7 @@ editUrl: false
5
5
  ---
6
6
  # Interface: IMailTemplateVariants
7
7
 
8
- Defined in: [platform-mailing/src/tokens/MailTokens.ts:23](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/tokens/MailTokens.ts#L23)
8
+ Defined in: platform-mailing/src/models/IMailTemplateVariants.ts:6
9
9
 
10
10
  Represents the in-memory structure for a single template (multiple formats).
11
11
 
@@ -17,7 +17,17 @@ Represents the in-memory structure for a single template (multiple formats).
17
17
  optional html?: string;
18
18
  ```
19
19
 
20
- Defined in: [platform-mailing/src/tokens/MailTokens.ts:24](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/tokens/MailTokens.ts#L24)
20
+ Defined in: platform-mailing/src/models/IMailTemplateVariants.ts:8
21
+
22
+ ***
23
+
24
+ ### subject?
25
+
26
+ ```ts
27
+ optional subject?: string;
28
+ ```
29
+
30
+ Defined in: platform-mailing/src/models/IMailTemplateVariants.ts:7
21
31
 
22
32
  ***
23
33
 
@@ -27,4 +37,4 @@ Defined in: [platform-mailing/src/tokens/MailTokens.ts:24](https://github.com/Ru
27
37
  optional txt?: string;
28
38
  ```
29
39
 
30
- Defined in: [platform-mailing/src/tokens/MailTokens.ts:25](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/tokens/MailTokens.ts#L25)
40
+ Defined in: platform-mailing/src/models/IMailTemplateVariants.ts:9
@@ -9,6 +9,6 @@ editUrl: false
9
9
  type MailTemplateFormat = "html" | "txt";
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/tokens/MailTokens.ts:18](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/tokens/MailTokens.ts#L18)
12
+ Defined in: platform-mailing/src/models/MailTemplateFormat.ts:6
13
13
 
14
14
  Union type of all supported template formats.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_HOST: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:78](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L78)
12
+ Defined in: [platform-mailing/src/env.ts:72](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L72)
13
13
 
14
14
  Mail host checked by the health indicator.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_MAILGUN_API_KEY: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:49](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L49)
12
+ Defined in: [platform-mailing/src/env.ts:43](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L43)
13
13
 
14
14
  API key for the Mailgun delivery service.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_MAILGUN_DOMAIN: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:52](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L52)
12
+ Defined in: [platform-mailing/src/env.ts:46](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L46)
13
13
 
14
14
  Mailgun domain (e.g. `mg.example.com`).
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_PORT: IConfigKey<number>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:84](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L84)
12
+ Defined in: [platform-mailing/src/env.ts:78](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L78)
13
13
 
14
14
  Mail port checked by the health indicator.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_POSTMARK_API_KEY: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:28](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L28)
12
+ Defined in: [platform-mailing/src/env.ts:22](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L22)
13
13
 
14
14
  API key for the Postmark delivery service.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_RESEND_API_KEY: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:35](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L35)
12
+ Defined in: [platform-mailing/src/env.ts:29](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L29)
13
13
 
14
14
  API key for the Resend delivery service.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SENDER_EMAIL: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:18](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L18)
12
+ Defined in: [platform-mailing/src/env.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L12)
13
13
 
14
14
  Sender e-mail address shown in the `From` header.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SENDGRID_API_KEY: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:42](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L42)
12
+ Defined in: [platform-mailing/src/env.ts:36](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L36)
13
13
 
14
14
  API key for the SendGrid delivery service.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SMTP_HOST: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:59](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L59)
12
+ Defined in: [platform-mailing/src/env.ts:53](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L53)
13
13
 
14
14
  SMTP server host.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SMTP_PASSWORD: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:71](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L71)
12
+ Defined in: [platform-mailing/src/env.ts:65](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L65)
13
13
 
14
14
  SMTP authentication password.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SMTP_PORT: IConfigKey<number>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:62](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L62)
12
+ Defined in: [platform-mailing/src/env.ts:56](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L56)
13
13
 
14
14
  SMTP server port.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SMTP_SECURE: IConfigKey<boolean>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:65](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L65)
12
+ Defined in: [platform-mailing/src/env.ts:59](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L59)
13
13
 
14
14
  Whether the SMTP connection uses TLS.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_SMTP_USER: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:68](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L68)
12
+ Defined in: [platform-mailing/src/env.ts:62](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L62)
13
13
 
14
14
  SMTP authentication username.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_TEMPLATE_ENGINE_FORMAT: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:21](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L21)
12
+ Defined in: [platform-mailing/src/env.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L15)
13
13
 
14
14
  Template engine format identifier (e.g. `handlebars`).
@@ -0,0 +1,12 @@
1
+ ---
2
+ title: 'Variable: MAIL\_TEMPLATE\_NAMES\_TOKEN'
3
+ generated: true
4
+ editUrl: false
5
+ ---
6
+ # Variable: MAIL\_TEMPLATE\_NAMES\_TOKEN
7
+
8
+ ```ts
9
+ const MAIL_TEMPLATE_NAMES_TOKEN: typeof MAIL_TEMPLATE_NAMES_TOKEN;
10
+ ```
11
+
12
+ Defined in: [platform-mailing/src/tokens/MailTokens.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/tokens/MailTokens.ts#L15)
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const MAIL_USER: IConfigKey<string>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:81](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L81)
12
+ Defined in: [platform-mailing/src/env.ts:75](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L75)
13
13
 
14
14
  Mail user checked by the health indicator.
@@ -9,6 +9,6 @@ editUrl: false
9
9
  const PLATFORM_MAILING_CONFIG_ENTRIES: ReadonlyArray<Omit<IConfigRegistryEntry, "module">>;
10
10
  ```
11
11
 
12
- Defined in: [platform-mailing/src/env.ts:91](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L91)
12
+ Defined in: [platform-mailing/src/env.ts:85](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L85)
13
13
 
14
14
  All configuration entries required by `platform-mailing`.
@@ -50,7 +50,6 @@ editUrl: false
50
50
  | Variable | Description |
51
51
  | ------ | ------ |
52
52
  | [ALLOWED\_ATTACHMENT\_MIME\_TYPES](Variable.ALLOWED_ATTACHMENT_MIME_TYPES) | Allowed MIME types for email attachments. |
53
- | [MAIL\_DELIVERY\_STRATEGY](Variable.MAIL_DELIVERY_STRATEGY) | Which delivery strategy to use (e.g. `smtp`, `postmark`, `resend`, `sendgrid`, `mailgun`, `log`). |
54
53
  | [MAIL\_DELIVERY\_STRATEGY\_TOKEN](Variable.MAIL_DELIVERY_STRATEGY_TOKEN) | - |
55
54
  | [MAIL\_HOST](Variable.MAIL_HOST) | Mail host checked by the health indicator. |
56
55
  | [MAIL\_MAILGUN\_API\_KEY](Variable.MAIL_MAILGUN_API_KEY) | API key for the Mailgun delivery service. |
@@ -67,8 +66,8 @@ editUrl: false
67
66
  | [MAIL\_SMTP\_USER](Variable.MAIL_SMTP_USER) | SMTP authentication username. |
68
67
  | [MAIL\_TEMPLATE\_ENGINE\_FORMAT](Variable.MAIL_TEMPLATE_ENGINE_FORMAT) | Template engine format identifier (e.g. `handlebars`). |
69
68
  | [MAIL\_TEMPLATE\_FETCH\_STRATEGY\_TOKEN](Variable.MAIL_TEMPLATE_FETCH_STRATEGY_TOKEN) | Central definition of injection tokens used by the mail module. Using constants instead of raw string literals prevents accidental typos and enables refactors with compile time safety. |
69
+ | [MAIL\_TEMPLATE\_NAMES\_TOKEN](Variable.MAIL_TEMPLATE_NAMES_TOKEN) | - |
70
70
  | [MAIL\_TEMPLATE\_REPOSITORY\_TOKEN](Variable.MAIL_TEMPLATE_REPOSITORY_TOKEN) | - |
71
- | [MAIL\_TEMPLATE\_STRATEGY](Variable.MAIL_TEMPLATE_STRATEGY) | Which template-fetch strategy to use (e.g. `file`, `blob`). |
72
71
  | [MAIL\_USER](Variable.MAIL_USER) | Mail user checked by the health indicator. |
73
72
  | [MAILGUN\_API\_KEY](Variable.MAILGUN_API_KEY) | API key for the Mailgun delivery service. |
74
73
  | [MAILGUN\_CONFIG\_ENTRIES](Variable.MAILGUN_CONFIG_ENTRIES) | Configuration entries required by the Mailgun delivery provider. |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@breadstone/archipel-mcp",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "MCP server providing Archipel platform knowledge - documentation, query patterns, and coding conventions - to AI development tools.",
5
5
  "type": "commonjs",
6
6
  "main": "./src/main.js",
@@ -1,14 +0,0 @@
1
- ---
2
- title: 'Variable: MAIL\_DELIVERY\_STRATEGY'
3
- generated: true
4
- editUrl: false
5
- ---
6
- # Variable: MAIL\_DELIVERY\_STRATEGY
7
-
8
- ```ts
9
- const MAIL_DELIVERY_STRATEGY: IConfigKey<string>;
10
- ```
11
-
12
- Defined in: [platform-mailing/src/env.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L15)
13
-
14
- Which delivery strategy to use (e.g. `smtp`, `postmark`, `resend`, `sendgrid`, `mailgun`, `log`).
@@ -1,14 +0,0 @@
1
- ---
2
- title: 'Variable: MAIL\_TEMPLATE\_STRATEGY'
3
- generated: true
4
- editUrl: false
5
- ---
6
- # Variable: MAIL\_TEMPLATE\_STRATEGY
7
-
8
- ```ts
9
- const MAIL_TEMPLATE_STRATEGY: IConfigKey<string>;
10
- ```
11
-
12
- Defined in: [platform-mailing/src/env.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-mailing/src/env.ts#L12)
13
-
14
- Which template-fetch strategy to use (e.g. `file`, `blob`).