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
↓ 1 callers
Function
applyLegacyGovernedEdit
( section: CreedSection, draft: LegacyGovernedDraft, agentName: string )
app/api/creed/write/route.ts:214
↓ 1 callers
Function
applyLifetimeSeatPurchase
( session: Stripe.Checkout.Session, )
lib/company-billing.ts:511
↓ 1 callers
Function
archiveCreed
()
components/creed/creed-provider.tsx:1232
↓ 1 callers
Function
archiveSection
(sectionId: string)
components/creed/creed-provider.tsx:1204
↓ 1 callers
Function
assertWebhookSignature
( rawBody: string, signatureHeader: string | null, webhookSecret: string )
lib/stripe.ts:188
↓ 1 callers
Function
base64UrlSha256
(input: string)
lib/oauth.ts:82
↓ 1 callers
Function
buildAfterTextFromLegacyDraft
(draft: LegacyGovernedDraft)
app/api/creed/write/route.ts:238
↓ 1 callers
Function
buildAfterTextFromPatch
(patch: DirectSectionPatch)
app/api/creed/write/route.ts:269
↓ 1 callers
Function
buildAgentContractPrologue
(docsUrl: string)
lib/creed-data.ts:1388
↓ 1 callers
Function
buildAgentPayloadForToken
( client: unknown, token: string, integrationId?: string | null, )
lib/creed-backend.ts:2231
↓ 1 callers
Function
buildAgentResponseFormat
()
lib/panel/agent.ts:310
↓ 1 callers
Function
buildAgentSystemPrompt
()
lib/panel/agent.ts:234
↓ 1 callers
Function
buildAgentUserPrompt
({ query, sections, archived, mentioned, }: { query: string; sections: Array<{ id: string; name: s
lib/panel/agent.ts:246
↓ 1 callers
Function
buildAskMessages
({ query, page, sections, proposals, mentioned, history, }: { query: string; page: string; s
lib/panel/actions.ts:318
↓ 1 callers
Function
buildCompanyComposePrompt
(sections: CreedSection[], companyName: string)
lib/creed-prompts.ts:42
↓ 1 callers
Function
buildComposePrompt
(sections: CreedSection[])
lib/creed-prompts.ts:22
↓ 1 callers
Function
buildDayWindow
(range: McpHealthRange)
lib/mcp-health.ts:112
↓ 1 callers
Function
buildDirectEditUrl
()
lib/creed-backend.ts:698
↓ 1 callers
Function
buildGitHubAuthorizeUrl
(args: { clientId: string; redirectUri: string; state: string; scopes?: string; })
lib/github.ts:107
↓ 1 callers
Function
buildHiddenAgentGuidanceMarkdown
(options?: { proposalUrl?: string; proposalToken?: string; directEditUrl?: string; directEditToken?: s
lib/creed-data.ts:1468
↓ 1 callers
Function
buildOnboardingPreviewSections
(draft: OnboardingPreviewDraft)
lib/onboarding/compile.ts:133
↓ 1 callers
Function
buildPanelResponseFormat
()
lib/panel/actions.ts:341
↓ 1 callers
Function
buildProposalUrl
()
lib/creed-backend.ts:694
↓ 1 callers
Function
buildQualityPrompt
( sections: CreedSection[], targetSectionIds: string[], scope: QualityScope = "personal", )
lib/ai/quality-rubric.ts:111
↓ 1 callers
Function
buildQualityResponseFormat
()
lib/ai/quality-rubric.ts:215
↓ 1 callers
Function
buildWritePolicy
(state: CreedState)
app/mcp/route.ts:590
↓ 1 callers
Function
buyCompanySeats
(params: { creedId: string; quantity: number; baseUrl: string; })
lib/company-billing.ts:358
↓ 1 callers
Function
cadenceLabel
(plan: PlanCard)
components/creed/billing-dialog.tsx:48
↓ 1 callers
Function
changeAiMode
(mode: AiMode)
components/creed/company-settings.tsx:888
↓ 1 callers
Function
changeRole
(userId: string, newRole: "admin" | "member")
components/creed/company-settings.tsx:746
↓ 1 callers
Function
checkSession
()
components/auth/auth-screen.tsx:137
↓ 1 callers
Function
chipStyle
(accent: AccentKey)
components/creed/mention-input.tsx:52
↓ 1 callers
Function
claimOnboardingPreview
(sections: CreedSection[])
components/creed/creed-provider.tsx:1811
↓ 1 callers
Function
cleanInline
(value: string)
lib/onboarding/compile.ts:38
↓ 1 callers
Function
cleanName
(name: string)
components/creed/mcp-health-dashboard.tsx:103
↓ 1 callers
Function
cleanupExpired
(now: number)
lib/rate-limit.ts:29
↓ 1 callers
Function
clearAiKey
()
components/creed/company-settings.tsx:876
↓ 1 callers
Function
clearAllSettingsCaches
()
components/creed/settings-preload.ts:99
↓ 1 callers
Function
clearCompanyGitHubIntegration
(creedId: string)
lib/company-github.ts:118
↓ 1 callers
Function
clearGitHubIntegration
(client: unknown, userId: string)
lib/creed-backend.ts:496
↓ 1 callers
Function
clearSections
()
components/creed/creed-provider.tsx:1259
↓ 1 callers
Function
clearSettingsRepoCache
()
components/creed/settings-preload.ts:153
↓ 1 callers
Function
clientIp
(request: Request | undefined)
lib/audit-log.ts:41
↓ 1 callers
Function
cloneSection
(section: CreedSection)
components/creed/creed-provider.tsx:180
↓ 1 callers
Function
collapseMonthlySpend
(transactions: CreditTransaction[])
components/creed/credits-history-dialog.tsx:34
↓ 1 callers
Function
collectMatches
(container: HTMLElement, term: string)
components/creed/find-replace.tsx:96
↓ 1 callers
Function
companyCreditTopup
({ creedId, amountMicro, paymentIntentId, }: { creedId: string; amountMicro: number; paymentIntent
lib/ai/credits.ts:675
↓ 1 callers
Function
companyFeatures
(cycle: BillingCycle)
components/marketing/pricing-page-view.tsx:58
↓ 1 callers
Function
companyOpForAction
( action: AgentAction, byId: (id: string) => CreedSection | undefined )
lib/panel/agent-execute.ts:437
↓ 1 callers
Function
companyOpFromDraft
(state: CreedState, args: Record<string, unknown>)
app/mcp/route.ts:1495
↓ 1 callers
Function
companyOpFromOperation
(state: CreedState, args: Record<string, unknown>)
app/mcp/route.ts:1525
↓ 1 callers
Function
compileOnboardingDraft
(onboarding: OnboardingState)
lib/onboarding/compile.ts:79
↓ 1 callers
Function
consumeSettingsPanelIntent
()
lib/panel/settings-intent.ts:34
↓ 1 callers
Function
copy
()
components/marketing/how-it-works-demos.tsx:142
↓ 1 callers
Function
copyValue
(key: string, value: string)
components/creed/file-screen.tsx:1405
↓ 1 callers
Function
copyValue
(key: string, value: string)
components/creed/connections-screen.tsx:22
↓ 1 callers
Function
createCompanySection
(params: { creedId: string; user: User; name: string; contentHtml?: string; accent?: string; inser
lib/company-sections.ts:736
↓ 1 callers
Function
createInvite
(params: { creedId: string; actorUserId: string; email: string; role: "admin" | "member"; })
lib/company-invites.ts:114
↓ 1 callers
Function
createNewSection
( input: CreateSectionInput, agentName: string, defaultPermission: AgentPermission )
app/api/creed/write/route.ts:242
↓ 1 callers
Function
creditTopup
({ userId, amountMicro, paymentIntentId, }: { userId: string; amountMicro: number; paymentIntentId
lib/ai/credits.ts:650
↓ 1 callers
Function
declineInvite
(token: string, user: User)
lib/company-invites.ts:348
↓ 1 callers
Function
dedupe
(items: string[])
lib/onboarding/compile.ts:59
↓ 1 callers
Function
dedupeAgents
(agents: AgentLike[])
components/creed/agent-icon-stack.tsx:29
↓ 1 callers
Function
dedupeMoneyInRows
(rows: CreditRow[])
lib/ai/credits.ts:146
↓ 1 callers
Function
defaultReasonFor
(kind: MutationKind)
app/mcp/route.ts:1743
↓ 1 callers
Function
deleteAccount
()
components/creed/creed-provider.tsx:1778
↓ 1 callers
Function
deleteArchivedSection
(sectionId: string)
components/creed/company-settings.tsx:728
↓ 1 callers
Function
deleteCompany
(params: { creedId: string; actor: User; })
lib/company-admin.ts:384
↓ 1 callers
Function
deleteCompanySection
(params: { creedId: string; user: User; sectionId: string; })
lib/company-sections.ts:1400
↓ 1 callers
Function
describeProposal
Proportional diff labels + a summary line for a proposed change.
lib/company-sections.ts:675
↓ 1 callers
Function
directEditAsProposalBody
( state: CreedState, args: Record<string, unknown>, agentName: string )
app/mcp/route.ts:1382
↓ 1 callers
Function
directSummary
(op: CompanyMcpOp, label: string, name: string)
lib/company-sections.ts:1140
↓ 1 callers
Function
dispatchSettingsPanelIntent
()
lib/panel/settings-intent.ts:29
↓ 1 callers
Function
downloadFile
(filename: string, content: string, type: string)
components/creed/file-screen.tsx:1416
↓ 1 callers
Function
draftForOp
Translate an agent op into a stored draft. append merges into current body.
lib/company-sections.ts:1112
↓ 1 callers
Function
editDraft
(action: AgentAction)
lib/panel/agent-execute.ts:347
↓ 1 callers
Function
editProposal
(p: Proposal)
components/creed/file-screen.tsx:3074
↓ 1 callers
Function
emailBelongsToMember
* True if the email already belongs to a member of this Creed. Fails CLOSED: * if any auth lookup errors we can't rule out a match, so we throw rathe
lib/company-invites.ts:64
↓ 1 callers
Function
ensureHighlightStyles
()
components/creed/find-replace.tsx:62
↓ 1 callers
Function
ensureSeeded
()
components/creed/company-onboarding-screen.tsx:134
↓ 1 callers
Function
evidenceRange
(tags: string[], hasGap: boolean)
lib/ai/quality.ts:149
↓ 1 callers
Function
exchangeGitHubOAuthCode
(args: { credentials: GitHubOAuthCredentials; code: string; redirectUri: string; })
lib/github.ts:127
↓ 1 callers
Function
executeAgentActions
({ user, actions, state: preloaded, }: { user: User; actions: AgentAction[]; state?: CreedState; }
lib/panel/agent-execute.ts:87
↓ 1 callers
Function
executeCompanyAgentActions
({ user, creedId, actions, sections, }: { user: User; creedId: string; actions: AgentAction[];
lib/panel/agent-execute.ts:480
↓ 1 callers
Function
exitToPersonal
()
components/creed/company-onboarding-screen.tsx:101
↓ 1 callers
Function
extractContent
(payload: OpenRouterResponse)
lib/ai/openrouter.ts:28
↓ 1 callers
Function
fallbackGapFromTags
(tags: string[])
lib/ai/quality.ts:161
↓ 1 callers
Function
fallbackGrantDate
(rows: CreditRow[])
lib/ai/credits.ts:113
↓ 1 callers
Function
featureMeta
(feature: string)
lib/ai/features.ts:34
↓ 1 callers
Function
fenceSafe
(text: string)
lib/panel/actions.ts:171
↓ 1 callers
Function
fenceSafe
(text: string)
lib/panel/agent.ts:232
↓ 1 callers
Function
fileProposalEdit
(sectionId: string, content: string)
components/creed/creed-provider.tsx:856
↓ 1 callers
Function
findOAuthAccessToken
( token: string )
lib/oauth.ts:362
↓ 1 callers
Function
findUserIdByDirectEditToken
( client: unknown, token: string, )
lib/creed-backend.ts:2145
↓ 1 callers
Function
findUserIdByProposalToken
( client: unknown, token: string, )
lib/creed-backend.ts:2132
↓ 1 callers
Function
findUserIdByReadToken
(client: unknown, token: string)
lib/creed-backend.ts:2122
↓ 1 callers
Function
fireConfetti
(x: number, y: number, color: string)
lib/confetti.ts:108
↓ 1 callers
Function
fireWelcomeConfetti
()
lib/confetti.ts:153
↓ 1 callers
Function
flushCurrentState
()
components/creed/creed-provider.tsx:600
↓ 1 callers
Function
formatDate
(iso: string | null)
components/creed/billing-dialog.tsx:58
← previous
next →
501–600 of 1,383, ranked by callers