MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 3 callersFunction_expected_default_backend
(manager: AgentManager, agent_id: str)
tests/unit/agents/test_agent_manager.py:38
↓ 3 callersFunction_expert_text_contents
Lazy-read expert seed file bodies (``Expert`` no longer eagerly stores them).
tests/live/test_agent_expert_template_live.py:51
↓ 3 callersFunction_extract_zip
(zip_bytes: bytes, target_dir: Path)
src/octop/infra/agents/experts/skillhub_market.py:710
↓ 3 callersFunction_fail
(exc: Exception)
src/octop/cli/commands/service.py:41
↓ 3 callersFunction_file_block_path
Resolve the path to store on a slimmed file block. Prefer an explicit absolute / ``file://`` path from the tool (BackendWorkspace can read it
src/octop/infra/gateway/media/tool_media.py:383
↓ 3 callersMethod_finalize_assistant
(self, thread_id: str, *, clear_only: bool = False)
src/octop/infra/trajectory/service.py:225
↓ 3 callersFunction_find_elements
(root, tag: str)
src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/helpers/merge_runs.py:42
↓ 3 callersFunction_find_elements
(root, tag: str)
src/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/helpers/merge_runs.py:42
↓ 3 callersFunction_find_elements
(root, tag: str)
src/octop/infra/agents/experts/library/office-automation/skills/xlsx/scripts/office/helpers/merge_runs.py:42
↓ 3 callersFunction_font
(*, bold: bool = False, size: int = 11, color: str | None = None)
src/octop/infra/usage/xlsx_export.py:39
↓ 3 callersFunction_force_linux
(monkeypatch)
tests/unit/desktop/test_input.py:10
↓ 3 callersFunction_force_linux
(monkeypatch)
tests/unit/desktop/test_capture.py:13
↓ 3 callersFunction_fs_backend
(ws: Path)
tests/unit/agents/test_agent_manager.py:283
↓ 3 callersFunction_get_agent
(agent_id: str)
tests/support/harness.py:90
↓ 3 callersFunction_get_feishu_state
(agent_id: str)
src/octop/api/routers/channels.py:771
↓ 3 callersMethod_get_or_load_mcp_tools
Load custom MCP tools once per user/server/fingerprint; share across agents.
src/octop/infra/agents/manager.py:1312
↓ 3 callersFunction_get_yuanbao_state
(agent_id: str)
src/octop/api/routers/channels.py:919
↓ 3 callersFunction_home
()
src/octop/infra/agents/experts/library/meituan-living-assistant/skills/meituan-deals/scripts/plugin_version_lite.py:47
↓ 3 callersFunction_http_get
(url: str, *, accept: str)
src/octop/infra/agents/experts/skillhub_market.py:491
↓ 3 callersFunction_http_text_get
(url: str, params: dict[str, Any] | None = None)
src/octop/infra/skills/skills_hub.py:275
↓ 3 callersFunction_hub_base_url
()
src/octop/infra/skills/skills_hub.py:142
↓ 3 callersFunction_icon_url
(value: str)
src/octop/api/routers/skill_packages.py:205
↓ 3 callersFunction_imap_login
(creds: dict[str, Any])
src/octop/infra/connectors/gateway/adapters/qq_mail.py:176
↓ 3 callersFunction_insert_dashboard_session
(gateway: Gateway, *, thread_id: str = "thr_dash")
tests/unit/gateway/test_gateway_push.py:194
↓ 3 callersFunction_insert_user_policy_row
(conn: Any, *, user_id: int, name: str, value: str, ts: int)
src/octop/infra/db/migrate.py:1277
↓ 3 callersFunction_instance_to_dict
(inst: Any)
src/octop/api/routers/connectors.py:277
↓ 3 callersFunction_is_history_noise_image_block
True for vision blocks that must not appear as user-authored history text.
src/octop/api/routers/chat/serialize.py:118
↓ 3 callersFunction_is_host_absolute
(path: str)
src/octop/infra/gateway/media/backend_files.py:391
↓ 3 callersFunction_is_host_root
True when *root* is an explicitly host-rooted local backend path. Only an *explicit* ``/``, ``\\`` or empty string counts (the dashboard's de
src/octop/infra/backend/resolver.py:68
↓ 3 callersFunction_is_linux
()
src/octop/infra/browser/setup.py:27
↓ 3 callersFunction_is_offload_placeholder_block
True when *block* is a ``MediaOffloadMiddleware`` placeholder. The middleware rewrites an inline image/audio block into a single text block o
src/octop/api/routers/chat/serialize.py:61
↓ 3 callersFunction_is_run
(node)
src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/helpers/merge_runs.py:147
↓ 3 callersFunction_is_run
(node)
src/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/helpers/merge_runs.py:147
↓ 3 callersFunction_is_run
(node)
src/octop/infra/agents/experts/library/office-automation/skills/xlsx/scripts/office/helpers/merge_runs.py:147
↓ 3 callersFunction_isolated_sqlite_checkpoint_messages
Read the newest SQLite checkpoint through a separate read-only connection. ``None`` means the harness is not backed by a discoverable SQLite save
src/octop/api/routers/chat/serialize.py:392
↓ 3 callersFunction_job
( *, cron_repo: CronJobRepo, audit: AuditRepo, cid: str, session_key: str, delivery_se
tests/unit/cron/test_cron_job.py:57
↓ 3 callersFunction_join_url
(base: str, path: str)
src/octop/infra/skills/skills_hub.py:174
↓ 3 callersMethod_json_response
Write a JSON HTTP response with permissive CORS headers.
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/cluster_patrol_server.py:180
↓ 3 callersMethod_json_response
(self, data, status=200)
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/patrol_server.py:94
↓ 3 callersFunction_label
(locale: Locale, key: str)
src/octop/infra/usage/xlsx_export.py:35
↓ 3 callersFunction_launchd_bootstrap
(runtime: ServiceRuntime)
src/octop/infra/setup/service.py:658
↓ 3 callersFunction_live_wire
(message: Any)
src/octop/infra/history/recorder.py:29
↓ 3 callersFunction_load_fixture
(name: str)
tests/unit/trajectory/test_projector.py:27
↓ 3 callersFunction_log_success
(step: str, message: str, **extra: object)
src/octop/infra/gateway/bot_creators/yuanbao_bot_creator.py:106
↓ 3 callersFunction_log_success
(step: str, message: str, **extra: Any)
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:99
↓ 3 callersFunction_make_agent_manager
(agent: MagicMock)
tests/unit/proactive/test_proactive_service.py:120
↓ 3 callersFunction_make_gateway
(tmp_path: Path)
tests/unit/gateway/test_gateway_probe.py:19
↓ 3 callersFunction_make_manager
Minimal AgentManager with fakes — no DB, no harness runtime. Workspace creation raises a sentinel RuntimeError so tests can assert exactly ho
tests/unit/agents/test_custom_agent_id.py:43
↓ 3 callersFunction_make_migration_backup
Build a fake LightClaw migration backup at *dest*; return source_pool.
tests/unit/backup/test_system_archive.py:841
↓ 3 callersFunction_make_services
(tmp_path: Path)
tests/unit/gateway/test_gateway.py:24
↓ 3 callersFunction_make_tool
(name: str, description: str = "demo tool")
tests/unit/test_plugins.py:101
↓ 3 callersFunction_manager_script
()
tests/unit/agents/test_octop_builtin_skills.py:21
↓ 3 callersFunction_manifest_skill_slugs
(manifest: dict[str, Any])
src/octop/infra/agents/experts/skillhub_market.py:650
↓ 3 callersMethod_mark_changed
(self, wire: dict[str, Any])
src/octop/infra/history/recorder.py:82
↓ 3 callersFunction_new_id
(prefix: str, label: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:310
↓ 3 callersFunction_normalize_sha256
(label: str, value: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:357
↓ 3 callersFunction_normalized_issuer
(issuer: str)
src/octop/infra/auth/sso/discovery.py:14
↓ 3 callersFunction_notifications_ws
(c: Any, auth: dict[str, str] | None = None)
tests/integration/test_notifications_ws.py:26
↓ 3 callersFunction_notify
()
dashboard/src/pwa-prompt.ts:50
↓ 3 callersFunction_numeric
(value: object)
src/octop/infra/trajectory/metrics.py:25
↓ 3 callersMethod_observe_trajectory
( self, *, agent_id: str, thread_id: str, chunk: dict[str, Any],
src/octop/infra/gateway/process/processor.py:228
↓ 3 callersFunction_optional_clean
(label: str, value: str, *, fallback: str, max_length: int = 240)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:344
↓ 3 callersFunction_pair_from_blob
( blob: dict[str, Any], secret_repo: SecretRepo, slug: str )
src/octop/infra/auth/captcha/store.py:89
↓ 3 callersFunction_parse_hhmm
Parse an HH:MM time string.
src/octop/infra/proactive/scheduler.py:38
↓ 3 callersFunction_parse_https_host
(url: str)
src/octop/infra/utils/ssrf_guard.py:20
↓ 3 callersFunction_parse_jsonl_ts
(ts: str | None)
src/octop/api/routers/chat/serialize.py:616
↓ 3 callersFunction_parse_tencent_credentials
(row: VoiceProviderRow)
src/octop/infra/voice/adapters.py:41
↓ 3 callersFunction_patch_client
(monkeypatch: pytest.MonkeyPatch, handler: httpx.MockTransport)
tests/unit/utils/test_search_probe.py:11
↓ 3 callersFunction_patch_harness
Patch HarnessAgentManager constructor so boot() doesn't touch real harness.
tests/unit/agents/test_agent_registry.py:57
↓ 3 callersFunction_path_within_base
True when *resolved* equals *base* or is a subdirectory (normcase-safe). Uses ``startswith`` after ``os.path.realpath`` so CodeQL treats this as
src/octop/infra/utils/host_dirs.py:85
↓ 3 callersFunction_payload
(data: dict[str, Any], text: str)
src/octop/infra/agents/plugins/bundled/fortune/main.py:36
↓ 3 callersFunction_payload
(data: dict[str, Any], text: str)
src/octop/infra/agents/plugins/bundled/market-quotes/main.py:19
↓ 3 callersFunction_pcfg
(key: str)
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:70
↓ 3 callersMethod_persist_incomplete_turn
Keep partial tokens (and any error) when a turn is stopped or fails.
src/octop/infra/gateway/process/processor.py:1414
↓ 3 callersFunction_pg_payload_from_url
(url: str)
tests/integration/test_postgresql_control_plane.py:37
↓ 3 callersFunction_plain_text_image_path
(text: str)
src/octop/infra/gateway/media/tool_media.py:484
↓ 3 callersFunction_platform
()
src/octop/infra/agents/experts/library/meituan-living-assistant/skills/meituan-deals/scripts/plugin_version_lite.py:37
↓ 3 callersFunction_platform_key
()
src/octop/infra/utils/docker_env.py:38
↓ 3 callersFunction_positive_int
(value: Any)
src/octop/infra/agents/runtime_limits.py:33
↓ 3 callersFunction_prepare_credentials
( kind: str, credentials: dict[str, Any], settings_repo: Any, )
src/octop/api/routers/connectors.py:295
↓ 3 callersMethod_prepare_docker_backend
Inject Octop docker defaults (prefix / agent_id / username) without overwrite.
src/octop/infra/agents/manager.py:2389
↓ 3 callersFunction_present_status
( cached: dict[str, Any], *, stable_only: bool, include_prerelease: bool, )
src/octop/api/routers/update.py:92
↓ 3 callersMethod_preserve_system_files_path
Keep ``system_files_path`` as an internal layout control. User-facing config updates must not introduce, remove, or rewrite the store
src/octop/infra/agents/manager.py:633
↓ 3 callersFunction_probe_mcp_http_error
Map an HTTP status error from a remote MCP probe to a clear result. ``401``/``403`` are definitive auth rejections (bad key), everything else
src/octop/infra/connectors/probe.py:129
↓ 3 callersFunction_probe_mcp_mcp_error
Map an MCP-level error (e.g. server closing the initialize stream). ``Connection closed`` means the upstream dropped the SSE stream — a trans
src/octop/infra/connectors/probe.py:180
↓ 3 callersFunction_probe_row
(**overrides: Any)
tests/unit/providers/test_opencode_session.py:61
↓ 3 callersMethod_probe_row
( self, row: ChannelRow, *, locale: Locale = DEFAULT_LOCALE )
src/octop/infra/gateway/gateway.py:565
↓ 3 callersFunction_processor_with_stream
( stream: Callable[..., AsyncIterator[dict[str, Any]]], )
tests/unit/gateway/test_processor_resource_errors.py:34
↓ 3 callersFunction_profile_to_response
(p: MBTIProfile)
src/octop/api/routers/mbti.py:106
↓ 3 callersFunction_provider_for_config
(provider_repo: Any, config: OcrConfig)
src/octop/infra/knowledge/ocr.py:119
↓ 3 callersFunction_public_base
(request: Request)
src/octop/api/routers/invites.py:41
↓ 3 callersFunction_public_status
(payload: dict[str, Any])
src/octop/api/routers/update.py:88
↓ 3 callersMethod_publish
(self, event: TrajectoryEvent, *, final: bool = False)
src/octop/infra/trajectory/service.py:260
↓ 3 callersFunction_published_snapshot_dir
(server: Any, expert_id: str)
src/octop/api/routers/experts.py:304
↓ 3 callersFunction_python_deps_available
()
src/octop/infra/desktop/setup.py:374
↓ 3 callersFunction_raise_if_not_ok
(data: dict[str, Any], *, status: int = 500)
src/octop/api/routers/browser/record_replay.py:131
↓ 3 callersFunction_raise_name_taken
(name: str)
src/octop/api/routers/connectors.py:441
↓ 3 callersFunction_raising
(exc: Exception)
tests/unit/test_voice_probe.py:52
↓ 3 callersFunction_read_host_file_bytes
Best-effort host read when BackendWorkspace cannot open a Windows abs path.
src/octop/infra/gateway/media/backend_files.py:403
↓ 3 callersFunction_read_json
(path: Path)
src/octop/infra/agents/experts/library/meituan-living-assistant/skills/meituan-deals/scripts/plugin_version_lite.py:51
← previousnext →1,401–1,500 of 12,485, ranked by callers