@prismshadow/penguin-core/kernel · Slot<Data, Code>

Contribution Slots

45 slots

Extracted from all *Slots companion interfaces and live contributes declarations across the repository (c02bc5261).

@prismshadow/penguin-server (24)

AgentStateHistoryModule.engines

One engine: its name here, its source bound by the contributor.

@datamanifest{ name: string }
@codeAgentStateEngineSource
contributors(1)

ApiModule.agentTabs

A tab on the Agent settings page.

@datamanifest{ key: string; order: number; renderer: RendererRef }
@codedata-only (never)

ApiModule.pageRemovals

A page the web app drops, its own or a contributed one (WebPageRemovalData).

@datamanifestWebPageRemovalData
@codedata-only (never)

ApiModule.pages

A page (WebPageData says what each field means).

@datamanifestWebPageData
@codedata-only (never)

ApiModule.sessionTabs

A tab beside a Session's chat. A workbench contributes here too, from its own tree, where the host publishes this slot under this module's name and scopes the tab to its Agent.

@datamanifest{ key: string; title: string; titleZh?: string; renderer: WorkbenchTabRenderer; shortName?: string; icon?: { kind: "svg" | "png"; data: string }; }
@codedata-only (never)

CompanyCommandsModule.commands

The slot CompanyCommandsModule owns: a command's key and summary, and the code half it binds.

@datamanifestCliCommandData
@codeCliCommandCode<Messages>
contributors(1)

HttpModule.routes

A route group. auth: "user" accepts a cookie or the local API token; "token" accepts only the local API token, without renewing cookies; "none" is public. order is the mount position (a stable number, since Hono matches in order). origin: "own" says the group judges its callers' origin itself (a caller that is cross-origin by design, such as a browser extension): such groups are mounted ahead of the others and of the same-origin rule for writes, which so never runs for a request one of them answers (http/own-origin.ts). The code half is the Hono app — any copy of Hono: one built with a plugin's own copy is made to hand its errors to the App's handler (http/foreign-groups.ts).

@datamanifest{ prefix: string; auth: "user" | "token" | "none"; order: number; origin?: "own" }
@codeOpaque<"Hono", Hono<AppEnv>>

HttpModule.upgrades

