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
↓ 7 callers
Function
decodeVector
(b []byte)
memory/retrieval/sqlite/index.go:957
↓ 7 callers
Method
emit
emit appends to trace and pushes to the telemetry hook in that order. Both targets are optional; missing ones are silently skipped. Emission order mat
memory/recall/internal/pipeline/pipeline.go:229
↓ 7 callers
Method
endTurn
()
voice/session_loop.go:343
↓ 7 callers
Method
ensureNS
(ctx context.Context, ns string)
memory/retrieval/postgres/index.go:95
↓ 7 callers
Method
ensureNS
(ctx context.Context, ns string)
memory/retrieval/sqlite/index.go:97
↓ 7 callers
Function
envWithRuntime
RuntimeBinding is normally wired by scriptnode, not user code, so these tests assemble the same shape manually: parent env -> "runtime" binding -> chi
sdk/script/bindings/bridge_runtime_test.go:29
↓ 7 callers
Function
execBuiltin
execBuiltin builds a ScriptNode from the named built-in script and runs it once with a recording publisher attached so callers can assert on host.emit
sdk/graph/node/scriptnode/builtins_test.go:51
↓ 7 callers
Function
execErr
(t *testing.T, tool *memorytool.Tool, args map[string]any)
sdkx/tool/memory/tool_test.go:32
↓ 7 callers
Function
finishTestMetrics
(metrics testMetrics)
cmd/claw/cli/test_turn.go:103
↓ 7 callers
Function
hasStage
(stages []diagnostic.StageDiagnostic, name string)
memory/recall/memory_rebuild_test.go:456
↓ 7 callers
Function
isZeroCacheControl
(cc asdk.CacheControlEphemeralParam)
sdkx/llm/anthropic/cache_test.go:304
↓ 7 callers
Method
layerPath
layerPath is the per-document layer text path. LayerAbstract -> <base>.abstract LayerOverview -> <base>.overview LayerDetail -> "" (detail text
memory/knowledge/backend/fs/paths.go:105
↓ 7 callers
Method
layerPath
layerPath is the per-document layer text path. LayerAbstract -> <base>.abstract LayerOverview -> <base>.overview LayerDetail -> "" (detail text
sdk/knowledge/backend/fs/paths.go:108
↓ 7 callers
Function
makeCheckpoint
---------- helpers ----------
sdkx/engine/checkpoint/conformance/suite.go:40
↓ 7 callers
Function
makeFlushedSegments
makeFlushedSegments produces n flushed segments, each containing one doc whose ID is "doc-<segIdx>". A small per-segment MemtableMaxDocs threshold cou
memory/retrieval/workspace/compaction_test.go:20
↓ 7 callers
Function
marshal
(v any)
sdkx/tool/memory/tool.go:371
↓ 7 callers
Function
matchesAny
matchesAny reports whether path matches any of the given patterns. Supported pattern forms: - "dir/**" — matches dir itself and everything unde
sdk/workspace/scoped.go:213
↓ 7 callers
Function
messageToMap
messageToMap projects one model.Message. Role plus parts is the canonical shape; we also expose `content` (= Message.Content()) as a convenience for s
sdk/script/bindings/llm_marshal.go:86
↓ 7 callers
Function
msgUser
(text string)
sdk/recall/recent_turns_test.go:15
↓ 7 callers
Function
newMockServer
newMockServer returns a httptest server that decodes the inbound request, hands it to handler for inspection, and writes back the supplied raw respons
sdkx/llm/minimax/image/image_test.go:20
↓ 7 callers
Function
newRecording
(want int)
memory/knowledge/reloader_test.go:38
↓ 7 callers
Function
newRecording
(want int)
sdk/knowledge/reloader_test.go:38
↓ 7 callers
Function
newTestCaptain
(t *testing.T, opts ...Option)
vessel/captain_test.go:53
↓ 7 callers
Function
normalizeEvidenceQuote
(s string)
memory/recall/internal/ingest/extractor_llm.go:1514
↓ 7 callers
Function
pathSize
(ctx context.Context, path string)
memory/retrieval/bbh/inspector.go:406
↓ 7 callers
Method
payloads
(subject event.Subject)
sdk/graph/runner/internal/executor/parallel_test.go:841
↓ 7 callers
Function
projectDoc
(d retrieval.Doc, project []string, withVector bool)
memory/retrieval/bbh/index.go:957
↓ 7 callers
Function
projectDoc
(d retrieval.Doc, project []string, withVector bool)
sdk/retrieval/bbh/index.go:937
↓ 7 callers
Function
publishLifecycle
publishLifecycle is the lifecycle-event analogue of engine.EmitStreamDelta — the engine package only ships emit helpers for stream-delta envelopes, so
cmd/vesseld/catalog/engine_graph_llm.go:31
↓ 7 callers
Method
resetBargeInConfirm
()
voice/session_loop.go:531
↓ 7 callers
Function
resolveConfig
(root string, opts []Option)
memory/retrieval/bbh/config.go:136
↓ 7 callers
Function
resolveConfig
(root string, opts []Option)
sdk/retrieval/bbh/config.go:126
↓ 7 callers
Method
resolveTools
resolveTools returns the tool registry and effective allow-list for one round, applying contract-audit Epic A's policy: 1. Registry: graph.ExecutionC
sdk/graph/node/llmnode/llmnode.go:105
↓ 7 callers
Function
sanitizeToolPairs
sanitizeToolPairs removes orphaned tool_result messages that can appear after truncation. Anthropic (and compatible APIs) require every tool_result to
memory/history/sanitize.go:13
↓ 7 callers
Function
sanitizeToolPairs
sanitizeToolPairs removes orphaned tool_result messages that can appear after truncation. Anthropic (and compatible APIs) require every tool_result to
sdk/history/sanitize.go:13
↓ 7 callers
Function
scopeID
scopeID returns a per-call unique scope identifier rooted at the test name. Use this in any test that creates a Board so failures stay attributable.
sdk/kanban/helpers_test.go:27
↓ 7 callers
Function
sdpExchange
(t *testing.T, ctx context.Context, server *rtc.Transport, clientPC *webrtc.PeerConnection)
voice/webrtc/transport_test.go:180
↓ 7 callers
Function
setExampleEnv
(t *testing.T)
cmd/claw/cli/config_file_test.go:127
↓ 7 callers
Function
sideEffectJob
(requestID string, kind recall.SideEffectJobKind, factID string)
memory/recall/recalltest/side_effects.go:200
↓ 7 callers
Function
sqliteJSONPath
(k string)
memory/retrieval/sqlite/index.go:668
↓ 7 callers
Function
stepActorFor
stepActorFor builds the engine.SubjectStep* "stepActor" segment for a graph runner step. The contract documented at sdk/engine/subjects.go demands the
sdk/graph/runner/internal/executor/executor.go:87
↓ 7 callers
Function
streamEnvelope
(t *testing.T, runID, stepActor string, payload map[string]any)
sdkx/claw/roundtrip_test.go:1141
↓ 7 callers
Method
submitWithCron
submitWithCron registers a dynamic cron job and persists it as a cron_rule card. The caller's ctx (producer ID + trace span) is preserved on the Event
sdk/kanban/scheduler.go:405
↓ 7 callers
Function
successBody
(images ...string)
sdkx/llm/qwen/image/image_test.go:39
↓ 7 callers
Function
testValueBridge
(value string)
sdk/graph/node/scriptnode/register_test.go:19
↓ 7 callers
Function
toWorkspacePath
toWorkspacePath validates the LLM-emitted path and returns the equivalent workspace-relative path. The "memories" segment is preserved so the tool sta
sdkx/tool/memory/tool.go:148
↓ 7 callers
Method
transitionToFailed
transitionToFailed is the bridge the probe loop uses to surface a fatal verdict. It runs without holding c.mu — the probe loop must remain non-blockin
vessel/captain.go:681
↓ 7 callers
Function
usage
()
cmd/claw/cli/cli.go:47
↓ 7 callers
Function
valuesEqual
(a, b any)
memory/retrieval/filter_match.go:121
↓ 7 callers
Function
valuesEqual
(a, b any)
sdk/retrieval/filter_match.go:121
↓ 7 callers
Method
withDatasets
withDatasets returns a copy of q whose resolvedDatasets is set; used by Service.Search to push the resolved fan-out list down to retrievers without mu
memory/knowledge/query.go:67
↓ 7 callers
Method
withDatasets
withDatasets returns a copy of q whose resolvedDatasets is set; used by Service.Search to push the resolved fan-out list down to retrievers without mu
sdk/knowledge/query.go:67
↓ 7 callers
Function
writeCountTable
(w io.Writer, name string, counts map[string]int)
eval/locomo/cli_analyze_recall.go:979
↓ 7 callers
Function
writeJSON
writeJSON is the small helper used by both handlers. We avoid importing the daemon's own writeJSON here to keep this helper dependency-free (only stdl
tests/e2e/vesseld/helpers/mockopenai.go:523
↓ 6 callers
Method
Accept
Accept handles the server-side flow: receives a remote SDP offer (typically from an HTTP handler), creates an answer, and returns it. The caller is re
voice/webrtc/transport.go:77
↓ 6 callers
Method
Add
Add returns a new TokenUsage that is the sum of u and other. Numeric fields (token counts, latency, cost) are summed. Model is preserved from u when
sdk/model/message.go:333
↓ 6 callers
Method
AsyncSemanticQueue
AsyncSemanticQueue returns the async semantic durable queue adapter.
memory/recall/store/sqlite/backend.go:81
↓ 6 callers
Function
BuildLineage
BuildLineage walks the supersede chain and revision DAG outward from root and returns every reachable fact exactly once. The traversal follows four ed
memory/recall/internal/domain/lineage.go:82
↓ 6 callers
Method
C
C returns the signal channel consumed by the owner loop.
memory/internal/background/debouncer.go:36
↓ 6 callers
Method
C
C returns the signal channel consumed by the owner loop.
sdk/internal/background/debouncer.go:36
↓ 6 callers
Method
Clone
Clone creates an independent deep copy of this Resolver. All nested maps and slices are recursively copied so that parallel branches cannot mutate eac
sdk/graph/variable/resolver.go:33
↓ 6 callers
Function
DefaultDefaults
DefaultDefaults returns the package's conservative local defaults.
vessel/assembly/manifest.go:33
↓ 6 callers
Method
EffectiveFederation
EffectiveFederation returns the deduped recall scope list: primary first, then each Federation entry (sub-scope Federation ignored).
memory/recall/internal/domain/canonical.go:37
↓ 6 callers
Method
EffectivePartitions
EffectivePartitions returns Partitions if non-empty, else the auto- derived single-partition slice based on IsGlobal.
sdk/recall/entry.go:148
↓ 6 callers
Function
Enable
Enable re-enables convenience log functions.
sdk/telemetry/logger.go:31
↓ 6 callers
Method
Enqueue
(ctx context.Context, namespace string, payload JobPayload)
sdk/recall/jobs.go:77
↓ 6 callers
Method
Evaluate
Evaluate runs the compiled condition against the given Board variables.
sdk/graph/condition.go:29
↓ 6 callers
Method
Export
(ctx context.Context, records []sdklog.Record)
sdk/telemetry/log.go:242
↓ 6 callers
Function
FromContext
--------------------------------------------------------------------------- Context error normalisation ----------------------------------------------
sdk/errdefs/errors.go:298
↓ 6 callers
Function
GenerateDatasetContext
GenerateDatasetContext derives dataset-level L0 + L1 from per-document abstracts. The L1 overview is generated first, then distilled into L0. Returns
memory/knowledge/generator.go:98
↓ 6 callers
Function
GenerateDatasetContext
GenerateDatasetContext derives dataset-level L0 + L1 from per-document abstracts. The L1 overview is generated first, then distilled into L0. Returns
sdk/knowledge/generator.go:98
↓ 6 callers
Method
GenerateStream
(ctx context.Context, messages []llm.Message, opts ...llm.GenerateOption)
sdkx/llm/mock/mock.go:63
↓ 6 callers
Method
GetEvidence
(ctx context.Context, scope Scope, factID string)
memory/recall/evidence.go:38
↓ 6 callers
Method
Has
Has reports whether the given key is present.
sdk/engine/deps.go:61
↓ 6 callers
Method
Hold
Hold starts (or nests) a buffered telemetry scope.
memory/recall/internal/telemetry/deferred.go:29
↓ 6 callers
Method
ID
ID is unique within the originating bus instance.
sdk/event/bus.go:56
↓ 6 callers
Function
IsProjectable
IsProjectable reports whether a fact belongs in projection indexes (profile / relation / graph / retrieval / entity / timeline). It is canonical-activ
memory/recall/internal/domain/temporal_fact.go:200
↓ 6 callers
Function
IsRetired
IsRetired reports whether a fact is hidden from default Recall: soft-closed or past ExpiresAt.
memory/recall/internal/domain/temporal_fact.go:230
↓ 6 callers
Method
LastInputSize
()
voice/webrtc/transport_test.go:42
↓ 6 callers
Method
List
(ctx context.Context, convID string, opts SummaryListOptions)
memory/history/summary_store.go:296
↓ 6 callers
Method
List
(ctx context.Context, convID string, opts SummaryListOptions)
sdk/history/summary_store.go:55
↓ 6 callers
Method
List
(ctx context.Context, convID string, opts SummaryListOptions)
sdk/history/summary_store.go:295
↓ 6 callers
Method
ListAll
(ctx context.Context, convID string)
sdk/history/summary_store.go:58
↓ 6 callers
Function
MergeFilters
MergeFilters returns a Filter that requires all non-empty inputs to match.
sdk/recall/scope.go:127
↓ 6 callers
Method
Names
Names returns the vessel names in plan order. Stable ordering matters for `vesseld plan` and the /v1/vessels listing.
cmd/vesseld/fleet/fleet.go:192
↓ 6 callers
Function
New
New creates an S3-backed ObjectStore.
sdkx/workspace/objstore/s3/s3.go:89
↓ 6 callers
Function
NewExporter
NewExporter constructs an Exporter from cfg. Path is required; defaults are applied for any zero-valued size/retention field. The underlying file is o
sdkx/telemetry/logfile/logfile.go:79
↓ 6 callers
Method
NewFromConfig
NewFromConfig creates an Embedder via the registered factory. Returns an error if the provider is not registered.
sdk/embedding/factory.go:31
↓ 6 callers
Function
NewLocalWorkspace
NewLocalWorkspace creates a workspace rooted at the given directory. The root path is resolved through EvalSymlinks to prevent the root itself from be
sdk/workspace/local.go:23
↓ 6 callers
Function
NewMemoryJournal
NewMemoryJournal returns an empty MemoryJournal.
memory/retrieval/journal/memory_journal.go:20
↓ 6 callers
Function
NewRunner
NewRunner creates an embeddable ops runner. It never starts goroutines; call Run explicitly when the surrounding process is ready to own the lifecycle
memory/recall/ops/runner.go:23
↓ 6 callers
Method
OnStage
OnStage implements port.TelemetryHook.
memory/recall/internal/telemetry/deferred.go:65
↓ 6 callers
Method
Open
Open returns (or creates) the on-disk workspace for runID. The runID is validated by [ValidateRunID] before being used as a path component.
vessel/session.go:204
↓ 6 callers
Method
Query
Query runs a text search restricted to the scope's namespace and applies the AgentID soft-isolation filter. When the caller's scope has a non-empty Ag
memory/recall/internal/lens/retrieval/source.go:57
↓ 6 callers
Method
RebuildAll
(ctx context.Context, scope Scope)
memory/recall/rebuild.go:34
↓ 6 callers
Method
RecordSave
RecordSave folds a Save diagnostic into the aggregate.
memory/recall/diagnostics/health.go:53
↓ 6 callers
Method
Register
(name string, factory STTProviderFactory)
voice/stt/stt.go:71
↓ 6 callers
Method
Reset
Reset schedules a signal after the quiet period. It returns false after Stop.
memory/internal/background/debouncer.go:46
↓ 6 callers
Method
Reset
Reset schedules a signal after the quiet period. It returns false after Stop.
sdk/internal/background/debouncer.go:46
↓ 6 callers
Function
Resolve
Resolve translates a list of apispec Objects (typically the loader's output) into a Plan. When the configuration has any validation, reference, or fac
cmd/vesseld/resolver/resolve.go:30
← previous
next →
901–1,000 of 13,468, ranked by callers