Skip to content

BundlesAPI

Defined in: namespaces-core-plugins.ts:381

ContextBundle composition (fn-92).

QUIRK: context.bundles is the fn-92 ContextBundle namespace — DISTINCT from context.clipboard.bundles (fn-91 clipboard bundles).

fn-92

compose(spec): Promise<ComposedContextBundle>

Defined in: namespaces-core-plugins.ts:383

Composes a frozen bundle. [context.compose]

AnyJSONValue

Promise<ComposedContextBundle>


get(bundleId, opts?): Promise<ComposedContextBundle | null>

Defined in: namespaces-core-plugins.ts:385

Gets an owned bundle (owner-only; cross-plugin reads return null).

string

AnyJSONValue

Promise<ComposedContextBundle | null>


hash(bundle): Promise<string>

Defined in: namespaces-core-plugins.ts:387

Computes the deterministic bundle hash.

AnyJSONValue

Promise<string>


elevate(spec): Promise<ElevationTicket>

Defined in: namespaces-core-plugins.ts:389

Mints an elevation ticket for elevated resources (e.g., vault://).

AnyJSONValue

Promise<ElevationTicket>


readBlob(refId, opts?): Promise<{ dataBase64: string; } | null>

Defined in: namespaces-core-plugins.ts:391

Reads a blob referenced by a bundle.

string

AnyJSONValue

Promise<{ dataBase64: string; } | null>