Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ForestHubAI/edge-agents
/ functions
Functions
2,454 in github.com/ForestHubAI/edge-agents
⨍
Functions
2,454
◇
Types & classes
941
↓ 150 callers
Method
Run
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 callers
Method
Error
()
go/engine/errors.go:15
↓ 96 callers
Method
Get
Get returns a value and a boolean if found
go/util/linkedmap/linkedmap.go:31
↓ 85 callers
Function
cn
(...inputs: ClassValue[])
ts/workflow-builder/src/cn.ts:8
↓ 77 callers
Method
ID
()
go/engine/node.go:27
↓ 74 callers
Method
Run
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 callers
Method
write
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 callers
Method
MarshalJSON
()
go/llmproxy/provider/mistral/types.gen.go:7373
↓ 59 callers
Method
UnmarshalJSON
(b []byte)
go/llmproxy/provider/mistral/types.gen.go:7378
↓ 54 callers
Function
computeNodeDiagnostics
(opts: { canvasId: string; nodeId: string; nodeData: NodeData; nodeDefinition: NodeDefinition | undefi
ts/workflow-core/src/diagnostics/diagnostics.ts:72
↓ 51 callers
Function
diagsOfCategory
(diags: Diagnostic[], category: DiagnosticCategory)
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:155
↓ 51 callers
Function
run
( partial: Partial<DeployConfig>, def: string, req: DeployRequirements, name = "wf", )
ts/workflow-cli/cli/deploy/prompts.test.ts:61
↓ 47 callers
Method
String
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 callers
Method
Set
Set updates the value of a variable in the scope and notifies subscribers.
go/engine/scope.go:71
↓ 42 callers
Method
Return
()
go/llmproxy/mocks_test.go:840
↓ 35 callers
Function
makeNode
(type: string, args: Record<string, unknown>, overrides: Record<string, unknown> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:132
↓ 31 callers
Method
AddTransition
(port string, tr Transition)
go/engine/node.go:28
↓ 31 callers
Function
NewMainScope
NewMainScope creates a scope for the main workflow, initialized with the given declared variables.
go/engine/scope.go:37
↓ 31 callers
Method
Return
(s string)
go/engine/mocks_test.go:133
↓ 30 callers
Function
specOf
(components: DeployComponent[] = [engineComponent()])
ts/workflow-cli/cli/deploy/generate.test.ts:50
↓ 29 callers
Method
Close
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 callers
Method
Len
Len returns number of entries
go/util/linkedmap/linkedmap.go:76
↓ 28 callers
Method
Chat
(ctx context.Context, req *llmproxy.ChatRequest)
go/llmproxy/agent/port.go:14
↓ 28 callers
Method
Resolve
(ref workflow.Reference)
go/engine/expr/port.go:12
↓ 28 callers
Function
getOrCreateCanvasStore
(canvasId: string)
ts/workflow-builder/src/stores/canvasStore.ts:198
↓ 27 callers
Function
IntVal
(v int64)
go/engine/expr/value.go:29
↓ 26 callers
Function
baseOpts
* 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 callers
Function
composeYaml
(spec: DeploymentSpec, secretDocs: Record<string, EngineSecrets> = {})
ts/workflow-cli/cli/deploy/generate.ts:136
↓ 21 callers
Function
newAgentNode
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 callers
Method
analyze
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 callers
Method
register
(definition: NodeDefinition)
ts/workflow-core/src/node/NodeRegistry.ts:64
↓ 19 callers
Method
Close
()
go/engine/driver/driver.go:18
↓ 18 callers
Function
Eval
Eval evaluates an workflow.Expression against resolved references, returning a typed Value.
go/engine/expr/expression.go:21
↓ 18 callers
Method
Run
(run func())
go/llmproxy/mocks_test.go:833
↓ 18 callers
Method
getByType
(type: NodeType)
ts/workflow-core/src/node/NodeRegistry.ts:77
↓ 17 callers
Function
BoolVal
(v bool)
go/engine/expr/value.go:31
↓ 17 callers
Function
hw
(id: string, family: HardwareFamily)
ts/workflow-cli/cli/deploy/types.test.ts:34
↓ 16 callers
Method
AsFloat
()
go/engine/expr/value.go:67
↓ 16 callers
Method
AsInt
()
go/engine/expr/value.go:48
↓ 16 callers
Method
Do
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 callers
Function
makeDeclaredRef
(uid: string)
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:56
↓ 16 callers
Function
reqOf
(p: Partial<DeployRequirements> = {})
ts/workflow-cli/cli/deploy/prompts.test.ts:23
↓ 16 callers
Function
script
(p: { input?: [RegExp, unknown][]; password?: [RegExp, unknown][]; select?: [RegExp, unknown][]; checkbox?: [R
ts/workflow-cli/cli/deploy/prompts.test.ts:48
↓ 15 callers
Method
Run
(run func())
go/engine/mocks_test.go:126
↓ 15 callers
Function
StringVal
(v string)
go/engine/expr/value.go:32
↓ 14 callers
Method
Apply
Apply runs the edge-type-specific side effect against the scope before the state machine moves on.
go/engine/types.go:31
↓ 14 callers
Method
AsBool
()
go/engine/expr/value.go:86
↓ 14 callers
Method
Next
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 callers
Function
cfgOf
(p: Partial<DeployConfig> = {})
ts/workflow-cli/cli/deploy/generate.test.ts:54
↓ 14 callers
Function
makeAvailableVars
(vars: Variable[])
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:39
↓ 14 callers
Function
makeDeclaredVar
(overrides: Partial<DeclaredVariable> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:17
↓ 13 callers
Function
FloatVal
(v float64)
go/engine/expr/value.go:30
↓ 13 callers
Method
Write
(data string)
go/engine/channel/channel.go:21
↓ 13 callers
Function
buildDeploymentSpec
( workflow: Workflow, inputs: DeploymentInputs, meta: DeploymentSpecMeta, customComponents: DeployComp
ts/workflow-core/src/deploy/spec.ts:230
↓ 13 callers
Function
draft
* 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 callers
Function
engineComponent
(overrides: Partial<DeployComponent> = {})
ts/workflow-cli/cli/deploy/generate.test.ts:28
↓ 13 callers
Function
generateId
()
ts/workflow-core/src/id/index.ts:9
↓ 13 callers
Function
newTestThreshold
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 callers
Function
toast
({ ...props }: Toast)
ts/workflow-builder/src/hooks/use-toast.ts:93
↓ 12 callers
Method
GetConversation
()
go/engine/scope.go:82
↓ 12 callers
Method
Return
(chatResponse *llmproxy.ChatResponse, err error)
go/llmproxy/agent/mocks_test.go:99
↓ 12 callers
Method
Wait
Wait blocks until the trigger fires or ctx cancels, then returns the event or error.
go/engine/node.go:39
↓ 12 callers
Function
isReadOnly
(mode: BuilderMode)
ts/workflow-builder/src/mode.ts:13
↓ 12 callers
Function
makeExpression
(expression: string, dataType: DataType = "int", references: Reference[] = [])
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:52
↓ 12 callers
Function
makeNodeDef
(overrides: Partial<NodeDefinition> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:140
↓ 11 callers
Method
AsString
()
go/engine/expr/value.go:101
↓ 11 callers
Method
EXPECT
()
go/llmproxy/agent/mocks_test.go:37
↓ 11 callers
Method
SetConversation
(in llmproxy.Input)
go/engine/scope.go:83
↓ 11 callers
Function
getPorts
(node: NodeData)
ts/workflow-core/src/node/methods.ts:55
↓ 11 callers
Function
ggufNameError
(name: string | undefined)
ts/workflow-core/src/deploy/spec.ts:117
↓ 11 callers
Function
hwGpio
(id: string)
ts/workflow-cli/cli/deploy/prompts.test.ts:34
↓ 11 callers
Function
isNumeric
* Check if a type is numeric (int or float)
ts/workflow-core/src/expression/parser.ts:328
↓ 11 callers
Function
makeEdge
( id: string, source: string, sourceHandle: string, target: string, targetHandle: string, override
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:64
↓ 11 callers
Function
migrate
(raw: unknown)
ts/workflow-core/src/migration/migrate.ts:44
↓ 11 callers
Function
newTestChatProvider
newTestChatProvider creates a Provider with a single chat model pointing to the given server URL.
go/llmproxy/provider/selfhosted/provider_test.go:102
↓ 11 callers
Function
readme
(spec: DeploymentSpec, cfg: DeployConfig, hasProviderModel: boolean, hasSecrets = false)
ts/workflow-cli/cli/deploy/generate.ts:184
↓ 10 callers
Method
EXPECT
()
go/llmproxy/mocks_test.go:769
↓ 10 callers
Function
NewClient
NewClient constructs a Client backed by the shared httpclient.
go/engine/backend/client.go:33
↓ 10 callers
Method
ProviderID
ProviderID returns the unique identifier of the LLM provider.
go/llmproxy/provider.go:15
↓ 10 callers
Method
Subscribe
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 callers
Method
ToolName
ToolName returns the name of the tool.
go/llmproxy/tools.go:24
↓ 10 callers
Function
isParameterActive
(param: Parameter, parameterValues: Record<string, unknown>, isToolInput: boolean)
ts/workflow-core/src/parameter/Parameter.ts:161
↓ 10 callers
Function
missingRequired
(req: DeployRequirements, p: Partial<DeployConfig>)
ts/workflow-cli/cli/deploy/index.ts:174
↓ 10 callers
Function
newTestServer
--- 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 callers
Function
ok
(data: unknown)
ts/workflow-cli/cli/deploy/components.test.ts:31
↓ 9 callers
Method
Call
Call runs the function in a fresh FunctionScope and returns the computed return values keyed by return uid.
go/engine/function.go:26
↓ 9 callers
Function
NewAlarm
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 callers
Function
NewFunctionCall
NewFunctionCall builds a FunctionCall. Validates that every declared return has a matching output binding.
go/engine/node/functioncall.go:40
↓ 9 callers
Method
Outputs
Outputs returns the output a node does actually emit (bindingMode = emit)
go/engine/node.go:56
↓ 9 callers
Method
Target
()
go/engine/node.go:166
↓ 9 callers
Function
emit
(name: string, content: string, secret = false)
ts/workflow-cli/cli/deploy/write.ts:49
↓ 9 callers
Function
fullWorkflow
()
ts/workflow-core/src/deploy/spec.test.ts:36
↓ 9 callers
Function
handleFileRequest
( req: IncomingMessage, res: ServerResponse, allowedRoots: string[], )
ts/workflow-cli/server/fileBridge.ts:65
↓ 9 callers
Function
loadValues
(source: string)
ts/workflow-cli/cli/deploy/index.ts:136
↓ 9 callers
Function
makeReq
(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 callers
Function
refToLookupKey
(ref: Reference)
ts/workflow-core/src/variable/operations.ts:47
↓ 9 callers
Function
reqOf
(p: Partial<DeployRequirements> = {})
ts/workflow-cli/cli/deploy/index.test.ts:15
↓ 9 callers
Function
writeOutput
( spec: DeploymentSpec, resourceSecrets: EngineSecrets, cfg: DeployConfig, req: DeployRequirements,
ts/workflow-cli/cli/deploy/write.ts:18
↓ 8 callers
Method
AvailableModels
AvailableModels returns a list of supported models by the LLM service.
go/llmproxy/provider.go:18
↓ 8 callers
Method
Embed
(ctx context.Context, req *EmbeddingRequest)
go/llmproxy/provider.go:42
next →
1–100 of 2,454, ranked by callers