UNPKG

@receiz/mcp-server

Version:

MCP server for agents building and verifying Receiz proof-native applications through the canonical Receiz SDK rails.

83 lines • 3.17 kB
import type { createReceizNodeOfflineSealer } from "@receiz/sdk/offline/node"; type Sealer = Pick<Awaited<ReturnType<typeof createReceizNodeOfflineSealer>>, "seal">; /** Creates a distinct private AI subject beneath the admitted owner's identity. * No HTTP admission, public append, runtime enrollment, or file write occurs. * Persist both returned artifacts in private custody before accepting creation. * The initial source is a new owned document, never the owner's Identity Seal. */ export declare function createReceizMcpDeviceAiSubject(input: Readonly<{ ownerIdentityAdmission: unknown; sealer: Sealer; name?: string; }>): Promise<Readonly<{ subjectId: string; ownerReceizId: string; visibility: "private"; sourceArtifact: Readonly<{ schema: "receiz.sealed-artifact-bytes.v124"; exactBytesB64u: string; filename: string; mimeType: string; artifactSha256: string; payloadSha256: string; }>; temporalArtifact: Readonly<{ schema: "receiz.sealed-artifact-bytes.v124"; exactBytesB64u: string; filename: string; mimeType: string; artifactSha256: string; payloadSha256: string; }>; state: Readonly<{ schema: "receiz.subject.state.v122"; subjectId: string; proofObjectId: string; admittedProofDigest: string; immutableProofVersion: string; subjectType: string; opaqueNamespaces: readonly Readonly<{ namespace: string; exactBytesB64u: string; digest: string; }>[]; genesisHead: string; head: string; ownerReceizId: string; ownershipHead: string; ownerProofDigest: string; registryDigest: string; reducerDigest: string; admissionReceipt: import("@receiz/sdk").ReceizSubjectAdmissionReceiptV122; causalParents: readonly string[]; accessKeyHead: string | null; replay: Readonly<{ appendCursor: string; eventCursor: string; }>; authority: Readonly<{ stateIsProofAuthority: false; strongerTruth: "sealed-receiz-proof-object"; }>; stateDigest: string; }>; temporalHead: string; coordinate: Readonly<{ schema: typeof import("@receiz/sdk").RECEIZ_KKS_V1_PROOF_COORDINATE_SCHEMA; kksVersion: typeof import("@receiz/sdk").RECEIZ_KKS_V1_VERSION; kaiPulse: string; kaiUpulse: string; source: import("@/packages/receiz-sdk/dist/v125KaiAuthority.js").ReceizKksV1CoordinateSource; kaiSigil: import("@receiz/sdk").ReceizKaiSigilTemporalProofV1; authority: Readonly<{ temporalAuthority: "kai-pulse-monotonic-frequency-from-genesis"; intrinsicProof: "kaisigil-blake3-poseidon-groth16"; causalOrder: "verified-previous-head-then-strictly-greater-kai-upulse"; chronosRole: "descriptive-projection-only"; createdAtAuthority: false; networkRequired: false; }>; }>; }>>; export {}; //# sourceMappingURL=deviceAiSubject.d.ts.map