@happyvertical/auth 0.74.8
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/AGENT.md +33 -0
- package/LICENSE +7 -0
- package/README.md +73 -0
- package/dist/chunks/cognito-dmypylFX.js +128 -0
- package/dist/chunks/cognito-dmypylFX.js.map +1 -0
- package/dist/chunks/decode_jwt-D2OK1b8a.js +1395 -0
- package/dist/chunks/decode_jwt-D2OK1b8a.js.map +1 -0
- package/dist/chunks/github-NSZp5tVm.js +413 -0
- package/dist/chunks/github-NSZp5tVm.js.map +1 -0
- package/dist/chunks/google-HXk2ctYR.js +483 -0
- package/dist/chunks/google-HXk2ctYR.js.map +1 -0
- package/dist/chunks/index-BpsMhFXS.js +151 -0
- package/dist/chunks/index-BpsMhFXS.js.map +1 -0
- package/dist/chunks/kanidm-hkw-YPVF.js +747 -0
- package/dist/chunks/kanidm-hkw-YPVF.js.map +1 -0
- package/dist/chunks/keycloak-t6JEUeOz.js +871 -0
- package/dist/chunks/keycloak-t6JEUeOz.js.map +1 -0
- package/dist/cli/claude-context.d.ts +3 -0
- package/dist/cli/claude-context.d.ts.map +1 -0
- package/dist/cli/claude-context.js +21 -0
- package/dist/cli/claude-context.js.map +1 -0
- package/dist/index.d.ts +65 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +499 -0
- package/dist/index.js.map +1 -0
- package/dist/shared/errors.d.ts +227 -0
- package/dist/shared/errors.d.ts.map +1 -0
- package/dist/shared/factory.d.ts +85 -0
- package/dist/shared/factory.d.ts.map +1 -0
- package/dist/shared/providers/cognito.d.ts +38 -0
- package/dist/shared/providers/cognito.d.ts.map +1 -0
- package/dist/shared/providers/github.d.ts +65 -0
- package/dist/shared/providers/github.d.ts.map +1 -0
- package/dist/shared/providers/google.d.ts +58 -0
- package/dist/shared/providers/google.d.ts.map +1 -0
- package/dist/shared/providers/kanidm.d.ts +78 -0
- package/dist/shared/providers/kanidm.d.ts.map +1 -0
- package/dist/shared/providers/keycloak.d.ts +67 -0
- package/dist/shared/providers/keycloak.d.ts.map +1 -0
- package/dist/shared/providers/nostr/index.d.ts +47 -0
- package/dist/shared/providers/nostr/index.d.ts.map +1 -0
- package/dist/shared/types.d.ts +812 -0
- package/dist/shared/types.d.ts.map +1 -0
- package/metadata.json +32 -0
- package/package.json +60 -0
package/AGENT.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @happyvertical/auth
|
|
2
|
+
|
|
3
|
+
<!-- BEGIN AGENT:GENERATED -->
|
|
4
|
+
## Purpose
|
|
5
|
+
Unified authentication interface supporting Keycloak, AWS Cognito, and Nostr with OAuth2/OIDC and public key identity
|
|
6
|
+
|
|
7
|
+
## Package Map
|
|
8
|
+
- Package: `@happyvertical/auth`
|
|
9
|
+
- Hierarchy path: `@happyvertical/sdk > packages > auth`
|
|
10
|
+
- Workspace position: `4 of 30` local packages
|
|
11
|
+
- Internal dependencies: `@happyvertical/utils`
|
|
12
|
+
- Internal dependents: none
|
|
13
|
+
- Knowledge graph files: `AGENT.md`, `metadata.json`, `ecosystem-manifest.json`
|
|
14
|
+
|
|
15
|
+
## Build & Test
|
|
16
|
+
```bash
|
|
17
|
+
pnpm --filter @happyvertical/auth build
|
|
18
|
+
pnpm --filter @happyvertical/auth test
|
|
19
|
+
pnpm --filter @happyvertical/auth clean
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Agent Correction Loops
|
|
23
|
+
- If module resolution or export errors mention a workspace dependency, build the dependency first (`pnpm --filter @happyvertical/utils build`) and then rerun `pnpm --filter @happyvertical/auth build`.
|
|
24
|
+
- If tests or exports fail after API, type, or bundle changes, run `pnpm --filter @happyvertical/auth clean` followed by `pnpm --filter @happyvertical/auth build` and `pnpm --filter @happyvertical/auth test`.
|
|
25
|
+
- If failures span multiple packages or Turborepo ordering looks wrong, run `pnpm build` and `pnpm typecheck` from the repo root before retrying package-scoped commands.
|
|
26
|
+
|
|
27
|
+
## Ecosystem Relationships
|
|
28
|
+
- Provides: Unified authentication interface supporting Keycloak, AWS Cognito, and Nostr with OAuth2/OIDC and public key identity
|
|
29
|
+
- Implements: none
|
|
30
|
+
- Requires: @happyvertical/utils, @aws-sdk/client-cognito-identity-provider, jose, nostr-tools
|
|
31
|
+
- Stability: stable (Primary package surface is described as implemented and production-oriented.)
|
|
32
|
+
<!-- END AGENT:GENERATED -->
|
|
33
|
+
|
package/LICENSE
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright <2025> <Happy Vertical Corporation>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# @happyvertical/auth
|
|
2
|
+
|
|
3
|
+
Unified authentication interface supporting multiple providers.
|
|
4
|
+
|
|
5
|
+
## Providers
|
|
6
|
+
|
|
7
|
+
- **Keycloak** - Full OIDC/OAuth2 with admin capabilities
|
|
8
|
+
- **AWS Cognito** - OAuth2 with hosted UI
|
|
9
|
+
- **Nostr** - Decentralized public key identity
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @happyvertical/auth
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Claude Code Context
|
|
18
|
+
|
|
19
|
+
Install Claude Code context files for AI-assisted development:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx have-auth-context
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This copies the package's `AGENT.md` documentation and `metadata.json` metadata to your project's `.claude/` directory, enabling Claude to provide better assistance when working with this package.
|
|
26
|
+
|
|
27
|
+
## Quick Start
|
|
28
|
+
|
|
29
|
+
```typescript
|
|
30
|
+
import { getAuth } from '@happyvertical/auth';
|
|
31
|
+
|
|
32
|
+
// Keycloak
|
|
33
|
+
const auth = await getAuth({
|
|
34
|
+
type: 'keycloak',
|
|
35
|
+
serverUrl: 'https://auth.example.com',
|
|
36
|
+
realm: 'my-realm',
|
|
37
|
+
clientId: 'my-app'
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// Cognito
|
|
41
|
+
const auth = await getAuth({
|
|
42
|
+
type: 'cognito',
|
|
43
|
+
region: 'us-east-1',
|
|
44
|
+
userPoolId: 'us-east-1_xxx',
|
|
45
|
+
clientId: 'xxx'
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
// Nostr
|
|
49
|
+
const auth = await getAuth({
|
|
50
|
+
type: 'nostr',
|
|
51
|
+
relays: ['wss://relay.damus.io']
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
// Authenticate
|
|
55
|
+
const result = await auth.authenticate({ username, password });
|
|
56
|
+
console.log(result.accessToken);
|
|
57
|
+
|
|
58
|
+
// Validate token
|
|
59
|
+
const claims = await auth.validateToken(token);
|
|
60
|
+
|
|
61
|
+
// Check role
|
|
62
|
+
if (await auth.hasRole(token, 'admin')) {
|
|
63
|
+
// Admin access
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Documentation
|
|
68
|
+
|
|
69
|
+
See [AGENT.md](./AGENT.md) for complete API documentation.
|
|
70
|
+
|
|
71
|
+
## License
|
|
72
|
+
|
|
73
|
+
MIT
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { NotImplementedError } from "../index.js";
|
|
2
|
+
class CognitoProvider {
|
|
3
|
+
// biome-ignore lint/correctness/noUnusedPrivateClassMembers: Will be used when implemented
|
|
4
|
+
options;
|
|
5
|
+
constructor(options) {
|
|
6
|
+
this.options = {
|
|
7
|
+
scopes: ["openid", "profile", "email"],
|
|
8
|
+
...options
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
// ---------------------------------------------------------------------------
|
|
12
|
+
// AUTHENTICATION FLOWS
|
|
13
|
+
// ---------------------------------------------------------------------------
|
|
14
|
+
async getAuthorizationUrl(_options) {
|
|
15
|
+
throw new NotImplementedError("getAuthorizationUrl", "cognito");
|
|
16
|
+
}
|
|
17
|
+
async exchangeCode(_params) {
|
|
18
|
+
throw new NotImplementedError("exchangeCode", "cognito");
|
|
19
|
+
}
|
|
20
|
+
async authenticate(_credentials) {
|
|
21
|
+
throw new NotImplementedError("authenticate", "cognito");
|
|
22
|
+
}
|
|
23
|
+
async refresh(_refreshToken) {
|
|
24
|
+
throw new NotImplementedError("refresh", "cognito");
|
|
25
|
+
}
|
|
26
|
+
async logout(_options) {
|
|
27
|
+
throw new NotImplementedError("logout", "cognito");
|
|
28
|
+
}
|
|
29
|
+
// ---------------------------------------------------------------------------
|
|
30
|
+
// TOKEN OPERATIONS
|
|
31
|
+
// ---------------------------------------------------------------------------
|
|
32
|
+
async validateToken(_token, _options) {
|
|
33
|
+
throw new NotImplementedError("validateToken", "cognito");
|
|
34
|
+
}
|
|
35
|
+
decodeToken(_token) {
|
|
36
|
+
throw new NotImplementedError("decodeToken", "cognito");
|
|
37
|
+
}
|
|
38
|
+
async introspectToken(_token) {
|
|
39
|
+
throw new NotImplementedError("introspectToken", "cognito");
|
|
40
|
+
}
|
|
41
|
+
// ---------------------------------------------------------------------------
|
|
42
|
+
// USER OPERATIONS
|
|
43
|
+
// ---------------------------------------------------------------------------
|
|
44
|
+
async getProfile(_tokenOrSession) {
|
|
45
|
+
throw new NotImplementedError("getProfile", "cognito");
|
|
46
|
+
}
|
|
47
|
+
async updateProfile(_tokenOrSession, _profile) {
|
|
48
|
+
throw new NotImplementedError("updateProfile", "cognito");
|
|
49
|
+
}
|
|
50
|
+
async getUser(_userId, _adminToken) {
|
|
51
|
+
throw new NotImplementedError("getUser", "cognito");
|
|
52
|
+
}
|
|
53
|
+
async createUser(_user, _adminToken) {
|
|
54
|
+
throw new NotImplementedError("createUser", "cognito");
|
|
55
|
+
}
|
|
56
|
+
async updateUser(_userId, _updates, _adminToken) {
|
|
57
|
+
throw new NotImplementedError("updateUser", "cognito");
|
|
58
|
+
}
|
|
59
|
+
async deleteUser(_userId, _adminToken) {
|
|
60
|
+
throw new NotImplementedError("deleteUser", "cognito");
|
|
61
|
+
}
|
|
62
|
+
async listUsers(_query, _adminToken) {
|
|
63
|
+
throw new NotImplementedError("listUsers", "cognito");
|
|
64
|
+
}
|
|
65
|
+
async requestPasswordReset(_email) {
|
|
66
|
+
throw new NotImplementedError("requestPasswordReset", "cognito");
|
|
67
|
+
}
|
|
68
|
+
async resetPassword(_token, _newPassword) {
|
|
69
|
+
throw new NotImplementedError("resetPassword", "cognito");
|
|
70
|
+
}
|
|
71
|
+
// ---------------------------------------------------------------------------
|
|
72
|
+
// SESSION OPERATIONS
|
|
73
|
+
// ---------------------------------------------------------------------------
|
|
74
|
+
async listSessions(_userId, _adminToken) {
|
|
75
|
+
throw new NotImplementedError("listSessions", "cognito");
|
|
76
|
+
}
|
|
77
|
+
async revokeSession(_sessionId, _adminToken) {
|
|
78
|
+
throw new NotImplementedError("revokeSession", "cognito");
|
|
79
|
+
}
|
|
80
|
+
async revokeAllSessions(_userId, _adminToken) {
|
|
81
|
+
throw new NotImplementedError("revokeAllSessions", "cognito");
|
|
82
|
+
}
|
|
83
|
+
// ---------------------------------------------------------------------------
|
|
84
|
+
// AUTHORIZATION
|
|
85
|
+
// ---------------------------------------------------------------------------
|
|
86
|
+
async hasRole(_tokenOrUserId, _role) {
|
|
87
|
+
throw new NotImplementedError("hasRole", "cognito");
|
|
88
|
+
}
|
|
89
|
+
async hasPermission(_tokenOrUserId, _permission, _resource) {
|
|
90
|
+
throw new NotImplementedError("hasPermission", "cognito");
|
|
91
|
+
}
|
|
92
|
+
async getRoles(_tokenOrUserId, _adminToken) {
|
|
93
|
+
throw new NotImplementedError("getRoles", "cognito");
|
|
94
|
+
}
|
|
95
|
+
async assignRole(_userId, _role, _adminToken) {
|
|
96
|
+
throw new NotImplementedError("assignRole", "cognito");
|
|
97
|
+
}
|
|
98
|
+
async removeRole(_userId, _role, _adminToken) {
|
|
99
|
+
throw new NotImplementedError("removeRole", "cognito");
|
|
100
|
+
}
|
|
101
|
+
// ---------------------------------------------------------------------------
|
|
102
|
+
// PROVIDER INFORMATION
|
|
103
|
+
// ---------------------------------------------------------------------------
|
|
104
|
+
async getCapabilities() {
|
|
105
|
+
return {
|
|
106
|
+
authorizationCode: true,
|
|
107
|
+
passwordGrant: true,
|
|
108
|
+
clientCredentials: false,
|
|
109
|
+
tokenRefresh: true,
|
|
110
|
+
oidc: true,
|
|
111
|
+
userManagement: true,
|
|
112
|
+
sessionManagement: true,
|
|
113
|
+
rbac: true,
|
|
114
|
+
passwordReset: true,
|
|
115
|
+
mfa: true,
|
|
116
|
+
socialLogin: true,
|
|
117
|
+
federation: true,
|
|
118
|
+
decentralized: false
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
async getDiscoveryDocument() {
|
|
122
|
+
throw new NotImplementedError("getDiscoveryDocument", "cognito");
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
export {
|
|
126
|
+
CognitoProvider
|
|
127
|
+
};
|
|
128
|
+
//# sourceMappingURL=cognito-dmypylFX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cognito-dmypylFX.js","sources":["../../src/shared/providers/cognito.ts"],"sourcesContent":["/**\n * AWS Cognito Provider - OAuth2 Authentication\n *\n * This is a stub implementation. The full implementation will be added in Phase 3.\n */\n\nimport { NotImplementedError } from '../errors.js';\nimport type {\n AuthCapabilities,\n AuthCredentials,\n AuthInterface,\n AuthorizationOptions,\n AuthorizationResult,\n AuthResult,\n CodeExchangeParams,\n CognitoOptions,\n CreateUserRequest,\n LogoutOptions,\n OIDCDiscoveryDocument,\n Session,\n TokenClaims,\n TokenIntrospection,\n TokenPayload,\n TokenValidationOptions,\n UserListResult,\n UserProfile,\n UserQuery,\n} from '../types.js';\n\n/**\n * AWS Cognito authentication provider.\n *\n * Implements OAuth2 authentication with AWS Cognito User Pools.\n */\nexport class CognitoProvider implements AuthInterface {\n // biome-ignore lint/correctness/noUnusedPrivateClassMembers: Will be used when implemented\n private options: CognitoOptions;\n\n constructor(options: CognitoOptions) {\n this.options = {\n scopes: ['openid', 'profile', 'email'],\n ...options,\n };\n }\n\n // ---------------------------------------------------------------------------\n // AUTHENTICATION FLOWS\n // ---------------------------------------------------------------------------\n\n async getAuthorizationUrl(\n _options?: AuthorizationOptions,\n ): Promise<AuthorizationResult> {\n throw new NotImplementedError('getAuthorizationUrl', 'cognito');\n }\n\n async exchangeCode(_params: CodeExchangeParams): Promise<AuthResult> {\n throw new NotImplementedError('exchangeCode', 'cognito');\n }\n\n async authenticate(_credentials: AuthCredentials): Promise<AuthResult> {\n throw new NotImplementedError('authenticate', 'cognito');\n }\n\n async refresh(_refreshToken: string): Promise<AuthResult> {\n throw new NotImplementedError('refresh', 'cognito');\n }\n\n async logout(_options?: LogoutOptions): Promise<void> {\n throw new NotImplementedError('logout', 'cognito');\n }\n\n // ---------------------------------------------------------------------------\n // TOKEN OPERATIONS\n // ---------------------------------------------------------------------------\n\n async validateToken(\n _token: string,\n _options?: TokenValidationOptions,\n ): Promise<TokenClaims | null> {\n throw new NotImplementedError('validateToken', 'cognito');\n }\n\n decodeToken(_token: string): TokenPayload {\n throw new NotImplementedError('decodeToken', 'cognito');\n }\n\n async introspectToken(_token: string): Promise<TokenIntrospection> {\n throw new NotImplementedError('introspectToken', 'cognito');\n }\n\n // ---------------------------------------------------------------------------\n // USER OPERATIONS\n // ---------------------------------------------------------------------------\n\n async getProfile(_tokenOrSession: string): Promise<UserProfile> {\n throw new NotImplementedError('getProfile', 'cognito');\n }\n\n async updateProfile(\n _tokenOrSession: string,\n _profile: Partial<UserProfile>,\n ): Promise<UserProfile> {\n throw new NotImplementedError('updateProfile', 'cognito');\n }\n\n async getUser(_userId: string, _adminToken?: string): Promise<UserProfile> {\n throw new NotImplementedError('getUser', 'cognito');\n }\n\n async createUser(\n _user: CreateUserRequest,\n _adminToken: string,\n ): Promise<UserProfile> {\n throw new NotImplementedError('createUser', 'cognito');\n }\n\n async updateUser(\n _userId: string,\n _updates: Partial<CreateUserRequest>,\n _adminToken: string,\n ): Promise<UserProfile> {\n throw new NotImplementedError('updateUser', 'cognito');\n }\n\n async deleteUser(_userId: string, _adminToken: string): Promise<void> {\n throw new NotImplementedError('deleteUser', 'cognito');\n }\n\n async listUsers(\n _query: UserQuery,\n _adminToken?: string,\n ): Promise<UserListResult> {\n throw new NotImplementedError('listUsers', 'cognito');\n }\n\n async requestPasswordReset(_email: string): Promise<void> {\n throw new NotImplementedError('requestPasswordReset', 'cognito');\n }\n\n async resetPassword(_token: string, _newPassword: string): Promise<void> {\n throw new NotImplementedError('resetPassword', 'cognito');\n }\n\n // ---------------------------------------------------------------------------\n // SESSION OPERATIONS\n // ---------------------------------------------------------------------------\n\n async listSessions(\n _userId: string,\n _adminToken?: string,\n ): Promise<Session[]> {\n throw new NotImplementedError('listSessions', 'cognito');\n }\n\n async revokeSession(_sessionId: string, _adminToken?: string): Promise<void> {\n throw new NotImplementedError('revokeSession', 'cognito');\n }\n\n async revokeAllSessions(\n _userId: string,\n _adminToken?: string,\n ): Promise<void> {\n throw new NotImplementedError('revokeAllSessions', 'cognito');\n }\n\n // ---------------------------------------------------------------------------\n // AUTHORIZATION\n // ---------------------------------------------------------------------------\n\n async hasRole(_tokenOrUserId: string, _role: string): Promise<boolean> {\n throw new NotImplementedError('hasRole', 'cognito');\n }\n\n async hasPermission(\n _tokenOrUserId: string,\n _permission: string,\n _resource?: string,\n ): Promise<boolean> {\n throw new NotImplementedError('hasPermission', 'cognito');\n }\n\n async getRoles(\n _tokenOrUserId: string,\n _adminToken?: string,\n ): Promise<string[]> {\n throw new NotImplementedError('getRoles', 'cognito');\n }\n\n async assignRole(\n _userId: string,\n _role: string,\n _adminToken: string,\n ): Promise<void> {\n throw new NotImplementedError('assignRole', 'cognito');\n }\n\n async removeRole(\n _userId: string,\n _role: string,\n _adminToken: string,\n ): Promise<void> {\n throw new NotImplementedError('removeRole', 'cognito');\n }\n\n // ---------------------------------------------------------------------------\n // PROVIDER INFORMATION\n // ---------------------------------------------------------------------------\n\n async getCapabilities(): Promise<AuthCapabilities> {\n return {\n authorizationCode: true,\n passwordGrant: true,\n clientCredentials: false,\n tokenRefresh: true,\n oidc: true,\n userManagement: true,\n sessionManagement: true,\n rbac: true,\n passwordReset: true,\n mfa: true,\n socialLogin: true,\n federation: true,\n decentralized: false,\n };\n }\n\n async getDiscoveryDocument(): Promise<OIDCDiscoveryDocument | null> {\n throw new NotImplementedError('getDiscoveryDocument', 'cognito');\n }\n}\n"],"names":[],"mappings":";AAkCO,MAAM,gBAAyC;AAAA;AAAA,EAE5C;AAAA,EAER,YAAY,SAAyB;AACnC,SAAK,UAAU;AAAA,MACb,QAAQ,CAAC,UAAU,WAAW,OAAO;AAAA,MACrC,GAAG;AAAA,IAAA;AAAA,EAEP;AAAA;AAAA;AAAA;AAAA,EAMA,MAAM,oBACJ,UAC8B;AAC9B,UAAM,IAAI,oBAAoB,uBAAuB,SAAS;AAAA,EAChE;AAAA,EAEA,MAAM,aAAa,SAAkD;AACnE,UAAM,IAAI,oBAAoB,g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