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
↓ 1 callers
Method
startPrintBridge
(hasTestCollector bool)
src/output/output.go:568
↓ 1 callers
Method
startRefreshLoop
()
src/cluster/leader_locker.go:40
↓ 1 callers
Method
startTestingBridge
()
src/output/output.go:591
↓ 1 callers
Method
startWorker
startWorker starts the queue worker to process instructions sequentially
src/cluster/instruction_sync.go:183
↓ 1 callers
Method
stopComponentsForTesting
(timeout time.Duration)
src/project/project.go:1977
↓ 1 callers
Method
stopComponentsInternalWithTimeout
(dataProcessingTimeout time.Duration)
src/project/project.go:2022
↓ 1 callers
Function
stringifyAliyunSLSValue
(value interface{})
src/common/aliyun_sls.go:105
↓ 1 callers
Function
suggestProjectsBasedOnPurpose
===================================================== HELPER FUNCTIONS =====================================================
src/api/sample_data_intelligent.go:256
↓ 1 callers
Function
syncAgentsToEnhancedManager
()
src/api/pending_changes_sync.go:165
↓ 1 callers
Function
syncInputsToEnhancedManager
()
src/api/pending_changes_sync.go:81
↓ 1 callers
Function
syncLegacyToEnhancedManager
syncLegacyToEnhancedManager synchronizes data from legacy storage to the enhanced manager
src/api/pending_changes_sync.go:49
↓ 1 callers
Function
syncOutputsToEnhancedManager
()
src/api/pending_changes_sync.go:102
↓ 1 callers
Function
syncPluginsToEnhancedManager
()
src/api/pending_changes_sync.go:60
↓ 1 callers
Function
syncProjectsToEnhancedManager
()
src/api/pending_changes_sync.go:144
↓ 1 callers
Function
syncRulesetsToEnhancedManager
()
src/api/pending_changes_sync.go:123
↓ 1 callers
Function
syncSkillsToEnhancedManager
()
src/api/pending_changes_sync.go:186
↓ 1 callers
Function
testOutput
(c echo.Context)
src/api/testing.go:653
↓ 1 callers
Function
testPlugin
(c echo.Context)
src/api/testing.go:460
↓ 1 callers
Function
testProject
(c echo.Context)
src/api/testing.go:977
↓ 1 callers
Function
testRuleset
(c echo.Context)
src/api/testing.go:84
↓ 1 callers
Function
thresholdFingerprint
thresholdFingerprint returns an order-insensitive string fingerprint for a single Threshold node.
src/api/components.go:2751
↓ 1 callers
Function
throttle
(func, limit = 300)
web/src/utils/performance.js:11
↓ 1 callers
Method
toStr
()
src/rules_engine/engine_condition.go:63
↓ 1 callers
Method
toStr
()
src/rules_engine/engine_condition.go:67
↓ 1 callers
Method
toStr
()
src/rules_engine/engine_condition.go:76
↓ 1 callers
Function
toolKindFromName
(name string)
src/agent/agent_loop.go:74
↓ 1 callers
Function
truncateSystemPromptForMemory
(s string)
src/agent/llm.go:292
↓ 1 callers
Function
updateGlobalComponentConfigMap
updateGlobalComponentConfigMap updates the global component config map
src/api/pending_changes.go:806
↓ 1 callers
Function
updateInMemoryCache
updateInMemoryCache extracts component type and ID from file path and updates the memory cache
src/api/file_operations.go:112
↓ 1 callers
Method
updateLeaderSystemMetrics
updateLeaderSystemMetrics periodically updates leader's own system metrics
src/cluster/heartbeat_simple.go:81
↓ 1 callers
Function
updateProjectStatusRedis
updateProjectStatusRedis writes status to Redis hash and publishes event with error handling
src/project/project.go:2856
↓ 1 callers
Method
updateRedisStateAtomic
updateRedisStateAtomic uses a Lua script for atomic state update.
src/rules_engine/cep_state.go:757
↓ 1 callers
Function
useSmartRefresh
(refreshFunction, options = {})
web/src/composables/useSmartRefresh.js:4
↓ 1 callers
Function
validateAndExtractRuleId
validateAndExtractRuleId validates rule XML syntax and returns (ruleID, ruleName)
src/api/components.go:2899
↓ 1 callers
Function
validateAppend
validateAppend validates append elements
src/rules_engine/engine_struct.go:1318
↓ 1 callers
Function
validateBeforeSave
(componentType, componentId, content, isNewComponent = false)
web/src/composables/useComponentValidation.js:209
↓ 1 callers
Function
validateCheckNodePluginCall
validateCheckNodePluginCall validates plugin function call for checknode (must return bool)
src/rules_engine/engine_struct.go:1560
↓ 1 callers
Method
validateComponentExistence
validateComponentExistence checks if all referenced components exist in the system and validates that the project content is not identical to existing
src/project/project.go:1021
↓ 1 callers
Method
validateFunctionSignature
validateFunctionSignature checks if the plugin Eval function has the correct signature
src/plugin/plugin.go:476
↓ 1 callers
Function
validateIterator
(iterator *Iterator, xmlContent, ruleID string, ruleIndex int, result *ValidationResult)
src/rules_engine/engine_struct.go:1151
↓ 1 callers
Function
validateIteratorCheckNode
validateIteratorCheckNode validates check nodes within an iterator
src/rules_engine/engine_struct.go:1227
↓ 1 callers
Function
validateIteratorThreshold
validateIteratorThreshold validates threshold nodes within an iterator
src/rules_engine/engine_struct.go:1263
↓ 1 callers
Function
validateModify
validateModify validates modify elements
src/rules_engine/engine_struct.go:1400
↓ 1 callers
Function
validatePlugin
validatePlugin validates plugin elements
src/rules_engine/engine_struct.go:1489
↓ 1 callers
Function
validatePluginCode
validatePluginCode validates that the plugin code meets the requirements
src/plugin/plugin.go:849
↓ 1 callers
Function
validateRule
validateRule validates a single rule
src/rules_engine/engine_struct.go:669
↓ 1 callers
Function
validateRuleDuplicateElements
validateRuleDuplicateElements checks for duplicate elements within a rule Since all elements now support multiple instances, this function is kept for
src/rules_engine/engine_struct.go:747
↓ 1 callers
Function
validateRulesetStructure
validateRulesetStructure performs detailed validation of ruleset structure
src/rules_engine/engine_struct.go:622
↓ 1 callers
Function
validateStandaloneCheck
validateStandaloneCheck validates standalone check elements
src/rules_engine/engine_struct.go:754
↓ 1 callers
Function
validateThreshold
validateThreshold validates threshold elements
src/rules_engine/engine_struct.go:1083
↓ 1 callers
Function
verifyAfterSave
(componentType, componentId, action = 'saved', content = undefined)
web/src/composables/useComponentValidation.js:236
↓ 1 callers
Function
verifyPendingChangeContent
(changeType, id, content string)
src/api/pending_changes_sync.go:254
↓ 1 callers
Method
waitForAgentDrain
(agentID string, targetPNS map[string]struct{})
src/project/project.go:1576
↓ 1 callers
Method
waitForLeaderReadyIfNeeded
waitForLeaderReadyIfNeeded waits if leader is in compaction mode (version 0)
src/cluster/sync_listener.go:142
↓ 1 callers
Method
warmup
()
src/rules_engine/engine_tps_bench_test.go:32
↓ 1 callers
Method
writeLoop
()
src/rules_engine/cep_value_store.go:197
↓ 1 callers
Method
writeToRedisLegacy
(statsData *DailyStatsData, increment uint64, expiration int)
src/common/daily_stats_manager.go:147
Function
AgentLogMemoryCommitted
AgentLogMemoryCommitted reports whether this log already has a successfully committed memory summary (user flow is one-shot: no further comments after
src/common/agent_log_redis.go:108
Function
AgentToolsLogs
()
web/src/router/index.js:8
Function
AppendAgentLogComment
AppendAgentLogComment appends a comment for a given log ID.
src/common/agent_log_redis.go:55
Function
ApplySingleChange
ApplySingleChange applies a single pending change
src/api/pending_changes.go:812
Function
BenchmarkRulesEngineTPS
(b *testing.B)
src/rules_engine/engine_tps_bench_test.go:124
Function
BuildMemoryRunContext
BuildMemoryRunContext returns truncated run context for memory regeneration, or nil if empty.
src/agent/llm.go:276
Function
CancelAllPendingChanges
CancelAllPendingChanges cancels all pending changes
src/api/pending_changes.go:419
Function
CancelPendingChange
CancelPendingChange cancels a single pending change and removes associated files
src/api/pending_changes.go:327
Function
CheckTempFile
CheckTempFile checks if component has temporary file
src/api/pending_changes.go:1111
Method
CleanupStaleUpdates
CleanupStaleUpdates removes stale update operations
src/common/operations.go:417
Function
ClearAllRawConfigsForAllTypes
ClearAllRawConfigsForAllTypes clears all raw configurations for all types
src/common/global.go:163
Method
Close
Close closes the producer Note: We don't close MsgChan here because it's owned by the caller
src/common/elasticsearch.go:515
Method
Close
Close stops the cleanup routine
src/common/redis_sample_manager.go:322
Method
Close
Close closes the sampler and cleans up resources
src/common/sampler.go:232
Method
Close
Close gracefully shuts down the Kafka producer
src/common/kafka.go:268
Method
Close
Close gracefully shuts down the Kafka consumer
src/common/kafka.go:551
Method
Close
()
src/common/aliyun_sls.go:205
Method
Close
()
src/common/aliyun_sls.go:263
Method
Close
Close closes the producer Note: We don't close MsgChan here because it's owned by the caller
src/common/clickhouse.go:311
Method
Close
Close clears all entries (mirrors ristretto's Close signature).
src/rules_engine/engine_threshold_cache.go:127
Method
Close
Close clears all entries.
src/rules_engine/engine_threshold_cache.go:230
Function
CloseAllSamplers
CloseAllSamplers closes all sampler instances and cleans up resources
src/common/sampler.go:275
Method
CompleteComponentUpdate
CompleteComponentUpdate completes a component update operation
src/common/operations.go:364
Function
ComponentDetail
()
web/src/router/index.js:6
Method
CountProjectsUsing
(t string, id string, excludeProjectID ...string)
src/project/component_usage.go:10
Method
CreateComponentDirect
CreateComponentDirect creates a component directly without HTTP context (for API/leader)
src/common/component_operations.go:14
Method
CreateComponentMemoryOnly
CreateComponentMemoryOnly creates a component in memory only (for follower)
src/common/component_operations.go:73
Function
CreateTempFile
CreateTempFile creates a temporary file for editing
src/api/pending_changes.go:947
Function
Dashboard
()
web/src/router/index.js:5
Function
Debug
(msg string, args ...any)
src/logger/logger.go:439
Method
Del
Del removes a key from the counter map.
src/rules_engine/engine_threshold_cache.go:120
Function
DeleteAgent
(id string)
src/project/project_struct.go:541
Function
DeleteAgentNew
(id string)
src/project/project_struct.go:603
Method
DeleteComponentDirect
DeleteComponentDirect deletes a component directly without HTTP context (for API/leader)
src/common/component_operations.go:142
Method
DeleteComponentMemoryOnly
DeleteComponentMemoryOnly deletes a component from memory only (for follower)
src/common/component_operations.go:187
Function
DeleteInputNew
(id string)
src/project/project_struct.go:1088
Function
DeleteOutput
(id string)
src/project/project_struct.go:427
Function
DeleteOutputNew
(id string)
src/project/project_struct.go:1110
Function
DeletePluginNew
(id string)
src/plugin/plugin.go:1162
Function
DeleteProjectConfig
DeleteProjectConfig removes project configuration from Redis
src/common/redis.go:476
Function
DeleteProjectNew
(id string)
src/project/project_struct.go:1066
Function
DeleteRawConfigUnsafe
DeleteRawConfigUnsafe removes raw configuration by type and ID without locking
src/common/global.go:143
Function
DeleteRulesetNew
(id string)
src/project/project_struct.go:1132
← previous
next →
1,001–1,100 of 2,165, ranked by callers