MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 1 callersFunction_run_fpk_upgrade
FnOS FPK 部署下的在线升级:把新版安装到 launcher 实际加载的打包目录。 launcher 通过 PYTHONPATH 从应用中心托管的打包 site-packages 加载 octop, 在线安装到系统 Python 永远不会被加载(重启后仍是旧版)。本函数把新版
src/octop/infra/setup/self_update.py:510
↓ 1 callersFunction_run_input
(action: Any)
src/octop/api/routers/desktop/stream.py:67
↓ 1 callersFunction_run_install
(argv: list[str])
src/octop/infra/utils/bwrap.py:57
↓ 1 callersFunction_run_install
(argv: list[str])
src/octop/infra/utils/docker_env.py:93
↓ 1 callersFunction_run_install_command
(cmd: list[str], *, timeout: int)
src/octop/infra/utils/runtime_packages.py:159
↓ 1 callersMethod_run_loop
The scheduling loop for a single agent. After each push completes, immediately compute the next trigger time and wait.
src/octop/infra/proactive/scheduler.py:274
↓ 1 callersFunction_run_pull_in_background
Execute the Ollama pull in a thread and update task status.
src/octop/api/routers/ollama_models.py:149
↓ 1 callersFunction_run_repl_turn
(chat: CliChatSession, agent: str, text: str)
src/octop/cli/commands/chats.py:286
↓ 1 callersFunction_run_scenarios
()
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/simulate_weixin_flow.py:151
↓ 1 callersFunction_run_turn
( agent_id: str, prompt: str, *, session_key: str, thread_id: str | None, model: str |
src/octop/cli/commands/chats.py:15
↓ 1 callersFunction_run_uvicorn
Indirection seam for tests; the real implementation runs uvicorn.
src/octop/cli/commands/run.py:18
↓ 1 callersFunction_run_validation
( unpacked_dir: Path, original_file: Path, suffix: str, infer_author_func=None, )
src/octop/infra/agents/experts/library/office-automation/skills/pptx/scripts/office/pack.py:67
↓ 1 callersFunction_run_validation
( unpacked_dir: Path, original_file: Path, suffix: str, infer_author_func=None, )
src/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/office/pack.py:67
↓ 1 callersFunction_run_validation
( unpacked_dir: Path, original_file: Path, suffix: str, infer_author_func=None, )
src/octop/infra/agents/experts/library/office-automation/skills/xlsx/scripts/office/pack.py:67
↓ 1 callersFunction_runners_response
(raw_runners: dict[str, Any])
src/octop/infra/agents/acp_settings.py:123
↓ 1 callersFunction_runtime_scripts_present
()
src/octop/infra/desktop/setup.py:452
↓ 1 callersFunction_safe_fallback_name
(raw: str)
src/octop/infra/skills/skills_hub.py:606
↓ 1 callersFunction_safe_profile_directory
Return a profile directory guaranteed to live under profiles_root.
src/octop/api/routers/channels.py:352
↓ 1 callersFunction_safe_rel_path
Reject empty, absolute, or parent-escaping object paths.
src/octop/infra/agents/providers/onnx_download.py:296
↓ 1 callersFunction_safe_zip_name
(name: str)
src/octop/infra/backup/workspace_archive.py:22
↓ 1 callersFunction_safe_zip_path
(filename: str)
src/octop/infra/skills/skillhub_market.py:162
↓ 1 callersFunction_same_assistant_request
(current: TrajectoryEvent, incoming: TrajectoryEvent)
src/octop/infra/trajectory/service.py:314
↓ 1 callersFunction_sample_docx_bytes
()
tests/integration/test_workspace_api.py:19
↓ 1 callersFunction_sanitize_instance_id
(value: str)
src/octop/api/routers/channels.py:315
↓ 1 callersFunction_sanitize_ip_address
(value: str)
src/octop/api/routers/channels.py:324
↓ 1 callersFunction_sanitize_tree
(tree: Any)
src/octop/infra/skills/skills_hub.py:425
↓ 1 callersFunction_sanitize_unknown_method_error
(text: str)
src/octop/infra/connectors/gateway/adapters/wecom_cli.py:197
↓ 1 callersMethod_scan_legacy_flat_layout
Scan the pre-i18n layout (library/<division>/*.md) once.
src/octop/infra/agents/subagents/catalog.py:296
↓ 1 callersMethod_scan_locale
( self, locale: Locale, locale_root: Path, divisions: dict[str, DivisionMeta],
src/octop/infra/agents/subagents/catalog.py:315
↓ 1 callersFunction_schedule_linux_bubblewrap_ensure
Run bubblewrap provisioning once in the background on Linux.
src/octop/launch.py:33
↓ 1 callersMethod_scope
(self)
tests/support/http.py:43
↓ 1 callersFunction_scope_from_metadata
(metadata: dict[str, Any])
src/octop/infra/connectors/oauth/registry.py:28
↓ 1 callersFunction_score_answers
Score test answers and return (mbti_code, dimension_details).
src/octop/api/routers/mbti.py:617
↓ 1 callersFunction_search
(creds: dict[str, Any], args: dict[str, Any])
src/octop/infra/connectors/gateway/adapters/weknora.py:172
↓ 1 callersFunction_search_bangumi
(keyword: str, *, page: int = 1)
src/octop/infra/agents/plugins/bundled/bilibili-anime/main.py:39
↓ 1 callersFunction_seed_blob
(active: str = "recaptcha-v3")
tests/unit/cli/test_captcha_cmd.py:23
↓ 1 callersFunction_seed_live_provider
(services: object, cfg: LiveOpenAIConfig)
tests/live/conftest.py:79
↓ 1 callersFunction_seed_occupied_sqlite
Create a sibling SQLite control-plane DB that already has one user.
tests/integration/test_setup_database.py:19
↓ 1 callersFunction_seed_threads
(db: SqlitePool, *thread_ids: str, agent_id: str = "A1")
tests/unit/trajectory/test_trajectory_store.py:18
↓ 1 callersFunction_seed_threads
(db: SqlitePool, *thread_ids: str, agent_id: str = "A1")
tests/unit/trajectory/test_trajectory_event_repo.py:17
↓ 1 callersFunction_seed_threads
(db: SqlitePool, *thread_ids: str, agent_id: str = "A1")
tests/unit/trajectory/test_trajectory_service.py:23
↓ 1 callersFunction_selected_reasoning
( capability: dict[str, Any], *, mode: str | None, effort: str | None )
src/octop/infra/agents/providers/reasoning.py:144
↓ 1 callersFunction_send_bytes
(ws: WebSocket, payload: bytes)
src/octop/api/routers/mobile/stream.py:115
↓ 1 callersFunction_send_greeting
( app_id: str, app_secret: str, open_id: str, *, open_base: str, greeting: str )
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:145
↓ 1 callersMethod_send_media
(self, subject: ChannelSubject, media: ContentPart)
src/octop/infra/gateway/ws/ws_channel.py:195
↓ 1 callersMethod_sensitive_claims
( client: httpx.Client, *, access_token: str, user_ticket: str )
src/octop/infra/auth/sso/providers/wecom.py:163
↓ 1 callersFunction_sep
()
src/octop/infra/agents/experts/library/meituan-living-assistant/skills/meituan-deals/scripts/plugin_version_lite.py:33
↓ 1 callersFunction_serve
(server: Any)
src/octop/launch.py:52
↓ 1 callersMethod_serve_cluster_data
Return all patrol records as a JSON array.
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/cluster_patrol_server.py:75
↓ 1 callersMethod_serve_cluster_summary
Return aggregated cluster health statistics for the dashboard.
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/cluster_patrol_server.py:79
↓ 1 callersMethod_serve_patrol_data
返回全部巡检记录(JSON array)
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/patrol_server.py:51
↓ 1 callersMethod_serve_patrol_summary
返回统计摘要
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/patrol_server.py:56
↓ 1 callersMethod_server_lock
(self, user_id: int, server_name: str)
src/octop/infra/agents/manager.py:1303
↓ 1 callersFunction_services
(tmp_path: Path, name: str)
tests/unit/db/test_runtime_replace_services.py:22
↓ 1 callersFunction_set_welcome_enrichment_status
Persist enrichment status on agent config without forcing a harness reload.
src/octop/infra/agents/experts/market_creation.py:135
↓ 1 callersFunction_set_winsize
(fd: int, cols: int, rows: int)
src/octop/api/routers/mobile/shell_ws.py:30
↓ 1 callersFunction_settings_set
(server: Any)
src/octop/api/routers/onnx_models.py:68
↓ 1 callersFunction_setup_libreoffice_macro
()
src/octop/infra/agents/experts/library/office-automation/skills/docx/scripts/accept_changes.py:93
↓ 1 callersFunction_shell_env
(*, shell: str)
src/octop/api/routers/terminal.py:180
↓ 1 callersFunction_short_hash
(value: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:306
↓ 1 callersFunction_short_offload_path
Compat wrapper; prefer ``CompactResult.display_path`` from harness.
src/octop/infra/gateway/slash/handlers/composite.py:50
↓ 1 callersFunction_should_probe_embedding
(row: Any, *, model_id: str, embedding: bool | None)
src/octop/infra/agents/providers/probe.py:136
↓ 1 callersFunction_should_send_imap_id
(imap: imaplib.IMAP4_SSL, host: str)
src/octop/infra/connectors/gateway/adapters/qq_mail.py:163
↓ 1 callersFunction_should_skip_path
( rel: Path, *, skip_chats: bool, system_files_path: str = "", )
src/octop/infra/backup/system_archive.py:92
↓ 1 callersFunction_sign_headers
(*, body: str, authorization: str, timestamp_ms: str)
src/octop/infra/connectors/gateway/adapters/fliggy.py:138
↓ 1 callersFunction_signing_key
(id_token: str, *, jwks_uri: str, httpx: httpx_module.Client)
src/octop/infra/auth/sso/id_token.py:14
↓ 1 callersFunction_skill_expert_ids
(catalog: ExpertCatalog)
tests/live/test_agent_expert_template_live.py:24
↓ 1 callersFunction_skill_manifest_path
(name: str, kind: str, workspace: Any)
src/octop/api/routers/skills.py:179
↓ 1 callersFunction_skill_packages_identity_ready
(db: DatabasePool)
src/octop/infra/db/migrate.py:272
↓ 1 callersFunction_skill_roots
(root: Path)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:360
↓ 1 callersFunction_skill_slug
(name: str, fallback: str = "")
src/octop/infra/skills/skills_hub.py:1376
↓ 1 callersFunction_skillhub_search
(query: str, limit: int)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:596
↓ 1 callersFunction_slider
(source: Source, stored_active: str | None, env: CaptchaEnv)
src/octop/infra/auth/captcha/store.py:109
↓ 1 callersMethod_snapshot_task
(self)
src/octop/infra/setup/tls/manager.py:72
↓ 1 callersFunction_spawn
(command: list[str], *, display: str | None)
src/octop/infra/desktop/input.py:329
↓ 1 callersFunction_spawn_pty_session
Create a PTY pair, spawn the shell at ``workspace_dir`` (pump not started). Caller must subscribe then call :meth:`_PtySession.start_pump` so an
src/octop/api/routers/terminal.py:269
↓ 1 callersFunction_split_pg_sql
(sql: str)
src/octop/infra/db/migrate.py:23
↓ 1 callersFunction_split_sql_statements
(sql: str)
src/octop/infra/db/pool.py:129
↓ 1 callersFunction_spool_users
(src: Any, spool: sqlite3.Connection, *, dialect: str)
src/octop/infra/backup/chats.py:177
↓ 1 callersFunction_sqlite_references_threads
(db: DatabasePool, table: str)
src/octop/infra/db/migrate.py:1405
↓ 1 callersFunction_sse
(event: dict[str, object])
src/octop/infra/browser/setup.py:23
↓ 1 callersFunction_sse
(event: dict[str, object])
src/octop/infra/mobile/setup.py:210
↓ 1 callersFunction_sse
(*events: dict[str, Any])
tests/unit/api/test_voice_mimo.py:47
↓ 1 callersFunction_sse_keepalive
()
src/octop/api/routers/internal_mcp.py:120
↓ 1 callersFunction_sse_named
(event: str, data: Any, *, sse_id: int | None = None)
src/octop/api/routers/chat/trajectory.py:156
↓ 1 callersFunction_stable_event_id
(event: TrajectoryEvent, seq: int)
src/octop/infra/trajectory/service.py:288
↓ 1 callersFunction_start_len
(buf: bytes | bytearray, idx: int)
src/octop/infra/mobile/h264.py:50
↓ 1 callersFunction_start_ollama_server
Try to start ``ollama serve`` in the background.
src/octop/infra/utils/ollama_manager.py:86
↓ 1 callersFunction_start_session_pump
Begin PTY fan-out after the first subscriber is attached.
src/octop/api/routers/terminal.py:337
↓ 1 callersFunction_step_description
(section: str)
src/octop/infra/agents/experts/skillhub_market.py:1197
↓ 1 callersFunction_stored_bool
(settings: SettingsRepo, key: str, *, default: bool)
src/octop/infra/agents/media_generation.py:34
↓ 1 callersFunction_stored_from_inbound
(inbound: InboundFile, *, owner_id: int = 0)
src/octop/api/common/attachments.py:25
↓ 1 callersFunction_stream
()
src/octop/api/routers/voice.py:142
↓ 1 callersFunction_stream_frames
( ws: WebSocket, *, device: str, quality: int, max_fps: float, max_side: int, fram
src/octop/api/routers/mobile/stream.py:149
↓ 1 callersFunction_stream_h264
( ws: WebSocket, *, device: str, frame_dims: list[int], first_frame: asyncio.Event, )
src/octop/api/routers/mobile/stream.py:202
↓ 1 callersFunction_stream_loop
( ws: WebSocket, sess: Any, profile: str, *, listen_only: bool, )
src/octop/api/routers/browser/stream.py:133
↓ 1 callersFunction_stream_loop
( ws: WebSocket, session: DesktopSession, *, quality: int, max_fps: float, frame_dims:
src/octop/api/routers/desktop/stream.py:101
↓ 1 callersMethod_stream_message
(self)
src/octop/infra/gateway/process/history_projection.py:199
↓ 1 callersMethod_string
( body: Mapping[str, object], name: str, current: SsoProviderRow | None, defau
src/octop/infra/auth/sso/service.py:460
↓ 1 callersFunction_string_list
(value: object)
src/octop/infra/connectors/gateway/adapters/tencent_ima.py:448
← previousnext →4,301–4,400 of 12,485, ranked by callers