@receiz/mcp-server
Version:
MCP server for agents building and verifying Receiz proof-native applications through the canonical Receiz SDK rails.
113 lines • 3.26 kB
TypeScript
import { sealReceizSourceBytes } from "./offlineSealing.js";
export declare const RECEIZ_OFFLINE_CRYSTAL_TOOLS: ({
name: string;
description: string;
inputSchema: {
type: string;
properties: {
sourceReference: {
type: string;
};
predecessorReference: {
type: string;
};
crystalReference?: undefined;
};
required: string[];
additionalProperties: boolean;
};
outputSchema: {
type: string;
properties: {
artifactReference: {
type: string;
};
artifactSha256: {
type: string;
};
suggestedFilename: {
type: string;
};
mimeType: {
type: string;
};
byteLength: {
type: string;
};
};
required: string[];
};
_meta: {
ui: {
resourceUri: string;
};
"openai/outputTemplate": string;
};
} | {
name: string;
description: string;
inputSchema: {
type: string;
properties: {
crystalReference: {
type: string;
};
sourceReference?: undefined;
predecessorReference?: undefined;
};
required: string[];
additionalProperties: boolean;
};
outputSchema?: undefined;
_meta?: undefined;
})[];
/** Safe MCP projection; no carried source bytes enter model output. */
export declare function openReceizOfflineCrystal(bytes: Uint8Array, filename: string): Promise<{
verified: true;
artifactId: string;
artifactSha256: string;
headDigest: string;
nodeCount: number;
sources: {
artifactSha256: string;
filename: string;
}[];
signer: string;
mcpAuthority: false;
strongerTruth: "sealed-receiz-proof-object";
}>;
/** Trusted-host integration seam for any intelligence runtime. Only exact
* enclosing-proof-verified sources are returned, never an MCP response. */
export declare function readVerifiedReceizOfflineCrystalSources(bytes: Uint8Array, filename: string): Promise<{
artifactId: string;
artifactSha256: string;
headDigest: string;
sources: {
exactBytes: Uint8Array<ArrayBuffer>;
artifactSha256: string;
filename: string;
}[];
}>;
export declare function appendReceizOfflineCrystal(input: {
sourceReference: string;
predecessorReference?: string;
}, options: {
workspace: string;
} & Parameters<typeof sealReceizSourceBytes>[1]): Promise<Awaited<ReturnType<typeof sealReceizSourceBytes>> & {
crystal: Awaited<ReturnType<typeof openReceizOfflineCrystal>>;
}>;
export declare function openReceizOfflineCrystalReference(reference: string, workspace: string): Promise<{
verified: true;
artifactId: string;
artifactSha256: string;
headDigest: string;
nodeCount: number;
sources: {
artifactSha256: string;
filename: string;
}[];
signer: string;
mcpAuthority: false;
strongerTruth: "sealed-receiz-proof-object";
}>;
//# sourceMappingURL=offlineCrystal.d.ts.map