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
↓ 9 callers
Function
measure
(word string)
memory/text/stem/porter.go:191
↓ 9 callers
Function
measure
(word string)
sdk/textsearch/stemmer.go:166
↓ 9 callers
Function
newCaptureHook
()
memory/recall/internal/pipeline/pipeline_test.go:112
↓ 9 callers
Function
newHandle
newHandle is the internal constructor.
vessel/handle.go:60
↓ 9 callers
Function
newPipeline
newPipeline is the tiny helper that wires the trace appender and hook. Each test supplies its own stage list.
memory/recall/internal/pipeline/pipeline_test.go:125
↓ 9 callers
Function
newRunner
(t *testing.T, store port.TemporalStore, projs []port.Projection, ev port.EvidenceStore)
memory/recall/internal/pipeline/forget/stages/forget_all_test.go:138
↓ 9 callers
Function
newSessionPipeline
(transcript string)
voice/session_test.go:243
↓ 9 callers
Function
newTestVAD
newTestVAD creates an EnergyVAD with spectral disabled and tiny sample counts suitable for unit testing of segmentation logic.
voice/vad/vad_test.go:89
↓ 9 callers
Function
optionalDataRef
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:485
↓ 9 callers
Function
optionalString
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:634
↓ 9 callers
Function
promoteAgentTools
promoteAgentTools is the agent-level policy gate hand-off. When agent.Agent.Tools is set and the caller's Dependencies container does NOT already defi
sdk/agent/run.go:403
↓ 9 callers
Function
publishGraphEvent
publishGraphEvent fires-and-forgets a run-level envelope. Headers carry the well-known IDs that callers may need for predicate filtering when subject
sdk/graph/runner/internal/executor/subjects.go:104
↓ 9 callers
Function
publishStepLifecycle
(t *testing.T, bus event.Bus, runID, nodeID, agentID, kind string, payload any)
sdk/graph/node/scriptnode/bridge_stream_test.go:819
↓ 9 callers
Function
queueDepth
queueDepth peeks into the in-memory queue by claiming and then silently dropping the claimed jobs. Tests that need to assert "no enqueue happened" use
memory/recall/async_semantic_save_test.go:76
↓ 9 callers
Method
refreshViewport
()
examples/voice-pipeline/tui.go:268
↓ 9 callers
Function
relativeMatch
(m phrase.Matcher, raw string)
memory/text/timex/relative.go:89
↓ 9 callers
Method
resolve
resolve converts a workspace-relative path into an object key with prefix.
sdkx/workspace/objstore/workspace.go:239
↓ 9 callers
Function
rootedWorkspace
(t *testing.T, root string)
memory/retrieval/bbh/index_test.go:809
↓ 9 callers
Function
sendRoundEvent
(ctx context.Context, events chan<- Event, ev Event)
sdkx/claw/roundtrip.go:199
↓ 9 callers
Method
snapshot
()
sdk/telemetry/run_summary_test.go:33
↓ 9 callers
Function
temporalStoreForTest
(t testing.TB, newStore TemporalStoreFactory)
memory/recall/recalltest/store.go:351
↓ 9 callers
Method
transitionPhaseLocked
transitionPhaseLocked records the new phase and emits the bus envelope. Callers MUST hold c.mu. Two side-effects bake the captain-level restart count
vessel/captain.go:849
↓ 9 callers
Function
waitCard
--------------------------------------------------------------------------- Channel / event helpers --------------------------------------------------
sdk/kanban/helpers_test.go:86
↓ 9 callers
Function
writeDebugJSON
(w http.ResponseWriter, status int, v any)
sdkx/claw/debug_server.go:379
↓ 9 callers
Function
writeIndent
(b *strings.Builder, indent int)
eval/locomo/runners/flowcraftv2/answer_context.go:858
↓ 8 callers
Method
AskUser
(ctx context.Context, prompt UserPrompt)
sdk/engine/host.go:79
↓ 8 callers
Method
Assemble
Assemble constructs the context window from summaries + recent messages.
memory/history/compactor.go:1122
↓ 8 callers
Method
Assemble
Assemble constructs the context window from summaries + recent messages.
sdk/history/compactor.go:1122
↓ 8 callers
Function
Build
Build constructs every Captain declared in the plan, in plan order. Each Captain gets its own event.Bus so log subscribers can scope by vessel; the da
cmd/vesseld/fleet/fleet.go:89
↓ 8 callers
Method
Canonical
Canonical implements port.AliasResolver. Resolution falls back through progressively-broader scopes: full -> drop AgentID -> drop UserID -> runtime-on
memory/recall/internal/ingest/alias.go:62
↓ 8 callers
Method
Close
Close stops Run and the underlying notifier. In the normal (non-nil target & notifier) configuration Close blocks until Run has actually returned, so
memory/knowledge/reloader.go:241
↓ 8 callers
Method
Close
Close stops Run and the underlying notifier. In the normal (non-nil target & notifier) configuration Close blocks until Run has actually returned, so
sdk/knowledge/reloader.go:241
↓ 8 callers
Function
CompileCondition
CompileCondition compiles a raw expression string into a reusable program.
sdk/graph/condition.go:19
↓ 8 callers
Method
Delete
(ctx context.Context, path string)
sdk/workspace/workspace.go:34
↓ 8 callers
Function
EntryMatchesScope
EntryMatchesScope reports whether e satisfies the persistence and partition filters in query. Nil query matches all entries (used by legacy/uncoped pa
sdk/recall/entry.go:200
↓ 8 callers
Method
Error
()
sdk/recall/write_pipeline.go:97
↓ 8 callers
Method
FeedPlayback
(f audio.Frame)
voice/detect/echo.go:81
↓ 8 callers
Function
FeedbackBoost
FeedbackBoost returns the score multiplier derived from fact feedback fields for fusion / rank. The boost math stays here because fusion and rank are
memory/recall/internal/evolution/reinforce.go:10
↓ 8 callers
Method
ForgetAll
(ctx context.Context, scope Scope, mode ForgetMode, confirmScopeKey string)
memory/recall/memory.go:63
↓ 8 callers
Method
ForgetRequired
ForgetRequired runs required forgets synchronously. First failure short-circuits with an error. Callers must hold the canonical fact snapshot if they
memory/recall/internal/pipeline/fanout.go:189
↓ 8 callers
Function
FuncTool
FuncTool wraps a plain function as a Tool.
sdk/tool/tool.go:26
↓ 8 callers
Method
History
History implements Journal.
memory/retrieval/journal/memory_journal.go:45
↓ 8 callers
Function
IsRetryable
(err error)
voice/provider/fallback.go:125
↓ 8 callers
Method
IsTimeout
()
sdk/errdefs/errors.go:47
↓ 8 callers
Method
Lease
(ctx context.Context, now time.Time)
sdk/recall/jobs.go:78
↓ 8 callers
Method
Lineage
Lineage returns the full revision DAG rooted at factID — the set of facts reachable via Supersedes / CorrectedBy / Revision.SourceFactID edges, classi
memory/recall/memory.go:85
↓ 8 callers
Method
ListDatasets
(ctx context.Context)
sdk/knowledge/repo.go:23
↓ 8 callers
Method
LogsStream
(t *testing.T, ctx context.Context, vessel string, runID string)
tests/e2e/vesseld/helpers/api.go:193
↓ 8 callers
Method
Mode
()
sdk/workspace/mem.go:308
↓ 8 callers
Function
New
(model, apiKey, baseURL string, extraOpts ...option.RequestOption)
sdkx/llm/openai/responses/responses.go:34
↓ 8 callers
Function
New
New returns an empty profile projection.
memory/recall/internal/lens/profile/projection.go:36
↓ 8 callers
Function
New
New constructs an Index rooted directly in a local workspace. BBH accepts the Workspace interface so callers can share the same constructor shape as
memory/retrieval/bbh/index.go:81
↓ 8 callers
Function
New
New creates a Kanban instance.
sdk/kanban/kanban.go:107
↓ 8 callers
Function
New
New constructs an Index rooted directly in a local workspace. BBH accepts the Workspace interface so callers can share the same constructor shape as
sdk/retrieval/bbh/index.go:83
↓ 8 callers
Function
NewBoard
NewBoard creates a scope-scoped board with a persistent event Bus.
sdk/kanban/board.go:125
↓ 8 callers
Function
NewFileCheckpointStore
NewFileCheckpointStore creates a file-based checkpoint store.
sdk/graph/runner/internal/executor/checkpoint.go:94
↓ 8 callers
Function
NewInspector
NewInspector opens an offline, read-only inspector rooted at a BBH workspace. It opens Badger with a read-only lock, so it cannot inspect a workspace
memory/retrieval/bbh/inspector.go:73
↓ 8 callers
Function
NewMockHost
NewMockHost returns a ready-to-use MockHost. The interrupt channel is buffered so [MockHost.Interrupt] never blocks the test goroutine when the engine
sdk/engine/enginetest/mock_host.go:46
↓ 8 callers
Method
Open
Open returns (or creates) the in-memory workspace for runID. The runID is treated as an opaque key — no path validation is applied because no filesyst
vessel/session.go:109
↓ 8 callers
Function
PayloadMap
PayloadMap safely converts a Card.Payload to map[string]any. After Done(), Payload is map[string]any (direct assertion). Before Done() (Pending/Claime
sdk/kanban/callback.go:116
↓ 8 callers
Method
ProjectOptional
ProjectOptional runs optional projections best-effort. Failures only emit telemetry; the call always returns nil.
memory/recall/internal/pipeline/fanout.go:177
↓ 8 callers
Method
Provider
Provider returns the OTel / metrics tag used by this instance. Mostly a debugging aid; exported so eval drivers and observability dashboards can intro
sdkx/llm/anthropic/anthropic.go:221
↓ 8 callers
Method
Readiness
(ctx context.Context, scope Scope, opts ReadinessOptions)
memory/recall/readiness.go:22
↓ 8 callers
Method
Recall
(ctx context.Context, scope Scope, query string, topK int)
eval/locomo/runners/runner.go:91
↓ 8 callers
Method
Register
(name string, factory ProviderFactory)
sdk/embedding/factory.go:23
↓ 8 callers
Method
RunAudioStream
RunAudioStream processes streaming audio input. Requires a non-nil STT provider.
voice/pipeline.go:268
↓ 8 callers
Function
Sanitize
Sanitize maps an arbitrary user/runtime/dataset token into the retrieval namespace alphabet accepted by all in-tree backends.
memory/retrieval/namespace/sanitize.go:5
↓ 8 callers
Function
Sanitize
Sanitize maps an arbitrary user/runtime/dataset token into the retrieval namespace alphabet accepted by all in-tree backends.
sdk/retrieval/namespace/sanitize.go:5
↓ 8 callers
Method
SaveAsync
SaveAsync enqueues extraction on the configured JobQueue and returns immediately.
sdk/recall/memory.go:41
↓ 8 callers
Method
SetFallback
SetFallback installs a builder that handles every node type for which no explicit builder is registered. Pass nil to clear.
sdk/graph/node/factory.go:62
↓ 8 callers
Method
String
String returns the canonical name of the Consistency level.
memory/recall/internal/port/projection.go:24
↓ 8 callers
Method
Synthesize
(ctx context.Context, text string, opts ...TTSOption)
voice/tts/tts.go:31
↓ 8 callers
Function
WithFinalSamples
(n int)
voice/vad/vad.go:43
↓ 8 callers
Function
WithHost
WithHost installs the engine.Host the executor will hand to nodes via ExecutionContext.Host. When omitted the executor falls back to engine.NoopHost{}
sdk/graph/runner/internal/executor/executor.go:228
↓ 8 callers
Method
WithProviderName
WithProviderName overrides the OTel / metrics provider tag used by this LLM instance. Wrapping adapters (sdkx/llm/azure, deepseek, qwen, ...) call thi
sdkx/llm/openai/chat/openai.go:70
↓ 8 callers
Function
WithResolver
(r VariableResolver)
sdk/graph/runner/internal/executor/executor.go:255
↓ 8 callers
Function
WithSilenceSamples
(n int)
voice/vad/vad.go:40
↓ 8 callers
Function
agentIDFor
agentIDFor resolves the agent.id the executor stamps onto every published envelope (HeaderAgentID) and uses as the prefix of the step subject segment
sdk/graph/runner/internal/executor/executor.go:69
↓ 8 callers
Function
asStringMap
--------------------------------------------------------------------------- Generic helpers — keep validation loops short and consistent. ------------
sdk/script/bindings/llm_marshal.go:581
↓ 8 callers
Function
assertStrictJSONSchema
(t *testing.T, name string, schema string)
memory/recall/internal/ingest/extractor_test.go:65
↓ 8 callers
Function
boolPtr
(v bool)
sdk/kanban/scheduler_test.go:24
↓ 8 callers
Function
calendarRangeText
(text string, loc []int)
memory/text/timex/calendar_range.go:261
↓ 8 callers
Function
categoryLabel
categoryLabel returns the stable short token attached to per-category metrics and log records ("rate_limit" / "auth" / "billing" / "context_overflow"
sdk/llm/fallback.go:113
↓ 8 callers
Function
checkCurrentDelta
(t *testing.T, cur map[string]any, want map[string]any)
sdk/graph/node/scriptnode/bridge_stream_test.go:853
↓ 8 callers
Method
checkWrite
(ctx context.Context, path string)
sdk/workspace/scoped.go:180
↓ 8 callers
Function
cloneDoc
cloneDoc deep-copies the parts a Search hit should not share with the index's internal storage (slices and maps).
memory/retrieval/workspace/read.go:317
↓ 8 callers
Function
contextItemSnapshots
(items []domain.ContextItem)
memory/recall/internal/pipeline/read/stages/audit_snapshots.go:43
↓ 8 callers
Function
contextPackAnySelected
(selected []contextPackCandidate, pred func(contextPackCandidate) bool)
memory/recall/internal/pipeline/read/stages/context_packer.go:1223
↓ 8 callers
Function
contextPackCoverageGain
(query contextPackQueryFeatures, cand contextPackCandidate, covered map[string]struct{})
memory/recall/internal/pipeline/read/stages/context_packer.go:1203
↓ 8 callers
Function
contextPackUtility
(cand contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1243
↓ 8 callers
Method
currentTurnEvent
(ev Event)
voice/session_loop.go:553
↓ 8 callers
Function
defaultOpts
(maxTokens int64)
tests/conformance/llm/provider_test.go:52
↓ 8 callers
Function
docsFor
docsFor builds a small canned corpus shared across read tests.
memory/retrieval/workspace/read_test.go:13
↓ 8 callers
Function
execCtx
()
sdk/graph/node/llmnode/exec_test.go:87
↓ 8 callers
Function
hasPair
(args []string, key, value string)
sdkx/sandbox/nsjail/flags_test.go:284
↓ 8 callers
Function
isConsonant
(word string, i int)
memory/text/stem/porter.go:175
↓ 8 callers
Function
isConsonant
(word string, i int)
sdk/textsearch/stemmer.go:150
↓ 8 callers
Method
load
(ctx context.Context, contextID string)
sdkx/claw/history.go:48
↓ 8 callers
Function
makeJob
(requestID, user string, episodeIDs ...string)
memory/recall/internal/store/asyncsemantic/helpers_test.go:19
↓ 8 callers
Function
min
(a, b int)
sdk/retrieval/bbh/index.go:1000
← previous
next →
701–800 of 13,468, ranked by callers