MCPcopy Create free account

hub / github.com/WeaveMindAI/weft / functions

Functions1,915 in github.com/WeaveMindAI/weft

↓ 1 callersFunctionscale_instance_deployments_to_zero
Scale all Deployments for an instance to 0 replicas by label selector.
crates/weft-core/src/k8s_provisioner.rs:289
↓ 1 callersFunctionscore
Score a candidate, lower is better. * Prefers candidates that share a common prefix with the unknown name.
dashboard/src/lib/ai/weft-parser.ts:35
↓ 1 callersFunctionsf
(count: u32, index: u32)
crates/weft-core/src/tests/executor_tests.rs:43
↓ 1 callersFunctionshowNotification
(count: number, task: PendingTask & { _tokenConfig?: ExtensionToken })
extension/src/entrypoints/background.ts:87
↓ 1 callersFunctionsource_wire_type
Validate type compatibility on all edges. Compute the wire type for a port, accounting for lane mode transformations. Port types are post-operation. W
crates/weft-nodes/src/enrich.rs:1489
↓ 1 callersFunctionsplitBodyPairs
Parse a one-liner body's comma-separated `key: value` pairs into an array. * Respects double-quoted strings and nested `{ }` so commas inside them d
dashboard/src/lib/ai/weft-editor.ts:264
↓ 1 callersFunctionsplitBraceAwareComma
Split a one-liner config body on commas, respecting quotes and all * bracket depths `()` `[]` `{}`. Used by the one-liner node parser so * that in
dashboard/src/lib/ai/weft-parser.ts:120
↓ 1 callersFunctionsplit_port_items
Split port content on commas and newlines, respecting bracket depth.
crates/weft-core/src/weft_compiler.rs:986
↓ 1 callersMethodstart_heartbeat_task
(&self)
crates/weft-nodes/src/service.rs:214
↓ 1 callersFunctionstart_trigger_event_listener
(state: Arc<AppState>)
crates/weft-api/src/main.rs:149
↓ 1 callersFunctionstart_trigger_maintenance_task
Background task for trigger maintenance: - Heartbeat: Update last_heartbeat for owned triggers - Recovery: Claim triggers from crashed instances
crates/weft-api/src/main.rs:553
↓ 1 callersFunctionstart_usage_aggregation_task
Background task that aggregates usage_events into usage_daily once per hour.
crates/weft-api/src/main.rs:757
↓ 1 callersFunctionstop_triggers_by_project
Stop all running/pending triggers for a project (returns the trigger IDs that were stopped)
crates/weft-api/src/trigger_store.rs:321
↓ 1 callersMethodstore_temp_media
Download media from a source URL and store it as a temporary file via the API. Returns a media-compatible JSON object: `{ file_id, url, mimeType, fil
crates/weft-nodes/src/node.rs:714
↓ 1 callersFunctionstripInlineComment
Strip inline comments: everything after # at bracket depth 0.
dashboard/src/lib/ai/weft-parser.ts:218
↓ 1 callersMethodsubmission_sender
Get the submission sender. Used by the external handler that receives form submissions and forwards them to the waiting trigger.
crates/weft-nodes/src/form_registrar.rs:65
↓ 1 callersFunctionsubstituteInParsed
(t: import('$lib/types').WeftType, bindings: Map<string, PortType>)
dashboard/src/lib/ai/weft-parser.ts:3169
↓ 1 callersFunctionsweep_stale_tasks
Sweep TaskRegistry entries older than `max_age_days`. The Restate virtual object that backs TaskRegistry has no TTL, so abandoned tasks accumulate ind
crates/weft-api/src/main.rs:688
↓ 1 callersFunctionsynthesize_edge_driven_ports
Synthesize input ports for edges that target an undeclared port on a `canAddInputPorts` node. Rule: - Target has catalog input `x` → no synthesis (cat
crates/weft-nodes/src/enrich.rs:948
↓ 1 callersFunctionsynthesize_literal_driven_ports
Synthesize input ports for literal config values whose keys aren't declared anywhere by the catalog (not a catalog input port, not a catalog config fi
crates/weft-nodes/src/enrich.rs:855
↓ 1 callersMethodtake_event_receiver
(&mut self)
crates/weft-nodes/src/trigger_service.rs:72
↓ 1 callersFunctiontarget_expected_wire_type
(port: &PortDefinition)
crates/weft-nodes/src/enrich.rs:1497
↓ 1 callersMethodtotalCount
* Total messages across all chats.
catalog/communication/:whatsapp/bridge/sidecar/src/message-store.js:127
↓ 1 callersMethodtracked_ai_context
One-call helper to get a tracked CompletionContext for an AI node. Handles API key resolution (BYOK vs platform), env-based API URL, and cost trackin
crates/weft-nodes/src/node.rs:870
↓ 1 callersFunctiontrianglePortBackground
Build an inline-SVG background image for a gather/expand triangle port * with a visible 1px outline on all edges (including the slanted hypotenuses)
dashboard/src/lib/utils/port-marker.ts:49
↓ 1 callersFunctiontryExpandDepth
Try peeling List[] wrappers from source to find expand depth compatible with target.
dashboard/src/lib/ai/weft-parser.ts:3101
↓ 1 callersFunctiontryGatherDepth
Try peeling List[] wrappers from target to find gather depth compatible with source.
dashboard/src/lib/ai/weft-parser.ts:3115
↓ 1 callersFunctiontryMaterializeAnon
Try to materialize an inline anon into a standalone declaration at the * scope of its former host. Returns the new source, or null if the anon * c
dashboard/src/lib/ai/weft-editor.ts:769
↓ 1 callersFunctiontry_expand_depth
Try to find how many List[] wrappers to peel from source to make it compatible with target. Returns Some(depth) if peeling `depth` List wrappers from
crates/weft-nodes/src/enrich.rs:1295
↓ 1 callersFunctiontry_gather_depth
Try to find how many List[] wrappers to peel from target to make source compatible with the inner type. Returns Some(depth) if source is compatible wi
crates/weft-nodes/src/enrich.rs:1314
↓ 1 callersFunctiontry_parse_connection_with_inline
Top-level connection parser with inline RHS support. Accepts: - `target.port = source.port` (edge) - `target.port = InlineType { ... }.x` (in
crates/weft-core/src/weft_compiler.rs:2617
↓ 1 callersFunctiontry_parse_group_connection
Parse connections inside a group. Uses `self` instead of `in`/`out`. `child.input = self.port` (child receives from group input) `self.output = child.
crates/weft-core/src/weft_compiler.rs:1801
↓ 1 callersFunctiontry_parse_group_connection_with_inline
Group-body connection parser with inline RHS support. Mirrors `try_parse_connection_with_inline` but uses `try_parse_group_connection` for the simple
crates/weft-core/src/weft_compiler.rs:2773
↓ 1 callersFunctiontry_parse_port_decl
Parse a single port declaration. Port declaration syntax: `name: Type` (required by default) or `name: Type?` (optional). No prefix characters. Lane m
crates/weft-core/src/weft_compiler.rs:1009
↓ 1 callersFunctiontypeIncludesNull
(portType: string)
dashboard/src/lib/ai/weft-parser.ts:4054
↓ 1 callersMethodunregister
(webhookId)
catalog/communication/:whatsapp/bridge/sidecar/src/webhooks.js:32
↓ 1 callersMethodunregister_form
Remove the trigger form from the TaskRegistry (cleanup on shutdown).
crates/weft-nodes/src/form_registrar.rs:111
↓ 1 callersFunctionupdateAnonPorts
Update ports on a one-liner inline anon.
dashboard/src/lib/ai/weft-editor.ts:1295
↓ 1 callersFunctionupdateAnonPortsMultiLine
Update ports on a multi-line inline anon. The first line has the * `prefix Type [sig] {` shape; only that line needs to be rewritten because * the
dashboard/src/lib/ai/weft-editor.ts:1316
↓ 1 callersFunctionupdateBadge
(count: number)
extension/src/entrypoints/background.ts:137
↓ 1 callersFunctionupdate_heartbeat
Update heartbeat for all triggers owned by this instance
crates/weft-api/src/trigger_store.rs:299
↓ 1 callersFunctionupdate_trigger_config
Update trigger config (used after trigger setup resolves upstream values)
crates/weft-api/src/trigger_store.rs:275
↓ 1 callersFunctionuploadBlob
( file: File | Blob, filename: string, mimeType: string, onProgress?: UploadProgressCallback, )
dashboard/src/lib/utils/blob-upload.ts:72
↓ 1 callersFunctionupsert_trigger
Insert or update a trigger in the database. Credentials are encrypted before storage.
crates/weft-api/src/trigger_store.rs:129
↓ 1 callersFunctionvalidateAndBuild
(parsed: ParseResult)
dashboard/src/lib/ai/weft-parser.ts:4074
↓ 1 callersFunctionvalidateConfigFilledPorts
( nodes: NodeInstance[], edges: Edge[], errors: WeftParseError[], )
dashboard/src/lib/ai/weft-parser.ts:3477
↓ 1 callersFunctionvalidateRequiredPorts
( nodes: NodeInstance[], edges: Edge[], errors: WeftParseError[], )
dashboard/src/lib/ai/weft-parser.ts:3408
↓ 1 callersFunctionvalidate_config_filled_ports
(wf: &mut ProjectDefinition, errors: &mut Vec<String>)
crates/weft-nodes/src/enrich.rs:1038
↓ 1 callersFunctionvalidate_edge_ports
Validate that every edge references ports that exist on the source/target nodes. Returns errors for any edge that references a non-existent port.
crates/weft-nodes/src/enrich.rs:1611
↓ 1 callersFunctionvalidate_key_name
(key_name: &str)
crates/weft-api/src/extension_tokens.rs:60
↓ 1 callersFunctionvalidate_required_ports
Replace TypeVar references with their bound types. Recurses into List, Dict, Stack, Union. For every node, scan its input ports. For each port that is
crates/weft-nodes/src/enrich.rs:751
↓ 1 callersFunctionvalidate_slug
(slug: &str)
crates/weft-api/src/publish.rs:128
↓ 1 callersFunctionverify_hmac_signature
Verify HMAC-SHA256 signature for webhook payloads
crates/weft-api/src/webhooks.rs:311
↓ 1 callersMethodwaitForHistory
* Wait for initial history sync to complete (with timeout). * Returns immediately if history is already ready or if there are enough * messages
catalog/communication/:whatsapp/bridge/sidecar/src/message-store.js:149
↓ 1 callersFunctionwalkBlocks
(blocks: NonNullable<ProjectDefinition['setupManifest']>['blocks'])
dashboard/src/lib/ai/sanitize.ts:120
↓ 1 callersFunctionwebhook_trigger_is_active
(status: &str)
crates/weft-api/src/webhooks.rs:26
↓ 1 callersFunctionweft
Wrap raw weft code in a 4-backtick fence so parseWeft can extract it.
dashboard/src/lib/ai/weft-parser.test.ts:5
↓ 1 callersMethodwith_description
(mut self, description: impl Into<String>)
crates/weft-nodes/src/form_input.rs:108
↓ 1 callersMethodwith_form_registrar
(mut self, registrar: crate::form_registrar::FormRegistrar)
crates/weft-nodes/src/node.rs:314
↓ 1 callersMethodwith_metadata
(mut self, metadata: serde_json::Value)
crates/weft-nodes/src/form_input.rs:113
↓ 1 callersMethodwith_options
(mut self, options: Vec<&'static str>)
crates/weft-nodes/src/node.rs:75
↓ 1 callersMethodwith_provider
(mut self, provider: &'static str)
crates/weft-nodes/src/node.rs:80
↓ 1 callersMethodwith_title
(mut self, title: impl Into<String>)
crates/weft-nodes/src/form_input.rs:103
↓ 1 callersMethodwithout_null
Remove Null from a type. `String | Null` becomes `String`. A bare `Null` becomes `Null` (cannot strip further). Non-union types without Null are retur
crates/weft-core/src/weft_type.rs:222
↓ 1 callersFunctionwrapAnon
(valueLiteral: string)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:1547
↓ 1 callersFunctionwrapCanonical
(valueLiteral: string)
dashboard/src/lib/ai/weft-editor-matrix.test.ts:1508
FunctionDELETE
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/+server.ts:67
FunctionDELETE
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/test-configs/[configId]/+server.ts:41
FunctionDELETE
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/versions/[vid]/+server.ts:22
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/executions/+server.ts:6
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/executions/[id]/+server.ts:6
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/projects/+server.ts:7
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/+server.ts:7
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/test-configs/+server.ts:6
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/test-configs/[configId]/+server.ts:6
FunctionGET
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/versions/+server.ts:7
FunctionGET
({ params, fetch })
dashboard/src/routes/api/ext/[token]/tasks/+server.ts:12
FunctionGET
({ params, fetch })
dashboard/src/routes/api/ext/[token]/health/+server.ts:11
FunctionGET
({ params, fetch })
dashboard/src/routes/ext/[token]/tasks/+server.ts:7
FunctionGET
({ params, fetch })
dashboard/src/routes/ext/[token]/health/+server.ts:7
FunctionPATCH
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/+server.ts:55
FunctionPATCH
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/versions/[vid]/+server.ts:6
FunctionPOST
({ request })
dashboard/src/routes/api/validate-token/+server.ts:5
FunctionPOST
(event: RequestEvent)
dashboard/src/routes/api/projects/+server.ts:26
FunctionPOST
(event: RequestEvent)
dashboard/src/routes/api/projects/seed/+server.ts:15
FunctionPOST
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/test-configs/+server.ts:18
FunctionPOST
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/versions/+server.ts:24
FunctionPOST
({ params, request })
dashboard/src/routes/api/ext/[token]/actions/[actionId]/dismiss/+server.ts:5
FunctionPOST
({ params, request, fetch })
dashboard/src/routes/api/ext/[token]/triggers/[triggerTaskId]/submit/+server.ts:9
FunctionPOST
({ params, request, fetch })
dashboard/src/routes/api/ext/[token]/tasks/[executionId]/complete/+server.ts:11
FunctionPOST
({ params, fetch })
dashboard/src/routes/api/ext/[token]/cleanup/all/+server.ts:9
FunctionPOST
({ params, fetch })
dashboard/src/routes/api/ext/[token]/cleanup/execution/[executionId]/+server.ts:9
FunctionPOST
({ params, request, fetch })
dashboard/src/routes/ext/[token]/tasks/[executionId]/complete/+server.ts:7
FunctionPOST
({ params, fetch })
dashboard/src/routes/ext/[token]/tasks/[executionId]/cancel/+server.ts:7
FunctionPOST
({ params, fetch })
dashboard/src/routes/ext/[token]/cleanup/all/+server.ts:7
FunctionPOST
({ params, fetch })
dashboard/src/routes/ext/[token]/cleanup/execution/[executionId]/+server.ts:7
FunctionPUT
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/+server.ts:28
FunctionPUT
(event: RequestEvent)
dashboard/src/routes/api/projects/[id]/test-configs/[configId]/+server.ts:21
FunctionactiveKey
()
dashboard/src/lib/utils/field-editor.svelte.ts:96
FunctionactiveValue
()
dashboard/src/lib/utils/field-editor.svelte.ts:97
← previousnext →601–700 of 1,915, ranked by callers