MCPcopy Create free account

hub / github.com/coleam00/dark-factory-experiment / functions

Functions964 in github.com/coleam00/dark-factory-experiment

↓ 1 callersFunctionstrip_citation_markers
Remove all ``[c:<id>]`` markers from ``text`` (use on complete text).
app/backend/rag/citations.py:33
↓ 1 callersFunctionsync_channel
Enumerate videos from the configured YouTube channel via Supadata, ingest any new videos (idempotent by youtube_video_id), and record a c
app/backend/routes/channels.py:62
↓ 1 callersFunctiontouch_conversation
Update the updated_at timestamp (scoped to owner; silent no-op otherwise).
app/backend/db/repository.py:485
↓ 1 callersFunctionuseAuthState
()
app/frontend/src/hooks/useAuth.tsx:46
↓ 1 callersFunctionuseMessages
(conversationId: string | null)
app/frontend/src/hooks/useMessages.ts:4
↓ 1 callersFunctionverify_password
Constant-time verify of plaintext against a stored bcrypt hash.
app/backend/auth/password.py:21
FunctionAddVideoModal
({ open, onClose, onSubmit }: AddVideoModalProps)
app/frontend/src/components/AddVideoModal.tsx:9
FunctionAdminVideos
()
app/frontend/src/pages/AdminVideos.tsx:17
FunctionApp
()
app/frontend/src/App.tsx:97
FunctionAppLayout
({ conversationId }: AppLayoutProps)
app/frontend/src/App.tsx:39
FunctionAuthProvider
({ children }: { children: ReactNode })
app/frontend/src/hooks/useAuth.tsx:122
FunctionBrandingHeader
()
app/frontend/src/components/BrandingHeader.tsx:1
FunctionChatArea
({ conversationId, refreshConversationsRef }: ChatAreaProps)
app/frontend/src/components/ChatArea.tsx:292
FunctionCitationModal
({ citation, onClose }: CitationModalProps)
app/frontend/src/components/CitationModal.tsx:16
FunctionCodeBlock
({ language, code }: CodeBlockProps)
app/frontend/src/components/MarkdownRenderer.tsx:43
FunctionConfirmDialog
({ onConfirm, onCancel, deleting, error }: ConfirmDialogProps)
app/frontend/src/components/Sidebar.tsx:289
FunctionConvItem
({ conv, isActive, searchQuery, onSelect, onDeleteRequest, onRename, }: ConvItemProps)
app/frontend/src/components/Sidebar.tsx:71
FunctionConversationNotFound
({ onBack }: { onBack: () => void })
app/frontend/src/components/ChatArea.tsx:176
FunctionConversationPage
()
app/frontend/src/App.tsx:87
FunctionCopyButton
({ code }: { code: string })
app/frontend/src/components/MarkdownRenderer.tsx:9
FunctionDailyQuotaCounter
({ used, remaining, resetsAt }: DailyQuotaCounterProps)
app/frontend/src/components/Sidebar.tsx:368
FunctionEmptyState
({ onStarterClick }: EmptyStateProps)
app/frontend/src/components/ChatArea.tsx:63
FunctionInlineError
({ message, onRetry }: InlineErrorProps)
app/frontend/src/components/ChatArea.tsx:220
FunctionLandingPage
()
app/frontend/src/App.tsx:92
FunctionLoadErrorState
({ message, onRetry }: { message: string; onRetry: () => void })
app/frontend/src/components/ChatArea.tsx:140
FunctionLogin
()
app/frontend/src/pages/Login.tsx:10
FunctionMarkdownRenderer
({ content }: MarkdownRendererProps)
app/frontend/src/components/MarkdownRenderer.tsx:89
FunctionMessage
({ role, content, isStreaming, sources, onCitationClick, streamingStatus, }: MessageProps)
app/frontend/src/components/Message.tsx:163
FunctionNotFound
()
app/frontend/src/pages/NotFound.tsx:3
FunctionRequireAuth
({ children }: RequireAuthProps)
app/frontend/src/App.tsx:17
FunctionSidebar
({ activeConversationId, isOpen, onClose, conversationsRef }: SidebarProps)
app/frontend/src/components/Sidebar.tsx:412
FunctionSignup
()
app/frontend/src/pages/Signup.tsx:9
FunctionSkeletonCard
()
app/frontend/src/components/VideoExplorer.tsx:25
FunctionSkeletonMessages
()
app/frontend/src/components/ChatArea.tsx:19
FunctionSkeletonRow
()
app/frontend/src/components/Sidebar.tsx:27
FunctionSourceCitations
({ sources, onCitationClick, }: { sources: Citation[]; onCitationClick?: (citation: Citation) => void;
app/frontend/src/components/Message.tsx:78
FunctionToastItem
({ toast, onDismiss }: { toast: Toast; onDismiss: () => void })
app/frontend/src/components/ToastProvider.tsx:5
FunctionToastProvider
({ children }: ToastProviderProps)
app/frontend/src/components/ToastProvider.tsx:133
FunctionTypingIndicator
()
app/frontend/src/components/Message.tsx:21
FunctionVideoCard
({ video, query = '' }: { video: Video; query?: string })
app/frontend/src/components/VideoExplorer.tsx:36
FunctionVideoExplorer
({ isOpen, onClose }: VideoExplorerProps)
app/frontend/src/components/VideoExplorer.tsx:128
Method__aenter__
(self)
app/backend/tests/test_sources_event.py:253
Method__aenter__
(self)
app/backend/tests/test_repository_acquire_pattern.py:29
Method__aenter__
(self)
app/backend/tests/test_repository_acquire_pattern.py:48
Method__aenter__
(self)
app/backend/tests/test_repository_channel_sync.py:26
Method__aenter__
(self)
app/backend/tests/test_repository_channel_sync.py:36
Method__aenter__
(self)
app/backend/tests/conftest.py:109
Method__aenter__
(self)
app/backend/tests/conftest.py:125
Method__aexit__
(self, *exc)
app/backend/tests/test_sources_event.py:256
Method__aexit__
(self, *exc)
app/backend/tests/test_repository_acquire_pattern.py:32
Method__aexit__
(self, *exc)
app/backend/tests/test_repository_acquire_pattern.py:51
Method__aexit__
(self, *exc)
app/backend/tests/test_repository_channel_sync.py:29
Method__aexit__
(self, *exc)
app/backend/tests/test_repository_channel_sync.py:39
Method__aexit__
(self, *exc)
app/backend/tests/conftest.py:112
Method__aexit__
(self, *exc)
app/backend/tests/conftest.py:128
Method__aiter__
(self)
app/backend/tests/test_stream_chat_max_tokens.py:47
Method__aiter__
(self)
app/backend/tests/test_sse_status_events.py:60
Method__aiter__
(self)
app/backend/tests/test_sse_heartbeat.py:61
Method__await__
(self)
app/backend/tests/test_sources_event.py:247
Method__await__
(self)
app/backend/tests/conftest.py:119
Method__call__
(self, *args: Any, **kwargs: Any)
app/backend/tests/test_retriever_member_filter.py:30
Method__call__
(self, video_id: str, chunk_index: int, window: int = 1)
app/backend/tests/conftest.py:188
Method__init__
(self, reset_at: datetime)
app/backend/rate_limit.py:48
Method__init__
(self, scope: Scope, message: str)
app/backend/signup_rate_limit.py:50
Method__init__
( self, content: str | None = None, tool_calls: list[Any] | None = None, finis
app/backend/tests/test_stream_chat_max_tokens.py:32
Method__init__
(self, chunks: list[_FakeDeltaChunk])
app/backend/tests/test_stream_chat_max_tokens.py:44
Method__init__
( self, index: int, call_id: str | None = None, name: str | None = None,
app/backend/tests/test_stream_chat_max_tokens.py:98
Method__init__
(self, return_rows: list[dict[str, Any]] | None = None)
app/backend/tests/test_retriever_member_filter.py:26
Method__init__
(self, video_ids=None, short_ids=None, live_ids=None)
app/backend/tests/test_channel_sync.py:77
Method__init__
(self, text="This is a sample transcript for the video.")
app/backend/tests/test_channel_sync.py:90
Method__init__
(self, text: str, offset: float = 0.0, duration: float = 1.0, lang: str = "en")
app/backend/tests/test_channel_sync.py:97
Method__init__
(self, chunks: list[MockTranscriptChunk] | None = None)
app/backend/tests/test_channel_sync.py:107
Method__init__
(self)
app/backend/tests/test_channel_sync.py:114
Method__init__
(self, ids: list[str])
app/backend/tests/test_chunk_timestamps.py:240
Method__init__
(self)
app/backend/tests/conftest.py:185
Method__init__
( self, content: str | None = None, tool_calls: list[Any] | None = None, finis
app/backend/tests/test_sse_status_events.py:26
Method__init__
( self, index: int, call_id: str | None = None, name: str | None = None,
app/backend/tests/test_sse_status_events.py:40
Method__init__
(self, chunks: list[_FakeDeltaChunk], delay_seconds: float = 0.0)
app/backend/tests/test_sse_status_events.py:56
Method__init__
( self, content: str | None = None, tool_calls: list[Any] | None = None, finis
app/backend/tests/test_sse_heartbeat.py:25
Method__init__
( self, index: int, call_id: str | None = None, name: str | None = None,
app/backend/tests/test_sse_heartbeat.py:39
Method__init__
(self, chunks: list[_FakeDeltaChunk], delay_seconds: float = 0.0)
app/backend/tests/test_sse_heartbeat.py:57
Method__init__
(self, text: str, offset: float = 0.0, duration: float = 1.0, lang: str = "en")
app/backend/tests/test_services_supadata.py:22
Method__init__
(self, text: str)
app/backend/tests/test_services_supadata.py:32
Method__init__
(self, chunks: list[MockTranscriptChunk])
app/backend/tests/test_services_supadata.py:39
Method__init__
(self)
app/backend/tests/test_services_supadata.py:46
Method__init__
(self)
app/backend/rag/citations.py:46
Function_circle_config
Stamp Circle config onto the module so the function actually runs. Done via monkeypatch (not env vars) because config.py reads the env once at
app/backend/tests/test_circle.py:30
Method_do
()
app/backend/tests/test_sources_event.py:248
Method_do
()
app/backend/tests/conftest.py:120
Function_executor
(name: str, raw_args: str)
app/backend/routes/messages.py:147
Function_init_connection
Per-connection setup run by asyncpg before the pool hands it to a caller. Currently sets pgvector's iterative-scan mode to `relaxed_order`. Witho
app/backend/db/postgres.py:22
Function_make_sync_acquire
Return a _SyncAcquireNotAwaitable instance.
app/backend/tests/test_repository_acquire_pattern.py:55
Function_make_sync_acquire
()
app/backend/tests/test_repository_channel_sync.py:43
Function_new_id
()
app/backend/scripts/migrate_sqlite_to_pg.py:43
Function_now
Wall-clock now in UTC. Monkeypatched by tests that want to freeze time.
app/backend/signup_rate_limit.py:64
Function_process_row
Returns (status, detail). status ∈ {ok, skipped, error}.
scripts/transcribe_all.py:277
Functionadd_video
Add a video by URL. Fetches transcript, chunks, embeds, stores. Fails atomically — the video row is only created after chunking and embedding
app/backend/routes/admin.py:179
Functionadmin_email
Configure ADMIN_USER_EMAIL for tests that need the admin identity. is_admin_email() reads the attribute at call time via getattr, so monkeypa
app/backend/tests/test_auth.py:310
Functionalways_429
(*args, **kwargs)
app/backend/tests/test_services_supadata.py:222
Functionalways_fail_transcript
(*args, **kwargs)
app/backend/tests/test_channel_sync.py:428
← previousnext →201–300 of 964, ranked by callers