No JSDoc comment in source yet.
API
@Module({
children: [
GlobalFetch,
UpdateCheckService,
UpdateJobService,
HarnessHistoryServiceProvider,
HttpModule,
StartPageModule,
WebModule,
InstallRoutes,
HandshakeRoutes,
VersionRoutes,
HmrRoutes,
DesktopRoutes,
CommandRoutes,
DesktopUpdateRoutes,
DesktopTrayRoutes,
DesktopPrivacySettingsRoutes,
DesktopWindowRoutes,
PluginRoutes,
PluginRegistryRoutes,
NpmPluginPackages,
InstalledPluginRoutes,
AdminPluginRoutes,
PluginCliCommandsProvider,
PluginMarketRoutes,
SemanticIdModule,
SuggestIdRoutes,
LanguagesModule,
LanguageRoutes,
],
exports: [Http, WebShell, UpdateCheck],
})
export class ApiModule {}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)
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)
StartPageModule
No JSDoc comment in source.
View module → (packages/server/src/http/routes/start-page.ts:25)
WebModule
No JSDoc comment in source.
View module → (packages/server/src/http/routes/contributions.ts:80)
web.contributionsInstallRoutes
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)
InstallRoutes.routesHandshakeRoutes
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)
HandshakeRoutes.routesVersionRoutes
No JSDoc comment in source.
View component → (packages/server/src/services/update-check-service.ts:165)
VersionModule.routesHmrRoutes
No JSDoc comment in source.
View component → (packages/server/src/hmr/routes.ts:117)
HmrRoutes.routesDesktopRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/desktop.ts:230)
DesktopRoutes.routesCommandRoutes
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)
CommandRoutes.routesDesktopUpdateRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/desktop.ts:245)
DesktopUpdateRoutes.routesDesktopTrayRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/desktop.ts:260)
DesktopTrayRoutes.routesDesktopPrivacySettingsRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/desktop.ts:275)
DesktopPrivacySettingsRoutes.routesDesktopWindowRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/desktop.ts:295)
DesktopWindowRoutes.routesPluginRoutes
The plugin library and the Agent-scoped install/uninstall groups, as one route component.
View component → (packages/server/src/http/routes/plugins.ts:382)
PluginRoutes.library PluginRoutes.agent-plugins PluginRoutes.agent-hooks PluginRoutes.agent-mcp-serversPluginRegistryRoutes
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)
PluginRegistryRoutes.routesNpmPluginPackages
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)
Config Hmr IndexSources Reassembly ProjectConfigStore Access Machines Db PluginPackages PluginModulesInstalledPluginRoutes.routesAdminPluginRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/admin-plugins.ts:61)
Config Hmr Db Log Reassembly ProjectConfigStore AgentConfig PluginLibrary Workbenches ManagerIface PluginPackagesAdminPluginRoutes.routesPluginCliCommandsProvider
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)
PluginCliCommandsProvider.routesPluginMarketRoutes
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)
PluginMarketRoutes.routesSemanticIdModule
No JSDoc comment in source.
View module → (packages/server/src/services/semantic-id-kinds.ts:58)
SuggestIdRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/suggest-id.ts:127)
Access ProjectLifecycle ProjectConfigStore AgentLifecycle SemanticIdKinds OrgService Settings Errors LogSuggestIdRoutes.routesLanguagesModule
No JSDoc comment in source.
View module → (packages/server/src/languages/service.ts:72)
LanguageRoutes
The languages listing and grammars: deployment-global, like the plugin index.
View component → (packages/server/src/http/routes/languages.ts:40)
LanguageRoutes.routesExports (3)
Http · WebShell · UpdateCheck