MCPcopy Index your code
hub / github.com/codeaashu/claude-code / parseAndValidateManifestFromBytes

Function parseAndValidateManifestFromBytes

src/utils/dxt/helpers.ts:56–61  ·  view source on GitHub ↗
(
  manifestData: Uint8Array,
)

Source from the content-addressed store, hash-verified

54 * Parses and validates a DXT manifest from raw binary data.
55 */
56export async function parseAndValidateManifestFromBytes(
57 manifestData: Uint8Array,
58): Promise<McpbManifest> {
59 const manifestText = new TextDecoder().decode(manifestData)
60 return parseAndValidateManifestFromText(manifestText)
61}
62
63/**
64 * Generates an extension ID from author name and extension name.

Callers 1

loadMcpbFileFunction · 0.85

Calls 2

decodeMethod · 0.80

Tested by

no test coverage detected