MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 2 callersFunctionassert_backend_within_user_root
Raise ``ValueError`` when a local backend root is outside *allowed_root*.
src/octop/infra/users/resource_policy.py:125
↓ 2 callersFunctionassert_token_quota_available
Raise when the user's lifetime ``total_tokens`` is at or above quota.
src/octop/infra/users/resource_policy.py:147
↓ 2 callersFunctionassistantTurnsFromEnd
( messages: Array<{ id: string; role: string; toolData?: unknown }>, messageId: string, )
dashboard/src/pages/Chat/utils/chatMessages.ts:172
↓ 2 callersFunctionattachThread
( sessionId: string, agentId: string, threadId: string, onStreamEnd?: () => void, resumeAttempt = 0,
dashboard/src/pages/Chat/hooks/chatStore.ts:1582
↓ 2 callersFunctionattachment_empty_message
(locale: str | Locale = "en")
src/octop/i18n/domains/attachment.py:35
↓ 2 callersFunctionaudioContextCtor
()
dashboard/src/utils/wavStreamPlayer.ts:49
↓ 2 callersFunctionauth_info_for_kind
(kind: str, settings_repo: Any)
src/octop/infra/connectors/oauth/registry.py:86
↓ 2 callersFunctionavatar_relpath_for_media
(media_type: str)
src/octop/infra/agents/avatar.py:82
↓ 2 callersFunctionavc_codec_string
(sps: bytes)
src/octop/infra/mobile/h264.py:17
↓ 2 callersFunctionavcc_from_sps_pps
Build an AVCDecoderConfigurationRecord (avcC) from SPS/PPS NALs.
src/octop/infra/mobile/h264.py:23
↓ 2 callersFunctionavcc_sample
(nals: list[bytes])
src/octop/infra/mobile/h264.py:42
↓ 2 callersFunctionbackend_spec_supports_execution
True when the backend spec resolves to a sandbox/shell backend. deepagents ``FilesystemMiddleware`` rejects filesystem ``permissions`` when t
src/octop/infra/backend/resolver.py:167
↓ 2 callersFunctionbasename
(path: string)
dashboard/src/utils/fileTreeIcon.tsx:46
↓ 2 callersMethodbefore_agent
(self, state: Any, runtime: Any)
src/octop/infra/agents/middleware/token_quota.py:39
↓ 2 callersMethodbegin_turn
(self)
src/octop/cli/repl/render.py:74
↓ 2 callersMethodbind_control_plane
Open the configured control-plane DB and boot runtime (first-run wizard). Idempotent when already bound: no-op. Call after persisting ``datab
src/octop/infra/server.py:334
↓ 2 callersFunctionbind_workspace_avatar_icon_url
Point ``icon_url`` at the local avatar API when a workspace file exists.
src/octop/infra/agents/avatar.py:170
↓ 2 callersFunctionblock_to_content_part
( block: dict[str, Any], *, workspace: BackendWorkspace, )
src/octop/infra/gateway/media/tool_media.py:687
↓ 2 callersFunctionboot_from_services
(settings_repo: SettingsRepo, secret_repo: SecretRepo)
src/octop/infra/auth/captcha/__init__.py:54
↓ 2 callersFunctionbrowse_skillsets
Fetch skillsets once and return ``(filtered_items, all_scenes)``.
src/octop/infra/agents/experts/skillhub_market.py:219
↓ 2 callersFunctionbrowserSttAvailable
()
dashboard/src/hooks/useVoiceInput.ts:52
↓ 2 callersFunctionbuildBackendSpec
( choice: string, compositeDefault: string, pathMappings: PathMapping[], rootDir?: string, )
dashboard/src/pages/Experts/components/agentBackendForm.ts:213
↓ 2 callersFunctionbuildComposerContext
(params: { skills?: string[]; connectors?: string[]; knowledgeBaseIds?: string[]; targetAgents?: strin
dashboard/src/pages/Chat/utils/chatMessages.ts:83
↓ 2 callersFunctionbuildCredentials
( entry: ConnectorCatalogEntry, values: Record<string, unknown>, )
dashboard/src/pages/Agent/Connectors/index.tsx:64
↓ 2 callersFunctionbuildDockPathTree
( paths: string[], agentId?: string | null, )
dashboard/src/pages/Chat/utils/dockFilePath.ts:173
↓ 2 callersFunctionbuildMentionItems
( query: string, connectors: ChatConnectorOption[], agents: MentionAgentOption[] = [], subagents: Agen
dashboard/src/pages/Chat/components/MentionPickerMenu.tsx:34
↓ 2 callersFunctionbuildModelEntry
(values: Record<string, unknown>)
dashboard/src/pages/Settings/Models/components/modals/ModelListEditor.tsx:235
↓ 2 callersFunctionbuildPostgresBody
(values: DatabaseSetupBody)
dashboard/src/pages/Setup/steps/DatabaseStep.tsx:68
↓ 2 callersFunctionbuildProviderPayload
()
dashboard/src/pages/Settings/Voice/index.tsx:108
↓ 2 callersFunctionbuildTurnTimelineItems
( messages: ChatMessage[], messageGroups: MessageGroup[], copy: TurnTimelinePreviewCopy, opts?: { isSt
dashboard/src/pages/Chat/utils/turnTimeline.ts:123
↓ 2 callersFunctionbuildUserMessageContent
( text: string, attachments?: ChatAttachment[], )
dashboard/src/pages/Chat/utils/chatAttachments.ts:91
↓ 2 callersFunctionbuildWizardModels
( entries: Array<{ id: string; name: string; input?: string[]; reasoning?: boolean
dashboard/src/pages/Setup/steps/ModelStep.tsx:296
↓ 2 callersFunctionbuild_codex_headers
(account_id: str)
src/octop/infra/providers/codex_oauth.py:182
↓ 2 callersFunctionbuild_dashboard_inbound
( *, agent_id: str, user_id: int, prepared: PreparedDashboardTurn, turn: ChatTurnBody,
src/octop/api/routers/chat/turn.py:306
↓ 2 callersFunctionbuild_install_commands
Ordered install strategies for *packages* into ``sys.executable``.
src/octop/infra/utils/runtime_packages.py:116
↓ 2 callersFunctionbuild_mcp_server_configs_for_user
Build harness ``mcp_server_configs`` from a user's active connector instances.
src/octop/infra/connectors/builder.py:469
↓ 2 callersFunctionbuild_runtime
( *, home: Path | None = None, host: str | None = None, port: int | None = None, mode: Ser
src/octop/infra/setup/service.py:268
↓ 2 callersFunctionbuild_timestamped_inbound_name
Return ``{unix_ts}_{sanitized_original}`` (matches outbound naming style).
src/octop/infra/gateway/media/inbound_store.py:379
↓ 2 callersFunctionbuiltin_expert_avatar_url
Public dashboard URL for a bundled expert portrait.
src/octop/infra/agents/experts/catalog.py:397
↓ 2 callersFunctionbuiltin_tool_available
Whether a catalog builtin is expected to be mounted for this agent.
src/octop/infra/agents/tool_catalog.py:185
↓ 2 callersFunctionbundledPortableVersion
()
desktop/src/download.go:134
↓ 2 callersFunctionbundled_avatars_dir
Locate ``dashboard/public/experts/avatars`` relative to this package.
src/octop/infra/agents/experts/catalog.py:82
↓ 2 callersFunctionbundled_scripts_dir
()
src/octop/infra/desktop/setup.py:168
↓ 2 callersFunctionbustServiceWorkerAndReload
()
dashboard/src/utils/reloadOnStaleChunk.ts:49
↓ 2 callersFunctioncacheKey
(url: string, filename?: string)
dashboard/src/hooks/useAuthImageSrc.ts:41
↓ 2 callersFunctioncache_status
(payload: dict[str, Any], *, cached_at: float | None = None)
src/octop/api/routers/update_store.py:42
↓ 2 callersFunctioncachedActiveVoice
()
dashboard/src/hooks/useVoiceConfig.ts:8
↓ 2 callersFunctioncanAccessPath
( user: PermissionHolder | null | undefined, pathname: string, )
dashboard/src/utils/permissions.ts:229
↓ 2 callersFunctioncanCreateIn
(path: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:137
↓ 2 callersFunctioncanManageKnowledgeBase
( base: Pick<KnowledgeBase, "owner_user_id">, user: OctopUser | null, )
dashboard/src/pages/KnowledgeBases/index.tsx:171
↓ 2 callersFunctioncanRecordAudio
()
dashboard/src/hooks/useVoiceInput.ts:230
↓ 2 callersFunctioncanRichPreviewKnowledgeDocument
(doc: { filename?: string; has_original?: boolean; })
dashboard/src/utils/knowledgeDocPreview.ts:105
↓ 2 callersFunctioncapture_executor
()
src/octop/infra/desktop/session.py:124
↓ 2 callersMethodcapture_jpeg
(self, *, quality: int = 80)
src/octop/infra/desktop/capture.py:205
↓ 2 callersFunctioncapture_jwt_secret_from_pool
Return the live instance JWT secret, or ``None`` if not yet seeded.
src/octop/infra/backup/snapshot.py:317
↓ 2 callersFunctioncatalog_for_selected_bases
Build ``{id, name, description}`` rows for visible selected bases.
src/octop/infra/knowledge/hint.py:15
↓ 2 callersFunctioncategory_label
(category: Category, locale: str)
src/octop/infra/gateway/slash/catalog.py:276
↓ 2 callersFunctioncellLooksLikeImageRef
(value: string)
dashboard/src/components/DocumentPreviewCore.tsx:71
↓ 2 callersFunctionchannel_tool_hint_end
(tool_name: str, locale: str | Locale = "en")
src/octop/i18n/domains/channel.py:21
↓ 2 callersFunctionchatGeneratingPhase
(opts: { isStreaming: boolean; loading?: boolean; lastMessageRole?: string | null; })
dashboard/src/pages/Chat/components/generatingGate.ts:16
↓ 2 callersFunctionchatSkillCatalogAgentId
( agentId: string | null | undefined, agentChatReady: boolean, agentsLoading: boolean, )
dashboard/src/utils/sharedExpert.ts:22
↓ 2 callersFunctionchatStreamErrorAction
( message: string | null | undefined, )
dashboard/src/utils/chatStreamError.ts:176
↓ 2 callersFunctionchat_ws_path
(agent_id: str, auth: dict[str, str])
tests/support/http.py:142
↓ 2 callersFunctioncheck_invite_rate_limit
(client_id: str)
src/octop/infra/users/invites.py:222
↓ 2 callersFunctioncheck_playwright_installed
Check if playwright and its browsers are installed.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/xhs_publish.py:61
↓ 2 callersFunctioncheckpoint_snapshot
( harness: Any, thread_id: str, anchor: dict[str, Any] | None = None )
src/octop/infra/history/legacy.py:10
↓ 2 callersFunctioncheckpoint_ts_ms
(message: Any)
src/octop/infra/gateway/process/history_projection.py:41
↓ 2 callersFunctioncheckpoint_wires
( harness: Any, thread_id: str, anchor: dict[str, Any] | None = None )
src/octop/infra/history/legacy.py:26
↓ 2 callersFunctionchrome_source_for_path
Classify a resolved browser binary as ``system`` or ``playwright``.
src/octop/infra/browser/setup.py:398
↓ 2 callersFunctionchunkTextForSpeech
( text: string, maxLen = CHUNK_MAX_LEN, )
dashboard/src/utils/browserSpeech.ts:106
↓ 2 callersFunctioncitations_from_ranked
Deduplicate ranked hits to one citation per document (retrieval order).
src/octop/infra/knowledge/citations.py:22
↓ 2 callersFunctionclaimPending
()
dashboard/src/pages/Agent/Connectors/CustomMcpTab.tsx:500
↓ 2 callersFunctionclaimPending
()
dashboard/src/pages/Agent/Connectors/index.tsx:933
↓ 2 callersFunctionclamp
(n: number, min: number, max: number)
dashboard/src/hooks/useHorizontalResize.ts:23
↓ 2 callersFunctionclampAbsurdDocxCssLengths
(style: string)
dashboard/src/components/DocumentPreviewCore.tsx:165
↓ 2 callersFunctionclampOffset
(raw: number, max: number)
dashboard/src/pages/Login/SlideCaptcha.tsx:81
↓ 2 callersFunctioncleanup
()
dashboard/src/pages/Agent/Connectors/CustomMcpTab.tsx:462
↓ 2 callersFunctioncleanup
()
dashboard/src/pages/Agent/Connectors/index.tsx:858
↓ 2 callersFunctionclearChunkReloadFlag
()
dashboard/src/utils/reloadOnStaleChunk.ts:90
↓ 2 callersFunctionclearPending
(rt: SpeechRuntime)
dashboard/src/utils/browserSpeech.ts:54
↓ 2 callersFunctionclearPopupPlacementStyles
* Clear drag/placement offsets written outside React. * Never touch width/height here — right dock owns width via React ``style``.
dashboard/src/components/BrowserWorkspace/ChatDockPanelShell.tsx:63
↓ 2 callersFunctionclearReconnect
()
dashboard/src/hooks/useDashboardPushToast.tsx:64
↓ 2 callersFunctionclear_mobile_agent_control_if_device
Drop the binding when the bound device's stream ends.
src/octop/infra/mobile/agent_control.py:48
↓ 2 callersFunctionclear_profile_locks
Remove stale Chrome ProcessSingleton lock files. Returns cleared names.
src/octop/infra/browser/setup.py:139
↓ 2 callersFunctionclear_stale_pins_for_provider
Clear agent / active-model pins for *provider_name* missing from *models*. One pass over agents. Returns cleared agent ids. Covers models removed
src/octop/infra/agents/providers/store.py:76
↓ 2 callersMethodclear_thread_model
(self, agent_id: str, thread_id: str)
src/octop/infra/agents/manager.py:1102
↓ 2 callersMethodclear_unread_for_thread
(self, thread_id: str)
src/octop/infra/db/repos/sessions.py:194
↓ 2 callersFunctionclear_user_stream
(user_id: str, disconnect: DisconnectHandler)
src/octop/infra/desktop/session.py:61
↓ 2 callersFunctioncli
Octop command-line interface.
src/octop/cli/main.py:115
↓ 2 callersFunctionclientXFromEvent
(e: MouseEvent | TouchEvent)
dashboard/src/pages/Login/SlideCaptcha.tsx:20
↓ 2 callersMethodclose
(self)
src/octop/infra/gateway/history_backfill.py:59
↓ 2 callersMethodclose
(self)
tests/support/fakes.py:110
↓ 2 callersFunctioncloseBrowserTabOptimistic
( tabs: T[], tabId: number | string, )
dashboard/src/utils/browserTabs.ts:77
↓ 2 callersFunctioncmd_history
( d: SlashDispatcher, cmd: SlashCommand, ctx: SlashCtx, sink: SlashSink )
src/octop/infra/gateway/slash/handlers/composite.py:142
↓ 2 callersFunctioncoerceToolArgsText
(value: unknown)
dashboard/src/pages/Chat/utils/trajectoryModel.ts:197
↓ 2 callersFunctioncollapseCallRows
( events: TrajectoryEvent[], formatSummary: ( count: number, names: readonly string[], ) => stri
dashboard/src/pages/Chat/utils/trajectoryModel.ts:403
↓ 2 callersFunctioncollapseTurns
(events: TrajectoryEvent[])
dashboard/src/pages/Chat/utils/trajectoryModel.ts:289
↓ 2 callersFunctioncollapsedSummaryEvent
( head: TrajectoryEvent, summary: string, kind: "assistant" | "turn", )
dashboard/src/pages/Chat/utils/trajectoryModel.ts:374
↓ 2 callersFunctioncollectCustomDraft
( formValues?: Partial<CustomFormValues>, )
dashboard/src/pages/Setup/steps/ModelStep.tsx:390
↓ 2 callersFunctioncollectDockFolderPaths
(nodes: DockPathTreeNode[])
dashboard/src/pages/Chat/utils/dockFilePath.ts:249
← previousnext →2,501–2,600 of 12,485, ranked by callers