MCPcopy Create free account

hub / github.com/EBWi11/AgentSmith-HUB / functions

Functions2,165 in github.com/EBWi11/AgentSmith-HUB

FunctionTestTrimStageMatches_NoTrimNeeded
(t *testing.T)
src/rules_engine/cep_test.go:1069
FunctionTestTruncateString
(t *testing.T)
src/local_plugin/shodan/shodan_test.go:53
FunctionTestValidatePluginCall_InvalidSyntax
(t *testing.T)
src/rules_engine/engine_validation_test.go:751
FunctionTestValidatePluginCall_NotFound
(t *testing.T)
src/rules_engine/engine_validation_test.go:733
FunctionTestValidatePluginCall_Valid
(t *testing.T)
src/rules_engine/engine_validation_test.go:724
FunctionTestValidateQueryValue
(t *testing.T)
src/local_plugin/threatbook/threatbook_test.go:130
FunctionTestValidate_AppendMissingField
(t *testing.T)
src/rules_engine/engine_boost_test.go:332
FunctionTestValidate_AppendPluginEmptyValue
(t *testing.T)
src/rules_engine/engine_boost_test.go:306
FunctionTestValidate_AppendPluginUnknown
(t *testing.T)
src/rules_engine/engine_boost_test.go:319
FunctionTestValidate_AppendPluginValid
============================================================ ValidateWithDetails — validateAppend PLUGIN paths =======================================
src/rules_engine/engine_boost_test.go:293
FunctionTestValidate_CheckMissingField
(t *testing.T)
src/rules_engine/engine_validation_test.go:109
FunctionTestValidate_ChecklistInvalidNodeType
(t *testing.T)
src/rules_engine/engine_boost_test.go:261
FunctionTestValidate_ChecklistMissingField
(t *testing.T)
src/rules_engine/engine_boost_test.go:275
FunctionTestValidate_ChecklistNodeMissingIDWhenCondition
(t *testing.T)
src/rules_engine/engine_validation_test.go:467
FunctionTestValidate_ChecklistValid
============================================================ ValidateWithDetails — validateChecklist paths ===========================================
src/rules_engine/engine_boost_test.go:247
FunctionTestValidate_ChecklistWithCondition
============================================================ ValidateWithDetails — valid ruleset with checklist exercises validateChecklist code path
src/rules_engine/engine_validation_test.go:448
FunctionTestValidate_DuplicateRuleIDs
(t *testing.T)
src/rules_engine/engine_validation_test.go:80
FunctionTestValidate_InvalidRegexPattern
TestValidate_InvalidRegexPattern triggers the REGEX node validation path.
src/rules_engine/engine_validation_test.go:266
FunctionTestValidate_InvalidRootType
(t *testing.T)
src/rules_engine/engine_validation_test.go:60
FunctionTestValidate_InvalidXML
============================================================ ValidateWithDetails — invalid XML triggers parse error path =============================
src/rules_engine/engine_validation_test.go:433
FunctionTestValidate_IteratorCheckNodeInvalidType
============================================================ validateIteratorCheckNode and validateIteratorThreshold via ValidateWithDetails with inva
src/rules_engine/engine_boost_test.go:393
FunctionTestValidate_IteratorEmpty
TestValidate_IteratorEmpty validates that an iterator with no checks errors.
src/rules_engine/engine_validation_test.go:245
FunctionTestValidate_IteratorInvalidType
TestValidate_IteratorInvalidType validates that an iterator with wrong type errors.
src/rules_engine/engine_validation_test.go:223
FunctionTestValidate_IteratorMissingVariable
TestValidate_IteratorMissingVariable validates that an iterator without variable triggers the validateIterator error path.
src/rules_engine/engine_validation_test.go:201
FunctionTestValidate_IteratorThresholdInvalidRange
(t *testing.T)
src/rules_engine/engine_boost_test.go:409
FunctionTestValidate_IteratorWithThreshold
============================================================ ValidateWithDetails — iterator with threshold (validateIteratorThreshold path) ==========
src/rules_engine/engine_validation_test.go:685
FunctionTestValidate_ModifyInvalidType
(t *testing.T)
src/rules_engine/engine_boost_test.go:230
FunctionTestValidate_ModifyPluginEmptyValue
(t *testing.T)
src/rules_engine/engine_boost_test.go:204
FunctionTestValidate_ModifyPluginUnknown
(t *testing.T)
src/rules_engine/engine_boost_test.go:217
FunctionTestValidate_ModifyPluginValid
============================================================ ValidateWithDetails — validateModify PLUGIN paths =======================================
src/rules_engine/engine_boost_test.go:191
FunctionTestValidate_PluginEmptyValue
(t *testing.T)
src/rules_engine/engine_boost_test.go:375
FunctionTestValidate_PluginInvalidCallSyntax
============================================================ validatePluginParameters path coverage ==================================================
src/rules_engine/engine_boost_test.go:430
FunctionTestValidate_PluginUnknown
(t *testing.T)
src/rules_engine/engine_boost_test.go:362
FunctionTestValidate_PluginValid
============================================================ ValidateWithDetails — validatePlugin paths ==============================================
src/rules_engine/engine_boost_test.go:349
FunctionTestValidate_RuleWithoutID
TestValidate_RuleWithoutID exercises the getLineNumber fallback path in validateRule.
src/rules_engine/engine_validation_test.go:638
FunctionTestValidate_ThresholdCountFieldWarning
TestValidate_ThresholdCountFieldWarning exercises the warning path for unused count_field in default count mode.
src/rules_engine/engine_validation_test.go:660
FunctionTestValidate_ThresholdMissingGroupBy
TestValidate_ThresholdMissingGroupBy validates that a threshold without group_by triggers the validateThreshold error path.
src/rules_engine/engine_validation_test.go:137
FunctionTestValidate_ThresholdSUMMissingCountField
TestValidate_ThresholdSUMMissingCountField validates SUM type needs count_field.
src/rules_engine/engine_validation_test.go:179
FunctionTestValidate_ThresholdZeroValue
TestValidate_ThresholdZeroValue validates that a threshold value of 0 fails.
src/rules_engine/engine_validation_test.go:158
FunctionTestValidate_ValidAppendPlugin
TestValidate_ValidAppendPlugin exercises validateAppend with plugin type (validates validatePluginParameters).
src/rules_engine/engine_validation_test.go:559
FunctionTestValidate_ValidAppendStatic
TestValidate_ValidAppendStatic exercises validateAppend happy path for static value.
src/rules_engine/engine_validation_test.go:541
FunctionTestValidate_ValidIterator
============================================================ ValidateWithDetails — VALID rulesets to exercise validate* happy paths These tests ensure
src/rules_engine/engine_validation_test.go:503
FunctionTestValidate_ValidIteratorAllType
TestValidate_ValidIteratorAllType exercises ALL iterator type path.
src/rules_engine/engine_validation_test.go:522
FunctionTestValidate_ValidModifyLiteral
TestValidate_ValidModifyLiteral exercises validateModify literal path.
src/rules_engine/engine_validation_test.go:581
FunctionTestValidate_ValidPlugin
TestValidate_ValidPlugin exercises validatePlugin happy path.
src/rules_engine/engine_validation_test.go:599
FunctionTestValidate_ValidPluginCheck
TestValidate_ValidPluginCheck exercises validateCheckNodePluginCall + ParseCheckNodePluginCall.
src/rules_engine/engine_validation_test.go:621
FunctionTestValidate_ValidRuleset
============================================================ ValidateWithDetails — exercises validateRulesetStructure and all its sub-validators (vali
src/rules_engine/engine_validation_test.go:40
FunctionTestVerifyAcceptsAliyunSLSOutput
(t *testing.T)
src/output/output_config_test.go:188
FunctionTestVerifyRejectsInvalidOutputTuning
(t *testing.T)
src/output/output_config_test.go:119
FunctionTestWaitForFollowerTokenRetriesUntilSuccess
(t *testing.T)
src/api/follower_server_test.go:10
FunctionTestWaitForFollowerTokenReturnsErrorAfterMaxAttempts
(t *testing.T)
src/api/follower_server_test.go:47
FunctionTestYaegiPluginCanUseScopedHubRedisAPI
(t *testing.T)
src/plugin/plugin_redis_api_test.go:28
FunctionTestYaegiPluginRedisAPIRejectsEmptyKey
(t *testing.T)
src/plugin/plugin_redis_api_test.go:301
MethodUnmarshalYAML
UnmarshalYAML accepts legacy scalar (multi-line string) or YAML sequence ([]string).
src/agent/memory_notes.go:66
MethodUpdateComponentDirect
UpdateComponentDirect updates a component directly without HTTP context (for API/leader)
src/common/component_operations.go:89
MethodUpdateComponentMemoryOnly
UpdateComponentMemoryOnly updates a component in memory only (for follower)
src/common/component_operations.go:134
MethodUpdateState
UpdateOperationState updates the state of an ongoing operation
src/common/operations.go:396
FunctionVerifyPendingChanges
VerifyPendingChanges verifies all pending changes without applying them
src/api/pending_changes.go:252
FunctionVerifySinglePendingChange
VerifySinglePendingChange verifies a single pending change
src/api/pending_changes.go:299
FunctionWarn
(msg string, args ...any)
src/logger/logger.go:447
MethodWithAttrs
WithAttrs implements slog.Handler
src/logger/logger.go:579
MethodWithGroup
WithGroup implements slog.Handler
src/logger/logger.go:589
FunctionWriteAgentLogToRedis
WriteAgentLogToRedis appends an agent log entry to a per-agent Redis list with a fixed maximum length and a TTL of 7 days.
src/common/agent_log_redis.go:150
FunctionWriteErrorLogToRedis
WriteErrorLogToRedis writes an error log entry to Redis
src/common/error_log_redis.go:26
FunctionWriteLLMConfigToRedis
WriteLLMConfigToRedis writes LLM API key/base URL/model to Redis (called by leader when config is set). Ensures all nodes in the cluster use the same
src/api/token_sync.go:69
FunctionWriteLeaderNodeIDToRedis
WriteLeaderNodeIDToRedis writes the leader's node ID (IP/host) to Redis so followers and plugins can reach the leader API. Called by leader on startup
src/api/token_sync.go:37
FunctionWriteTokenToRedis
WriteTokenToRedis writes the token to Redis (called by leader on startup)
src/api/token_sync.go:21
FunctionXXHash64
(s string)
src/common/utils.go:149
Method__init__
(self, brokers, topic, qps=1000, duration=60, num_threads=4, max_messages=None)
docs/kafka_producer_perf_test.py:51
Method_on_send_error
Callback for send error
docs/kafka_producer_perf_test.py:141
Method_on_send_success
Callback for successful send
docs/kafka_producer_perf_test.py:137
FunctionaddRulesetRule
addRulesetRule adds a new rule to a ruleset
src/api/components.go:2577
MethodaliyunSLSConsumerProcess
(shardId int, logGroupList *sls.LogGroupList, checkpointTracker consumerLibrary.CheckPointTracker)
src/common/aliyun_sls.go:271
FunctionanalyzeProjectContext
===================================================== PROJECT CONTEXT ANALYSIS =====================================================
src/api/sample_data_intelligent.go:153
FunctionapplySingleChange
(type, id)
web/src/api/index.js:661
FunctionbadRequestError
(c echo.Context, message string)
src/api/http_helpers.go:29
FunctionbatchUpdate
(updates)
web/src/stores/dataCache.js:806
FunctionbuildStart
()
web/vite.config.js:60
FunctioncancelAgentUpgrade
(c echo.Context)
src/api/agent_handlers.go:137
FunctioncancelAllPendingChanges
()
web/src/api/index.js:650
FunctioncancelInputUpgrade
(c echo.Context)
src/api/components.go:1766
FunctioncancelOutputUpgrade
(c echo.Context)
src/api/components.go:1780
FunctioncancelPendingChange
(type, id)
web/src/api/index.js:639
FunctioncancelPluginUpgrade
(c echo.Context)
src/api/components.go:1794
FunctioncancelProjectUpgrade
Cancel upgrade functions - delete both memory and temp files
src/api/components.go:1738
FunctioncancelRulesetUpgrade
(c echo.Context)
src/api/components.go:1752
FunctioncancelSkillUpgrade
(c echo.Context)
src/api/skill_handlers.go:109
FunctioncheckAllProjectComponentsImpl
checkAllProjectComponentsImpl implements the actual component checking logic
src/project/project.go:448
FunctioncheckTemporaryFile
(type, id)
web/src/api/index.js:1078
FunctioncheckUserInactivity
()
web/src/composables/useSmartRefresh.js:66
FunctioncleanupEventListeners
()
web/src/stores/dataCache.js:271
FunctionclearAll
()
web/src/stores/dataCache.js:774
FunctionclearAllCache
()
web/src/stores/dataCache.js:743
FunctionclearCache
(key)
web/src/stores/dataCache.js:682
FunctionclearComponentCache
(type)
web/src/stores/dataCache.js:708
FunctionclearComponentRelatedCaches
(type, id)
web/src/stores/dataCache.js:691
FunctionclearRulesetFields
(rulesetId = null)
web/src/stores/dataCache.js:900
FunctionclearTestCache
(type, id = null)
web/src/stores/dataCache.js:940
FunctionclearToken
()
web/src/api/index.js:268
FunctionclearUIStates
()
web/src/stores/dataCache.js:1004
← previousnext →1,801–1,900 of 2,165, ranked by callers