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
↓ 6 callers
Function
resolveManagedCompanyCreedId
( client: unknown, user: User )
lib/creed-context.ts:80
↓ 6 callers
Function
resolveOwnedCompanyCreedId
( client: unknown, user: User )
lib/creed-context.ts:65
↓ 6 callers
Function
runCompanyWrite
( state: CreedState, user: User, agentName: string, op: CompanyMcpOp )
app/mcp/route.ts:1462
↓ 6 callers
Function
section
( id: string, name: string, accent: AccentKey, template: CreedSection["template"], content: string,
components/marketing/creed-app-demo.tsx:99
↓ 6 callers
Function
sectionToMarkdown
(section: CreedSection)
lib/creed-data.ts:1231
↓ 6 callers
Function
toRelativeTime
(timestamp?: string | null)
lib/creed-backend.ts:225
↓ 6 callers
Function
tokenFields
(token: string)
lib/creed-backend.ts:569
↓ 5 callers
Function
actorName
(user: User)
lib/company-admin.ts:40
↓ 5 callers
Function
applyDraft
* Apply a draft to the canonical section rows and record a version. Shared by * the direct-write path (companyMcpWrite / updateCompanySection) and pr
lib/company-sections.ts:378
↓ 5 callers
Function
assertNoError
(error: { message: string } | null, fallback: string)
lib/ai/persistence.ts:62
↓ 5 callers
Function
buildCompanyOnboardingSections
( state: CompanyOnboardingState )
lib/onboarding/compile-company.ts:154
↓ 5 callers
Function
cancelClose
()
components/creed/review-pill.tsx:110
↓ 5 callers
Function
clearHighlights
()
components/creed/find-replace.tsx:145
↓ 5 callers
Function
describeActor
* Resolve the attribution for a write. A non-null `agentName` marks an agent * action; otherwise it is a human action. Mirrors lib/creed-attribution
lib/company-sections.ts:101
↓ 5 callers
Function
draftContentHtml
(source: Record<string, unknown>)
app/mcp/route.ts:1487
↓ 5 callers
Function
effectiveAgentPermission
( memberPermission: AgentPermission, agentMode: McpAgentMode, )
lib/creed-permissions.ts:149
↓ 5 callers
Function
errorFor
(id: JsonRpcRequest["id"], code: number, message: string)
app/mcp/route.ts:483
↓ 5 callers
Function
escapeHtml
(value: string)
lib/creed-data.ts:572
↓ 5 callers
Function
getConfiguredRepo
(versionControl?: { repo_owner?: string | null; repo_name?: string | null; branch?: string | null; pat
lib/github-version-control.ts:195
↓ 5 callers
Function
getGitHubFileSnapshot
( accessToken: string, owner: string, repo: string, path: string, branch: string )
lib/github.ts:233
↓ 5 callers
Function
getUserName
(user: User)
lib/creed-backend.ts:273
↓ 5 callers
Function
inline
(text: string)
lib/rich-text.ts:77
↓ 5 callers
Function
isPlainObject
(value: unknown)
lib/validation/creed-state.ts:7
↓ 5 callers
Function
makeSection
( partial: Pick<CreedSection, "id" | "name" | "accent" | "content"> & { template?: CreedSection["templat
lib/onboarding/compile.ts:95
↓ 5 callers
Function
memberName
(user: User)
lib/company-sections.ts:74
↓ 5 callers
Function
normalizeProposalForSection
( proposal: Proposal, _section?: CreedSection, )
lib/creed-data.ts:561
↓ 5 callers
Function
normalizeRichTextInput
(input: { contentHtml?: string; contentMarkdown?: string })
lib/rich-text.ts:262
↓ 5 callers
Function
normalizeWhitespace
(value: string)
lib/onboarding/compile-company.ts:48
↓ 5 callers
Function
parseCreedMarkdown
(markdown: string)
lib/creed-markdown.ts:155
↓ 5 callers
Function
personalCreedId
(userId: string)
lib/ai/credits.ts:246
↓ 5 callers
Function
qualityFingerprint
(value: unknown)
components/creed/file-screen.tsx:158
↓ 5 callers
Function
rankMentionSections
( sections: readonly T[], query: string )
lib/panel/mentions.ts:18
↓ 5 callers
Function
rejectProposal
(proposalId: string)
components/creed/creed-provider.tsx:1622
↓ 5 callers
Function
resolveSecret
(encrypted?: string | null, label = "secret")
lib/creed-backend.ts:588
↓ 5 callers
Function
set
(key: keyof CompanyOnboardingState, value: string)
components/creed/company-onboarding-screen.tsx:93
↓ 5 callers
Function
setFileIntent
( intent: | { type: "section"; sectionId: string } | { type: "compose" } | { type: "prop
components/creed/shell.tsx:287
↓ 5 callers
Function
uniqueLocalId
(prefix: string)
components/creed/creed-provider.tsx:198
↓ 5 callers
Function
updateSectionMeta
( section: CreedSection, actor: string, type: "user" | "agent", )
components/creed/creed-provider.tsx:119
↓ 5 callers
Function
withAuthenticatedGitHubAccess
( operation: ( context: Awaited<ReturnType<typeof requireAuthenticatedGitHubAccess>> ) => Promise<T> )
lib/github-version-control.ts:148
↓ 4 callers
Function
acceptProposal
(proposalId: string)
components/creed/creed-provider.tsx:1326
↓ 4 callers
Function
activity
( creedId: string, user: User, summary: string, eventKind: string, )
lib/company-admin.ts:50
↓ 4 callers
Function
admin
()
lib/company-github.ts:37
↓ 4 callers
Function
apply
(theme: Theme)
components/creed/theme-provider.tsx:23
↓ 4 callers
Function
buildMcpUrl
()
lib/creed-backend.ts:630
↓ 4 callers
Function
buildVisibleCreedMarkdown
(sections: CreedSection[])
lib/creed-data.ts:1370
↓ 4 callers
Function
bumpSectionRevisionMap
( revisions: CreedState["sectionRevisions"], sectionId: string, )
components/creed/creed-provider.tsx:321
↓ 4 callers
Function
canManageSectionsLifecycle
(role: CreedRole)
lib/creed-permissions.ts:118
↓ 4 callers
Function
canRunAnalysis
(role: CreedRole)
lib/creed-permissions.ts:123
↓ 4 callers
Function
clampScore
(value: unknown)
lib/ai/quality.ts:135
↓ 4 callers
Function
clearAgentRun
()
lib/panel/agent-runner.ts:86
↓ 4 callers
Function
clip
(text: string, max: number)
lib/panel/actions.ts:166
↓ 4 callers
Function
deriveLegacyNote
(items: string[] | undefined, fallbackTitle: string)
lib/ai/quality.ts:268
↓ 4 callers
Function
downloadFile
(filename: string, content: string, type: string)
components/creed/panel.tsx:227
↓ 4 callers
Function
failed
()
lib/panel/agent-execute.ts:342
↓ 4 callers
Function
fileProposal
(params: { sectionId: string; sectionName: string; accent: AccentKey; draft: ProposalDraft;
lib/panel/agent-execute.ts:127
↓ 4 callers
Function
generateOpaqueToken
(prefix: string)
lib/oauth.ts:78
↓ 4 callers
Function
getAvatarUrl
(user: User)
lib/creed-backend.ts:284
↓ 4 callers
Function
getGitHubOAuthAppCredentials
()
lib/github.ts:85
↓ 4 callers
Function
getOAuthClient
(clientId: string)
lib/oauth.ts:158
↓ 4 callers
Function
getSupabasePublishableKey
()
lib/supabase/env.ts:5
↓ 4 callers
Function
htmlToText
(value: string)
components/creed/inline-proposal-diff.tsx:86
↓ 4 callers
Function
inferAgentIconKind
(agentName?: string | null)
lib/creed-backend.ts:655
↓ 4 callers
Function
isSupabaseTableMissingError
(error: unknown)
lib/creed-backend-errors.ts:1
↓ 4 callers
Function
loadActiveCreedState
( client: unknown, user: User, active: { creedId: string; role: CreedRole; creeds: CreedSwit
lib/creed-backend.ts:1388
↓ 4 callers
Function
normalizeHtmlWhitespace
(html: string)
lib/rich-text.ts:244
↓ 4 callers
Function
normalizeNote
(value: unknown, fallbackTitle?: string)
lib/ai/quality.ts:239
↓ 4 callers
Function
normalizeWhitespace
(value: string)
lib/onboarding/compile.ts:34
↓ 4 callers
Function
push
(entry: Omit<ActivityEntry, "dayLabel" | "timeLabel" | "actorType">)
lib/panel/agent-execute.ts:369
↓ 4 callers
Function
readAiSettings
(client: unknown, userId: string)
lib/ai/persistence.ts:78
↓ 4 callers
Function
recordConnectionUsage
( client: unknown, userId: string, integrationId?: string | null, agentName?: string | null, observe
lib/creed-backend.ts:2068
↓ 4 callers
Function
recordOutcome
(next: Omit<QualityOutcome, "id">)
lib/ai/quality-runner.ts:71
↓ 4 callers
Function
redactError
(error: unknown)
app/api/health/route.ts:212
↓ 4 callers
Function
renderInline
(text: string, anim: Anim)
components/creed/rich-answer.tsx:77
↓ 4 callers
Function
resolveMemberCompanyCreed
( client: unknown, user: User )
lib/creed-context.ts:99
↓ 4 callers
Function
resolveMemberCompanyCreedById
( client: unknown, user: User, creedId: string )
lib/creed-context.ts:117
↓ 4 callers
Function
resolveSeatPriceId
(cadence: PurchaseCadence)
lib/stripe.ts:139
↓ 4 callers
Function
runSectionMutation
( request: Request, state: CreedState, kind: MutationKind, section: CreedSection, payload: { con
app/mcp/route.ts:1562
↓ 4 callers
Function
sectionAccent
(accent: string)
components/creed/company-settings.tsx:79
↓ 4 callers
Function
sectionUseDirectEdit
(section: CreedSection)
app/mcp/route.ts:1447
↓ 4 callers
Function
stamp
(section: CreedSection)
lib/panel/agent-execute.ts:79
↓ 4 callers
Function
start
(controller)
app/api/app/ai/agent/route.ts:124
↓ 4 callers
Function
toListItems
(value: string, limit: number)
lib/onboarding/compile-company.ts:80
↓ 4 callers
Function
toRuleLines
(value: string, limit: number)
lib/onboarding/compile-company.ts:93
↓ 4 callers
Function
upsertGitHubIntegration
( client: unknown, userId: string, input: { status?: "connected" | "not-connected" | "disconnected";
lib/creed-backend.ts:455
↓ 4 callers
Function
useLandingAuthState
(configured: boolean = true)
components/marketing/use-landing-auth-state.ts:17
↓ 4 callers
Function
withCompanyGitHubAccess
( creedId: string, operation: (accessToken: string) => Promise<T> )
lib/company-github.ts:213
↓ 3 callers
Function
applySectionPatch
(section: CreedSection, patch: DirectSectionPatch, agentName: string)
app/api/creed/write/route.ts:198
↓ 3 callers
Function
assertNoError
(error: { message: string } | null, fallback: string)
lib/ai/quality.ts:113
↓ 3 callers
Function
backToSettings
( origin: string, param: "github" | "teamGithub", reason: string )
app/api/app/github/authorize/route.ts:23
↓ 3 callers
Function
badRequest
(message: string)
app/authorize/decision/route.ts:20
↓ 3 callers
Function
buildConnectionDefinitions
()
lib/creed-backend.ts:702
↓ 3 callers
Function
callOpenRouter
({ apiKey, modelId, messages, maxTokens, temperature = 0.2, timeoutMs = 90000, responseFormat,
lib/ai/openrouter.ts:210
↓ 3 callers
Function
canManageMembers
(role: CreedRole)
lib/creed-permissions.ts:113
↓ 3 callers
Function
cancelActiveSubscriptionsForCustomer
(customerId: string)
lib/stripe.ts:674
↓ 3 callers
Function
cancelClose
()
components/creed/file-quality-ui.tsx:29
↓ 3 callers
Function
clearSettingsUsageCache
()
components/creed/settings-preload.ts:227
↓ 3 callers
Function
companyIsWritable
(state: CompanyAccessState)
lib/creed-permissions.ts:194
↓ 3 callers
Function
companyNameFromOnboarding
(state: CompanyOnboardingState)
lib/onboarding/compile-company.ts:199
↓ 3 callers
Function
computeOverallScore
(sections: Array<{ sectionId: string; score: number }>)
lib/ai/quality.ts:189
↓ 3 callers
Function
deductCompanyCredits
({ creedId, spentBy, costUsd, feature, modelId, }: { creedId: string; spentBy: string; costUsd
lib/ai/credits.ts:617
← previous
next →
101–200 of 1,383, ranked by callers