@receiz/mcp-server
Version:
MCP server for agents building and verifying Receiz proof-native applications through the canonical Receiz SDK rails.
55 lines • 2.12 kB
TypeScript
export declare const RECEIZ_SEALED_OUTPUT_URI = "ui://receiz/sealed-output-v22.html";
export declare const RECEIZ_CHATGPT_FILE_ORIGINS: readonly string[];
export declare const RECEIZ_PROOF_DELIVERY_ORIGINS: readonly string[];
export declare const RECEIZ_SEALED_OUTPUT_RESOURCE: Readonly<{
uri: "ui://receiz/sealed-output-v22.html";
name: "Receiz sealed proof delivery";
description: "Component-only exact sealed artifact download after canonical device verification.";
mimeType: "text/html;profile=mcp-app";
}>;
export declare const RECEIZ_SEALED_CHUNK_SIZE: number;
type Transfer = {
reference: string;
sha256: string;
expiresAt: number;
held?: {
exactBytes: Uint8Array;
filename: string;
mimeType: string;
};
};
export declare function registerReceizSealedOutput(runtime: object, reference: string, sha256: string, exactSnapshot?: Transfer["held"]): string;
/** Exact-byte persistence beneath prior canonical admission. This composes the
* same private workspace write and digest locator used by offline sealing;
* it does not seal, parse, transform, or admit the supplied artifact. */
export declare function persistReceizSealedOutput(workspacePath: string, input: {
exactBytes: Uint8Array;
filename: string;
mimeType: string;
}): Promise<{
artifactReference: string;
artifactSha256: string;
suggestedFilename: string;
mimeType: string;
byteLength: number;
mcpAuthority: boolean;
strongerTruth: "sealed-receiz-proof-object";
}>;
/** Device-custodied exact bytes. The reference is a locator, never authority. */
export declare function readReceizSealedOutputChunk(input: unknown, workspace: string, runtime: object): Promise<{
public: {
offset: number;
nextOffset: number;
byteLength: number;
artifactSha256: string;
filename: string;
mimeType: string;
mcpAuthority: boolean;
};
private: {
bytesBase64: string;
};
}>;
export declare const RECEIZ_SEALED_OUTPUT_HTML: string;
export {};
//# sourceMappingURL=sealedArtifactOutput.d.ts.map