Skip to content

SurfacesAPI

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

Surface contributions (fn-95).

QUIRK: the v1 RUNTIME bridge is a stub — all 3 methods reject notAvailableForJSPlugins. The manifest-tier surfaces.contribution extension-point path works end-to-end; declare contributions in plugin.json extensions[] instead.

Per-surface scopes: surfaces.contribute.{sidebar.top, sidebar.bottom, pane.dashboard, status.left}.

fn-95

contribute(contribution): Promise<string>

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

Rejects in v1 — use the manifest extensions[] path.

SurfaceContribution

Promise<string>


withdraw(handleId): Promise<void>

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

Rejects in v1.

string

Promise<void>


list(surfaceId?): Promise<SurfaceContribution[]>

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

Rejects in v1.

string

Promise<SurfaceContribution[]>