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
↓ 46 callers
Method
Flush
()
voice/vad/vad.go:13
↓ 46 callers
Method
Publish
Publish routes env to every matching subscription according to each subscription's BackpressurePolicy.
sdk/event/memory.go:271
↓ 46 callers
Function
newTestNode
(id string, fn func(graph.ExecutionContext, *graph.Board) error)
sdk/graph/runner/internal/executor/helpers_test.go:21
↓ 45 callers
Method
Close
Close shuts the underlying httptest.Server down. Always pair with `defer m.Close()` to avoid leaking listeners across tests.
tests/e2e/vesseld/helpers/mockopenai.go:156
↓ 45 callers
Function
New
New constructs a Captain from spec. It validates the spec, applies options, builds the per-agent runtime view (engine, seeder, observers), but does NO
vessel/captain.go:159
↓ 45 callers
Method
Phase
Phase reports the current lifecycle phase. Safe to call concurrently with Launch / Submit / Stop.
vessel/captain.go:279
↓ 45 callers
Function
chunk
(doc string, idx int, content string)
memory/knowledge/backend/retrieval/chunk_test.go:42
↓ 45 callers
Function
chunk
(doc string, idx int, content string)
sdk/knowledge/backend/retrieval/chunk_test.go:42
↓ 44 callers
Method
Close
()
eval/locomo/runners/runner.go:92
↓ 44 callers
Method
Parse
(text string, now time.Time)
memory/text/timex/timex.go:29
↓ 44 callers
Method
SearchDocs
(ctx context.Context, q ChunkQuery)
sdk/knowledge/repo.go:66
↓ 44 callers
Function
newReq
(text string)
sdk/agent/run_test.go:29
↓ 43 callers
Method
Call
Call is the synchronous sugar over Submit + Handle.Wait. It blocks until the run reaches a terminal state and returns the agent.Result + error pair ag
vessel/captain.go:537
↓ 43 callers
Method
Claim
(ctx context.Context, opts AsyncSemanticClaimOptions)
memory/recall/internal/port/async_semantic.go:44
↓ 43 callers
Method
Encode
Encode encodes a PCM16LE buffer into compressed audio. The pcm slice contains interleaved samples at the encoder's configured sample rate and channel
voice/webrtc/codec.go:10
↓ 42 callers
Function
ExtractJSON
ExtractJSON extracts the first complete JSON value (object/array/scalar) from text. It tolerates surrounding prose and markdown fenced code blocks, pr
sdk/llm/json.go:29
↓ 42 callers
Method
Name
Name identifies the source. Must match the constants used by the planner so per-source budgets line up.
memory/recall/internal/port/source.go:22
↓ 42 callers
Method
Rollback
(ctx context.Context, scope Scope, entryID string, before time.Time)
sdk/recall/memory.go:85
↓ 42 callers
Method
Tokenize
(text string)
sdk/textsearch/tokenizer.go:12
↓ 41 callers
Method
Lookup
(ctx context.Context, scope domain.Scope, entities []string)
memory/recall/internal/lens/entity/source.go:21
↓ 41 callers
Method
String
()
sdk/telemetry/log_test.go:62
↓ 41 callers
Method
Validate
()
cmd/vesseld/apispec/v1alpha1/meta.go:160
↓ 41 callers
Function
intersects
(a, b map[string]struct{})
memory/recall/internal/pipeline/read/stages/context_packer.go:1503
↓ 40 callers
Method
GenerateStream
(ctx context.Context, messages []Message, opts ...GenerateOption)
sdk/llm/llm.go:120
↓ 40 callers
Function
drainSideEffectsForTest
(t testing.TB, mem Memory, scope Scope)
memory/recall/side_effects_helpers_test.go:8
↓ 39 callers
Method
C
C returns the envelope channel. The channel is closed exactly once, either when Close is invoked or when the parent bus is closed.
sdk/event/bus.go:59
↓ 39 callers
Method
Done
()
memory/recall/internal/pipeline/compensator.go:40
↓ 39 callers
Method
Enqueue
(ctx context.Context, job AsyncSemanticJob)
memory/recall/internal/port/async_semantic.go:24
↓ 39 callers
Method
Error
()
memory/recall/internal/ingest/view.go:31
↓ 39 callers
Function
NewLocalExecutor
NewLocalExecutor creates a new LocalExecutor.
sdk/graph/runner/internal/executor/executor.go:284
↓ 38 callers
Method
Append
Append durably persists newMessages — and only newMessages — to the conversation. It MUST be safe to call from multiple goroutines for the same conver
sdk/history/history.go:29
↓ 38 callers
Method
Get
(ctx context.Context, ref string)
cmd/vesseld/secrets/secrets.go:31
↓ 38 callers
Method
NotAvailable
()
sdk/errdefs/errors.go:50
↓ 38 callers
Method
Query
Query emits candidates for the supplied plan. Implementations should respect plan.SourceBudgets[s.Name()] for fanout cap. A non-nil error on the Sourc
memory/recall/internal/port/source.go:28
↓ 38 callers
Function
asyncTestScope
asyncTestScope is the shared canonical scope used by the async memory facade tests. Tests rely on a stable scope so the in-memory queue's FIFO is obse
memory/recall/async_semantic_save_test.go:22
↓ 38 callers
Function
mustEnv
(t *testing.T, subj Subject, payload any)
sdk/event/memory_test.go:12
↓ 38 callers
Function
newBoard
newBoard returns a Board whose Close is registered with t.Cleanup, so tests never leak the board lifecycle goroutine.
sdk/kanban/helpers_test.go:49
↓ 38 callers
Function
writeKV
(b *strings.Builder, indent int, key, value string)
eval/locomo/runners/flowcraftv2/answer_context.go:812
↓ 37 callers
Method
Embed
(ctx context.Context, text string)
sdk/embedding/embedding.go:22
↓ 37 callers
Method
Name
Name identifies the probe in observability and probe-result reporting. Should be stable across restarts (e.g. "llm-reachable", "tool-reachable").
vessel/spec/probe.go:16
↓ 37 callers
Function
NewLLMExtractor
NewLLMExtractor wires an llm.LLM with the default system prompt.
memory/recall/internal/ingest/extractor_llm.go:485
↓ 36 callers
Method
Count
(ctx context.Context, namespace string, f Filter)
sdk/retrieval/index.go:67
↓ 36 callers
Method
Extract
Extract implements Extractor. Path: 1. Caller-supplied Input.Facts pass through unchanged (clone). 2. If Input.Turns is non-empty, render to JSONL an
memory/recall/internal/ingest/extractor_llm.go:509
↓ 36 callers
Method
GetVarString
GetVarString retrieves a board variable as a string. It returns "" when the key is missing or the stored value is not a string.
sdk/engine/board.go:101
↓ 36 callers
Method
PutDocument
--- Document lifecycle ---------------------------------------------------- PutDocument writes raw content under (datasetID, name). Behaviour: - Sour
sdk/knowledge/service.go:106
↓ 36 callers
Method
Reset
()
voice/vad/vad.go:12
↓ 36 callers
Function
WithAsyncSemanticQueue
WithAsyncSemanticQueue installs the durable outbox backend that Save(WriteModeAsyncSemantic) writes to inside the scope write lock. When this option
memory/recall/options.go:365
↓ 35 callers
Method
Context
Context returns the board lifecycle context. It is cancelled on Close.
sdk/kanban/board.go:161
↓ 35 callers
Method
DeleteByFilter
(ctx context.Context, namespace string, f Filter)
sdk/retrieval/index.go:72
↓ 35 callers
Function
NewRegistry
NewRegistry creates a new tool registry.
sdk/tool/registry.go:79
↓ 35 callers
Function
WithEngine
WithEngine wires a single, pre-constructed engine that every agent shares. Convenience for vessels whose agents all run the same graph; callers needin
vessel/option.go:83
↓ 35 callers
Function
asFloat
asFloat returns the underlying numeric value for a JSON-decoded `any`. encoding/json decodes JSON numbers as float64; some fixtures hand-write int lit
eval/taubench/sierra_common.go:91
↓ 34 callers
Method
GetMessages
(ctx context.Context, conversationID string)
sdk/history/store.go:22
↓ 34 callers
Method
Value
(key any)
memory/recall/internal/pipeline/compensator.go:42
↓ 33 callers
Method
ContainsPhrase
ContainsPhrase reports whether a folded token sequence occurs contiguously.
memory/text/phrase/matcher.go:60
↓ 33 callers
Function
NewSummaryDAG
NewSummaryDAG creates a new SummaryDAG.
memory/history/compactor.go:915
↓ 33 callers
Function
NewSummaryDAG
NewSummaryDAG creates a new SummaryDAG.
sdk/history/compactor.go:915
↓ 33 callers
Function
scope
()
memory/recall/internal/lens/relation/projection_test.go:11
↓ 32 callers
Function
DisabledCaps
DisabledCaps creates a ModelCaps with the given capabilities disabled.
sdk/llm/capability.go:79
↓ 32 callers
Method
Record
(ctx context.Context, ev Event)
sdk/retrieval/journal/journal.go:11
↓ 32 callers
Method
Subscribe
Subscribe creates a subscription. pattern is validated; ctx cancellation triggers Close.
sdk/event/memory.go:456
↓ 32 callers
Method
ToolCalls
ToolCalls extracts all tool-call parts.
sdk/model/message.go:184
↓ 32 callers
Function
collectStreamEvents
(t *testing.T, s audio.Stream[voice.Event])
voice/pipeline_test.go:22
↓ 32 callers
Method
now
()
eval/internal/notify/feishu_app.go:140
↓ 31 callers
Method
Compile
(ctx context.Context, input IngestInput)
memory/recall/internal/port/ingest.go:60
↓ 31 callers
Method
Error
Error formats the cause and detail into a human-readable message.
sdk/engine/interrupt.go:90
↓ 31 callers
Method
Execute
Execute runs the graph from entry (or startNode) to END.
sdk/graph/runner/internal/executor/executor.go:289
↓ 31 callers
Method
Save
(ctx context.Context, node *SummaryNode)
memory/history/summary_store.go:235
↓ 31 callers
Method
Save
(ctx context.Context, node *SummaryNode)
sdk/history/summary_store.go:234
↓ 30 callers
Method
ContainsAnyLiteral
ContainsAnyLiteral reports whether any raw literal occurs in the normalised lower-cased text.
memory/text/phrase/matcher.go:103
↓ 30 callers
Method
Error
Error implements the error interface. The string contains the Reason so logs that swallow ShortCircuit through a generic err.Error() call still carry
memory/recall/internal/pipeline/error.go:32
↓ 30 callers
Method
Get
Get returns a clone so callers cannot mutate stored facts.
memory/recall/internal/store/temporal/memory.go:129
↓ 30 callers
Function
NewMemoryBus
NewMemoryBus constructs an in-process Bus.
sdk/event/memory.go:108
↓ 30 callers
Method
SaveMessages
(ctx context.Context, conversationID string, messages []model.Message)
memory/history/store.go:311
↓ 30 callers
Method
SaveMessages
(ctx context.Context, conversationID string, messages []model.Message)
sdk/history/store.go:311
↓ 30 callers
Method
String
String formats the accumulated values for `--help` output.
cmd/vesseld/cli/flags.go:22
↓ 30 callers
Function
buildGraph
buildGraph creates an executable Graph from raw components for testing.
sdk/graph/runner/internal/executor/helpers_test.go:44
↓ 30 callers
Method
log
(format string, args ...any)
sdk/recall/memory.go:1085
↓ 30 callers
Function
newIdx
(t *testing.T, opts ...wsindex.Option)
memory/retrieval/workspace/write_test.go:30
↓ 30 callers
Function
newTransport
(t *testing.T, opts ...func(*rtc.TransportConfig))
voice/webrtc/transport_test.go:236
↓ 30 callers
Function
schemaObject
(props map[string]any, required []string)
eval/taubench/sierra_retail.go:853
↓ 29 callers
Method
Build
Build constructs a single node from its declarative definition. The engine's two reserved types (__end__ and passthrough) are handled directly so call
sdk/graph/node/factory.go:97
↓ 29 callers
Method
Current
()
sdk/llm/llm.go:129
↓ 29 callers
Method
Interrupt
Interrupt signals abnormal end of stream. Read returns context.Canceled immediately, even if buffered values remain. Idempotent.
voice/audio/stream.go:119
↓ 29 callers
Function
NewEnergyVAD
(opts ...VADOption)
voice/vad/vad.go:102
↓ 29 callers
Function
NewProviderRegistry
NewProviderRegistry returns an empty registry.
sdk/llm/factory.go:77
↓ 29 callers
Method
emitPipe
(ctx context.Context, out *audio.Pipe[Event], ev Event)
voice/pipeline.go:303
↓ 28 callers
Method
Feed
(input Input)
voice/endpoint/semantic.go:59
↓ 28 callers
Method
List
(ctx context.Context, namespace string, req ListRequest)
sdk/retrieval/index.go:13
↓ 28 callers
Function
New
New creates a ScriptNode with the given script and configuration.
sdk/graph/node/scriptnode/jsnode.go:33
↓ 28 callers
Method
Plan
(ctx context.Context, input PlannerInput)
memory/recall/internal/port/planner.go:35
↓ 28 callers
Method
Split
(content string)
sdk/knowledge/chunking.go:24
↓ 28 callers
Method
load
(ctx context.Context)
memory/recall/store/workspace/backend.go:73
↓ 28 callers
Function
min
(a, b int)
memory/retrieval/bbh/index.go:1020
↓ 27 callers
Method
Channel
(name string)
sdk/script/bindings/bridge_board.go:28
↓ 27 callers
Method
Close
()
sdk/retrieval/journal/journal.go:15
↓ 27 callers
Method
Handler
Handler returns the http.Handler so tests can drive routes via httptest.NewRecorder without spinning up a real listener.
cmd/vesseld/api/server.go:98
↓ 27 callers
Method
ID
()
sdk/graph/core.go:42
↓ 27 callers
Method
Len
Len reports the number of entries in the set.
memory/text/stopword/set.go:72
↓ 27 callers
Function
NewFileStore
NewFileStore creates a FileStore rooted at the given prefix directory within the workspace (e.g. "memory").
memory/history/store.go:240
← previous
next →
101–200 of 13,468, ranked by callers