mirror of
https://github.com/different-ai/openwork
synced 2026-04-25 17:15:34 +02:00
* feat(den): add org-managed llm provider library Let Den admins curate shared providers and models with encrypted credentials, then let the app connect through the existing add-provider flow. This keeps org-wide model access consistent without requiring per-user OAuth setup. * docs(den): prefer longer db encryption keys * fix(den): pass db encryption key through local dev --------- Co-authored-by: src-opn <src-opn@users.noreply.github.com>
22 lines
883 B
TypeScript
22 lines
883 B
TypeScript
import type { Hono } from "hono"
|
|
import type { OrgRouteVariables } from "./shared.js"
|
|
import { registerOrgCoreRoutes } from "./core.js"
|
|
import { registerOrgInvitationRoutes } from "./invitations.js"
|
|
import { registerOrgLlmProviderRoutes } from "./llm-providers.js"
|
|
import { registerOrgMemberRoutes } from "./members.js"
|
|
import { registerOrgRoleRoutes } from "./roles.js"
|
|
import { registerOrgSkillRoutes } from "./skills.js"
|
|
import { registerOrgTeamRoutes } from "./teams.js"
|
|
import { registerOrgTemplateRoutes } from "./templates.js"
|
|
|
|
export function registerOrgRoutes<T extends { Variables: OrgRouteVariables }>(app: Hono<T>) {
|
|
registerOrgCoreRoutes(app)
|
|
registerOrgInvitationRoutes(app)
|
|
registerOrgLlmProviderRoutes(app)
|
|
registerOrgMemberRoutes(app)
|
|
registerOrgRoleRoutes(app)
|
|
registerOrgSkillRoutes(app)
|
|
registerOrgTeamRoutes(app)
|
|
registerOrgTemplateRoutes(app)
|
|
}
|