Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-types / BridgeContext

Interface: BridgeContext

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:24

Context provided to the bridge at initialization time. Available synchronously via window.fireflow.context.

Properties

appId?

optional appId: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:40

App ID from manifest


executionId

executionId: string | null

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:28

Current execution ID (null if not executing)


flowId

flowId: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:26

Flow ID being executed


isExecuting

isExecuting: boolean

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:30

Whether a flow execution is active


nodeId?

optional nodeId: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:34

Node ID of the HTMLPreview port


portId?

optional portId: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:36

Port ID of the HTMLPreview port


ref?

optional ref: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:46

Branch or tag (needed for VFS reads)


userId?

optional userId: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:42

Authenticated user ID


workspaceId?

optional workspaceId: string

Defined in: packages/fireflow-types/src/miniapp/bridge.ts:44

Workspace ID (needed for VFS operations)

Licensed under BUSL-1.1