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
↓ 992 callers
Method
New
(provider, apiKey, baseURL string, opts ...STTProviderOption)
voice/stt/stt.go:77
↓ 642 callers
Method
Unlock
Unlock releases the per-key lock for key. Calling Unlock without a matching prior Lock panics (mirrors sync.Mutex). Safe to call Unlock(K1) and Unlock
sdk/internal/syncx/keyedmutex.go:76
↓ 573 callers
Method
Lock
Lock blocks until the caller holds the per-key lock for key. Two Lock(K) calls with the same key serialise; Lock(K1) and Lock(K2) for distinct keys ne
sdk/internal/syncx/keyedmutex.go:57
↓ 492 callers
Method
Add
Add inserts one pre-built Entry verbatim and returns the assigned entry ID. Two ingest modes: - e.ID == "" (content-addressable): the ID is derived
sdk/recall/memory.go:64
↓ 473 callers
Method
Contains
Contains reports whether word is in the set. The check is case-insensitive — callers can pass raw surface forms.
memory/text/stopword/set.go:28
↓ 439 callers
Method
Run
(ctx context.Context, state *State)
sdk/retrieval/pipeline/pipeline.go:55
↓ 378 callers
Method
String
()
sdk/llm/resolver.go:189
↓ 361 callers
Method
Contains
Contains checks if a path contains a substring — intended for tests.
sdk/workspace/mem.go:252
↓ 343 callers
Method
Content
Content returns the concatenated text of all text parts.
sdk/model/message.go:173
↓ 319 callers
Method
Err
()
sdk/llm/llm.go:130
↓ 310 callers
Method
Close
Close shuts down the bus. After Close returns, every subscription channel will be closed and subsequent Publish / Subscribe calls return ErrBusClosed.
sdk/event/bus.go:50
↓ 258 callers
Method
Unlock
Unlock releases the per-key lock for key. Calling Unlock without a matching prior Lock panics (mirrors sync.Mutex). Safe to call Unlock(K1) and Unlock
memory/internal/syncx/keyedmutex.go:76
↓ 248 callers
Method
Load
Load returns messages suited for the next LLM call. Implementations MAY compress, summarize, or window the underlying transcript. budget is a hint; i
sdk/history/history.go:22
↓ 247 callers
Method
Close
Close releases backend resources.
memory/recall/internal/port/store.go:141
↓ 243 callers
Method
Lock
Lock blocks until the caller holds the per-key lock for key. Two Lock(K) calls with the same key serialise; Lock(K1) and Lock(K2) for distinct keys ne
memory/internal/syncx/keyedmutex.go:57
↓ 232 callers
Method
Error
()
sdk/errdefs/http_test.go:17
↓ 224 callers
Method
Save
Save extracts facts from msgs and writes them synchronously.
sdk/recall/memory.go:37
↓ 197 callers
Method
Upsert
(ctx context.Context, namespace string, docs []Doc)
sdk/retrieval/index.go:10
↓ 186 callers
Method
Search
(ctx context.Context, namespace string, req SearchRequest)
sdk/retrieval/index.go:12
↓ 185 callers
Method
Write
(ctx context.Context, path string, data []byte)
sdk/workspace/workspace.go:21
↓ 167 callers
Method
Exec
(ctx context.Context, name, source string, env *Env)
sdk/script/script.go:39
↓ 167 callers
Method
Run
(ctx context.Context, job SideEffectJob)
memory/recall/internal/port/side_effect_outbox.go:90
↓ 157 callers
Method
Generate
(ctx context.Context, messages []Message, opts ...GenerateOption)
sdk/llm/llm.go:119
↓ 152 callers
Method
Cleanup
(opts CleanupOptions)
sdk/graph/runner/internal/executor/checkpoint.go:70
↓ 151 callers
Function
New
New constructs a v2 Memory. The defaults wire a fully in-memory stack so callers can exercise the write path without external dependencies; production
memory/recall/memory.go:180
↓ 136 callers
Method
IsZero
IsZero reports whether no time bounds were supplied.
memory/recall/internal/domain/query.go:14
↓ 136 callers
Method
Wait
Wait blocks until the run reaches a terminal state, then returns the agent.Result and any error returned by agent.Run. Wait honours ctx cancellation:
vessel/handle.go:77
↓ 126 callers
Method
Close
Close releases signaling resources (HTTP connections, etc.).
voice/webrtc/signaling.go:25
↓ 124 callers
Method
Replace
(ctx context.Context, datasetID, docName string, chunks []DerivedChunk)
sdk/knowledge/repo.go:44
↓ 123 callers
Function
asMap
asMap is the unchecked downcast we apply when State is structured (Sierra's initial_state.json is rigorously typed; this helper exists only to keep ca
eval/taubench/sierra_common.go:77
↓ 122 callers
Method
Done
Done returns the underlying done channel for callers that want to integrate Handle completion into a larger select{}. The channel is closed when the r
vessel/handle.go:94
↓ 120 callers
Method
Done
Done transitions a claimed card to done status with a result payload. Publishes EventTaskCompleted to Bus() for task-typed cards.
sdk/kanban/board.go:248
↓ 120 callers
Method
Next
()
sdk/llm/llm.go:128
↓ 116 callers
Method
Set
Set stores a dependency under the given key. Overwrites any existing value for the same key.
sdk/engine/deps.go:33
↓ 113 callers
Method
Error
()
voice/provider/error.go:24
↓ 107 callers
Method
Get
(ctx context.Context, scope domain.Scope, factID string)
memory/recall/internal/port/ingest.go:137
↓ 107 callers
Method
Read
()
voice/audio/stream.go:17
↓ 106 callers
Method
IsZero
IsZero reports whether the spec carries no caps, no defaults, and no limits. Used by the resolver to skip the wrap step entirely.
sdk/llm/spec.go:36
↓ 104 callers
Method
Skip
(ctx context.Context, state S)
memory/recall/internal/pipeline/pipeline.go:73
↓ 95 callers
Method
Do
Do is the low-level escape hatch when a test needs full control of headers / status / streaming. It dials the daemon's unix socket, sets the default a
tests/e2e/vesseld/helpers/api.go:43
↓ 94 callers
Method
Decode
Decode decodes a single compressed packet into PCM16LE samples.
voice/webrtc/codec.go:20
↓ 89 callers
Method
Close
Close stops async workers and the TTL sweeper; safe to call more than once.
sdk/recall/memory.go:76
↓ 86 callers
Method
PartitionKey
PartitionKey is the canonical store / projection / async-queue partition ("rt-1/u:alice" / "rt-1/global"). AgentID is intentionally excluded — per doc
memory/recall/internal/domain/canonical.go:11
↓ 84 callers
Method
Get
(ctx context.Context, id JobID)
sdk/recall/jobs.go:83
↓ 84 callers
Method
SetVar
(key string, value any)
sdk/script/bindings/bridge_board.go:26
↓ 83 callers
Function
conformanceScope
()
memory/recall/recalltest/helpers.go:10
↓ 82 callers
Method
Error
()
memory/recall/ops/types.go:203
↓ 82 callers
Method
Put
(ctx context.Context, layer DerivedLayer)
sdk/knowledge/repo.go:127
↓ 80 callers
Method
List
List returns scope-local facts matching the query, ordered by ObservedAt ascending.
memory/recall/internal/port/store.go:57
↓ 80 callers
Method
Register
Register adds a tool to the registry with the default scope (ScopeAgent).
sdk/tool/registry.go:104
↓ 79 callers
Method
Shutdown
Shutdown stops accepting new work and waits for in-flight per- conversation queues to drain. After Shutdown is observed, Append/Compact/Archive return
sdk/history/history.go:91
↓ 76 callers
Method
Type
()
sdk/graph/core.go:43
↓ 75 callers
Method
GetVar
(key string)
sdk/script/bindings/bridge_board.go:25
↓ 74 callers
Method
Name
Name is used for logs / metrics and to distinguish multiple projections registered against the same Memory.
sdk/recall/projection.go:51
↓ 73 callers
Method
Execute
(ctx context.Context, arguments string)
sdk/tool/tool.go:14
↓ 72 callers
Method
Resolve
(ctx context.Context, model string)
sdk/llm/resolver.go:125
↓ 72 callers
Method
Start
(ctx context.Context, id JobID, now time.Time)
sdk/recall/jobs.go:79
↓ 71 callers
Method
Project
Project conveys "these entries currently exist (alive, not tombstoned/expired) in the primary index, under scope". Semantics are ADDITIVE: the projec
sdk/recall/projection.go:68
↓ 71 callers
Function
WithTemporalStore
WithTemporalStore installs the canonical TemporalFact store. The default is an in-memory store suitable for tests and local development. Production d
memory/recall/store.go:47
↓ 70 callers
Method
Error
()
sdk/script/bindings/bridge_shell_test.go:37
↓ 66 callers
Method
Append
Append attaches refs to factID within scope. Implementations must be idempotent on (scope, factID, refs[i].ID).
memory/recall/internal/port/store.go:123
↓ 66 callers
Method
AppendChannelMessage
(name string, msg model.Message)
sdk/script/bindings/bridge_board.go:30
↓ 64 callers
Method
SetVar
---------- Vars ---------- SetVar sets a board-level variable. Concurrent-safe.
sdk/engine/board.go:78
↓ 62 callers
Method
Produce
Produce creates a new Card in Pending status and notifies matching watchers.
sdk/kanban/board.go:164
↓ 62 callers
Function
schemaString
--- tiny schema helpers --- These return JSON-Schema fragments. They live here (not sierra_common.go) so each tool's registration call stays readable
eval/taubench/sierra_retail.go:833
↓ 61 callers
Method
Send
Send injects a text message into the session, skipping STT. If the session is currently responding or playing, it triggers a barge-in. Returns false i
voice/session.go:192
↓ 60 callers
Function
DefaultDAGConfig
DefaultDAGConfig returns a DAGConfig with sensible defaults.
memory/history/compactor.go:876
↓ 60 callers
Function
DefaultDAGConfig
DefaultDAGConfig returns a DAGConfig with sensible defaults.
sdk/history/compactor.go:876
↓ 59 callers
Method
Header
Header returns the header value or "" when absent.
sdk/event/envelope.go:159
↓ 59 callers
Method
String
String returns the raw prefix name.
memory/retrieval/namespace/prefix.go:42
↓ 59 callers
Method
Validation
()
sdk/errdefs/errors.go:42
↓ 58 callers
Method
IsDir
()
sdk/workspace/mem.go:289
↓ 57 callers
Method
Close
Close performs a multi-phase shutdown: 1. Take the write lock, mark closed, snapshot subscribers, release lock. New Publish / Subscribe calls now fai
sdk/event/memory.go:524
↓ 57 callers
Method
Delete
Delete removes facts by ID within a scope. Missing IDs are ignored so callers can issue idempotent forgets.
memory/recall/internal/port/store.go:93
↓ 57 callers
Method
Exists
(ctx context.Context, path string)
sdk/workspace/workspace.go:37
↓ 55 callers
Method
Stop
Stop is the impatient counterpart to Drain. It transitions to PhaseStopping, cancels the Captain's root context (which propagates ctx cancellation to
vessel/captain.go:615
↓ 54 callers
Function
argString
Sierra τ-bench tool ports — common helpers Sierra's Python tools (sierra-research/tau-bench, commit 59a200c6, dated 2026-03-18) all follow the same w
eval/taubench/sierra_common.go:36
↓ 54 callers
Function
newScope
()
sdk/recall/memory_test.go:37
↓ 52 callers
Method
ExecuteBoard
(ctx ExecutionContext, board *Board)
sdk/graph/core.go:44
↓ 52 callers
Method
Read
(ctx context.Context, path string)
sdk/workspace/workspace.go:20
↓ 51 callers
Method
Recall
Recall runs the configured retrieval pipeline against the scope-derived namespace.
sdk/recall/memory.go:68
↓ 51 callers
Method
Send
Send writes a value into the pipe. Returns false if the pipe has been interrupted (context cancelled). Blocks if the buffer is full.
voice/audio/stream.go:78
↓ 51 callers
Method
Stat
(ctx context.Context, path string)
sdk/workspace/workspace.go:38
↓ 50 callers
Method
Len
Len returns the number of cards.
sdk/kanban/board.go:421
↓ 50 callers
Method
MustWrite
MustWrite panics on error — intended for tests.
sdk/workspace/mem.go:245
↓ 50 callers
Function
NewMemWorkspace
()
sdk/workspace/mem.go:29
↓ 50 callers
Method
Open
Open returns the per-run workspace for runID. Implementations must return the same instance for the same runID within their process lifetime; this is
vessel/session.go:41
↓ 50 callers
Method
Search
(ctx context.Context, q ChunkQuery)
sdk/knowledge/repo.go:49
↓ 50 callers
Method
String
String returns the raw prefix name.
sdk/retrieval/namespace/prefix.go:42
↓ 50 callers
Function
emit
emit is the core logging function. It creates an OTel LogRecord, injects trace_id/span_id from ctx when available, and emits it through the global Log
sdk/telemetry/logger.go:36
↓ 49 callers
Method
Clone
()
sdk/engine/board.go:37
↓ 49 callers
Method
String
()
cmd/claw/cli/auto.go:1056
↓ 48 callers
Method
Launch
Launch transitions the Captain from PhasePending into PhaseRunning, subscribes every Sidecar agent to the bus, and starts the probe loop (when Probes
vessel/captain.go:305
↓ 48 callers
Function
NewInMemoryStore
NewInMemoryStore creates a new in-memory message store with optional limits.
memory/history/store.go:88
↓ 48 callers
Function
NewInMemoryStore
NewInMemoryStore creates a new in-memory message store with optional limits.
sdk/history/store.go:88
↓ 48 callers
Method
ReadFile
(string)
sdk/graph/node/scriptnode/register_test.go:35
↓ 47 callers
Method
Build
(deps Deps)
memory/recall/internal/lens/lens.go:14
↓ 47 callers
Method
GetVar
GetVar retrieves a board-level variable.
sdk/engine/board.go:92
↓ 47 callers
Method
Supports
Supports reports whether the model supports the given capability.
sdk/llm/capability.go:69
↓ 47 callers
Method
URL
URL returns the base URL the LLMProfile config should use as `base_url` (a.k.a. `baseURL` in YAML).
tests/e2e/vesseld/helpers/mockopenai.go:152
next →
1–100 of 13,468, ranked by callers