@agentrysh/shared
v0.0.4
Published
Shared types, error envelopes, fingerprinting and DSN parsing for agentry. Used by @agentrysh/mcp and any custom agentry integration.
Downloads
728
Maintainers
Readme
@agentrysh/shared
Shared types, error envelopes, DSN parsing and fingerprinting utilities used by agentry.
Most users don't need to install this directly — it's a transitive dependency of @agentrysh/mcp. Pull it in if you're building a custom agentry integration and want the same primitives.
Exports
parseDsn(dsn)— parse anagnt_<projectId>.<token>DSNcomputeFingerprint({ errorType, message, frames })— agentry's error-grouping hashIngestEventSchema,IngestEventPayload— zod schema for the typed error endpointAgentryError,errors— typed error envelope used across the APIuuidv7,sha256Hex— small id/crypto helpers- Type-only exports:
AgentryConfig,CaseDetail,CaseSummary,StackFrame, etc.
Install
npm install @agentrysh/sharedLicense
MIT