frame-contract.js 883 B

12345678910111213141516171819202122232425262728293031323334353637
  1. export const OFFICIAL_CUA_FRAME_INTEGRITY_META_KEY = "zcode.cua/official-frame-integrity-v1";
  2. export const OFFICIAL_CUA_FRAME_MODEL_CONTENT_PROTECTION = "official_cua_frame_v1";
  3. export const OFFICIAL_CUA_IMAGE_INLINE_BASE64_BYTES = 200 * 1024;
  4. export function isOfficialCuaImageRefText(_text) {
  5. return false;
  6. }
  7. export function containsOfficialCuaImageRefCredentialText(_text) {
  8. return false;
  9. }
  10. export function containsImageRefAuthority(_text) {
  11. return false;
  12. }
  13. export function parseOfficialCuaImageRef(_text) {
  14. return undefined;
  15. }
  16. export function readRasterEnvelopeIdentity(_input) {
  17. return undefined;
  18. }
  19. export async function preserveOfficialCuaFrameResult(result) {
  20. return result;
  21. }
  22. export function attestOfficialCuaFrameContent(_content, _expectedKind) {
  23. return undefined;
  24. }
  25. export function findOfficialCuaFrameContentPair(_content) {
  26. return undefined;
  27. }