Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/connorhpbrn/creed
/ functions
Functions
1,383 in github.com/connorhpbrn/creed
⨍
Functions
1,383
◇
Types & classes
107
↓ 296 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 72 callers
Function
getSupabaseAdminClient
()
lib/supabase/admin.ts:10
↓ 65 callers
Function
stringArg
(args: Record<string, unknown>, key: string)
app/mcp/route.ts:557
↓ 48 callers
Function
requireApiAuth
()
lib/api-auth.ts:10
↓ 34 callers
Function
getCreedRole
( client: unknown, userId: string, creedId: string )
lib/creed-membership.ts:103
↓ 30 callers
Function
nextMutationTick
(state: CreedState)
components/creed/creed-provider.tsx:112
↓ 28 callers
Function
validateAgentActions
( raw: unknown, known: { sectionIds: ReadonlySet<string>; archivedIds: ReadonlySet<string> } )
lib/panel/agent.ts:124
↓ 27 callers
Function
act
(over: Record<string, string>)
tests/panel-agent.test.ts:26
↓ 26 callers
Function
assertNoError
(error: { message: string } | null, fallback: string)
lib/creed-backend.ts:203
↓ 24 callers
Function
commitState
(updater: (current: CreedState) => CreedState)
components/creed/creed-provider.tsx:429
↓ 24 callers
Function
getSiteUrl
()
lib/supabase/env.ts:25
↓ 23 callers
Function
recordAuditEvent
(input: AuditLogInput)
lib/audit-log.ts:53
↓ 22 callers
Function
jsonToolResult
(value: unknown)
app/mcp/route.ts:471
↓ 22 callers
Function
useAnimatedIconControls
( hoverDelay = 120, persistKey?: string, animationDuration = 1600 )
components/creed/animated-icon-controls.ts:12
↓ 20 callers
Function
createSupabaseServerClient
()
lib/supabase/server.ts:9
↓ 18 callers
Function
isSupabaseConfigured
()
lib/supabase/env.ts:17
↓ 17 callers
Function
isAccentKey
(value: unknown)
lib/creed-data.ts:54
↓ 17 callers
Function
stringField
(key: string)
lib/creed-data.ts:401
↓ 16 callers
Function
deriveCompanyAccessState
( status: string | null | undefined, )
lib/creed-permissions.ts:177
↓ 15 callers
Function
admin
()
lib/company-sections.ts:63
↓ 15 callers
Function
getProposalPreviewText
(draft: ProposalDraft)
lib/creed-data.ts:1995
↓ 15 callers
Function
normalizeLegacyProposalDraft
( draft: ProposalDraft | { kind?: string }, )
lib/creed-data.ts:389
↓ 15 callers
Function
resolveSectionOrThrow
(state: CreedState, sectionId: string)
app/mcp/route.ts:1212
↓ 15 callers
Function
richTextContentEquivalent
(a: string, b: string)
lib/rich-text.ts:258
↓ 14 callers
Function
getAgentIconKind
(value?: string | null)
lib/agent-icon.ts:25
↓ 14 callers
Function
getStripeClient
()
lib/stripe.ts:36
↓ 14 callers
Function
microToUsd
(micro: number)
lib/ai/credits.ts:99
↓ 14 callers
Function
normalizeLegacySectionId
(sectionId: string)
lib/creed-data.ts:371
↓ 14 callers
Function
post
( url: string, body: unknown, method: "POST" | "DELETE" | "PUT" = "POST", )
components/creed/company-settings.tsx:552
↓ 14 callers
Function
validatePanelActions
( raw: unknown, known: { sectionIds: ReadonlySet<string>; proposalIds: ReadonlySet<string> } )
lib/panel/actions.ts:103
↓ 13 callers
Function
note
(title: string, detail: string)
components/marketing/creed-app-demo.tsx:227
↓ 13 callers
Function
resolveSectionPermission
( role: CreedRole, override: AgentPermission | null | undefined, )
lib/creed-permissions.ts:76
↓ 12 callers
Function
action
(kind: string, target = "", value = "")
tests/panel-actions.test.ts:14
↓ 12 callers
Function
emit
()
lib/panel/agent-runner.ts:52
↓ 12 callers
Function
encryptSecret
(value: string)
lib/secret-crypto.ts:21
↓ 12 callers
Function
exportMarkdown
()
components/creed/creed-provider.tsx:1882
↓ 12 callers
Function
groupTasksIntoColumns
(rawTasks: unknown)
lib/marketing/roadmap.ts:103
↓ 12 callers
Function
hashSecret
(value: string)
lib/secret-crypto.ts:17
↓ 12 callers
Function
useCreed
()
components/creed/creed-provider.tsx:1984
↓ 11 callers
Function
callInternalCreedRoute
( _request: Request, path: string, writeToken: string, body: Record<string, unknown> )
app/mcp/route.ts:665
↓ 11 callers
Function
close
()
components/creed/mention-input.tsx:326
↓ 11 callers
Function
getSupabaseBrowserClient
()
lib/supabase/browser.ts:14
↓ 11 callers
Function
markdownToRichHtml
(markdown: string)
lib/rich-text.ts:91
↓ 11 callers
Function
resolveActiveCreed
( client: unknown, user: User )
lib/creed-context.ts:39
↓ 11 callers
Function
send
(event: AgentStreamEvent)
app/api/app/ai/agent/route.ts:125
↓ 10 callers
Function
admin
()
lib/company-invites.ts:37
↓ 10 callers
Function
applyReorderDraft
( sections: T[], sectionId: string, draft: { afterSectionId?: string; position?: "first" | "last" }, )
lib/creed-data.ts:2090
↓ 10 callers
Function
computeDiffParts
(existing: string, proposed: string)
components/creed/inline-proposal-diff.tsx:136
↓ 10 callers
Function
escapeHtml
(value: string)
lib/rich-text.ts:3
↓ 10 callers
Function
flushList
()
lib/rich-text.ts:108
↓ 10 callers
Function
getCompanyBilling
(creedId: string)
lib/company-billing.ts:536
↓ 10 callers
Function
getPersonalCreedId
( client: unknown, userId: string )
lib/creed-membership.ts:120
↓ 10 callers
Function
isSupabaseAdminConfigured
()
lib/supabase/env.ts:21
↓ 10 callers
Function
oauthError
(error: string, status = 400, description?: string)
app/token/route.ts:33
↓ 10 callers
Function
summarizeDiff
( parts: ReturnType<typeof computeDiffParts>, )
components/creed/inline-proposal-diff.tsx:142
↓ 9 callers
Function
admin
()
lib/company-admin.ts:20
↓ 9 callers
Function
flushParagraph
()
lib/rich-text.ts:101
↓ 9 callers
Function
flushQuote
()
lib/rich-text.ts:122
↓ 9 callers
Function
isChargeFullyRefunded
(charge: { refunded?: boolean | null; amount?: number | null; amount_refunded?: number | null; })
lib/stripe-refund.ts:12
↓ 9 callers
Function
minPermission
( a: AgentPermission, b: AgentPermission, )
lib/creed-permissions.ts:164
↓ 9 callers
Function
stripTags
(value: string)
lib/creed-data.ts:1355
↓ 9 callers
Function
writeActivity
(params: { creedId: string; sectionId: string | null; sectionName: string | null; accent: string | nul
lib/company-sections.ts:208
↓ 8 callers
Function
adminDb
()
lib/oauth.ts:18
↓ 8 callers
Function
base
()
lib/seo/structured-data.ts:20
↓ 8 callers
Function
buildActivityEntry
( proposal: Proposal, state: CreedState, status: "accepted" | "rejected" | "stale", )
components/creed/creed-provider.tsx:212
↓ 8 callers
Function
getMetaProposalDiffText
( draft: ProposalDraft, section?: { name?: string; accent?: AccentKey } | null, )
lib/creed-data.ts:2041
↓ 8 callers
Function
listUserCreeds
( client: unknown, userId: string )
lib/creed-membership.ts:49
↓ 8 callers
Function
name
(id: string)
lib/panel/agent-execute.ts:399
↓ 8 callers
Function
normalizeStringArray
(value: unknown, fallback: string[])
lib/ai/quality.ts:211
↓ 7 callers
Function
assertDirectAllowed
(section: CreedSection)
app/api/creed/write/route.ts:34
↓ 7 callers
Function
checkRateLimit
({ scope, identifier, limit, windowMs, }: RateLimitOptions)
lib/rate-limit.ts:39
↓ 7 callers
Function
companyAccess
( creedId: string, )
lib/company-sections.ts:67
↓ 7 callers
Function
ctaClass
( style: "solid" | "outline", tone: "blue" | "amber" = "blue", )
components/marketing/pricing-page-view.tsx:736
↓ 7 callers
Function
getAvatarInitials
(name: string)
lib/creed-backend.ts:551
↓ 7 callers
Function
notFound
(reason = "Couldn't find that section anymore.")
lib/panel/agent-execute.ts:339
↓ 7 callers
Function
permissionToWritable
(permission: AgentPermission)
lib/creed-data.ts:75
↓ 7 callers
Function
persistCreedState
( client: unknown, userId: string, state: CreedState, )
lib/creed-backend.ts:1811
↓ 7 callers
Function
raw
(o: Record<string, unknown>)
tests/company-proposal-drafts.test.ts:15
↓ 7 callers
Function
readJson
(url: string)
components/creed/settings-preload.ts:123
↓ 7 callers
Function
requireAuthenticatedUser
()
lib/github-version-control.ts:178
↓ 7 callers
Function
responseFor
(id: JsonRpcRequest["id"], result: unknown)
app/mcp/route.ts:475
↓ 7 callers
Function
roundtripContent
(content: string)
tests/github-roundtrip.test.ts:30
↓ 6 callers
Function
actorLabel
(actor: AttributionActor)
lib/creed-attribution.ts:40
↓ 6 callers
Function
backToSettings
( origin: string, param: "github" | "teamGithub", reason: string )
app/auth/github/callback/route.ts:24
↓ 6 callers
Function
bulletList
(items: string[])
components/marketing/creed-app-demo.tsx:72
↓ 6 callers
Function
bulletList
(items: string[])
lib/onboarding/compile-company.ts:110
↓ 6 callers
Function
byId
(id: string)
lib/panel/agent-execute.ts:124
↓ 6 callers
Function
canApproveProposal
( role: CreedRole, sectionPermission: AgentPermission, )
lib/creed-permissions.ts:104
↓ 6 callers
Function
canProposeToSection
(permission: AgentPermission)
lib/creed-permissions.ts:95
↓ 6 callers
Function
createBlankCreedState
( user: User, tokenRow?: Pick< TokenRow, "read_token" | "proposal_token" | "direct_edit_token" | "
lib/creed-backend.ts:1108
↓ 6 callers
Function
decryptSecret
(value: string, label = "secret")
lib/secret-crypto.ts:30
↓ 6 callers
Function
emit
()
lib/ai/quality-runner.ts:90
↓ 6 callers
Function
escapeHtml
(value: string)
app/api/creed/write/route.ts:140
↓ 6 callers
Function
frozenResult
(creedId: string)
lib/company-admin.ts:28
↓ 6 callers
Function
generateToken
(prefix: "xt_read" | "xt_proposal" | "xt_direct")
lib/creed-backend.ts:565
↓ 6 callers
Function
getSupabaseUrl
()
lib/supabase/env.ts:1
↓ 6 callers
Function
hasActiveEntitlement
( client: unknown, userId: string )
lib/stripe.ts:312
↓ 6 callers
Function
isBoundedString
(value: unknown, max = MAX_STRING)
lib/validation/creed-state.ts:13
↓ 6 callers
Function
normalizeLegacyAccent
( accent: AccentKey | "conventions", )
lib/creed-data.ts:377
↓ 6 callers
Function
qualitySection
( sectionId: string, sectionName: string, score: number, tags: string[], strength: { title: string;
components/marketing/creed-app-demo.tsx:231
next →
1–100 of 1,383, ranked by callers