MCPcopy Create free account

hub / github.com/OpenHands/OpenHands / functions

Functions6,701 in github.com/OpenHands/OpenHands

↓ 1 callersFunctioncreateNoDirectAgentServerFetchRule
* ESLint rule: forbid raw `fetch` calls that target an agent-server `/api/...` * path, so API access goes through the typed @openhands/typescript-cli
eslint.config.js:59
↓ 1 callersMethodcreateOAuthTransport
* The cloud request is built like the cloud connection test: unchanged * (redacted) credentials are restored server-side from the stored server of
src/api/mcp-service/mcp-service.api.ts:384
↓ 1 callersFunctioncreateObservationEvent
( observation: Observation, overrides: Partial<ObservationEvent> = {}, )
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:92
↓ 1 callersFunctioncreateOtherObservationEvent
(id: string)
__tests__/components/conversation-events/chat/hooks/use-plan-preview-events.test.ts:52
↓ 1 callersFunctioncreatePaginationEvent
( index: number, messagePrefix: string, )
src/mocks/conversation-handlers.ts:153
↓ 1 callersFunctioncreatePaginationEvent
(index: number, prefix: string)
tests/e2e/mock-llm/regressions/mock-llm-ui-regressions.spec.ts:54
↓ 1 callersFunctioncreatePaginationEvents
(messagePrefix: string)
src/mocks/conversation-handlers.ts:173
↓ 1 callersFunctioncreatePinnedKvSecret
(filePath, key)
scripts/dev-with-automation.mjs:1066
↓ 1 callersFunctioncreatePlanningObservationEvent
( id: string, actionId: string = "action-1", path: string = "/workspace/PLAN.md", )
__tests__/components/conversation-events/chat/hooks/use-plan-preview-events.test.ts:28
↓ 1 callersFunctioncreatePopup
({ closed = false, initialHref = "about:blank", throwOnNavigation = false, }: { closed?: boolean; in
__tests__/components/backends/device-flow-login.test.tsx:76
↓ 1 callersFunctioncreatePreviewProps
( overrides: Partial<PreviewProps> = {}, )
__tests__/components/features/home/home-git-selection-preview.test.tsx:103
↓ 1 callersFunctioncreateProjectSkillRepo
( name: string, trigger: string, description = "E2E test skill", )
tests/e2e/mock-llm/utils/skill-test-helpers.ts:81
↓ 1 callersFunctioncreateProps
(overrides: Partial<DropdownProps> = {})
__tests__/components/features/home/provider-selection.test.tsx:45
↓ 1 callersFunctioncreateProps
( overrides: Partial<RepositoryDataProps> = {}, )
__tests__/components/features/home/repository-data-selection.test.tsx:69
↓ 1 callersFunctioncreateProps
( overrides: Partial<DeviceFlowAuthProps> = {}, )
__tests__/components/backends/device-flow-login.test.tsx:52
↓ 1 callersFunctioncreateProviderRepositoriesQueryResult
( provider: Provider, fullName: string, )
__tests__/components/automations/automation-setup-panel.test.tsx:96
↓ 1 callersFunctioncreateRepository
( overrides: Partial<GitRepository> = {}, )
__tests__/components/features/home/home-git-selection-preview.test.tsx:82
↓ 1 callersFunctioncreateResizeElement
({ offsetHeight = 200, scrollHeight = 100, }: ResizeElementOptions = {})
__tests__/hooks/use-drag-resize.test.tsx:20
↓ 1 callersFunctioncreateResizeGrip
()
__tests__/hooks/use-drag-resize.test.tsx:33
↓ 1 callersFunctioncreateRun
(overrides: Partial<AutomationRun> = {})
__tests__/components/automations/automation-card.test.tsx:94
↓ 1 callersFunctioncreateRun
(overrides: Partial<AutomationRun> = {})
__tests__/components/automations/to-latest-run-state.test.ts:5
↓ 1 callersFunctioncreateRun
(overrides: Partial<AutomationRun> = {})
__tests__/components/automations/automation-list-row.test.tsx:89
↓ 1 callersFunctioncreateRun
(overrides: Partial<AutomationRun>)
__tests__/routes/automations-dashboard.test.tsx:127
↓ 1 callersFunctioncreateRun
(overrides: Partial<AutomationRun> = {})
__tests__/manifests/automation-insights.test.ts:34
↓ 1 callersMethodcreateScriptAutomation
* Import a script automation: upload the bundle the file carries, then * create against the path the upload returned, the way the custom setup *
src/api/automation-service/automation-service.api.ts:689
↓ 1 callersFunctioncreateSeed
(seed)
scripts/seed-automation-ux-data.mjs:764
↓ 1 callersFunctioncreateSession
* Launch a session from an agent config and resolve only once it is * READY, so the caller can tunnel to it directly. A created session * st
scripts/mars-tunnel-bridge.mjs:398
↓ 1 callersFunctioncreateShutdownHookRegistry
(onError)
scripts/dev-process-utils.mjs:131
↓ 1 callersFunctioncreateSkillReadyEvent
()
src/components/conversation-events/chat/event-content-helpers/get-event-content.test.tsx:121
↓ 1 callersFunctioncreateSlideOffsetAssertion
()
__tests__/components/onboarding/onboarding-modal.test.tsx:229
↓ 1 callersFunctioncreateStaticMiddleware
(dirAbs)
scripts/static-server.mjs:599
↓ 1 callersFunctioncreateStatus
(message: string)
src/extensions/canvas-extension-app-view.ts:72
↓ 1 callersFunctioncreateStoreUncurried
( stateCreator: ZustandExportedTypes.StateCreator<T>, )
__mocks__/zustand.ts:33
↓ 1 callersFunctioncreateSystemPromptEvent
(id: string)
__tests__/hooks/use-filtered-events.test.ts:49
↓ 1 callersFunctioncreateTableDemoMessageEvent
( id: string, role: "user" | "assistant", text: string, offsetMinutes: number, )
src/fixtures/table-demo-conversation.ts:24
↓ 1 callersFunctioncreateTask
(overrides: Partial<TaskItemType> = {})
src/components/conversation-events/chat/task-tracking/task-list-section.test.tsx:19
↓ 1 callersFunctioncreateTask
(overrides: Partial<TaskItemData> = {})
__tests__/components/conversation-events/chat/task-tracking-item-status.test.tsx:32
↓ 1 callersFunctioncreateTaskTrackerObservation
( id: string, command: string, taskList: Array<{ title: string; notes: string; status: "todo
__tests__/hooks/use-task-list.test.ts:8
↓ 1 callersFunctioncreateTaskTrackingEvent
( observationOverrides: Partial<TaskTrackerObservation> = {}, )
src/components/conversation-events/chat/task-tracking/task-tracking-observation-content.test.tsx:16
↓ 1 callersFunctioncreateTerminal
(host: HTMLDivElement)
src/hooks/use-terminal.ts:101
↓ 1 callersFunctioncreateTestI18n
(value: string)
__tests__/agent-server-ui-providers.test.tsx:65
↓ 1 callersFunctioncreateThinkActionEvent
( id: string, thought: string, )
__tests__/components/conversation-events/chat/event-message-think-action.test.tsx:30
↓ 1 callersFunctioncreateTouchEvent
(type: string, clientYs: number[])
__tests__/hooks/use-drag-resize.test.tsx:40
↓ 1 callersFunctioncreateTranslations
(lng = "en")
__tests__/components/conversation-events/chat/event-message-components/event-group.test.tsx:105
↓ 1 callersFunctioncreateTrigger
({ bottom, right }: { bottom: number; right: number })
__tests__/hooks/use-popover-fixed-placement.test.ts:17
↓ 1 callersFunctioncreateUncurried
( stateCreator: ZustandExportedTypes.StateCreator<T>, )
__mocks__/zustand.ts:13
↓ 1 callersFunctioncreateUserMessage
(id: string)
__tests__/hooks/use-filtered-events.test.ts:9
↓ 1 callersFunctioncreateUserMessage
(id: string)
__tests__/hooks/use-task-list.test.ts:33
↓ 1 callersFunctioncreateUserMessageEvent
(id: string)
__tests__/components/conversation-events/chat/hooks/use-plan-preview-events.test.ts:15
↓ 1 callersFunctioncreateUserMessageEvent
(id: string)
__tests__/hooks/chat/use-model-interceptor.test.tsx:49
↓ 1 callersFunctioncreateUserRejectObservation
( action: ActionEvent, )
__tests__/components/conversation-events/chat/messages-confirmation.test.tsx:95
↓ 1 callersFunctioncreateWorkspaceConversation
* Start a conversation whose agent writes FILE_NAME and .agents_tmp/PLAN.md * into its workspace, and wait until the command has run.
tests/e2e/mock-llm/windows/mock-llm-windows-known-issues.spec.ts:104
↓ 1 callersFunctioncreateWrapper
()
__tests__/components/features/conversation/conversation-tab-content.test.tsx:61
↓ 1 callersFunctioncreateWrapper
(conversationId: string)
__tests__/components/features/conversation/conversation-tabs.test.tsx:73
↓ 1 callersFunctioncreateWrapper
()
__tests__/routes/device-verify.test.tsx:26
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/use-download-conversation.test.ts:34
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/use-unified-vscode-url.test.tsx:132
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/query/use-latest-automation-runs.test.tsx:38
↓ 1 callersFunctioncreateWrapper
(currentPath: string)
__tests__/hooks/query/use-paginated-conversations.test.tsx:29
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/query/use-automation-health.test.tsx:20
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/query/use-automation-run-summaries.test.tsx:60
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/query/use-manifest-prerequisites.test.tsx:42
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/query/use-task-polling.test.tsx:59
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/query/use-sub-conversation-task-polling.test.tsx:19
↓ 1 callersFunctioncreateWrapper
(queryClient?: QueryClient)
__tests__/hooks/mutation/use-update-conversation-tags.test.tsx:18
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-add-mcp-server.test.ts:26
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-plugin-mutations.test.ts:28
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-save-fields-as-secrets.test.ts:26
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-update-mcp-server.test.ts:39
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-install-canvas-extension.test.ts:27
↓ 1 callersFunctioncreateWrapper
(queryClient?: QueryClient)
__tests__/hooks/mutation/use-update-conversation-repository.test.tsx:31
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-save-settings.test.ts:21
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-mcp-server-mutations-error-toast.test.ts:27
↓ 1 callersFunctioncreateWrapper
()
__tests__/hooks/mutation/use-delete-mcp-server.test.ts:33
↓ 1 callersFunctioncreateWrapperForConversation
(conversationId: string)
__tests__/hooks/query/use-task-polling.test.tsx:229
↓ 1 callersFunctioncron
(schedule: string, extra: Partial<AutomationTrigger> = {})
__tests__/utils/automation-trigger-description.test.ts:13
↓ 1 callersFunctioncronIntervalSeconds
(schedule: string)
src/mocks/automation-handlers.ts:93
↓ 1 callersFunctioncronWeekday
(weekday: string)
src/components/features/automations/setup/automation-setup-panel.tsx:356
↓ 1 callersFunctioncsvEscape
(value: string)
src/utils/automation-activity-log-export.ts:42
↓ 1 callersFunctioncube
(x: number)
__tests__/components/features/files-tab/file-content-viewer.test.tsx:207
↓ 1 callersFunctioncurrentLocationSearch
()
src/api/backend-registry/url-selection.ts:121
↓ 1 callersFunctiondaysAgo
(days: number, hour = 9)
src/mocks/automation-runs.mock.ts:4
↓ 1 callersFunctiondaysAgo
(days: number)
src/mocks/automations.mock.ts:15
↓ 1 callersFunctiondeclaration
(element: Element, property: string)
__tests__/components/features/home/home-chat-launcher.test.tsx:500
↓ 1 callersFunctiondeclarations
(rule: Rule)
__tests__/vite-config.test.ts:193
↓ 1 callersFunctiondeclarations
(element: Element)
__tests__/components/features/command-menu/command-menu.test.tsx:550
↓ 1 callersFunctiondeclarations
(blockPattern: RegExp)
__tests__/themes/theme-color-resolver.ts:22
↓ 1 callersFunctiondecodeHtmlEntities
(text: string)
src/components/features/chat/mono-component.tsx:4
↓ 1 callersFunctiondecodeHtmlEntities
(text: string)
src/components/features/chat/path-component.tsx:18
↓ 1 callersFunctiondecodePathSegments
* Percent-decode each `/`-separated path segment. The WHATWG `URL.pathname` * keeps the remote's encoding (`Web%20Apps`), but `repository` doubles as
src/utils/parse-git-remote-url.ts:58
↓ 1 callersFunctiondecodeString
(str: string)
src/components/features/chat/mono-component.tsx:13
↓ 1 callersFunctiondecodeText
(bytes: Uint8Array)
src/utils/tar-unpack.ts:112
↓ 1 callersFunctiondecodesAsBase64
(value: string)
src/utils/automation-export.ts:156
↓ 1 callersFunctiondecorateAutomation
(automationId, seed)
scripts/seed-automation-ux-data.mjs:743
↓ 1 callersFunctiondeepClone
(value: T)
src/api/settings-service/settings-service.api.ts:139
↓ 1 callersFunctiondeepMerge
Simple recursive merge — objects merge, scalars overwrite.
src/mocks/settings-handlers.ts:16
↓ 1 callersFunctiondeepenOnlyPage
(page: number, nextPageId: string)
__tests__/components/features/conversation-panel/conversation-panel-filters.test.tsx:1085
↓ 1 callersFunctiondefaultProfileOverride
An OpenHands `default` opens on the MCP servers switched on and every secret.
src/components/features/settings/agent-profiles/agent-profiles-local-view.tsx:99
↓ 1 callersFunctiondefaultSkillEnablement
(settings: { enabled_skills?: string[]; disabled_skills?: string[]; })
src/utils/skill-enablement.ts:183
↓ 1 callersFunctiondeferred
()
src/extensions/canvas-extension-app-view.test.ts:23
← previousnext →2,601–2,700 of 6,701, ranked by callers