MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 6 callersFunctionresolve_bundle_from_url
Fetch a remote skill bundle and return workspace upload payloads.
src/octop/infra/skills/skills_hub.py:1466
↓ 6 callersMethodresolve_explicit_default_model
Pinned expert default when set and usable; otherwise ``None`` (AUTO).
src/octop/infra/agents/providers/store.py:269
↓ 6 callersMethodresolve_for_session
( self, session_key: str, pending_id: str | None = None, *, agent_id:
src/octop/infra/gateway/hitl/store.py:96
↓ 6 callersMethodresolve_pending_for_thread
Return the newest pending approval for a dashboard thread, if any.
src/octop/infra/gateway/hitl/store.py:124
↓ 6 callersFunctionresolve_public_base
Resolve the externally visible origin for an incoming request. Trusts ``X-Forwarded-Proto`` / ``X-Forwarded-Host`` when present (typical behi
src/octop/api/common/public_base.py:15
↓ 6 callersFunctionresolve_service_scope
Decide between ``user`` and ``system`` scope. Resolution order: 1. ``OCTOP_SERVICE_SCOPE`` env var (``user`` / ``system`` / ``auto``). 2
src/octop/infra/setup/service.py:118
↓ 6 callersFunctionresolve_user_id_for_message
Resolve Octop ``users.id`` for thread/session persistence. Dashboard and CLI use numeric ``subject_id`` values as Octop user ids. External IM
src/octop/infra/gateway/process/message_keys.py:79
↓ 6 callersFunctionresolve_workspace_host_path
Map persisted ``workspace_dir`` to an on-disk path for Octop host FS ops. Harness receives the persisted string as-is (no join here). When the DB
src/octop/infra/agents/workspace_dir.py:156
↓ 6 callersFunctionrestart_service
Bounce the running service. Remote upgrades only call this. Drop-in / daemon-reload problems must not block ``systemctl restart``.
src/octop/infra/setup/service.py:777
↓ 6 callersFunctionrunning_in_container
True when the Octop process appears to run inside a container. Used so Docker (and Podman) deployments default local backend ``root_dir`` to
src/octop/infra/utils/host_dirs.py:55
↓ 6 callersFunctionsave_env_file
(path: Path, values: dict[str, str])
src/octop/infra/utils/env_file.py:82
↓ 6 callersFunctionsend
(message: dict[str, Any])
tests/integration/test_trajectory_api.py:85
↓ 6 callersFunctionsetAuthToken
(token: string)
dashboard/src/api/request.ts:46
↓ 6 callersFunctionsetState
(next: DesktopInstallState)
dashboard/src/hooks/useDesktopInstall.ts:29
↓ 6 callersFunctionstatus_payload
(settings_get: Any, download: OnnxDownloadState)
src/octop/infra/agents/providers/onnx_service.py:444
↓ 6 callersFunctionsystem_files_path_from_config
(cfg: dict[str, Any] | None)
src/octop/infra/agents/workspace_dir.py:313
↓ 6 callersMethodupdate_document
( self, doc_id: str, *, filename: str | None = None, content_type: str
src/octop/infra/db/repos/knowledge.py:360
↓ 6 callersFunctionupload_mb_to_bytes
(mb: int)
src/octop/config.py:240
↓ 6 callersFunctionvalid_skillhub_icon_url
Public alias used by HTTP routers for icon URL validation.
src/octop/infra/skills/install.py:206
↓ 6 callersFunctionverify_id_token
Verify an OIDC ID token and return its claims.
src/octop/infra/auth/sso/id_token.py:36
↓ 6 callersFunctionwelcome_payload_has_content
(payload: dict[str, Any])
src/octop/infra/agents/experts/catalog.py:294
↓ 6 callersFunctionworkspaceDownloadUrl
( agentId: string, workspacePath: string, )
dashboard/src/utils/toolMediaBlocks.ts:194
↓ 6 callersFunctionworkspaceEntryPath
(infoPath: string)
dashboard/src/utils/workspacePath.ts:2
↓ 5 callersFunction_assert_can_manage_connector
(inst: Any, user: Any)
src/octop/api/routers/connectors.py:436
↓ 5 callersFunction_assert_cron_manage
( *, agent_id: str, agent_row: Any, user: Any, row: Any | None = None )
src/octop/api/routers/cron.py:71
↓ 5 callersMethod_backend_supports_host_skill_packages
Local backends that can mount global package host paths via skills_dir. POSIX defaults use ``root_dir='/'``. Windows defaults scope the backe
src/octop/infra/agents/manager.py:1778
↓ 5 callersMethod_backend_workspace_for_row
Resolve :class:`BackendWorkspace` for *row* without a running harness agent.
src/octop/infra/agents/manager.py:2402
↓ 5 callersFunction_bootstrap_factory_from_db
(registry: AgentManager, fake_hm: MagicMock)
tests/unit/agents/test_agent_registry.py:47
↓ 5 callersFunction_cfg
(**mobile: object)
tests/unit/mobile/test_mobile_setup.py:11
↓ 5 callersFunction_clean_url
(label: str, value: str)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:349
↓ 5 callersFunction_clip
(text: str, max_chars: int)
src/octop/infra/agents/experts/manifest_generator.py:590
↓ 5 callersMethod_connector_uid_for
( self, row: AgentRow, *, connector_user_id: int | None = None, )
src/octop/infra/agents/manager.py:2653
↓ 5 callersFunction_consume_ws_turn
( c: httpx.AsyncClient, aid: str, auth: dict[str, str], *, text: str = "Hello", thread
tests/integration/test_chat_ws.py:219
↓ 5 callersFunction_cron_session_key
(agent_id: str, cron_id: str)
tests/unit/cron/test_cron_manager.py:25
↓ 5 callersMethod_decode
(self, conn: sqlite3.Connection, node: Any)
src/octop/infra/history/store.py:179
↓ 5 callersFunction_discover
(dialect: str = "sqlite")
src/octop/infra/db/migrate.py:39
↓ 5 callersFunction_emotion_weight
(emotion: str)
src/octop/infra/proactive/picker.py:47
↓ 5 callersFunction_enable_turnstile
(srv: Any, *, site_key: str = "0xsite", secret: str = "test-secret")
tests/integration/test_captcha_api.py:62
↓ 5 callersFunction_enforce_wizard_open
(server: Any)
src/octop/api/routers/setup.py:105
↓ 5 callersFunction_event
( *, event_id: str, seq: int, kind: str = "user", thread_id: str = "T1", summary: str
tests/unit/trajectory/test_trajectory_event_repo.py:32
↓ 5 callersFunction_expert_label_en
(item: SkillHubSkillset)
src/octop/infra/agents/experts/skillhub_market.py:814
↓ 5 callersFunction_github_api_url
(owner: str, repo: str, suffix: str)
src/octop/infra/skills/skills_hub.py:747
↓ 5 callersFunction_item
(*, skill_slugs: tuple[str, ...] = ("alpha",))
tests/unit/skills/test_skill_package_from_skillhub.py:28
↓ 5 callersFunction_launchctl_run
Run a launchctl command for the given scope. `user` scope runs unsudo'd (gui/$UID is writable by the current user); `system` scope falls back
src/octop/infra/setup/service.py:626
↓ 5 callersFunction_load_checkpoint_messages
Load LangGraph messages for a thread from the agent checkpointer.
src/octop/api/routers/chat/serialize.py:318
↓ 5 callersFunction_log_error
(step: str, message: str, **extra: object)
src/octop/infra/gateway/bot_creators/yuanbao_bot_creator.py:114
↓ 5 callersFunction_log_info
(step: str, message: str, **extra: object)
src/octop/infra/gateway/bot_creators/yuanbao_bot_creator.py:102
↓ 5 callersFunction_log_info
(step: str, message: str, **extra: Any)
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:95
↓ 5 callersFunction_make_episode
( ep_id: str, *, emotion: str = "sad", intensity: int = 4, people: list[str] | None = None
tests/unit/proactive/test_proactive_service.py:53
↓ 5 callersFunction_make_service
( agent: MagicMock, care_push_repo: CarePushRepo, push_success: bool = True, )
tests/unit/proactive/test_proactive_service.py:126
↓ 5 callersFunction_map_skillhub_install_error
Map skillhub stderr to an HTTPException when the failure is user-actionable.
src/octop/api/routers/skills.py:377
↓ 5 callersFunction_memory_extract_settings
Extract the ``memory`` config section into HarnessAgentConfig kwargs. Mirrors the shape written by the dashboard's ``PUT .../memory/extract-confi
src/octop/infra/agents/manager.py:157
↓ 5 callersFunction_merge_registry_mirror
Add ``registry-mirrors`` to daemon.json unless already configured. Backs up the previous file as ``daemon.json.backup``. Returns True when the
src/octop/infra/mobile/docker_install.py:245
↓ 5 callersFunction_migrate_legacy_state
Create an honest in-memory v2 projection of old day-number state. The migration deliberately does not fabricate a channel receipt. Old compl
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:536
↓ 5 callersFunction_mimo_row
(*, extra: dict[str, Any] | None = None)
tests/unit/api/test_voice_mimo.py:31
↓ 5 callersFunction_mock_async_client
(*, post: AsyncMock)
tests/unit/test_provider_probe.py:53
↓ 5 callersFunction_norm
(locale: Locale | str | None)
src/octop/infra/agents/subagents/catalog.py:84
↓ 5 callersFunction_persist_disabled
Write back ``skills_disabled`` and hot-sync the running harness agent.
src/octop/api/routers/skills.py:1017
↓ 5 callersMethod_prefer_import_capture
TigerVNC virtual displays hang or fail in mss; use ImageMagick import.
src/octop/infra/desktop/capture.py:89
↓ 5 callersFunction_public_base
(request: Request)
src/octop/api/routers/auth_oauth.py:55
↓ 5 callersMethod_record_turn_history
( self, thread_id: str, tracker: TurnHistoryTracker, *, completed: boo
src/octop/infra/gateway/process/processor.py:1425
↓ 5 callersMethod_register_channel
(self, row: ChannelRow)
src/octop/infra/gateway/gateway.py:632
↓ 5 callersFunction_request
( creds: dict[str, Any], method: str, path: str, *, params: dict[str, Any] | None = None,
src/octop/infra/connectors/gateway/adapters/weknora.py:83
↓ 5 callersFunction_require_ready
(config: OctopConfig, *, locale: str)
src/octop/infra/mobile/tools.py:50
↓ 5 callersFunction_require_username
(services: Any, username: str)
src/octop/cli/support/offline_ops.py:67
↓ 5 callersFunction_reset_public_schema
(pool: object)
tests/integration/test_postgresql_control_plane.py:29
↓ 5 callersFunction_resolve_device
(device: str | None)
src/octop/infra/mobile/tools.py:57
↓ 5 callersFunction_resolve_runtime
Return the AgentRow for the given agent_id after auth.
src/octop/api/routers/agent_files.py:57
↓ 5 callersFunction_row
(*, kind: str, api_key: str | None = "k", extra: dict[str, Any] | None = None)
tests/unit/test_voice_stt_probe.py:23
↓ 5 callersFunction_row
(**kwargs: object)
tests/unit/test_storage_browse.py:15
↓ 5 callersFunction_rules_store
(server: Any)
src/octop/api/routers/security.py:124
↓ 5 callersMethod_safe_register_channel
(self, row: ChannelRow)
src/octop/infra/gateway/gateway.py:623
↓ 5 callersFunction_script_path_from_env
(env_var: str)
src/octop/infra/desktop/setup.py:50
↓ 5 callersFunction_server
( *, row: object, get_agent: object, workspace_for_agent: object = None )
tests/unit/api/test_require_running_workspace.py:14
↓ 5 callersFunction_sse_event_payloads
(blob: str, event_name: str)
tests/integration/test_trajectory_api.py:25
↓ 5 callersFunction_summarize_event
List-view projection: drop message bodies; keep clipped tool args/result.
src/octop/api/routers/chat/trajectory.py:113
↓ 5 callersFunction_systemd_run
( runtime: ServiceRuntime, *args: str, )
src/octop/infra/setup/service.py:316
↓ 5 callersFunction_table_exists
(conn: Any, table: str, *, dialect: str)
src/octop/infra/backup/chats.py:212
↓ 5 callersFunction_token
(content: str, thread_id: str)
tests/unit/gateway/test_dashboard_ws.py:18
↓ 5 callersFunction_token_int
Parse a token count; malformed values must not raise.
src/octop/infra/gateway/process/usage_record.py:23
↓ 5 callersMethod_touch_thread_after_turn
(self, thread_id: str, title_source: str | None)
src/octop/infra/gateway/process/processor.py:1391
↓ 5 callersFunction_track_public_summary
(track: dict[str, Any])
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:1129
↓ 5 callersFunction_track_source
(track: dict[str, Any])
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:486
↓ 5 callersFunction_trajectory_service
(server: Any)
src/octop/api/routers/chat/trajectory.py:92
↓ 5 callersFunction_user_json
(user: Any, *, locale: str | None = None)
src/octop/api/routers/auth.py:19
↓ 5 callersFunction_user_workspace_root
(server: Any, user: User)
src/octop/api/routers/filesystem.py:51
↓ 5 callersFunction_workspace
(root: str)
tests/unit/api/test_chat_welcome.py:27
↓ 5 callersFunction_write_config
(home: Path, **data: object)
tests/unit/cli/test_run_bind_resolution.py:24
↓ 5 callersFunctionacquire_session
Reserve a capture session for *user_id*, replacing any stale connection.
src/octop/infra/desktop/session.py:82
↓ 5 callersFunctionadd_login_state
( service: SsoService, provider_id: int, state: str = "valid-state", *, user_id: int | Non
tests/unit/auth/test_sso_service.py:53
↓ 5 callersFunctionagentAttachmentAccessUrl
( agentId: string, workspacePath: string, mimeType?: string, )
dashboard/src/utils/toolMediaBlocks.ts:228
↓ 5 callersFunctionagentMediaPreviewUrl
( agentId: string, source: string, mimeType?: string, )
dashboard/src/utils/toolMediaBlocks.ts:40
↓ 5 callersFunctionagent_plugin_enabled
Return the per-agent plugin switch; missing values remain default-on.
src/octop/infra/agents/plugin_tool_defaults.py:17
↓ 5 callersMethodaget_state
(self, config: dict[str, Any])
tests/support/fakes.py:343
↓ 5 callersMethodals
(self, path: str)
tests/support/fakes.py:392
↓ 5 callersFunctionappend
(sessionId: string, chunk: string)
dashboard/src/pages/Control/Terminal/terminalOutputBuffer.ts:27
↓ 5 callersFunctionapplyRenewedAccessToken
(response: Response)
dashboard/src/api/request.ts:64
↓ 5 callersFunctionapplySavedServers
( servers: CustomMcpServers, prevCards: ServerCardState[], )
dashboard/src/pages/Agent/Connectors/CustomMcpTab.tsx:62
↓ 5 callersFunctionapply_env_file
Load ``path`` and merge into ``os.environ`` (does not unset missing keys).
src/octop/infra/utils/env_file.py:87
↓ 5 callersFunctionassertNotSetupLocked
* Skip the network when this tab already knows setup lockdown is on. * Avoids stampeding ``/api/agents`` etc. after the first 503 / status probe.
dashboard/src/api/request.ts:104
← previousnext →701–800 of 12,485, ranked by callers