@breadstone/archipel-mcp 0.0.7 → 0.0.9
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/data/packages/index.md +13 -6
- package/data/packages/platform-analytics/api/Class.AppInsightsAnalyticsClient.md +7 -7
- package/data/packages/platform-analytics/api/Class.DatadogAnalyticsClient.md +7 -7
- package/data/packages/platform-analytics/api/Class.SentryAnalyticsClient.md +7 -7
- package/data/packages/platform-authentication/api/{Class.AppleStrategy.md → Class.AppleConnector.md} +18 -12
- package/data/packages/platform-authentication/api/Class.AuthModule.md +3 -3
- package/data/packages/platform-authentication/api/Class.ChallengeService.md +6 -6
- package/data/packages/platform-authentication/api/Class.GithubConnector.md +79 -0
- package/data/packages/platform-authentication/api/{Class.GoogleStrategy.md → Class.GoogleConnector.md} +18 -12
- package/data/packages/platform-authentication/api/Class.MfaService.md +11 -11
- package/data/packages/platform-authentication/api/{Class.MicrosoftStrategy.md → Class.MicrosoftConnector.md} +18 -12
- package/data/packages/platform-authentication/api/Class.TotpMfaChannel.md +145 -0
- package/data/packages/platform-authentication/api/Class.VerificationService.md +7 -7
- package/data/packages/platform-authentication/api/Interface.IAuthModuleOptions.md +38 -8
- package/data/packages/platform-authentication/api/Interface.IMfaChallengeState.md +12 -12
- package/data/packages/platform-authentication/api/Variable.APPLE_AUTH_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_CALLBACK_URL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_CLIENT_ID.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_KEY_ID.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_PRIVATE_KEY.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_SCOPE.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_APPLE_TEAM_ID.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_CALLBACK_URL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_CLIENT_ID.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_CLIENT_SECRET.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GITHUB_SCOPE.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_CALLBACK_URL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_CLIENT_ID.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_CLIENT_SECRET.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_GOOGLE_SCOPE.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_EMAIL_CODE_TTL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_EMAIL_MIN_RESEND.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_ISSUER.md +15 -0
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_PUSH_CODE_TTL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_PUSH_MIN_RESEND.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_SMS_CODE_TTL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MFA_SMS_MIN_RESEND.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_CALLBACK_URL.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_CLIENT_ID.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_CLIENT_SECRET.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_SCOPE.md +1 -1
- package/data/packages/platform-authentication/api/Variable.AUTH_MICROSOFT_TENANT.md +1 -1
- package/data/packages/platform-authentication/api/Variable.GITHUB_AUTH_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-authentication/api/Variable.GOOGLE_AUTH_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-authentication/api/Variable.MICROSOFT_AUTH_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-authentication/api/Variable.PLATFORM_AUTHENTICATION_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-authentication/api/Variable.SEED_ANONYMOUS_USERNAME.md +1 -1
- package/data/packages/platform-authentication/api/Variable.TOTP_MFA_PROVIDERS.md +30 -0
- package/data/packages/platform-authentication/api/index.md +7 -4
- package/data/packages/platform-blob-storage/api/Class.BlobModule.md +2 -2
- package/data/packages/platform-blob-storage/api/Interface.IAwsS3BlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/Interface.IAzureBlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/Interface.IBlobModuleOptions.md +5 -5
- package/data/packages/platform-blob-storage/api/Interface.ICustomBlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/Interface.IVercelBlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/TypeAlias.IBlobProviderRegistration.md +1 -1
- package/data/packages/{platform-core → platform-caching}/api/Class.MemoryLayeredCache.md +41 -33
- package/data/packages/platform-caching/api/Class.NoopCacheMetricsRecorder.md +158 -0
- package/data/packages/platform-caching/api/Class.RedisLayeredCache.md +296 -0
- package/data/packages/platform-caching/api/Interface.ICacheMetricsRecorder.md +122 -0
- package/data/packages/platform-caching/api/Interface.ICacheStats.md +71 -0
- package/data/packages/platform-caching/api/Interface.ILayeredCache.md +199 -0
- package/data/packages/platform-caching/api/Interface.ILayeredCacheOptions.md +76 -0
- package/data/packages/platform-caching/api/Interface.IRedisLayeredCacheOptions.md +122 -0
- package/data/packages/platform-caching/api/index.md +25 -0
- package/data/packages/platform-caching/index.md +116 -0
- package/data/packages/platform-core/api/Class.AppHealthIndicator.md +3 -3
- package/data/packages/platform-core/api/Class.ErrorTemplateService.md +5 -5
- package/data/packages/platform-core/api/Class.HostService.md +8 -8
- package/data/packages/platform-core/api/Class.ResourceManager.md +19 -19
- package/data/packages/platform-core/api/Interface.IErrorPageParams.md +10 -10
- package/data/packages/platform-core/api/Interface.IHostContentParams.md +10 -10
- package/data/packages/platform-core/api/Interface.IResourceManagerConfig.md +4 -4
- package/data/packages/platform-core/api/Variable.APP_NAME.md +15 -0
- package/data/packages/platform-core/api/Variable.GIT_COMMIT.md +15 -0
- package/data/packages/platform-core/api/Variable.INTELLIGENCE_MAX_OUTPUT_TOKENS.md +1 -1
- package/data/packages/platform-core/api/Variable.INTELLIGENCE_MODEL.md +1 -1
- package/data/packages/platform-core/api/Variable.INTELLIGENCE_TEMPERATURE.md +1 -1
- package/data/packages/platform-core/api/Variable.INTELLIGENCE_TOP_P.md +1 -1
- package/data/packages/platform-core/api/Variable.NODE_ENV.md +1 -1
- package/data/packages/platform-core/api/Variable.PLATFORM_CORE_CONFIG_ENTRIES.md +1 -1
- package/data/packages/platform-core/api/index.md +106 -150
- package/data/packages/platform-core/index.md +5 -3
- package/data/packages/platform-cryptography/api/Class.BcryptService.md +73 -0
- package/data/packages/platform-cryptography/api/Class.CryptoService.md +52 -0
- package/data/packages/{platform-core → platform-cryptography}/api/Class.OtpService.md +8 -4
- package/data/packages/{platform-core → platform-cryptography}/api/Interface.IOtpService.md +8 -4
- package/data/packages/platform-cryptography/api/Interface.IOtpUriOptions.md +47 -0
- package/data/packages/{platform-core → platform-cryptography}/api/Variable.OTP_SERVICE_TOKEN.md +1 -1
- package/data/packages/{platform-core → platform-cryptography}/api/Variable.TOTP_EPOCH_TOLERANCE.md +1 -1
- package/data/packages/platform-cryptography/api/index.md +29 -0
- package/data/packages/platform-cryptography/index.md +132 -0
- package/data/packages/{platform-core → platform-intelligence}/api/Class.IntelligenceCapabilityRegistrarBase.md +7 -5
- package/data/packages/{platform-core → platform-intelligence}/api/Class.IntelligenceCapabilityRegistry.md +19 -15
- package/data/packages/{platform-core → platform-intelligence}/api/Class.IntelligenceModule.md +1 -1
- package/data/packages/{platform-core → platform-intelligence}/api/Class.IntelligenceTextGenerator.md +7 -7
- package/data/packages/platform-intelligence/api/Function.createProviderOptions.md +27 -0
- package/data/packages/platform-intelligence/api/Function.loadAnthropicLanguageModel.md +27 -0
- package/data/packages/platform-intelligence/api/Function.loadGoogleLanguageModel.md +27 -0
- package/data/packages/platform-intelligence/api/Function.loadGrokLanguageModel.md +27 -0
- package/data/packages/platform-intelligence/api/Function.loadOpenAILanguageModel.md +27 -0
- package/data/packages/platform-intelligence/api/Function.loadProviderFactory.md +32 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceArtifact.md +35 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapability.md +72 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityMetadata.md +71 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityPayload.md +47 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityRegistry.md +79 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCapabilityResult.md +47 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceCompletionUsage.md +47 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceContext.md +73 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceContextBuilder.md +36 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceConversationMessageSnapshot.md +71 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceConversationSnapshot.md +59 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceFollowUpQuestion.md +47 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceIntent.md +47 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceIntentEntity.md +35 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceMessageModel.md +71 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceMessagePayload.md +35 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligencePrompt.md +35 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligencePromptMessage.md +35 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceProviderConfiguration.md +95 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceResponseMessage.md +35 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextCompletion.md +61 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextGenerationOptions.md +47 -0
- package/data/packages/platform-intelligence/api/Interface.IIntelligenceTextGenerator.md +54 -0
- package/data/packages/{platform-core → platform-intelligence}/api/TypeAlias.IntelligenceConversationMessageRole.md +1 -1
- package/data/packages/platform-intelligence/api/TypeAlias.IntelligenceLanguageModelLoader.md +25 -0
- package/data/packages/{platform-core → platform-intelligence}/api/TypeAlias.IntelligenceProviderName.md +1 -1
- package/data/packages/{platform-core → platform-intelligence}/api/Variable.IntelligenceConversationMessageRoles.md +6 -6
- package/data/packages/platform-intelligence/api/Variable.IntelligenceProviderNames.md +29 -0
- package/data/packages/platform-intelligence/api/index.md +70 -0
- package/data/packages/platform-intelligence/index.md +131 -0
- package/data/packages/platform-mailing/api/Class.MailService.md +4 -4
- package/data/packages/platform-mailing/api/Class.MailVerificationService.md +4 -4
- package/data/packages/platform-mailing/api/Class.MailgunDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.PostmarkDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.ResendDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.SendGridDeliveryStrategy.md +3 -3
- package/data/packages/platform-mailing/api/Class.SmtpDeliveryStrategy.md +3 -3
- package/data/packages/platform-openapi/api/Function.SwaggerFeature.md +1 -1
- package/data/packages/platform-payments/api/Class.LemonSqueezyClient.md +6 -6
- package/data/packages/platform-payments/api/Class.MollieClient.md +6 -6
- package/data/packages/platform-payments/api/Class.PaddleClient.md +6 -6
- package/data/packages/platform-payments/api/Class.StripeClient.md +6 -6
- package/data/packages/platform-telemetry/api/Class.TelemetryCacheMetricsRecorder.md +15 -15
- package/package.json +1 -1
- package/data/packages/platform-authentication/api/Class.GithubStrategy.md +0 -73
- package/data/packages/platform-core/api/Class.BcryptService.md +0 -69
- package/data/packages/platform-core/api/Class.CryptoService.md +0 -50
- package/data/packages/platform-core/api/Class.NoopCacheMetricsRecorder.md +0 -157
- package/data/packages/platform-core/api/Class.RedisLayeredCache.md +0 -275
- package/data/packages/platform-core/api/Interface.ICacheMetricsRecorder.md +0 -121
- package/data/packages/platform-core/api/Interface.ICacheStats.md +0 -71
- package/data/packages/platform-core/api/Interface.IIntelligenceArtifact.md +0 -31
- package/data/packages/platform-core/api/Interface.IIntelligenceCapability.md +0 -62
- package/data/packages/platform-core/api/Interface.IIntelligenceCapabilityMetadata.md +0 -61
- package/data/packages/platform-core/api/Interface.IIntelligenceCapabilityPayload.md +0 -41
- package/data/packages/platform-core/api/Interface.IIntelligenceCapabilityRegistry.md +0 -69
- package/data/packages/platform-core/api/Interface.IIntelligenceCapabilityResult.md +0 -41
- package/data/packages/platform-core/api/Interface.IIntelligenceCompletionUsage.md +0 -41
- package/data/packages/platform-core/api/Interface.IIntelligenceContext.md +0 -63
- package/data/packages/platform-core/api/Interface.IIntelligenceContextBuilder.md +0 -32
- package/data/packages/platform-core/api/Interface.IIntelligenceConversationMessageSnapshot.md +0 -61
- package/data/packages/platform-core/api/Interface.IIntelligenceConversationSnapshot.md +0 -51
- package/data/packages/platform-core/api/Interface.IIntelligenceFollowUpQuestion.md +0 -41
- package/data/packages/platform-core/api/Interface.IIntelligenceIntent.md +0 -41
- package/data/packages/platform-core/api/Interface.IIntelligenceIntentEntity.md +0 -31
- package/data/packages/platform-core/api/Interface.IIntelligenceMessageModel.md +0 -61
- package/data/packages/platform-core/api/Interface.IIntelligenceMessagePayload.md +0 -31
- package/data/packages/platform-core/api/Interface.IIntelligencePrompt.md +0 -31
- package/data/packages/platform-core/api/Interface.IIntelligencePromptMessage.md +0 -31
- package/data/packages/platform-core/api/Interface.IIntelligenceProviderConfiguration.md +0 -81
- package/data/packages/platform-core/api/Interface.IIntelligenceResponseMessage.md +0 -31
- package/data/packages/platform-core/api/Interface.IIntelligenceTextCompletion.md +0 -53
- package/data/packages/platform-core/api/Interface.IIntelligenceTextGenerationOptions.md +0 -41
- package/data/packages/platform-core/api/Interface.IIntelligenceTextGenerator.md +0 -46
- package/data/packages/platform-core/api/Interface.ILayeredCache.md +0 -194
- package/data/packages/platform-core/api/Interface.ILayeredCacheOptions.md +0 -71
- package/data/packages/platform-core/api/Interface.IOtpUriOptions.md +0 -47
- package/data/packages/platform-core/api/Interface.IRedisLayeredCacheOptions.md +0 -108
- package/data/packages/platform-core/api/Variable.IntelligenceProviderNames.md +0 -29
|
@@ -6,7 +6,7 @@ editUrl: false
|
|
|
6
6
|
|
|
7
7
|
# Class: StripeClient
|
|
8
8
|
|
|
9
|
-
Defined in: [stripe/StripeClient.ts:
|
|
9
|
+
Defined in: [stripe/StripeClient.ts:29](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-payments/src/stripe/StripeClient.ts#L29)
|
|
10
10
|
|
|
11
11
|
Stripe implementation of the [PaymentClientPort](Class.PaymentClientPort).
|
|
12
12
|
All Stripe-specific types and logic are encapsulated here.
|
|
@@ -23,7 +23,7 @@ All Stripe-specific types and logic are encapsulated here.
|
|
|
23
23
|
new StripeClient(configService): StripeClient;
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
-
Defined in: [stripe/StripeClient.ts:
|
|
26
|
+
Defined in: [stripe/StripeClient.ts:40](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-payments/src/stripe/StripeClient.ts#L40)
|
|
27
27
|
|
|
28
28
|
#### Parameters
|
|
29
29
|
|
|
@@ -47,7 +47,7 @@ Defined in: [stripe/StripeClient.ts:39](https://github.com/RueDeRennes/archipel/
|
|
|
47
47
|
constructWebhookEvent(payload, signature): INormalizedWebhookEvent;
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
Defined in: [stripe/StripeClient.ts:
|
|
50
|
+
Defined in: [stripe/StripeClient.ts:153](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-payments/src/stripe/StripeClient.ts#L153)
|
|
51
51
|
|
|
52
52
|
Construct and normalize a webhook event.
|
|
53
53
|
|
|
@@ -80,7 +80,7 @@ createCheckoutSession(
|
|
|
80
80
|
userId?): Promise<INormalizedCheckoutSession>;
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
Defined in: [stripe/StripeClient.ts:
|
|
83
|
+
Defined in: [stripe/StripeClient.ts:88](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-payments/src/stripe/StripeClient.ts#L88)
|
|
84
84
|
|
|
85
85
|
Create a checkout session.
|
|
86
86
|
|
|
@@ -111,7 +111,7 @@ Normalized checkout session
|
|
|
111
111
|
fetchPrices(productId): Promise<INormalizedPrice[]>;
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
Defined in: [stripe/StripeClient.ts:
|
|
114
|
+
Defined in: [stripe/StripeClient.ts:59](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-payments/src/stripe/StripeClient.ts#L59)
|
|
115
115
|
|
|
116
116
|
Fetch all active prices for a product.
|
|
117
117
|
|
|
@@ -141,7 +141,7 @@ fetchSubscription(subscriptionId): Promise<
|
|
|
141
141
|
| null>;
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
-
Defined in: [stripe/StripeClient.ts:
|
|
144
|
+
Defined in: [stripe/StripeClient.ts:128](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-payments/src/stripe/StripeClient.ts#L128)
|
|
145
145
|
|
|
146
146
|
Retrieve subscription details.
|
|
147
147
|
|
|
@@ -49,9 +49,9 @@ Records a cache eviction.
|
|
|
49
49
|
|
|
50
50
|
#### Parameters
|
|
51
51
|
|
|
52
|
-
| Parameter | Type | Description
|
|
53
|
-
| --------- | -------- |
|
|
54
|
-
| `cache` | `string` | The cache name/label |
|
|
52
|
+
| Parameter | Type | Description |
|
|
53
|
+
| --------- | -------- | ----------------------- |
|
|
54
|
+
| `cache` | `string` | The cache name / label. |
|
|
55
55
|
|
|
56
56
|
#### Returns
|
|
57
57
|
|
|
@@ -77,9 +77,9 @@ Records a cache hit.
|
|
|
77
77
|
|
|
78
78
|
#### Parameters
|
|
79
79
|
|
|
80
|
-
| Parameter | Type | Description
|
|
81
|
-
| --------- | -------- |
|
|
82
|
-
| `cache` | `string` | The cache name/label |
|
|
80
|
+
| Parameter | Type | Description |
|
|
81
|
+
| --------- | -------- | ----------------------- |
|
|
82
|
+
| `cache` | `string` | The cache name / label. |
|
|
83
83
|
|
|
84
84
|
#### Returns
|
|
85
85
|
|
|
@@ -105,9 +105,9 @@ Records a failed cache load.
|
|
|
105
105
|
|
|
106
106
|
#### Parameters
|
|
107
107
|
|
|
108
|
-
| Parameter | Type | Description
|
|
109
|
-
| --------- | -------- |
|
|
110
|
-
| `cache` | `string` | The cache name/label |
|
|
108
|
+
| Parameter | Type | Description |
|
|
109
|
+
| --------- | -------- | ----------------------- |
|
|
110
|
+
| `cache` | `string` | The cache name / label. |
|
|
111
111
|
|
|
112
112
|
#### Returns
|
|
113
113
|
|
|
@@ -133,9 +133,9 @@ Records a successful cache load.
|
|
|
133
133
|
|
|
134
134
|
#### Parameters
|
|
135
135
|
|
|
136
|
-
| Parameter | Type | Description
|
|
137
|
-
| --------- | -------- |
|
|
138
|
-
| `cache` | `string` | The cache name/label |
|
|
136
|
+
| Parameter | Type | Description |
|
|
137
|
+
| --------- | -------- | ----------------------- |
|
|
138
|
+
| `cache` | `string` | The cache name / label. |
|
|
139
139
|
|
|
140
140
|
#### Returns
|
|
141
141
|
|
|
@@ -161,9 +161,9 @@ Records a cache miss.
|
|
|
161
161
|
|
|
162
162
|
#### Parameters
|
|
163
163
|
|
|
164
|
-
| Parameter | Type | Description
|
|
165
|
-
| --------- | -------- |
|
|
166
|
-
| `cache` | `string` | The cache name/label |
|
|
164
|
+
| Parameter | Type | Description |
|
|
165
|
+
| --------- | -------- | ----------------------- |
|
|
166
|
+
| `cache` | `string` | The cache name / label. |
|
|
167
167
|
|
|
168
168
|
#### Returns
|
|
169
169
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone/archipel-mcp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
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,73 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: GithubStrategy'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Class: GithubStrategy
|
|
8
|
-
|
|
9
|
-
Defined in: [libs/platform-authentication/src/strategies/GithubStrategy.ts:13](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-authentication/src/strategies/GithubStrategy.ts#L13)
|
|
10
|
-
|
|
11
|
-
## Extends
|
|
12
|
-
|
|
13
|
-
- `Strategy`\<`this`\> & `PassportStrategyMixin`\<`unknown`, `this`\>
|
|
14
|
-
|
|
15
|
-
## Constructors
|
|
16
|
-
|
|
17
|
-
### Constructor
|
|
18
|
-
|
|
19
|
-
```ts
|
|
20
|
-
new GithubStrategy(socialAuth, configService): GithubStrategy;
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Defined in: [libs/platform-authentication/src/strategies/GithubStrategy.ts:29](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-authentication/src/strategies/GithubStrategy.ts#L29)
|
|
24
|
-
|
|
25
|
-
Constructs a new instance of the `GithubStrategy` class.
|
|
26
|
-
|
|
27
|
-
#### Parameters
|
|
28
|
-
|
|
29
|
-
| Parameter | Type | Description |
|
|
30
|
-
| --------------- | ---------------------------------------- | ------------------------------- |
|
|
31
|
-
| `socialAuth` | [`SocialAuthPort`](Class.SocialAuthPort) | Social auth port instance. |
|
|
32
|
-
| `configService` | `ConfigService` | Configuration service instance. |
|
|
33
|
-
|
|
34
|
-
#### Returns
|
|
35
|
-
|
|
36
|
-
`GithubStrategy`
|
|
37
|
-
|
|
38
|
-
#### Overrides
|
|
39
|
-
|
|
40
|
-
```ts
|
|
41
|
-
PassportStrategy(Strategy, 'github').constructor;
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
## Methods
|
|
45
|
-
|
|
46
|
-
### validate()
|
|
47
|
-
|
|
48
|
-
```ts
|
|
49
|
-
validate(
|
|
50
|
-
_accessToken,
|
|
51
|
-
_refreshToken,
|
|
52
|
-
profile): Promise<IAuthSubject>;
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
Defined in: [libs/platform-authentication/src/strategies/GithubStrategy.ts:52](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-authentication/src/strategies/GithubStrategy.ts#L52)
|
|
56
|
-
|
|
57
|
-
#### Parameters
|
|
58
|
-
|
|
59
|
-
| Parameter | Type |
|
|
60
|
-
| --------------- | --------- |
|
|
61
|
-
| `_accessToken` | `string` |
|
|
62
|
-
| `_refreshToken` | `string` |
|
|
63
|
-
| `profile` | `Profile` |
|
|
64
|
-
|
|
65
|
-
#### Returns
|
|
66
|
-
|
|
67
|
-
`Promise`\<[`IAuthSubject`](Interface.IAuthSubject)\>
|
|
68
|
-
|
|
69
|
-
#### Overrides
|
|
70
|
-
|
|
71
|
-
```ts
|
|
72
|
-
PassportStrategy(Strategy, 'github').validate;
|
|
73
|
-
```
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: BcryptService'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Class: BcryptService
|
|
8
|
-
|
|
9
|
-
Defined in: [services/BcryptService.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/services/BcryptService.ts#L15)
|
|
10
|
-
|
|
11
|
-
The `BcryptService` class.
|
|
12
|
-
Represents the service that provides bcrypt operations.
|
|
13
|
-
|
|
14
|
-
## Constructors
|
|
15
|
-
|
|
16
|
-
### Constructor
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
new BcryptService(): BcryptService;
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
#### Returns
|
|
23
|
-
|
|
24
|
-
`BcryptService`
|
|
25
|
-
|
|
26
|
-
## Methods
|
|
27
|
-
|
|
28
|
-
### compare()
|
|
29
|
-
|
|
30
|
-
```ts
|
|
31
|
-
compare(data, encrypted): Promise<boolean>;
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
Defined in: [services/BcryptService.ts:37](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/services/BcryptService.ts#L37)
|
|
35
|
-
|
|
36
|
-
Compares the given data with the encrypted data.
|
|
37
|
-
|
|
38
|
-
#### Parameters
|
|
39
|
-
|
|
40
|
-
| Parameter | Type | Description |
|
|
41
|
-
| ----------- | -------- | --------------------------------- |
|
|
42
|
-
| `data` | `string` | The data to be compared |
|
|
43
|
-
| `encrypted` | `string` | The encrypted data to be compared |
|
|
44
|
-
|
|
45
|
-
#### Returns
|
|
46
|
-
|
|
47
|
-
`Promise`\<`boolean`\>
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
### hash()
|
|
52
|
-
|
|
53
|
-
```ts
|
|
54
|
-
hash(data): Promise<string>;
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
Defined in: [services/BcryptService.ts:25](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/services/BcryptService.ts#L25)
|
|
58
|
-
|
|
59
|
-
Hashes the given data.
|
|
60
|
-
|
|
61
|
-
#### Parameters
|
|
62
|
-
|
|
63
|
-
| Parameter | Type | Description |
|
|
64
|
-
| --------- | -------- | --------------------- |
|
|
65
|
-
| `data` | `string` | The data to be hashed |
|
|
66
|
-
|
|
67
|
-
#### Returns
|
|
68
|
-
|
|
69
|
-
`Promise`\<`string`\>
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: CryptoService'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Class: CryptoService
|
|
8
|
-
|
|
9
|
-
Defined in: [services/CryptoService.ts:15](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/services/CryptoService.ts#L15)
|
|
10
|
-
|
|
11
|
-
The `CryptoService` class.
|
|
12
|
-
Represents the service that provides cryptographic operations.
|
|
13
|
-
|
|
14
|
-
## Constructors
|
|
15
|
-
|
|
16
|
-
### Constructor
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
new CryptoService(): CryptoService;
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
Defined in: [services/CryptoService.ts:22](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/services/CryptoService.ts#L22)
|
|
23
|
-
|
|
24
|
-
Initializes a new instance of the `CryptoService` class.
|
|
25
|
-
|
|
26
|
-
#### Returns
|
|
27
|
-
|
|
28
|
-
`CryptoService`
|
|
29
|
-
|
|
30
|
-
## Methods
|
|
31
|
-
|
|
32
|
-
### getRandomGuid()
|
|
33
|
-
|
|
34
|
-
```ts
|
|
35
|
-
getRandomGuid(prefix): string;
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
Defined in: [services/CryptoService.ts:36](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/services/CryptoService.ts#L36)
|
|
39
|
-
|
|
40
|
-
Hashes the given data.
|
|
41
|
-
|
|
42
|
-
#### Parameters
|
|
43
|
-
|
|
44
|
-
| Parameter | Type |
|
|
45
|
-
| --------- | -------- |
|
|
46
|
-
| `prefix` | `string` |
|
|
47
|
-
|
|
48
|
-
#### Returns
|
|
49
|
-
|
|
50
|
-
`string`
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: 'Class: NoopCacheMetricsRecorder'
|
|
3
|
-
generated: true
|
|
4
|
-
editUrl: false
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Class: NoopCacheMetricsRecorder
|
|
8
|
-
|
|
9
|
-
Defined in: [cache/NoopCacheMetricsRecorder.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/cache/NoopCacheMetricsRecorder.ts#L12)
|
|
10
|
-
|
|
11
|
-
No-op implementation used when no metrics backend is configured.
|
|
12
|
-
|
|
13
|
-
## Implements
|
|
14
|
-
|
|
15
|
-
- [`ICacheMetricsRecorder`](Interface.ICacheMetricsRecorder)
|
|
16
|
-
|
|
17
|
-
## Constructors
|
|
18
|
-
|
|
19
|
-
### Constructor
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
new NoopCacheMetricsRecorder(): NoopCacheMetricsRecorder;
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
#### Returns
|
|
26
|
-
|
|
27
|
-
`NoopCacheMetricsRecorder`
|
|
28
|
-
|
|
29
|
-
## Methods
|
|
30
|
-
|
|
31
|
-
### recordEviction()?
|
|
32
|
-
|
|
33
|
-
```ts
|
|
34
|
-
optional recordEviction(_cache): void;
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
Defined in: [cache/NoopCacheMetricsRecorder.ts:62](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/cache/NoopCacheMetricsRecorder.ts#L62)
|
|
38
|
-
|
|
39
|
-
Records a cache eviction.
|
|
40
|
-
|
|
41
|
-
#### Parameters
|
|
42
|
-
|
|
43
|
-
| Parameter | Type | Description |
|
|
44
|
-
| --------- | -------- | -------------------- |
|
|
45
|
-
| `_cache` | `string` | The cache name/label |
|
|
46
|
-
|
|
47
|
-
#### Returns
|
|
48
|
-
|
|
49
|
-
`void`
|
|
50
|
-
|
|
51
|
-
#### Implementation of
|
|
52
|
-
|
|
53
|
-
[`ICacheMetricsRecorder`](Interface.ICacheMetricsRecorder).[`recordEviction`](Interface.ICacheMetricsRecorder#recordeviction)
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
### recordHit()
|
|
58
|
-
|
|
59
|
-
```ts
|
|
60
|
-
recordHit(_cache): void;
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
Defined in: [cache/NoopCacheMetricsRecorder.ts:22](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/cache/NoopCacheMetricsRecorder.ts#L22)
|
|
64
|
-
|
|
65
|
-
Records a cache hit.
|
|
66
|
-
|
|
67
|
-
#### Parameters
|
|
68
|
-
|
|
69
|
-
| Parameter | Type | Description |
|
|
70
|
-
| --------- | -------- | -------------------- |
|
|
71
|
-
| `_cache` | `string` | The cache name/label |
|
|
72
|
-
|
|
73
|
-
#### Returns
|
|
74
|
-
|
|
75
|
-
`void`
|
|
76
|
-
|
|
77
|
-
#### Implementation of
|
|
78
|
-
|
|
79
|
-
[`ICacheMetricsRecorder`](Interface.ICacheMetricsRecorder).[`recordHit`](Interface.ICacheMetricsRecorder#recordhit)
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
### recordLoadError()
|
|
84
|
-
|
|
85
|
-
```ts
|
|
86
|
-
recordLoadError(_cache): void;
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
Defined in: [cache/NoopCacheMetricsRecorder.ts:52](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/cache/NoopCacheMetricsRecorder.ts#L52)
|
|
90
|
-
|
|
91
|
-
Records a failed cache load.
|
|
92
|
-
|
|
93
|
-
#### Parameters
|
|
94
|
-
|
|
95
|
-
| Parameter | Type | Description |
|
|
96
|
-
| --------- | -------- | -------------------- |
|
|
97
|
-
| `_cache` | `string` | The cache name/label |
|
|
98
|
-
|
|
99
|
-
#### Returns
|
|
100
|
-
|
|
101
|
-
`void`
|
|
102
|
-
|
|
103
|
-
#### Implementation of
|
|
104
|
-
|
|
105
|
-
[`ICacheMetricsRecorder`](Interface.ICacheMetricsRecorder).[`recordLoadError`](Interface.ICacheMetricsRecorder#recordloaderror)
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
### recordLoadSuccess()
|
|
110
|
-
|
|
111
|
-
```ts
|
|
112
|
-
recordLoadSuccess(_cache): void;
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
Defined in: [cache/NoopCacheMetricsRecorder.ts:42](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/cache/NoopCacheMetricsRecorder.ts#L42)
|
|
116
|
-
|
|
117
|
-
Records a successful cache load.
|
|
118
|
-
|
|
119
|
-
#### Parameters
|
|
120
|
-
|
|
121
|
-
| Parameter | Type | Description |
|
|
122
|
-
| --------- | -------- | -------------------- |
|
|
123
|
-
| `_cache` | `string` | The cache name/label |
|
|
124
|
-
|
|
125
|
-
#### Returns
|
|
126
|
-
|
|
127
|
-
`void`
|
|
128
|
-
|
|
129
|
-
#### Implementation of
|
|
130
|
-
|
|
131
|
-
[`ICacheMetricsRecorder`](Interface.ICacheMetricsRecorder).[`recordLoadSuccess`](Interface.ICacheMetricsRecorder#recordloadsuccess)
|
|
132
|
-
|
|
133
|
-
---
|
|
134
|
-
|
|
135
|
-
### recordMiss()
|
|
136
|
-
|
|
137
|
-
```ts
|
|
138
|
-
recordMiss(_cache): void;
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
Defined in: [cache/NoopCacheMetricsRecorder.ts:32](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-core/src/cache/NoopCacheMetricsRecorder.ts#L32)
|
|
142
|
-
|
|
143
|
-
Records a cache miss.
|
|
144
|
-
|
|
145
|
-
#### Parameters
|
|
146
|
-
|
|
147
|
-
| Parameter | Type | Description |
|
|
148
|
-
| --------- | -------- | -------------------- |
|
|
149
|
-
| `_cache` | `string` | The cache name/label |
|
|
150
|
-
|
|
151
|
-
#### Returns
|
|
152
|
-
|
|
153
|
-
`void`
|
|
154
|
-
|
|
155
|
-
#### Implementation of
|
|
156
|
-
|
|
157
|
-
[`ICacheMetricsRecorder`](Interface.ICacheMetricsRecorder).[`recordMiss`](Interface.ICacheMetricsRecorder#recordmiss)
|