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
↓ 10 callers
Method
Score
(f domain.TemporalFact)
memory/recall/internal/port/ingest.go:117
↓ 10 callers
Function
ScoreText
ScoreText computes BM25 for arbitrary text content.
sdk/textsearch/bm25.go:61
↓ 10 callers
Method
SetAgentID
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 callers
Method
SetRunID
SetRunID is a typed shorthand for SetHeader(HeaderRunID, id).
sdk/event/envelope.go:167
↓ 10 callers
Method
Size
()
sdk/workspace/mem.go:304
↓ 10 callers
Method
SpanContext
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 callers
Function
WithAppID
(id string)
voice/stt/bytedance/bytedance.go:47
↓ 10 callers
Function
WithBinary
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 callers
Function
WithBreakerCooldown
WithBreakerCooldown sets the duration before a tripped breaker enters half-open state.
sdk/llm/fallback.go:172
↓ 10 callers
Function
WithDetectorInterruptThreshold
WithDetectorInterruptThreshold sets the barge-in threshold (before boost). Default: 0.015 (RMS) or 0.55 (classifier).
voice/detect/energy.go:23
↓ 10 callers
Function
WithTelemetryHook
WithTelemetryHook installs a telemetry observer for projection fanout, drift detection, and high-level Save/Recall pipeline stages.
memory/recall/options.go:315
↓ 10 callers
Method
Write
(_ context.Context, path string, data []byte)
sdk/workspace/mem.go:49
↓ 10 callers
Method
WriteSample
(s media.Sample)
voice/webrtc/sink.go:32
↓ 10 callers
Function
checkCurrentEvent
(t *testing.T, cur map[string]any, want map[string]any)
sdk/graph/node/scriptnode/bridge_stream_test.go:863
↓ 10 callers
Method
contextID
()
sdkx/claw/state.go:79
↓ 10 callers
Function
equalStrings
(a, b []string)
memory/recall/internal/lens/entity/projection_test.go:153
↓ 10 callers
Function
genPair
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 callers
Method
holdWriteTelemetry
()
memory/recall/scope_generation.go:47
↓ 10 callers
Function
listDocsNamespace
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 callers
Function
listDocsNamespace
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 callers
Function
makeRecord
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 callers
Function
mustConvertMessages
(t *testing.T, msgs []llm.Message)
sdkx/llm/ollama/ollama_test.go:15
↓ 10 callers
Function
newEntityStore
(t *testing.T, capN int)
sdk/recall/entity_store_test.go:28
↓ 10 callers
Function
newFakeAudioSource
(frames []audio.Frame, ctx context.Context)
voice/session_test.go:50
↓ 10 callers
Function
newIntegrationRunner
(t *testing.T)
sdkx/sandbox/nsjail/integration_linux_test.go:36
↓ 10 callers
Function
newTestEmbedder
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 callers
Function
optionalFileRef
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:458
↓ 10 callers
Function
optionalMediaRef
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:431
↓ 10 callers
Function
pb
(v bool)
sdk/script/bindings/bridge_llm_test.go:12
↓ 10 callers
Function
pickFinalish
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 callers
Function
pickFinalish
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 callers
Function
publicSaveTrace
publicSaveTrace copies the in-flight domain.SaveTrace (when explain was requested) into the public SaveTrace surface.
memory/recall/memory.go:604
↓ 10 callers
Function
readWithTimeout
(s audio.Stream[audio.Frame], ctx context.Context)
voice/webrtc/transport_test.go:162
↓ 10 callers
Method
rememberNamespace
(ctx context.Context, ns string)
sdk/recall/memory.go:1091
↓ 10 callers
Function
safeToken
(s string)
memory/retrieval/bbh/index.go:310
↓ 10 callers
Function
segmentDirs
segmentDirs returns the names of segment directories on disk.
memory/retrieval/workspace/compaction_test.go:40
↓ 10 callers
Function
snapshotsEnabled
(state *read.ReadState)
memory/recall/internal/pipeline/read/stages/audit_snapshots.go:9
↓ 10 callers
Function
sortedKeys
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 callers
Method
warmNamespace
(ctx context.Context, namespace string)
memory/retrieval/journal/wrap.go:323
↓ 10 callers
Function
writeKV
(b *strings.Builder, indent int, key, value string)
eval/locomo/runners/flowcraft/answer_context.go:87
↓ 9 callers
Method
AsyncSemanticQueueStats
(ctx context.Context, scope Scope)
memory/recall/async_semantic.go:60
↓ 9 callers
Function
AttachRevision
AttachRevision stores a revision annotation on f.Metadata. It does not mutate unrelated keys.
memory/recall/internal/domain/revision.go:29
↓ 9 callers
Function
Build
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 callers
Function
BuildSummaryIndex
===== 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 callers
Function
BuildSummaryIndex
===== 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 callers
Method
EmbedBatch
(ctx context.Context, texts []string)
sdk/embedding/embedding.go:23
↓ 9 callers
Function
EmitStreamDelta
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 callers
Method
ExecuteAll
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 callers
Method
Feed
(chunk []byte)
voice/vad/vad.go:180
↓ 9 callers
Method
Finish
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 callers
Method
GenerateStream
(ctx context.Context, messages []Message, opts ...GenerateOption)
sdk/llm/fallback.go:280
↓ 9 callers
Function
InitLog
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 callers
Method
IsDir
()
sdkx/workspace/objstore/workspace.go:279
↓ 9 callers
Method
Len
Len returns the number of stored conversations (useful for testing/monitoring).
memory/history/store.go:221
↓ 9 callers
Method
Len
Len returns the number of stored conversations (useful for testing/monitoring).
sdk/history/store.go:221
↓ 9 callers
Method
ListByFact
ListByFact returns refs in append order.
memory/recall/internal/port/store.go:129
↓ 9 callers
Function
New
New returns an empty entity projection.
memory/recall/internal/lens/entity/projection.go:47
↓ 9 callers
Function
NewBuffer
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 callers
Function
NewBuffer
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 callers
Function
NewEventReloader
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 callers
Function
NewEventReloader
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 callers
Function
NewPlainTextExporter
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 callers
Function
NewReconciler
NewReconciler returns the multi-scope operator API when mem is this package's Memory implementation.
memory/recall/reconcile.go:151
↓ 9 callers
Function
NewScopedWorkspace
(inner Workspace, opts ...ScopedOption)
sdk/workspace/scoped.go:46
↓ 9 callers
Function
NewSegmenter
NewSegmenter creates a new Segmenter.
voice/tts/segmenter.go:45
↓ 9 callers
Function
NewSemanticSilenceDecider
NewSemanticSilenceDecider creates a decider that reduces the silence threshold when the partial transcript appears sentence-complete. silenceDuration
voice/endpoint/semantic.go:46
↓ 9 callers
Method
NodeID
NodeID returns the value of the well-known node_id header.
sdk/event/envelope.go:176
↓ 9 callers
Method
NotFound
()
sdk/errdefs/errors.go:41
↓ 9 callers
Method
OnRunStart
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 callers
Method
Phase
Phase fetches GET /v1/vessels/{id}/phase and returns the parsed phase string. Test-friendly wrapper.
tests/e2e/vesseld/helpers/api.go:298
↓ 9 callers
Function
Property
Property creates a simple typed property definition.
sdk/tool/schema.go:12
↓ 9 callers
Method
Publish
(ctx context.Context, env event.Envelope)
sdk/engine/host.go:48
↓ 9 callers
Function
RecordRunSummary
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 callers
Method
Register
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 callers
Method
ResolveMap
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 callers
Method
Run
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 callers
Method
Run
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 callers
Method
Set
(v int32)
memory/history/coordinator_test.go:669
↓ 9 callers
Method
WaitRun
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 callers
Function
WithEngineFactory
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 callers
Function
WithLLMExtractor
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 callers
Function
WithRunID
WithRunID sets the run identifier the executor uses in telemetry and event subjects.
sdk/graph/runner/internal/executor/executor.go:204
↓ 9 callers
Function
WithSpeechOnset
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 callers
Function
WithVADThreshold
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 callers
Function
asyncSemanticQueueForTest
(t testing.TB, newQueue AsyncSemanticQueueFactory)
memory/recall/recalltest/async_semantic.go:279
↓ 9 callers
Function
buildFlags
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 callers
Function
cleanExtractedEntity
(s string)
memory/recall/internal/ingest/extractor_llm.go:1301
↓ 9 callers
Function
contains
(values []string, needle string)
cmd/claw/cli/cli_test.go:300
↓ 9 callers
Function
contextPackCoveredQueryTokens
(query contextPackQueryFeatures, selected []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1187
↓ 9 callers
Function
delta
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 callers
Function
drainEvents
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 callers
Function
dumpEvents
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 callers
Method
emitAsyncProcessStage
( job port.AsyncSemanticJob, detail diagnostic.AsyncSemanticProcessDetail, status diagnostic.Status, errMs
memory/recall/async_semantic.go:296
↓ 9 callers
Method
ensureNamespace
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 callers
Function
fakeNsjail
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 callers
Function
fenceCheck
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 callers
Method
finalize
------------------------------------------------------------------- Post-processing helpers ----------------------------------------------------------
sdkx/extract/default.go:336
↓ 9 callers
Function
firstNonEmpty
(values ...string)
cmd/claw/cli/auto.go:722
↓ 9 callers
Function
floatPtr
(f float64)
sdk/llm/spec_test.go:116
↓ 9 callers
Function
installMemTracer
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
← previous
next →
601–700 of 13,468, ranked by callers