MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 2 callersMethodnewVM
newVM constructs a single goja VM with the Runtime's per-VM caps applied. Centralised so pool init and any future replacement path stay in sync.
sdk/script/jsrt/jsrt.go:105
↓ 2 callersMethodnewVM
newVM constructs one LState. Used by both pool init and the discard / replace path inside Exec so any future per-VM caps land in one place.
sdk/script/luart/luart.go:103
↓ 2 callersMethodnext
(useTimeout bool, timeout time.Duration)
sdk/graph/node/scriptnode/bridge_stream.go:308
↓ 2 callersFunctionnextPow2
(n int)
voice/vad/dsp.go:232
↓ 2 callersMethodnextUsage
()
memory/recall/internal/ingest/extractor_test.go:145
↓ 2 callersFunctionnodeBuilderPC
(builder node.NodeBuilder)
sdk/graph/node/scriptnode/register.go:148
↓ 2 callersMethodnodeConfigMu
nodeConfigMu returns a per-node mutex for serializing SetConfig/Execute/ Restore during parallel branch execution within a single graph run.
sdk/graph/runner/internal/executor/executor.go:675
↓ 2 callersFunctionnonEmptyStrings
(values []string)
eval/locomo/runners/flowcraftv2/answer_context.go:884
↓ 2 callersFunctionnormStrings
(in []string)
sdk/recall/extractor.go:659
↓ 2 callersFunctionnormalizeEntityName
normalizeEntityName produces the canonical lookup key for an entity. It is intentionally simpler than [NormalizeEntities]: EntityStore stores ONE row
sdk/recall/entity_store.go:174
↓ 2 callersFunctionnormalizeJSONish
normalizeJSONish coerces every numeric scalar to float64 so that filter equality is symmetric across Go numeric kinds and JSON-decoded float64 values.
memory/retrieval/filter_match.go:131
↓ 2 callersFunctionnormalizeJSONish
normalizeJSONish coerces every numeric scalar to float64 so that filter equality is symmetric across Go numeric kinds and JSON-decoded float64 values.
sdk/retrieval/filter_match.go:131
↓ 2 callersFunctionnormalizeLanguage
(lang string)
memory/text/stem/adapter/snowball/stemmer.go:98
↓ 2 callersFunctionnormalizeLookup
(word string)
memory/text/stopword/set.go:74
↓ 2 callersFunctionnormalizeMinimaxModelRef
(s string)
examples/voice-pipeline/env.go:80
↓ 2 callersFunctionnormalizeNumericSignal
(signal string)
memory/recall/internal/ingest/extractor_llm.go:1198
↓ 2 callersFunctionnormalizePayload
normalizePayload converts typed payloads into map[string]any at write time so that all reads see a consistent type.
sdk/kanban/board.go:818
↓ 2 callersFunctionnormalizeRelativeText
(raw string)
memory/text/timex/relative.go:400
↓ 2 callersFunctionnormalizeYAMLValue
(v any)
sdkx/claw/workspace.go:239
↓ 2 callersFunctionnotifyKanbanMatch
(c *Card, f CardFilter)
sdk/kanban/board.go:722
↓ 2 callersMethodonCommit
()
voice/session_loop.go:234
↓ 2 callersFunctionopenAIUserTextParts
(t *testing.T, msgs []oai.ChatCompletionMessageParamUnion)
sdkx/llm/openai/chat/partdata_test.go:220
↓ 2 callersFunctionopenBleve
(path string, cfg BleveConfig)
memory/retrieval/bbh/index.go:287
↓ 2 callersFunctionopenBleve
(path string, cfg BleveConfig)
sdk/retrieval/bbh/index.go:279
↓ 2 callersFunctionp95
(durations []time.Duration)
memory/recall/async_semantic_latency_test.go:40
↓ 2 callersFunctionpackRecallContextWithFeatures
packRecallContextWithFeatures fits the read pipeline's ranked evidence into the final context budget. It first locks answerability-critical evidence f
memory/recall/internal/pipeline/read/stages/context_packer.go:87
↓ 2 callersFunctionpackageEvidenceGroup
(hit recall.Hit)
eval/locomo/runners/flowcraftv2/answer_context.go:317
↓ 2 callersFunctionpackageFactSibling
(a, b recall.TemporalFact)
eval/locomo/runners/flowcraftv2/answer_context.go:301
↓ 2 callersFunctionparseCalendarWords
(text string)
memory/text/timex/calendar.go:54
↓ 2 callersFunctionparseDataURL
(s string)
sdkx/llm/anthropic/anthropic.go:827
↓ 2 callersFunctionparseE2EDispatch
(content string)
sdkx/llm/mock/mock.go:212
↓ 2 callersFunctionparseExtractorReply
parseExtractorReply accepts the current {"facts": [...]} shape.
memory/recall/internal/ingest/extractor_llm.go:716
↓ 2 callersFunctionparseInnertubeTranscript
(data map[string]interface{})
sdkx/extract/youtube/transcript.go:176
↓ 2 callersFunctionparseJSON3Caption
(data []byte)
sdkx/extract/youtube/transcript.go:426
↓ 2 callersFunctionparseJSONTranscript
(data []byte)
sdkx/extract/podcast/rss.go:223
↓ 2 callersFunctionparseKeyValuePairs
(s string)
sdkx/extract/youtube/transcript.go:150
↓ 2 callersFunctionparseMessageWithAllowedKeys
(raw any, ctx string, allowed map[string]struct{})
sdk/script/bindings/llm_marshal.go:309
↓ 2 callersFunctionparseSRTTranscript
(data []byte)
sdkx/extract/podcast/rss.go:293
↓ 2 callersFunctionparseSignalArg
parseSignalArg decodes the polymorphic argument to signal.interrupt signal.error. Strings populate Message only; objects may supply kind / message / d
sdk/script/jsrt/jsrt.go:276
↓ 2 callersFunctionparseSignalArg
parseSignalArg decodes the polymorphic argument to signal.interrupt signal.error. Strings populate Message only; tables may supply kind / message / de
sdk/script/luart/luart.go:285
↓ 2 callersFunctionparseTUIXMLAttr
(text, nodeName, attrName string)
cmd/claw/cli/tui_model.go:536
↓ 2 callersFunctionparseTimeExpression
(in string, now time.Time, allowRelative bool)
memory/recall/internal/ingest/time_resolver.go:142
↓ 2 callersFunctionparseVTTTranscript
(data []byte)
sdkx/extract/podcast/rss.go:271
↓ 2 callersFunctionparseVerdict
parseVerdict interprets a judge response. The official prompt instructs the judge to return a single letter A/B/C, but production models occasionally
eval/simpleqa/simpleqa.go:634
↓ 2 callersFunctionparseWebSearchConfig
(v any)
sdkx/llm/bytedance/responses.go:323
↓ 2 callersFunctionparseXMLCaption
(data []byte)
sdkx/extract/youtube/transcript.go:463
↓ 2 callersFunctionpartOfRange
(start, end time.Time, part string)
memory/text/timex/calendar_range.go:276
↓ 2 callersMethodpatchForgetTraceAsyncCancel
(state *forget.State, cancel asyncJobCancelResult)
memory/recall/async_semantic.go:403
↓ 2 callersMethodpendingDepthLocked
()
memory/recall/internal/store/asyncsemantic/memory.go:464
↓ 2 callersMethodpendingDepthTx
(ctx context.Context, tx pgx.Tx, scope domain.Scope)
memory/recall/store/postgres/async_semantic_queue.go:349
↓ 2 callersMethodpendingDepthTx
(ctx context.Context, tx *sql.Tx, scope domain.Scope)
memory/recall/store/sqlite/async_semantic_queue.go:346
↓ 2 callersFunctionperQuestionCtx
evalQuestions runs the QA loop with bounded concurrency. Recall, answer synthesis and judge are all per-question pure functions (modulo LLM calls), so
eval/locomo/eval.go:492
↓ 2 callersFunctionpercentileDuration
(sorted []time.Duration, pct float64)
memory/recall/diagnostics/latency.go:79
↓ 2 callersMethodpersistDataset
persistDataset serialises chunks to <prefix>/<dataset>/.chunks.json using atomicWrite. An empty chunks slice deletes the file.
memory/knowledge/backend/fs/chunk.go:336
↓ 2 callersMethodpersistDataset
persistDataset serialises chunks to <prefix>/<dataset>/.chunks.json using atomicWrite. An empty chunks slice deletes the file.
sdk/knowledge/backend/fs/chunk.go:312
↓ 2 callersFunctionpersistentVars
(vars map[string]any)
sdkx/claw/state.go:98
↓ 2 callersMethodpipelineForTurn
()
voice/session.go:232
↓ 2 callersFunctionpositiveLaneHits
(hits []retrieval.Hit)
memory/retrieval/bbh/index.go:736
↓ 2 callersFunctionpostgresFilterWhere
(f retrieval.Filter, startArg int)
memory/retrieval/postgres/index.go:477
↓ 2 callersFunctionpostgresTextValues
(values []any)
memory/retrieval/postgres/index.go:636
↓ 2 callersFunctionpostgresTrueExpr
(expr string)
memory/retrieval/postgres/index.go:613
↓ 2 callersMethodpreprocessMessages
preprocessMessages applies the message-level cap rules: 1. Modality caps (Vision / Audio / File): scan parts; if any unsupported modality part is pre
sdk/llm/with_caps.go:74
↓ 2 callersFunctionpreserveValidFromExpression
(meta map[string]any, expr *timex.Expression)
memory/recall/internal/ingest/time_resolver.go:107
↓ 2 callersFunctionpreserveValidFromText
(meta map[string]any)
memory/recall/internal/ingest/time_resolver.go:95
↓ 2 callersFunctionprimaryHitSource
(hit domain.Hit)
memory/recall/internal/pipeline/read/stages/context_packer.go:1296
↓ 2 callersFunctionprintHelp
()
cmd/claw/cli/cli.go:43
↓ 2 callersFunctionprintHelp
()
cmd/vesseld/cli/cli.go:45
↓ 2 callersFunctionprocessAlive
(pid int)
cmd/claw/cli/pid.go:118
↓ 2 callersMethodprocessCapture
(f audio.Frame)
voice/detect/echo.go:147
↓ 2 callersFunctionprojectDoc
(d retrieval.Doc, project []string, withVector bool)
memory/retrieval/postgres/index.go:899
↓ 2 callersFunctionprojectDoc
(d retrieval.Doc, project []string, withVector bool)
memory/retrieval/sqlite/index.go:1021
↓ 2 callersFunctionprojectReplaceOrAdd
(ctx context.Context, p Projection, scope Scope, entries []Entry)
sdk/recall/projection.go:317
↓ 2 callersFunctionproviderReportFromEvent
(ev Event)
voice/provider_observability.go:18
↓ 2 callersFunctionpublicCandidateSnapshots
(in []diagnostic.CandidateSnapshot)
memory/recall/diagnostics/stage_audit.go:105
↓ 2 callersFunctionpublicRecallTrace
(state *read.ReadState)
memory/recall/memory.go:984
↓ 2 callersMethodpublishBranchCancel
(branchID, nodeID, reason string)
sdk/graph/runner/internal/executor/parallel.go:378
↓ 2 callersMethodpublishBranchControlDelta
(branchID string, eventType engine.StreamDeltaType, payload map[string]any)
sdk/graph/runner/internal/executor/parallel.go:393
↓ 2 callersMethodpublishHits
publishHits writes both projections of the search results onto the board: - "hits" typed []knowledge.Hit (preferred for new graphs) - "results" []m
sdk/graph/node/knowledgenode/knowledgenode.go:208
↓ 2 callersFunctionpublishStreamDeltaPayload
(t *testing.T, bus event.Bus, runID, nodeID, agentID string, payload any)
sdk/graph/node/scriptnode/bridge_stream_test.go:790
↓ 2 callersFunctionpumpAgent
pumpAgent runs the agent's tool-call inner loop until it produces a natural-language text reply (returned) or the per-task turn cap is hit (reason set
eval/taubench/taubench.go:779
↓ 2 callersMethodputLayer
(ctx context.Context, datasetID, docName string, layer Layer, content string)
memory/knowledge/service.go:485
↓ 2 callersMethodputLayer
(ctx context.Context, datasetID, docName string, layer Layer, content string)
sdk/knowledge/service.go:485
↓ 2 callersFunctionquarterMatch
(text string, loc []int, year, quarter int)
memory/text/timex/calendar_range.go:76
↓ 2 callersFunctionqueryFeaturesFromState
(state *read.ReadState)
memory/recall/internal/pipeline/read/stages/context_pack.go:248
↓ 2 callersMethodqueryKey
queryKey returns the board-var key the node reads as the search query.
sdk/graph/node/knowledgenode/knowledgenode.go:87
↓ 2 callersFunctionquerySemanticTerms
(intent domain.QueryIntent)
memory/recall/internal/lens/semantic/lens.go:253
↓ 2 callersMethodqueueFor
queueFor returns the per-conversation queue, lazily starting its worker. Returns ErrClosed if Shutdown has begun and there is no live queue for this c
memory/history/compactor.go:489
↓ 2 callersMethodqueueFor
queueFor returns the per-conversation queue, lazily starting its worker. Returns ErrClosed if Shutdown has begun and there is no live queue for this c
sdk/history/compactor.go:489
↓ 2 callersFunctionqueueFromReadiness
(check recall.ReadinessCheck)
memory/recall/ops/snapshot.go:98
↓ 2 callersFunctionquoteScalar
(value string)
eval/locomo/runners/flowcraft/answer_context.go:148
↓ 2 callersFunctionquotedAnswerSpans
(text string)
eval/locomo/runners/flowcraftv2/answer_context.go:544
↓ 2 callersFunctionqwenResponsesBaseURL
(baseURL string)
sdkx/llm/qwen/qwen.go:134
↓ 2 callersFunctionrandomUUID
randomUUID generates an RFC-4122-v4 UUID using crypto/rand. Used to stamp the `uuid` idempotency field on PATCH calls so a retried update is recognise
eval/internal/notify/feishu_app.go:583
↓ 2 callersFunctionratio
(n, d int)
eval/knowledge/knowledge.go:574
↓ 2 callersFunctionreadAll
readAll is a tiny helper avoiding the io/ioutil deprecation warning while keeping the test file's import list short.
tests/e2e/vesseld/e2e_test.go:244
↓ 2 callersMethodreadDatasetLayersFile
(ctx context.Context, datasetID string)
memory/knowledge/backend/fs/layer.go:507
↓ 2 callersMethodreadDatasetLayersFile
(ctx context.Context, datasetID string)
sdk/knowledge/backend/fs/layer.go:504
↓ 2 callersMethodreadDatasetSig
(ctx context.Context, datasetID string, layer knowledge.Layer)
memory/knowledge/backend/fs/layer.go:527
↓ 2 callersMethodreadDatasetSig
(ctx context.Context, datasetID string, layer knowledge.Layer)
sdk/knowledge/backend/fs/layer.go:524
↓ 2 callersFunctionreadDeepSeekCapturedBody
(t *testing.T, captured <-chan map[string]any)
sdkx/llm/deepseek/provider_test.go:127
← previousnext →3,201–3,300 of 13,468, ranked by callers