MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 4 callersMethodClone
Clone returns a deep copy of the fact, safe for callers that mutate slices/maps after handing the fact off to canonical stores.
memory/recall/internal/domain/temporal_fact.go:89
↓ 4 callersMethodClose
Close cancels the group context and waits for all accepted work to drain.
memory/internal/background/group.go:80
↓ 4 callersMethodClose
Close tears down every active fanout and waits for their loops to drain. Subsequent Attach calls return an error. Close is idempotent.
sdk/engine/stream_sink.go:313
↓ 4 callersMethodClose
Close cancels the group context and waits for all accepted work to drain.
sdk/internal/background/group.go:80
↓ 4 callersMethodCompact
Compact removes deleted nodes and prunes leaf content.
memory/history/compactor.go:1275
↓ 4 callersMethodCompensate
Compensate implements pipeline.Compensator. The emit name is chosen to mirror the legacy rollback helpers byte-for-byte: - state.FailedStage == "vali
memory/recall/internal/pipeline/write/stages/append.go:82
↓ 4 callersMethodConnect
Connect handles the client-side flow: creates an SDP offer, exchanges it via Signaler, and waits for the ICE connection to be established.
voice/webrtc/transport.go:111
↓ 4 callersMethodContainsLiteral
ContainsLiteral reports whether raw occurs in the normalised lower-cased text. Prefer token predicates for whitespace-delimited languages; this exists
memory/text/phrase/matcher.go:97
↓ 4 callersFunctionCredentialProfileFromContext
CredentialProfileFromContext returns the profile installed by WithCredentialProfile, or "" if none. Used internally by the resolver; safe to call from
sdk/llm/profile.go:48
↓ 4 callersMethodDatasetScope
DatasetScope returns the dataset-keyed namespace used by knowledge-like systems: <prefix>_<Sanitize(datasetID)>__<suffix>
memory/retrieval/namespace/encode.go:61
↓ 4 callersMethodDatasetScope
DatasetScope returns the dataset-keyed namespace used by knowledge-like systems: <prefix>_<Sanitize(datasetID)>__<suffix>
sdk/retrieval/namespace/encode.go:61
↓ 4 callersFunctionDecodeListPageTokenFor
DecodeListPageTokenFor parses a token produced by EncodeListPageTokenFor. Legacy offset-only tokens are accepted, but new tokens are rejected if the r
memory/retrieval/list_token.go:60
↓ 4 callersFunctionDecodeListPageTokenFor
DecodeListPageTokenFor parses a token produced by EncodeListPageTokenFor. Legacy offset-only tokens are accepted, but new tokens are rejected if the r
sdk/retrieval/list_token.go:60
↓ 4 callersMethodDel
Del removes a single object. No error if already absent.
sdkx/workspace/objstore/store.go:31
↓ 4 callersMethodDelete
Delete removes facts by id. Missing ids are ignored.
memory/recall/internal/store/temporal/memory.go:532
↓ 4 callersMethodDeleteMessages
(ctx context.Context, conversationID string)
memory/history/store.go:369
↓ 4 callersMethodDeleteMessages
(ctx context.Context, conversationID string)
sdk/history/store.go:369
↓ 4 callersFunctionDetectPodcastType
DetectPodcastType detects the type of podcast URL.
sdkx/extract/podcast/detect.go:55
↓ 4 callersFunctionDocMatchesFilter
DocMatchesFilter reports whether doc's metadata satisfies f. Doc.Content is not considered except for Match when the key is "_content".
memory/retrieval/filter_match.go:12
↓ 4 callersFunctionDocMatchesFilter
DocMatchesFilter reports whether doc's metadata satisfies f. Doc.Content is not considered except for Match when the key is "_content".
sdk/retrieval/filter_match.go:12
↓ 4 callersMethodDrainScopes
DrainScopes processes one batch for each supplied scope.
memory/recall/ops/drain.go:51
↓ 4 callersFunctionEntityNamespaceFor
EntityNamespaceFor returns the retrieval namespace for the entity store sibling table of a given scope. The encoding mirrors [NamespaceFor] through sd
sdk/recall/entity_store.go:79
↓ 4 callersFunctionEntryToDoc
EntryToDoc serializes a [Entry] into a [retrieval.Doc]. Metadata layout: user_id string agent_id string categories []string entities
sdk/recall/codec.go:42
↓ 4 callersMethodEvents
()
sdk/knowledge/reloader.go:22
↓ 4 callersMethodExpireRetired
ExpireRetired hard-deletes every scope-local fact whose ExpiresAt is non-nil and not after now (TTL sweep). It reuses the forget pipeline so projectio
memory/recall/memory.go:72
↓ 4 callersMethodExtraString
ExtraString reads a string from Extra, returning fallback if absent or wrong type.
voice/stt/option.go:50
↓ 4 callersFunctionExtractPlan
ExtractPlan rebuilds planner output from query-understanding + plan stage details.
memory/recall/internal/domain/diagnostic/read_detail.go:183
↓ 4 callersMethodFindByOriginRequestID
FindByOriginRequestID returns every fact in scope whose Origin.RequestID equals the supplied key. Uses originIdx for O(k) lookup where k is the number
memory/recall/internal/store/temporal/memory.go:271
↓ 4 callersMethodFindByOriginRequestID
FindByOriginRequestID returns every fact in scope whose Origin.RequestID matches the given key. Used by the async semantic worker to detect "facts alr
memory/recall/internal/port/store.go:78
↓ 4 callersMethodFlush
Flush returns any remaining buffered text.
voice/tts/segmenter.go:89
↓ 4 callersMethodForgetByFact
ForgetByFact removes all refs attached to the listed fact ids. Missing ids are tolerated so callers can issue idempotent forgets after partial failure
memory/recall/internal/port/store.go:138
↓ 4 callersMethodGet
Get parses ref to extract the scheme, then dispatches to the matching backend. Returns errdefs.Validation when ref is not a URL or the scheme has no r
cmd/vesseld/secrets/secrets.go:71
↓ 4 callersMethodGetDocSig
(ctx context.Context, datasetID, docName string)
sdk/knowledge/repo.go:112
↓ 4 callersMethodGetDocument
GetDocument returns the lossless SourceDocument (contract #4).
sdk/knowledge/service.go:174
↓ 4 callersMethodGetProviderConfig
GetProviderConfig implements ProviderConfigStore.
sdk/llm/profile.go:72
↓ 4 callersFunctionGlob
Glob returns paths matching a simple pattern relative to the workspace root. It supports patterns like "*.json", "dir/*.yaml", or "**/*.go". The "**"
sdk/workspace/helpers.go:74
↓ 4 callersFunctionHasBridgeSurfaceCue
HasBridgeSurfaceCue reports whether query shape likely requires bridge facts.
memory/recall/internal/words/query_surface.go:279
↓ 4 callersMethodHasWork
HasWork reports whether the resolve stage produced any facts to append. Stages downstream of resolve check this so empty Saves short-circuit cleanly (
memory/recall/internal/pipeline/write/state.go:217
↓ 4 callersMethodHistory
(ctx context.Context, scope Scope, factID string)
memory/recall/memory.go:73
↓ 4 callersMethodHistory
(ctx context.Context, scope Scope, entryID string)
sdk/recall/memory.go:84
↓ 4 callersFunctionInitTracer
InitTracer initializes the OpenTelemetry TracerProvider. With an Exporter the provider uses WithBatcher for async export. Without one it installs a r
sdk/telemetry/trace.go:51
↓ 4 callersMethodInspectNamespace
InspectNamespace returns inspection data for one namespace.
memory/retrieval/bbh/inspector.go:172
↓ 4 callersFunctionIsAborted
(err error)
sdk/errdefs/errors.go:68
↓ 4 callersFunctionIsActive
IsActive is a backward-compatibility alias for IsCanonicalActive. Deprecated: use IsCanonicalActive or IsProjectable; IsActive remains for v2 transit
memory/recall/internal/domain/temporal_fact.go:208
↓ 4 callersFunctionIsCJK
IsCJK reports whether r is a CJK character (Han, Hangul, Katakana, Hiragana).
sdk/textsearch/tokenizer.go:95
↓ 4 callersFunctionIsCanonicalActive
IsCanonicalActive reports whether a fact is canonically active in the ledger: not superseded by a successor (CorrectedBy == "") and either open-ended
memory/recall/internal/domain/temporal_fact.go:180
↓ 4 callersFunctionIsHistorical
IsHistorical reports whether a fact belongs in HISTORICAL projection indexes (timeline / retrieval / entity / graph) — views that index the whole obse
memory/recall/internal/domain/temporal_fact.go:224
↓ 4 callersFunctionIsNotFound
--------------------------------------------------------------------------- Check functions ----------------------------------------------------------
sdk/errdefs/errors.go:60
↓ 4 callersMethodIsSpeech
IsSpeech returns true if the frame's score exceeds the speech-onset threshold.
voice/detect/energy.go:94
↓ 4 callersMethodIsStale
IsStale returns true when sig was produced for an earlier source version or with a different chunker / prompt / embed configuration than want. EmbedS
memory/knowledge/model.go:60
↓ 4 callersMethodIsStale
IsStale returns true when sig was produced for an earlier source version or with a different chunker / prompt / embed configuration than want. EmbedS
sdk/knowledge/model.go:60
↓ 4 callersFunctionIsSuperseded
IsSuperseded reports whether a fact has been replaced by another canonical write (CorrectedBy != ""). Per docs §5.4 ValidTo alone is not a supersede s
memory/recall/internal/domain/temporal_fact.go:160
↓ 4 callersFunctionJoinSegments
JoinSegments joins multiple segments into a single text.
sdkx/extract/html/article.go:206
↓ 4 callersFunctionLTM
LTM returns the long-term-memory pipeline. The default recipe is vector-first recall with BM25 + entity acting as ranking boosts (not recall expanders
memory/retrieval/pipeline/factory.go:341
↓ 4 callersFunctionLTM
LTM returns the long-term-memory pipeline. The default recipe is vector-first recall with BM25 + entity acting as ranking boosts (not recall expanders
sdk/retrieval/pipeline/factory.go:341
↓ 4 callersFunctionLemmatize
Lemmatize normalises a lowercased token to its dictionary base form when it matches a known English irregular inflection (verb past / past-participle,
sdk/textsearch/lemma.go:23
↓ 4 callersMethodLen
Len returns the number of registered tools.
sdk/tool/registry.go:183
↓ 4 callersMethodList
(_ context.Context, dir string)
sdk/workspace/mem.go:154
↓ 4 callersMethodList
List returns graph names that have a primary checkpoint file. Primary files match "{name}.checkpoint.json"; backup files have an additional timestamp
sdk/graph/runner/internal/executor/checkpoint.go:153
↓ 4 callersMethodListFactIDs
ListFactIDs enumerates every fact id that has at least one evidence ref recorded in this scope.
memory/recall/internal/port/store.go:133
↓ 4 callersMethodListPrefix
ListPrefix returns objects and common prefixes under the given prefix. When delimiter is non-empty (typically "/"), it enables hierarchical listing: k
sdkx/workspace/objstore/store.go:41
↓ 4 callersMethodListProviders
()
sdk/embedding/factory.go:41
↓ 4 callersMethodListScopes
(ctx context.Context, query ScopeListQuery)
memory/recall/internal/port/store.go:35
↓ 4 callersFunctionLoadArchivedMessages
LoadArchivedMessages reads messages from gzip archive segments. It powers history_expand's cold-segment path; callers outside the history package shou
memory/history/archive.go:411
↓ 4 callersFunctionLoadArchivedMessages
LoadArchivedMessages reads messages from gzip archive segments. It powers history_expand's cold-segment path; callers outside the history package shou
sdk/history/archive.go:411
↓ 4 callersFunctionLogger
Logger returns an OpenTelemetry Logger from the global LoggerProvider.
sdk/telemetry/telemetry.go:57
↓ 4 callersFunctionMarshalToolArgs
MarshalToolArgs marshals arguments to a JSON string suitable for ToolCall.Arguments.
sdk/model/message.go:365
↓ 4 callersMethodMode
()
sdkx/workspace/objstore/workspace.go:298
↓ 4 callersMethodName
Name implements port.Source.
memory/recall/internal/lens/entity/source.go:40
↓ 4 callersFunctionNew
New creates an OpenAI LLM instance.
sdkx/llm/openai/chat/openai.go:55
↓ 4 callersFunctionNew
New creates a Qwen LLM instance backed by DashScope's Responses API.
sdkx/llm/qwen/qwen.go:104
↓ 4 callersFunctionNew
New returns an Embedder backed by OpenAI. Returns nil if apiKey is empty. Extra opts are passed directly to the openai-go client constructor (used by
sdkx/embedding/openai/openai.go:36
↓ 4 callersFunctionNew
New constructs a FromStore. The telemetry hook is retained on the struct for forward compatibility but is intentionally NOT invoked here: drift signal
memory/recall/internal/materialize/from_store.go:37
↓ 4 callersFunctionNewCandidateExpansion
(store port.TemporalStore)
memory/recall/internal/pipeline/read/stages/candidate_expansion.go:28
↓ 4 callersFunctionNewCandidateFanout
(sources SourceProvider)
memory/recall/internal/pipeline/read/stages/candidate_fanout.go:26
↓ 4 callersFunctionNewEvolutionAfterRecall
NewEvolutionAfterRecall constructs the stage. runner may be nil.
memory/recall/internal/pipeline/read/stages/evolution_after_recall.go:21
↓ 4 callersFunctionNewFallbackSTTWithPolicy
(policy provider.FallbackPolicy, primary STT, fallbacks ...STT)
voice/stt/fallback.go:22
↓ 4 callersFunctionNewFallbackTTSWithPolicy
(policy provider.FallbackPolicy, primary TTS, fallbacks ...TTS)
voice/tts/fallback.go:23
↓ 4 callersFunctionNewHostBridge
NewHostBridge exposes the engine.Host control plane to scripts as the global "host". It is the script-side mirror of the small interfaces composed in
sdk/script/bindings/bridge_host.go:101
↓ 4 callersFunctionNewLLM
NewLLM wires an llm.LLM with the default batch / snippet caps. Use recall.WithReranker(ranker.NewLLM(client)) at construction time to opt the Recall p
memory/recall/internal/ranker/llm.go:62
↓ 4 callersFunctionNewLayerRetriever
NewLayerRetriever constructs a LayerRetriever; pass a nil embedder to disable the vector lane.
memory/knowledge/retriever.go:99
↓ 4 callersFunctionNewLayerRetriever
NewLayerRetriever constructs a LayerRetriever; pass a nil embedder to disable the vector lane.
sdk/knowledge/retriever.go:99
↓ 4 callersFunctionNewMemoryJournal
NewMemoryJournal returns an empty MemoryJournal.
sdk/retrieval/journal/memory_journal.go:20
↓ 4 callersFunctionNewMemoryNamespaceRegistry
NewMemoryNamespaceRegistry returns an in-memory NamespaceRegistry.
sdk/recall/namespace_registry.go:26
↓ 4 callersFunctionNewOpenAI
NewOpenAI creates a MiniMax LLM instance through MiniMax's OpenAI-compatible Responses endpoint.
sdkx/llm/minimax/openai.go:116
↓ 4 callersFunctionNewRRFRanker
NewRRFRanker constructs an RRFRanker with sensible defaults.
memory/knowledge/ranker.go:21
↓ 4 callersFunctionNewRRFRanker
NewRRFRanker constructs an RRFRanker with sensible defaults.
sdk/knowledge/ranker.go:21
↓ 4 callersFunctionNewScheduler
NewScheduler creates a Scheduler. Pass it to kanban.New via WithScheduler; the Kanban reference is wired automatically.
sdk/kanban/scheduler.go:67
↓ 4 callersFunctionNewSchema
NewSchema creates a new schema from variable definitions.
sdk/graph/variable/schema.go:16
↓ 4 callersFunctionNewSilenceDecider
(silenceDuration, frameSize time.Duration)
voice/endpoint/endpoint.go:28
↓ 4 callersFunctionNewSource
NewSource constructs a Source.
memory/recall/internal/lens/timeline/source.go:25
↓ 4 callersFunctionNewSource
NewSource constructs a Source backed by lookup.
memory/recall/internal/lens/entity/source.go:35
↓ 4 callersFunctionNewSummaryNodeID
NewSummaryNodeID generates a unique ID for a summary node.
memory/history/summary_store.go:64
↓ 4 callersFunctionNewSummaryNodeID
NewSummaryNodeID generates a unique ID for a summary node.
sdk/history/summary_store.go:63
↓ 4 callersFunctionNewTiktokenCounter
NewTiktokenCounter creates a TiktokenCounter for the given model name (e.g. "gpt-4o", "gpt-4", "gpt-3.5-turbo"). Falls back to cl100k_base encoding if
memory/history/token.go:56
↓ 4 callersFunctionNewTiktokenCounter
NewTiktokenCounter creates a TiktokenCounter for the given model name (e.g. "gpt-4o", "gpt-4", "gpt-3.5-turbo"). Falls back to cl100k_base encoding if
sdk/history/token.go:56
↓ 4 callersFunctionNormalize
Normalize collapses case + whitespace + punctuation for EM/F1.
eval/metrics/em.go:11
↓ 4 callersFunctionNormalizeEntities
NormalizeEntities expands phrasal entity mentions returned by the extractor into individual proper-noun atoms so query-time entity lookup (which works
sdk/recall/entities.go:43
↓ 4 callersFunctionNormalizeModality
(m Modality)
memory/recall/internal/domain/semantic.go:42
↓ 4 callersFunctionNormalizePartitions
NormalizePartitions returns a deduplicated, ordered slice. An empty input returns a nil slice so callers can distinguish "auto" from "explicitly empty
sdk/recall/recall_scope.go:19
← previousnext →1,401–1,500 of 13,468, ranked by callers