MCPcopy Create free account

hub / github.com/TencentCloud/Octop / functions

Functions12,485 in github.com/TencentCloud/Octop

↓ 4 callersFunction_write_state_unlocked
(state: dict[str, Any], root: Path)
src/octop/infra/agents/experts/library/clinical-learning-subscription/scripts/clinical_profile.py:294
↓ 4 callersFunction_zip_bytes
(files: dict[str, bytes | str])
tests/unit/agents/test_skillhub_http_market.py:32
↓ 4 callersFunctionactive_session_count
()
src/octop/infra/desktop/session.py:116
↓ 4 callersFunctionagent_avatar_api_path
(agent_id: str)
src/octop/infra/agents/avatar.py:43
↓ 4 callersFunctionagent_error_message
Localized agent ``last_error`` for user-facing output.
src/octop/i18n/domains/agents.py:80
↓ 4 callersFunctionagent_facing_workspace_root
Agent-visible workspace directory (never ``root_dir``-joined). Scoped virtual backends map the on-disk workspace back to a rootfs path such a
src/octop/infra/agents/workspace_dir.py:231
↓ 4 callersFunctionagent_state_label
Localized harness agent ``last_state`` for user-facing output.
src/octop/i18n/domains/agents.py:70
↓ 4 callersMethodaglob
(self, pattern: str, path: str = "/")
tests/support/fakes.py:423
↓ 4 callersMethodamkdir
(self, path: str)
tests/unit/agents/test_agent_avatar.py:74
↓ 4 callersMethodapi_dict
(self, *, include_content: bool = False)
src/octop/infra/agents/experts/skillhub_market.py:131
↓ 4 callersMethodapi_key
(self)
src/octop/infra/agents/media_generation.py:252
↓ 4 callersFunctionappend_citations_marker
Append a HTML-comment marker the dashboard can parse; LLM usually ignores it.
src/octop/infra/knowledge/citations.py:53
↓ 4 callersFunctionapplyQqChannelSaveConfig
( config: Record<string, unknown>, kind: string, )
dashboard/src/pages/Agent/Channels/components/constants.ts:408
↓ 4 callersFunctionapply_auto_backup_schedule
Register or remove the auto-backup system job from current config.
src/octop/infra/backup/auto.py:251
↓ 4 callersFunctionapply_enable_trajectory
Persist only the non-default opt-out value.
src/octop/infra/trajectory/settings.py:34
↓ 4 callersMethodapply_slash_text
Update model from gateway slash reply lines (/model, /models).
src/octop/cli/repl/session.py:44
↓ 4 callersFunctionassert_agent_access_row
(row: Any, user: Any)
src/octop/api/common/agent.py:34
↓ 4 callersMethodattach_login_code
Attach a one-time login code after a claimed callback succeeds. Clears ``consumed_at`` so ``consume_login_code`` can finalize the session.
src/octop/infra/db/repos/sso.py:320
↓ 4 callersFunctionattachment_frames_from_tool_result
Yield dashboard WS attachment frames with workspace download URLs.
src/octop/infra/gateway/media/tool_media.py:568
↓ 4 callersMethodawrap_tool_call
( self, request: ToolCallRequest, handler: Callable[[ToolCallRequest], Awaitable[ToolM
src/octop/infra/agents/middleware/browser_profile.py:60
↓ 4 callersFunctionbackend_workspace_path
Single path to pass to ``BackendWorkspace`` for *source*. Absolute (``/…`` or ``file://…``) → absolute host/workspace path, unchanged. Relati
src/octop/infra/gateway/media/backend_files.py:226
↓ 4 callersFunctionbackup_config_from_payload
Validate an API/CLI payload into ``BackupConfig``.
src/octop/infra/backup/auto.py:122
↓ 4 callersFunctionbeginPointerDragSession
( options: PointerDragSessionOptions, )
dashboard/src/hooks/usePointerDragSession.ts:17
↓ 4 callersMethodbind_sso_identity
( self, *, user_id: int, provider_id: int, subject: str, claim
src/octop/infra/users/manager.py:318
↓ 4 callersFunctionboot_self_heal
Reconcile the wizard password file at server boot. When setup is still open (``user_count == 0``), ensure a password file exists and return t
src/octop/infra/setup/password_file.py:68
↓ 4 callersFunctionbrandPrimary
( palette: ThemePalette, isDark: boolean, customColor?: string | null, )
dashboard/src/styles/themePalettes.ts:248
↓ 4 callersFunctionbuildAgentRuntimeRequest
( values: AgentRuntimeFormValues, options?: { clearMissing?: boolean }, )
dashboard/src/utils/agentRuntimeConfig.ts:33
↓ 4 callersFunctionbuildAuthHeaders
* Build auth-only headers (no Content-Type — let the browser set it for FormData).
dashboard/src/api/request.ts:225
↓ 4 callersFunctionbuildModelSelectOptions
( models: ModelPickerOption[], autoLabel: string, )
dashboard/src/utils/modelOptions.ts:24
↓ 4 callersFunctionbuildSkillMarkdown
(values: SkillFormValues)
dashboard/src/pages/Agent/Skills/components/SkillDrawer.tsx:182
↓ 4 callersFunctionbuild_harness_request
( *, thread_id: str, user_id: int, source: str, agent_id: str | None = None, session_k
src/octop/infra/gateway/process/harness_request.py:255
↓ 4 callersFunctionbuild_instance_config_json
Build ``connectors.config_json`` payload; None when empty.
src/octop/infra/connectors/default_open.py:16
↓ 4 callersFunctioncalendarDaysAgo
( thenInput: Date | string | number, timeZone?: string, now: Date = new Date(), )
dashboard/src/utils/formatMessageTime.ts:64
↓ 4 callersFunctioncanDeletePath
(path: string)
dashboard/src/pages/Agent/Workspace/components/WorkspaceDrawer.tsx:141
↓ 4 callersFunctioncanPreviewKnowledgeDocument
(doc: { is_dir?: boolean; content_type?: string; filename?: string; has_original?: boolean; })
dashboard/src/utils/knowledgeDocPreview.ts:82
↓ 4 callersFunctioncert_expires_within_days
(expires_at: str, *, days: int = RENEWAL_WINDOW_DAYS)
src/octop/infra/setup/tls/renewal.py:35
↓ 4 callersFunctioncheck_wenyan_installed
Check if wenyan-cli is installed globally.
src/octop/infra/agents/experts/library/wechat-ops/skills/publisher-multi-platform/scripts/wechat_publish.py:70
↓ 4 callersFunctionclassifyChatStreamError
( message: string | null | undefined, )
dashboard/src/utils/chatStreamError.ts:53
↓ 4 callersFunctionclassify_agent_start_error_message
Return a stable ``octop:…`` key for known harness failures, else ``None``.
src/octop/i18n/domains/agents.py:44
↓ 4 callersFunctionclearKeepAlive
(rt: SpeechRuntime)
dashboard/src/utils/browserSpeech.ts:47
↓ 4 callersMethodclear_login_lockout
(self, user_id: int)
src/octop/infra/db/repos/users.py:320
↓ 4 callersFunctioncoerceToolResultText
(value: unknown)
dashboard/src/pages/Chat/utils/trajectoryModel.ts:130
↓ 4 callersFunctioncollectToolMediaFromToolData
( toolData: { output?: string; arguments?: string; name?: string } | undefined, agentId?: string | null,
dashboard/src/utils/toolMediaBlocks.ts:798
↓ 4 callersFunctioncollect_service_status
( runtime: ServiceRuntime | None = None, *, check_health: bool = True, health_retries: int = 1
src/octop/infra/setup/service.py:876
↓ 4 callersMethodcomplete_login
( self, code: str, *, row: SsoProviderRow, login_state: SsoLoginStateR
src/octop/infra/auth/sso/providers/feishu.py:87
↓ 4 callersFunctioncos_file_url
HTTPS URL for one COS object in the embedding tree.
src/octop/infra/agents/providers/onnx_download.py:93
↓ 4 callersMethodcreate_channel
(self, spec: ChannelCreateSpec)
src/octop/infra/gateway/gateway.py:304
↓ 4 callersMethodcreate_folder
( self, kb_id: str, *, actor_user_id: int, path: str, is_admin: bool = False )
src/octop/infra/knowledge/service.py:173
↓ 4 callersMethodcreate_login_state
( self, *, state: str, provider_id: int, nonce: str, code_veri
src/octop/infra/db/repos/sso.py:280
↓ 4 callersMethodcustom_harness_configs
(self, user_id: int)
src/octop/infra/connectors/service.py:447
↓ 4 callersFunctiondashboard_cache_control
Cache-Control for a dashboard SPA path, or ``None`` to leave unset.
src/octop/api/app.py:36
↓ 4 callersFunctiondefaultModelFromForm
( value: string | null | undefined, )
dashboard/src/utils/modelOptions.ts:38
↓ 4 callersFunctiondefaultModelToForm
(value: string | null | undefined)
dashboard/src/utils/modelOptions.ts:46
↓ 4 callersFunctiondefault_agent_workspace_dir
Create-time on-disk workspace (mkdir -p unless ``ensure=False``). Not what harness receives.
src/octop/infra/agents/workspace_dir.py:84
↓ 4 callersFunctiondefault_home_local_backend
Same local backend as the dashboard create-from-expert default (home-scoped).
src/octop/infra/agents/default_agent.py:23
↓ 4 callersFunctiondefault_package_root
Return the in-package subagents directory.
src/octop/infra/agents/subagents/catalog.py:555
↓ 4 callersFunctiondelaycompress_rotated_logs
Gzip older rotated plains; leave ``keep`` (or the newest) uncompressed. Matches logrotate ``compress`` + ``delaycompress``: postpone compression
src/octop/infra/server.py:111
↓ 4 callersMethoddelete
(self, cron_id: str)
src/octop/infra/cron/manager.py:213
↓ 4 callersFunctiondiscovery_client
(handler)
tests/unit/auth/test_sso_service.py:71
↓ 4 callersFunctiondisplay_name_from_stored
Strip ``{unix_ts}_`` prefix from on-disk basename when present.
src/octop/infra/gateway/media/inbound_store.py:371
↓ 4 callersMethoddisplay_path
(self)
src/octop/infra/agents/security/tool_guard_rules.py:31
↓ 4 callersFunctiondocker_status
Return Docker environment status (+ optional best-effort install on Linux).
src/octop/infra/utils/docker_env.py:332
↓ 4 callersFunctionenrichWizardModel
( model: WizardModelSource, t: TFunction, )
dashboard/src/pages/Settings/Models/wizardModelMeta.ts:50
↓ 4 callersFunctionenrich_media_block_preview
Rewrite media blocks for dashboard history (no workspace import).
src/octop/infra/gateway/media/tool_media.py:267
↓ 4 callersMethodensure_backups_dir
(self)
src/octop/infra/utils/paths.py:114
↓ 4 callersFunctionensure_profile_writable
Ensure *profile_dir* is writable by the current process and by Chrome. Does not chmod/chown existing trees (that previously broke ``/`` and `
src/octop/infra/browser/setup.py:213
↓ 4 callersMethodensure_scheduled
Start the loop if this agent is enabled and not already scheduled.
src/octop/infra/proactive/scheduler.py:191
↓ 4 callersMethodexport_jsonl
(self, thread_id: str)
src/octop/infra/trajectory/service.py:128
↓ 4 callersFunctionextract_artifact_paths
Return workspace paths from a write/edit/send/screenshot tool. Prefer structured path keys on tool *args*. Scan the tool result text only whe
src/octop/infra/agents/middleware/thread_artifacts.py:132
↓ 4 callersFunctionextract_feishu_credentials
Return ``(qr_url, app_id, app_secret)`` from creator stdout events.
src/octop/infra/gateway/bot_creators/feishu_runner.py:65
↓ 4 callersMethodfeishu_cli_config_dir
(cli_config_key: str)
src/octop/infra/connectors/service.py:506
↓ 4 callersFunctionfetchActiveVoice
(force = false)
dashboard/src/hooks/useVoiceConfig.ts:12
↓ 4 callersFunctionfetchConfig
()
dashboard/src/pages/Agent/Memory/ProactiveConfig.tsx:43
↓ 4 callersFunctionfindConfiguredProvider
( preset: ProviderPreset, providers: ProviderRow[], )
dashboard/src/pages/Settings/Models/presetUtils.ts:68
↓ 4 callersMethodfinish_turn
(self, *_args: object, **_kwargs: object)
tests/unit/gateway/test_processor_trajectory_observe.py:41
↓ 4 callersFunctionfork_dashboard_thread
Create a dashboard thread seeded through the selected assistant reply.
src/octop/infra/agents/thread_fork.py:181
↓ 4 callersFunctionformatHealthWaitError
(locale Locale, base string, timeout time.Duration, lastErr error, lastStatus int)
desktop/src/download.go:434
↓ 4 callersFunctionformat_attachment_path_hint
Workspace path hint for agent tools — never inline file bytes.
src/octop/infra/gateway/media/attachment_hints.py:118
↓ 4 callersFunctionformat_sse
(event: str, data: Any)
src/octop/api/routers/chat/sse.py:24
↓ 4 callersFunctionformat_voice_probe_error
Map probe-time exceptions to localized copy; unknown text stays as-is.
src/octop/i18n/domains/voice.py:26
↓ 4 callersFunctionfromOctop
(row: OctopCronRow, timezone: string)
dashboard/src/pages/Control/CronJobs/useCronJobs.ts:43
↓ 4 callersMethodfrom_dict
(cls, data: dict[str, Any])
src/octop/infra/backup/manifest.py:58
↓ 4 callersMethodfrom_row
(cls, row: DbRow)
src/octop/infra/db/repos/sso.py:58
↓ 4 callersMethodfrom_row
(cls, r: DbRow)
src/octop/infra/db/repos/knowledge.py:39
↓ 4 callersMethodfrom_row
(cls, row: DbRow)
src/octop/infra/db/repos/invites.py:26
↓ 4 callersMethodfrom_row
(cls, r: DbRow)
src/octop/infra/db/repos/users.py:67
↓ 4 callersMethodget
(self, expert_id: str)
src/octop/infra/db/repos/published_experts.py:51
↓ 4 callersFunctiongetPreviewKind
(path: string)
dashboard/src/pages/Agent/Workspace/components/FilePreview.tsx:13
↓ 4 callersMethodget_by_sso
(self, provider_id: int, subject: str)
src/octop/infra/db/repos/users.py:136
↓ 4 callersFunctionget_display_rotation
Return live display rotation (0–3) from WindowManager, or None.
src/octop/infra/mobile/adb.py:409
↓ 4 callersFunctionget_model_reasoning_from_json
(raw: str | None)
src/octop/infra/users/preferences.py:103
↓ 4 callersFunctionget_preferred_model_from_json
(raw: str | None)
src/octop/infra/users/preferences.py:87
↓ 4 callersFunctionget_remote_browser_bookmarks_from_json
(raw: str | None)
src/octop/infra/users/preferences.py:69
↓ 4 callersMethodget_runtime_status
(self, channel_id: str)
src/octop/infra/gateway/gateway.py:182
↓ 4 callersMethodget_thread_model_override
(self, ctx: SlashCtx, thread_id: str)
src/octop/infra/gateway/slash/dispatcher.py:64
↓ 4 callersFunctionget_tls_manager
()
src/octop/infra/setup/tls/manager.py:256
↓ 4 callersMethodgeteuid
(self)
tests/unit/infra/setup/test_service.py:854
↓ 4 callersFunctiongroupConsecutiveAssistantMessages
( messages: ChatMessage[], )
dashboard/src/pages/Chat/utils/messageGrouping.ts:20
↓ 4 callersMethodhandle_inbound
Stream harness chunks to all thread subscribers (no delta batching).
src/octop/infra/gateway/ws/ws_channel.py:90
↓ 4 callersFunctionharness_workspace_for_agent
``agent.workspace`` for Dashboard tool media and IM stream projection.
src/octop/infra/gateway/process/agent_resolve.py:18
← previousnext →1,101–1,200 of 12,485, ranked by callers