@openagentid/aegis-sdk/core
API contract shipped by @openagentid/aegis-sdk 0.1.1. Exact exports, signatures, dependencies and availability.
All packages · Runnable examples · Start an agent
| Contract | Value |
|---|---|
| Package | @openagentid/aegis-sdk@0.1.1 |
| Entry point | @openagentid/aegis-sdk/core |
| Availability | Published package |
| Reference source | Published TypeScript declarations |
| Package engines | node >=20 |
This reference is generated from the integrity-verified npm archive for this exact version. Signatures describe the public contract; they are not standalone programs. Complete examples are checked separately.
Import conditions
Use the public entry point above. The package resolves it to these shipped files; do not import its internal files directly.
| Condition | Published file |
|---|---|
| types | ./dist/core/index.d.ts |
| import | ./dist/core/index.js |
Exports
ActiveHours— typeActiveHoursSchemaAegisError— typeAegisExceptionAegisIdentity— typeAgentLineageProof— typeAuditInfo— typeAuthContext— typeAuthCredential— typeAuthError— typeauthErrorsAuthProvider— typebase64UrlDecodebase64UrlEncodeBatchMode— typeChain— typeCHAIN_VALUESchainCoinTypeChainSchemaconcatBytesCreateDidParams— typecryptoBackendCryptoBackend— typeDEFAULT_PAGE_SIZEDEFAULT_PAGINATIONDEFAULT_VERIFICATION_CONFIGDelegation— typeDelegationError— typedelegationErrorsDelegationProof— typeDelegationProofSchemaDelegationSchemaDelegationScope— typeDelegationScopeSchemaderivationStandardDidCreationResult— typeDidResolver— typeDocumentMetadata— typeDocumentProof— typeEntityKind— typeFrostKeyPackage— typeGuardian— typeGuardianType— typehexDecodehexEncodeIdentityType— typeIdentityTypeSchemainferIdentityTypeFromDidKeyError— typekeyErrorsKeyGenerationMode— typeKeyRole— typeKeyRoleSchemaLifecycleStatus— typeLineageSection— typeLineageSummary— typeLivenessStatus— typeloadDefaultCryptoBackendmakePaginationMAX_PAGE_SIZEoasDocumentOasDocument— typeObligation— typeObligationType— typePagination— typePermissionCheck— typePluginRegistryPolicyContext— typePolicyDecision— typePolicyEngine— typePolicyError— typepolicyErrorsPolicyRequest— typeRecoveryConfig— typeResolverError— typeresolverErrorsRevocationStatus— typeSession— typeSessionKey— typesetCryptoBackendSigningMode— typeSpendingLimits— typeSpendingLimitsSchemaTemporalConstraints— typeTemporalConstraintsSchemaThresholdConfig— typeu32BeBytesutf8Decodeutf8EncodeVerificationConfig— typeVerificationError— typeverificationErrorsVerificationMethod— typeVerificationResult— typeWalletError— typewalletErrorsWalletType— type
ActiveHours
Type-only declaration; it is not a runtime value.
interface ActiveHours {
startHour: number;
endHour: number;
timezone: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:126.
ActiveHoursSchema
declare const ActiveHoursSchema: z.ZodObject<{
startHour: z.ZodNumber;
endHour: z.ZodNumber;
timezone: z.ZodString;
}, "strip", z.ZodTypeAny, {
startHour: number;
endHour: number;
timezone: string;
}, {
startHour: number;
endHour: number;
timezone: string;
}>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:232.
AegisError
Type-only declaration; it is not a runtime value.
type AegisError = ResolverError | AuthError | PolicyError | VerificationError | KeyError | DelegationError | WalletError;Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:245.
AegisException
Throwable wrapper around a tagged AegisError.
declare class AegisException extends Error {
readonly error: AegisError;
constructor(error: AegisError);
}Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:247.
AegisIdentity
Identity information extracted from authentication.
Type-only declaration; it is not a runtime value.
interface AegisIdentity {
did: string;
identityType: IdentityType;
displayName?: string | null;
conformanceLevel?: number | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:6.
AgentLineageProof
Type-only declaration; it is not a runtime value.
interface AgentLineageProof {
type: string;
verificationMethod: string;
created: string;
jws: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:19.
AuditInfo
Type-only declaration; it is not a runtime value.
interface AuditInfo {
auditId: string;
timestamp: string;
engine: string;
policiesEvaluated: string[];
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:86.
AuthContext
The output of successful authentication (AEGIS Spec §7.1).
Type-only declaration; it is not a runtime value.
interface AuthContext {
provider: string;
subject: string;
did?: string | null;
sessionId?: string | null;
expiresAt?: string | null;
claims: Record<string, unknown>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:13.
AuthCredential
Discriminated union of credentials accepted by AEGIS auth providers (§7.2).
Type-only declaration; it is not a runtime value.
type AuthCredential = {
type: "bearer_token";
token: string;
} | {
type: "session_cookie";
cookie: string;
} | {
type: "api_key";
key: string;
} | {
type: "signed_challenge";
did: string;
challenge: string;
signature: string;
timestamp: string;
nonce: string;
} | {
type: "capability_token";
token: string;
} | {
type: "passkey_assertion";
credentialId: string;
authenticatorData: string;
clientDataJson: string;
signature: string;
} | {
type: "custom";
provider: string;
data: unknown;
};Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:22.
AuthError
Type-only declaration; it is not a runtime value.
type AuthError = {
kind: "auth/invalid_credential";
reason: string;
message: string;
} | {
kind: "auth/credential_expired";
expiredAt: string;
message: string;
} | {
kind: "auth/session_revoked";
sessionId: string;
message: string;
} | {
kind: "auth/session_expired";
sessionId: string;
message: string;
} | {
kind: "auth/challenge_invalid";
reason: string;
message: string;
} | {
kind: "auth/provider_unavailable";
provider: string;
message: string;
} | {
kind: "auth/refresh_not_supported";
provider: string;
message: string;
} | {
kind: "auth/revocation_not_supported";
provider: string;
message: string;
} | {
kind: "auth/internal";
reason: string;
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:38.
authErrors
declare const authErrors: {
invalidCredential: (reason: string) => AuthError;
credentialExpired: (expiredAt: string) => AuthError;
sessionRevoked: (sessionId: string) => AuthError;
sessionExpired: (sessionId: string) => AuthError;
challengeInvalid: (reason: string) => AuthError;
providerUnavailable: (provider: string) => AuthError;
refreshNotSupported: (provider: string) => AuthError;
revocationNotSupported: (provider: string) => AuthError;
internal: (reason: string) => AuthError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:261.
AuthProvider
Type-only declaration; it is not a runtime value.
interface AuthProvider {
validate(credential: AuthCredential): Promise<AuthContext>;
getIdentity(ctx: AuthContext): Promise<AegisIdentity>;
providerName(): string;
refresh?(ctx: AuthContext): Promise<AuthContext>;
revoke?(ctx: AuthContext): Promise<void>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:92.
base64UrlDecode
Decode a URL-safe base64 string (with or without padding) to bytes.
declare function base64UrlDecode(input: string): Uint8Array;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:4.
base64UrlEncode
Encode bytes as URL-safe base64 without padding.
declare function base64UrlEncode(bytes: Uint8Array): string;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:2.
BatchMode
Type-only declaration; it is not a runtime value.
type BatchMode = "all_or_nothing" | "best_effort";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:184.
Chain
Type-only declaration; it is not a runtime value.
type Chain = "ethereum" | "polygon" | "arbitrum" | "optimism" | "base" | "solana" | "bitcoin" | "cosmos" | "osmosis" | "aptos" | "sui" | "starknet";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:177.
CHAIN_VALUES
declare const CHAIN_VALUES: readonly Chain[];Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:178.
chainCoinType
BIP-44 coin type for the given chain.
declare function chainCoinType(chain: Chain): number;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:180.
ChainSchema
declare const ChainSchema: z.ZodEnum<[
"ethereum",
"polygon",
"arbitrum",
"optimism",
"base",
"solana",
"bitcoin",
"cosmos",
"osmosis",
"aptos",
"sui",
"starknet"
]>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:211.
concatBytes
declare function concatBytes(...chunks: Uint8Array[]): Uint8Array;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:9.
CreateDidParams
Type-only declaration; it is not a runtime value.
interface CreateDidParams {
entityKind: string;
namespace: string;
identifier: string;
metadata: Record<string, string>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:66.
cryptoBackend
Returns the active crypto backend. Throws if none has been registered.
In Node.js, the backend can be auto-loaded by loadDefaultCryptoBackend
which dynamically imports @openagentid/crypto-wasm.
declare function cryptoBackend(): CryptoBackend;Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:366.
CryptoBackend
Type-only declaration; it is not a runtime value.
interface CryptoBackend {
ed25519GenerateKeypair(): {
signingKey: Uint8Array;
verifyingKey: Uint8Array;
};
ed25519PublicFromPrivate(signingKey: Uint8Array): Uint8Array;
ed25519Sign(signingKey: Uint8Array, message: Uint8Array): Uint8Array;
ed25519Verify(verifyingKey: Uint8Array, message: Uint8Array, signature: Uint8Array): boolean;
hkdfSha256(ikm: Uint8Array, salt: Uint8Array, info: Uint8Array, length: number): Uint8Array;
blake3Hash(input: Uint8Array): Uint8Array;
sha256(input: Uint8Array): Uint8Array;
sha512(input: Uint8Array): Uint8Array;
aes256GcmEncrypt(key: Uint8Array, nonce: Uint8Array, plaintext: Uint8Array): Uint8Array;
aes256GcmDecrypt(key: Uint8Array, nonce: Uint8Array, ciphertext: Uint8Array): Uint8Array;
jcsCanonicalize(value: unknown): Uint8Array;
multibaseEncode(bytes: Uint8Array): string;
multibaseDecode(encoded: string): Uint8Array;
randomBytes(length: number): Uint8Array;
frostTrustedKeygen(minSigners: number, maxSigners: number): {
keyPackages: FrostKeyPackage[];
publicKeyPackage: Uint8Array;
};
frostSignRound1(signingShare: Uint8Array): {
nonces: Uint8Array;
commitments: Uint8Array;
};
frostSignRound2(signingPackage: Uint8Array, nonces: Uint8Array, keyPackage: Uint8Array): Uint8Array;
frostBuildSigningPackage(commitments: Map<number, Uint8Array>, message: Uint8Array): Uint8Array;
frostAggregate(signingPackage: Uint8Array, signatureShares: Map<number, Uint8Array>, publicKeyPackage: Uint8Array): Uint8Array;
frostVerify(publicKeyPackage: Uint8Array, message: Uint8Array, signature: Uint8Array): boolean;
}Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:320.
DEFAULT_PAGE_SIZE
declare const DEFAULT_PAGE_SIZE = 100;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:203.
DEFAULT_PAGINATION
declare const DEFAULT_PAGINATION: Pagination;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:209.
DEFAULT_VERIFICATION_CONFIG
declare const DEFAULT_VERIFICATION_CONFIG: VerificationConfig;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:125.
Delegation
Type-only declaration; it is not a runtime value.
interface Delegation {
id: string;
delegator: string;
delegate: string;
scope: DelegationScope;
created: string;
expires?: string | null;
revocable: boolean;
proof: DelegationProof;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:157.
DelegationError
Type-only declaration; it is not a runtime value.
type DelegationError = {
kind: "delegation/invalid_proof";
reason: string;
message: string;
} | {
kind: "delegation/revoked";
delegationId: string;
message: string;
} | {
kind: "delegation/expired";
delegationId: string;
message: string;
} | {
kind: "delegation/max_depth_exceeded";
depth: number;
maxDepth: number;
message: string;
} | {
kind: "delegation/scope_amplification";
reason: string;
message: string;
} | {
kind: "delegation/delegator_not_found";
did: string;
message: string;
} | {
kind: "delegation/delegate_not_found";
did: string;
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:184.
delegationErrors
declare const delegationErrors: {
invalidProof: (reason: string) => DelegationError;
revoked: (delegationId: string) => DelegationError;
expired: (delegationId: string) => DelegationError;
maxDepthExceeded: (depth: number, maxDepth: number) => DelegationError;
scopeAmplification: (reason: string) => DelegationError;
delegatorNotFound: (did: string) => DelegationError;
delegateNotFound: (did: string) => DelegationError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:301.
DelegationProof
Type-only declaration; it is not a runtime value.
interface DelegationProof {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:151.
DelegationProofSchema
declare const DelegationProofSchema: z.ZodObject<{
type: z.ZodLiteral<"AegisDelegationProof2025">;
verificationMethod: z.ZodString;
created: z.ZodString;
jws: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
}, {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
}>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:383.
DelegationSchema
declare const DelegationSchema: z.ZodObject<{
id: z.ZodString;
delegator: z.ZodString;
delegate: z.ZodString;
scope: z.ZodObject<{
actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
resources: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
chains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
dailyVolume: z.ZodOptional<z.ZodNullable<z.ZodString>>;
assetAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
recipientAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
approvalThreshold: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
assetAllowlist: string[];
recipientAllowlist: string[];
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
approvalThreshold?: string | null | undefined;
}, {
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
assetAllowlist?: string[] | undefined;
recipientAllowlist?: string[] | undefined;
approvalThreshold?: string | null | undefined;
}>>>;
temporal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
validFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
activeHours: z.ZodOptional<z.ZodNullable<z.ZodObject<{
startHour: z.ZodNumber;
endHour: z.ZodNumber;
timezone: z.ZodString;
}, "strip", z.ZodTypeAny, {
startHour: number;
endHour: number;
timezone: string;
}, {
startHour: number;
endHour: number;
timezone: string;
}>>>;
cooldown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
}, {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
actions: string[];
resources: string[];
chains: string[];
limits?: {
assetAllowlist: string[];
recipientAllowlist: string[];
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
approvalThreshold?: string | null | undefined;
} | null | undefined;
temporal?: {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
} | null | undefined;
}, {
actions?: string[] | undefined;
resources?: string[] | undefined;
chains?: string[] | undefined;
limits?: {
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
assetAllowlist?: string[] | undefined;
recipientAllowlist?: string[] | undefined;
approvalThreshold?: string | null | undefined;
} | null | undefined;
temporal?: {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
} | null | undefined;
}>;
created: z.ZodString;
expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
revocable: z.ZodBoolean;
proof: z.ZodObject<{
type: z.ZodLiteral<"AegisDelegationProof2025">;
verificationMethod: z.ZodString;
created: z.ZodString;
jws: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
}, {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
}>;
}, "strip", z.ZodTypeAny, {
created: string;
id: string;
delegator: string;
delegate: string;
scope: {
actions: string[];
resources: string[];
chains: string[];
limits?: {
assetAllowlist: string[];
recipientAllowlist: string[];
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
approvalThreshold?: string | null | undefined;
} | null | undefined;
temporal?: {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
} | null | undefined;
};
revocable: boolean;
proof: {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
};
expires?: string | null | undefined;
}, {
created: string;
id: string;
delegator: string;
delegate: string;
scope: {
actions?: string[] | undefined;
resources?: string[] | undefined;
chains?: string[] | undefined;
limits?: {
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
assetAllowlist?: string[] | undefined;
recipientAllowlist?: string[] | undefined;
approvalThreshold?: string | null | undefined;
} | null | undefined;
temporal?: {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
} | null | undefined;
};
revocable: boolean;
proof: {
type: "AegisDelegationProof2025";
verificationMethod: string;
created: string;
jws: string;
};
expires?: string | null | undefined;
}>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:399.
DelegationScope
Type-only declaration; it is not a runtime value.
interface DelegationScope {
actions: string[];
resources: string[];
chains: string[];
limits?: SpendingLimits | null;
temporal?: TemporalConstraints | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:144.
DelegationScopeSchema
declare const DelegationScopeSchema: z.ZodObject<{
actions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
resources: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
chains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
dailyVolume: z.ZodOptional<z.ZodNullable<z.ZodString>>;
assetAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
recipientAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
approvalThreshold: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
assetAllowlist: string[];
recipientAllowlist: string[];
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
approvalThreshold?: string | null | undefined;
}, {
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
assetAllowlist?: string[] | undefined;
recipientAllowlist?: string[] | undefined;
approvalThreshold?: string | null | undefined;
}>>>;
temporal: z.ZodOptional<z.ZodNullable<z.ZodObject<{
validFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
activeHours: z.ZodOptional<z.ZodNullable<z.ZodObject<{
startHour: z.ZodNumber;
endHour: z.ZodNumber;
timezone: z.ZodString;
}, "strip", z.ZodTypeAny, {
startHour: number;
endHour: number;
timezone: string;
}, {
startHour: number;
endHour: number;
timezone: string;
}>>>;
cooldown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
}, {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
}>>>;
}, "strip", z.ZodTypeAny, {
actions: string[];
resources: string[];
chains: string[];
limits?: {
assetAllowlist: string[];
recipientAllowlist: string[];
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
approvalThreshold?: string | null | undefined;
} | null | undefined;
temporal?: {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
} | null | undefined;
}, {
actions?: string[] | undefined;
resources?: string[] | undefined;
chains?: string[] | undefined;
limits?: {
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
assetAllowlist?: string[] | undefined;
recipientAllowlist?: string[] | undefined;
approvalThreshold?: string | null | undefined;
} | null | undefined;
temporal?: {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
} | null | undefined;
}>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:281.
derivationStandard
Returns the derivation standard name for the given chain.
declare function derivationStandard(chain: Chain): "BIP-44" | "SLIP-0010";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:182.
DidCreationResult
Type-only declaration; it is not a runtime value.
interface DidCreationResult {
did: string;
document: OasDocument;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:72.
DidResolver
DID Resolver plugin interface (§4.1).
Enables AEGIS to resolve any DID method without coupling to a specific resolution mechanism. Each resolver handles one or more DID methods.
Implementations MUST resolve within 5 seconds.
Type-only declaration; it is not a runtime value.
interface DidResolver {
resolve(did: string): Promise<OasDocument>;
handles(did: string): boolean;
supportedMethods(): readonly string[];
create?(params: CreateDidParams): Promise<DidCreationResult>;
update?(did: string, document: OasDocument): Promise<void>;
deactivate?(did: string): Promise<void>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:84.
DocumentMetadata
Type-only declaration; it is not a runtime value.
interface DocumentMetadata {
created: string;
updated?: string | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:25.
DocumentProof
Type-only declaration; it is not a runtime value.
interface DocumentProof {
type: string;
verificationMethod: string;
created: string;
jws?: string;
proofValue?: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:29.
EntityKind
Type-only declaration; it is not a runtime value.
type EntityKind = "hmr" | "mhr" | "enr" | "ao" | "agent" | "agent:instance" | "tool" | "skill" | "workflow" | "model" | "dataset" | "service";Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:4.
FrostKeyPackage
Type-only declaration; it is not a runtime value.
interface FrostKeyPackage {
identifier: number;
bytes: Uint8Array;
}Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:351.
Guardian
Type-only declaration; it is not a runtime value.
interface Guardian {
guardianType: GuardianType;
identifier: string;
weight: number;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:192.
GuardianType
Type-only declaration; it is not a runtime value.
type GuardianType = "identity" | "email" | "phone" | "hardware";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:191.
hexDecode
declare function hexDecode(input: string): Uint8Array;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:6.
hexEncode
declare function hexEncode(bytes: Uint8Array): string;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:5.
IdentityType
The type of entity being authenticated.
Type-only declaration; it is not a runtime value.
type IdentityType = "human" | "agent" | "organization" | "enterprise" | "delegated";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:4.
IdentityTypeSchema
declare const IdentityTypeSchema: z.ZodEnum<[
"human",
"agent",
"organization",
"enterprise",
"delegated"
]>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:210.
inferIdentityTypeFromDid
Infer the IdentityType from a did:oas:<ns>:<kind>:<id> string.
Returns "agent" if the DID cannot be parsed.
declare function inferIdentityTypeFromDid(did: string): "human" | "organization" | "enterprise" | "agent";Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:64.
KeyError
Type-only declaration; it is not a runtime value.
type KeyError = {
kind: "key/generation_failed";
reason: string;
message: string;
} | {
kind: "key/derivation_failed";
reason: string;
message: string;
} | {
kind: "key/rotation_failed";
reason: string;
message: string;
} | {
kind: "key/recovery_failed";
reason: string;
message: string;
} | {
kind: "key/mpc_failed";
reason: string;
message: string;
} | {
kind: "key/not_found";
keyId: string;
message: string;
} | {
kind: "key/storage_error";
reason: string;
message: string;
} | {
kind: "key/signing_failed";
reason: string;
message: string;
} | {
kind: "key/unsupported_type";
keyType: string;
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:147.
keyErrors
declare const keyErrors: {
generationFailed: (reason: string) => KeyError;
derivationFailed: (reason: string) => KeyError;
rotationFailed: (reason: string) => KeyError;
recoveryFailed: (reason: string) => KeyError;
mpcFailed: (reason: string) => KeyError;
notFound: (keyId: string) => KeyError;
storageError: (reason: string) => KeyError;
signingFailed: (reason: string) => KeyError;
unsupportedKeyType: (keyType: string) => KeyError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:290.
KeyGenerationMode
Type-only declaration; it is not a runtime value.
type KeyGenerationMode = "direct" | "mpc" | "tee" | "hsm";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:186.
KeyRole
Type-only declaration; it is not a runtime value.
type KeyRole = "identity" | "authentication" | "assertion" | "delegation" | "session" | "recovery" | "chain";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:185.
KeyRoleSchema
declare const KeyRoleSchema: z.ZodEnum<[
"identity",
"authentication",
"assertion",
"delegation",
"session",
"recovery",
"chain"
]>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:212.
LifecycleStatus
Type-only declaration; it is not a runtime value.
type LifecycleStatus = "active" | "suspended" | "terminated" | "deprecated" | "draft";Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:3.
LineageSection
Optional lineage section for non-root entities.
Type-only declaration; it is not a runtime value.
interface LineageSection {
parent: string;
generation: number;
humanRootChain: string[];
proof?: AgentLineageProof | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:13.
LineageSummary
Type-only declaration; it is not a runtime value.
interface LineageSummary {
depth: number;
humanRoot: string;
verified: boolean;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:69.
LivenessStatus
Type-only declaration; it is not a runtime value.
type LivenessStatus = "active" | "warning" | "stale" | "unknown";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:104.
loadDefaultCryptoBackend
Attempts to load @openagentid/crypto-wasm lazily. Falls back to a
stub error backend if the module isn't available — callers should
rely on this for one-time setup in tests/examples.
declare function loadDefaultCryptoBackend(): Promise<void>;Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:372.
makePagination
declare function makePagination(limit: number, offset: number): Pagination;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:208.
MAX_PAGE_SIZE
declare const MAX_PAGE_SIZE = 1000;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:202.
oasDocument
Helpers for inspecting OAS documents without coupling to a specific SDK.
declare const oasDocument: {
isRoot(doc: OasDocument): boolean;
isRevoked(doc: OasDocument): boolean;
primaryPublicKeyMultibase(doc: OasDocument): string | null;
findVerificationMethod(doc: OasDocument, id: string): VerificationMethod | null;
};Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:53.
OasDocument
Minimal OAS Identity Document interface.
Type-only declaration; it is not a runtime value.
interface OasDocument {
id: string;
oasVersion: string;
kind: string;
verificationMethod: VerificationMethod[];
authentication?: string[];
assertionMethod?: string[];
delegationMethod?: string[];
metadata: DocumentMetadata;
lineage?: LineageSection | null;
lifecycleStatus?: LifecycleStatus | null;
revoked?: boolean;
proof?: DocumentProof | null;
[key: string]: unknown;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:37.
Obligation
Type-only declaration; it is not a runtime value.
interface Obligation {
obligationType: ObligationType;
params: Record<string, unknown>;
deadline?: string | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:81.
ObligationType
Type-only declaration; it is not a runtime value.
type ObligationType = "log" | "notify" | "approve" | "escrow" | "limit";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:80.
Pagination
Type-only declaration; it is not a runtime value.
interface Pagination {
limit: number;
offset: number;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:204.
PermissionCheck
Type-only declaration; it is not a runtime value.
interface PermissionCheck {
principal: string;
permission: string;
resource?: string | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:98.
PluginRegistry
The Plugin Registry manages all loaded plugins and routes requests to the appropriate plugin (AEGIS Spec §4.4).
- Multiple DID Resolvers (routed by
handles()matching) - Multiple Auth Providers (keyed by
providerName()) - Exactly one Policy Engine
Plugin registration order is deterministic. Resolvers are tried in
registration order; the first whose handles() returns true is used.
declare class PluginRegistry {
registerResolver(resolver: DidResolver): void;
registerAuthProvider(provider: AuthProvider): void;
setPolicyEngine(engine: PolicyEngine): void;
resolverCount(): number;
authProviderCount(): number;
hasPolicyEngine(): boolean;
getResolverFor(did: string): DidResolver | null;
getAuthProvider(name: string): AuthProvider | null;
getPolicyEngine(): PolicyEngine | null;
resolveDid(did: string): Promise<OasDocument>;
validateCredential(credential: AuthCredential, providerName?: string | null): Promise<AuthContext>;
evaluatePolicy(request: PolicyRequest): Promise<PolicyDecision>;
checkPermission(check: PermissionCheck): Promise<boolean>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:116.
PolicyContext
Type-only declaration; it is not a runtime value.
interface PolicyContext {
authContext?: AuthContext | null;
lineage?: LineageSummary | null;
conformanceLevel?: number | null;
session?: Session | null;
extra: Record<string, unknown>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:62.
PolicyDecision
Type-only declaration; it is not a runtime value.
interface PolicyDecision {
allowed: boolean;
reason?: string | null;
obligations: Obligation[];
auditInfo: AuditInfo;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:92.
PolicyEngine
Type-only declaration; it is not a runtime value.
interface PolicyEngine {
evaluate(request: PolicyRequest): Promise<PolicyDecision>;
checkPermission(check: PermissionCheck): Promise<boolean>;
engineName(): string;
getPolicies?(did: string): Promise<unknown[]>;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:99.
PolicyError
Type-only declaration; it is not a runtime value.
type PolicyError = {
kind: "policy/evaluation_failed";
reason: string;
message: string;
} | {
kind: "policy/timeout";
timeoutMs: number;
message: string;
} | {
kind: "policy/engine_unavailable";
message: string;
} | {
kind: "policy/no_engine";
message: string;
} | {
kind: "policy/config_error";
reason: string;
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:75.
policyErrors
declare const policyErrors: {
evaluationFailed: (reason: string) => PolicyError;
timeout: (timeoutMs: number) => PolicyError;
engineUnavailable: () => PolicyError;
noEngine: () => PolicyError;
configError: (reason: string) => PolicyError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:272.
PolicyRequest
Type-only declaration; it is not a runtime value.
interface PolicyRequest {
principal: string;
action: string;
resource: string;
context: PolicyContext;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:74.
RecoveryConfig
Type-only declaration; it is not a runtime value.
interface RecoveryConfig {
guardians: Guardian[];
threshold: number;
timelock: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:197.
ResolverError
Type-only declaration; it is not a runtime value.
type ResolverError = {
kind: "resolver/not_found";
did: string;
message: string;
} | {
kind: "resolver/invalid_format";
reason: string;
message: string;
} | {
kind: "resolver/timeout";
did: string;
timeoutMs: number;
message: string;
} | {
kind: "resolver/deactivated";
did: string;
message: string;
} | {
kind: "resolver/network";
did: string;
reason: string;
message: string;
} | {
kind: "resolver/creation_not_supported";
message: string;
} | {
kind: "resolver/update_not_supported";
message: string;
} | {
kind: "resolver/deactivation_not_supported";
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:6.
resolverErrors
declare const resolverErrors: {
notFound: (did: string) => ResolverError;
invalidFormat: (reason: string) => ResolverError;
timeout: (did: string, timeoutMs: number) => ResolverError;
deactivated: (did: string) => ResolverError;
network: (did: string, reason: string) => ResolverError;
creationNotSupported: () => ResolverError;
updateNotSupported: () => ResolverError;
deactivationNotSupported: () => ResolverError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:251.
RevocationStatus
Type-only declaration; it is not a runtime value.
type RevocationStatus = "active" | "revoked" | "suspended" | "expired" | "unknown";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:103.
Session
Session token structure (AEGIS Spec §7.4).
Type-only declaration; it is not a runtime value.
interface Session {
sessionId: string;
did: string;
provider: string;
createdAt: string;
expiresAt: string;
scope: string[];
deviceBinding?: string | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:53.
SessionKey
Type-only declaration; it is not a runtime value.
interface SessionKey {
sessionKey: string;
principal: string;
scope: DelegationScope;
maxTransactions?: number | null;
created: string;
expires: string;
proof: DelegationProof;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:167.
setCryptoBackend
Inject a custom crypto backend implementation. Call this once at SDK
initialization (typically with the @openagentid/crypto-wasm exports).
declare function setCryptoBackend(impl: CryptoBackend): void;Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:359.
SigningMode
Type-only declaration; it is not a runtime value.
type SigningMode = "direct" | "mpc" | "tee" | "external";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:183.
SpendingLimits
Type-only declaration; it is not a runtime value.
interface SpendingLimits {
maxAmount?: string | null;
dailyVolume?: string | null;
assetAllowlist: string[];
recipientAllowlist: string[];
approvalThreshold?: string | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:137.
SpendingLimitsSchema
declare const SpendingLimitsSchema: z.ZodObject<{
maxAmount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
dailyVolume: z.ZodOptional<z.ZodNullable<z.ZodString>>;
assetAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
recipientAllowlist: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
approvalThreshold: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
assetAllowlist: string[];
recipientAllowlist: string[];
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
approvalThreshold?: string | null | undefined;
}, {
maxAmount?: string | null | undefined;
dailyVolume?: string | null | undefined;
assetAllowlist?: string[] | undefined;
recipientAllowlist?: string[] | undefined;
approvalThreshold?: string | null | undefined;
}>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:213.
TemporalConstraints
Type-only declaration; it is not a runtime value.
interface TemporalConstraints {
validFrom?: string | null;
validUntil?: string | null;
activeHours?: ActiveHours | null;
cooldown?: string | null;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:131.
TemporalConstraintsSchema
declare const TemporalConstraintsSchema: z.ZodObject<{
validFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
validUntil: z.ZodOptional<z.ZodNullable<z.ZodString>>;
activeHours: z.ZodOptional<z.ZodNullable<z.ZodObject<{
startHour: z.ZodNumber;
endHour: z.ZodNumber;
timezone: z.ZodString;
}, "strip", z.ZodTypeAny, {
startHour: number;
endHour: number;
timezone: string;
}, {
startHour: number;
endHour: number;
timezone: string;
}>>>;
cooldown: z.ZodOptional<z.ZodNullable<z.ZodString>>;
}, "strip", z.ZodTypeAny, {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
}, {
validFrom?: string | null | undefined;
validUntil?: string | null | undefined;
activeHours?: {
startHour: number;
endHour: number;
timezone: string;
} | null | undefined;
cooldown?: string | null | undefined;
}>;Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:245.
ThresholdConfig
Type-only declaration; it is not a runtime value.
interface ThresholdConfig {
threshold: number;
totalShares: number;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:187.
u32BeBytes
big-endian u32 → 4 bytes
declare function u32BeBytes(n: number): Uint8Array;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:11.
utf8Decode
declare function utf8Decode(bytes: Uint8Array): string;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:8.
utf8Encode
declare function utf8Encode(s: string): Uint8Array;Source: @openagentid/aegis-sdk@0.1.1, dist/encoding-OdOrLVsv.d.ts:7.
VerificationConfig
Type-only declaration; it is not a runtime value.
interface VerificationConfig {
maxLineageDepth: number;
perHopTimeoutSecs: number;
totalTimeoutSecs: number;
cacheTtlSecs: number;
livenessPeriodDays: number;
conformanceLevel: number;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:117.
VerificationError
Type-only declaration; it is not a runtime value.
type VerificationError = {
kind: "verify/resolution_failed";
did: string;
reason: string;
message: string;
} | {
kind: "verify/invalid_schema";
did: string;
reason: string;
message: string;
} | {
kind: "verify/invalid_signature";
did: string;
message: string;
} | {
kind: "verify/lineage_failed";
did: string;
reason: string;
message: string;
} | {
kind: "verify/max_depth_exceeded";
did: string;
depth: number;
maxDepth: number;
message: string;
} | {
kind: "verify/revoked";
did: string;
message: string;
} | {
kind: "verify/suspended";
did: string;
message: string;
} | {
kind: "verify/human_root_revoked";
humanRoot: string;
message: string;
} | {
kind: "verify/generation_mismatch";
did: string;
expected: number;
found: number;
message: string;
} | {
kind: "verify/timeout";
did: string;
message: string;
} | {
kind: "verify/consistency_violation";
did: string;
reason: string;
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:94.
verificationErrors
declare const verificationErrors: {
resolutionFailed: (did: string, reason: string) => VerificationError;
invalidSchema: (did: string, reason: string) => VerificationError;
invalidSignature: (did: string) => VerificationError;
lineageFailed: (did: string, reason: string) => VerificationError;
maxDepthExceeded: (did: string, depth: number, maxDepth: number) => VerificationError;
revoked: (did: string) => VerificationError;
suspended: (did: string) => VerificationError;
humanRootRevoked: (humanRoot: string) => VerificationError;
timeout: (did: string) => VerificationError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:279.
VerificationMethod
Verification method per W3C DID-Core.
Type-only declaration; it is not a runtime value.
interface VerificationMethod {
id: string;
type: string;
controller: string;
publicKeyMultibase: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/plugin-CzTTSkdE.d.ts:6.
VerificationResult
Type-only declaration; it is not a runtime value.
interface VerificationResult {
did: string;
signatureValid: boolean;
lineageValid: boolean;
lineageDepth: number;
humanRoot?: string | null;
revocationStatus: RevocationStatus;
livenessStatus: LivenessStatus;
conformanceLevel: number;
warnings: string[];
verifiedAt: string;
}Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:105.
WalletError
Type-only declaration; it is not a runtime value.
type WalletError = {
kind: "wallet/authorization_failed";
reason: string;
message: string;
} | {
kind: "wallet/signing_failed";
reason: string;
message: string;
} | {
kind: "wallet/unsupported_chain";
chain: string;
message: string;
} | {
kind: "wallet/derivation_failed";
chain: string;
reason: string;
message: string;
} | {
kind: "wallet/policy_denied";
reason: string;
message: string;
} | {
kind: "wallet/obligation_failed";
reason: string;
message: string;
} | {
kind: "wallet/batch_partial_failure";
succeeded: number;
total: number;
message: string;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:214.
walletErrors
declare const walletErrors: {
authorizationFailed: (reason: string) => WalletError;
signingFailed: (reason: string) => WalletError;
unsupportedChain: (chain: string) => WalletError;
derivationFailed: (chain: string, reason: string) => WalletError;
policyDenied: (reason: string) => WalletError;
obligationFailed: (reason: string) => WalletError;
batchPartialFailure: (succeeded: number, total: number) => WalletError;
};Source: @openagentid/aegis-sdk@0.1.1, dist/core/index.d.ts:310.
WalletType
Type-only declaration; it is not a runtime value.
type WalletType = "eoa" | "smart" | "abstract";Source: @openagentid/aegis-sdk@0.1.1, dist/types-Ck8QCcs2.d.ts:176.
Package requirements
Dependencies
| Package | Published range |
|---|---|
| uuid | ^11.0.0 |
| zod | ^3.23.0 |
Archive verification
Pinned integrity:
sha512-eKG79P17teM8i+ZQaNdBEPJnL0XT9723i04kDxgVRrOb0VOnNW5rt2doLq8g4mHBZ4rjHdPEuzZmj5LsL4iuVw==