@prismshadow/penguin-server · packages/server/src/platform.ts:553 · Child of PlatformModule

ApiModule

module

No JSDoc comment in source yet.

Children (28)

GlobalFetch

No JSDoc comment in source.

View component → (packages/server/src/services/update-check-service.ts:55)

UpdateCheckService

No JSDoc comment in source.

View component → (packages/server/src/services/update-check-service.ts:62)

@UserequiresHttpFetch Clock

UpdateJobService

No JSDoc comment in source.

View component → (packages/server/src/services/update-job.ts:157)

HarnessHistoryServiceProvider

The harness-history assembly: binds the store's ports to the server's capabilities.

View module → (packages/server/src/services/harness-history.ts:36)

HttpModule

The platform's whole HTTP surface, assembled from HttpModule.routes contributions: every module that serves requests contributes its groups here as data (prefix, auth, order) and binds the Hono app by id. Adding an endpoint is adding a line to a manifest.

View module → (packages/server/src/http/app.ts:107)

@ProvideprovidesHttp

StartPageModule

No JSDoc comment in source.

View module → (packages/server/src/http/routes/start-page.ts:25)

@ProvideprovidesStartPage

WebModule

No JSDoc comment in source.

View module → (packages/server/src/http/routes/contributions.ts:80)

@UserequiresHmr StartPage
@ProvideprovidesWebShell
@Bindslotweb.contributions
@contributesslotsHttpModule.routes

InstallRoutes

The data root's install identity, public (auth: none): the web app compares it against localStorage before React mounts, before anyone is signed in. Mounted in the PLATFORM because a push carries platform + web dist together, so the route and its caller move as one.

View component → (packages/server/src/http/routes/install.ts:51)

@UserequiresConfig
@BindslotInstallRoutes.routes
@contributesslotsHttpModule.routes

HandshakeRoutes

The route group as a module component: mounted by the platform's ApiModule beside the version routes it shares a door with (src/platform.ts), at /api/handshake.

View component → (packages/server/src/http/routes/handshake.ts:47)

@UserequiresPaths Hmr
@BindslotHandshakeRoutes.routes
@contributesslotsHttpModule.routes

VersionRoutes

No JSDoc comment in source.

View component → (packages/server/src/services/update-check-service.ts:165)

@BindslotVersionModule.routes
@contributesslotsHttpModule.routes

HmrRoutes

No JSDoc comment in source.

View component → (packages/server/src/hmr/routes.ts:117)

@BindslotHmrRoutes.routes
@contributesslotsHttpModule.routes

DesktopRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/desktop.ts:230)

@UserequiresDesktop
@BindslotDesktopRoutes.routes
@contributesslotsHttpModule.routes

CommandRoutes

The platform's own copy is the one that serves. The runtime no longer mounts these routes itself — it publishes the shell's port as platform.shellFrames, and a platform too old to take the /api/command prefix simply has no host-command route at all.

View component → (packages/server/src/http/routes/command.ts:94)

@UserequiresDesktop
@BindslotCommandRoutes.routes
@contributesslotsHttpModule.routes

DesktopUpdateRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/desktop.ts:245)

@UserequiresDesktop
@BindslotDesktopUpdateRoutes.routes
@contributesslotsHttpModule.routes

DesktopTrayRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/desktop.ts:260)

@UserequiresDesktop
@BindslotDesktopTrayRoutes.routes
@contributesslotsHttpModule.routes

DesktopPrivacySettingsRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/desktop.ts:275)

@UserequiresDesktop
@BindslotDesktopPrivacySettingsRoutes.routes
@contributesslotsHttpModule.routes

DesktopWindowRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/desktop.ts:295)

@UserequiresDesktop
@BindslotDesktopWindowRoutes.routes
@contributesslotsHttpModule.routes

PluginRoutes

The plugin library and the Agent-scoped install/uninstall groups, as one route component.

View component → (packages/server/src/http/routes/plugins.ts:382)

@BindslotPluginRoutes.library PluginRoutes.agent-plugins PluginRoutes.agent-hooks PluginRoutes.agent-mcp-servers
@contributesslotsHttpModule.routes

PluginRegistryRoutes

The index the Plugins page reads: deployment-global, like the skill library. The published document rides the swap: the successor's cache starts from what the last App fetched, so a refresh that fails right after a push still lists what was known instead of reporting the source unreachable.

View component → (packages/server/src/http/routes/plugins.ts:785)

@UserequiresConfig Hmr IndexSources
@BindslotPluginRegistryRoutes.routes
@contributesslotsHttpModule.routes

NpmPluginPackages

No JSDoc comment in source.

View component → (packages/server/src/plugin/packages.ts:56)

InstalledPluginRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/plugins-installed.ts:1125)

@BindslotInstalledPluginRoutes.routes
@contributesslotsHttpModule.routes

AdminPluginRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/admin-plugins.ts:61)

@BindslotAdminPluginRoutes.routes
@contributesslotsHttpModule.routes

PluginCliCommandsProvider

Owns the slot; serves it at /api/cli/commands. The contributions are read off the slot at boot; each call attributes them to the packages of the plugin host as it is then.

View module → (packages/server/src/plugin/cli-commands.ts:494)

@ProvideprovidesPluginCliCommands
@BindslotPluginCliCommandsProvider.routes
@contributesslotsHttpModule.routes

PluginMarketRoutes

The market's routes, deployment-global like the plugin index. The published document rides a hot push the way the index does: the successor starts from what the last App fetched, so a refresh that fails right after the push still answers with it.

View component → (packages/server/src/http/routes/plugin-market.ts:125)

@UserequiresConfig Log Hmr
@BindslotPluginMarketRoutes.routes
@contributesslotsHttpModule.routes

SemanticIdModule

No JSDoc comment in source.

View module → (packages/server/src/services/semantic-id-kinds.ts:58)

@UserequiresLog
@ProvideprovidesSemanticIdKinds

SuggestIdRoutes

No JSDoc comment in source.

View component → (packages/server/src/http/routes/suggest-id.ts:127)

@BindslotSuggestIdRoutes.routes
@contributesslotsHttpModule.routes

LanguagesModule

No JSDoc comment in source.

View module → (packages/server/src/languages/service.ts:72)

@ProvideprovidesLanguages

LanguageRoutes

The languages listing and grammars: deployment-global, like the plugin index.

View component → (packages/server/src/http/routes/languages.ts:40)

@UserequiresLanguages
@BindslotLanguageRoutes.routes
@contributesslotsHttpModule.routes

Exports (3)

Http · WebShell · UpdateCheck