MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 2 callersFunction_post
(creds: dict[str, Any], path: str, params: dict[str, Any])
src/octop/infra/connectors/gateway/adapters/qq_music.py:123
↓ 2 callersMethod_post_start_agent
( self, row: AgentRow, agent: HarnessAgent, cfg: HarnessAgentConfig, *
src/octop/infra/agents/manager.py:2250
↓ 2 callersMethod_preempt_cancel_on_stop
Signal harness cancel for ``/stop`` / ``/cancel`` before the session lock. Same-session IM turns are serialized by ChannelManager. Without th
src/octop/infra/gateway/gateway.py:491
↓ 2 callersFunction_prefix_bin_dir
(prefix: str)
src/octop/infra/connectors/gateway/cli_install.py:59
↓ 2 callersFunction_preflight_response
(result: PreflightResult)
src/octop/api/routers/tls.py:46
↓ 2 callersFunction_prepare
( config_dir: Path, *, app_id: str, app_secret: str, default_as: str, )
src/octop/infra/connectors/gateway/feishu_user_auth.py:182
↓ 2 callersFunction_prepare_env
( creds: dict[str, Any], *, prefer_identity: str | None = None, )
src/octop/infra/connectors/gateway/adapters/feishu_cli.py:231
↓ 2 callersFunction_prepare_env
(creds: dict[str, Any])
src/octop/infra/connectors/gateway/adapters/wecom_cli.py:154
↓ 2 callersFunction_privileged_cmd
Prefix ``sudo -n`` when we are not already root (passwordless sudo).
src/octop/infra/mobile/docker_install.py:206
↓ 2 callersFunction_probe_desktop_status
(*, locale: str = "en")
src/octop/infra/desktop/setup.py:760
↓ 2 callersFunction_probe_failure
Turn a probe-time exception into an ``ok: false`` payload instead of a 500.
src/octop/infra/voice/adapters.py:489
↓ 2 callersFunction_probe_tencent_mirror
Plain TCP reachability check for the Tencent Cloud registry mirror.
src/octop/infra/mobile/docker_install.py:192
↓ 2 callersFunction_probe_tone_wav
Deterministic probe payload: 1s 440Hz tone as 16kHz mono PCM16 WAV.
src/octop/infra/voice/adapters.py:466
↓ 2 callersFunction_profiles_root
()
src/octop/infra/browser/setup.py:356
↓ 2 callersFunction_progress_tqdm
tqdm subclass that forwards n/total; bars themselves go to redirected stderr.
src/octop/infra/agents/providers/onnx_download.py:240
↓ 2 callersMethod_project_best_effort
( self, thread_id: str, messages: list[ThreadMessageInput], )
src/octop/infra/cron/delivery.py:260
↓ 2 callersFunction_project_chunks
( chunks: AsyncIterator[dict[str, Any]], *, agent_manager: AgentManager, agent_id: str, lo
src/octop/infra/gateway/process/stream_project.py:110
↓ 2 callersFunction_provider_for_settings
(provider_repo: Any, provider_id: str)
src/octop/infra/knowledge/gate.py:39
↓ 2 callersFunction_provider_row_to_dict
(row: Any)
src/octop/cli/support/offline_ops.py:39
↓ 2 callersMethod_publish_partial
(self, event: TrajectoryEvent)
src/octop/infra/trajectory/service.py:269
↓ 2 callersFunction_publish_welcome_fields
( welcome: LocalizedTextResponse | None, )
src/octop/api/routers/experts.py:236
↓ 2 callersFunction_put_blob
( settings: SettingsRepo, secrets: SecretRepo, *, active: str, providers: dict[str, dict[s
tests/unit/auth/test_captcha_store.py:23
↓ 2 callersFunction_quick_prompt_api_dict
(prompt: ExpertQuickPrompt)
src/octop/infra/agents/experts/catalog.py:260
↓ 2 callersFunction_quick_prompt_body_dict
(p: QuickPromptResponse)
src/octop/api/routers/experts.py:226
↓ 2 callersFunction_quick_prompt_dict
(p: Any)
src/octop/api/routers/experts.py:216
↓ 2 callersFunction_read_agent_tool_enabled
(cfg: dict[str, Any])
src/octop/api/routers/acp.py:87
↓ 2 callersFunction_read_divisions
(path: Path)
src/octop/infra/agents/subagents/catalog.py:95
↓ 2 callersFunction_read_extract_config
Merge the stored ``memory`` config section over the defaults.
src/octop/api/routers/memory.py:764
↓ 2 callersMethod_read_jsonl
Read all valid records from the JSONL history file.
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/cluster_patrol_server.py:58
↓ 2 callersMethod_read_jsonl
(self)
src/octop/infra/agents/experts/library/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/patrol_server.py:40
↓ 2 callersFunction_read_manifest
(path: Path)
src/octop/infra/agents/experts/catalog.py:463
↓ 2 callersFunction_read_nonblock
Return ``bytes`` read, ``None`` if would-block, ``b""`` on EOF.
src/octop/api/routers/terminal.py:773
↓ 2 callersMethod_record
( self, request: ToolCallRequest, result: ToolMessage | Command[Any], )
src/octop/infra/agents/middleware/thread_artifacts.py:195
↓ 2 callersMethod_refresh_peer_entry
Re-read description / guidance cards into a running registry entry.
src/octop/infra/agents/manager.py:2598
↓ 2 callersMethod_refresh_session_if_needed
Update a live session when inbound channel id or routing metadata changed.
src/octop/infra/gateway/threads.py:76
↓ 2 callersFunction_relative_under
(child: Path, root: Path)
src/octop/infra/agents/workspace_dir.py:135
↓ 2 callersFunction_relocated_profiles_root_for_uid
(uid: int | None = None)
src/octop/infra/browser/setup.py:56
↓ 2 callersFunction_remote_ready
(provider: Any | None, model: str)
src/octop/infra/knowledge/gate.py:45
↓ 2 callersFunction_remove
(agent_id: str)
tests/support/harness.py:93
↓ 2 callersMethod_reply
(self)
tests/integration/test_captcha_api.py:22
↓ 2 callersMethod_reply
(self)
tests/unit/auth/test_captcha_verify.py:46
↓ 2 callersFunction_request
( creds: dict[str, Any], method: str, route: str, *, params: dict[str, str] | None = None,
src/octop/infra/connectors/gateway/adapters/yuandian.py:179
↓ 2 callersFunction_request
(http: httpx.AsyncClient)
src/octop/infra/agents/media_generation.py:71
↓ 2 callersFunction_request
(*, scheme: str = "http", headers: list[tuple[bytes, bytes]] | None = None)
tests/unit/auth/test_public_base.py:11
↓ 2 callersFunction_require_agent_owner
(mgr: CronManager, agent_id: str, user_id: int)
src/octop/infra/cron/tools.py:76
↓ 2 callersMethod_require_feishu_cli_instance
( self, instance_id: str, user_id: int )
src/octop/infra/connectors/service.py:558
↓ 2 callersFunction_require_success
(data: Any, operation: str)
src/octop/infra/gateway/channels/dingtalk_registration.py:13
↓ 2 callersFunction_require_tool
(name: str)
src/octop/infra/backup/pg_dump.py:13
↓ 2 callersFunction_resolve_block_workspace_rel
Return inbound/outbound relative path when present (image/media convention).
src/octop/infra/gateway/media/tool_media.py:159
↓ 2 callersMethod_resolve_collision
( self, existing: dict[str, SubagentDefinition], new: SubagentDefinition, fpat
src/octop/infra/agents/subagents/catalog.py:403
↓ 2 callersFunction_resolve_generator_llm
Return ``(llm, model_ref)`` or ``None`` when generation should be skipped.
src/octop/infra/agents/experts/market_creation.py:104
↓ 2 callersFunction_resolve_linux_setup
(*, locale: str = "en")
src/octop/infra/desktop/setup.py:527
↓ 2 callersFunction_resolve_media_type
(filename: str, content_type: str | None, data: bytes = b"")
src/octop/api/routers/uploads.py:26
↓ 2 callersFunction_resolve_skill_dir
(workspace_dir: Path, slug: str)
src/octop/infra/skills/workspace_catalog.py:89
↓ 2 callersMethod_resolve_skill_package_dirs
Resolve persisted package ids to existing absolute package skill directories.
src/octop/infra/agents/manager.py:1750
↓ 2 callersFunction_resolve_skillhub_bin
Return the skillhub binary path from PATH or common install locations.
src/octop/api/routers/skills.py:227
↓ 2 callersFunction_resolve_user_scope
Mirror of the agents router's ``?as_user=`` semantics: an admin may query another user's bucket; non-admins are pinned to their own id.
src/octop/api/routers/usage.py:42
↓ 2 callersFunction_resolve_validated_ip
Resolve ``url`` and return one validated (public) IP. Raises :class:`UnsafeOutboundUrl` if the host cannot be resolved or any resolved addres
src/octop/infra/utils/ssrf_guard.py:87
↓ 2 callersFunction_response
(view: Any)
src/octop/api/routers/media_generation.py:60
↓ 2 callersFunction_response
(row: Any)
src/octop/api/routers/preferences.py:89
↓ 2 callersFunction_resume_after_seq
(after_seq: int | None, last_event_id: str | None)
src/octop/api/routers/chat/trajectory.py:144
↓ 2 callersFunction_rewrite_session_key
Rewrite dashboard/cli subject segment ``agent:channel:subject:chat``.
src/octop/infra/backup/snapshot.py:198
↓ 2 callersFunction_row_public_dict
(row: SkillPackageRow)
src/octop/api/routers/skill_packages.py:152
↓ 2 callersFunction_run
()
src/octop/cli/commands/agent.py:45
↓ 2 callersFunction_run_install
(cmd: list[str], label: str)
src/octop/infra/setup/self_update.py:537
↓ 2 callersFunction_run_privileged
Run ``cmd``, prefixing ``sudo -n`` when the process is not root.
src/octop/infra/mobile/docker_install.py:213
↓ 2 callersFunction_runners_payload
(body: ACPRunnersBody)
src/octop/api/routers/acp.py:76
↓ 2 callersFunction_running_on_windows
()
src/octop/infra/agents/workspace_dir.py:41
↓ 2 callersFunction_safe_path_parts
(path: str)
src/octop/infra/skills/skills_hub.py:380
↓ 2 callersFunction_safe_relative
(name: str)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:128
↓ 2 callersFunction_safe_target
(root: Path, name: str)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:140
↓ 2 callersFunction_safe_under_cache
Return resolved path if it stays under embedding_models_dir(), else None.
src/octop/infra/agents/providers/onnx_service.py:209
↓ 2 callersFunction_sanitize_subprocess_arg
Validate subprocess arg to prevent command injection (CWE-78). Rejects values that start with ``-`` to block option-injection (argument injec
src/octop/api/routers/channels.py:276
↓ 2 callersFunction_sanitize_subprocess_log
(text: str)
src/octop/infra/desktop/setup.py:65
↓ 2 callersMethod_save_raw_runners
(self, user_id: int, runners: dict[str, Any])
src/octop/infra/agents/acp_settings.py:79
↓ 2 callersFunction_save_state
(data: dict[str, Any])
src/octop/infra/gateway/bot_creators/yuanbao_bot_creator.py:81
↓ 2 callersFunction_save_state
(data: dict[str, Any])
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:78
↓ 2 callersFunction_scene_color
(scene: str)
src/octop/infra/agents/experts/skillhub_market.py:1304
↓ 2 callersMethod_scope_filter
( self, *, user_id: int | None, agent_id: str | None, window: str,
src/octop/infra/db/repos/usage.py:196
↓ 2 callersFunction_scopes_for_kind
Prefer AS metadata scopes; fall back to catalog ``oauth_scopes``.
src/octop/infra/connectors/oauth/registry.py:35
↓ 2 callersFunction_seed_agent
(services, tmp_path: Path)
tests/unit/gateway/test_gateway.py:30
↓ 2 callersFunction_seed_cache
Lay down a cache that looks like a finished fastembed download.
tests/integration/test_onnx_models_api.py:11
↓ 2 callersMethod_seed_expert_template
Copy bundled expert files into the agent workspace before harness start.
src/octop/infra/agents/manager.py:2440
↓ 2 callersFunction_seed_usage_agents
(srv: Any, agent_ids: list[str], *, user_id: int)
tests/integration/test_usage_api.py:32
↓ 2 callersFunction_select_subpath
(root: Path, subpath: str)
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:306
↓ 2 callersFunction_send_json
(ws: WebSocket, payload: dict[str, Any])
src/octop/api/routers/mobile/shell_ws.py:47
↓ 2 callersFunction_send_session_snapshot
Push one session_update (+ tabs) frame for *profile*.
src/octop/api/routers/browser/stream.py:93
↓ 2 callersMethod_send_text
(self, subject: ChannelSubject, text: str)
src/octop/infra/gateway/cli/cli_channel.py:128
↓ 2 callersMethod_send_text
(self, subject: ChannelSubject, text: str)
src/octop/infra/gateway/ws/ws_channel.py:177
↓ 2 callersFunction_server_timezone
(server: Any)
src/octop/api/routers/usage.py:61
↓ 2 callersFunction_settings_key
(user_id: int)
src/octop/infra/agents/acp_settings.py:41
↓ 2 callersFunction_shanghai_date
()
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:197
↓ 2 callersFunction_skill_md_root_candidates
(skill_hint: str)
src/octop/infra/skills/skills_hub.py:798
↓ 2 callersFunction_skill_package_store
(server: Any)
src/octop/api/routers/skills.py:540
↓ 2 callersFunction_skill_source
(skill: dict[str, Any])
src/octop/cli/commands/skills.py:19
↓ 2 callersFunction_skill_transfer_error
(exc: SkillPackageError, *, locale: Locale)
src/octop/api/routers/skills.py:549
↓ 2 callersFunction_skillhub_source
Return ``(slug, namespace)`` for SkillHub shorthand or page URLs.
src/octop/infra/agents/builtin_skills/skill-manager/scripts/manage_skills.py:98
↓ 2 callersFunction_skillhub_stderr_suggests_upgrade
(err_msg: str)
src/octop/api/routers/skills.py:414
↓ 2 callersMethod_slash_ctx
( self, *, agent_id: str, user_id: int, channel_type: str, ses
src/octop/infra/gateway/process/processor.py:517
↓ 2 callersFunction_snapshot_meta
( source: Any, *, name: str, description: str, color: str | None, welcome_message_zh:
src/octop/infra/agents/experts/published_creation.py:120
← previousnext →2,301–2,400 of 12,485, ranked by callers