MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 27 callersFunctionNewFileStore
NewFileStore creates a FileStore rooted at the given prefix directory within the workspace (e.g. "memory").
sdk/history/store.go:240
↓ 27 callersMethodRemoveAll
(ctx context.Context, path string)
sdk/workspace/workspace.go:35
↓ 27 callersMethodSubmit
Submit produces a task card on the board and executes via AgentExecutor. All tasks are asynchronous; results are delivered via callback.
sdk/kanban/kanban.go:247
↓ 27 callersFunctionfillConfig
fillConfig substitutes the mock OpenAI base URL into the template; the daemon helper does the __SOCKET__ substitution itself because it picks the temp
tests/e2e/vesseld/e2e_test.go:72
↓ 27 callersFunctionscope
()
memory/recall/internal/lens/graph/projection_test.go:11
↓ 26 callersMethodDrop
(ctx context.Context, namespace string)
sdk/retrieval/index.go:80
↓ 26 callersMethodGenerate
(ctx context.Context, messages []Message, opts ...GenerateOption)
sdk/llm/fallback.go:246
↓ 26 callersFunctionNew
New creates a Node. toolReg is optional: pass nil when the surrounding engine.Run is expected to supply the registry via [engine.Dependencies] under
sdk/graph/node/llmnode/llmnode.go:79
↓ 26 callersMethodPutDocument
--- Document lifecycle ---------------------------------------------------- PutDocument writes raw content under (datasetID, name). Behaviour: - Sour
memory/knowledge/service.go:106
↓ 26 callersMethodadd
add is the package-internal append. Nil errors are ignored so helpers can call e.add(maybeErr) unconditionally.
cmd/vesseld/resolver/errors.go:23
↓ 26 callersFunctionchunk
(doc string, idx int, content string)
memory/knowledge/backend/fs/chunk_test.go:22
↓ 26 callersFunctionchunk
(doc string, idx int, content string)
sdk/knowledge/backend/fs/chunk_test.go:22
↓ 26 callersFunctionmakePCM16Tone
--------------------------------------------------------------------------- Helpers ------------------------------------------------------------------
voice/webrtc/transport_test.go:154
↓ 26 callersFunctionmakePCMFrame
(samples int, amp int16)
voice/detect/echo_test.go:22
↓ 26 callersFunctionnewCompactor
(store Store, dag *SummaryDAG, config DAGConfig, ws workspace.Workspace, prefix string)
memory/history/compactor.go:164
↓ 26 callersFunctionnewCompactor
(store Store, dag *SummaryDAG, config DAGConfig, ws workspace.Workspace, prefix string)
sdk/history/compactor.go:164
↓ 25 callersMethodAppendChannelMessage
AppendChannelMessage appends a message to a channel, creating the channel on demand.
sdk/engine/board.go:205
↓ 25 callersMethodError
()
sdk/telemetry/log_test.go:372
↓ 25 callersMethodExtract
(ctx context.Context, scope Scope, msgs []llm.Message, opts ...ExtractOption)
sdk/recall/extractor.go:129
↓ 25 callersMethodGet
Get retrieves the object content. Returns ErrKeyNotFound if absent.
sdkx/workspace/objstore/store.go:25
↓ 25 callersMethodHasToolCalls
HasToolCalls reports whether the message contains any tool calls.
sdk/model/message.go:206
↓ 25 callersMethodLookup
Lookup implements EntityStore.
sdk/recall/entity_store.go:431
↓ 25 callersFunctionNewFileSummaryStore
NewFileSummaryStore creates a FileSummaryStore rooted at the given prefix.
memory/history/summary_store.go:109
↓ 25 callersFunctionNewFileSummaryStore
NewFileSummaryStore creates a FileSummaryStore rooted at the given prefix.
sdk/history/summary_store.go:108
↓ 25 callersMethodRecallExplain
(ctx context.Context, scope Scope, req Request)
sdk/recall/memory.go:123
↓ 25 callersMethodRegister
Register adds a provider factory. Overwrites any previous registration.
sdk/llm/factory.go:85
↓ 25 callersFunctioncreateProvider
(t *testing.T, spec providerSpec)
tests/conformance/llm/provider_test.go:82
↓ 25 callersFunctionexec
(t *testing.T, tool *memorytool.Tool, args map[string]any)
sdkx/tool/memory/tool_test.go:19
↓ 25 callersFunctionmakeSilentFrame
Frame helpers for testing.
voice/session_test.go:24
↓ 25 callersFunctionnewService
newService spins up a Service backed by the retrieval backend (RetrievalChunkRepo/LayerRepo on sdk/retrieval/memory; documents in FSDocumentRepo on a
memory/knowledge/service_test.go:48
↓ 25 callersFunctionnewService
newService spins up a Service backed by the retrieval backend (RetrievalChunkRepo/LayerRepo on sdk/retrieval/memory; documents in FSDocumentRepo on a
sdk/knowledge/service_test.go:48
↓ 25 callersFunctionopenInternalIndex
(t *testing.T, dir string, opts ...Option)
memory/retrieval/bbh/index_test.go:791
↓ 24 callersMethodAppend
Append validates and stores facts atomically. Each fact must carry a non-empty ID and a valid FactKind. Duplicate IDs are rejected against both alread
memory/recall/internal/store/temporal/memory.go:72
↓ 24 callersFunctionNamespaceFor
NamespaceFor maps a scope to its v2 retrieval namespace. Mirrors the v1 scheme (per-user when UserID is set, runtime-global otherwise) so the namespac
memory/recall/internal/lens/retrieval/namespace.go:17
↓ 24 callersFunctionNewFallbackLLM
NewFallbackLLM creates a fallback-aware LLM from a primary and fallbacks.
sdk/llm/fallback.go:197
↓ 24 callersFunctionNewTextMessage
NewTextMessage creates a simple text message.
sdk/model/message.go:216
↓ 24 callersMethodPublish
Publish delivers env to every matching subscription. Implementations must: - fill env.ID and env.Time when zero; - return ErrBusClosed once Close has
sdk/event/bus.go:40
↓ 24 callersMethodSources
Sources collects non-nil sources in registration order.
memory/recall/internal/lens/registry.go:68
↓ 24 callersFunctiongotIDs
(facts []recall.TemporalFact)
memory/recall/recalltest/helpers.go:14
↓ 24 callersFunctionlong
long produces a deterministic filler string just over the cache threshold. Using a fixed character so each test's "long" segment is easy to spot in fa
sdkx/llm/anthropic/cache_test.go:13
↓ 23 callersMethodDelete
(ctx context.Context, namespace string, ids []string)
sdk/retrieval/index.go:11
↓ 23 callersMethodGet
(ctx context.Context, datasetID, docName string, layer Layer)
sdk/knowledge/repo.go:128
↓ 23 callersFunctionNewResolver
NewResolver creates a new Resolver.
sdk/graph/variable/resolver.go:21
↓ 23 callersFunctionRegister
Register binds the script-backed node builders ("script", every built-in declared by the scriptnode builtin catalog, plus a fallback that resolves typ
sdk/graph/node/scriptnode/register.go:45
↓ 23 callersFunctionnewTestClaw
(t *testing.T, ws sdkworkspace.Workspace, client llm.LLM, mutate func(*Config))
sdkx/claw/claw_test.go:16
↓ 23 callersFunctiontemporalFact
(id, mergeKey string, kind recall.FactKind, observedAt time.Time, entities ...string)
memory/recall/recalltest/store.go:365
↓ 22 callersMethodCanonicalKey
CanonicalKey returns a stable scope qualifier for federation dedup and sub-scope identity. It extends PartitionKey with /a:{agent} when AgentID is set
memory/recall/internal/domain/canonical.go:24
↓ 22 callersMethodError
Error implements the error interface. The output lists every problem on its own line with a leading " - " bullet so logs and CLI output read cleanly.
cmd/vesseld/resolver/errors.go:59
↓ 22 callersMethodForget
Forget hard-deletes one entry; journal (when configured) captures the reason.
sdk/recall/memory.go:72
↓ 22 callersMethodInfo
()
sdk/workspace/mem.go:291
↓ 22 callersMethodInternal
()
sdk/errdefs/errors.go:51
↓ 22 callersMethodRun
Run starts the session loop. It blocks until ctx is cancelled or the audio source is exhausted. For text-only sessions (source == nil), Run blocks unt
voice/session.go:184
↓ 22 callersMethodStop
Stop closes the Kanban admission path and waits for in-flight executors. The wait is bounded by the stop timeout (DefaultStopTimeout = 10s, or the val
sdk/kanban/kanban.go:178
↓ 22 callersFunctionWithVADSampleRate
(rate int)
voice/vad/vad.go:39
↓ 22 callersFunctioncontextItemWithSource
(id, evidenceID, source string, score float64, text string)
memory/recall/internal/pipeline/read/stages/context_pack_test.go:928
↓ 22 callersFunctionhit
(id string, score float64)
memory/retrieval/scoring/fusion_test.go:9
↓ 22 callersFunctionhit
(id string, score float64)
sdk/retrieval/scoring/fusion_test.go:9
↓ 22 callersFunctionmakeMsg
makeMsg is a tiny constructor that keeps the table-driven tests below readable by collapsing the verbose Parts boilerplate.
memory/history/load_options_test.go:13
↓ 22 callersFunctionmakeMsg
makeMsg is a tiny constructor that keeps the table-driven tests below readable by collapsing the verbose Parts boilerplate.
sdk/history/load_options_test.go:13
↓ 22 callersFunctionnewKanban
newKanban returns a Kanban + Board pair, both auto-stopped on test cleanup.
sdk/kanban/helpers_test.go:57
↓ 22 callersFunctionscope
()
memory/recall/internal/lens/profile/projection_test.go:11
↓ 21 callersMethodAddScope
AddScope registers a named scope with its values.
sdk/graph/variable/resolver.go:26
↓ 21 callersMethodCompact
Compact runs DAG compact for one conversation. Serialized against concurrent Append/Archive on the same conversationID.
sdk/history/history.go:74
↓ 21 callersMethodDone
Done is closed after Close has canceled the context and all accepted work has returned.
memory/internal/background/group.go:48
↓ 21 callersMethodExec
(ctx context.Context, cmd string, args []string, opts ExecOptions)
sdk/sandbox/sandbox.go:17
↓ 21 callersMethodFeed
(chunk []byte)
voice/vad/vad.go:11
↓ 21 callersFunctionNew
New creates a new JS runtime with a VM pool.
sdk/script/jsrt/jsrt.go:71
↓ 21 callersFunctionNewWorkspace
NewWorkspace creates a workspace.Workspace backed by an ObjectStore.
sdkx/workspace/objstore/workspace.go:30
↓ 21 callersMethodRequired
Required marks the given property names as required in the JSON Schema. Duplicate names are silently ignored.
sdk/tool/schema.go:97
↓ 21 callersMethodSaveMessages
(_ context.Context, conversationID string, messages []model.Message)
memory/history/store.go:164
↓ 21 callersMethodSaveMessages
(_ context.Context, conversationID string, messages []model.Message)
sdk/history/store.go:164
↓ 21 callersMethodSubmit
Submit dispatches one [agent.Run] asynchronously. The returned Handle is the caller's receipt — call Handle.Wait to retrieve the result, or use [Logs]
vessel/captain.go:366
↓ 21 callersMethodUpdate
(msg tea.Msg)
cmd/claw/cli/tui_model.go:112
↓ 21 callersFunctionWithPoolSize
WithPoolSize sets the VM pool size.
sdk/script/jsrt/jsrt.go:24
↓ 21 callersMethodflushWriteTelemetry
()
memory/recall/scope_generation.go:53
↓ 21 callersFunctionjsonString
jsonString is the Go analogue of Python's json.dumps. Tools return this on the success path so the Hits string mirrors what Sierra emits at the equiva
eval/taubench/sierra_common.go:117
↓ 21 callersFunctionmakePCM16
--------------------------------------------------------------------------- Helpers ------------------------------------------------------------------
voice/vad/vad_test.go:54
↓ 21 callersFunctionnewChunkRepo
(t *testing.T)
memory/knowledge/backend/retrieval/chunk_test.go:13
↓ 21 callersFunctionnewChunkRepo
(t *testing.T)
sdk/knowledge/backend/retrieval/chunk_test.go:13
↓ 21 callersFunctionnewResolverWithRegistry
--------------------------------------------------------------------------- Test-only resolver constructor -------------------------------------------
sdk/llm/resolver_test.go:23
↓ 21 callersFunctionopenInternalIndex
(t *testing.T, dir string, opts ...Option)
sdk/retrieval/bbh/index_test.go:792
↓ 20 callersMethodAddDocument
AddDocument updates corpus statistics for a new document's tokens.
memory/text/bm25/corpus.go:29
↓ 20 callersMethodGet
(ctx context.Context, namespace, id string)
sdk/retrieval/index.go:20
↓ 20 callersMethodLen
Len returns how many problems are recorded.
cmd/vesseld/resolver/errors.go:39
↓ 20 callersFunctionNew
New returns the default rule-based planner with built-in lens specs (tests and callers that do not use lens.Registry).
memory/recall/internal/planner/planner.go:93
↓ 20 callersFunctionNewEnergyDetector
NewEnergyDetector creates an EnergyDetector with the given options.
voice/detect/energy.go:80
↓ 20 callersMethodRemove
Remove deletes a dependency. Missing keys are a no-op.
sdk/engine/deps.go:54
↓ 20 callersMethodString
String returns a stable label for diagnostics.
sdk/event/observer.go:83
↓ 20 callersMethodSubscribe
Subscribe creates a new subscription matching pattern. The returned Subscription is closed automatically when ctx is cancelled. pattern is validated a
sdk/event/bus.go:45
↓ 20 callersMethodText
Text returns the last assistant text message in Result.Messages, or "" if none. Convenience for chat-style callers; multi-modal callers should walk Me
sdk/agent/result.go:148
↓ 20 callersFunctionWithCaps
WithCaps wraps inner so that GenerateOptions fields the model does not support are dropped or downgraded, and Messages containing unsupported modality
sdk/llm/with_caps.go:24
↓ 20 callersFunctionnewLocalWS
(t *testing.T)
sdk/workspace/local_test.go:364
↓ 20 callersFunctionnewScheduler
--------------------------------------------------------------------------- Helpers — schedulers are typically wired through Kanban.New(WithScheduler)
sdk/kanban/scheduler_test.go:16
↓ 20 callersFunctionnewTestWS
()
sdkx/workspace/objstore/workspace_test.go:8
↓ 20 callersFunctionstubTool
(name string)
sdk/tool/registry_test.go:14
↓ 19 callersMethodContainsAny
ContainsAny reports whether any token occurs as a folded token.
memory/text/phrase/matcher.go:55
↓ 19 callersMethodLookup
Lookup returns the union of linked memory IDs for the given query entities under scope. Order is deterministic — entities are normalized + sorted, the
sdk/recall/entity_store.go:63
↓ 19 callersFunctionNamespaceFor
NamespaceFor returns the retrieval namespace for a scope: ltm_<runtime>__u<len>_<user> when UserID != "" ltm_<runtime>__global otherwise
sdk/recall/scope.go:20
↓ 19 callersFunctionNew
New creates a new Lua runtime with a VM pool.
sdk/script/luart/luart.go:69
↓ 19 callersFunctionNewContextPack
(reranker port.Reranker)
memory/recall/internal/pipeline/read/stages/context_pack.go:23
← previousnext →201–300 of 13,468, ranked by callers