MCPcopy Create free account

hub / github.com/connorhpbrn/creed / functions

Functions1,383 in github.com/connorhpbrn/creed

↓ 3 callersFunctiondeductCredits
({ userId, costUsd, feature, modelId, }: { userId: string; costUsd: number; feature: AiFeature;
lib/ai/credits.ts:388
↓ 3 callersFunctionderiveMcpStatus
(mcpClients: McpClient[])
lib/creed-backend.ts:1093
↓ 3 callersFunctiondownloadFile
(filename: string, content: string, type: string)
components/creed/settings-screen.tsx:587
↓ 3 callersFunctiondownloadFile
(filename: string, content: string, type: string)
components/creed/company-settings.tsx:736
↓ 3 callersFunctioneffectivePermission
* The caller's effective permission on a section. Owner/admin resolve to Direct; * a member gets their per-section override (or Direct by default). W
lib/company-sections.ts:124
↓ 3 callersFunctionemit
(level: LogLevel, message: string, context?: LogContext, error?: unknown)
lib/observability.ts:18
↓ 3 callersFunctionentitlementGrantsAccess
(row: { billing_mode?: string | null; status?: string | null; })
lib/stripe.ts:291
↓ 3 callersFunctionescapeHtml
(value: string)
lib/onboarding/compile-company.ts:5
↓ 3 callersFunctionexportActivityJson
()
components/creed/creed-provider.tsx:1886
↓ 3 callersFunctionexportAllDataJson
()
components/creed/creed-provider.tsx:1894
↓ 3 callersFunctionfileCompanyProposal
* File a proposal for a change the caller may not (or chose not to) apply * directly, plus a linked pending activity row. Owner/Admin (or a member wi
lib/company-sections.ts:588
↓ 3 callersFunctionfindUserIdByTokenHash
( db: SupabaseLikeClient, table: string, hashColumn: string, token: string, errorMessage: string, )
lib/creed-backend.ts:2104
↓ 3 callersFunctionflushAll
()
components/creed/rich-answer.tsx:115
↓ 3 callersFunctionflushBullets
()
components/creed/rich-answer.tsx:109
↓ 3 callersFunctionflushNumbered
()
components/creed/rich-answer.tsx:112
↓ 3 callersFunctionflushParagraph
()
components/creed/rich-answer.tsx:106
↓ 3 callersFunctionformatGitHubAccessErrorForState
(message: string, githubConnected: boolean)
components/creed/settings-screen.tsx:120
↓ 3 callersFunctionformatUsd
(value: number)
components/creed/billing-dialog.tsx:54
↓ 3 callersFunctiongetAiModel
(modelId: string | null | undefined)
lib/ai/model-catalog.ts:453
↓ 3 callersFunctiongetCachedMcpHealth
(range: McpHealthRange, creedKey = "")
components/creed/mcp-health-preload.ts:83
↓ 3 callersFunctiongetCompanyCreditsState
(creedId: string)
lib/ai/credits.ts:435
↓ 3 callersFunctiongetCreditsState
(client: unknown, userId: string)
lib/ai/credits.ts:699
↓ 3 callersFunctiongetGitHubOAuthClientId
()
lib/github.ts:66
↓ 3 callersFunctiongetGitHubOAuthClientSecret
()
lib/github.ts:70
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
components/ui/chart.tsx:335
↓ 3 callersFunctiongetSeatUsage
(creedId: string)
lib/company-invites.ts:86
↓ 3 callersFunctiongraph
(...nodes: object[])
lib/seo/structured-data.ts:169
↓ 3 callersFunctionhandleOpenPushReview
()
components/creed/file-screen.tsx:1462
↓ 3 callersFunctionhasCompanyAccess
( client: unknown, adminClient: unknown, userId: string )
lib/creed-membership.ts:162
↓ 3 callersFunctionhasPersistedCreed
( client: unknown, userId: string, )
lib/creed-backend.ts:1174
↓ 3 callersFunctioninsertContentAndSelect
( editor: Editor, range: Range, content: Parameters<Editor["commands"]["insertContentAt"]>[1], selecti
components/creed/rich-text-editor.tsx:117
↓ 3 callersFunctionisAllowedRedirectUri
(uri: string, registered: string[])
lib/oauth.ts:104
↓ 3 callersFunctionisOptionalString
(value: unknown, max = MAX_SHORT_STRING)
lib/validation/creed-state.ts:21
↓ 3 callersFunctionknobVariants
(offset: number, delay: number)
components/ui/sliders-horizontal.tsx:20
↓ 3 callersFunctionloadAiReadiness
()
components/creed/file-screen.tsx:1096
↓ 3 callersFunctionloadSettingsCredits
()
components/creed/settings-preload.ts:233
↓ 3 callersFunctionlookupKeyFor
(plan: CreedPlan, cadence: PurchaseCadence)
lib/stripe.ts:93
↓ 3 callersFunctionmakeProposal
( id: string, sectionId: string, sectionName: string, accent: AccentKey, agentName: string, reason
components/marketing/governed-demos.tsx:37
↓ 3 callersFunctionmarksWithoutTag
(pos: number)
components/creed/extensions/inline-tag.tsx:104
↓ 3 callersFunctionmonthKey
(iso: string)
lib/ai/credits.ts:103
↓ 3 callersFunctionmonthlyAllowancePeriodKey
(now: Date = new Date())
lib/ai/credit-config.ts:39
↓ 3 callersFunctionnormalize
(value: string)
lib/panel/fuzzy.ts:7
↓ 3 callersFunctionnormalizeSectionReport
(raw: Record<string, unknown> | undefined, section: CreedSection)
lib/ai/quality.ts:294
↓ 3 callersFunctionobjectArg
(value: unknown)
app/mcp/route.ts:562
↓ 3 callersFunctionorganizationId
()
lib/seo/structured-data.ts:24
↓ 3 callersFunctionparagraphContent
(text: string)
lib/onboarding/compile.ts:117
↓ 3 callersFunctionparseJsonObject
(value: string)
lib/ai/openrouter.ts:45
↓ 3 callersFunctionputAiSettings
( body: Record<string, unknown>, )
components/creed/company-settings.tsx:845
↓ 3 callersFunctionqualityScoreColor
(score?: number)
components/creed/file-quality-ui.tsx:126
↓ 3 callersFunctionreadCompanyGitHubIntegration
( creedId: string )
lib/company-github.ts:57
↓ 3 callersFunctionreadInterval
(subscription: Stripe.Subscription)
lib/company-billing.ts:79
↓ 3 callersFunctionreadLatestQualityReport
(client: unknown, userId: string, creedId?: string)
lib/ai/quality.ts:480
↓ 3 callersFunctionreadQualityBaseline
({ client, userId, creedId, sections, companyRead = false, }: { client: unknown; userId: string;
lib/ai/quality.ts:522
↓ 3 callersFunctionreadStoredSectionHashes
(row: { section_hashes?: unknown; report?: unknown } | null | undefined)
lib/ai/quality.ts:509
↓ 3 callersFunctionreadTokenRow
(client: SupabaseLikeClient, userId: string)
lib/creed-backend.ts:209
↓ 3 callersFunctionrecordAiUsage
({ client, userId, creedId, feature, modelId, modelQuality, inputTokens, outputTokens, costU
lib/ai/persistence.ts:210
↓ 3 callersFunctionresolveAiCredential
( client: unknown, userId: string, feature: AiFeature )
lib/ai/credits.ts:346
↓ 3 callersFunctionresolveCompanyAiCredential
( creedId: string, feature: AiFeature )
lib/ai/credits.ts:572
↓ 3 callersFunctionresolveInviteByToken
( token: string )
lib/company-invites.ts:259
↓ 3 callersFunctionresolveSyncStatus
(args: { localHash: string; remoteHash?: string | null; lastSyncedHash?: string | null; })
lib/github-version-control.ts:218
↓ 3 callersFunctionreviewCompanyProposalRemote
( proposalId: string, decision: "accept" | "reject" | "withdraw", )
components/creed/creed-provider.tsx:1281
↓ 3 callersFunctionrichContent
(content: string)
lib/panel/agent-execute.ts:75
↓ 3 callersFunctionrunFullQuality
(args: FullRunArgs)
lib/ai/quality-runner.ts:148
↓ 3 callersFunctionsetActiveCreed
( client: unknown, user: User, creedId: string )
lib/creed-context.ts:132
↓ 3 callersFunctionsetCachedSettingsAiSettings
(settings: PublicAiSettings)
components/creed/settings-preload.ts:204
↓ 3 callersFunctionsetCompanyByok
(params: { creedId: string; actor: User; key: string | null; mode?: "credits" | "byok"; })
lib/company-admin.ts:413
↓ 3 callersFunctionsetVersionControlConfig
( patch: Partial<CreedSettings["versionControl"]>, )
components/creed/creed-provider.tsx:1715
↓ 3 callersFunctionstartInterval
()
components/creed/creed-provider.tsx:775
↓ 3 callersFunctionstatusFor
(result: Extract<SectionWriteResult, { ok: false }>)
app/api/app/sections/[sectionId]/route.ts:12
↓ 3 callersFunctionstopInterval
()
components/creed/creed-provider.tsx:780
↓ 3 callersFunctionsupportsHighlights
()
components/creed/find-replace.tsx:59
↓ 3 callersFunctionsyncSelectionToolbar
(currentEditor: Editor)
components/creed/rich-text-editor.tsx:603
↓ 3 callersFunctionupdateOnboarding
(patch: Partial<CreedState["onboarding"]>)
components/creed/creed-provider.tsx:1794
↓ 3 callersFunctionupdateRichTextSection
(sectionId: string, content: string)
components/creed/creed-provider.tsx:941
↓ 3 callersFunctionuseLoopSequence
(durations: readonly number[], restStep: number)
components/marketing/how-creed-works-demos.tsx:64
↓ 3 callersFunctionvalidateQualityReport
( value: unknown, sections: CreedSection[], contentHash: string, // A company report is one shared rep
lib/ai/quality.ts:392
↓ 3 callersFunctionwithAlpha
(color: string, alpha: number)
components/creed/rich-text-editor.tsx:99
↓ 3 callersFunctionwithdrawProposal
(proposalId: string)
components/creed/creed-provider.tsx:1650
↓ 2 callersFunctionactivity
(entry: Omit<ActivityEntry, "dayLabel" | "timeLabel" | "actorType">)
lib/panel/agent-execute.ts:83
↓ 2 callersFunctionaddChip
(value: string)
components/creed/extensions/chip-row.tsx:77
↓ 2 callersFunctionaddSection
(name: string, starter?: string)
components/creed/creed-provider.tsx:1019
↓ 2 callersFunctionaddSectionAfter
( afterSectionId: string, name: string, starter?: string, )
components/creed/creed-provider.tsx:1052
↓ 2 callersFunctionadmin
()
lib/company-version-control.ts:24
↓ 2 callersFunctionagentLabel
(agent: HealthAgent)
components/creed/mcp-health-dashboard.tsx:111
↓ 2 callersFunctionagentPermissionValue
( sectionId: string, current: AgentPermission, )
components/creed/company-settings.tsx:631
↓ 2 callersFunctionapplyCompanyGrant
(creedId: string, allowance: Allowance)
lib/ai/credits.ts:551
↓ 2 callersFunctionapplyGrant
(userId: string, allowance: Allowance)
lib/ai/credits.ts:303
↓ 2 callersFunctionapplyProposalToSection
(section: CreedSection, proposal: Proposal)
components/creed/creed-provider.tsx:253
↓ 2 callersFunctionassembleReport
({ sections, gradedById, priorById, overall, contentHash, }: { sections: CreedSection[]; gradedB
lib/ai/quality.ts:354
↓ 2 callersFunctionauthErrorMessage
(message: string, mode: AuthMode)
components/auth/auth-screen.tsx:57
↓ 2 callersFunctionbreadcrumbSchema
( path: string, trail: { name: string; path: string }[] )
lib/seo/structured-data.ts:149
↓ 2 callersFunctionbuild
()
lib/panel/agent-runner.ts:48
↓ 2 callersFunctionbuildAgentReadPayload
( state: Pick< CreedState, "sections" | "writeToken" | "directEditToken" | "settings" >, options
lib/creed-data.ts:1877
↓ 2 callersFunctionbuildDisplayTransactions
( sourceRows: CreditRow[], allowance: Allowance | null, )
lib/ai/credits.ts:165
↓ 2 callersFunctionbuildIntegrationSettings
( user: User, githubRow?: IntegrationRow | null, options?: { ignoreLinkedIdentity?: boolean }, )
lib/creed-backend.ts:327
↓ 2 callersFunctionbuildPanelSystemPrompt
(mode: PanelMode)
lib/panel/actions.ts:188
↓ 2 callersFunctionbuildPanelUserPrompt
({ mode, query, page, sections, proposals, mentioned, }: { mode: PanelMode; query: string; p
lib/panel/actions.ts:268
↓ 2 callersFunctionbuildPayload
()
app/api/health/route.ts:68
↓ 2 callersFunctionbuildPublicAiSettings
(row?: AiSettingsRow | null)
lib/ai/persistence.ts:68
↓ 2 callersFunctionbuildReadUrl
(readToken: string)
lib/creed-backend.ts:690
← previousnext →201–300 of 1,383, ranked by callers