Skip to content

Interface: SitePage

Defined in: site-page.ts:56

One app, presented as a mountable page for a site shell.

Properties

App

App: Component

Defined in: site-page.ts:61

The page's root component — mounted per visit, disposable (a pure reader over the page's durable state, the HMR discipline reused for routing).


title

title: string

Defined in: site-page.ts:58

document.title while this page is the route.


toolsNs?

optional toolsNs?: string

Defined in: site-page.ts:71

The app's agent-toolkit namespace (its agentToolkit(ns) / scope slug). A shell that drives activate/deactivate flips this namespace's ACTIVITY bit on the page-tools registry in the same breath (__AIUI__.tools.setActive), so route-following consumers (the oracle, the linter) see only the page in view while the full inventory stays enumerable. Omit for pages with no toolkit; apps that route internally flip their kit's bit themselves.

Methods

activate()?

optional activate(): void

Defined in: site-page.ts:73

Resume continuous work (rAF loops). Called before mount; idempotent.

Returns

void


deactivate()?

optional deactivate(): void

Defined in: site-page.ts:75

Park continuous work. Called when the route leaves; idempotent.

Returns

void