Skip to content
reaatechREAATECH

@reaatech/agent-auth-proxy-core

npm v1.0.0

Provides shared TypeScript types, Zod schemas, and custom error classes for synchronizing data structures between the agent-auth-proxy server and client SDK. It is framework-agnostic and relies solely on Zod for runtime validation.

@reaatech/agent-auth-proxy-core

Shared types, zod schemas, and error classes used by the agent-auth-proxy server and client SDK.

This package is framework-agnostic — it has no dependencies on Fastify, Drizzle, or any HTTP client. It only depends on zod for runtime schema validation.

Install

terminal
pnpm add @reaatech/agent-auth-proxy-core

What’s exported

  • ErrorsAppError, AuthError, ScopeError, ValidationError, UpstreamError
  • Request schemasproxyParamsSchema, proxyRequestSchema, oauthInitiateSchema
  • OAuth typesOAuthProviderConfig, OAuth2IntegrationInputs, OAuth2TokenResponse, OAuth2UserInfo
  • Scope typesScopeValidationResult

License

MIT