Shoalrun documentation frameworkMenu
For agents
Start with https://www.shoalrun.com/llms.txt for the documentation index, then read the Markdown pages it links. Skip to article. Documentation index. Read this page as Markdown.
Code API reference

openManifestContentSource

Open and validate one immutable static manifest revision. The caller owns trust in the compiler output and host. Browser URLs must use the application's origin. Requests reject redirects and unexpected content types.

Updated
Read as Markdown

Function shoalrun.content.openManifestContentSource

openManifestContentSource(options: ManifestContentSourceOptions): Promise<ContentSnapshot>

Open and validate one immutable static manifest revision. The caller owns trust in the compiler output and host. Browser URLs must use the application's origin. Requests reject redirects and unexpected content types.

Parameters

Parameter Type / default Description
options ManifestContentSourceOptions Manifest URL, request implementation, cancellation, and limits.

Returns

Promise<ContentSnapshot>

A revision-pinned snapshot for listing and reading exported resources.

Examples

const snapshot = await openManifestContentSource({ manifestUrl: '/help/manifest.json' });
const page = await snapshot.get({ kind: 'page', documentId: 'guide.start' }, { format: 'markdown' });
snapshot.dispose();