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
↓ 1 callers
Function
captureGenOpts
captureGenOpts returns a factory that records the GenerateOption set applied by the most recent Generate call into *into. Used by caps tests to assert
sdk/llm/resolver_test.go:162
↓ 1 callers
Method
cardSchema
cardSchema builds the initial Feishu CardKit 2.0 card. The body contains a single named markdown element ("log") that subsequent events patch in place
eval/internal/notify/feishu_app.go:372
↓ 1 callers
Function
cardSubjectFor
cardSubjectFor maps an EventKind constant to the corresponding card Subject helper. Returns "" for unknown kinds so the caller can refuse to publish a
sdk/kanban/events.go:245
↓ 1 callers
Function
chainDepthFrom
(ctx context.Context)
vessel/kanban.go:84
↓ 1 callers
Method
channels
()
voice/webrtc/source.go:25
↓ 1 callers
Function
chat
chat is the canonical "history + recall + LLM" coordinator: load transcript, recall relevant facts, inject as system prompt, call LLM, persist the new
examples/chatbot-with-recall/main.go:58
↓ 1 callers
Method
chatView
(width, height int)
cmd/claw/cli/tui_model.go:354
↓ 1 callers
Method
chatViewportHeight
()
examples/voice-pipeline/tui.go:260
↓ 1 callers
Function
checkConditionCoverage
checkConditionCoverage warns about nodes with conditional edges but no default branch.
sdk/graph/compile_analyze.go:162
↓ 1 callers
Function
checkCurrentMetadata
(t *testing.T, cur map[string]any)
sdk/graph/node/scriptnode/bridge_stream_test.go:873
↓ 1 callers
Function
checkDeadEnds
checkDeadEnds detects nodes that cannot reach __end__.
sdk/graph/compile_analyze.go:24
↓ 1 callers
Function
checkExpectedFinalState
checkExpectedFinalState compares the post-run State to the snapshot the gold action trace would have produced. Returns the first differing dot-path so
eval/taubench/taubench.go:936
↓ 1 callers
Function
checkExtractions
checkExtractions verifies that stored entries satisfy expectations.
tests/conformance/llm/memory_test.go:70
↓ 1 callers
Function
checkParallelJoin
checkParallelJoin warns when a node has multiple unconditional outgoing edges (parallel fork) but the branches have no common join node.
sdk/graph/compile_analyze.go:250
↓ 1 callers
Function
checkRequiredTools
(required, called []string)
eval/taubench/taubench.go:902
↓ 1 callers
Function
checkSkipConditions
checkSkipConditions validates that all SkipCondition expressions on nodes are syntactically valid expr-lang expressions before runtime.
sdk/graph/compile_analyze.go:231
↓ 1 callers
Function
checkStateChecks
checkStateChecks evaluates every predicate. Returns ok=true only if every check passes; mismatch holds the first failing check's human-friendly descri
eval/taubench/taubench.go:919
↓ 1 callers
Function
checkTextFragments
checkTextFragments ensures every required substring appears in the agent's final reply (case-insensitive). Empty reply with non-empty requirements cou
eval/taubench/taubench.go:1004
↓ 1 callers
Function
checkUnguardedCycles
checkUnguardedCycles warns about cycles that lack a LoopGuard node.
sdk/graph/compile_analyze.go:62
↓ 1 callers
Function
checkVariableReferences
checkVariableReferences extracts all ${scope.name} variable references from node configs and warns about any whose scope is not one of the well-known
sdk/graph/compile_analyze.go:193
↓ 1 callers
Function
checkpointSteps
(store map[string]engine.Checkpoint)
cmd/vesseld/api/lifecycle_resume_e2e_test.go:376
↓ 1 callers
Function
chooseExtractedSubject
(base, update string)
memory/recall/internal/ingest/extractor_llm.go:1332
↓ 1 callers
Function
chunkID
chunkID is the ID written into retrieval.Doc; deterministic so re-Upserts overwrite cleanly. Format: "<doc>#<idx>".
memory/knowledge/backend/retrieval/chunk.go:642
↓ 1 callers
Function
chunkID
chunkID is the ID written into retrieval.Doc; deterministic so re-Upserts overwrite cleanly. Format: "<doc>#<idx>".
sdk/knowledge/backend/retrieval/chunk.go:642
↓ 1 callers
Function
chunksSourceVer
(chunks []knowledge.DerivedChunk)
memory/knowledge/backend/retrieval/chunk.go:444
↓ 1 callers
Function
chunksSourceVer
(chunks []knowledge.DerivedChunk)
memory/knowledge/backend/fs/chunk.go:405
↓ 1 callers
Function
chunksSourceVer
(chunks []knowledge.DerivedChunk)
sdk/knowledge/backend/retrieval/chunk.go:444
↓ 1 callers
Function
chunksSourceVer
(chunks []knowledge.DerivedChunk)
sdk/knowledge/backend/fs/chunk.go:381
↓ 1 callers
Method
claimWhere
(opts port.AsyncSemanticClaimOptions, now time.Time)
memory/recall/store/postgres/async_semantic_queue.go:373
↓ 1 callers
Method
claimWhere
(opts port.AsyncSemanticClaimOptions, now time.Time)
memory/recall/store/sqlite/async_semantic_queue.go:370
↓ 1 callers
Function
clamp01
(v float64)
memory/recall/internal/ingest/salience.go:47
↓ 1 callers
Function
clampPreservingSystem
clampPreservingSystem keeps the leading system message (if any) when there is room for both system and conversation content. With maxMsgs==1 the most
memory/history/compactor.go:214
↓ 1 callers
Function
clampPreservingSystem
clampPreservingSystem keeps the leading system message (if any) when there is room for both system and conversation content. With maxMsgs==1 the most
sdk/history/compactor.go:214
↓ 1 callers
Method
classify
classify applies the §6.2 idempotency rules to a single fact. port.View lookup errors propagate up so transient store failures fail the Save call clea
memory/recall/internal/ingest/resolver.go:204
↓ 1 callers
Function
classifyRevision
classifyRevision maps a descendant fact's Revision.Kind to the LineageRelation surfaced in the DAG. Facts whose Revision is missing or RevisionSuperse
memory/recall/internal/domain/lineage.go:188
↓ 1 callers
Function
classifySubject
classifySubject walks the suffix structure of an engine.run.* subject and folds it into a [LogEntryType] + actorID pair. Returns LogEntryUnknown for s
vessel/logs.go:276
↓ 1 callers
Function
classifyWriteStage
classifyWriteStage extracts the phase tag from a writeStageError for telemetry attribution. Returns "unknown" when the failure did not originate from
sdk/recall/jobs.go:441
↓ 1 callers
Function
clawConfigRelPath
(embeddedPath string)
cmd/claw/cli/claw_home.go:56
↓ 1 callers
Function
clawHomeConfigCandidates
(source string)
cmd/claw/cli/config_file.go:165
↓ 1 callers
Function
clawHomeTestCandidates
(source string)
cmd/claw/cli/test.go:147
↓ 1 callers
Function
cleanExtractedSubject
(subject string, refs []domain.EvidenceRef, turnIndex map[string]port.TurnContext)
memory/recall/internal/ingest/extractor_llm.go:1317
↓ 1 callers
Method
cleanOldVersions
(cp Checkpoint)
sdk/graph/runner/internal/executor/checkpoint.go:249
↓ 1 callers
Method
cleanupLoop
()
memory/history/store.go:111
↓ 1 callers
Method
cleanupLoop
()
sdk/history/store.go:111
↓ 1 callers
Method
clearAllProjections
clearAllProjections invokes ClearScope on every registered projection — Required first, then Optional — matching the fanout order. We deliberately do
memory/recall/internal/pipeline/forget/stages/forget_all.go:348
↓ 1 callers
Function
clearUnsupportedExtractedFactRelation
(f domain.TemporalFact, turnIndex map[string]port.TurnContext)
memory/recall/internal/ingest/extractor_llm.go:922
↓ 1 callers
Method
clone
()
voice/pipeline.go:189
↓ 1 callers
Function
cloneAny
(v any)
sdk/model/message.go:384
↓ 1 callers
Function
cloneDocPtr
cloneDocPtr returns a heap-allocated clone, suitable for memtableItem.doc which expects a *Doc.
memory/retrieval/workspace/compaction.go:408
↓ 1 callers
Function
cloneEvidence
(in []EvidenceRef)
memory/recall/internal/domain/temporal_fact.go:123
↓ 1 callers
Function
cloneIntMap
(in map[string]int)
memory/recall/diagnostics/stage_audit.go:87
↓ 1 callers
Function
cloneMemoryFactMetadata
(in map[string]any)
sdkx/claw/memory_fact.go:210
↓ 1 callers
Function
cloneMergeHints
(in MergeHints)
memory/recall/internal/domain/temporal_fact.go:132
↓ 1 callers
Function
cloneMeta
(in map[string]any)
memory/recall/internal/fusion/weighted_rrf.go:311
↓ 1 callers
Function
cloneMetadata
(in map[string]any)
memory/recall/internal/domain/temporal_fact.go:146
↓ 1 callers
Function
cloneMetadataReflect
(v reflect.Value)
memory/retrieval/workspace/read.go:344
↓ 1 callers
Function
cloneMetadataValue
(v any)
memory/retrieval/workspace/read.go:337
↓ 1 callers
Function
cloneReplayMetadata
(in map[string]any)
eval/locomo/answer_replay.go:95
↓ 1 callers
Function
cloneSourceBudgets
(in map[string]int)
memory/recall/internal/pipeline/read/stages/source_expansion.go:237
↓ 1 callers
Function
cloneTime
(t *time.Time)
memory/recall/internal/lens/semantic/lens.go:313
↓ 1 callers
Method
close
close is called from Captain.Stop. After close, [acquire] returns errdefs.NotAvailable so any caller racing Stop fails fast instead of stalling on a c
vessel/sandbox.go:221
↓ 1 callers
Method
closeChanFromBus
closeChanFromBus closes s.ch. MUST be called only after both the parent Bus has drained inflight AND s.senders has drained.
sdk/event/memory.go:236
↓ 1 callers
Function
closeTestApp
(app *claw.Claw)
cmd/claw/cli/test_turn.go:94
↓ 1 callers
Function
cmdPlan
cmdPlan loads + resolves and prints a JSON projection of the resolved Plan with secrets redacted. Used for CI diffing of configuration changes and for
cmd/vesseld/cli/plan.go:17
↓ 1 callers
Function
cmdResume
cmdResume is the operator-facing wrapper around POST v1/vessels/{vessel}/resume. It runs out-of-process against a running vesseld daemon (unix socket
cmd/vesseld/cli/resume.go:30
↓ 1 callers
Function
cmdRun
cmdRun dispatches the `vesseld run` sub-command. Flag parsing uses the standard flag package — no third-party CLI library needed for four sub-commands
cmd/vesseld/cli/run.go:13
↓ 1 callers
Function
cmdValidate
cmdValidate runs loader → resolver in IO-free mode and prints every problem it finds. Exit code is non-zero (returned via the error) when any error is
cmd/vesseld/cli/validate.go:15
↓ 1 callers
Function
codecToMinimaxFormat
--- helpers --- codecToMinimaxFormat maps speechaudio.Codec to the MiniMax API format string.
voice/tts/minimax/minimax.go:432
↓ 1 callers
Function
coerceMapForConfig
coerceMapForConfig walks Config's json tags and converts string entries to the numeric / bool types the struct expects. This lets JSON round-trip succ
sdk/graph/node/llmnode/config.go:44
↓ 1 callers
Function
coerceString
(s string, kind reflect.Kind)
sdk/graph/node/llmnode/config.go:85
↓ 1 callers
Function
collapseChunksToDocs
nDCG computes nDCG@k normalising against the ideal ranking (descending list of all positive grades for the query). collapseChunksToDocs aggregates chu
eval/beir/beir.go:772
↓ 1 callers
Function
collectArtifacts
collectArtifacts harvests the named board channels into Result.Artifacts per the [WithArtifactChannels] contract. One Artifact per channel that holds
sdk/agent/run.go:341
↓ 1 callers
Function
collectCooccurrenceNodes
(f domain.TemporalFact, limit int)
memory/recall/internal/lens/graph/edges.go:112
↓ 1 callers
Function
collectEntities
(f domain.TemporalFact)
memory/recall/internal/lens/entity/projection.go:256
↓ 1 callers
Function
collectErrorMessages
collectErrorMessages walks the error chain — including multi-errors produced by errors.Join and anything implementing Unwrap() []error — and concatena
sdk/errdefs/http.go:271
↓ 1 callers
Function
collectJsonLdCandidates
(input interface{}, out *[]JsonLdContent)
sdkx/extract/html/metadata.go:215
↓ 1 callers
Method
collectKnownEntities
collectKnownEntities pulls the per-sub-scope EntitySnapshot lists from the wired EntitySnapshotsFunc and folds them into a single merged slice. Single
memory/recall/internal/pipeline/read/stages/plan.go:95
↓ 1 callers
Method
collectLayerTexts
collectLayerTexts enumerates per-document layer texts plus the dataset-level layer (DocName == ""), pulling Sig metadata in lockstep. When withVectors
memory/knowledge/backend/fs/layer.go:385
↓ 1 callers
Method
collectLayerTexts
collectLayerTexts enumerates per-document layer texts plus the dataset-level layer (DocName == ""), pulling Sig metadata in lockstep. When withVectors
sdk/knowledge/backend/fs/layer.go:382
↓ 1 callers
Function
collectQueryTerms
(intent domain.QueryIntent)
memory/recall/internal/planner/planner.go:274
↓ 1 callers
Method
commitPartial
(ctx context.Context)
sdkx/claw/roundtrip.go:657
↓ 1 callers
Method
compactionLoop
Compaction The workspace backend follows a simple size-tiered LSM compaction policy. Every Search opens one segmentReader per live segment in the man
memory/retrieval/workspace/compaction.go:84
↓ 1 callers
Method
compensateForgetStoreFailure
compensateForgetStoreFailure runs after store.Delete fails between the projection forget and store delete steps. It tries to re-Project the snapshot s
memory/recall/memory.go:1018
↓ 1 callers
Method
compile
(f retrieval.Filter)
memory/retrieval/postgres/index.go:495
↓ 1 callers
Function
composeDispatch
composeDispatch wraps core in the registered middlewares, outermost first. With chain [a, b] and core c, the resulting Dispatch is a(b(c)) — i.e. a is
sdk/tool/middleware.go:63
↓ 1 callers
Function
composePrediction
composePrediction concatenates the top-3 hit contents — the "answer" we feed to EM/F1/Judge when no AnswerLLM is configured. Cheap, deterministic, and
eval/locomo/answer.go:112
↓ 1 callers
Function
computeMaxDepth
computeMaxDepth computes the longest acyclic path from entry to END using DFS.
sdk/graph/compile.go:141
↓ 1 callers
Method
condense
(ctx context.Context, convID string, depth int)
memory/history/compactor.go:1009
↓ 1 callers
Method
condense
(ctx context.Context, convID string, depth int)
sdk/history/compactor.go:1009
↓ 1 callers
Function
configCmd
(args []string)
cmd/claw/cli/config.go:10
↓ 1 callers
Method
consumeOrigin
consumeOrigin is the destructive variant the callback bridge uses after a card terminates: read the entry and remove it so the map does not grow unbou
vessel/kanban.go:453
↓ 1 callers
Function
contains
(xs []string, want string)
sdkx/engine/checkpoint/conformance/suite.go:266
↓ 1 callers
Function
contains
(s, sub string)
sdk/engine/deps_test.go:128
↓ 1 callers
Function
containsAll
(field any, wantList []any)
memory/retrieval/filter_match.go:294
↓ 1 callers
Function
containsAll
(field any, wantList []any)
sdk/retrieval/filter_match.go:294
↓ 1 callers
Function
containsAny
(field any, wantList []any)
memory/retrieval/filter_match.go:267
↓ 1 callers
Function
containsAny
(field any, wantList []any)
sdk/retrieval/filter_match.go:267
↓ 1 callers
Function
containsDoublestar
(pattern string)
sdk/workspace/helpers.go:105
↓ 1 callers
Function
containsString
containsString is a small "is name already present" check used when deciding whether to append the auto-injected exec tool to an agent's allow-list. K
cmd/vesseld/fleet/fleet.go:686
↓ 1 callers
Function
containsStringFold
(values []string, want string)
memory/recall/internal/pipeline/read/stages/candidate_expansion.go:340
← previous
next →
4,301–4,400 of 13,468, ranked by callers