MCPcopy Create free account

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

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

↓ 1 callersMethodstartPrintBridge
(hasTestCollector bool)
src/output/output.go:568
↓ 1 callersMethodstartRefreshLoop
()
src/cluster/leader_locker.go:40
↓ 1 callersMethodstartTestingBridge
()
src/output/output.go:591
↓ 1 callersMethodstartWorker
startWorker starts the queue worker to process instructions sequentially
src/cluster/instruction_sync.go:183
↓ 1 callersMethodstopComponentsForTesting
(timeout time.Duration)
src/project/project.go:1977
↓ 1 callersMethodstopComponentsInternalWithTimeout
(dataProcessingTimeout time.Duration)
src/project/project.go:2022
↓ 1 callersFunctionstringifyAliyunSLSValue
(value interface{})
src/common/aliyun_sls.go:105
↓ 1 callersFunctionsuggestProjectsBasedOnPurpose
===================================================== HELPER FUNCTIONS =====================================================
src/api/sample_data_intelligent.go:256
↓ 1 callersFunctionsyncAgentsToEnhancedManager
()
src/api/pending_changes_sync.go:165
↓ 1 callersFunctionsyncInputsToEnhancedManager
()
src/api/pending_changes_sync.go:81
↓ 1 callersFunctionsyncLegacyToEnhancedManager
syncLegacyToEnhancedManager synchronizes data from legacy storage to the enhanced manager
src/api/pending_changes_sync.go:49
↓ 1 callersFunctionsyncOutputsToEnhancedManager
()
src/api/pending_changes_sync.go:102
↓ 1 callersFunctionsyncPluginsToEnhancedManager
()
src/api/pending_changes_sync.go:60
↓ 1 callersFunctionsyncProjectsToEnhancedManager
()
src/api/pending_changes_sync.go:144
↓ 1 callersFunctionsyncRulesetsToEnhancedManager
()
src/api/pending_changes_sync.go:123
↓ 1 callersFunctionsyncSkillsToEnhancedManager
()
src/api/pending_changes_sync.go:186
↓ 1 callersFunctiontestOutput
(c echo.Context)
src/api/testing.go:653
↓ 1 callersFunctiontestPlugin
(c echo.Context)
src/api/testing.go:460
↓ 1 callersFunctiontestProject
(c echo.Context)
src/api/testing.go:977
↓ 1 callersFunctiontestRuleset
(c echo.Context)
src/api/testing.go:84
↓ 1 callersFunctionthresholdFingerprint
thresholdFingerprint returns an order-insensitive string fingerprint for a single Threshold node.
src/api/components.go:2751
↓ 1 callersFunctionthrottle
(func, limit = 300)
web/src/utils/performance.js:11
↓ 1 callersMethodtoStr
()
src/rules_engine/engine_condition.go:63
↓ 1 callersMethodtoStr
()
src/rules_engine/engine_condition.go:67
↓ 1 callersMethodtoStr
()
src/rules_engine/engine_condition.go:76
↓ 1 callersFunctiontoolKindFromName
(name string)
src/agent/agent_loop.go:74
↓ 1 callersFunctiontruncateSystemPromptForMemory
(s string)
src/agent/llm.go:292
↓ 1 callersFunctionupdateGlobalComponentConfigMap
updateGlobalComponentConfigMap updates the global component config map
src/api/pending_changes.go:806
↓ 1 callersFunctionupdateInMemoryCache
updateInMemoryCache extracts component type and ID from file path and updates the memory cache
src/api/file_operations.go:112
↓ 1 callersMethodupdateLeaderSystemMetrics
updateLeaderSystemMetrics periodically updates leader's own system metrics
src/cluster/heartbeat_simple.go:81
↓ 1 callersFunctionupdateProjectStatusRedis
updateProjectStatusRedis writes status to Redis hash and publishes event with error handling
src/project/project.go:2856
↓ 1 callersMethodupdateRedisStateAtomic
updateRedisStateAtomic uses a Lua script for atomic state update.
src/rules_engine/cep_state.go:757
↓ 1 callersFunctionuseSmartRefresh
(refreshFunction, options = {})
web/src/composables/useSmartRefresh.js:4
↓ 1 callersFunctionvalidateAndExtractRuleId
validateAndExtractRuleId validates rule XML syntax and returns (ruleID, ruleName)
src/api/components.go:2899
↓ 1 callersFunctionvalidateAppend
validateAppend validates append elements
src/rules_engine/engine_struct.go:1318
↓ 1 callersFunctionvalidateBeforeSave
(componentType, componentId, content, isNewComponent = false)
web/src/composables/useComponentValidation.js:209
↓ 1 callersFunctionvalidateCheckNodePluginCall
validateCheckNodePluginCall validates plugin function call for checknode (must return bool)
src/rules_engine/engine_struct.go:1560
↓ 1 callersMethodvalidateComponentExistence
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 callersMethodvalidateFunctionSignature
validateFunctionSignature checks if the plugin Eval function has the correct signature
src/plugin/plugin.go:476
↓ 1 callersFunctionvalidateIterator
(iterator *Iterator, xmlContent, ruleID string, ruleIndex int, result *ValidationResult)
src/rules_engine/engine_struct.go:1151
↓ 1 callersFunctionvalidateIteratorCheckNode
validateIteratorCheckNode validates check nodes within an iterator
src/rules_engine/engine_struct.go:1227
↓ 1 callersFunctionvalidateIteratorThreshold
validateIteratorThreshold validates threshold nodes within an iterator
src/rules_engine/engine_struct.go:1263
↓ 1 callersFunctionvalidateModify
validateModify validates modify elements
src/rules_engine/engine_struct.go:1400
↓ 1 callersFunctionvalidatePlugin
validatePlugin validates plugin elements
src/rules_engine/engine_struct.go:1489
↓ 1 callersFunctionvalidatePluginCode
validatePluginCode validates that the plugin code meets the requirements
src/plugin/plugin.go:849
↓ 1 callersFunctionvalidateRule
validateRule validates a single rule
src/rules_engine/engine_struct.go:669
↓ 1 callersFunctionvalidateRuleDuplicateElements
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 callersFunctionvalidateRulesetStructure
validateRulesetStructure performs detailed validation of ruleset structure
src/rules_engine/engine_struct.go:622
↓ 1 callersFunctionvalidateStandaloneCheck
validateStandaloneCheck validates standalone check elements
src/rules_engine/engine_struct.go:754
↓ 1 callersFunctionvalidateThreshold
validateThreshold validates threshold elements
src/rules_engine/engine_struct.go:1083
↓ 1 callersFunctionverifyAfterSave
(componentType, componentId, action = 'saved', content = undefined)
web/src/composables/useComponentValidation.js:236
↓ 1 callersFunctionverifyPendingChangeContent
(changeType, id, content string)
src/api/pending_changes_sync.go:254
↓ 1 callersMethodwaitForAgentDrain
(agentID string, targetPNS map[string]struct{})
src/project/project.go:1576
↓ 1 callersMethodwaitForLeaderReadyIfNeeded
waitForLeaderReadyIfNeeded waits if leader is in compaction mode (version 0)
src/cluster/sync_listener.go:142
↓ 1 callersMethodwarmup
()
src/rules_engine/engine_tps_bench_test.go:32
↓ 1 callersMethodwriteLoop
()
src/rules_engine/cep_value_store.go:197
↓ 1 callersMethodwriteToRedisLegacy
(statsData *DailyStatsData, increment uint64, expiration int)
src/common/daily_stats_manager.go:147
FunctionAgentLogMemoryCommitted
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
FunctionAgentToolsLogs
()
web/src/router/index.js:8
FunctionAppendAgentLogComment
AppendAgentLogComment appends a comment for a given log ID.
src/common/agent_log_redis.go:55
FunctionApplySingleChange
ApplySingleChange applies a single pending change
src/api/pending_changes.go:812
FunctionBenchmarkRulesEngineTPS
(b *testing.B)
src/rules_engine/engine_tps_bench_test.go:124
FunctionBuildMemoryRunContext
BuildMemoryRunContext returns truncated run context for memory regeneration, or nil if empty.
src/agent/llm.go:276
FunctionCancelAllPendingChanges
CancelAllPendingChanges cancels all pending changes
src/api/pending_changes.go:419
FunctionCancelPendingChange
CancelPendingChange cancels a single pending change and removes associated files
src/api/pending_changes.go:327
FunctionCheckTempFile
CheckTempFile checks if component has temporary file
src/api/pending_changes.go:1111
MethodCleanupStaleUpdates
CleanupStaleUpdates removes stale update operations
src/common/operations.go:417
FunctionClearAllRawConfigsForAllTypes
ClearAllRawConfigsForAllTypes clears all raw configurations for all types
src/common/global.go:163
MethodClose
Close closes the producer Note: We don't close MsgChan here because it's owned by the caller
src/common/elasticsearch.go:515
MethodClose
Close stops the cleanup routine
src/common/redis_sample_manager.go:322
MethodClose
Close closes the sampler and cleans up resources
src/common/sampler.go:232
MethodClose
Close gracefully shuts down the Kafka producer
src/common/kafka.go:268
MethodClose
Close gracefully shuts down the Kafka consumer
src/common/kafka.go:551
MethodClose
()
src/common/aliyun_sls.go:205
MethodClose
()
src/common/aliyun_sls.go:263
MethodClose
Close closes the producer Note: We don't close MsgChan here because it's owned by the caller
src/common/clickhouse.go:311
MethodClose
Close clears all entries (mirrors ristretto's Close signature).
src/rules_engine/engine_threshold_cache.go:127
MethodClose
Close clears all entries.
src/rules_engine/engine_threshold_cache.go:230
FunctionCloseAllSamplers
CloseAllSamplers closes all sampler instances and cleans up resources
src/common/sampler.go:275
MethodCompleteComponentUpdate
CompleteComponentUpdate completes a component update operation
src/common/operations.go:364
FunctionComponentDetail
()
web/src/router/index.js:6
MethodCountProjectsUsing
(t string, id string, excludeProjectID ...string)
src/project/component_usage.go:10
MethodCreateComponentDirect
CreateComponentDirect creates a component directly without HTTP context (for API/leader)
src/common/component_operations.go:14
MethodCreateComponentMemoryOnly
CreateComponentMemoryOnly creates a component in memory only (for follower)
src/common/component_operations.go:73
FunctionCreateTempFile
CreateTempFile creates a temporary file for editing
src/api/pending_changes.go:947
FunctionDashboard
()
web/src/router/index.js:5
FunctionDebug
(msg string, args ...any)
src/logger/logger.go:439
MethodDel
Del removes a key from the counter map.
src/rules_engine/engine_threshold_cache.go:120
FunctionDeleteAgent
(id string)
src/project/project_struct.go:541
FunctionDeleteAgentNew
(id string)
src/project/project_struct.go:603
MethodDeleteComponentDirect
DeleteComponentDirect deletes a component directly without HTTP context (for API/leader)
src/common/component_operations.go:142
MethodDeleteComponentMemoryOnly
DeleteComponentMemoryOnly deletes a component from memory only (for follower)
src/common/component_operations.go:187
FunctionDeleteInputNew
(id string)
src/project/project_struct.go:1088
FunctionDeleteOutput
(id string)
src/project/project_struct.go:427
FunctionDeleteOutputNew
(id string)
src/project/project_struct.go:1110
FunctionDeletePluginNew
(id string)
src/plugin/plugin.go:1162
FunctionDeleteProjectConfig
DeleteProjectConfig removes project configuration from Redis
src/common/redis.go:476
FunctionDeleteProjectNew
(id string)
src/project/project_struct.go:1066
FunctionDeleteRawConfigUnsafe
DeleteRawConfigUnsafe removes raw configuration by type and ID without locking
src/common/global.go:143
FunctionDeleteRulesetNew
(id string)
src/project/project_struct.go:1132
← previousnext →1,001–1,100 of 2,165, ranked by callers