/** * soma-heart — the agent's organ. * * Installed by the agent operator. The heart holds all credentials, * routes all computation, and weaves cryptographic seeds and heartbeats * into every output. No heart, no credentials, no computation. * * @example * ```ts * import { createSomaHeart } from "soma/heart"; * * const heart = createSomaHeart({ * genome: commitment, * signingKeyPair: keyPair, * modelApiKey: process.env.ANTHROPIC_API_KEY, * modelBaseUrl: "https://api.anthropic.com/v1", * modelId: "claude-sonnet-4", * }); * * // All computation goes through the heart * const stream = heart.generate({ messages: [...] }); * const toolResult = await heart.callTool("db", args, executor); * const data = await heart.fetchData("api", "query", fetcher); * ``` */ export { HeartRuntime, createSomaHeart, loadSomaHeart, type HeartConfig, type GenerationInput, type HeartbeatToken, type HeartbeatResult, type HeartbeatData, type HeartSession, type DataSourceConfig, type ToolProgressEmitter, type ToolExecutor, } from './runtime.js'; export { createLineageCertificate, verifyLineageCertificate, verifyLineageChain, effectiveCapabilities, hasCapability, type LineageCertificate, type HeartLineage, type LineageVerification, } from './lineage.js'; export { forkCeremony, type ForkCeremonyOptions, type ForkCeremonyResult, } from './fork-ceremony.js'; export { createDelegation, attenuateDelegation, verifyDelegation, verifyDelegationSignature, checkCaveats, type Delegation, type Caveat, type InvocationContext, type DelegationVerification, type CustomCaveatEvaluator, } from './delegation.js'; export { verifyDelegationChain, type ChainVerificationResult, type ChainVerificationSuccess, type ChainVerificationFailure, type ChainVerificationOptions, } from './delegation-chain.js'; export { createHumanDelegation, verifyHumanDelegation, computeChallengeHash, type HumanDelegation, type HumanAttestation, type AttestationVerifier, type CeremonyTier, type HumanDelegationVerification, } from './human-delegation.js'; export { createCeremonyPolicy, DEFAULT_CEREMONY_POLICY, type ActionClass, type PolicyMap, type PolicyOverrides, type PolicyDecision, type CeremonyPolicy, } from './ceremony-policy.js'; export { HumanSessionRegistry, type HumanSession, type SessionStatus, type InvokeRequest, type InvokeResult, } from './human-session.js'; export { issueChallenge, proveChallenge, verifyProof, type Challenge, type PossessionProof, type ProofVerification, } from './proof-of-possession.js'; export { initiateSession, acceptSession, confirmSession, verifyMutualSession, computeTranscriptHash, type SessionInit, type SessionAccept, type SessionConfirm, type SessionBindings, type SessionVerification, } from './mutual-session.js'; export { createRevocation, verifyRevocation, RevocationRegistry, type RevocationEvent, type RevocationReason, type RevocationTarget, type RevocationVerification, } from './revocation.js'; export { RevocationLog, type RevocationLogEntry, type LogHead, type LogVerification, } from './revocation-log.js'; export { signReceipt, verifyReceipt, receiptCanonical, EVIDENCE_SUMMARY_MAX, type ReceiptPayload, type SignedReceipt, type ReceiptOutcome, } from './reception-receipt.js'; export { SpendLog, signSpendHead, verifySpendHead, detectDoubleSpend, type SpendReceipt, type SpendHead, type SpendVerification, type DoubleSpendProof, } from './spend-receipts.js'; export { CredentialRotationController, Ed25519IdentityBackend, MockCredentialBackend, DEFAULT_POLICY, DEFAULT_TTL_POLICY, POLICY_FLOORS, computeManifestCommitment, verifyRotationChain, BackendNotAllowlisted, ChallengePeriodActive, CredentialExpired, DuplicateBackend, InvariantViolation, NotYetEffective, PreRotationMismatch, RateLimitExceeded, StagedRotationConflict, SuiteDowngradeRejected, VerifyBeforeRevokeFailed, SNAPSHOT_VERSION, type AlgorithmSuite, type Clock, type ControllerOptions, type ControllerPolicy, type ControllerSnapshot, type Credential, type CredentialBackend, type CredentialClass, type CredentialManifest, type HistoricalCredentialLookupHit, type HistoricalCredentialLookupKey, type HistoricalCredentialLookupMiss, type HistoricalCredentialLookupResult, type RotationEvent, type RotationEventStatus, type TtlPolicy, } from './credential-rotation/index.js'; export { checkKeyEffective, type HistoricalKeyLookup, type HistoricalKeyLookupHit, type HistoricalKeyLookupMiss, type HistoricalKeyLookupResult, } from './historical-key-lookup.js'; export { SystemTimeSource, MonotonicTimeSource, issueTimeWitness, verifyTimeWitness, verifyWitnessQuorum, type TimeSource, type TimeWitness, type WitnessVerification, type QuorumVerification, } from './time-oracle.js'; export { InMemoryTransport, GossipPeer, type GossipTransport, type GossipMessage, type GossipPeerOptions, type DivergenceReport, } from './gossip.js'; export { createAttestation, verifyAttestation, AttestationRegistry, type IdentityAttestation, type AttestationType, type AttestationVerification, type IdentityTier, type ReputationScore, type ScoreConfig, } from './attestation.js'; export { createDisclosableDocument, verifyDisclosableDocument, createDisclosureProof, verifyDisclosureProof, type DisclosableDocument, type DisclosureProof, type DisclosureVerification, } from './selective-disclosure.js'; export { splitSecret, reconstructSecret, verifyShares, verifyAllSubsetsReconstruct, type SecretShare, type SplitOptions, } from './key-escrow.js'; export { evaluateVrf, verifyVrf, outputToInt, combineBeacon, type VrfOutput, type VrfVerification, } from './vrf.js'; export { createAttestationDocument, verifyAttestationDocument, NoopVerifier, MockTeeVerifier, type AttestationDocument, type TeePlatform, type QuoteVerification, type RemoteAttestationVerifier, type AttestationVerification as RemoteAttestationVerification, type MeasurementPolicy, } from './remote-attestation.js'; export { InProcessBackend, DelegatedBackend, BackendRegistry, handleToDid, type SigningKeyHandle, type SigningBackend, } from './signing-backend.js'; export { generateThresholdKeyPair, shareExistingKey, thresholdSign, verifyThresholdSignature, SigningCeremony, type ThresholdKeyPair, type ThresholdSignature, type GenerateThresholdKeyOpts, type ShareExistingKeyOpts, } from './threshold-signing.js'; export { AlgorithmRegistry, generateHybridKeyPair, hybridSign, verifyHybridSignature, hybridPublicKeys, hybridFingerprint, type AlgorithmKeyPair, type HybridKeyPair, type AlgorithmSignature, type HybridSignature, type VerificationPolicy, type HybridVerification, } from './hybrid-signing.js'; export { serializeHeart, loadHeartState, type HeartState, type EncryptedBlob, type SerializedCredential, } from './persistence.js'; export { deriveSeed, applySeed, verifySeedInfluence, deriveHmacKey, computeTokenHmac, verifyTokenHmac, type HeartSeed, type SeedConfig, type BehavioralParams, type BehavioralRegion, } from './seed.js'; export { HeartbeatChain, type Heartbeat, type HeartbeatEventType } from './heartbeat.js'; export { createBirthCertificate, createUnsignedBirthCertificate, createDataProvenance, signDataProvenance, verifyDataProvenance, verifyBirthCertificate, verifySourceSignature, verifyDataIntegrity, verifyBirthCertificateChain, type BirthCertificate, type DataSource, type DataSourceType, type DataProvenance, type TrustTier, } from './birth-certificate.js'; export type { PackageProvenance } from '../supply-chain/update-certificate.js'; export { FactorRegistry, WELL_KNOWN_FACTOR_TYPES, type FactorType, type RegisteredFactor, } from './factor-registry.js'; export { StepUpService, FactorVerifierRegistry, verifyChallengeSignature, verifyStepUpAttestation, computeActionDigest, type StepUpChallenge, type StepUpAttestation, type FactorAssertion, type FactorAssertionVerifier, type FactorVerificationResult, type StepUpVerification, } from './stepup.js'; export { BaseStepUpOracle, CliPromptOracle, OracleChain, type StepUpOracle, type DeliveryResult, type AssertionCallback, } from './stepup-oracle.js'; export { checkPredicate, evaluateLadder, evaluateLadderDetailed, DEFAULT_LADDER, PARANOID_LADDER, type TierPredicate, type TierRule, type TierLadder, type TierEvalInput, } from './tier-ladder.js'; export { SOMA_CHECK_PROTOCOL, SOMA_CHECK_HEADERS, SOMA_CHECK_MIN_HASH_LENGTH, buildSomaCheckResponseHeaders, buildSomaCheckRequestHeaders, extractIfSomaHash, extractSomaHash, isSomaCheckResponse, shouldRespondUnchanged, buildUnchangedResponse, verifyDataHashConsistency, SomaCheckHashStore, type UnchangedResponse, type CheckMetadata, } from '../core/soma-check.js'; //# sourceMappingURL=index.d.ts.map