Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EBWi11/AgentSmith-HUB
/ functions
Functions
2,165 in github.com/EBWi11/AgentSmith-HUB
⨍
Functions
2,165
◇
Types & classes
243
Function
TestTrimStageMatches_NoTrimNeeded
(t *testing.T)
src/rules_engine/cep_test.go:1069
Function
TestTruncateString
(t *testing.T)
src/local_plugin/shodan/shodan_test.go:53
Function
TestValidatePluginCall_InvalidSyntax
(t *testing.T)
src/rules_engine/engine_validation_test.go:751
Function
TestValidatePluginCall_NotFound
(t *testing.T)
src/rules_engine/engine_validation_test.go:733
Function
TestValidatePluginCall_Valid
(t *testing.T)
src/rules_engine/engine_validation_test.go:724
Function
TestValidateQueryValue
(t *testing.T)
src/local_plugin/threatbook/threatbook_test.go:130
Function
TestValidate_AppendMissingField
(t *testing.T)
src/rules_engine/engine_boost_test.go:332
Function
TestValidate_AppendPluginEmptyValue
(t *testing.T)
src/rules_engine/engine_boost_test.go:306
Function
TestValidate_AppendPluginUnknown
(t *testing.T)
src/rules_engine/engine_boost_test.go:319
Function
TestValidate_AppendPluginValid
============================================================ ValidateWithDetails — validateAppend PLUGIN paths =======================================
src/rules_engine/engine_boost_test.go:293
Function
TestValidate_CheckMissingField
(t *testing.T)
src/rules_engine/engine_validation_test.go:109
Function
TestValidate_ChecklistInvalidNodeType
(t *testing.T)
src/rules_engine/engine_boost_test.go:261
Function
TestValidate_ChecklistMissingField
(t *testing.T)
src/rules_engine/engine_boost_test.go:275
Function
TestValidate_ChecklistNodeMissingIDWhenCondition
(t *testing.T)
src/rules_engine/engine_validation_test.go:467
Function
TestValidate_ChecklistValid
============================================================ ValidateWithDetails — validateChecklist paths ===========================================
src/rules_engine/engine_boost_test.go:247
Function
TestValidate_ChecklistWithCondition
============================================================ ValidateWithDetails — valid ruleset with checklist exercises validateChecklist code path
src/rules_engine/engine_validation_test.go:448
Function
TestValidate_DuplicateRuleIDs
(t *testing.T)
src/rules_engine/engine_validation_test.go:80
Function
TestValidate_InvalidRegexPattern
TestValidate_InvalidRegexPattern triggers the REGEX node validation path.
src/rules_engine/engine_validation_test.go:266
Function
TestValidate_InvalidRootType
(t *testing.T)
src/rules_engine/engine_validation_test.go:60
Function
TestValidate_InvalidXML
============================================================ ValidateWithDetails — invalid XML triggers parse error path =============================
src/rules_engine/engine_validation_test.go:433
Function
TestValidate_IteratorCheckNodeInvalidType
============================================================ validateIteratorCheckNode and validateIteratorThreshold via ValidateWithDetails with inva
src/rules_engine/engine_boost_test.go:393
Function
TestValidate_IteratorEmpty
TestValidate_IteratorEmpty validates that an iterator with no checks errors.
src/rules_engine/engine_validation_test.go:245
Function
TestValidate_IteratorInvalidType
TestValidate_IteratorInvalidType validates that an iterator with wrong type errors.
src/rules_engine/engine_validation_test.go:223
Function
TestValidate_IteratorMissingVariable
TestValidate_IteratorMissingVariable validates that an iterator without variable triggers the validateIterator error path.
src/rules_engine/engine_validation_test.go:201
Function
TestValidate_IteratorThresholdInvalidRange
(t *testing.T)
src/rules_engine/engine_boost_test.go:409
Function
TestValidate_IteratorWithThreshold
============================================================ ValidateWithDetails — iterator with threshold (validateIteratorThreshold path) ==========
src/rules_engine/engine_validation_test.go:685
Function
TestValidate_ModifyInvalidType
(t *testing.T)
src/rules_engine/engine_boost_test.go:230
Function
TestValidate_ModifyPluginEmptyValue
(t *testing.T)
src/rules_engine/engine_boost_test.go:204
Function
TestValidate_ModifyPluginUnknown
(t *testing.T)
src/rules_engine/engine_boost_test.go:217
Function
TestValidate_ModifyPluginValid
============================================================ ValidateWithDetails — validateModify PLUGIN paths =======================================
src/rules_engine/engine_boost_test.go:191
Function
TestValidate_PluginEmptyValue
(t *testing.T)
src/rules_engine/engine_boost_test.go:375
Function
TestValidate_PluginInvalidCallSyntax
============================================================ validatePluginParameters path coverage ==================================================
src/rules_engine/engine_boost_test.go:430
Function
TestValidate_PluginUnknown
(t *testing.T)
src/rules_engine/engine_boost_test.go:362
Function
TestValidate_PluginValid
============================================================ ValidateWithDetails — validatePlugin paths ==============================================
src/rules_engine/engine_boost_test.go:349
Function
TestValidate_RuleWithoutID
TestValidate_RuleWithoutID exercises the getLineNumber fallback path in validateRule.
src/rules_engine/engine_validation_test.go:638
Function
TestValidate_ThresholdCountFieldWarning
TestValidate_ThresholdCountFieldWarning exercises the warning path for unused count_field in default count mode.
src/rules_engine/engine_validation_test.go:660
Function
TestValidate_ThresholdMissingGroupBy
TestValidate_ThresholdMissingGroupBy validates that a threshold without group_by triggers the validateThreshold error path.
src/rules_engine/engine_validation_test.go:137
Function
TestValidate_ThresholdSUMMissingCountField
TestValidate_ThresholdSUMMissingCountField validates SUM type needs count_field.
src/rules_engine/engine_validation_test.go:179
Function
TestValidate_ThresholdZeroValue
TestValidate_ThresholdZeroValue validates that a threshold value of 0 fails.
src/rules_engine/engine_validation_test.go:158
Function
TestValidate_ValidAppendPlugin
TestValidate_ValidAppendPlugin exercises validateAppend with plugin type (validates validatePluginParameters).
src/rules_engine/engine_validation_test.go:559
Function
TestValidate_ValidAppendStatic
TestValidate_ValidAppendStatic exercises validateAppend happy path for static value.
src/rules_engine/engine_validation_test.go:541
Function
TestValidate_ValidIterator
============================================================ ValidateWithDetails — VALID rulesets to exercise validate* happy paths These tests ensure
src/rules_engine/engine_validation_test.go:503
Function
TestValidate_ValidIteratorAllType
TestValidate_ValidIteratorAllType exercises ALL iterator type path.
src/rules_engine/engine_validation_test.go:522
Function
TestValidate_ValidModifyLiteral
TestValidate_ValidModifyLiteral exercises validateModify literal path.
src/rules_engine/engine_validation_test.go:581
Function
TestValidate_ValidPlugin
TestValidate_ValidPlugin exercises validatePlugin happy path.
src/rules_engine/engine_validation_test.go:599
Function
TestValidate_ValidPluginCheck
TestValidate_ValidPluginCheck exercises validateCheckNodePluginCall + ParseCheckNodePluginCall.
src/rules_engine/engine_validation_test.go:621
Function
TestValidate_ValidRuleset
============================================================ ValidateWithDetails — exercises validateRulesetStructure and all its sub-validators (vali
src/rules_engine/engine_validation_test.go:40
Function
TestVerifyAcceptsAliyunSLSOutput
(t *testing.T)
src/output/output_config_test.go:188
Function
TestVerifyRejectsInvalidOutputTuning
(t *testing.T)
src/output/output_config_test.go:119
Function
TestWaitForFollowerTokenRetriesUntilSuccess
(t *testing.T)
src/api/follower_server_test.go:10
Function
TestWaitForFollowerTokenReturnsErrorAfterMaxAttempts
(t *testing.T)
src/api/follower_server_test.go:47
Function
TestYaegiPluginCanUseScopedHubRedisAPI
(t *testing.T)
src/plugin/plugin_redis_api_test.go:28
Function
TestYaegiPluginRedisAPIRejectsEmptyKey
(t *testing.T)
src/plugin/plugin_redis_api_test.go:301
Method
UnmarshalYAML
UnmarshalYAML accepts legacy scalar (multi-line string) or YAML sequence ([]string).
src/agent/memory_notes.go:66
Method
UpdateComponentDirect
UpdateComponentDirect updates a component directly without HTTP context (for API/leader)
src/common/component_operations.go:89
Method
UpdateComponentMemoryOnly
UpdateComponentMemoryOnly updates a component in memory only (for follower)
src/common/component_operations.go:134
Method
UpdateState
UpdateOperationState updates the state of an ongoing operation
src/common/operations.go:396
Function
VerifyPendingChanges
VerifyPendingChanges verifies all pending changes without applying them
src/api/pending_changes.go:252
Function
VerifySinglePendingChange
VerifySinglePendingChange verifies a single pending change
src/api/pending_changes.go:299
Function
Warn
(msg string, args ...any)
src/logger/logger.go:447
Method
WithAttrs
WithAttrs implements slog.Handler
src/logger/logger.go:579
Method
WithGroup
WithGroup implements slog.Handler
src/logger/logger.go:589
Function
WriteAgentLogToRedis
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
Function
WriteErrorLogToRedis
WriteErrorLogToRedis writes an error log entry to Redis
src/common/error_log_redis.go:26
Function
WriteLLMConfigToRedis
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
Function
WriteLeaderNodeIDToRedis
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
Function
WriteTokenToRedis
WriteTokenToRedis writes the token to Redis (called by leader on startup)
src/api/token_sync.go:21
Function
XXHash64
(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
Function
addRulesetRule
addRulesetRule adds a new rule to a ruleset
src/api/components.go:2577
Method
aliyunSLSConsumerProcess
(shardId int, logGroupList *sls.LogGroupList, checkpointTracker consumerLibrary.CheckPointTracker)
src/common/aliyun_sls.go:271
Function
analyzeProjectContext
===================================================== PROJECT CONTEXT ANALYSIS =====================================================
src/api/sample_data_intelligent.go:153
Function
applySingleChange
(type, id)
web/src/api/index.js:661
Function
badRequestError
(c echo.Context, message string)
src/api/http_helpers.go:29
Function
batchUpdate
(updates)
web/src/stores/dataCache.js:806
Function
buildStart
()
web/vite.config.js:60
Function
cancelAgentUpgrade
(c echo.Context)
src/api/agent_handlers.go:137
Function
cancelAllPendingChanges
()
web/src/api/index.js:650
Function
cancelInputUpgrade
(c echo.Context)
src/api/components.go:1766
Function
cancelOutputUpgrade
(c echo.Context)
src/api/components.go:1780
Function
cancelPendingChange
(type, id)
web/src/api/index.js:639
Function
cancelPluginUpgrade
(c echo.Context)
src/api/components.go:1794
Function
cancelProjectUpgrade
Cancel upgrade functions - delete both memory and temp files
src/api/components.go:1738
Function
cancelRulesetUpgrade
(c echo.Context)
src/api/components.go:1752
Function
cancelSkillUpgrade
(c echo.Context)
src/api/skill_handlers.go:109
Function
checkAllProjectComponentsImpl
checkAllProjectComponentsImpl implements the actual component checking logic
src/project/project.go:448
Function
checkTemporaryFile
(type, id)
web/src/api/index.js:1078
Function
checkUserInactivity
()
web/src/composables/useSmartRefresh.js:66
Function
cleanupEventListeners
()
web/src/stores/dataCache.js:271
Function
clearAll
()
web/src/stores/dataCache.js:774
Function
clearAllCache
()
web/src/stores/dataCache.js:743
Function
clearCache
(key)
web/src/stores/dataCache.js:682
Function
clearComponentCache
(type)
web/src/stores/dataCache.js:708
Function
clearComponentRelatedCaches
(type, id)
web/src/stores/dataCache.js:691
Function
clearRulesetFields
(rulesetId = null)
web/src/stores/dataCache.js:900
Function
clearTestCache
(type, id = null)
web/src/stores/dataCache.js:940
Function
clearToken
()
web/src/api/index.js:268
Function
clearUIStates
()
web/src/stores/dataCache.js:1004
← previous
next →
1,801–1,900 of 2,165, ranked by callers