MCPcopy Create free account

hub / github.com/WeaveMindAI/weft / functions

Functions1,915 in github.com/WeaveMindAI/weft

↓ 1 callersFunctioninitVersionsTable
()
dashboard/src/lib/server/db.ts:444
↓ 1 callersFunctioninit_pulses
Initialize pulses for a new project execution: one Pending pulse per source node.
crates/weft-core/src/executor_core.rs:1614
↓ 1 callersFunctioninject_labels
(manifest: &mut Value, pctx: &ProvisionContext)
crates/weft-core/src/k8s_provisioner.rs:492
↓ 1 callersFunctioninject_namespace
(manifest: &mut Value, namespace: &str)
crates/weft-core/src/k8s_provisioner.rs:537
↓ 1 callersFunctioninputMarkerState
( required: boolean, inOneOfRequired: boolean, isConfigFilled: boolean = false, )
dashboard/src/lib/utils/port-marker.ts:28
↓ 1 callersFunctioninsertFieldInNode
Insert a `key: formattedValue` field into `node`'s body, just before the * closing `}` (or `}.port` for inline anons). The caller guarantees `node`
dashboard/src/lib/ai/weft-editor.ts:489
↓ 1 callersFunctionisBraceBalancedRespectingQuotesAndBackticks
True if `s` has a matched `{` / `}` pair at depth 0, respecting quoted * strings and triple-backtick code blocks. Mirrors the backend * is_brace_b
dashboard/src/lib/ai/weft-parser.ts:553
↓ 1 callersFunctionisDefaultConfigurable
(t: WeftType)
dashboard/src/lib/types/index.ts:300
↓ 1 callersFunctionisDirectiveOrBrick
(word: string)
dashboard/src/lib/ai/loom-parser.ts:350
↓ 1 callersFunctionisRejectedConfigKey
(key: string, errors: WeftParseError[], lineNum: number)
dashboard/src/lib/ai/weft-parser.ts:360
↓ 1 callersFunctionisSelfConnection
Check if a line is a connection involving self (self.port = x.port or x.port = self.port).
dashboard/src/lib/ai/weft-editor.ts:636
↓ 1 callersFunctionisTypeVar
(portType: PortType)
dashboard/src/lib/ai/weft-parser.ts:3128
↓ 1 callersFunctionisTypeVarName
Type variable names users can write: T, T1, T2, ... T99. * * Also accepted (catalog-internal only, not user-facing): * - `T_Auto`: sentinel use
dashboard/src/lib/types/index.ts:72
↓ 1 callersFunctionis_inside_mocked_group
Check if a node is inside a mocked group by checking its scope chain. Returns true if any entry in the node's scope matches a key in the mocks map.
crates/weft-core/src/executor_core.rs:1724
↓ 1 callersFunctionis_json_balanced
Check if a JSON-like string has balanced brackets/braces.
crates/weft-core/src/weft_compiler.rs:1728
↓ 1 callersFunctionis_local_deployment
True iff this node-runner is running in the local-dev deployment mode. Anything other than the literal value "cloud" is treated as local: this matches
catalog/code/:exec/python/backend.rs:190
↓ 1 callersFunctionis_sensitive_key
Check if a key name suggests it contains sensitive data
crates/weft-api/src/log_utils.rs:36
↓ 1 callersFunctionis_type_var_name
Type variable names users can write: T, T1, T2, ..., T99. Also accepted (catalog-internal only, not user-facing): - `T_Auto`: sentinel emitted by cat
crates/weft-core/src/weft_type.rs:469
↓ 1 callersMethodkeep_alive
Keep the trigger alive (only for nodes with isTrigger: true). Called after execute() during trigger setup has completed. Starts the long-lived runtime
crates/weft-nodes/src/node.rs:1019
↓ 1 callersMethodkeep_alive
(&self, config: TriggerStartConfig, ctx: TriggerContext, )
catalog/social/:x/receive/backend.rs:62
↓ 1 callersMethodkeep_alive
(&self, config: TriggerStartConfig, ctx: TriggerContext, )
catalog/triggers/rss/backend.rs:56
↓ 1 callersFunctionkill_port_forward
Kill any existing kubectl port-forward bound to this local port. Uses `lsof` to find the PID, then `kill -9` to terminate it.
crates/weft-nodes/src/infra_helpers.rs:34
↓ 1 callersMethodkv_delete
(&self, payload: serde_json::Value)
catalog/storage/:postgres/database/sidecar/src/main.rs:104
↓ 1 callersMethodkv_delete_pattern
( &self, payload: serde_json::Value, )
catalog/storage/:postgres/database/sidecar/src/main.rs:153
↓ 1 callersMethodkv_get
(&self, payload: serde_json::Value)
catalog/storage/:postgres/database/sidecar/src/main.rs:86
↓ 1 callersMethodkv_list
(&self)
catalog/storage/:postgres/database/sidecar/src/main.rs:117
↓ 1 callersMethodkv_query
(&self, payload: serde_json::Value)
catalog/storage/:postgres/database/sidecar/src/main.rs:133
↓ 1 callersMethodkv_set
(&self, payload: serde_json::Value)
catalog/storage/:postgres/database/sidecar/src/main.rs:67
↓ 1 callersMethodlane_count
Get the lane count for this execution (how many parallel lanes exist at this depth). Injected by the executor for nodes with Gather inputs. Defaults t
crates/weft-nodes/src/node.rs:588
↓ 1 callersMethodlane_modes
Lane mode overrides for specific ports. Ports not listed default to Single. Example: ForEach returns vec![("value", LaneMode::Expand)] for its output.
crates/weft-nodes/src/node.rs:990
↓ 1 callersFunctionlanes_are_compatible
Two lanes are "compatible" (broadcast relationship) if one is a prefix of the other with matching SplitFrame.count at every shared level, or both are
crates/weft-core/src/executor_core.rs:1019
↓ 1 callersFunctionlast_aggregated_date
Get the last aggregated date across all users. Returns None if no aggregation has ever been done.
crates/weft-api/src/usage_store.rs:542
↓ 1 callersMethodlist
()
catalog/communication/:whatsapp/bridge/sidecar/src/webhooks.js:71
↓ 1 callersFunctionlist_all_triggers
List all triggers
crates/weft-api/src/trigger_store.rs:356
↓ 1 callersFunctionlist_setup_pending_triggers
List triggers stuck in setup_pending state (for recovery on restart)
crates/weft-api/src/trigger_store.rs:428
↓ 1 callersFunctionlist_triggers_by_user
List triggers for a specific user
crates/weft-api/src/trigger_store.rs:386
↓ 1 callersFunctionload_triggers_from_database
Load triggers from database and restart them on startup
crates/weft-api/src/main.rs:338
↓ 1 callersFunctionlooks_like_json
Check if a line looks like JSON content (not Weft syntax).
crates/weft-core/src/weft_compiler.rs:1706
↓ 1 callersMethodmarkHistoryReady
* Signal that the initial history sync has completed. * Called by bridge after the first `messaging-history.set` fires.
catalog/communication/:whatsapp/bridge/sidecar/src/message-store.js:137
↓ 1 callersFunctionmatchesId
(n: ParsedNode)
dashboard/src/lib/ai/weft-editor.ts:775
↓ 1 callersFunctionmaterializeAutoTypeVars
Recursively replace every `T_Auto` marker in a parsed WeftType with a * TypeVar scoped to the field key.
dashboard/src/lib/utils/form-field-specs.ts:53
↓ 1 callersFunctionmerge_trigger_payload
Merge trigger payload into input if applicable.
crates/weft-core/src/executor_core.rs:1123
↓ 1 callersFunctionnarrow_group_passthroughs
Narrow group-boundary passthrough output ports from their incoming-edge source types. A group `__in` / `__out` passthrough has identical input and out
crates/weft-nodes/src/enrich.rs:1099
↓ 1 callersMethodnext_callback_id
Generate a unique callback ID for a form input request.
crates/weft-nodes/src/form_input.rs:55
↓ 1 callersFunctionnodePortY
Compute port Y position for regular/collapsed nodes
dashboard/src/lib/ai/weft-parser.ts:4937
↓ 1 callersMethodnode_type
(&self)
crates/weft-nodes/src/passthrough.rs:20
↓ 1 callersMethodnotify_action
Build a notify action payload. The executor intercepts this from the output and registers a pending task for the browser extension. Returns a JSON val
crates/weft-nodes/src/node.rs:652
↓ 1 callersFunctionobtain_wss_url
(app_token: &str)
catalog/communication/:slack/receive/backend.rs:24
↓ 1 callersFunctionparseBlocks
(patchBody: string)
dashboard/src/lib/ai/weft-patch.ts:18
↓ 1 callersFunctionparseBrick
(state: ParseState, lineNum: number)
dashboard/src/lib/ai/loom-parser.ts:752
↓ 1 callersFunctionparseChrome
(raw: string | undefined)
dashboard/src/lib/ai/loom-parser.ts:198
↓ 1 callersFunctionparseFieldLine
(state: ParseState, lineNum: number)
dashboard/src/lib/ai/loom-parser.ts:714
↓ 1 callersFunctionparseInlineBodyBlock
Parse the body of an inline expression: a `{` block starting at `startIdx`. * Mirrors parseNodeBlockBody but: * - When a `key: value` line has an
dashboard/src/lib/ai/weft-parser.ts:1234
↓ 1 callersFunctionparseInlinePortSignature
Port signature parser for an inline expression's header. * Given `after_type` (text after the node type, e.g. `(x: String) -> (y: String) {`), * r
dashboard/src/lib/ai/weft-parser.ts:915
↓ 1 callersFunctionparseLayoutCode
(layoutCode: string)
dashboard/src/lib/ai/weft-editor.ts:1531
↓ 1 callersFunctionparseLoom
(rawResponse: string)
dashboard/src/lib/ai/loom-parser.ts:852
↓ 1 callersFunctionparseNodeBlockBody
* Parse a multi-line node config block starting AFTER the opening `{`. * Handles ```...``` multi-line values, label, JSON, string escapes. * Returns
dashboard/src/lib/ai/weft-parser.ts:1382
↓ 1 callersFunctionparseOneLinerMultilineBody
Parse a one-liner-style body that spans multiple lines because a value * (typically a triple-backtick block or multi-line JSON) extends across * l
dashboard/src/lib/ai/weft-parser.ts:599
↓ 1 callersFunctionparseOptions
* Parse an options attribute: comma-separated values, or a JSON array. * `parseAttributes` has already unquoted the value, so here we just split.
dashboard/src/lib/ai/loom-parser.ts:183
↓ 1 callersFunctionparsePhase
(state: ParseState)
dashboard/src/lib/ai/loom-parser.ts:664
↓ 1 callersFunctionparseRawLoom
(loom: string)
dashboard/src/lib/ai/loom-parser.ts:804
↓ 1 callersFunctionparseScope
* Unified scope parser. Handles both root scope (top-level weft) and group scopes. * The only differences controlled by `isRoot`: * - Root: no `}`
dashboard/src/lib/ai/weft-parser.ts:1682
↓ 1 callersMethodparse_config
Deserialize the entire config into a typed struct.
crates/weft-nodes/src/node.rs:394
↓ 1 callersFunctionparse_config_block
Parse a multi-line config block (inside `{ ... }`). Returns (config, label, extra_in_ports, extra_out_ports, one_of_required, next_line_index). Share
crates/weft-core/src/weft_compiler.rs:1424
↓ 1 callersFunctionparse_config_block_with_close
Variant of parse_config_block that also returns the 0-based index of the line containing the closing `}` for the block. Callers that need to disambigu
crates/weft-core/src/weft_compiler.rs:1442
↓ 1 callersFunctionparse_group_body
( lines: &[&str], start: usize, group_id: &str, in_ports: Vec<ParsedPort>, out_ports: Vec<
crates/weft-core/src/weft_compiler.rs:1144
↓ 1 callersFunctionparse_weft
(source: &str)
crates/weft-core/src/weft_compiler.rs:132
↓ 1 callersFunctionpermissiveReflow
* Permissive reflow pass. Runs BEFORE multi-line value preprocessing and * BEFORE the main parser. It turns LLM-friendly loose syntax into the * can
dashboard/src/lib/ai/loom-parser.ts:276
↓ 1 callersMethodping
(&self)
catalog/storage/:postgres/database/sidecar/src/main.rs:182
↓ 1 callersFunctionpip_install_line
Build a `!pip install` line for any deps the user listed. Empty if none. We don't whitelist or validate package names here: E2B is the trust boundary,
catalog/code/:exec/python/backend.rs:306
↓ 1 callersFunctionportMarkerShape
(laneMode: LaneMode | undefined)
dashboard/src/lib/utils/port-marker.ts:17
↓ 1 callersFunctionpreprocessMultiLineValues
(loom: string)
dashboard/src/lib/ai/loom-parser.ts:411
↓ 1 callersFunctionpublish_execute
POST /api/v1/publish/execute Internal service route. Called by cloud-api's public `/p/<u>/<slug>/run` after it rate-limited and credit-gated the requ
crates/weft-api/src/publish.rs:996
↓ 1 callersFunctionputWithProgress
* Upload file bytes to a presigned URL using XHR (supports progress).
dashboard/src/lib/utils/blob-upload.ts:34
↓ 1 callersFunctionrecord_execution
( pool: &PgPool, userId: &str, projectId: &str, executionId: &str, triggerId: Option<&str>
crates/weft-api/src/usage_store.rs:255
↓ 1 callersFunctionrecord_infra_daily
( pool: &PgPool, userId: &str, costUsd: f64, metadata: Option<&serde_json::Value>, )
crates/weft-api/src/usage_store.rs:403
↓ 1 callersFunctionrecord_service_cost
( pool: &PgPool, userId: &str, eventType: &str, subtype: Option<&str>, projectId: Option<&
crates/weft-api/src/usage_store.rs:91
↓ 1 callersFunctionredispatch_trigger_setups
Re-dispatch trigger setup sub-executions for triggers stuck in setup_pending state. Called on startup to recover from crashes during trigger setup.
crates/weft-api/src/main.rs:388
↓ 1 callersMethodregister
Register a new channel and return the receiver.
crates/weft-nodes/src/form_input.rs:61
↓ 1 callersMethodregister
(callbackUrl, events = ['message.received'])
catalog/communication/:whatsapp/bridge/sidecar/src/webhooks.js:25
↓ 1 callersMethodregister_form
Register a form in the TaskRegistry as a persistent trigger form.
crates/weft-nodes/src/form_registrar.rs:70
↓ 1 callersFunctionregister_task_via_restate
(state: &SharedState, task: PendingTask)
crates/weft-orchestrator/src/executor_axum.rs:1684
↓ 1 callersMethodregister_with_orchestrator
(&self)
crates/weft-nodes/src/service.rs:175
↓ 1 callersFunctionrender_display_data
Render every populated MIME channel of a non-main display_data event into human-readable lines suitable for the stdout port. Binary channels are summa
catalog/code/:exec/python/backend.rs:634
↓ 1 callersMethodrequest_form_input
Request form input mid-execution. Sends a form to a consumer (identified by metadata), blocks until the form is submitted, returns the response. Can
crates/weft-nodes/src/node.rs:634
↓ 1 callersFunctionrequest_form_input_impl
Send a WaitingForInput callback to the executor and await the form response. This is the core implementation called by `ExecutionContext::request_for
crates/weft-nodes/src/form_input.rs:122
↓ 1 callersFunctionrequire_admin
(headers: &HeaderMap)
crates/weft-api/src/routes.rs:115
↓ 1 callersFunctionrequire_internal_or_user_or_admin
( state: &AppState, headers: &HeaderMap, user_id: &str, )
crates/weft-api/src/routes.rs:143
↓ 1 callersFunctionrequiresJwtAuth
(pathname: string)
dashboard/src/hooks.server.ts:35
↓ 1 callersFunctionrescope_group
Rescope all internal IDs in a group from local_id prefix to scoped_id prefix.
crates/weft-core/src/weft_compiler.rs:1368
↓ 1 callersFunctionresolveSourceNodeType
* Recursively resolve the actual node type behind a source, tracing through * Group pass-through nodes.
dashboard/src/lib/validation.ts:158
↓ 1 callersFunctionresolve_trusted_user_id
Resolve the trusted userId for a start request. Cloud requires a valid `x-internal-api-key`. With the key present, prefer `x-user-id` (cloud-api inje
crates/weft-orchestrator/src/executor_axum.rs:315
↓ 1 callersFunctionrouter
(state: SharedState)
crates/weft-orchestrator/src/executor_axum.rs:154
↓ 1 callersFunctionrun_in_e2b
( client: &reqwest::Client, api_key: &str, code: &str, )
catalog/code/:exec/python/backend.rs:552
↓ 1 callersFunctionrun_local_python
Execute the wrapped script via the host's `python3` interpreter. Used only when DEPLOYMENT_MODE != cloud. No sandboxing, no isolation: this is intende
catalog/code/:exec/python/backend.rs:380
↓ 1 callersMethodrunner_instance_id
(&self)
crates/weft-nodes/src/form_input.rs:50
↓ 1 callersFunctionsafeKeyEqual
(a: string, b: string)
dashboard/src/hooks.server.ts:10
↓ 1 callersFunctionsanitize_filename
(raw: &str)
crates/weft-api/src/routes.rs:1755
↓ 1 callersFunctionsanitize_identifier
(name: &str)
catalog/code/:exec/python/backend.rs:338
↓ 1 callersFunctionscale_deployment_to_zero
Scale a Deployment to 0 replicas (stop without destroying data).
crates/weft-core/src/k8s_provisioner.rs:144
← previousnext →501–600 of 1,915, ranked by callers