MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 4 callersFunctionresolve_user_id
( client: httpx.AsyncClient, admin_auth: dict[str, str], username: str, )
tests/support/auth.py:174
↓ 4 callersFunctionresource_for_kind
Optional RFC 8707 resource indicator (e.g. Ardot / Dida MCP URL).
src/octop/infra/connectors/oauth/mcp.py:37
↓ 4 callersFunctionrestoreMainAfterDockClick
restoreMainAfterDockClick brings back the main window only. Wails' default ApplicationShouldHandleReopen handler shows every hidden window, which woul
desktop/src/dock_reopen.go:18
↓ 4 callersMethodrotate
(self, k: str, new_value: bytes)
src/octop/infra/db/repos/secrets.py:36
↓ 4 callersFunctionrow_for_probe
Build a :class:`BackendRow` for probing from form fields (+ optional stored row).
src/octop/infra/backend/probe.py:28
↓ 4 callersFunctionrun_wenyan
Run wenyan-cli with given arguments.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/wechat_publish.py:75
↓ 4 callersFunctionruntime_field_updates
Extract runtime fields from an API body without leaking unrelated fields.
src/octop/api/common/agent_runtime.py:22
↓ 4 callersFunctionsanitize_im_metadata
Extract durable IM routing fields from an inbound message for session storage. Persists fields needed for proactive push (msg_type, openids, chat
src/octop/infra/gateway/process/message_keys.py:166
↓ 4 callersFunctionsealPriorStreamingAssistants
( messages: ChatMessage[], )
dashboard/src/pages/Chat/hooks/sealPriorStreamingAssistants.ts:9
↓ 4 callersFunctionseed_expert_directory
Upload expert template files into *workspace*, including welcome manifest. ``seed_paths`` / :func:`discover_seed_paths` omit the library manifest
src/octop/infra/agents/experts/catalog.py:213
↓ 4 callersFunctionseed_workspace_dir_on_create
Ensure ``config["workspace_dir"]`` at create; return on-disk Path for seeding.
src/octop/infra/agents/workspace_dir.py:112
↓ 4 callersFunctionselect_download_source
Latency-race all sources. Returns ``(mirror_url, delay)`` for the fastest mirror, ``(None, delay)`` when the official source wins (caller mus
src/octop/infra/mobile/docker_install.py:136
↓ 4 callersFunctionsend_record_request
(request: dict[str, Any])
src/octop/api/routers/browser/record_replay.py:59
↓ 4 callersMethodset_disabled
(self, user_id: int, disabled: bool)
src/octop/infra/db/repos/users.py:264
↓ 4 callersMethodset_password_hash
(self, user_id: int, password_hash: str)
src/octop/infra/db/repos/users.py:275
↓ 4 callersMethodset_resource_policy
( self, username: str, *, workspace_root_dir: Any = UNSET, token_quota
src/octop/infra/users/manager.py:539
↓ 4 callersMethodset_role
(self, user_id: int, role: str)
src/octop/infra/db/repos/users.py:271
↓ 4 callersFunctionset_skill_enabled
Toggle a skill slug in ``config_json`` (persisted to SQLite).
src/octop/cli/support/skills.py:25
↓ 4 callersFunctionshouldSearchWorkspaceMentions
(query: string)
dashboard/src/pages/Chat/utils/fileMention.ts:55
↓ 4 callersFunctionskillComposerToken
(skill: SkillTokenRef)
dashboard/src/pages/Chat/utils/skillSlash.ts:30
↓ 4 callersFunctionskillhub_portrait_url
Prefer SkillHub CDN ``iconUrl``; fall back to a bundled scene portrait.
src/octop/infra/agents/experts/skillhub_market.py:175
↓ 4 callersFunctionsnapshot_sqlite_file
Copy *source* into *dest* using SQLite's online backup API.
src/octop/infra/backup/snapshot.py:34
↓ 4 callersFunctionsortSessions
(sessions: Session[])
dashboard/src/pages/Chat/hooks/useSessions.ts:70
↓ 4 callersMethodstart_all
At system startup, register random scheduling tasks for all agents with enabled=true. Includes agents that never saved a config row: proactiv
src/octop/infra/proactive/scheduler.py:177
↓ 4 callersMethodstart_login
(self, *, redirect_after: str | None, public_base: str)
src/octop/infra/auth/sso/service.py:214
↓ 4 callersFunctionstatsCountsFixture
( overrides: Partial<StatsCounts> = {}, )
dashboard/src/test/memoryFixtures.ts:159
↓ 4 callersMethodstop
Stop immediately; pending and queued audio are dropped.
dashboard/src/utils/wavStreamPlayer.ts:158
↓ 4 callersFunctionstoreUpdateStatus
( status: UpdateStatus, checkedAt = Date.now(), )
dashboard/src/utils/updateStatusCache.ts:36
↓ 4 callersMethodstream
(self, request: dict[str, Any])
tests/support/fakes.py:102
↓ 4 callersFunctionstripFrontmatter
(s: string)
dashboard/src/utils/markdown.ts:48
↓ 4 callersMethodsummary
Aggregate usage rows, optionally filtered to one user/agent. ``user_id=None`` and ``agent_id=None`` returns global totals (admin scop
src/octop/infra/db/repos/usage.py:215
↓ 4 callersFunctionsupportsHostSkillPackages
(options: { backendChoice: string; rootDir?: string | null; workspaceDir?: string | null; })
dashboard/src/pages/Experts/components/agentBackendForm.ts:95
↓ 4 callersFunctionterminal_supported
Return ``(supported, reason_if_unsupported)`` for the PTY WebSocket terminal.
src/octop/api/routers/terminal.py:97
↓ 4 callersMethodtest_connection
(self)
src/octop/infra/auth/sso/service.py:204
↓ 4 callersMethodthread_totals
Aggregate token usage for a single thread.
src/octop/infra/db/repos/usage.py:446
↓ 4 callersMethodto_channel_subject
(self)
src/octop/infra/db/repos/sessions.py:98
↓ 4 callersFunctiontouchStreamActivity
(sessionId: string)
dashboard/src/pages/Chat/hooks/chatStore.ts:441
↓ 4 callersFunctiontrackMaxOffset
(track: HTMLElement | null)
dashboard/src/pages/Login/SlideCaptcha.tsx:15
↓ 4 callersFunctiontryReloadOnStaleChunk
(error: unknown)
dashboard/src/utils/reloadOnStaleChunk.ts:66
↓ 4 callersFunctionuseCanvasRemotePointer
({ enabled, canvasRef, onEvent, enrichPayload, sendHoverMoves = true, }: CanvasRemotePointerOptions)
dashboard/src/hooks/useCanvasRemotePointer.ts:50
↓ 4 callersFunctionuseListPanelCollapsed
( storageKey: string, options?: { defaultCollapsed?: boolean }, )
dashboard/src/hooks/useListPanelCollapsed.ts:21
↓ 4 callersFunctionusePathTabs
({ basePath, tabs, storageKey, defaultTab, isAllowed, }: UsePathTabsOptions<T>)
dashboard/src/hooks/usePathTabs.ts:29
↓ 4 callersFunctionuseUserRole
()
dashboard/src/hooks/useUserRole.ts:8
↓ 4 callersFunctionvalidate_custom_agent_id
Validate a user-supplied agent id; raise ``OctopError`` when invalid.
src/octop/infra/agents/manager.py:258
↓ 4 callersFunctionvalidate_mcp_http_url
Validate a user-configured MCP/connector URL. Local loopback deployments may use HTTP. Remote deployments must use public HTTPS and pass the
src/octop/infra/connectors/custom_mcp.py:113
↓ 4 callersMethodvalidate_skill_package_ids
Normalize package ids and ensure each package still exists.
src/octop/infra/agents/manager.py:1866
↓ 4 callersMethodverify_call
( self, *, site_key: str, secret: str, token: str, client_ip:
src/octop/infra/auth/captcha/providers.py:75
↓ 4 callersFunctionworkspacePathFromAccessUrl
(url: string)
dashboard/src/utils/toolMediaBlocks.ts:139
↓ 4 callersFunctionworkspace_dir_from_config
On-disk workspace for Octop host ops (may map ``/.octop/…`` under root_dir). Read-only callers (backup) pass ``ensure=False`` so a stale or unwri
src/octop/infra/agents/workspace_dir.py:292
↓ 4 callersMethodwrap_tool_call
( self, request: ToolCallRequest, handler: Callable[[ToolCallRequest], ToolMessage | C
src/octop/infra/agents/middleware/thread_artifacts.py:177
↓ 4 callersFunctionwrite_workspace_avatar
(workspace: WorkspaceAvatarIO, data: bytes)
src/octop/infra/agents/avatar.py:94
↓ 3 callersMethodIsMinimised
()
desktop/src/dock_reopen.go:11
↓ 3 callersFunction_active_for_profile
(data: dict[str, Any], profile: str)
src/octop/api/routers/browser/record_replay.py:122
↓ 3 callersFunction_agent_config_dict
(server: Any, agent_id: str)
src/octop/api/routers/memory_portable.py:34
↓ 3 callersFunction_agent_is_busy
(server: Any, agent_id: str)
src/octop/api/routers/chat/history.py:37
↓ 3 callersFunction_aggregate_samples
( samples: dict[str, dict[str, Any]], *, last_key: str | None = None )
src/octop/infra/gateway/process/usage_record.py:164
↓ 3 callersMethod_append_part
(self, wire: dict[str, Any])
src/octop/infra/history/recorder.py:76
↓ 3 callersFunction_as_mapping
(value: Any)
src/octop/infra/agents/context_breakdown.py:87
↓ 3 callersFunction_assert_echo_disabled_on_harness
(srv: Any, agent_id: str, *, disabled: bool)
tests/integration/test_plugin_tool_disable.py:40
↓ 3 callersFunction_b64
(text: str)
tests/integration/test_skill_packages_api.py:18
↓ 3 callersFunction_bad_request
(exc: ValueError)
src/octop/api/routers/auth_oidc.py:54
↓ 3 callersMethod_begin_history
( self, agent_id: str, thread_id: str, request: dict[str, Any], *, resume: bool = False )
src/octop/infra/gateway/process/processor.py:149
↓ 3 callersFunction_bind_default_sqlite
(srv: OctopServer)
tests/integration/test_server_lifecycle.py:13
↓ 3 callersFunction_block_network
(monkeypatch: pytest.MonkeyPatch)
tests/unit/test_voice_stt_probe.py:53
↓ 3 callersFunction_bootstrap
(fake_home: Path)
tests/unit/cli/test_cli_db.py:25
↓ 3 callersMethod_build_dashboard_request
( self, msg: InboundMessage, *, agent_id: str, user_id: int, s
src/octop/infra/gateway/process/processor.py:1190
↓ 3 callersFunction_carrier_learning_text
(*, carrier_url: str, include_primary: bool = True)
tests/unit/agents/test_clinical_learning_subscription_template.py:361
↓ 3 callersFunction_client
(**extra_headers: str)
src/octop/infra/agents/plugins/bundled/hot-topics/main.py:24
↓ 3 callersFunction_client
(**kwargs: Any)
src/octop/infra/agents/plugins/bundled/market-quotes/main.py:26
↓ 3 callersFunction_clip_welcome
Return one complete welcome line; never mid-sentence ellipsis.
src/octop/infra/agents/experts/manifest_generator.py:596
↓ 3 callersFunction_close_subprocess
Kill and drain ``proc`` while the event loop is still alive. Leaving a live ``asyncio`` subprocess after ``wait_for`` times out (or after the
src/octop/api/routers/skills.py:243
↓ 3 callersFunction_coerce_label
(node: dict[str, Any] | str | None, fallback: str)
src/octop/infra/agents/experts/catalog.py:471
↓ 3 callersMethod_commit_new
(self, event: TrajectoryEvent)
src/octop/infra/trajectory/service.py:238
↓ 3 callersFunction_configurable
(**kwargs: object)
tests/unit/knowledge/test_knowledge_tools.py:16
↓ 3 callersFunction_configurable
(**kwargs: object)
tests/unit/mobile/test_mobile_tools.py:18
↓ 3 callersFunction_convert_message
(message: Any)
src/octop/infra/gateway/process/history_projection.py:60
↓ 3 callersFunction_create_package_with_skill
(client: Any, auth: dict[str, str])
tests/integration/test_agent_skill_packages.py:15
↓ 3 callersFunction_decode_secret
(secret_repo: SecretRepo, secret_enc: str)
src/octop/infra/auth/captcha/store.py:48
↓ 3 callersFunction_deep_default_state
()
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:184
↓ 3 callersFunction_describe_runtime
(runtime: ServiceRuntime)
src/octop/cli/commands/service.py:75
↓ 3 callersFunction_detect_shell
Resolve the shell for the current platform.
src/octop/api/routers/terminal.py:118
↓ 3 callersFunction_dingtalk_row
(service: SsoService)
tests/unit/auth/test_dingtalk_adapter.py:33
↓ 3 callersMethod_dismiss_status
(self)
src/octop/cli/repl/render.py:240
↓ 3 callersFunction_download_cos_snapshot
( cand: DownloadCandidate, cache_dir: Path, *, on_progress: SnapshotProgressFn | None = None,
src/octop/infra/agents/providers/onnx_download.py:376
↓ 3 callersFunction_download_via_workspace
``adownload_bytes`` that treats path-escape PermissionError as a miss.
src/octop/infra/gateway/media/backend_files.py:395
↓ 3 callersFunction_drop_knowledge_base_members
(db: DatabasePool)
src/octop/infra/db/migrate.py:662
↓ 3 callersFunction_duration_ms
(start: float, end: float)
src/octop/infra/trajectory/service.py:320
↓ 3 callersFunction_emit_error
(step: str, message: str)
src/octop/infra/gateway/bot_creators/feishu_bot_creator.py:115
↓ 3 callersMethod_endpoint
(discovery: Mapping[str, object], name: str)
src/octop/infra/auth/sso/service.py:398
↓ 3 callersFunction_english_step_title
Use the source title when it is already English; otherwise a neutral step label.
src/octop/infra/agents/experts/skillhub_market.py:1182
↓ 3 callersFunction_enrich_history_tool_media
Attach preview URLs for tool media without disk I/O.
src/octop/api/routers/chat/serialize.py:545
↓ 3 callersMethod_ensure_jwt_secret
(self)
src/octop/infra/server.py:583
↓ 3 callersFunction_ensure_learning_shape
(state: dict[str, Any])
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:228
↓ 3 callersFunction_ensure_ollama
Bootstrap both the SDK and the server, then return the module.
src/octop/infra/utils/ollama_manager.py:132
↓ 3 callersFunction_ensure_sso_provider_kind_schema
Add kind/extra columns and unique-kind index on existing SSO provider tables.
src/octop/infra/db/migrate.py:780
↓ 3 callersFunction_ensure_trajectory_events_schema
Create trajectory_events (schema v12) and ensure thread_id ON DELETE CASCADE.
src/octop/infra/db/migrate.py:1006
↓ 3 callersFunction_ensure_user_invites_schema
Create ``user_invites`` when missing (clamp / repair paths).
src/octop/infra/db/migrate.py:869
↓ 3 callersFunction_ensure_user_policy_schema
(db: DatabasePool)
src/octop/infra/db/migrate.py:1293
↓ 3 callersFunction_ensure_utf8_stdio
Force UTF-8 output so emoji (✅/❌/QR art) can never crash the CLI. On Windows the ANSI code page is often GBK (cp936); Python then encodes pip
src/octop/cli/main.py:14
↓ 3 callersFunction_entry_matches_thread
( entry: dict[str, Any], *, thread_id: str, created_at: int, last_active: int, )
src/octop/api/routers/chat/serialize.py:625
← previousnext →1,301–1,400 of 12,485, ranked by callers