MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 10 callersMethodScore
(f domain.TemporalFact)
memory/recall/internal/port/ingest.go:117
↓ 10 callersFunctionScoreText
ScoreText computes BM25 for arbitrary text content.
sdk/textsearch/bm25.go:61
↓ 10 callersMethodSetAgentID
SetAgentID stamps the agent identifier (sdk/agent.Agent.ID) of the producer onto the envelope. The call is dual-write: it sets both HeaderAgentID (th
sdk/event/envelope.go:186
↓ 10 callersMethodSetRunID
SetRunID is a typed shorthand for SetHeader(HeaderRunID, id).
sdk/event/envelope.go:167
↓ 10 callersMethodSize
()
sdk/workspace/mem.go:304
↓ 10 callersMethodSpanContext
SpanContext returns the OTel SpanContext encoded in this envelope's TraceID / SpanID fields, or an invalid SpanContext if the envelope was produced ou
sdk/event/trace.go:20
↓ 10 callersFunctionWithAppID
(id string)
voice/stt/bytedance/bytedance.go:47
↓ 10 callersFunctionWithBinary
WithBinary overrides the nsjail binary path. By default the Runner uses exec.LookPath("nsjail"); set this for hermetic builds where nsjail lives in a
sdkx/sandbox/nsjail/runner.go:17
↓ 10 callersFunctionWithBreakerCooldown
WithBreakerCooldown sets the duration before a tripped breaker enters half-open state.
sdk/llm/fallback.go:172
↓ 10 callersFunctionWithDetectorInterruptThreshold
WithDetectorInterruptThreshold sets the barge-in threshold (before boost). Default: 0.015 (RMS) or 0.55 (classifier).
voice/detect/energy.go:23
↓ 10 callersFunctionWithTelemetryHook
WithTelemetryHook installs a telemetry observer for projection fanout, drift detection, and high-level Save/Recall pipeline stages.
memory/recall/options.go:315
↓ 10 callersMethodWrite
(_ context.Context, path string, data []byte)
sdk/workspace/mem.go:49
↓ 10 callersMethodWriteSample
(s media.Sample)
voice/webrtc/sink.go:32
↓ 10 callersFunctioncheckCurrentEvent
(t *testing.T, cur map[string]any, want map[string]any)
sdk/graph/node/scriptnode/bridge_stream_test.go:863
↓ 10 callersMethodcontextID
()
sdkx/claw/state.go:79
↓ 10 callersFunctionequalStrings
(a, b []string)
memory/recall/internal/lens/entity/projection_test.go:153
↓ 10 callersFunctiongenPair
genPair returns a freshly minted self-signed cert + private key (PEM-encoded) suitable for both server and CA roles in unit tests. The cert is valid f
cmd/vesseld/tlsconfig/tlsconfig_test.go:40
↓ 10 callersMethodholdWriteTelemetry
()
memory/recall/scope_generation.go:47
↓ 10 callersFunctionlistDocsNamespace
listDocsNamespace dumps every retrieval.Doc currently held in the dataset's __docs namespace; used to assert doc-level write behaviour independently o
memory/knowledge/backend/retrieval/chunk_test.go:30
↓ 10 callersFunctionlistDocsNamespace
listDocsNamespace dumps every retrieval.Doc currently held in the dataset's __docs namespace; used to assert doc-level write behaviour independently o
sdk/knowledge/backend/retrieval/chunk_test.go:30
↓ 10 callersFunctionmakeRecord
makeRecord builds a Record without the default length/count limits that logtest.RecordFactory's zero value would otherwise apply (which truncate strin
sdk/telemetry/log_test.go:20
↓ 10 callersFunctionmustConvertMessages
(t *testing.T, msgs []llm.Message)
sdkx/llm/ollama/ollama_test.go:15
↓ 10 callersFunctionnewEntityStore
(t *testing.T, capN int)
sdk/recall/entity_store_test.go:28
↓ 10 callersFunctionnewFakeAudioSource
(frames []audio.Frame, ctx context.Context)
voice/session_test.go:50
↓ 10 callersFunctionnewIntegrationRunner
(t *testing.T)
sdkx/sandbox/nsjail/integration_linux_test.go:36
↓ 10 callersFunctionnewTestEmbedder
Integration tests require real credentials. Set: EMBEDDING_PROVIDER (e.g. "azure" or "openai") EMBEDDING_API_KEY EMBEDDING_MODEL (e.g. "text-
tests/conformance/embedding/embedding_test.go:34
↓ 10 callersFunctionoptionalFileRef
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:458
↓ 10 callersFunctionoptionalMediaRef
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:431
↓ 10 callersFunctionpb
(v bool)
sdk/script/bindings/bridge_llm_test.go:12
↓ 10 callersFunctionpickFinalish
pickFinalish returns Final if non-empty, otherwise lifts Fused/Reranked. When lifting from Reranked or Fused the slice is shallow-copied so that down
memory/retrieval/pipeline/stages_post.go:398
↓ 10 callersFunctionpickFinalish
pickFinalish returns Final if non-empty, otherwise lifts Fused/Reranked. When lifting from Reranked or Fused the slice is shallow-copied so that down
sdk/retrieval/pipeline/stages_post.go:398
↓ 10 callersFunctionpublicSaveTrace
publicSaveTrace copies the in-flight domain.SaveTrace (when explain was requested) into the public SaveTrace surface.
memory/recall/memory.go:604
↓ 10 callersFunctionreadWithTimeout
(s audio.Stream[audio.Frame], ctx context.Context)
voice/webrtc/transport_test.go:162
↓ 10 callersMethodrememberNamespace
(ctx context.Context, ns string)
sdk/recall/memory.go:1091
↓ 10 callersFunctionsafeToken
(s string)
memory/retrieval/bbh/index.go:310
↓ 10 callersFunctionsegmentDirs
segmentDirs returns the names of segment directories on disk.
memory/retrieval/workspace/compaction_test.go:40
↓ 10 callersFunctionsnapshotsEnabled
(state *read.ReadState)
memory/recall/internal/pipeline/read/stages/audit_snapshots.go:9
↓ 10 callersFunctionsortedKeys
sortedKeys is the small helper used by every error message and Names() call so error output is stable across runs.
cmd/vesseld/catalog/catalog.go:307
↓ 10 callersMethodwarmNamespace
(ctx context.Context, namespace string)
memory/retrieval/journal/wrap.go:323
↓ 10 callersFunctionwriteKV
(b *strings.Builder, indent int, key, value string)
eval/locomo/runners/flowcraft/answer_context.go:87
↓ 9 callersMethodAsyncSemanticQueueStats
(ctx context.Context, scope Scope)
memory/recall/async_semantic.go:60
↓ 9 callersFunctionAttachRevision
AttachRevision stores a revision annotation on f.Metadata. It does not mutate unrelated keys.
memory/recall/internal/domain/revision.go:29
↓ 9 callersFunctionBuild
Build resolves every reference through provider and assembles a [crypto/tls.Config] suitable for an mTLS HTTP listener. The returned config has Client
cmd/vesseld/tlsconfig/tlsconfig.go:48
↓ 9 callersFunctionBuildSummaryIndex
===== SummaryIndex (was compactor_index.go) ===== BuildSummaryIndex generates a summary index string from the top-level summaries of a conversation. T
memory/history/compactor.go:1438
↓ 9 callersFunctionBuildSummaryIndex
===== SummaryIndex (was compactor_index.go) ===== BuildSummaryIndex generates a summary index string from the top-level summaries of a conversation. T
sdk/history/compactor.go:1439
↓ 9 callersMethodEmbedBatch
(ctx context.Context, texts []string)
sdk/embedding/embedding.go:23
↓ 9 callersFunctionEmitStreamDelta
EmitStreamDelta is the low-level form of the EmitStreamX helpers. Custom nodes that need to set fields outside the type-specific helpers (e.g. a forwa
sdk/engine/stream_emit.go:121
↓ 9 callersMethodExecuteAll
ExecuteAll runs multiple tool calls concurrently with a semaphore limiting parallelism. Results are returned in the same order as the input calls.
sdk/tool/registry.go:273
↓ 9 callersMethodFeed
(chunk []byte)
voice/vad/vad.go:180
↓ 9 callersMethodFinish
Finish assembles the round result. It is mandatory to call Finish (or Close) before the round goes out of scope, otherwise the underlying stream may l
sdk/script/bindings/bridge_llm_round.go:260
↓ 9 callersMethodGenerateStream
(ctx context.Context, messages []Message, opts ...GenerateOption)
sdk/llm/fallback.go:280
↓ 9 callersFunctionInitLog
InitLog initializes the OpenTelemetry LoggerProvider. Sinks are exactly the WithLogProcessor entries supplied by the caller; pass them in any order,
sdk/telemetry/log.go:65
↓ 9 callersMethodIsDir
()
sdkx/workspace/objstore/workspace.go:279
↓ 9 callersMethodLen
Len returns the number of stored conversations (useful for testing/monitoring).
memory/history/store.go:221
↓ 9 callersMethodLen
Len returns the number of stored conversations (useful for testing/monitoring).
sdk/history/store.go:221
↓ 9 callersMethodListByFact
ListByFact returns refs in append order.
memory/recall/internal/port/store.go:129
↓ 9 callersFunctionNew
New returns an empty entity projection.
memory/recall/internal/lens/entity/projection.go:47
↓ 9 callersFunctionNewBuffer
NewBuffer returns a [History] that keeps the most recent messages for each conversation up to a cap (default 50; override with [WithBufferMax]). It i
memory/history/buffer.go:48
↓ 9 callersFunctionNewBuffer
NewBuffer returns a [History] that keeps the most recent messages for each conversation up to a cap (default 50; override with [WithBufferMax]). It i
sdk/history/buffer.go:48
↓ 9 callersFunctionNewEventReloader
NewEventReloader wires a Rebuilder to an EventNotifier. opts.Debounce defaults to 500ms; opts.RebuildTimeout defaults to 30s. RetryBackoff defaults t
memory/knowledge/reloader.go:91
↓ 9 callersFunctionNewEventReloader
NewEventReloader wires a Rebuilder to an EventNotifier. opts.Debounce defaults to 500ms; opts.RebuildTimeout defaults to 30s. RetryBackoff defaults t
sdk/knowledge/reloader.go:91
↓ 9 callersFunctionNewPlainTextExporter
NewPlainTextExporter returns an sdklog.Exporter that formats each record via FormatPlainTextRecordLine and writes it to w. All severities are written
sdk/telemetry/log.go:235
↓ 9 callersFunctionNewReconciler
NewReconciler returns the multi-scope operator API when mem is this package's Memory implementation.
memory/recall/reconcile.go:151
↓ 9 callersFunctionNewScopedWorkspace
(inner Workspace, opts ...ScopedOption)
sdk/workspace/scoped.go:46
↓ 9 callersFunctionNewSegmenter
NewSegmenter creates a new Segmenter.
voice/tts/segmenter.go:45
↓ 9 callersFunctionNewSemanticSilenceDecider
NewSemanticSilenceDecider creates a decider that reduces the silence threshold when the partial transcript appears sentence-complete. silenceDuration
voice/endpoint/semantic.go:46
↓ 9 callersMethodNodeID
NodeID returns the value of the well-known node_id header.
sdk/event/envelope.go:176
↓ 9 callersMethodNotFound
()
sdk/errdefs/errors.go:41
↓ 9 callersMethodOnRunStart
OnRunStart fires after Run prepared the engine inputs but before engine.Execute is invoked. info carries the immutable identification fields agreed fo
sdk/agent/observer.go:49
↓ 9 callersMethodPhase
Phase fetches GET /v1/vessels/{id}/phase and returns the parsed phase string. Test-friendly wrapper.
tests/e2e/vesseld/helpers/api.go:298
↓ 9 callersFunctionProperty
Property creates a simple typed property definition.
sdk/tool/schema.go:12
↓ 9 callersMethodPublish
(ctx context.Context, env event.Envelope)
sdk/engine/host.go:48
↓ 9 callersFunctionRecordRunSummary
RecordRunSummary emits a short-lived "engine.run.summary" span summarising one engine.Run. The span is started and ended synchronously inside this cal
sdk/telemetry/run_summary.go:112
↓ 9 callersMethodRegister
Register associates scheme with backend p. Re-registering the same scheme overwrites the previous backend; this is the seam through which tests inject
cmd/vesseld/secrets/secrets.go:57
↓ 9 callersMethodResolveMap
ResolveMap resolves all string values in a config map. Non-string values are passed through unchanged. When a string value is exactly a single ${scop
sdk/graph/variable/resolver.go:94
↓ 9 callersMethodRun
Run blocks until ctx is cancelled or Close is called. Run MUST be called at most once. When target or notifier is nil, Run returns immediately as a no
memory/knowledge/reloader.go:129
↓ 9 callersMethodRun
Run blocks until ctx is cancelled or Close is called. Run MUST be called at most once. When target or notifier is nil, Run returns immediately as a no
sdk/knowledge/reloader.go:129
↓ 9 callersMethodSet
(v int32)
memory/history/coordinator_test.go:669
↓ 9 callersMethodWaitRun
WaitRun polls GET /v1/runs/{run_id} until the run reaches a terminal state (status != "running") or the budget elapses. The returned map is the raw de
tests/e2e/vesseld/helpers/api.go:165
↓ 9 callersFunctionWithEngineFactory
WithEngineFactory installs a custom factory that the Captain invokes once per agent at New time. This is the primary extension point for vessels that
vessel/option.go:94
↓ 9 callersFunctionWithLLMExtractor
WithLLMExtractor enables LLM-driven fact extraction in the default compiler pipeline. The supplied client is consulted on Save calls whose SaveRequest
memory/recall/options.go:274
↓ 9 callersFunctionWithRunID
WithRunID sets the run identifier the executor uses in telemetry and event subjects.
sdk/graph/runner/internal/executor/executor.go:204
↓ 9 callersFunctionWithSpeechOnset
WithSpeechOnset sets how many consecutive loud frames are required to confirm speech onset (default 3). Prevents short transient noise from triggering
voice/vad/vad.go:50
↓ 9 callersFunctionWithVADThreshold
WithVADThreshold sets a fixed speech-score threshold, bypassing adaptive calibration. In spectral mode the score is in [0, 1] (try 0.45); in energy-on
voice/vad/vad.go:38
↓ 9 callersFunctionasyncSemanticQueueForTest
(t testing.TB, newQueue AsyncSemanticQueueFactory)
memory/recall/recalltest/async_semantic.go:279
↓ 9 callersFunctionbuildFlags
buildFlags translates sandbox.ExecOptions into the nsjail CLI flag list that precedes the "--" separator. The command and its arguments are appended b
sdkx/sandbox/nsjail/flags.go:22
↓ 9 callersFunctioncleanExtractedEntity
(s string)
memory/recall/internal/ingest/extractor_llm.go:1301
↓ 9 callersFunctioncontains
(values []string, needle string)
cmd/claw/cli/cli_test.go:300
↓ 9 callersFunctioncontextPackCoveredQueryTokens
(query contextPackQueryFeatures, selected []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1187
↓ 9 callersFunctiondelta
delta returns after.values[name] - before.values[name], with the "missing" sentinel mapped to zero so a "no data point ever emitted" case is observabl
sdk/llm/metrics_test.go:72
↓ 9 callersFunctiondrainEvents
drainEvents collects every envelope emitted on sub until either matchCount envelopes satisfy match (returning early), or the deadline elapses. match
sdk/kanban/helpers_test.go:106
↓ 9 callersFunctiondumpEvents
dumpEvents renders a compact "[type@seq run_id]" summary for fatal messages. Keeps test failures debuggable without forcing JSON.
tests/e2e/vesseld/conformance_test.go:357
↓ 9 callersMethodemitAsyncProcessStage
( job port.AsyncSemanticJob, detail diagnostic.AsyncSemanticProcessDetail, status diagnostic.Status, errMs
memory/recall/async_semantic.go:296
↓ 9 callersMethodensureNamespace
nsSetup orchestrates "open or create" of one namespace: it loads the manifest (or starts fresh), garbage-collects abandoned partial flushes, replays o
memory/retrieval/workspace/namespace.go:20
↓ 9 callersFunctionfakeNsjail
fakeNsjail writes a tiny shell script that mimics nsjail's argv contract: everything up to "--" is its own flags, everything after is "cmd args...". T
sdkx/sandbox/nsjail/runner_linux_test.go:22
↓ 9 callersFunctionfenceCheck
fenceCheck is the inline guard at the top of every public mutating / reading API. Returns ErrFenced if the namespace has observed a takeover; the call
memory/retrieval/workspace/lock.go:260
↓ 9 callersMethodfinalize
------------------------------------------------------------------- Post-processing helpers ----------------------------------------------------------
sdkx/extract/default.go:336
↓ 9 callersFunctionfirstNonEmpty
(values ...string)
cmd/claw/cli/auto.go:722
↓ 9 callersFunctionfloatPtr
(f float64)
sdk/llm/spec_test.go:116
↓ 9 callersFunctioninstallMemTracer
installMemTracer replaces the global TracerProvider with one that pipes every span through `exp` synchronously (WithSyncer). The returned cleanup rest
sdk/telemetry/run_summary_test.go:47
← previousnext →601–700 of 13,468, ranked by callers