Company mode: the organization runtime, its routes and the caches they project into. The caches are the group's own store — only the four members the session runtime and Project deletion reach for leave the group, as OrgCache.
API
@Module({
children: [OrgCacheRepo, OrganizationModule, OrgRoutes],
exports: [OrgCache, OrgService, OrgScheduler],
})
export class CompanyModule {}Children (3)
OrgCacheRepo
No JSDoc comment in source.
View component → (library/organization/src/organizations.ts:107)
OrganizationModule
Company mode's runtime, assembled over the same narrow seams the schedule scheduler uses: the session manager for run state and task start, SessionService for sessions, AgentService and AgentConfigService for hiring, UsageService for spend. The scheduler is started by the platform's Startup component (one reconcile pass, no backfill) and stopped with this App, like every other timer in the tree.
View module → (packages/server/src/runtime/organization/service.ts:3236)
OrgRoutes
No JSDoc comment in source.
View component → (packages/server/src/http/routes/organizations.ts:1018)
OrgService ProjectLifecycle Settings AgentConfig AgentLifecycle Sessions Workbenches UserDraftsStore SessionIndex TraceIndex Schedules ErrorLog AgentApiOrgRoutes.routes