MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 12 callersMethodfire
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 callersFunctionfirstNonEmpty
(values ...string)
sdkx/claw/memory.go:871
↓ 12 callersFunctionflushedIdx
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 callersFunctionllmEnv
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 callersFunctionmakeSineWave
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 callersFunctionnewTranscriptEvent
(eventType EventType, r stt.STTResult, revision int)
voice/pipeline.go:341
↓ 12 callersFunctionsampleFacts
()
memory/recall/internal/pipeline/fanout_test.go:49
↓ 12 callersFunctionsnapshotValue
(in *[]diagnostic.CandidateSnapshot)
memory/recall/diagnostics/stage_audit.go:98
↓ 12 callersFunctionvalidationf
(format string, args ...any)
memory/recall/ops/types.go:232
↓ 11 callersMethodAgentID
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 callersMethodBus
Bus returns the persistent event Bus bound to the board.
sdk/kanban/board.go:143
↓ 11 callersMethodCancel
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 callersMethodCheckpoint
(ctx context.Context, cp Checkpoint)
sdk/engine/host.go:90
↓ 11 callersFunctionComputePromptCacheKey
ComputePromptCacheKey returns a deterministic 16-hex-char routing hint derived from stable request inputs.
sdkx/llm/openai/shared/cache.go:15
↓ 11 callersMethodDetect
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 callersMethodError
()
memory/retrieval/errors.go:20
↓ 11 callersMethodExecute
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 callersMethodExtend
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 callersMethodFeed
Feed receives a token and may return a complete sentence.
voice/tts/segmenter.go:66
↓ 11 callersMethodIsValid
IsValid reports whether k is one of the canonical FactKinds.
memory/recall/internal/domain/kinds.go:24
↓ 11 callersMethodLink
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 callersMethodLookupModelSpec
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 callersMethodName
Name returns a stable identifier used by Rankers (e.g. "bm25").
sdk/knowledge/searcher.go:16
↓ 11 callersFunctionNew
New returns an empty in-memory queue ready for Enqueue / Claim.
memory/recall/internal/store/asyncsemantic/memory.go:66
↓ 11 callersFunctionNewAsyncSemanticProcessor
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 callersFunctionNewCircuit
(size int)
voice/provider/fallback.go:153
↓ 11 callersFunctionNewEchoSuppressor
(base SpeechDetector, opts ...EchoSuppressorOption)
voice/detect/echo.go:67
↓ 11 callersMethodOutputPorts
()
sdk/graph/core.go:63
↓ 11 callersMethodProcessSideEffects
(ctx context.Context, opts SideEffectProcessOptions)
memory/recall/side_effects.go:95
↓ 11 callersMethodProvider
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 callersMethodPut
Put creates or overwrites an object.
sdkx/workspace/objstore/store.go:28
↓ 11 callersMethodRateLimit
()
sdk/errdefs/errors.go:46
↓ 11 callersMethodScopeID
ScopeID returns the board owner scope identifier.
sdk/kanban/board.go:158
↓ 11 callersMethodSeedBoard
(ctx context.Context, info RunInfo, req *Request)
sdk/agent/seeder.go:36
↓ 11 callersMethodSet
Set is called once per flag occurrence by the flag package.
cmd/vesseld/cli/flags.go:30
↓ 11 callersMethodStop
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 callersFunctionSub
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 callersMethodSubmit
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 callersMethodWatchFiltered
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 callersFunctionWithBackpressure
WithBackpressure overrides the default DropNewest policy.
sdk/event/bus.go:85
↓ 11 callersFunctionWithBaseURL
(url string)
voice/tts/minimax/minimax.go:53
↓ 11 callersFunctionWithBreakerThreshold
WithBreakerThreshold sets consecutive failures before the breaker opens.
sdk/llm/fallback.go:163
↓ 11 callersFunctionWithBufferSize
WithBufferSize sets the buffered channel capacity. Values <= 0 fall back to the default (64).
sdk/event/bus.go:76
↓ 11 callersFunctionWithConfig
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 callersFunctionWithHTTPClient
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 callersFunctionWithToken
(tok string)
voice/stt/bytedance/bytedance.go:48
↓ 11 callersFunctionabsLayer
(dataset, doc, body string)
memory/knowledge/backend/retrieval/layer_test.go:16
↓ 11 callersFunctionabsLayer
(dataset, doc, body string)
sdk/knowledge/backend/retrieval/layer_test.go:16
↓ 11 callersFunctionassertNoAnswerCandidates
(t *testing.T, text string)
eval/locomo/eval_answer_test.go:267
↓ 11 callersFunctionasyncSemanticJob
(requestID string, episodeIDs ...string)
memory/recall/recalltest/async_semantic.go:288
↓ 11 callersFunctionbuildAnswerBody
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 callersFunctioncontextPackCandidateDuplicate
(candidate contextPackCandidate, selected []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1303
↓ 11 callersMethoddeliver
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 callersFunctionevidenceRef
(id, messageID, text string, ts int64)
memory/recall/recalltest/evidence.go:170
↓ 11 callersFunctionfakeTool
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 callersFunctionfindAttr
(attrs []attribute.KeyValue, key string)
sdk/telemetry/run_summary_test.go:60
↓ 11 callersFunctionhasSuffix
(word, suffix string)
memory/text/stem/porter.go:246
↓ 11 callersFunctionhasSuffix
(word, suffix string)
sdk/textsearch/stemmer.go:221
↓ 11 callersFunctioninvoke
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 callersFunctionisWeakExtractedEntity
(s string)
memory/recall/internal/ingest/extractor_llm.go:1402
↓ 11 callersMethodlockWriteScope
(scope Scope)
memory/recall/memory.go:889
↓ 11 callersFunctionnewLayerRepo
(t *testing.T)
memory/knowledge/backend/retrieval/layer_test.go:11
↓ 11 callersFunctionnewLayerRepo
(t *testing.T)
sdk/knowledge/backend/retrieval/layer_test.go:11
↓ 11 callersFunctionnewMockServer
(t *testing.T, status int, body []byte, capture *apiRequest)
sdkx/llm/bytedance/image/image_test.go:16
↓ 11 callersFunctionnewMockServer
(t *testing.T, status int, body []byte, capture *apiRequest)
sdkx/llm/qwen/image/image_test.go:16
↓ 11 callersFunctionnormalizeEvidenceAnchor
(s string)
memory/recall/internal/ingest/extractor_llm.go:1247
↓ 11 callersFunctionoptionalToolCall
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:515
↓ 11 callersFunctionoptionalToolResult
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:542
↓ 11 callersFunctionparseMessage
parseMessage validates and converts one script-side message map.
sdk/script/bindings/llm_marshal.go:305
↓ 11 callersFunctionparseRunOptions
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 callersFunctionpartitionKey
(scope domain.Scope)
memory/recall/internal/store/sideeffect/memory.go:57
↓ 11 callersFunctionpublishStreamDelta
(t *testing.T, bus event.Bus, runID, nodeID, agentID, content string)
sdk/graph/node/scriptnode/bridge_stream_test.go:782
↓ 11 callersFunctionsubjTaskSubmitted
Subject helpers — task domain.
sdk/kanban/subjects.go:41
↓ 11 callersFunctionwriteIntent
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 callersFunctionwriteIntent
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 callersFunctionwriteJSON
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 callersMethodAppend
(ctx context.Context, path string, data []byte)
sdk/workspace/workspace.go:22
↓ 10 callersFunctionApplyLoadOptions
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 callersFunctionApplyLoadOptions
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 callersFunctionArchive
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 callersFunctionArchive
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 callersMethodArchive
Archive runs message archiving for one conversation. Serialized against concurrent Append/Compact on the same conversationID.
sdk/history/history.go:77
↓ 10 callersMethodBeforeFinalize
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 callersMethodCaptain
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 callersMethodClear
Clear removes the conversation and any derived state (summaries, archives) owned by this History implementation.
sdk/history/history.go:33
↓ 10 callersMethodCount
(text string)
sdk/history/token.go:13
↓ 10 callersMethodDeleteMessages
(ctx context.Context, conversationID string)
sdk/history/store.go:24
↓ 10 callersMethodDetect
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 callersMethodEnabled
(_ context.Context, _ sdklog.EnabledParameters)
sdk/telemetry/log_test.go:182
↓ 10 callersMethodEnvelopes
Envelopes returns a copy of every envelope received so far.
sdk/engine/enginetest/mock_host.go:73
↓ 10 callersMethodFuse
(ctx context.Context, results []domain.SourceResult, opts FusionOptions)
memory/recall/internal/port/fusion.go:42
↓ 10 callersMethodHasTimeSignal
HasTimeSignal reports whether the query asks for or contains a time signal.
memory/recall/internal/domain/query.go:85
↓ 10 callersMethodInputPorts
()
sdk/graph/core.go:62
↓ 10 callersMethodIsZero
IsZero reports whether b carries no explicit limits.
memory/history/history.go:47
↓ 10 callersMethodLaunch
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 callersFunctionNew
New returns an empty relation projection.
memory/recall/internal/lens/relation/projection.go:45
↓ 10 callersFunctionNewChat
NewChat creates the historical OpenAI Chat Completions adapter.
sdkx/llm/openai/openai.go:282
↓ 10 callersFunctionNewMemoryStore
NewMemoryStore returns an empty in-memory TemporalFactStore.
memory/recall/internal/store/temporal/memory.go:44
↓ 10 callersFunctionNewResolver
NewResolver returns the default resolver wired with the system clock.
memory/recall/internal/ingest/resolver.go:50
↓ 10 callersMethodRegisterWithScope
RegisterWithScope adds a tool to the registry with the specified scope.
sdk/tool/registry.go:109
← previousnext →501–600 of 13,468, ranked by callers