A WebSocket endpoint: the upgrades whose path prefix covers (that path, or below it; :name segments match any one segment) are handed to the code half. auth: "user" has the host check the handshake's Origin and session cookie first and hand the endpoint the user; "none" hands it the bare request, and the endpoint checks the Origin and its own credential itself (http/upgrade-endpoints.ts). The runtime's own upgrades (a terminal's stream, the API socket) are never offered here.

@datamanifest{ prefix: string; auth: "none" | "user" }
@codeOpaque<"WebSocketUpgrade", WebSocketUpgrade>

LanguagesModule.grammars

One language: its metadata here, its TextMate grammar bound by the contributor.

@datamanifestLanguageContribution
@codeLanguageGrammar

MeRoutes.ownedPrefs

A ui_prefs key the contributing module owns.

@datamanifestOwnedPref
@codedata-only (never)
contributors(1)

PluginCliCommandsProvider.commands

A command: its key and summary here, its code half bound by the contributor.

@datamanifestCliCommandData
@codeCliCommandCode

PluginConfigPage.status

Live notices for a group that has any (group names it).

@datamanifest{ group: string }
@codeSettingsGroupStatus

PluginConfigProvider.groups

A settings group, as data: its id is its name, the data its configuration.

@datamanifestSettingsGroupDecl
@codedata-only (never)

PluginLibraryModule.deps

PRFC-0027 conditional or unconditional package dependencies (read statically by gen-ifaces).

@datamanifestPluginDepsContribution
@codedata-only (never)

PluginLibraryModule.features

PRFC-0027 additive/config features declared by this plugin (read statically by gen-ifaces).

@datamanifestPluginFeatureContribution
@codedata-only (never)

PluginLibraryModule.hooks

The package's hook package: its dated version, its scripts' directory, its commands.

@datamanifestHookPackageContribution
@codedata-only (never)
contributors(2)

PluginLibraryModule.mcpServers

One MCP server: the tools.mcpServers entry an install writes.

@datamanifestMcpServerContribution
@codedata-only (never)

PluginLibraryModule.workbenches

One Workbench app: its source directory.

@datamanifestWorkbenchContribution
@codedata-only (never)

ProjectsModule.appSeeds

Seeds for a system app's data, copied into a Project when it is created.

@datamanifestAppSeedData
@codedata-only (never)

SemanticIdModule.kinds

One kind of semantic id, with the ids its create route refuses.

@datamanifestSemanticIdKindData
@codeOpaque<"SemanticIdKindSource", SemanticIdKindSource>

StartPageModule.metrics

One count on the start page (StartMetricData says what each field means).

@datamanifestStartMetricData
@codedata-only (never)

SystemAppModule.apps

A system app the contributing module provides (SystemAppData says what each field means).

@datamanifestSystemAppData
@codedata-only (never)

@prismshadow/penguin-library-session (6)

ChatModule.sessionHandovers

Moves what its module keeps under a conversation's old id to its new one, in order.

@datamanifestOrdered
@codeSessionHandover
contributors(1)

DockModule.layoutListeners

Told when a dock surface's step into or out of full screen has reached the DOM.

@datamanifestOrdered
@codeDockLayoutListener
contributors(1)

DockModule.panels

A panel kind the docks offer, and its body.

@datamanifestDockPanelData
@codeDockPanel

DockModule.scopeListeners

Told of the conversation on screen, before the docks switch to it.

@datamanifestOrdered
@codeDockScopeListener
contributors(1)

SessionListModule.rowActions

An entry in a conversation row's or a Workspace group's menu, or a mark on conversation rows.

@datamanifestRowActionData
@codeRowAction

@prismshadow/penguin-cli (2)

ShippedCommandsModule.commands

The slot ShippedCommandsModule owns: a command's key and summary, and the code half it binds.

@datamanifestCliCommandData
@codeCliCommandCode

@prismshadow/penguin-library-messaging (2)

MessagingModule.connectors

A channel connector: which channel it speaks (static), and the connector (code).

@datamanifest{ channel: MessagingChannel }
@codeMessagingChannelConnector

MessagingModule.scanFlows

A channel's scan-to-connect flow: which channel it binds and the key its completed poll names the account under (static), and the flow (code). Each one gets the scan routes (scan-routes.ts) at /messaging/<channel>/scan….

@datamanifest{ channel: MessagingChannel; accountIdField: string }
@codeScanFlow

@prismshadow/penguin-library-sandbox (1)

SandboxModule.providers

A backend: its static half here (name, the dimensions it implements, and the platforms it is the default backend for, as process.platform names them), its code half bound by the contributor — a provider, or a promise of one for backends that probe. defaultFor is package metadata the plugin index repeats on the package's row (sandboxDefaultFor): the host offers the index's defaults for its platform when the sandbox is turned on with no backend, and names none of its own.

@datamanifest{ name: string; dimensions: SandboxDimension[]; defaultFor?: string[] }
@codeSandboxProviderSource

@prismshadow/penguin-web (9)

SessionsModule.userEvents

A feature's handler for the user events it claims.

@datamanifestUserEventsData
@codeUserEventHandler

SettingsModule.sections

A page of the Settings dialog, among the app's own.

@datamanifestSettingsSectionData
@codeSettingsSectionCode

WebAppModule.layers

Mounted once beside every page: overlays and headless runtimes, or over the page area.

@datamanifestLayerData
@codeComponentType

WebAppModule.serverModules

A server module the contributing web module needs: its contributions are drawn while it runs.

@datamanifestServerModuleData
@codedata-only (never)

WebAppModule.sessionProviders

Providers of the signed-in session, mounted inside Project + Sessions, outermost first.

@datamanifestOrdered
@codeComponentType<{ children: ReactNode }>

@prismshadow/penguin-library-model (1)

ToolModelBindingsProvider.bindings

A binding: its key and name here, its accepts bound by the contributor.

@datamanifestToolModelBindingData
@codeToolModelBindingCode
contributors(1)