MCPcopy Create free account

hub / github.com/NuyoahCh/mcpchainx / functions

Functions459 in github.com/NuyoahCh/mcpchainx

FunctionTaskList
({ tasks, totalCount, onSelect, activeTaskId, loading, error, onRetry, statusFilter, onStatu
web/src/components/TaskList.tsx:33
FunctionTestAgentExecuteSuccess
TestAgentExecuteSuccess 测试代理的成功执行路径。
internal/agent/agent_test.go:35
FunctionTestAgentExecuteTimeout
TestAgentExecuteTimeout 测试代理在 LLM 调用超时时的行为。
internal/agent/agent_test.go:49
FunctionTestAuthenticateStoresToken
(t *testing.T)
sdk/go/openmcp/client_test.go:12
FunctionTestClientDeploySubscribeBatch
(t *testing.T)
internal/web3/ethereum/client_test.go:27
FunctionTestGenerateHTTPError
(t *testing.T)
internal/llm/openai/client_test.go:70
FunctionTestGenerateSuccess
(t *testing.T)
internal/llm/openai/client_test.go:21
FunctionTestGetTaskError
(t *testing.T)
sdk/go/openmcp/client_test.go:78
FunctionTestHandleTaskDetailErrors
(t *testing.T)
internal/api/server_test.go:56
FunctionTestHandleTaskDetailSuccess
(t *testing.T)
internal/api/server_test.go:14
FunctionTestHandleTaskDetailTrailingSlashFallsBackToList
(t *testing.T)
internal/api/server_test.go:93
FunctionTestHandleTaskDetailTrailingSlashPostDelegatesToCreate
(t *testing.T)
internal/api/server_test.go:128
FunctionTestMemoryStoreListWithFilters
(t *testing.T)
internal/task/memory_store_test.go:10
FunctionTestMemoryStoreStats
(t *testing.T)
internal/task/memory_store_test.go:113
FunctionTestNewClientValidation
(t *testing.T)
internal/llm/openai/client_test.go:15
FunctionTestSubmitTaskRequiresToken
(t *testing.T)
sdk/go/openmcp/client_test.go:45
MethodUnwrap
Unwrap 实现 errors.Unwrap。
internal/errors/errors.go:214
MethodUpdate
(ctx context.Context, record TaskRecord)
internal/storage/mysql/task_repository.go:36
MethodUpdate
(_ context.Context, record TaskRecord)
internal/storage/mysql/task_repository.go:99
MethodUpdate
(_ context.Context, record TaskRecord)
internal/storage/mysql/task_repository.go:301
MethodUpdate
(ctx context.Context, record TaskRecord)
internal/storage/mysql/task_repository.go:442
MethodUpdate
(ctx context.Context, record TaskRecord)
internal/storage/mysql/task_repository.go:630
MethodValidate
Validate ensures the manager configuration is internally consistent.
pkg/plugin/config.go:63
MethodValidate
Validate ensures the plugin requested capabilities are allowed.
pkg/plugin/isolation.go:20
MethodWaitUntilCompleted
WaitUntilCompleted 在指定超时时间内轮询任务状态。
internal/task/service.go:131
FunctionWithAlert
WithAlert 指定错误是否需要告警。
internal/errors/errors.go:168
FunctionWithAlertDispatcher
WithAlertDispatcher 配置告警派发器。
internal/task/processor.go:60
FunctionWithIsolationStrategy
WithIsolationStrategy sets a custom isolation policy enforcement strategy.
pkg/plugin/plugin.go:64
FunctionWithLoader
WithLoader overrides the default binary loader implementation.
pkg/plugin/plugin.go:55
FunctionWithMetadata
WithMetadata 附加额外信息。
internal/errors/errors.go:151
FunctionWithRecoveryHandler
WithRecoveryHandler 配置失败补偿策略。
internal/task/processor.go:53
FunctionWithResource
WithResource registers a shared resource that will be exposed to all plugins.
pkg/plugin/plugin.go:73
FunctionWithRetryable
WithRetryable 指定错误是否可重试。
internal/errors/errors.go:161
FunctionWithSeverity
WithSeverity 覆盖默认严重程度。
internal/errors/errors.go:175
MethodWithTransaction
(ctx context.Context, fn func(context.Context, TaskRepository) error)
internal/storage/mysql/task_repository.go:39
MethodWithTransaction
(ctx context.Context, fn func(context.Context, TaskRepository) error)
internal/storage/mysql/task_repository.go:159
MethodWithTransaction
(ctx context.Context, fn func(context.Context, TaskRepository) error)
internal/storage/mysql/task_repository.go:347
MethodWithTransaction
(ctx context.Context, fn func(context.Context, TaskRepository) error)
internal/storage/mysql/task_repository.go:536
MethodWithTransaction
(ctx context.Context, fn func(context.Context, TaskRepository) error)
internal/storage/mysql/task_repository.go:723
FunctionWrap
Wrap 在已有错误外包裹统一错误类型。
internal/errors/errors.go:196
MethodWriteHeader
WriteHeader 捕获响应状态码并调用底层的 WriteHeader 方法。
internal/auth/middleware.go:109
Methodconstructor
(message?: string)
web/src/api.ts:13
FunctioncopySession
()
web/src/components/AuthPanel.tsx:102
FunctioncopyToken
()
web/src/components/AuthPanel.tsx:90
Functiondo_history
(args: argparse.Namespace)
scripts/task_client.py:52
Functiondo_invoke
(args: argparse.Namespace)
scripts/task_client.py:40
Methodhandle
(ctx context.Context, taskID string)
internal/task/processor.go:94
MethodhandleAuthToken
handleAuthToken 处理身份认证令牌请求。
internal/api/server.go:255
FunctionhandleReset
()
web/src/components/ConnectionSettings.tsx:67
FunctionhandleSave
()
web/src/components/ConnectionSettings.tsx:51
FunctionhandleStatusChange
()
web/src/hooks/useNetworkStatus.ts:45
FunctionhandleSubmit
(event: React.FormEvent)
web/src/components/TaskForm.tsx:65
FunctionhandleSubmit
(event: React.FormEvent)
web/src/components/AuthPanel.tsx:65
MethodhandleTaskStats
handleTaskStats 处理任务统计查询请求。
internal/api/server.go:408
Functionif
(options?.manual)
web/src/App.tsx:296
Functioninit
()
internal/task/task.go:67
Functionmain
main 是 OpenMCP 守护进程的入口。
cmd/openmcpd/main.go:32
Functionmain
()
sdk/go/examples/main.go:14
Methodobserve
observe 在直方图中记录一个新的观测值。
internal/observability/metrics/http.go:93
← previous401–459 of 459, ranked by callers