MCPcopy Create free account

hub / github.com/WeaveMindAI/weft / functions

Functions1,915 in github.com/WeaveMindAI/weft

↓ 885 callersMethodget
Get a node by its type identifier.
crates/weft-nodes/src/registry.rs:44
↓ 454 callersMethodas_str
(&self)
crates/weft-core/src/executor_core.rs:164
↓ 345 callersMethodis_empty
Check if the registry is empty.
crates/weft-nodes/src/registry.rs:59
↓ 219 callersFunctioncompile
Compile Weft source code into a flat ProjectDefinition. `project_id` must be the real DB project_id. The compiler can't derive it from source (the so
crates/weft-core/src/weft_compiler.rs:98
↓ 161 callersMethodlen
Get the number of registered node types.
crates/weft-nodes/src/registry.rs:54
↓ 159 callersFunctionsp
(name: string, portType: string)
dashboard/src/lib/ai/type-validation.test.ts:20
↓ 157 callersFunctionisInputConnected
( portName: string, context: ValidationContext )
dashboard/src/lib/validation.ts:117
↓ 118 callersFunctionparse
Parse weft and return the first project (convenience).
dashboard/src/lib/ai/weft-parser.test.ts:10
↓ 115 callersFunctionparseWeftType
(s: string)
dashboard/src/lib/types/index.ts:149
↓ 113 callersFunctionmake_wf
(nodes: Vec<NodeDefinition>, edges: Vec<weft_core::project::Edge>)
crates/weft-nodes/src/tests/enrich_tests.rs:49
↓ 111 callersFunctionisWeftTypeCompatible
(source: PortType, target: PortType)
dashboard/src/lib/types/index.ts:210
↓ 80 callersMethodany
Port template accepting any type, independent from sibling ports. See `T_Auto` marker handling in enrich.rs.
crates/weft-nodes/src/node.rs:241
↓ 78 callersMethodtext
(key: &'static str)
crates/weft-nodes/src/node.rs:93
↓ 73 callersFunctionvalidate_edge_types
(wf: &ProjectDefinition, errors: &mut Vec<String>)
crates/weft-nodes/src/enrich.rs:1523
↓ 72 callersFunctionmakeNode
(id: string, nodeType: string, inputs: PortDefinition[], outputs: PortDefinition[])
dashboard/src/lib/ai/type-validation.test.ts:406
↓ 70 callersFunctionemit
(eventName: string, properties: Record<string, unknown> = {})
dashboard/src/lib/telemetry.ts:28
↓ 67 callersFunctionmake_node
(id: &str, inputs: Vec<PortDefinition>, outputs: Vec<PortDefinition>)
crates/weft-core/src/tests/executor_tests.rs:18
↓ 65 callersFunctionenrich_project
Enrich a compiled ProjectDefinition with metadata from the node registry. For each node: 1. Set features from the catalog. 2. Merge weft-declared por
crates/weft-nodes/src/enrich.rs:124
↓ 59 callersFunctionupdateNodeConfig
(code: string, nodeId: string, key: string, value: unknown)
dashboard/src/lib/ai/weft-editor.ts:355
↓ 56 callersFunctioncheckEdgeCompat
Check edge type compatibility accounting for lane modes
dashboard/src/lib/ai/type-validation.test.ts:47
↓ 56 callersFunctionparseOk
(code: string)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:39
↓ 53 callersMethodexecute
(&self, req: NodeExecuteRequest)
crates/weft-nodes/src/runner.rs:105
↓ 53 callersFunctionparseOk
Parse weft and expect no errors. Returns the project. * Filters out validation errors (e.g. "required input port not connected") * that aren't rel
dashboard/src/lib/ai/weft-parser.test.ts:20
↓ 52 callersFunctionmakeEdge
(source: string, sourceHandle: string, target: string, targetHandle: string)
dashboard/src/lib/ai/type-validation.test.ts:419
↓ 50 callersFunctionvalidate_stack_depth
(wf: &ProjectDefinition, errors: &mut Vec<String>)
crates/weft-nodes/src/enrich.rs:1331
↓ 45 callersMethodadd
* Ingest one raw Baileys WAMessage. * Safe to call multiple times with the same message (deduped by messageId).
catalog/communication/:whatsapp/bridge/sidecar/src/message-store.js:43
↓ 44 callersFunctiongetConnectedNodeType
( portName: string, context: ValidationContext )
dashboard/src/lib/validation.ts:142
↓ 43 callersFunctioninfer
(v: &serde_json::Value)
crates/weft-core/tests/type_system.rs:11
↓ 41 callersFunctionfindNode
(code: string, id: string)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:49
↓ 40 callersFunctionpostprocess_output
Output postprocessing: after a node completes, process each output port independently based on its laneMode and emit downstream pulses. Each output p
crates/weft-core/src/executor_core.rs:1155
↓ 37 callersMethodparse
Parse a port type string. Strict : no bare List/Dict/Any. Valid: "String", "List[String]", "Dict[String, Number]", "String | Number", "Media", "T", "
crates/weft-core/src/weft_type.rs:386
↓ 35 callersFunctionisCompatible
(source: WeftType, target: WeftType)
dashboard/src/lib/types/index.ts:217
↓ 35 callersFunctionremoveEdge
( code: string, srcId: string, srcPort: string, tgtId: string, tgtPort: string, )
dashboard/src/lib/ai/weft-editor.ts:740
↓ 34 callersFunctionep
(name: string, portType: string)
dashboard/src/lib/ai/type-validation.test.ts:24
↓ 33 callersFunctioninferTypeFromValue
(value: unknown)
dashboard/src/lib/types/index.ts:264
↓ 31 callersFunctiongp
(name: string, portType: string)
dashboard/src/lib/ai/type-validation.test.ts:28
↓ 31 callersFunctionrun
(name: string, initial: string, newValue: unknown, expected: unknown)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:1517
↓ 30 callersFunctionweftTypeToString
(t: WeftType)
dashboard/src/lib/types/index.ts:184
↓ 29 callersFunctionmockPortCompatible
(value: unknown, portTypeStr: string)
dashboard/src/lib/types/weft-type.test.ts:696
↓ 27 callersFunctionrunValidation
(nodes: NodeInstance[], edges: Edge[])
dashboard/src/lib/ai/type-validation.test.ts:429
↓ 25 callersFunctiongetApiUrl
()
dashboard/src/lib/config.ts:25
↓ 25 callersFunctionnodeIds
(code: string)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:45
↓ 25 callersFunctions
()
crates/weft-nodes/src/tests/enrich_tests.rs:62
↓ 24 callersFunctionfind_ready_nodes
Find all ready groups across all nodes. Returns (node_id, ReadyGroup) pairs.
crates/weft-core/src/executor_core.rs:634
↓ 23 callersFunctionaddEdge
( code: string, srcId: string, srcPort: string, tgtId: string, tgtPort: string, scopeGroupId?: string, )
dashboard/src/lib/ai/weft-editor.ts:672
↓ 23 callersFunctionupdateNodePorts
( code: string, nodeId: string, inputs: Array<{ name: string; required?: boolean; laneMode?: string; portTy
dashboard/src/lib/ai/weft-editor.ts:1336
↓ 22 callersFunctionremoveNode
(code: string, nodeId: string)
dashboard/src/lib/ai/weft-editor.ts:644
↓ 20 callersFunctionbuild_input_from_pulses
Build aggregated input for a normal (non-Gather) node from its local pulses.
crates/weft-core/src/executor_core.rs:918
↓ 20 callersFunctionsetConfigField
Set a config field and record its source span in one step. Used at every * `config[key] = ...` call site in the parser so the editor has a single *
dashboard/src/lib/ai/weft-parser.ts:372
↓ 19 callersFunctionrequireUserId
(event: RequestEvent)
dashboard/src/lib/server/auth-locals.ts:16
↓ 18 callersFunctionresolve_and_narrow
Combined TypeVar resolution + type narrowing in one pass. For each node: narrow input ports from source types, extract TypeVar bindings, apply binding
crates/weft-nodes/src/enrich.rs:449
↓ 17 callersFunctionflushNode
()
dashboard/src/lib/ai/weft-parser.ts:1800
↓ 16 callersFunctionhasConfigValue
(key: string, config: Record<string, unknown>)
dashboard/src/lib/validation.ts:206
↓ 16 callersFunctioninfer_lane_modes
Validate stack depth: expand/gather must be balanced. Walks the graph topologically, tracking stack depth at each node. - Expand input: depth increase
crates/weft-nodes/src/enrich.rs:1198
↓ 16 callersMethodis_unresolved
Returns true for TypeVar or MustOverride : types not yet resolved to concrete
crates/weft-core/src/weft_type.rs:175
↓ 16 callersFunctionport
(name: string, portType: PortType)
dashboard/src/lib/utils/form-field-specs.ts:35
↓ 16 callersFunctionsanitize_mock_output
Sanitize mock output: keep only ports that exist on the node, fill missing ones with null. Prevents mock data with extra/wrong port names from breakin
crates/weft-core/src/executor_core.rs:1733
↓ 16 callersFunctionupdateNodeLabel
(code: string, nodeId: string, newLabel: string | null)
dashboard/src/lib/ai/weft-editor.ts:507
↓ 15 callersFunctionflushOpaque
()
dashboard/src/lib/ai/weft-parser.ts:1761
↓ 15 callersFunctionupdate_trigger_status
Update trigger status
crates/weft-api/src/trigger_store.rs:249
↓ 14 callersFunctionparseInlinePortList
(s: string)
dashboard/src/lib/ai/weft-parser.ts:179
↓ 14 callersFunctionremoveGroup
(code: string, groupLabel: string)
dashboard/src/lib/ai/weft-editor.ts:600
↓ 13 callersFunctioncleanBlankLines
Collapse runs of 3+ blank lines into 2.
dashboard/src/lib/ai/weft-editor.ts:1624
↓ 13 callersMethodcount
* How many messages are stored for a chat.
catalog/communication/:whatsapp/bridge/sidecar/src/message-store.js:101
↓ 13 callersFunctionis_local_mode
()
crates/weft-api/src/routes.rs:51
↓ 13 callersMethodspawn
Spawn a trigger event loop. Handles all infrastructure plumbing: shutdown channel, TriggerHandle construction, and event wrapping. The closure receiv
crates/weft-nodes/src/node.rs:325
↓ 12 callersMethodbuild
(project: &ProjectDefinition)
crates/weft-core/src/project.rs:189
↓ 12 callersFunctionfindGroup
Find a group by name using the parser.
dashboard/src/lib/ai/weft-editor.ts:108
↓ 12 callersFunctionhasEdge
(code: string, src: string, srcPort: string, tgt: string, tgtPort: string)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:55
↓ 12 callersMethodis_default_configurable
Returns true if the type includes Null as a valid value. This means null is a legitimate data value, not a skip signal. Whether a port of this type sh
crates/weft-core/src/weft_type.rs:189
↓ 12 callersFunctionpreprocess_input
( project: &ProjectDefinition, pulses: &mut PulseTable, )
crates/weft-core/src/executor_core.rs:403
↓ 11 callersFunctionpushPortsDeduped
Push ports into target array, skipping duplicates, emitting errors for * malformed entries returned from parseInlinePortList.
dashboard/src/lib/ai/weft-parser.ts:329
↓ 11 callersFunctionsplitTopLevelComma
Split a port-list-ish string on top-level separators. Both commas and * newlines act as separators at bracket depth 0, matching the backend's * sp
dashboard/src/lib/ai/weft-parser.ts:154
↓ 10 callersFunctioncheck_should_skip
Check if a normal node should be skipped (required port has null data, or all ports in a oneOfRequired group are null/missing).
crates/weft-core/src/executor_core.rs:1036
↓ 10 callersFunctionescapeRegex
(s: string)
dashboard/src/lib/ai/weft-editor.ts:181
↓ 10 callersMethodlist
(inner: WeftType)
crates/weft-core/src/weft_type.rs:104
↓ 10 callersFunctionls
()
crates/weft-nodes/src/tests/enrich_tests.rs:64
↓ 10 callersFunctionparseConfigValue
(rawValue: string, errors: WeftParseError[], lineNum: number, key: string)
dashboard/src/lib/ai/weft-parser.ts:791
↓ 10 callersFunctionparseVisibility
(raw: string | undefined)
dashboard/src/lib/ai/loom-parser.ts:158
↓ 10 callersFunctionupdateGroupPorts
( code: string, groupLabel: string, inputs: Array<{ name: string; required?: boolean; laneMode?: string; po
dashboard/src/lib/ai/weft-editor.ts:1432
↓ 9 callersFunctionauthFetch
(input: RequestInfo | URL, init?: RequestInit)
dashboard/src/lib/config.ts:91
↓ 9 callersFunctiongetPortY
Get the actual measured port Y, falling back to computed position if DOM isn't available (e.g. during streaming).
dashboard/src/lib/ai/weft-parser.ts:4947
↓ 9 callersFunctionisUnresolved
(portType: PortType)
dashboard/src/lib/ai/weft-parser.ts:3138
↓ 9 callersFunctionmerge_ports
Merge weft-declared ports with catalog ports. Rules: 1. Start with catalog ports as the base. 2. For each weft-declared port that matches a catalog p
crates/weft-nodes/src/enrich.rs:40
↓ 9 callersFunctionparseForEdit
Parse weft code and return the raw parse result for structural lookups.
dashboard/src/lib/ai/weft-editor.ts:28
↓ 9 callersFunctionprocess_execution_callback
Core logic for processing a node completion. Returns dispatch work and restate tasks for the caller to execute. Called both from the HTTP handler and
crates/weft-orchestrator/src/executor_axum.rs:549
↓ 9 callersMethodrequire_str
Get a required string from the config. Returns `TriggerError::Config` if missing or empty.
crates/weft-nodes/src/node.rs:371
↓ 9 callersFunctionrun_completion_side_effects
Execute the results of process_execution_callback: dispatch work + register tasks. Uses Box::pin to break the async type recursion cycle: dispatch_nod
crates/weft-orchestrator/src/executor_axum.rs:729
↓ 8 callersFunctiondedent
Dedent: strip common leading whitespace from all non-empty lines.
dashboard/src/lib/ai/weft-parser.ts:105
↓ 8 callersFunctionfindMatchingParenHelper
Find matching ) for a ( at startIdx. Returns index of ), or -1.
dashboard/src/lib/ai/weft-parser.ts:70
↓ 8 callersFunctionfind_matching_paren
Find matching ')' for a string starting with '('. Returns (inner_content, rest_after_paren).
crates/weft-core/src/weft_compiler.rs:897
↓ 8 callersMethodfrom
(req: NodeExecuteRequest)
crates/weft-nodes/src/node.rs:486
↓ 8 callersFunctiongetApiUrl
()
dashboard/src/lib/server/api-url.ts:39
↓ 8 callersFunctionmoveNodeScope
(code: string, nodeId: string, targetGroupLabel: string | undefined)
dashboard/src/lib/ai/weft-editor.ts:888
↓ 8 callersFunctionn
()
crates/weft-nodes/src/tests/enrich_tests.rs:63
↓ 8 callersFunctionparse_dotted
Split `node.port` on the single dot. Both parts must be bare identifiers (letters, digits, underscores) with at least one character. Rejects any input
crates/weft-core/src/weft_compiler.rs:1862
↓ 8 callersFunctionparse_port_list
Parse a comma/newline-separated port list with optional @require_one_of directives.
crates/weft-core/src/weft_compiler.rs:937
↓ 8 callersFunctionrenameGroup
(code: string, oldLabel: string, newLabel: string)
dashboard/src/lib/ai/weft-editor.ts:576
↓ 8 callersMethodresolve_api_key
Resolve an api_key field value into an actual key. - Empty or "__PLATFORM__": use the platform key from the env var for this provider. - Anything els
crates/weft-nodes/src/node.rs:673
↓ 8 callersFunctionvalidate_token
Validate a token and return the user_id if valid Also updates last_used_at
crates/weft-api/src/extension_tokens.rs:215
next →1–100 of 1,915, ranked by callers