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
↓ 12 callers
Method
fire
fire submits a scheduled task card, skipping if a previous card is still active. It propagates a fresh scheduler-rooted trace span so submitted tasks
sdk/kanban/scheduler.go:263
↓ 12 callers
Function
firstNonEmpty
(values ...string)
sdkx/claw/memory.go:871
↓ 12 callers
Function
flushedIdx
flushedIdx builds an index, ingests the canned corpus, and flushes so the read path exercises segment reads (not memtable).
memory/retrieval/workspace/read_test.go:40
↓ 12 callers
Function
llmEnv
llmEnv assembles a script.Env that exposes only the "llm" global, backed by the supplied resolver / registry. Mirrors the minimal wiring a host would
sdk/script/bindings/bridge_llm_facade_test.go:27
↓ 12 callers
Function
makeSineWave
makeSineWave generates a PCM16 sine wave at the given frequency and amplitude (0-32767), useful for testing spectral features.
voice/vad/vad_test.go:64
↓ 12 callers
Function
newTranscriptEvent
(eventType EventType, r stt.STTResult, revision int)
voice/pipeline.go:341
↓ 12 callers
Function
sampleFacts
()
memory/recall/internal/pipeline/fanout_test.go:49
↓ 12 callers
Function
snapshotValue
(in *[]diagnostic.CandidateSnapshot)
memory/recall/diagnostics/stage_audit.go:98
↓ 12 callers
Function
validationf
(format string, args ...any)
memory/recall/ops/types.go:232
↓ 11 callers
Method
AgentID
AgentID returns the producer's agent identifier. It prefers HeaderAgentID (the post-v0.4 canonical key) and falls back to the legacy HeaderActorID so
sdk/event/envelope.go:195
↓ 11 callers
Method
Bus
Bus returns the persistent event Bus bound to the board.
sdk/kanban/board.go:143
↓ 11 callers
Method
Cancel
Cancel removes a previously enqueued job by RequestID. It backs the write_semantic_outbox Compensator when a downstream stage (structured facts) fails
memory/recall/internal/port/async_semantic.go:29
↓ 11 callers
Method
Checkpoint
(ctx context.Context, cp Checkpoint)
sdk/engine/host.go:90
↓ 11 callers
Function
ComputePromptCacheKey
ComputePromptCacheKey returns a deterministic 16-hex-char routing hint derived from stable request inputs.
sdkx/llm/openai/shared/cache.go:15
↓ 11 callers
Method
Detect
Detect checks whether the frame constitutes a barge-in candidate. It accumulates consecutive loud frames and returns SpeechCandidate with the buffered
voice/detect/energy.go:102
↓ 11 callers
Method
Error
()
memory/retrieval/errors.go:20
↓ 11 callers
Method
Execute
Execute runs a single tool call through the registered middleware chain (outermost first) and the core dispatch (lookup + timeout + telemetry). All er
sdk/tool/registry.go:200
↓ 11 callers
Method
Extend
Extend inserts each word into the set. Empty strings are skipped. Returns the receiver so calls can chain.
memory/text/stopword/set.go:48
↓ 11 callers
Method
Feed
Feed receives a token and may return a complete sentence.
voice/tts/segmenter.go:66
↓ 11 callers
Method
IsValid
IsValid reports whether k is one of the canonical FactKinds.
memory/recall/internal/domain/kinds.go:24
↓ 11 callers
Method
Link
Link adds memEntryIDs to the entities' linked_ids lists. New entities are created with an initial list; existing entities have their lists merged (ded
sdk/recall/entity_store.go:46
↓ 11 callers
Method
LookupModelSpec
LookupModelSpec returns the catalog ModelSpec for a registered model, or a zero-value ModelSpec if the model is not found.
sdk/llm/factory.go:112
↓ 11 callers
Method
Name
Name returns a stable identifier used by Rankers (e.g. "bm25").
sdk/knowledge/searcher.go:16
↓ 11 callers
Function
New
New returns an empty in-memory queue ready for Enqueue / Claim.
memory/recall/internal/store/asyncsemantic/memory.go:66
↓ 11 callers
Function
NewAsyncSemanticProcessor
NewAsyncSemanticProcessor returns a processor when mem is a recall Memory wired with WithAsyncSemanticQueue. The bool is false when the queue is not c
memory/recall/async_semantic.go:49
↓ 11 callers
Function
NewCircuit
(size int)
voice/provider/fallback.go:153
↓ 11 callers
Function
NewEchoSuppressor
(base SpeechDetector, opts ...EchoSuppressorOption)
voice/detect/echo.go:67
↓ 11 callers
Method
OutputPorts
()
sdk/graph/core.go:63
↓ 11 callers
Method
ProcessSideEffects
(ctx context.Context, opts SideEffectProcessOptions)
memory/recall/side_effects.go:95
↓ 11 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/openai/chat/openai.go:80
↓ 11 callers
Method
Put
Put creates or overwrites an object.
sdkx/workspace/objstore/store.go:28
↓ 11 callers
Method
RateLimit
()
sdk/errdefs/errors.go:46
↓ 11 callers
Method
ScopeID
ScopeID returns the board owner scope identifier.
sdk/kanban/board.go:158
↓ 11 callers
Method
SeedBoard
(ctx context.Context, info RunInfo, req *Request)
sdk/agent/seeder.go:36
↓ 11 callers
Method
Set
Set is called once per flag occurrence by the flag package.
cmd/vesseld/cli/flags.go:30
↓ 11 callers
Method
Stop
Stop cancels every loop and waits for shutdown. It returns the first worker error observed before cancellation, if any.
memory/recall/ops/supervisor.go:52
↓ 11 callers
Function
Sub
Sub returns a Workspace view rooted under prefix. All operations are forwarded to the parent workspace after prefixing the caller's path. For local w
sdk/workspace/sub.go:26
↓ 11 callers
Method
Submit
Submit dispatches an agent.Request through the named vessel's Captain after passing the daemon-wide concurrency gate and injecting the per-profile rat
cmd/vesseld/fleet/fleet.go:208
↓ 11 callers
Method
WatchFiltered
WatchFiltered returns a channel that receives newly produced cards matching the filter. The channel is closed when ctx is cancelled. The internal queu
sdk/kanban/board.go:500
↓ 11 callers
Function
WithBackpressure
WithBackpressure overrides the default DropNewest policy.
sdk/event/bus.go:85
↓ 11 callers
Function
WithBaseURL
(url string)
voice/tts/minimax/minimax.go:53
↓ 11 callers
Function
WithBreakerThreshold
WithBreakerThreshold sets consecutive failures before the breaker opens.
sdk/llm/fallback.go:163
↓ 11 callers
Function
WithBufferSize
WithBufferSize sets the buffered channel capacity. Values <= 0 fall back to the default (64).
sdk/event/bus.go:76
↓ 11 callers
Function
WithConfig
WithConfig supplies the full BBH configuration and skips workspace config discovery. Zero-valued fields still receive BBH defaults.
sdk/retrieval/bbh/config.go:111
↓ 11 callers
Function
WithHTTPClient
WithHTTPClient overrides the default *http.Client (120s timeout). Useful for tests and for plugging in OTel/transport middleware.
sdkx/llm/qwen/image/image.go:104
↓ 11 callers
Function
WithToken
(tok string)
voice/stt/bytedance/bytedance.go:48
↓ 11 callers
Function
absLayer
(dataset, doc, body string)
memory/knowledge/backend/retrieval/layer_test.go:16
↓ 11 callers
Function
absLayer
(dataset, doc, body string)
sdk/knowledge/backend/retrieval/layer_test.go:16
↓ 11 callers
Function
assertNoAnswerCandidates
(t *testing.T, text string)
eval/locomo/eval_answer_test.go:267
↓ 11 callers
Function
asyncSemanticJob
(requestID string, episodeIDs ...string)
memory/recall/recalltest/async_semantic.go:288
↓ 11 callers
Function
buildAnswerBody
buildAnswerBody renders the "ASKED_AT? + Q + MEMORIES" block fed into the QA prompt. Top-k memories are listed as bullets in RecallHit ranking order.
eval/locomo/answer.go:83
↓ 11 callers
Function
contextPackCandidateDuplicate
(candidate contextPackCandidate, selected []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1303
↓ 11 callers
Method
deliver
deliver is the producer-side helper. It publishes the result, runs every registered OnTerminate hook synchronously (in registration order), and only T
vessel/handle.go:112
↓ 11 callers
Function
evidenceRef
(id, messageID, text string, ts int64)
memory/recall/recalltest/evidence.go:170
↓ 11 callers
Function
fakeTool
fakeTool is a minimal tool.Tool that records nothing — its only purpose is to populate the registry so we can prove the engine either filters or fails
cmd/vesseld/catalog/engine_graph_llm_test.go:43
↓ 11 callers
Function
findAttr
(attrs []attribute.KeyValue, key string)
sdk/telemetry/run_summary_test.go:60
↓ 11 callers
Function
hasSuffix
(word, suffix string)
memory/text/stem/porter.go:246
↓ 11 callers
Function
hasSuffix
(word, suffix string)
sdk/textsearch/stemmer.go:221
↓ 11 callers
Function
invoke
invoke is a tiny convenience that materialises the bridge's API map and returns it ready for assertions. The bridge name "host" is also returned so te
sdk/script/bindings/bridge_host_test.go:60
↓ 11 callers
Function
isWeakExtractedEntity
(s string)
memory/recall/internal/ingest/extractor_llm.go:1402
↓ 11 callers
Method
lockWriteScope
(scope Scope)
memory/recall/memory.go:889
↓ 11 callers
Function
newLayerRepo
(t *testing.T)
memory/knowledge/backend/retrieval/layer_test.go:11
↓ 11 callers
Function
newLayerRepo
(t *testing.T)
sdk/knowledge/backend/retrieval/layer_test.go:11
↓ 11 callers
Function
newMockServer
(t *testing.T, status int, body []byte, capture *apiRequest)
sdkx/llm/bytedance/image/image_test.go:16
↓ 11 callers
Function
newMockServer
(t *testing.T, status int, body []byte, capture *apiRequest)
sdkx/llm/qwen/image/image_test.go:16
↓ 11 callers
Function
normalizeEvidenceAnchor
(s string)
memory/recall/internal/ingest/extractor_llm.go:1247
↓ 11 callers
Function
optionalToolCall
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:515
↓ 11 callers
Function
optionalToolResult
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:542
↓ 11 callers
Function
parseMessage
parseMessage validates and converts one script-side message map.
sdk/script/bindings/llm_marshal.go:305
↓ 11 callers
Function
parseRunOptions
parseRunOptions decodes the script-supplied call object into internal call options. messages is mandatory and must be supplied explicitly for each llm
sdk/script/bindings/bridge_llm.go:169
↓ 11 callers
Function
partitionKey
(scope domain.Scope)
memory/recall/internal/store/sideeffect/memory.go:57
↓ 11 callers
Function
publishStreamDelta
(t *testing.T, bus event.Bus, runID, nodeID, agentID, content string)
sdk/graph/node/scriptnode/bridge_stream_test.go:782
↓ 11 callers
Function
subjTaskSubmitted
Subject helpers — task domain.
sdk/kanban/subjects.go:41
↓ 11 callers
Function
writeIntent
writeIntent records the in-progress archive operation atomically. RecoverArchive depends on the intent being either fully present or fully absent — pa
memory/history/archive.go:113
↓ 11 callers
Function
writeIntent
writeIntent records the in-progress archive operation atomically. RecoverArchive depends on the intent being either fully present or fully absent — pa
sdk/history/archive.go:113
↓ 11 callers
Function
writeJSON
writeJSON is the success-path counterpart to writeError. status is usually 200; callers wanting 201 / 202 pass that explicitly.
cmd/vesseld/api/errors.go:48
↓ 10 callers
Method
Append
(ctx context.Context, path string, data []byte)
sdk/workspace/workspace.go:22
↓ 10 callers
Function
ApplyLoadOptions
ApplyLoadOptions filters msgs in memory according to opts. It is the reference implementation reused by both the in-memory fallback in [LoadFiltered]
memory/history/load_options.go:124
↓ 10 callers
Function
ApplyLoadOptions
ApplyLoadOptions filters msgs in memory according to opts. It is the reference implementation reused by both the in-memory fallback in [LoadFiltered]
sdk/history/load_options.go:124
↓ 10 callers
Function
Archive
Archive moves old messages to gzip-compressed archive files. The [Coordinator] drives it through its per-conversation worker queue; LLM tools (history
memory/history/archive.go:269
↓ 10 callers
Function
Archive
Archive moves old messages to gzip-compressed archive files. The [Coordinator] drives it through its per-conversation worker queue; LLM tools (history
sdk/history/archive.go:269
↓ 10 callers
Method
Archive
Archive runs message archiving for one conversation. Serialized against concurrent Append/Compact on the same conversationID.
sdk/history/history.go:77
↓ 10 callers
Method
BeforeFinalize
BeforeFinalize fires after engine.Execute returns. The Decider inspects res (read-only) and the original req, and returns a FinalizeDecision that Run
sdk/agent/decider.go:57
↓ 10 callers
Method
Captain
Captain returns the captain entry for the named vessel or errdefs.NotFound. Returned pointer is owned by the fleet — callers must not call Stop on it
cmd/vesseld/fleet/fleet.go:168
↓ 10 callers
Method
Clear
Clear removes the conversation and any derived state (summaries, archives) owned by this History implementation.
sdk/history/history.go:33
↓ 10 callers
Method
Count
(text string)
sdk/history/token.go:13
↓ 10 callers
Method
DeleteMessages
(ctx context.Context, conversationID string)
sdk/history/store.go:24
↓ 10 callers
Method
Detect
Detect analyzes a frame during interruptable states (responding/playback). It maintains internal state (counters, buffers) across consecutive calls. R
voice/detect/detector.go:30
↓ 10 callers
Method
Enabled
(_ context.Context, _ sdklog.EnabledParameters)
sdk/telemetry/log_test.go:182
↓ 10 callers
Method
Envelopes
Envelopes returns a copy of every envelope received so far.
sdk/engine/enginetest/mock_host.go:73
↓ 10 callers
Method
Fuse
(ctx context.Context, results []domain.SourceResult, opts FusionOptions)
memory/recall/internal/port/fusion.go:42
↓ 10 callers
Method
HasTimeSignal
HasTimeSignal reports whether the query asks for or contains a time signal.
memory/recall/internal/domain/query.go:85
↓ 10 callers
Method
InputPorts
()
sdk/graph/core.go:62
↓ 10 callers
Method
IsZero
IsZero reports whether b carries no explicit limits.
memory/history/history.go:47
↓ 10 callers
Method
Launch
Launch starts every Captain. Returns the first non-nil Launch error after attempting all of them — partial launches are kept running so debugging the
cmd/vesseld/fleet/fleet.go:153
↓ 10 callers
Function
New
New returns an empty relation projection.
memory/recall/internal/lens/relation/projection.go:45
↓ 10 callers
Function
NewChat
NewChat creates the historical OpenAI Chat Completions adapter.
sdkx/llm/openai/openai.go:282
↓ 10 callers
Function
NewMemoryStore
NewMemoryStore returns an empty in-memory TemporalFactStore.
memory/recall/internal/store/temporal/memory.go:44
↓ 10 callers
Function
NewResolver
NewResolver returns the default resolver wired with the system clock.
memory/recall/internal/ingest/resolver.go:50
↓ 10 callers
Method
RegisterWithScope
RegisterWithScope adds a tool to the registry with the specified scope.
sdk/tool/registry.go:109
← previous
next →
501–600 of 13,468, ranked by callers