MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 5 callersFunctionnormalize_weiyun_mcp_token
Extract MCP token from pasted env vars or WyHeader snippets.
src/octop/infra/connectors/builder.py:30
↓ 5 callersFunctionnormalize_workspace_download_path
Backend-relative path for workspace download; rejects host absolute paths.
src/octop/infra/gateway/media/backend_files.py:181
↓ 5 callersFunctionnormalize_workspace_root_dir
Return a canonical host path, or ``None`` when unrestricted. Setting a non-empty root is refused in container deployments — the container fil
src/octop/infra/users/resource_policy.py:94
↓ 5 callersFunctionnotifyConnectorsChanged
()
dashboard/src/pages/Agent/Connectors/customMcpUtils.ts:260
↓ 5 callersFunctionoauth_configured
(spec: dict[str, Any])
src/octop/infra/connectors/custom_mcp.py:232
↓ 5 callersMethodobserve
()
dashboard/src/test/setup.ts:81
↓ 5 callersFunctionoctopHome
()
desktop/src/settings.go:37
↓ 5 callersFunctionoctop_browser_profiles_dir
Shared Chrome profiles root: ``~/.octop/browser-profiles``. Profiles live under one Octop-owned root and are named ``user-<id>``. A pre-isola
src/octop/infra/utils/browser_media.py:84
↓ 5 callersFunctiononDelete
(row: UserRow)
dashboard/src/pages/Admin/Users/UsersListPanel.tsx:1201
↓ 5 callersFunctiononDownload
(row: BackupFileItem)
dashboard/src/pages/Settings/BackupRestore/index.tsx:340
↓ 5 callersFunctionparseApiError
(error: unknown)
dashboard/src/utils/apiError.ts:10
↓ 5 callersFunctionparseOctopToolOutput
(output: unknown)
dashboard/src/plugins/toolRenderers/parseToolOutput.ts:19
↓ 5 callersFunctionparse_geometry
(value: str)
src/octop/infra/desktop/setup.py:256
↓ 5 callersFunctionparse_slash
Parse *text* as a slash command, or return ``None`` for ordinary text.
src/octop/infra/gateway/slash/parser.py:16
↓ 5 callersFunctionpersistNow
()
dashboard/src/pages/Control/Terminal/useTerminal.ts:178
↓ 5 callersMethodprepare_chat_mcp
Ensure requested MCP servers are configured and tools are loaded before chat. Custom MCP tools are loaded on demand and shared via a user-lev
src/octop/infra/agents/manager.py:1403
↓ 5 callersFunctionprobe_host_root_dir
Verify *path* exists; write-probe only when not filesystem root ``/``.
src/octop/infra/utils/host_dirs.py:229
↓ 5 callersMethodprojection_status
(self, thread_id: str)
src/octop/infra/db/repos/thread_messages.py:130
↓ 5 callersFunctionread_default_open
Return True only for an explicit boolean true.
src/octop/infra/connectors/default_open.py:9
↓ 5 callersFunctionread_file_block_reason
Return a rejection message when *path* must not be read via ``read_file``.
src/octop/infra/agents/middleware/binary_read_guard.py:76
↓ 5 callersFunctionread_workspace_avatar
(workspace: WorkspaceAvatarIO)
src/octop/infra/agents/avatar.py:106
↓ 5 callersFunctionreanchor_entry_path
Anchor a single-level listing entry under *parent* (the requested dir). A directory listing only carries entry names, so the dashboard must get
src/octop/api/common/workspace.py:100
↓ 5 callersMethodrecord_attempt
(self, client_id: str)
src/octop/infra/setup/wizard_tokens.py:59
↓ 5 callersFunctionrelease_session
Drop *session* only when it is still the active slot for *user_id*.
src/octop/infra/desktop/session.py:106
↓ 5 callersFunctionrenderQrAutoSaveStatus
(retrySave?: () => Promise<boolean>)
dashboard/src/pages/Agent/Channels/components/ChannelDrawer.tsx:1072
↓ 5 callersFunctionrequire_admin
Dependency factory: require the admin role (no module key).
src/octop/api/deps.py:222
↓ 5 callersFunctionresolve_binary
(name: str)
src/octop/infra/connectors/gateway/cli_runner.py:15
↓ 5 callersFunctionresolve_cli_acting_user_id
Resolve ``--user`` / pinned default_user / agent owner via local DB.
src/octop/cli/support/acting.py:10
↓ 5 callersFunctionresolve_cli_config_key
Return the CONFIG_DIR key for a connector CLI instance. Prefer ``cli_config_key``, then ``instance_id``. Never fall back to ``app_id`` / ``bo
src/octop/infra/connectors/gateway/cli_dirs.py:13
↓ 5 callersFunctionresolve_harness_session
Return a live :class:`harness_browser.BrowserSession` for ``profile_hint``. *profile_hint* must be a concrete profile name (``user-<id>``). Empty
src/octop/api/routers/browser/harness.py:65
↓ 5 callersFunctionresolve_locale
Pick locale: stored user preference wins, then explicit override, then channel hints.
src/octop/infra/utils/locale.py:22
↓ 5 callersFunctionresolve_preview_payload
Return ``(bytes, mime)`` for an allowed image/video preview source. Prefer workspace-relative ``outbound/`` / ``inbound/`` keys (reliable on ever
src/octop/infra/gateway/media/backend_files.py:412
↓ 5 callersMethodresolve_sqlite_path
Absolute path to the SQLite file (relative paths are under ``octop_root``).
src/octop/config.py:60
↓ 5 callersFunctionresolve_tls_paths
Return absolute cert/key paths when TLS is enabled and files exist.
src/octop/infra/setup/tls/store.py:19
↓ 5 callersMethodrun_now
(self, cron_id: str)
src/octop/infra/cron/manager.py:220
↓ 5 callersFunctionrun_preflight
Verify bind host, ports, and DNS before ACME issuance or renewal.
src/octop/infra/setup/tls/preflight.py:72
↓ 5 callersFunctionsanitize_plugin_tool_name
Return a legal LLM tool name for ``name``, unique against ``used``.
src/octop/infra/agents/plugin_tool_names.py:65
↓ 5 callersFunctionsanitize_plugin_tool_names
Rewrite illegal plugin tool names in place and return ``tools``. ``reserved`` holds names already taken by other tools on the same agent (cro
src/octop/infra/agents/plugin_tool_names.py:81
↓ 5 callersFunctionsaveFormDraft
( scope: string, values: Record<string, unknown>, )
dashboard/src/utils/formDraft.ts:31
↓ 5 callersMethodsave_runners
(self, user_id: int, runners: dict[str, Any])
src/octop/infra/agents/acp_settings.py:74
↓ 5 callersFunctionserver_enabled
(spec: dict[str, Any])
src/octop/infra/connectors/custom_mcp.py:48
↓ 5 callersFunctionsession_key_from_message
(msg: InboundMessage, *, agent_id: str)
src/octop/infra/gateway/process/message_keys.py:124
↓ 5 callersFunctionset_user_rotation
Lock auto-rotate and set ``user_rotation`` (0=0°, 1=90°, 2=180°, 3=270°).
src/octop/infra/mobile/adb.py:483
↓ 5 callersFunctionshell
(device: str, command: str, *, adb: str | None = None)
src/octop/infra/mobile/adb.py:542
↓ 5 callersFunctionshould_defer_control_plane_db
True when first-run setup should delay opening the control-plane DB. Defer only for greenfield SQLite installs with no existing DB file and no
src/octop/infra/db/factory.py:20
↓ 5 callersFunctionskill_display_name
(slug: str | None, locale: str | Locale = "en")
src/octop/i18n/domains/skills.py:13
↓ 5 callersMethodsnapshot
(self)
src/octop/infra/metrics.py:26
↓ 5 callersFunctionsniff_image_media_type
Detect common image formats when the client sends ``application/octet-stream``.
src/octop/infra/gateway/media/attachment_hints.py:98
↓ 5 callersFunctionsql_in_placeholders
``?, ?, ?`` for IN (...) clauses; swap ``?`` → ``%s`` when adding PostgreSQL.
src/octop/infra/db/repos/_base.py:62
↓ 5 callersMethodstart
Load agent into harness runtime (no-op config merge).
src/octop/infra/agents/manager.py:744
↓ 5 callersFunctionstoreUiLocale
(locale: UiLocale)
dashboard/src/utils/localePrefs.ts:42
↓ 5 callersFunctionstrip_profile_config
Return harness-only config, dropping Octop profile keys.
src/octop/infra/agents/profile.py:35
↓ 5 callersFunctionsynthesize_mimo
( row: VoiceProviderRow, text: str, *, voice_id: str | None, speed: float, )
src/octop/infra/voice/adapters.py:390
↓ 5 callersFunctiontextHasExpertMention
(text: string, name: string)
dashboard/src/pages/Chat/utils/expertMention.ts:24
↓ 5 callersFunctionthrowIfUnauthorized
* Handle 401 responses: clear token, redirect to login, and throw. * Shared by request(), requestBlob(), and requestUpload().
dashboard/src/api/request.ts:273
↓ 5 callersFunctiontoWorkspaceApiPath
(resolvedPath: string)
dashboard/src/utils/workspaceIoPath.ts:56
↓ 5 callersMethodto_dict
(self)
src/octop/infra/agents/providers/onnx_service.py:162
↓ 5 callersMethodto_markdown
(data: bytes)
src/octop/infra/utils/doc_edit.py:116
↓ 5 callersMethodtransaction
(self)
src/octop/infra/history/store.py:84
↓ 5 callersMethodupdate_base
(self, *_: object, **kw: object)
tests/unit/api/test_knowledge_bases.py:677
↓ 5 callersMethodupdate_config_json
Patch ``config_json`` and reload the harness runtime in the background.
src/octop/infra/agents/manager.py:1703
↓ 5 callersMethodupdate_status
(self, instance_id: str, status: str)
src/octop/infra/db/repos/connectors.py:174
↓ 5 callersFunctionuseAuthImageSrc
( url: string, filename?: string, )
dashboard/src/hooks/useAuthImageSrc.ts:104
↓ 5 callersFunctionuseLayoutMode
()
dashboard/src/context/LayoutModeContext.tsx:63
↓ 5 callersFunctionuseUpdateStatus
()
dashboard/src/hooks/useUpdateStatus.ts:30
↓ 5 callersMethodvalidate
(self, token: str | None)
src/octop/infra/setup/wizard_tokens.py:39
↓ 5 callersFunctionvalidate_boot
(env: CaptchaEnv, *, has_readable_blob: bool)
src/octop/infra/auth/captcha/config.py:66
↓ 5 callersFunctionverify_password
(plain: str, hashed: str)
src/octop/infra/users/password.py:41
↓ 5 callersFunctionwrite_document
(kb_id: str, doc_id: str, filename: str, content: bytes)
src/octop/infra/knowledge/files.py:26
↓ 4 callersMethodHide
()
desktop/src/dock_reopen.go:8
↓ 4 callersFunction_account_home
Home directory for ``user`` from passwd (not the installer's euid).
src/octop/infra/setup/service.py:212
↓ 4 callersFunction_act
(action: str, agent_id: str, as_user: str | None)
src/octop/cli/commands/agent.py:152
↓ 4 callersMethod_agent_config_dict
(self, row: AgentRow)
src/octop/infra/agents/manager.py:2344
↓ 4 callersMethod_agent_trajectory_enabled
(self, agent_id: str, row: Any | None = None)
src/octop/infra/gateway/process/processor.py:220
↓ 4 callersFunction_api_url
(path: str, params: dict[str, Any] | None = None)
src/octop/infra/agents/experts/skillhub_market.py:484
↓ 4 callersMethod_apply_pending_bootstrap_graph_refresh
Recompile harness graph after bootstrap once no stream is in progress.
src/octop/infra/agents/manager.py:2326
↓ 4 callersFunction_assert_workspace_mutable
Mutating ops always treat paths as workspace-relative (``from_workspace=true``).
src/octop/api/routers/workspace.py:39
↓ 4 callersFunction_backfill_agent_profile_from_config
Copy display metadata out of ``config_json`` into first-class columns.
src/octop/infra/db/migrate.py:206
↓ 4 callersFunction_bad_request
(exc: ValueError)
src/octop/api/routers/auth_oauth.py:59
↓ 4 callersFunction_base_payload
(server: OctopServer, row: Any)
src/octop/api/routers/knowledge_bases.py:175
↓ 4 callersFunction_bootstrap_pending_for
(server: Any, agent_id: str)
src/octop/api/routers/agents.py:91
↓ 4 callersFunction_build_log_handler
Create a daily + size-capped rotating file handler with retention.
src/octop/infra/server.py:160
↓ 4 callersFunction_bundled_script
(name: str)
src/octop/infra/desktop/setup.py:60
↓ 4 callersFunction_channel_row_to_dict
(row: Any)
src/octop/cli/support/offline_ops.py:52
↓ 4 callersFunction_clip_text
(text: str, max_chars: int)
src/octop/infra/agents/experts/skillhub_market.py:1245
↓ 4 callersFunction_command
(**overrides: object)
tests/unit/cron/test_cron_composer_context.py:48
↓ 4 callersMethod_connect
(self)
src/octop/infra/knowledge/index.py:37
↓ 4 callersFunction_create_active_track
(profile: ModuleType, root: Path)
tests/unit/agents/test_clinical_learning_subscription_template.py:535
↓ 4 callersFunction_current_version
(db: DatabasePool)
src/octop/infra/db/migrate.py:65
↓ 4 callersFunction_dashboard_session
()
tests/unit/cron/test_cron_composer_context.py:33
↓ 4 callersFunction_data_list
(payload: dict[str, Any])
src/octop/infra/connectors/gateway/adapters/weknora.py:118
↓ 4 callersFunction_desktop_uninstall_succeeded
True when optional Python deps and the Linux virtual stack are gone.
src/octop/infra/desktop/setup.py:478
↓ 4 callersFunction_destroy_session
Tear down a session: stop the pump, close the PTY, kill the shell. Idempotent — the ``closed`` flag makes consecutive calls safe. The check-a
src/octop/api/routers/terminal.py:377
↓ 4 callersFunction_docx_paragraph
(text: str)
tests/unit/knowledge/test_parse.py:27
↓ 4 callersFunction_docx_with_body
Write a .docx whose ``w:body`` holds *body_xml* verbatim. *alt_chunk* is ``(part_name, content_type, blob)`` for a part related as ``rId99``,
tests/unit/knowledge/test_parse.py:31
↓ 4 callersFunction_email_domain
(email: str)
src/octop/infra/connectors/mail_servers.py:30
↓ 4 callersFunction_embedding_row
(**overrides: Any)
tests/unit/test_provider_probe.py:36
↓ 4 callersFunction_enable_provider
( srv: Any, slug: str, *, site_key: str, secret: str, cam_id: str = "", cam_key: s
tests/integration/test_captcha_api.py:66
↓ 4 callersFunction_enabled_config
()
tests/unit/mobile/test_mobile_tools.py:26
↓ 4 callersFunction_enforce_wizard_token_phase
Allow wizard token operations while initial setup is still in progress.
src/octop/api/routers/setup.py:111
← previousnext →901–1,000 of 12,485, ranked by callers