MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 4 callersFunctionNormalizePolarity
NormalizePolarity returns the canonical polarity. Empty defaults to affirmed so older facts keep their historical positive-fact semantics.
memory/recall/internal/domain/semantic.go:19
↓ 4 callersFunctionNotFound
(err error)
sdk/errdefs/errors.go:149
↓ 4 callersFunctionNotFoundf
(format string, args ...any)
sdk/errdefs/errors.go:210
↓ 4 callersMethodOnEmit
(_ context.Context, r *sdklog.Record)
sdk/telemetry/log_test.go:186
↓ 4 callersFunctionPolicyDeniedf
(format string, args ...any)
sdk/errdefs/errors.go:230
↓ 4 callersFunctionPorter
Porter applies the original Porter (1980) stemmer to a lower-cased English word, returning the stem. The input is returned unchanged when it is shorte
memory/text/stem/porter.go:31
↓ 4 callersMethodPrimarySubScope
PrimarySubScope returns the SubScopeState that corresponds to the primary recall scope, or nil when SubScopeStates is empty. candidate_fanout guarante
memory/recall/internal/pipeline/read/state.go:226
↓ 4 callersFunctionProviderCategoryFromHTTPCode
ProviderCategoryFromHTTPCode maps a non-2xx HTTP status into a ProviderCategory. Returns (ProviderTransient, false) for codes that have no specific ma
sdk/errdefs/http.go:151
↓ 4 callersMethodRead
(ctx context.Context, path string)
sdk/workspace/scoped.go:66
↓ 4 callersMethodRebuildDocIndex
RebuildDocIndex re-derives the __docs namespace for a dataset by iterating every chunk currently held in the __chunks namespace, grouping by doc_name,
memory/knowledge/backend/retrieval/chunk.go:238
↓ 4 callersMethodRebuildDocIndex
RebuildDocIndex re-derives the __docs namespace for a dataset by iterating every chunk currently held in the __chunks namespace, grouping by doc_name,
sdk/knowledge/backend/retrieval/chunk.go:238
↓ 4 callersMethodRebuildProjection
(ctx context.Context, scope Scope, name string)
memory/recall/rebuild.go:35
↓ 4 callersMethodRebuildRequired
RebuildRequired rebuilds required projections from the supplied snapshot. Same short-circuit semantics as ProjectRequired.
memory/recall/internal/pipeline/fanout.go:210
↓ 4 callersMethodRecall
Recall implements Retriever. Mode handling: - ModeBM25: BM25-only. - ModeVector: vector-only. Returns nil when Embedder is missing or q.Text is empty
memory/knowledge/retriever.go:117
↓ 4 callersMethodRecall
Recall implements Retriever. Mode handling: - ModeBM25: BM25-only. - ModeVector: vector-only. Returns nil when Embedder is missing or q.Text is empty
sdk/knowledge/retriever.go:117
↓ 4 callersMethodReconcileAsyncSemantic
(ctx context.Context, scope Scope, opts AsyncSemanticReconcileOptions)
memory/recall/reconcile.go:22
↓ 4 callersMethodReconcileScopes
(ctx context.Context, scopes []Scope, opts ReconcileOptions)
memory/recall/reconcile.go:24
↓ 4 callersMethodReconcileSideEffects
(ctx context.Context, scope Scope, opts SideEffectReconcileOptions)
memory/recall/reconcile.go:23
↓ 4 callersMethodRemoveDocument
RemoveDocument updates corpus statistics when a document is removed.
memory/text/bm25/corpus.go:44
↓ 4 callersMethodRemoveDocument
RemoveDocument updates corpus statistics when a document is removed.
sdk/textsearch/bm25.go:34
↓ 4 callersMethodReopenValidity
ReopenValidity is the deliberate inverse of UpdateValidity used by Save-rollback compensation. It clears ValidTo and CorrectedBy on factID — but only
memory/recall/internal/port/store.go:89
↓ 4 callersMethodResolve
(f domain.TemporalFact, now time.Time)
memory/recall/internal/port/ingest.go:111
↓ 4 callersMethodRewrite
(ctx context.Context, convID string, nodes []*SummaryNode)
sdk/history/summary_store.go:59
↓ 4 callersMethodRun
Run implements pipeline.Stage. The Detail mirrors the legacy rejection summary so diagnostics consumers can attribute "input turn count" and "permanen
memory/recall/internal/pipeline/write/stages/validate.go:47
↓ 4 callersMethodRun
Run implements pipeline.Stage. The Enqueue call is the scope-write-lock-bound durability boundary; remote queue backends MUST satisfy the §4.2 outbox
memory/recall/internal/pipeline/write/stages/write_semantic_outbox.go:39
↓ 4 callersMethodRun
Run implements pipeline.Stage.
memory/recall/internal/pipeline/write/stages/validity_close.go:62
↓ 4 callersMethodRun
(ctx context.Context, state *read.ReadState)
memory/recall/internal/pipeline/read/stages/candidate_fanout.go:32
↓ 4 callersMethodRun
(ctx context.Context, state *read.ReadState)
memory/recall/internal/pipeline/read/stages/candidate_expansion.go:34
↓ 4 callersMethodRun
Run implements [Stage]. See struct godoc for the contract.
memory/retrieval/pipeline/stages_entity_link.go:92
↓ 4 callersMethodRun
Run implements [Stage]. See struct godoc for the contract.
sdk/retrieval/pipeline/stages_entity_link.go:92
↓ 4 callersFunctionRunInfoFromAttributes
runinfo_attrs.go owns the contract between [Run] (which promotes per-call identity into [engine.Run.Attributes]) and downstream readers that need to r
sdk/agent/runinfo_attrs.go:46
↓ 4 callersMethodSave
(_ context.Context, node *SummaryNode)
memory/history/compactor_test.go:104
↓ 4 callersMethodSave
(_ context.Context, node *SummaryNode)
sdk/history/compactor_test.go:104
↓ 4 callersMethodSetSampleRate
SetSampleRate updates the sample rate and recalculates derived thresholds. Must be called before any audio is fed. Implements SampleRateAware.
voice/vad/vad.go:274
↓ 4 callersMethodSink
Sink returns the AudioSink that writes to the local audio track. Returns nil until Accept or Connect completes successfully.
voice/webrtc/transport.go:159
↓ 4 callersMethodSize
()
sdkx/workspace/objstore/workspace.go:294
↓ 4 callersFunctionSleepWithContext
SleepWithContext blocks for duration d or until ctx is cancelled.
voice/provider/executor.go:17
↓ 4 callersFunctionSplitQueryWords
SplitQueryWords returns raw surface words for query rewriting heuristics.
memory/recall/internal/words/query_surface.go:176
↓ 4 callersMethodStop
Stop shuts down the HTTP server gracefully. The supplied ctx deadline is the maximum time we wait for in-flight requests. Unix socket files are remove
cmd/vesseld/api/server.go:159
↓ 4 callersFunctionStripHiddenHTML
StripHiddenHTML removes hidden elements and non-text tags from HTML.
sdkx/extract/html/sanitize.go:40
↓ 4 callersMethodSuggestCheckpoint
()
sdk/engine/capabilities.go:150
↓ 4 callersMethodSummary
()
memory/recall/diagnostics/latency.go:41
↓ 4 callersMethodSupportsFilter
(f Filter)
sdk/retrieval/index.go:25
↓ 4 callersMethodText
Text is a convenience for the common "text only" iteration pattern. Returns the empty string when the current chunk has no text.
sdk/script/bindings/bridge_llm_round.go:231
↓ 4 callersFunctionTracer
Tracer returns a tracer scoped to the framework.
sdk/telemetry/telemetry.go:27
↓ 4 callersFunctionTracerWithSuffix
TracerWithSuffix returns a named sub-tracer (e.g. "flowcraft/store").
sdk/telemetry/telemetry.go:32
↓ 4 callersMethodUserScope
UserScope returns the V2 per-user namespace: <prefix>_<Sanitize(runtimeID)>__u<len>_<Sanitize(userID)>
sdk/retrieval/namespace/encode.go:18
↓ 4 callersFunctionValidateOutputs
ValidateOutputs checks that all required output ports have been written to the Board. Symmetric with ValidateInputsWithConfig: PortTypeMessages outpu
sdk/graph/port.go:80
↓ 4 callersFunctionValidation
(err error)
sdk/errdefs/errors.go:153
↓ 4 callersMethodVoices
(ctx context.Context)
voice/tts/tts.go:32
↓ 4 callersFunctionWalk
Walk recursively traverses the workspace tree rooted at dir, calling fn for each file and directory. Directories are visited before their contents.
sdk/workspace/helpers.go:49
↓ 4 callersFunctionWithBatchSize
WithBatchSize sets the per-scope claim limit for each drain pass.
memory/recall/ops/types.go:105
↓ 4 callersFunctionWithDenyRead
(patterns ...string)
sdk/workspace/scoped.go:30
↓ 4 callersFunctionWithDetectorClassifier
WithDetectorClassifier sets a Classifier for spectral speech/noise discrimination. When set, scores from the classifier are compared against the confi
voice/detect/energy.go:47
↓ 4 callersFunctionWithFallbackModel
WithFallbackModel sets the default model used when Resolve("") is called and no DefaultModelStore yields a result.
sdk/llm/resolver.go:138
↓ 4 callersFunctionWithFormat
WithFormat sets the output content format.
sdkx/extract/options.go:45
↓ 4 callersFunctionWithHost
(host string)
voice/stt/bytedance/bytedance.go:49
↓ 4 callersFunctionWithJSONMode
(on bool)
sdk/llm/option.go:129
↓ 4 callersFunctionWithJSONSchema
(schema JSONSchemaParam)
sdk/llm/option.go:133
↓ 4 callersFunctionWithMeterServiceName
(name string)
sdk/telemetry/meter.go:29
↓ 4 callersFunctionWithNoiseFloorMultiplier
WithNoiseFloorMultiplier sets the adaptive threshold as a multiple of the estimated noise-floor score (default 3.0). Ignored when a fixed threshold is
voice/vad/vad.go:55
↓ 4 callersFunctionWithPrefix
WithPrefix sets a key prefix for all operations, providing namespace isolation within a single bucket. The prefix should not have a leading slash but
sdkx/workspace/objstore/workspace.go:20
↓ 4 callersFunctionWithProducerID
WithProducerID injects the producer ID (e.g. agent ID) into the context.
sdk/kanban/kanban.go:23
↓ 4 callersMethodWithProviderName
WithProviderName overrides the OTel / metrics provider tag used by this LLM instance. Wrapping adapters (sdkx/llm/minimax) call this so each sub-provi
sdkx/llm/anthropic/anthropic.go:211
↓ 4 callersFunctionWithSampleRate
WithSampleRate configures the per-envelope keep probability when the subscription uses BackpressurePolicy Sample. Values are clamped to [0.0, 1.0]; va
sdk/event/bus.go:103
↓ 4 callersFunctionWithServiceName
(name string)
sdk/telemetry/trace.go:33
↓ 4 callersFunctionWithToolChoice
(choice ToolChoice)
sdk/llm/option.go:141
↓ 4 callersFunctionWorkspaceFromContext
WorkspaceFromContext extracts the per-run [workspace.Workspace] a Captain associated with the current agent.Run. Returns (nil, false) when ctx is not
vessel/session.go:69
↓ 4 callersFunctionWrap
Wrap returns retrieval.Index that records mutations to j after inner success. Capability projection (issue #157): the wrapper exposes ONLY the option
sdk/retrieval/journal/wrap.go:61
↓ 4 callersMethodWrite
(_ context.Context, path string, data []byte)
sdk/workspace/local.go:71
↓ 4 callersFunctionallocateSaveOutboxID
(state *write.WriteState)
memory/recall/side_effects.go:60
↓ 4 callersFunctionappendAutoMessage
(dst *strings.Builder, actor, text string, eventLog ...string)
cmd/claw/cli/auto.go:977
↓ 4 callersFunctionappendToolResult
appendToolResult is a convenience for emitting the per-call tool result message the LLM expects after issuing a tool call.
eval/taubench/taubench.go:889
↓ 4 callersMethodapplyAlias
(scope domain.Scope, mention string)
memory/recall/internal/ingest/entity_resolver.go:107
↓ 4 callersFunctionapplyAnchorsToSystem
applyAnchorsToSystem stamps cache_control on the system blocks selected by the plan. Mutates in place.
sdkx/llm/anthropic/cache.go:185
↓ 4 callersMethodapplyRoundEvent
(ev claw.Event)
cmd/claw/cli/tui_model.go:251
↓ 4 callersFunctionarchiveDir
(prefix, archivePrefix, convID string)
memory/history/archive.go:400
↓ 4 callersFunctionarchiveDir
(prefix, archivePrefix, convID string)
sdk/history/archive.go:400
↓ 4 callersFunctionasAnyList
asAnyList accepts the variants the bridge encounters in practice: - []any — what luart / jsrt deliver from script literals and from
sdk/script/bindings/llm_marshal.go:602
↓ 4 callersFunctionbaseName
baseName strips the file extension from name.
memory/knowledge/backend/fs/paths.go:156
↓ 4 callersFunctionbaseName
baseName strips the file extension from name.
sdk/knowledge/backend/fs/paths.go:159
↓ 4 callersFunctionbenchPublishHotSubject
benchPublishHotSubject is the hot-subject scenario the route cache is designed for: many subscriptions, but a small set of subjects publishes against.
sdk/event/memory_bench_test.go:17
↓ 4 callersFunctionbetterContextPackTieBreak
(a, b contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1247
↓ 4 callersFunctionbm25Scores
bm25Scores runs a Search and returns the per-doc BM25 lane score keyed by doc ID. Compares cleanly even when ties make rank order nondeterministic — t
memory/retrieval/workspace/read_test.go:558
↓ 4 callersFunctionbuildFleet
buildFleet is a small helper that goes from YAML to a launched Fleet, registering the supplied engine factory under "slow".
cmd/vesseld/fleet/fleet_extra_test.go:65
↓ 4 callersFunctionbuildResource
(ctx context.Context, serviceName, serviceVersion string)
sdk/telemetry/resource.go:10
↓ 4 callersFunctionbuildRetrievalIndex
(canonical, backend, dir string)
eval/locomo/cli.go:559
↓ 4 callersFunctionbyteIndexFrom
(s, substr string, start int)
memory/retrieval/bbh/gojieba.go:106
↓ 4 callersFunctionbyteIndexFrom
(s, substr string, start int)
sdk/retrieval/bbh/gojieba.go:106
↓ 4 callersFunctioncandidateExpansionSuggestionTokenSet
(item domain.ContextItem)
memory/recall/internal/pipeline/read/stages/candidate_expansion_suggestions.go:136
↓ 4 callersFunctioncanonicalNode
canonicalNode matches entity projection mention normalization.
memory/recall/internal/lens/graph/edges.go:147
↓ 4 callersFunctionchannelMessagesEqual
(a, b []model.Message)
sdk/graph/runner/internal/executor/merge.go:111
↓ 4 callersFunctionclaimBatch
(ctx context.Context, q *asyncsemantic.Queue, workerID string, now time.Time, max int)
memory/recall/async_semantic_save_test.go:60
↓ 4 callersFunctionclassifyAPIErrorWithProvider
(provider string, err error)
sdkx/llm/anthropic/classify.go:52
↓ 4 callersFunctioncleanSourceIDs
(ids []string)
memory/recall/internal/ingest/extractor_llm_two_pass.go:1371
↓ 4 callersMethodclearLatestPartial
()
voice/session_loop.go:671
↓ 4 callersMethodclose
()
voice/stt/bytedance/transport.go:34
↓ 4 callersFunctioncompactAnswerCue
(value string)
eval/locomo/runners/flowcraftv2/answer_context.go:631
↓ 4 callersFunctioncompactSnippet
(s string, max int)
eval/locomo/cli_analyze_recall.go:1201
↓ 4 callersMethodcompleteAsyncJob
(ctx context.Context, job port.AsyncSemanticJob, result port.AsyncSemanticResult)
memory/recall/async_semantic.go:339
← previousnext →1,501–1,600 of 13,468, ranked by callers