MCPcopy Create free account

hub / github.com/ForestHubAI/edge-agents / functions

Functions2,454 in github.com/ForestHubAI/edge-agents

↓ 150 callersMethodRun
Run starts all trigger goroutines and the state-runner loop. One iteration = one node execution or one event consumed. Runs indefinitely until ctx is
go/engine/runner.go:40
↓ 146 callersMethodError
()
go/engine/errors.go:15
↓ 96 callersMethodGet
Get returns a value and a boolean if found
go/util/linkedmap/linkedmap.go:31
↓ 85 callersFunctioncn
(...inputs: ClassValue[])
ts/workflow-builder/src/cn.ts:8
↓ 77 callersMethodID
()
go/engine/node.go:27
↓ 74 callersMethodRun
Run executes a workflow starting at the given agent. The agent runs in a loop until a final output is generated or the maximum number of turns is reac
go/llmproxy/agent/runner.go:97
↓ 66 callersMethodwrite
write is the shared mutation path: lock, transform, size-check, persist locally, commit in-memory. The device write is the source of truth — if it fai
go/engine/memory/manager.go:183
↓ 59 callersMethodMarshalJSON
()
go/llmproxy/provider/mistral/types.gen.go:7373
↓ 59 callersMethodUnmarshalJSON
(b []byte)
go/llmproxy/provider/mistral/types.gen.go:7378
↓ 54 callersFunctioncomputeNodeDiagnostics
(opts: { canvasId: string; nodeId: string; nodeData: NodeData; nodeDefinition: NodeDefinition | undefi
ts/workflow-core/src/diagnostics/diagnostics.ts:72
↓ 51 callersFunctiondiagsOfCategory
(diags: Diagnostic[], category: DiagnosticCategory)
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:155
↓ 51 callersFunctionrun
( partial: Partial<DeployConfig>, def: string, req: DeployRequirements, name = "wf", )
ts/workflow-cli/cli/deploy/prompts.test.ts:61
↓ 47 callersMethodString
String returns a human-readable representation of the item, including its type. This is used to serialize the item as plain text if the model only sup
go/llmproxy/input.go:29
↓ 46 callersMethodSet
Set updates the value of a variable in the scope and notifies subscribers.
go/engine/scope.go:71
↓ 42 callersMethodReturn
()
go/llmproxy/mocks_test.go:840
↓ 35 callersFunctionmakeNode
(type: string, args: Record<string, unknown>, overrides: Record<string, unknown> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:132
↓ 31 callersMethodAddTransition
(port string, tr Transition)
go/engine/node.go:28
↓ 31 callersFunctionNewMainScope
NewMainScope creates a scope for the main workflow, initialized with the given declared variables.
go/engine/scope.go:37
↓ 31 callersMethodReturn
(s string)
go/engine/mocks_test.go:133
↓ 30 callersFunctionspecOf
(components: DeployComponent[] = [engineComponent()])
ts/workflow-cli/cli/deploy/generate.test.ts:50
↓ 29 callersMethodClose
Close releases resources on shutdown. Runner calls this even if Setup failed partway, so implementations should guard nil fields.
go/engine/node.go:43
↓ 29 callersMethodLen
Len returns number of entries
go/util/linkedmap/linkedmap.go:76
↓ 28 callersMethodChat
(ctx context.Context, req *llmproxy.ChatRequest)
go/llmproxy/agent/port.go:14
↓ 28 callersMethodResolve
(ref workflow.Reference)
go/engine/expr/port.go:12
↓ 28 callersFunctiongetOrCreateCanvasStore
(canvasId: string)
ts/workflow-builder/src/stores/canvasStore.ts:198
↓ 27 callersFunctionIntVal
(v int64)
go/engine/expr/value.go:29
↓ 26 callersFunctionbaseOpts
* Base options for a "neutral" node: real type "OnStartup" (no input ports, no tool ports, * no output warnings when paired with a non-Trigger synthe
ts/workflow-core/src/diagnostics/diagnostics.test.ts:38
↓ 21 callersFunctioncomposeYaml
(spec: DeploymentSpec, secretDocs: Record<string, EngineSecrets> = {})
ts/workflow-cli/cli/deploy/generate.ts:136
↓ 21 callersFunctionnewAgentNode
newAgentNode builds an Agent node with a no-provider llmproxy client. The returned agent never invokes the runner during the tests below — only pure h
go/engine/node/agent_test.go:26
↓ 20 callersMethodanalyze
analyze folds v into the trigger's side-of-signal state and returns whether this crossing matches the configured direction. First event always seeds t
go/engine/node/trigger/threshold.go:100
↓ 20 callersMethodregister
(definition: NodeDefinition)
ts/workflow-core/src/node/NodeRegistry.ts:64
↓ 19 callersMethodClose
()
go/engine/driver/driver.go:18
↓ 18 callersFunctionEval
Eval evaluates an workflow.Expression against resolved references, returning a typed Value.
go/engine/expr/expression.go:21
↓ 18 callersMethodRun
(run func())
go/llmproxy/mocks_test.go:833
↓ 18 callersMethodgetByType
(type: NodeType)
ts/workflow-core/src/node/NodeRegistry.ts:77
↓ 17 callersFunctionBoolVal
(v bool)
go/engine/expr/value.go:31
↓ 17 callersFunctionhw
(id: string, family: HardwareFamily)
ts/workflow-cli/cli/deploy/types.test.ts:34
↓ 16 callersMethodAsFloat
()
go/engine/expr/value.go:67
↓ 16 callersMethodAsInt
()
go/engine/expr/value.go:48
↓ 16 callersMethodDo
Do sends a request and decodes the JSON response into the provided 'out'. Pass a pointer as 'out' (e.g. &myStruct). If out is nil, the response body i
go/util/httpclient/client.go:67
↓ 16 callersFunctionmakeDeclaredRef
(uid: string)
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:56
↓ 16 callersFunctionreqOf
(p: Partial<DeployRequirements> = {})
ts/workflow-cli/cli/deploy/prompts.test.ts:23
↓ 16 callersFunctionscript
(p: { input?: [RegExp, unknown][]; password?: [RegExp, unknown][]; select?: [RegExp, unknown][]; checkbox?: [R
ts/workflow-cli/cli/deploy/prompts.test.ts:48
↓ 15 callersMethodRun
(run func())
go/engine/mocks_test.go:126
↓ 15 callersFunctionStringVal
(v string)
go/engine/expr/value.go:32
↓ 14 callersMethodApply
Apply runs the edge-type-specific side effect against the scope before the state machine moves on.
go/engine/types.go:31
↓ 14 callersMethodAsBool
()
go/engine/expr/value.go:86
↓ 14 callersMethodNext
Next applies the outgoing transition's side effects (e.g. AgentTask prompt evaluation) against the scope and returns the target node ID. Returns State
go/engine/node.go:111
↓ 14 callersFunctioncfgOf
(p: Partial<DeployConfig> = {})
ts/workflow-cli/cli/deploy/generate.test.ts:54
↓ 14 callersFunctionmakeAvailableVars
(vars: Variable[])
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:39
↓ 14 callersFunctionmakeDeclaredVar
(overrides: Partial<DeclaredVariable> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:17
↓ 13 callersFunctionFloatVal
(v float64)
go/engine/expr/value.go:30
↓ 13 callersMethodWrite
(data string)
go/engine/channel/channel.go:21
↓ 13 callersFunctionbuildDeploymentSpec
( workflow: Workflow, inputs: DeploymentInputs, meta: DeploymentSpecMeta, customComponents: DeployComp
ts/workflow-core/src/deploy/spec.ts:230
↓ 13 callersFunctiondraft
* A required wire field the workflow may not have yet: drafts save on purpose, * and deserialize mirrors this with `??` fallbacks. serialize() emits
ts/workflow-core/src/node/serialization.ts:30
↓ 13 callersFunctionengineComponent
(overrides: Partial<DeployComponent> = {})
ts/workflow-cli/cli/deploy/generate.test.ts:28
↓ 13 callersFunctiongenerateId
()
ts/workflow-core/src/id/index.ts:9
↓ 13 callersFunctionnewTestThreshold
newTestThreshold constructs an OnThreshold against a fresh scope and returns the trigger plus the scope used to push values.
go/engine/node/trigger/threshold_test.go:23
↓ 13 callersFunctiontoast
({ ...props }: Toast)
ts/workflow-builder/src/hooks/use-toast.ts:93
↓ 12 callersMethodGetConversation
()
go/engine/scope.go:82
↓ 12 callersMethodReturn
(chatResponse *llmproxy.ChatResponse, err error)
go/llmproxy/agent/mocks_test.go:99
↓ 12 callersMethodWait
Wait blocks until the trigger fires or ctx cancels, then returns the event or error.
go/engine/node.go:39
↓ 12 callersFunctionisReadOnly
(mode: BuilderMode)
ts/workflow-builder/src/mode.ts:13
↓ 12 callersFunctionmakeExpression
(expression: string, dataType: DataType = "int", references: Reference[] = [])
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:52
↓ 12 callersFunctionmakeNodeDef
(overrides: Partial<NodeDefinition> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:140
↓ 11 callersMethodAsString
()
go/engine/expr/value.go:101
↓ 11 callersMethodEXPECT
()
go/llmproxy/agent/mocks_test.go:37
↓ 11 callersMethodSetConversation
(in llmproxy.Input)
go/engine/scope.go:83
↓ 11 callersFunctiongetPorts
(node: NodeData)
ts/workflow-core/src/node/methods.ts:55
↓ 11 callersFunctionggufNameError
(name: string | undefined)
ts/workflow-core/src/deploy/spec.ts:117
↓ 11 callersFunctionhwGpio
(id: string)
ts/workflow-cli/cli/deploy/prompts.test.ts:34
↓ 11 callersFunctionisNumeric
* Check if a type is numeric (int or float)
ts/workflow-core/src/expression/parser.ts:328
↓ 11 callersFunctionmakeEdge
( id: string, source: string, sourceHandle: string, target: string, targetHandle: string, override
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:64
↓ 11 callersFunctionmigrate
(raw: unknown)
ts/workflow-core/src/migration/migrate.ts:44
↓ 11 callersFunctionnewTestChatProvider
newTestChatProvider creates a Provider with a single chat model pointing to the given server URL.
go/llmproxy/provider/selfhosted/provider_test.go:102
↓ 11 callersFunctionreadme
(spec: DeploymentSpec, cfg: DeployConfig, hasProviderModel: boolean, hasSecrets = false)
ts/workflow-cli/cli/deploy/generate.ts:184
↓ 10 callersMethodEXPECT
()
go/llmproxy/mocks_test.go:769
↓ 10 callersFunctionNewClient
NewClient constructs a Client backed by the shared httpclient.
go/engine/backend/client.go:33
↓ 10 callersMethodProviderID
ProviderID returns the unique identifier of the LLM provider.
go/llmproxy/provider.go:15
↓ 10 callersMethodSubscribe
Subscribe returns a buffered channel of messages matching filter. Each call creates a separate subscription with its own channel; sends are non-blocki
go/engine/transport/transport.go:31
↓ 10 callersMethodToolName
ToolName returns the name of the tool.
go/llmproxy/tools.go:24
↓ 10 callersFunctionisParameterActive
(param: Parameter, parameterValues: Record<string, unknown>, isToolInput: boolean)
ts/workflow-core/src/parameter/Parameter.ts:161
↓ 10 callersFunctionmissingRequired
(req: DeployRequirements, p: Partial<DeployConfig>)
ts/workflow-cli/cli/deploy/index.ts:174
↓ 10 callersFunctionnewTestServer
--- Test Helpers --- newTestServer creates an httptest server that handles /v1/models and /v1/chat/completions. The chatHandler is called for POST /v1
go/llmproxy/provider/selfhosted/provider_test.go:27
↓ 10 callersFunctionok
(data: unknown)
ts/workflow-cli/cli/deploy/components.test.ts:31
↓ 9 callersMethodCall
Call runs the function in a fresh FunctionScope and returns the computed return values keyed by return uid.
go/engine/function.go:26
↓ 9 callersFunctionNewAlarm
NewAlarm builds an Alarm from a "HH:MM" string and an optional list of day abbreviations ("mon", "tue", ...). Returns an error on malformed input.
go/engine/node/trigger/alarm.go:42
↓ 9 callersFunctionNewFunctionCall
NewFunctionCall builds a FunctionCall. Validates that every declared return has a matching output binding.
go/engine/node/functioncall.go:40
↓ 9 callersMethodOutputs
Outputs returns the output a node does actually emit (bindingMode = emit)
go/engine/node.go:56
↓ 9 callersMethodTarget
()
go/engine/node.go:166
↓ 9 callersFunctionemit
(name: string, content: string, secret = false)
ts/workflow-cli/cli/deploy/write.ts:49
↓ 9 callersFunctionfullWorkflow
()
ts/workflow-core/src/deploy/spec.test.ts:36
↓ 9 callersFunctionhandleFileRequest
( req: IncomingMessage, res: ServerResponse, allowedRoots: string[], )
ts/workflow-cli/server/fileBridge.ts:65
↓ 9 callersFunctionloadValues
(source: string)
ts/workflow-cli/cli/deploy/index.ts:136
↓ 9 callersFunctionmakeReq
(opts: { method: string; url: string; host?: string | null; // null = no Host header at all origin?: s
ts/workflow-cli/server/fileBridge.test.ts:13
↓ 9 callersFunctionrefToLookupKey
(ref: Reference)
ts/workflow-core/src/variable/operations.ts:47
↓ 9 callersFunctionreqOf
(p: Partial<DeployRequirements> = {})
ts/workflow-cli/cli/deploy/index.test.ts:15
↓ 9 callersFunctionwriteOutput
( spec: DeploymentSpec, resourceSecrets: EngineSecrets, cfg: DeployConfig, req: DeployRequirements,
ts/workflow-cli/cli/deploy/write.ts:18
↓ 8 callersMethodAvailableModels
AvailableModels returns a list of supported models by the LLM service.
go/llmproxy/provider.go:18
↓ 8 callersMethodEmbed
(ctx context.Context, req *EmbeddingRequest)
go/llmproxy/provider.go:42
next →1–100 of 2,454, ranked by callers