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
↓ 27 callers
Function
NewFileStore
NewFileStore creates a FileStore rooted at the given prefix directory within the workspace (e.g. "memory").
sdk/history/store.go:240
↓ 27 callers
Method
RemoveAll
(ctx context.Context, path string)
sdk/workspace/workspace.go:35
↓ 27 callers
Method
Submit
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 callers
Function
fillConfig
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 callers
Function
scope
()
memory/recall/internal/lens/graph/projection_test.go:11
↓ 26 callers
Method
Drop
(ctx context.Context, namespace string)
sdk/retrieval/index.go:80
↓ 26 callers
Method
Generate
(ctx context.Context, messages []Message, opts ...GenerateOption)
sdk/llm/fallback.go:246
↓ 26 callers
Function
New
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 callers
Method
PutDocument
--- Document lifecycle ---------------------------------------------------- PutDocument writes raw content under (datasetID, name). Behaviour: - Sour
memory/knowledge/service.go:106
↓ 26 callers
Method
add
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 callers
Function
chunk
(doc string, idx int, content string)
memory/knowledge/backend/fs/chunk_test.go:22
↓ 26 callers
Function
chunk
(doc string, idx int, content string)
sdk/knowledge/backend/fs/chunk_test.go:22
↓ 26 callers
Function
makePCM16Tone
--------------------------------------------------------------------------- Helpers ------------------------------------------------------------------
voice/webrtc/transport_test.go:154
↓ 26 callers
Function
makePCMFrame
(samples int, amp int16)
voice/detect/echo_test.go:22
↓ 26 callers
Function
newCompactor
(store Store, dag *SummaryDAG, config DAGConfig, ws workspace.Workspace, prefix string)
memory/history/compactor.go:164
↓ 26 callers
Function
newCompactor
(store Store, dag *SummaryDAG, config DAGConfig, ws workspace.Workspace, prefix string)
sdk/history/compactor.go:164
↓ 25 callers
Method
AppendChannelMessage
AppendChannelMessage appends a message to a channel, creating the channel on demand.
sdk/engine/board.go:205
↓ 25 callers
Method
Error
()
sdk/telemetry/log_test.go:372
↓ 25 callers
Method
Extract
(ctx context.Context, scope Scope, msgs []llm.Message, opts ...ExtractOption)
sdk/recall/extractor.go:129
↓ 25 callers
Method
Get
Get retrieves the object content. Returns ErrKeyNotFound if absent.
sdkx/workspace/objstore/store.go:25
↓ 25 callers
Method
HasToolCalls
HasToolCalls reports whether the message contains any tool calls.
sdk/model/message.go:206
↓ 25 callers
Method
Lookup
Lookup implements EntityStore.
sdk/recall/entity_store.go:431
↓ 25 callers
Function
NewFileSummaryStore
NewFileSummaryStore creates a FileSummaryStore rooted at the given prefix.
memory/history/summary_store.go:109
↓ 25 callers
Function
NewFileSummaryStore
NewFileSummaryStore creates a FileSummaryStore rooted at the given prefix.
sdk/history/summary_store.go:108
↓ 25 callers
Method
RecallExplain
(ctx context.Context, scope Scope, req Request)
sdk/recall/memory.go:123
↓ 25 callers
Method
Register
Register adds a provider factory. Overwrites any previous registration.
sdk/llm/factory.go:85
↓ 25 callers
Function
createProvider
(t *testing.T, spec providerSpec)
tests/conformance/llm/provider_test.go:82
↓ 25 callers
Function
exec
(t *testing.T, tool *memorytool.Tool, args map[string]any)
sdkx/tool/memory/tool_test.go:19
↓ 25 callers
Function
makeSilentFrame
Frame helpers for testing.
voice/session_test.go:24
↓ 25 callers
Function
newService
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 callers
Function
newService
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 callers
Function
openInternalIndex
(t *testing.T, dir string, opts ...Option)
memory/retrieval/bbh/index_test.go:791
↓ 24 callers
Method
Append
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 callers
Function
NamespaceFor
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 callers
Function
NewFallbackLLM
NewFallbackLLM creates a fallback-aware LLM from a primary and fallbacks.
sdk/llm/fallback.go:197
↓ 24 callers
Function
NewTextMessage
NewTextMessage creates a simple text message.
sdk/model/message.go:216
↓ 24 callers
Method
Publish
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 callers
Method
Sources
Sources collects non-nil sources in registration order.
memory/recall/internal/lens/registry.go:68
↓ 24 callers
Function
gotIDs
(facts []recall.TemporalFact)
memory/recall/recalltest/helpers.go:14
↓ 24 callers
Function
long
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 callers
Method
Delete
(ctx context.Context, namespace string, ids []string)
sdk/retrieval/index.go:11
↓ 23 callers
Method
Get
(ctx context.Context, datasetID, docName string, layer Layer)
sdk/knowledge/repo.go:128
↓ 23 callers
Function
NewResolver
NewResolver creates a new Resolver.
sdk/graph/variable/resolver.go:21
↓ 23 callers
Function
Register
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 callers
Function
newTestClaw
(t *testing.T, ws sdkworkspace.Workspace, client llm.LLM, mutate func(*Config))
sdkx/claw/claw_test.go:16
↓ 23 callers
Function
temporalFact
(id, mergeKey string, kind recall.FactKind, observedAt time.Time, entities ...string)
memory/recall/recalltest/store.go:365
↓ 22 callers
Method
CanonicalKey
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 callers
Method
Error
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 callers
Method
Forget
Forget hard-deletes one entry; journal (when configured) captures the reason.
sdk/recall/memory.go:72
↓ 22 callers
Method
Info
()
sdk/workspace/mem.go:291
↓ 22 callers
Method
Internal
()
sdk/errdefs/errors.go:51
↓ 22 callers
Method
Run
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 callers
Method
Stop
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 callers
Function
WithVADSampleRate
(rate int)
voice/vad/vad.go:39
↓ 22 callers
Function
contextItemWithSource
(id, evidenceID, source string, score float64, text string)
memory/recall/internal/pipeline/read/stages/context_pack_test.go:928
↓ 22 callers
Function
hit
(id string, score float64)
memory/retrieval/scoring/fusion_test.go:9
↓ 22 callers
Function
hit
(id string, score float64)
sdk/retrieval/scoring/fusion_test.go:9
↓ 22 callers
Function
makeMsg
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 callers
Function
makeMsg
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 callers
Function
newKanban
newKanban returns a Kanban + Board pair, both auto-stopped on test cleanup.
sdk/kanban/helpers_test.go:57
↓ 22 callers
Function
scope
()
memory/recall/internal/lens/profile/projection_test.go:11
↓ 21 callers
Method
AddScope
AddScope registers a named scope with its values.
sdk/graph/variable/resolver.go:26
↓ 21 callers
Method
Compact
Compact runs DAG compact for one conversation. Serialized against concurrent Append/Archive on the same conversationID.
sdk/history/history.go:74
↓ 21 callers
Method
Done
Done is closed after Close has canceled the context and all accepted work has returned.
memory/internal/background/group.go:48
↓ 21 callers
Method
Exec
(ctx context.Context, cmd string, args []string, opts ExecOptions)
sdk/sandbox/sandbox.go:17
↓ 21 callers
Method
Feed
(chunk []byte)
voice/vad/vad.go:11
↓ 21 callers
Function
New
New creates a new JS runtime with a VM pool.
sdk/script/jsrt/jsrt.go:71
↓ 21 callers
Function
NewWorkspace
NewWorkspace creates a workspace.Workspace backed by an ObjectStore.
sdkx/workspace/objstore/workspace.go:30
↓ 21 callers
Method
Required
Required marks the given property names as required in the JSON Schema. Duplicate names are silently ignored.
sdk/tool/schema.go:97
↓ 21 callers
Method
SaveMessages
(_ context.Context, conversationID string, messages []model.Message)
memory/history/store.go:164
↓ 21 callers
Method
SaveMessages
(_ context.Context, conversationID string, messages []model.Message)
sdk/history/store.go:164
↓ 21 callers
Method
Submit
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 callers
Method
Update
(msg tea.Msg)
cmd/claw/cli/tui_model.go:112
↓ 21 callers
Function
WithPoolSize
WithPoolSize sets the VM pool size.
sdk/script/jsrt/jsrt.go:24
↓ 21 callers
Method
flushWriteTelemetry
()
memory/recall/scope_generation.go:53
↓ 21 callers
Function
jsonString
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 callers
Function
makePCM16
--------------------------------------------------------------------------- Helpers ------------------------------------------------------------------
voice/vad/vad_test.go:54
↓ 21 callers
Function
newChunkRepo
(t *testing.T)
memory/knowledge/backend/retrieval/chunk_test.go:13
↓ 21 callers
Function
newChunkRepo
(t *testing.T)
sdk/knowledge/backend/retrieval/chunk_test.go:13
↓ 21 callers
Function
newResolverWithRegistry
--------------------------------------------------------------------------- Test-only resolver constructor -------------------------------------------
sdk/llm/resolver_test.go:23
↓ 21 callers
Function
openInternalIndex
(t *testing.T, dir string, opts ...Option)
sdk/retrieval/bbh/index_test.go:792
↓ 20 callers
Method
AddDocument
AddDocument updates corpus statistics for a new document's tokens.
memory/text/bm25/corpus.go:29
↓ 20 callers
Method
Get
(ctx context.Context, namespace, id string)
sdk/retrieval/index.go:20
↓ 20 callers
Method
Len
Len returns how many problems are recorded.
cmd/vesseld/resolver/errors.go:39
↓ 20 callers
Function
New
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 callers
Function
NewEnergyDetector
NewEnergyDetector creates an EnergyDetector with the given options.
voice/detect/energy.go:80
↓ 20 callers
Method
Remove
Remove deletes a dependency. Missing keys are a no-op.
sdk/engine/deps.go:54
↓ 20 callers
Method
String
String returns a stable label for diagnostics.
sdk/event/observer.go:83
↓ 20 callers
Method
Subscribe
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 callers
Method
Text
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 callers
Function
WithCaps
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 callers
Function
newLocalWS
(t *testing.T)
sdk/workspace/local_test.go:364
↓ 20 callers
Function
newScheduler
--------------------------------------------------------------------------- Helpers — schedulers are typically wired through Kanban.New(WithScheduler)
sdk/kanban/scheduler_test.go:16
↓ 20 callers
Function
newTestWS
()
sdkx/workspace/objstore/workspace_test.go:8
↓ 20 callers
Function
stubTool
(name string)
sdk/tool/registry_test.go:14
↓ 19 callers
Method
ContainsAny
ContainsAny reports whether any token occurs as a folded token.
memory/text/phrase/matcher.go:55
↓ 19 callers
Method
Lookup
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 callers
Function
NamespaceFor
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 callers
Function
New
New creates a new Lua runtime with a VM pool.
sdk/script/luart/luart.go:69
↓ 19 callers
Function
NewContextPack
(reranker port.Reranker)
memory/recall/internal/pipeline/read/stages/context_pack.go:23
← previous
next →
201–300 of 13,468, ranked by callers