Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GizClaw/flowcraft
/ functions
Functions
13,468 in github.com/GizClaw/flowcraft
⨍
Functions
13,468
◇
Types & classes
2,684
↓ 4 callers
Function
NormalizePolarity
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 callers
Function
NotFound
(err error)
sdk/errdefs/errors.go:149
↓ 4 callers
Function
NotFoundf
(format string, args ...any)
sdk/errdefs/errors.go:210
↓ 4 callers
Method
OnEmit
(_ context.Context, r *sdklog.Record)
sdk/telemetry/log_test.go:186
↓ 4 callers
Function
PolicyDeniedf
(format string, args ...any)
sdk/errdefs/errors.go:230
↓ 4 callers
Function
Porter
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 callers
Method
PrimarySubScope
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 callers
Function
ProviderCategoryFromHTTPCode
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 callers
Method
Read
(ctx context.Context, path string)
sdk/workspace/scoped.go:66
↓ 4 callers
Method
RebuildDocIndex
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 callers
Method
RebuildDocIndex
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 callers
Method
RebuildProjection
(ctx context.Context, scope Scope, name string)
memory/recall/rebuild.go:35
↓ 4 callers
Method
RebuildRequired
RebuildRequired rebuilds required projections from the supplied snapshot. Same short-circuit semantics as ProjectRequired.
memory/recall/internal/pipeline/fanout.go:210
↓ 4 callers
Method
Recall
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 callers
Method
Recall
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 callers
Method
ReconcileAsyncSemantic
(ctx context.Context, scope Scope, opts AsyncSemanticReconcileOptions)
memory/recall/reconcile.go:22
↓ 4 callers
Method
ReconcileScopes
(ctx context.Context, scopes []Scope, opts ReconcileOptions)
memory/recall/reconcile.go:24
↓ 4 callers
Method
ReconcileSideEffects
(ctx context.Context, scope Scope, opts SideEffectReconcileOptions)
memory/recall/reconcile.go:23
↓ 4 callers
Method
RemoveDocument
RemoveDocument updates corpus statistics when a document is removed.
memory/text/bm25/corpus.go:44
↓ 4 callers
Method
RemoveDocument
RemoveDocument updates corpus statistics when a document is removed.
sdk/textsearch/bm25.go:34
↓ 4 callers
Method
ReopenValidity
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 callers
Method
Resolve
(f domain.TemporalFact, now time.Time)
memory/recall/internal/port/ingest.go:111
↓ 4 callers
Method
Rewrite
(ctx context.Context, convID string, nodes []*SummaryNode)
sdk/history/summary_store.go:59
↓ 4 callers
Method
Run
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 callers
Method
Run
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 callers
Method
Run
Run implements pipeline.Stage.
memory/recall/internal/pipeline/write/stages/validity_close.go:62
↓ 4 callers
Method
Run
(ctx context.Context, state *read.ReadState)
memory/recall/internal/pipeline/read/stages/candidate_fanout.go:32
↓ 4 callers
Method
Run
(ctx context.Context, state *read.ReadState)
memory/recall/internal/pipeline/read/stages/candidate_expansion.go:34
↓ 4 callers
Method
Run
Run implements [Stage]. See struct godoc for the contract.
memory/retrieval/pipeline/stages_entity_link.go:92
↓ 4 callers
Method
Run
Run implements [Stage]. See struct godoc for the contract.
sdk/retrieval/pipeline/stages_entity_link.go:92
↓ 4 callers
Function
RunInfoFromAttributes
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 callers
Method
Save
(_ context.Context, node *SummaryNode)
memory/history/compactor_test.go:104
↓ 4 callers
Method
Save
(_ context.Context, node *SummaryNode)
sdk/history/compactor_test.go:104
↓ 4 callers
Method
SetSampleRate
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 callers
Method
Sink
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 callers
Method
Size
()
sdkx/workspace/objstore/workspace.go:294
↓ 4 callers
Function
SleepWithContext
SleepWithContext blocks for duration d or until ctx is cancelled.
voice/provider/executor.go:17
↓ 4 callers
Function
SplitQueryWords
SplitQueryWords returns raw surface words for query rewriting heuristics.
memory/recall/internal/words/query_surface.go:176
↓ 4 callers
Method
Stop
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 callers
Function
StripHiddenHTML
StripHiddenHTML removes hidden elements and non-text tags from HTML.
sdkx/extract/html/sanitize.go:40
↓ 4 callers
Method
SuggestCheckpoint
()
sdk/engine/capabilities.go:150
↓ 4 callers
Method
Summary
()
memory/recall/diagnostics/latency.go:41
↓ 4 callers
Method
SupportsFilter
(f Filter)
sdk/retrieval/index.go:25
↓ 4 callers
Method
Text
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 callers
Function
Tracer
Tracer returns a tracer scoped to the framework.
sdk/telemetry/telemetry.go:27
↓ 4 callers
Function
TracerWithSuffix
TracerWithSuffix returns a named sub-tracer (e.g. "flowcraft/store").
sdk/telemetry/telemetry.go:32
↓ 4 callers
Method
UserScope
UserScope returns the V2 per-user namespace: <prefix>_<Sanitize(runtimeID)>__u<len>_<Sanitize(userID)>
sdk/retrieval/namespace/encode.go:18
↓ 4 callers
Function
ValidateOutputs
ValidateOutputs checks that all required output ports have been written to the Board. Symmetric with ValidateInputsWithConfig: PortTypeMessages outpu
sdk/graph/port.go:80
↓ 4 callers
Function
Validation
(err error)
sdk/errdefs/errors.go:153
↓ 4 callers
Method
Voices
(ctx context.Context)
voice/tts/tts.go:32
↓ 4 callers
Function
Walk
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 callers
Function
WithBatchSize
WithBatchSize sets the per-scope claim limit for each drain pass.
memory/recall/ops/types.go:105
↓ 4 callers
Function
WithDenyRead
(patterns ...string)
sdk/workspace/scoped.go:30
↓ 4 callers
Function
WithDetectorClassifier
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 callers
Function
WithFallbackModel
WithFallbackModel sets the default model used when Resolve("") is called and no DefaultModelStore yields a result.
sdk/llm/resolver.go:138
↓ 4 callers
Function
WithFormat
WithFormat sets the output content format.
sdkx/extract/options.go:45
↓ 4 callers
Function
WithHost
(host string)
voice/stt/bytedance/bytedance.go:49
↓ 4 callers
Function
WithJSONMode
(on bool)
sdk/llm/option.go:129
↓ 4 callers
Function
WithJSONSchema
(schema JSONSchemaParam)
sdk/llm/option.go:133
↓ 4 callers
Function
WithMeterServiceName
(name string)
sdk/telemetry/meter.go:29
↓ 4 callers
Function
WithNoiseFloorMultiplier
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 callers
Function
WithPrefix
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 callers
Function
WithProducerID
WithProducerID injects the producer ID (e.g. agent ID) into the context.
sdk/kanban/kanban.go:23
↓ 4 callers
Method
WithProviderName
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 callers
Function
WithSampleRate
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 callers
Function
WithServiceName
(name string)
sdk/telemetry/trace.go:33
↓ 4 callers
Function
WithToolChoice
(choice ToolChoice)
sdk/llm/option.go:141
↓ 4 callers
Function
WorkspaceFromContext
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 callers
Function
Wrap
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 callers
Method
Write
(_ context.Context, path string, data []byte)
sdk/workspace/local.go:71
↓ 4 callers
Function
allocateSaveOutboxID
(state *write.WriteState)
memory/recall/side_effects.go:60
↓ 4 callers
Function
appendAutoMessage
(dst *strings.Builder, actor, text string, eventLog ...string)
cmd/claw/cli/auto.go:977
↓ 4 callers
Function
appendToolResult
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 callers
Method
applyAlias
(scope domain.Scope, mention string)
memory/recall/internal/ingest/entity_resolver.go:107
↓ 4 callers
Function
applyAnchorsToSystem
applyAnchorsToSystem stamps cache_control on the system blocks selected by the plan. Mutates in place.
sdkx/llm/anthropic/cache.go:185
↓ 4 callers
Method
applyRoundEvent
(ev claw.Event)
cmd/claw/cli/tui_model.go:251
↓ 4 callers
Function
archiveDir
(prefix, archivePrefix, convID string)
memory/history/archive.go:400
↓ 4 callers
Function
archiveDir
(prefix, archivePrefix, convID string)
sdk/history/archive.go:400
↓ 4 callers
Function
asAnyList
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 callers
Function
baseName
baseName strips the file extension from name.
memory/knowledge/backend/fs/paths.go:156
↓ 4 callers
Function
baseName
baseName strips the file extension from name.
sdk/knowledge/backend/fs/paths.go:159
↓ 4 callers
Function
benchPublishHotSubject
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 callers
Function
betterContextPackTieBreak
(a, b contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1247
↓ 4 callers
Function
bm25Scores
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 callers
Function
buildFleet
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 callers
Function
buildResource
(ctx context.Context, serviceName, serviceVersion string)
sdk/telemetry/resource.go:10
↓ 4 callers
Function
buildRetrievalIndex
(canonical, backend, dir string)
eval/locomo/cli.go:559
↓ 4 callers
Function
byteIndexFrom
(s, substr string, start int)
memory/retrieval/bbh/gojieba.go:106
↓ 4 callers
Function
byteIndexFrom
(s, substr string, start int)
sdk/retrieval/bbh/gojieba.go:106
↓ 4 callers
Function
candidateExpansionSuggestionTokenSet
(item domain.ContextItem)
memory/recall/internal/pipeline/read/stages/candidate_expansion_suggestions.go:136
↓ 4 callers
Function
canonicalNode
canonicalNode matches entity projection mention normalization.
memory/recall/internal/lens/graph/edges.go:147
↓ 4 callers
Function
channelMessagesEqual
(a, b []model.Message)
sdk/graph/runner/internal/executor/merge.go:111
↓ 4 callers
Function
claimBatch
(ctx context.Context, q *asyncsemantic.Queue, workerID string, now time.Time, max int)
memory/recall/async_semantic_save_test.go:60
↓ 4 callers
Function
classifyAPIErrorWithProvider
(provider string, err error)
sdkx/llm/anthropic/classify.go:52
↓ 4 callers
Function
cleanSourceIDs
(ids []string)
memory/recall/internal/ingest/extractor_llm_two_pass.go:1371
↓ 4 callers
Method
clearLatestPartial
()
voice/session_loop.go:671
↓ 4 callers
Method
close
()
voice/stt/bytedance/transport.go:34
↓ 4 callers
Function
compactAnswerCue
(value string)
eval/locomo/runners/flowcraftv2/answer_context.go:631
↓ 4 callers
Function
compactSnippet
(s string, max int)
eval/locomo/cli_analyze_recall.go:1201
↓ 4 callers
Method
completeAsyncJob
(ctx context.Context, job port.AsyncSemanticJob, result port.AsyncSemanticResult)
memory/recall/async_semantic.go:339
← previous
next →
1,501–1,600 of 13,468, ranked by callers