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
↓ 5 callers
Function
replace
(next: OutputDeclaration)
ts/workflow-builder/src/panels/NodeConfigPanel.tsx:467
↓ 5 callers
Function
resolveExpression
(apiExpr: Expression, availableVars: Record<string, Variable>)
ts/workflow-core/src/expression/types.ts:17
↓ 5 callers
Function
respond
(map: [RegExp, unknown][])
ts/workflow-cli/cli/deploy/prompts.test.ts:41
↓ 5 callers
Function
setMock
(fn: unknown, r: Responder)
ts/workflow-cli/cli/deploy/prompts.test.ts:46
↓ 5 callers
Function
unknownIds
(req: DeployRequirements, p: Partial<DeployConfig>)
ts/workflow-cli/cli/deploy/types.ts:81
↓ 5 callers
Function
updateDeclaredVariable
(canvasId: string, uid: string, updates: Partial<Omit<DeclaredVariable, "kind" | "uid">>)
ts/workflow-builder/src/utils/variableOperations.ts:46
↓ 5 callers
Function
validateAgainstContract
(data: unknown)
ts/workflow-cli/cli/check-schema.ts:60
↓ 5 callers
Function
validateComponent
(data: unknown)
ts/workflow-cli/cli/deploy/components.ts:83
↓ 5 callers
Function
wire
wire fans the sinks into the package Logger. Each sink is wrapped in a zerolog.FilteredLevelWriter at its own level, so one log line fans to every sin
go/logging/logger.go:52
↓ 5 callers
Function
withDir
(fn: (dir: string) => Promise<void>)
ts/workflow-cli/cli/deploy/components.test.ts:96
↓ 4 callers
Method
Append
Append concatenates content to the file identified by uid, persists it locally, and mirrors the new full content best-effort. Returns ErrSizeExceeded
go/engine/memory/manager.go:157
↓ 4 callers
Function
ApplyOutput
ApplyOutput stores a value into the scope according to the binding mode.
go/engine/scope.go:102
↓ 4 callers
Method
Card
Card returns the metadata for the file identified by uid. Tool builders use this to translate refs into LLM-facing enums and index cards.
go/engine/memory/manager.go:128
↓ 4 callers
Method
Chat
Chat sends a text prompt (optionally with system instructions, ID of previous response, files, images, and model options) to the LLM and returns the g
go/llmproxy/test/port.go:22
↓ 4 callers
Method
Close
()
go/engine/node/trigger/ticker.go:47
↓ 4 callers
Method
Close
()
go/engine/node/trigger/delay.go:50
↓ 4 callers
Function
Configure
Configure wires the package Logger from cfg and returns an io.Closer that drains the HTTP sink and closes the file sink at shutdown. Call once at boot
go/logging/config.go:136
↓ 4 callers
Method
Edit
Edit performs a single find/replace against the file identified by uid. Returns ErrEditNoMatch if oldStr isn't present. First match only, matching Cla
go/engine/memory/manager.go:166
↓ 4 callers
Function
EnsureStrictness
EnsureStrictness mutates the given JSON schema to ensure it conforms to the `strict` standard that the OpenAI API expects for function/tool calling.
go/llmproxy/schemautil/schemautil.go:142
↓ 4 callers
Method
Execute
(ctx context.Context, scope *engine.Scope)
go/engine/node/setvariable.go:37
↓ 4 callers
Function
FilterEmitted
FilterEmitted filters raw declared output slots to only those whose binding is emit-mode (or unbound, which defaults to emit). Used by EmitsVariables
go/engine/node.go:67
↓ 4 callers
Function
NewDelay
(id string, d time.Duration)
go/engine/node/trigger/delay.go:24
↓ 4 callers
Function
NewSetVariable
NewSetVariable builds a SetVariable node.
go/engine/node/setvariable.go:29
↓ 4 callers
Method
Setup
()
go/engine/channel/channel.go:14
↓ 4 callers
Method
Setup
(_ context.Context)
go/engine/node/trigger/ticker.go:29
↓ 4 callers
Method
Wait
(ctx context.Context)
go/engine/node/trigger/delay.go:36
↓ 4 callers
Function
WithTools
WithTools sets the Tools field of the Agent.
go/llmproxy/agent/agent.go:63
↓ 4 callers
Function
buildCanvasVariables
( nodes: NodeData[], fnArgs: readonly Schemas["Variable"][], declaredVariables: readonly Schemas["Variab
ts/workflow-core/src/workflow/serialization.ts:196
↓ 4 callers
Function
contextKey
(srcId, varId string)
go/engine/scope.go:25
↓ 4 callers
Function
engineComponent
(overrides: Partial<DeployComponent> = {})
ts/workflow-cli/cli/deploy/write.test.ts:27
↓ 4 callers
Function
engineOf
(spec: Spec)
ts/workflow-core/src/deploy/spec.test.ts:17
↓ 4 callers
Function
getArguments
(node: NodeData)
ts/workflow-core/src/node/methods.ts:146
↓ 4 callers
Function
getNodeOutput
(node: NodeData)
ts/workflow-core/src/node/methods.ts:202
↓ 4 callers
Function
getStaticBinding
Read a static output's binding from a node's arguments bag, keyed by the output id.
ts/workflow-core/src/node/methods.ts:12
↓ 4 callers
Function
grab
(y: string)
ts/workflow-cli/cli/deploy/generate.test.ts:193
↓ 4 callers
Function
makeChannel
(overrides: Partial<Channel> = {})
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:87
↓ 4 callers
Function
makeChannels
(channels: Channel[])
ts/workflow-core/src/diagnostics/__fixtures__/diagnosticFixtures.ts:97
↓ 4 callers
Function
notifyCanvasRegistryChange
()
ts/workflow-builder/src/stores/canvasStore.ts:52
↓ 4 callers
Function
parseDays
(days []string)
go/engine/node/trigger/alarm.go:117
↓ 4 callers
Function
parseExpression
(expr: ResolvedExpr)
ts/workflow-core/src/expression/parser.ts:22
↓ 4 callers
Method
peek
()
go/engine/expr/parser.go:38
↓ 4 callers
Method
peekTwo
()
go/engine/expr/parser.go:46
↓ 4 callers
Function
printDiagnostic
(d: Diagnostic, indent: string)
ts/workflow-cli/cli/validate.ts:94
↓ 4 callers
Function
quiet
()
ts/workflow-cli/cli/deploy/components.test.ts:104
↓ 4 callers
Function
reqOf
(p: Partial<DeployRequirements> = {})
ts/workflow-cli/cli/deploy/types.test.ts:112
↓ 4 callers
Function
resolveComponentEnv
( dir: string, name: string, opts: { interactive: boolean }, )
ts/workflow-cli/cli/deploy/components.ts:127
↓ 4 callers
Function
resolveLevel
resolveLevel parses a per-sink level name, falling back to def on empty input and reporting an error — while still returning def — on an unknown name,
go/logging/logger.go:118
↓ 4 callers
Function
selectVariable
(variable: Variable)
ts/workflow-builder/src/inputs/ExpressionInput.tsx:189
↓ 4 callers
Method
skipWhitespace
()
go/engine/expr/parser.go:32
↓ 4 callers
Function
slugify
(name: string)
ts/workflow-cli/cli/deploy/generate.ts:352
↓ 4 callers
Function
toFunctionInfo
(fn: FunctionDeclaration)
ts/workflow-core/src/function/FunctionDeclaration.ts:49
↓ 4 callers
Function
useFunctionRegistry
()
ts/workflow-builder/src/hooks/useFunctionRegistry.ts:19
↓ 4 callers
Function
validWorkflow
()
ts/workflow-cli/cli/check-schema.test.ts:10
↓ 4 callers
Function
validateFunction
(fn: FunctionDeclaration, availableVariables?: Record<string, Variable>)
ts/workflow-core/src/diagnostics/diagnostics.ts:727
↓ 4 callers
Function
workflow
(canvases: Workflow["canvases"], models: Record<string, Model> = {})
ts/workflow-core/src/deploy/requirements.test.ts:34
↓ 3 callers
Method
AddTransition
(_ string, tr Transition)
go/engine/node.go:167
↓ 3 callers
Function
AsInputItems
AsInputItems converts an Input to InputItems.
go/llmproxy/input.go:36
↓ 3 callers
Method
Configure
Configure must be called once per channel before channel can be written to
go/engine/driver/driver.go:64
↓ 3 callers
Function
ExternalResourcesToDomain
ExternalResourcesToDomain maps the wire ExternalResources (a keyed union of deploy-time configs) onto the engine domain type at the HTTP boundary, rou
go/mapping/engine.go:26
↓ 3 callers
Method
GetProviders
GetProviders fetches the list of LLM providers configured on the backend and the models they expose. Used by the engine to decide which upstream provi
go/engine/backend/llm.go:31
↓ 3 callers
Function
HandlerWithOptions
HandlerWithOptions creates http.Handler with additional options
go/api/engineapi/server.gen.go:127
↓ 3 callers
Method
MarshalJSON
()
go/api/workflow/types.gen.go:2515
↓ 3 callers
Function
NewBranchingNode
NewBranchingNode creates a new BranchingNode
go/engine/node.go:130
↓ 3 callers
Function
NewClient
NewClient creates a new client with the given set of providers. Providers are constructed by a registry/wiring layer and injected here; llmproxy itsel
go/llmproxy/client.go:24
↓ 3 callers
Function
NewFunctionScope
NewFunctionScope creates an isolated scope for function execution, with the given arguments pre-seeded under SrcFnArg and initialized declared variabl
go/engine/scope.go:47
↓ 3 callers
Function
NewTriggerNode
NewTriggerNode creates a new TriggerNode
go/engine/node.go:163
↓ 3 callers
Method
Publish
Publish sends payload to topic.
go/engine/transport/transport.go:26
↓ 3 callers
Method
QueryRAG
QueryRAG forwards a similarity-search query through the backend's rag/query route and returns the ranked results.
go/engine/backend/rag.go:18
↓ 3 callers
Method
Set
Set adds or updates a key/value pair. If the key is new, it preserves insertion order.
go/util/linkedmap/linkedmap.go:23
↓ 3 callers
Method
Setup
(_ context.Context)
go/engine/node/trigger/delay.go:31
↓ 3 callers
Method
UIDs
UIDs returns every declared memory file's uid. Used by ValidateRefs to detect refs that don't match any current declaration.
go/engine/memory/manager.go:209
↓ 3 callers
Method
UnmarshalJSON
(b []byte)
go/api/workflow/types.gen.go:2520
↓ 3 callers
Method
Wait
(ctx context.Context)
go/engine/node/trigger/ticker.go:38
↓ 3 callers
Method
Write
Write emits msg through the package logger at the channel's level, tagged source=workflow so the backend can separate workflow output from engine diag
go/engine/channel/log.go:28
↓ 3 callers
Method
alloc
(key: string, hint: string)
ts/workflow-core/src/deploy/spec.ts:75
↓ 3 callers
Function
assertDeployable
(req: DeployRequirements, inputs: DeploymentInputs)
ts/workflow-core/src/deploy/spec.ts:188
↓ 3 callers
Function
buildBranchingPrompt
buildBranchingPrompt appends a "choose one of" instruction block to steer the model toward populating the "choice" field. Emits the token→description
go/engine/node/agent.go:355
↓ 3 callers
Function
buildFunctionNodeDef
( fn: FunctionInfo, t: (key: string, params?: Record<string, unknown>) => string = (key) => key, )
ts/workflow-core/src/node/FunctionNode.ts:43
↓ 3 callers
Function
canPortAcceptEdge
(nodeData: NodeData, handleId: string, edges: Edge[])
ts/workflow-builder/src/utils/connectionRules.ts:43
↓ 3 callers
Function
captureLogger
captureLogger points the package logger at a buffer for the duration of a test, restoring the original after.
go/engine/channel/log_test.go:21
↓ 3 callers
Function
check
(kind: string, ids: string[], bindings: Record<string, unknown> | undefined)
ts/workflow-cli/cli/deploy/types.ts:83
↓ 3 callers
Function
computeAvailableVariables
( variables: Record<string, Variable>, canvasEdges: readonly Edge[], )
ts/workflow-core/src/variable/operations.ts:89
↓ 3 callers
Function
configFromPartial
(p: Partial<DeployConfig>, outputDirDefault: string)
ts/workflow-cli/cli/deploy/index.ts:205
↓ 3 callers
Function
createCanvasStore
()
ts/workflow-builder/src/stores/canvasStore.ts:101
↓ 3 callers
Function
deserialize
(apiEdge: ApiEdge)
ts/workflow-core/src/edge/serialization.ts:69
↓ 3 callers
Function
detect
()
ts/workflow-builder/src/hooks/useResolvedTheme.ts:31
↓ 3 callers
Function
enumNames
enumNames returns the sorted keys of a name→uid map for use as a JSON schema enum. The sort is stable across calls so the schema doesn't churn.
go/engine/memory/tools.go:123
↓ 3 callers
Function
fnargKey
(uid: string)
ts/workflow-core/src/variable/operations.ts:33
↓ 3 callers
Method
getAll
()
ts/workflow-core/src/node/NodeRegistry.ts:68
↓ 3 callers
Function
getFunction
(id: string)
ts/workflow-builder/src/utils/functionOperations.ts:181
↓ 3 callers
Function
hwSerial
(id: string)
ts/workflow-cli/cli/deploy/prompts.test.ts:35
↓ 3 callers
Method
initialize
()
ts/workflow-core/src/node/NodeRegistry.ts:32
↓ 3 callers
Function
isAllowed
(target: string, roots: string[])
ts/workflow-cli/server/fileBridge.ts:25
↓ 3 callers
Function
isControlFlow
(type: EdgeType)
ts/workflow-core/src/edge/EdgeType.ts:16
↓ 3 callers
Function
isPrivateOrRestrictedIP
isPrivateOrRestrictedIP blocks loopback, private (RFC 1918), link-local (including 169.254.169.254 cloud metadata), carrier-grade NAT, IPv6 unique-loc
go/engine/node/webfetch.go:210
↓ 3 callers
Function
isTrustedRequest
(req: IncomingMessage)
ts/workflow-cli/server/fileBridge.ts:47
↓ 3 callers
Function
json
(v: unknown)
ts/workflow-cli/cli/deploy/write.ts:55
↓ 3 callers
Function
levelWriter
levelWriter adapts a plain io.Writer to zerolog.LevelWriter so a FilteredLevelWriter can gate it. A writer that already carries WriteLevel (e.g. HTTPW
go/logging/logger.go:94
↓ 3 callers
Function
loadContractDocument
(fileName: string)
ts/workflow-cli/cli/contract.ts:20
↓ 3 callers
Function
makeEmbedding
makeEmbedding creates a float32 slice of the given dimension filled with 0.1.
go/llmproxy/provider/selfhosted/provider_test.go:59
← previous
next →
201–300 of 2,454, ranked by callers