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
↓ 6 callers
Function
publishNodeEvent
publishNodeEvent is publishGraphEvent + node_id header. The caller passes agent id and node id as two separate dimensions (envelope header level); the
sdk/graph/runner/internal/executor/subjects.go:133
↓ 6 callers
Function
rankedHint
(rank int, text string)
eval/locomo/answer_hints.go:139
↓ 6 callers
Function
readStages
readStages is a minimal happy-path read trace exercising every branch the Extract* helpers care about.
memory/recall/internal/domain/diagnostic/extract_test.go:47
↓ 6 callers
Function
readTest
(source string)
cmd/claw/cli/test.go:92
↓ 6 callers
Function
requiredString
(m map[string]any, key, ctx string)
sdk/script/bindings/llm_marshal.go:622
↓ 6 callers
Function
resolveSandboxes
resolveSandboxes materialises one [sandbox.Runner] per Sandbox document, wrapped in [sandbox.WithDefaults] so the spec's EnvPolicy / NetPolicy / Resou
cmd/vesseld/resolver/sandbox.go:23
↓ 6 callers
Function
resourceFlags
(r sandbox.ResourceLimits)
sdkx/sandbox/nsjail/flags.go:143
↓ 6 callers
Function
round2
round2 mirrors Python's round(x, 2). Sierra rounds every gift-card / price-difference computation this way; deviating produces an off-by-one-cent stat
eval/taubench/sierra_common.go:110
↓ 6 callers
Function
runEntityLinkRecall
runEntityLinkRecall materialises [State.CandidateEntityIDs] into retrieval.Hit by Get-ing each id under the search namespace, then scoring `1.0 / rank
memory/retrieval/pipeline/stages_recall.go:445
↓ 6 callers
Function
runEntityLinkRecall
runEntityLinkRecall materialises [State.CandidateEntityIDs] into retrieval.Hit by Get-ing each id under the search namespace, then scoring `1.0 / rank
sdk/retrieval/pipeline/stages_recall.go:445
↓ 6 callers
Method
segmentDir
segmentDir returns the directory for one segment id.
memory/retrieval/workspace/paths.go:47
↓ 6 callers
Function
short
short produces a sub-threshold filler string. Anchored at half the threshold so it's unambiguously below the floor.
sdkx/llm/anthropic/cache_test.go:19
↓ 6 callers
Function
sideEffectOutboxForTest
(t testing.TB, newOutbox SideEffectOutboxFactory)
memory/recall/recalltest/side_effects.go:191
↓ 6 callers
Function
snapshotCounters
(t *testing.T)
sdk/llm/metrics_test.go:45
↓ 6 callers
Function
softWrap
(text string, maxWidth, prefixCols int)
examples/voice-pipeline/tui.go:352
↓ 6 callers
Function
stageNames
(stages []diagnostic.StageDiagnostic)
memory/recall/memory_rebuild_test.go:465
↓ 6 callers
Function
stageTimeoutError
(stage string)
voice/pipeline.go:330
↓ 6 callers
Function
startOfDay
(t time.Time)
memory/text/timex/relative.go:404
↓ 6 callers
Method
stopTurn
()
voice/session_loop.go:452
↓ 6 callers
Function
stringFromConfig
(config map[string]interface{}, key string)
memory/retrieval/bbh/gojieba.go:164
↓ 6 callers
Function
stringFromConfig
(config map[string]interface{}, key string)
sdk/retrieval/bbh/gojieba.go:164
↓ 6 callers
Function
subjParallelBranchAccept
subjParallelBranchAccept returns "engine.run.<runID>.parallel.branch.accept". graph-private: signals that speculative events emitted by a parallel br
sdk/graph/runner/internal/executor/subjects.go:68
↓ 6 callers
Method
submitWithDelay
submitWithDelay registers a one-shot timer that fires opts after delayStr. The original caller's producer ID and trace span context are captured at su
sdk/kanban/scheduler.go:335
↓ 6 callers
Function
tmDaemon
()
cmd/vesseld/apispec/v1alpha1/validate_test.go:10
↓ 6 callers
Function
toRecallV1Scope
(s runners.Scope)
eval/locomo/runners/flowcraft/convert.go:8
↓ 6 callers
Function
truncate
(s string, n int)
sdk/graph/node/llmnode/llmnode.go:390
↓ 6 callers
Method
wait
(t *testing.T, timeout time.Duration)
memory/knowledge/reloader_test.go:56
↓ 6 callers
Function
writeHelp
writeHelp emits the standard `# HELP` + `# TYPE` preamble for one metric family. Callers are expected to follow it with one writeMetric call per serie
cmd/vesseld/api/metrics.go:105
↓ 6 callers
Function
writeListKV
(b *strings.Builder, indent int, key string, values []string)
eval/locomo/runners/flowcraftv2/answer_context.go:824
↓ 6 callers
Function
writeMetric
writeMetric emits one labelled sample. Label keys are sorted according to metricsLabelOrder (then alphabetically) for stable output.
cmd/vesseld/api/metrics.go:113
↓ 6 callers
Function
writeSecret
--------------------------------------------------------------------------- helpers ------------------------------------------------------------------
cmd/vesseld/secrets/secrets_test.go:355
↓ 5 callers
Method
AddLate
AddLate appends late binding functions. They execute after ordinary bindings.
sdk/script/env_builder.go:39
↓ 5 callers
Method
AppendMessages
(ctx context.Context, conversationID string, messages []model.Message)
sdk/history/store.go:36
↓ 5 callers
Method
BackfillEmbeddings
BackfillEmbeddings populates Doc.Vector for facts already indexed lexically. It is invoked from the side-effect outbox drain path.
memory/recall/internal/lens/retrieval/projection.go:384
↓ 5 callers
Function
BuildTaskContext
BuildTaskContext assembles the full task context from a card for the task_context tool. The card's Payload (after Done) is a map[string]any containing
sdk/kanban/callback.go:39
↓ 5 callers
Function
CanFallback
(err error)
voice/provider/fallback.go:114
↓ 5 callers
Method
CancelNode
(nodeID, reason string)
sdk/graph/parallel.go:14
↓ 5 callers
Function
CapabilitiesOf
CapabilitiesOf returns ws.Capabilities() when ws implements [CapabilityReporter], or a zero-value [Capabilities] otherwise. nil ws also returns the ze
sdk/workspace/capabilities.go:63
↓ 5 callers
Method
Check
Check runs the probe. Implementations MUST honour ctx for cancellation — the Captain bounds Check with a deadline derived from Probes.Timeout. Returni
vessel/spec/probe.go:24
↓ 5 callers
Method
Claim
Claim transitions a pending card to claimed status for the given consumer. Publishes EventTaskClaimed to Bus() for task-typed cards.
sdk/kanban/board.go:224
↓ 5 callers
Method
Close
Close releases read-only resources held by the inspector.
memory/retrieval/bbh/inspector.go:102
↓ 5 callers
Method
Close
()
sdk/llm/llm.go:131
↓ 5 callers
Method
Compact
Compact removes deleted nodes and prunes leaf content.
sdk/history/compactor.go:1276
↓ 5 callers
Function
ConfigFromMap
ConfigFromMap parses a Config from a generic map via JSON round-trip. String values that originate from board template references (e.g. "${board.temp
sdk/graph/node/llmnode/config.go:24
↓ 5 callers
Function
DecodeAll
DecodeAll reads YAML / JSON from r, splits multi-document YAML streams on `---` boundaries, and returns each parsed Object plus a per-document source
cmd/vesseld/apispec/decode.go:40
↓ 5 callers
Function
DecodeStreamDelta
DecodeStreamDelta extracts the payload of a stream-delta envelope. It returns an error when the envelope payload is empty or does not JSON-decode into
sdk/engine/subjects.go:325
↓ 5 callers
Method
Definitions
Definitions returns the ToolDefinition for every registered tool (all scopes).
sdk/tool/registry.go:148
↓ 5 callers
Method
Done
Done is closed after Close has canceled the context and all accepted work has returned.
sdk/internal/background/group.go:48
↓ 5 callers
Method
EnsureTrace
EnsureTrace allocates the SaveTrace if explain output was requested but the caller did not pre-populate it. Returning a pointer keeps the call-site on
memory/recall/internal/pipeline/write/state.go:225
↓ 5 callers
Method
Error
()
memory/recall/internal/lens/retrieval/projection_test.go:180
↓ 5 callers
Method
Error
()
cmd/vesseld/fleet/sessionstore_test.go:178
↓ 5 callers
Function
FeedbackBoostFromMeta
FeedbackBoostFromMeta reads reinforcement / penalty from candidate metadata when present (retrieval lane).
memory/recall/internal/evolution/reinforce.go:20
↓ 5 callers
Method
FindByMergeKey
(ctx context.Context, scope domain.Scope, mergeKey string)
memory/recall/internal/port/ingest.go:136
↓ 5 callers
Function
FindRelativePhrase
FindRelativePhrase returns a lightweight lexical match for common relative time expressions. Use Extract when callers need the phrase resolved against
memory/text/timex/relative.go:35
↓ 5 callers
Method
Flush
Flush ends one Hold scope. Buffered events are delivered to Inner only when the hold depth returns to zero.
memory/recall/internal/telemetry/deferred.go:40
↓ 5 callers
Method
Fork
Fork appends a parallel revision without closing the source fact.
memory/recall/memory.go:87
↓ 5 callers
Function
FromFlags
FromFlags builds a Notifier from CLI / env config. Routing rules: 1. DryRun → [Logger] 2. FeishuAppID + Secret
eval/internal/notify/notify.go:107
↓ 5 callers
Function
GenerateDocumentContext
GenerateDocumentContext synthesizes L0 (abstract) and L1 (overview) for a document by issuing two LLM calls. Pure function: no I/O, no caching, no ret
memory/knowledge/generator.go:80
↓ 5 callers
Function
GenerateDocumentContext
GenerateDocumentContext synthesizes L0 (abstract) and L1 (overview) for a document by issuing two LLM calls. Pure function: no I/O, no caching, no ret
sdk/knowledge/generator.go:80
↓ 5 callers
Method
GetJSON
GetJSON issues an authenticated GET; otherwise identical to PostJSON. body is always nil and is accepted only for symmetry.
tests/e2e/vesseld/helpers/api.go:34
↓ 5 callers
Function
HTTPStatus
--------------------------------------------------------------------------- HTTP status mapping ------------------------------------------------------
sdk/errdefs/errors.go:240
↓ 5 callers
Function
HasCollectionSurfaceCue
HasCollectionSurfaceCue reports whether query shape asks for a set/list.
memory/recall/internal/words/query_surface.go:256
↓ 5 callers
Method
Head
Head returns metadata without fetching the body. Returns ErrKeyNotFound if absent.
sdkx/workspace/objstore/store.go:35
↓ 5 callers
Method
History
History implements Journal.
sdk/retrieval/journal/memory_journal.go:45
↓ 5 callers
Function
IsBudgetExceeded
IsBudgetExceeded reports whether err carries the BudgetExceeded classification — i.e. a per-pod / per-tenant token, cost, or quota limit has been hit.
sdk/errdefs/errors.go:77
↓ 5 callers
Function
IsIntentEntityStopword
(token string)
memory/recall/internal/words/stopwords.go:178
↓ 5 callers
Function
IsPolicyDenied
IsPolicyDenied reports whether err was produced by a policy-layer refusal — tool allow-list, network egress filter, role-based access check, etc. Dist
sdk/errdefs/errors.go:84
↓ 5 callers
Function
IsValidation
(err error)
sdk/errdefs/errors.go:61
↓ 5 callers
Function
IsWeakExtractorEntityPhrase
(tokens []string)
memory/recall/internal/words/stopwords.go:197
↓ 5 callers
Method
IsZero
IsZero reports whether b carries no explicit limits.
sdk/history/history.go:47
↓ 5 callers
Function
LastByRole
LastByRole returns the last message in msgs whose Role matches role. The boolean is false when no such message exists. The returned Message is the sli
sdk/model/message.go:107
↓ 5 callers
Method
Len
()
sdk/telemetry/log_test.go:68
↓ 5 callers
Method
ListByFact
ListByFact returns refs in append order. Empty factID returns nil so callers cannot accidentally enumerate the whole scope.
memory/recall/internal/store/evidence/memory.go:127
↓ 5 callers
Function
Load
Load reads every input path (file or directory) and returns the concatenated apispec.Object slice plus an aggregated error if any document failed to p
cmd/vesseld/loader/loader.go:37
↓ 5 callers
Method
Load
Load retrieves the latest checkpoint. When runID is non-empty, only checkpoints for that specific run are considered.
sdk/graph/runner/internal/executor/checkpoint.go:57
↓ 5 callers
Method
Load
Load reads the latest checkpoint from disk.
sdk/graph/runner/internal/executor/checkpoint.go:135
↓ 5 callers
Function
LoadManifest
LoadManifest reads the archive manifest for a conversation.
memory/history/archive.go:50
↓ 5 callers
Function
LoadManifest
LoadManifest reads the archive manifest for a conversation.
sdk/history/archive.go:50
↓ 5 callers
Method
Materialize
(ctx context.Context, candidates []domain.Candidate)
memory/recall/internal/port/materialize.go:15
↓ 5 callers
Method
Name
()
memory/recall/internal/lens/timeline/source.go:29
↓ 5 callers
Method
Name
()
memory/recall/internal/lens/profile/source.go:28
↓ 5 callers
Method
Name
()
memory/recall/internal/lens/relation/source.go:28
↓ 5 callers
Method
Name
()
memory/recall/internal/lens/graph/source.go:28
↓ 5 callers
Method
Name
Name implements port.Source.
memory/recall/internal/lens/retrieval/source.go:49
↓ 5 callers
Method
Name
()
eval/locomo/runners/runner.go:89
↓ 5 callers
Function
New
New creates an Ollama LLM instance.
sdkx/llm/ollama/ollama.go:41
↓ 5 callers
Function
New
New creates an OpenAI Responses API adapter.
sdkx/llm/openai/openai.go:287
↓ 5 callers
Function
New
New creates a DefaultExtractor with the given base options.
sdkx/extract/extract.go:51
↓ 5 callers
Function
New
New builds a phrase matcher using Unicode normalisation, raw word boundaries, language-scoped lemmatisation, and Snowball stemming where available. It
memory/text/phrase/matcher.go:25
↓ 5 callers
Function
NewCatalog
()
vessel/assembly/catalog.go:42
↓ 5 callers
Function
NewEnvProvider
NewEnvProvider is the conventional constructor; callers may also use &EnvProvider{} directly. Provided so the API shape matches FileProvider's, which
cmd/vesseld/secrets/secrets.go:150
↓ 5 callers
Function
NewFilesystemSessionStore
NewFilesystemSessionStore constructs a FilesystemSessionStore rooted at root, creating the directory tree when missing. The root is resolved through
vessel/session.go:176
↓ 5 callers
Function
NewOneChunkStream
NewOneChunkStream wraps a completed Generate result as a [StreamMessage] that yields exactly one chunk and then ends. It is the canonical adapter help
sdk/llm/onechunk.go:25
↓ 5 callers
Function
NewSideEffectProcessor
(mem Memory)
memory/recall/side_effects.go:118
↓ 5 callers
Method
OnInterrupt
OnInterrupt fires only when the engine returned an interrupt error. It runs before OnRunEnd. intr carries the structured reason supplied by the host.
sdk/agent/observer.go:54
↓ 5 callers
Method
OnRunRevise
OnRunRevise fires when a Decider asked agent.Run to re-invoke engine.Execute (FinalizeDecision{Revise: true}) AND the per-call WithMaxRevise budget al
sdk/agent/observer.go:74
↓ 5 callers
Function
ParseCalendar
ParseCalendar recognises common absolute calendar expressions in free text. It is intentionally generic: recall-specific query intent can map the resu
memory/text/timex/calendar.go:33
↓ 5 callers
Method
PostJSON
PostJSON issues an authenticated POST against the daemon. body is JSON-encoded; pass nil for an empty body. The auth header is set to "Bearer e2e-toke
tests/e2e/vesseld/helpers/api.go:27
↓ 5 callers
Method
PurgeScope
PurgeScope removes every job in the partition, including completed and dead-letter entries, and clears enqueue-time PII snapshots (TurnsSnapshot, Rece
memory/recall/internal/port/async_semantic.go:39
↓ 5 callers
Method
Rank
Rank implements port.Ranker.
memory/recall/internal/ranker/ranker.go:56
← previous
next →
1,101–1,200 of 13,468, ranked by callers