MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 3 callersFunctionrequire_agent_workspace
Auth-checked workspace even when the agent is stopped. Used for display files (e.g. expert avatar) that must work from the experts list witho
src/octop/api/common/workspace.py:71
↓ 3 callersFunctionrequire_database
Raise when the control-plane DB has not been bound yet (deferred setup).
src/octop/api/deps.py:107
↓ 3 callersFunctionrequire_local_embedding_deps
Raise RuntimeError when optional local-embedding extras are missing.
src/octop/infra/agents/providers/onnx_service.py:77
↓ 3 callersMethodrequire_session
Return a session after validating its owning agent.
src/octop/infra/gateway/gateway.py:368
↓ 3 callersFunctionresetForm
()
dashboard/src/pages/Settings/Models/components/modals/ModelListEditor.tsx:358
↓ 3 callersFunctionresolveBrowserProfile
(userId?: number | null)
dashboard/src/utils/browserProfile.ts:8
↓ 3 callersFunctionresolveInitialLocale
()
dashboard/src/utils/localePrefs.ts:51
↓ 3 callersFunctionresolveSkillDisplayName
( skill: SkillLabelInput, locale: string = "zh", )
dashboard/src/pages/Agent/Skills/skillDisplayNames.ts:46
↓ 3 callersFunctionresolveToolRenderer
(opts: { toolName?: string; pluginId?: string | null; parsed: ParsedToolOutput; })
dashboard/src/plugins/toolRenderers/registry.ts:73
↓ 3 callersFunctionresolveTurnModelRef
( selectedModel: string | null | undefined, agentDefaultModel: string | null | undefined, )
dashboard/src/pages/Chat/utils/chatMessages.ts:61
↓ 3 callersFunctionresolveWorkspaceMoveDest
(opts: { dragPath: string; dropPath: string; dropIsDir: boolean; dropToGap: boolean; })
dashboard/src/pages/Agent/Workspace/utils/workspaceMove.ts:21
↓ 3 callersFunctionresolve_backup_path
Return the on-disk path for a stored backup (must exist).
src/octop/infra/backup/store.py:204
↓ 3 callersFunctionresolve_cli_locale
Best-effort locale for terminal rendering (zh/en).
src/octop/cli/support/db.py:60
↓ 3 callersFunctionresolve_cli_user_id
Map ``--user`` or CLI ``default_user`` to numeric user id (offline).
src/octop/cli/support/db.py:42
↓ 3 callersFunctionresolve_dashboard_media_url
Import external files when needed; preview URL keeps the original path shape.
src/octop/infra/gateway/media/backend_files.py:253
↓ 3 callersMethodresolve_fallback_model_ref
Settings active model when usable, else the first enabled catalog model.
src/octop/infra/agents/manager.py:1106
↓ 3 callersMethodresolve_first_model_ref
First chat-eligible enabled model across usable providers.
src/octop/infra/agents/providers/store.py:224
↓ 3 callersFunctionresolve_install_script_path
()
src/octop/infra/desktop/setup.py:172
↓ 3 callersFunctionresolve_service_home
Resolve ``OCTOP_HOME`` for the service owner, not the installer's euid. ``Path.home()`` follows the effective uid, so a ``sudo`` install as root
src/octop/infra/setup/service.py:222
↓ 3 callersFunctionresolve_sqlite_db_path
Return the SQLite file path that ``open_database`` would use for sqlite.
src/octop/infra/db/factory.py:12
↓ 3 callersFunctionresolve_user
Return the username to act as, falling back to root ``--user``.
src/octop/cli/support/ctx.py:37
↓ 3 callersMethodresume_hitl
Resume a paused HITL interrupt for *thread_id*.
src/octop/infra/agents/manager.py:1073
↓ 3 callersMethodrun
Run one proactive care push. Args: agent_id: The agent ID to push for. session_key: The session key to push to.
src/octop/infra/proactive/service.py:117
↓ 3 callersFunctionrunProbe
( card: ServerCardState, options: { byName?: boolean; fromSave?: boolean } = {}, )
dashboard/src/pages/Agent/Connectors/CustomMcpTab.tsx:330
↓ 3 callersFunctionsanitize_inbound_filename
Keep the original display name (including CJK); strip only dangerous chars.
src/octop/infra/gateway/media/inbound_store.py:360
↓ 3 callersFunctionsave
(path: Path, state: CLIState)
src/octop/cli/support/state.py:34
↓ 3 callersMethodsave
(next Settings)
desktop/src/settings.go:90
↓ 3 callersFunctionsave_config
(settings_set: Any, config: OnnxServiceConfig)
src/octop/infra/agents/providers/onnx_service.py:439
↓ 3 callersMethodsave_text
(self, content: str)
src/octop/infra/agents/security/tool_guard_rules.py:44
↓ 3 callersFunctionscheduleReconnect
()
dashboard/src/hooks/useDashboardPushToast.tsx:71
↓ 3 callersMethodscroll
(self, x: int, y: int, *, delta_x: float, delta_y: float)
src/octop/infra/desktop/input.py:210
↓ 3 callersMethodsegments
(self, thread_id: str)
src/octop/infra/history/store.py:91
↓ 3 callersFunctionselectEnabledExperts
( agents: OctopAgent[], resolvedAgentId: string | null | undefined, options: EnabledExpertsOptions = {},
dashboard/src/context/AgentContext.tsx:107
↓ 3 callersFunctionsendInput
(id: string, data: string)
dashboard/src/pages/Control/Terminal/useTerminal.ts:500
↓ 3 callersFunctionsendResize
(id: string, cols: number, rows: number)
dashboard/src/pages/Control/Terminal/useTerminal.ts:511
↓ 3 callersFunctionsetConnState
(session: TerminalSession, state: TerminalConnState)
dashboard/src/pages/Control/Terminal/useTerminal.ts:205
↓ 3 callersFunctionsetModuleSessions
( updater: Session[] | ((prev: Session[]) => Session[]), )
dashboard/src/pages/Chat/hooks/useSessions.ts:167
↓ 3 callersMethodset_active
(self, *, stt: str | None = None, tts: str | None = None)
src/octop/infra/voice/manager.py:39
↓ 3 callersMethodset_email
(self, user_id: int, email: str | None)
src/octop/infra/db/repos/users.py:289
↓ 3 callersMethodset_enabled
Toggle global plugin enablement in ``config.json`` and load/unload registry.
src/octop/infra/agents/plugins/manager.py:329
↓ 3 callersMethodset_icon_url
Persist display avatar URL without reloading the harness agent.
src/octop/infra/agents/manager.py:713
↓ 3 callersMethodset_locale
(self, user_id: int, locale: str)
src/octop/infra/db/repos/users.py:293
↓ 3 callersMethodset_pinned
(self, thread_id: str, pinned: bool)
src/octop/infra/db/repos/threads.py:250
↓ 3 callersMethodset_preferences_json
(self, user_id: int, preferences_json: str)
src/octop/infra/db/repos/users.py:297
↓ 3 callersFunctionset_sso_state_cookie
(response: JSONResponse, request: Request, state: str)
src/octop/api/common/sso_cookie.py:20
↓ 3 callersMethodset_title_if_null
(self, thread_id: str, title: str)
src/octop/infra/gateway/threads.py:322
↓ 3 callersFunctionshared_mcp_server_name
(parent_instance_id: str, server_name: str)
src/octop/infra/connectors/custom_mcp.py:37
↓ 3 callersFunctionshouldBlockHistoryRefresh
(opts: { isStreaming: boolean; hasLiveSocket: boolean; })
dashboard/src/pages/Chat/hooks/wsResumeGate.ts:65
↓ 3 callersFunctionshouldResumeStreamAfterClose
(opts: { intentionalClose: boolean; isStreaming: boolean; threadId: string | null | undefined; /** 0-b
dashboard/src/pages/Chat/hooks/wsResumeGate.ts:19
↓ 3 callersMethodshowWindow
()
desktop/src/main.go:219
↓ 3 callersMethodshutdown
(self)
src/octop/infra/agents/manager.py:452
↓ 3 callersFunctionskillDirectoryPath
( detail: Pick<SkillDetail, "kind" | "slug">, )
dashboard/src/pages/Agent/Skills/skillMarkdown.ts:31
↓ 3 callersFunctionskills_disabled_set
Return the set of disabled skill slugs from agent config.
src/octop/infra/agents/manager.py:104
↓ 3 callersFunctionsnap_task_examples
Keep exactly 3 or 6 bilingual examples (4–5 pad to 6; fewer pad to 3).
src/octop/infra/agents/experts/catalog.py:591
↓ 3 callersFunctionsortTodoItems
(items: TodoListItem[])
dashboard/src/utils/parseWriteTodos.ts:162
↓ 3 callersFunctionspawn
(bag)
src/octop/infra/agents/plugins/bundled/tetris/ui/index.js:105
↓ 3 callersFunctionspec_for
(name: str)
src/octop/infra/gateway/slash/catalog.py:258
↓ 3 callersFunctionsql_unix_day_bucket
Expression that buckets a unix-epoch integer column into YYYY-MM-DD.
src/octop/infra/db/repos/_base.py:67
↓ 3 callersFunctionstamp_turn_knowledge_config
Write this turn's knowledge-base selection onto the harness request.
src/octop/infra/knowledge/default_open.py:38
↓ 3 callersMethodstart
(self)
tests/support/fakes.py:472
↓ 3 callersMethodstart_download
(self, model_name: str)
src/octop/infra/agents/providers/onnx_service.py:487
↓ 3 callersMethodstop
(self)
tests/support/fakes.py:475
↓ 3 callersFunctionstripVirtualWorkspaceRoot
(posix: string)
dashboard/src/utils/workspaceIoPath.ts:45
↓ 3 callersFunctionstrip_thinking
Remove tagged or malformed thinking prefixes from model output. Some OpenAI-compatible model routers return reasoning in ordinary ``content``
src/octop/infra/utils/llm_text.py:21
↓ 3 callersFunctionsubagentAccentIconStyle
(accent: string)
dashboard/src/utils/expertColor.ts:111
↓ 3 callersMethodsubscribe
(self, thread_id: str)
src/octop/infra/trajectory/live.py:14
↓ 3 callersFunctionsupersede_user_stream
Close any still-open stream for *user_id* before starting a new one.
src/octop/infra/desktop/session.py:49
↓ 3 callersFunctionsyncDocumentLang
(locale: UiLocale)
dashboard/src/utils/localePrefs.ts:55
↓ 3 callersFunctionsync_octop_builtin_skills
Overwrite Octop-owned built-ins and remove superseded runtime copies.
src/octop/infra/agents/builtin_skills/__init__.py:28
↓ 3 callersFunctionsync_providers_to_harness
Apply *providers* to the harness manager's shared model factory.
src/octop/infra/agents/providers/harness_factory.py:16
↓ 3 callersMethodsync_skill_package_dirs
Hot-update ``skills_dir`` on the running harness agent (no rebuild).
src/octop/infra/agents/manager.py:1834
↓ 3 callersMethodsynthesize
( self, text: str, *, voice_id: str | None = None, speed: float = 1.0,
src/octop/infra/voice/manager.py:124
↓ 3 callersMethodtake_login_state
Atomically claim a login state for one callback attempt.
src/octop/infra/db/repos/sso.py:309
↓ 3 callersFunctiontc3_headers
( *, secret_id: str, secret_key: str, service: str, host: str, action: str, versio
src/octop/infra/utils/tencent_sign.py:12
↓ 3 callersFunctiontencent_api_language
``X-TC-Language`` value for Tencent Cloud common errors, or ``None``.
src/octop/i18n/domains/voice.py:9
↓ 3 callersFunctiontestProviderDraft
( params: TestProviderDraftParams, )
dashboard/src/pages/Settings/Models/providerApi.ts:19
↓ 3 callersFunctiontimeZoneOptions
( timeZone?: string, )
dashboard/src/utils/formatMessageTime.ts:36
↓ 3 callersFunctiontoMediaPreviewSource
( path: string, options?: { agentId?: string | null; fromWorkspace?: boolean }, )
dashboard/src/utils/toolMediaBlocks.ts:82
↓ 3 callersFunctiontoggleEnabled
(next: boolean)
dashboard/src/pages/Admin/Users/SsoPanel.tsx:221
↓ 3 callersFunctiontoggleExpertMention
( text: string, name: string, )
dashboard/src/pages/Chat/utils/expertMention.ts:72
↓ 3 callersFunctiontoolIndexKey
Start or update a tool-call bubble. Prefer harness ``id`` over ``index`` so * parallel tool calls do not share name/args.
dashboard/src/pages/Chat/hooks/chatStore.ts:1153
↓ 3 callersMethodtouch_last_active
(self, thread_id: str)
src/octop/infra/gateway/threads.py:346
↓ 3 callersMethodtranscribe
( self, audio: bytes, *, mime: str, language: str = "zh-CN", p
src/octop/infra/voice/manager.py:92
↓ 3 callersFunctiontrayLeftClickShowsSettings
trayLeftClickShowsSettings reports whether a primary click on the system tray / menu-bar extra should open the settings popover. On macOS the icon li
desktop/src/tray_click.go:9
↓ 3 callersFunctiontriggerInstall
()
dashboard/src/pwa-prompt.ts:110
↓ 3 callersFunctiontryMove
(state, dx, dy, drot)
src/octop/infra/agents/plugins/bundled/tetris/ui/index.js:126
↓ 3 callersFunctionturn_usage_from_messages
Sum every AI model call after the last user message.
src/octop/infra/gateway/process/usage_record.py:183
↓ 3 callersMethodunbind_sso_identity
(self, *, user_id: int, kind: str)
src/octop/infra/users/manager.py:374
↓ 3 callersMethoduninstall
(self, plugin_id: str)
src/octop/infra/agents/plugins/manager.py:529
↓ 3 callersMethodupdate_composer
( self, thread_id: str, *, model_ref: str | None | object = ..., reaso
src/octop/infra/db/repos/threads.py:257
↓ 3 callersMethodupdate_title
(self, thread_id: str, title: str)
src/octop/infra/db/repos/threads.py:243
↓ 3 callersMethodupsert_provider
( self, *, enabled: bool, display_name: str, issuer: str, clie
src/octop/infra/db/repos/sso.py:131
↓ 3 callersMethodupsert_sso_identity
Link ``(provider_id, subject)`` to ``user_id`` (one subject per provider).
src/octop/infra/db/repos/users.py:169
↓ 3 callersFunctionuseAgentThreadChat
(agentId: string | null)
dashboard/src/hooks/useAgentThreadChat.ts:13
↓ 3 callersFunctionuseAsyncResource
( initialValue: T, fetcher: () => Promise<T>, deps: React.DependencyList, options?: UseAsyncResourceOp
dashboard/src/hooks/useAsyncResource.ts:15
↓ 3 callersFunctionuseChat
( sessionId: string | null, agentId: string | null = null, )
dashboard/src/pages/Chat/hooks/useChat.ts:758
↓ 3 callersFunctionuseChatNavigation
({ routeAgentId, threadId, resolvedAgentId, activeThreadId, sessions, sessionsLoading, prefillIn
dashboard/src/pages/Chat/hooks/useChatNavigation.ts:30
↓ 3 callersFunctionuseChatSidebarOpen
()
dashboard/src/pages/Chat/hooks/useChatSidebarState.ts:88
↓ 3 callersFunctionuseElapsedSince
(startedAt: number)
dashboard/src/hooks/useElapsedSeconds.ts:4
↓ 3 callersFunctionuseGatedSearchTabs
({ tabs, tabPermissions, parseTab, querylessKey, }: { tabs: readonly TTab[]; tabPermissions: Recor
dashboard/src/hooks/useGatedSearchTabs.ts:11
← previousnext →1,901–2,000 of 12,485, ranked by callers