MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 4 callersMethodpublishCardEvent
publishCardEvent maps a card transition snapshot to the matching Kanban event type and publishes it on Board.Bus(). Internal card types (cron rules /
sdk/kanban/board.go:328
↓ 4 callersFunctionpushGoValue
pushGoValue converts v into an LValue (tables, numbers, strings, bools, nil, nested maps, slices, and Go functions via reflection).
sdk/script/luart/push.go:25
↓ 4 callersMethodputDoc
(namespace string, d retrieval.Doc)
sdk/retrieval/bbh/index.go:318
↓ 4 callersFunctionquoteScalar
(value string)
eval/locomo/runners/flowcraftv2/answer_context.go:864
↓ 4 callersFunctionreadConfigSource
(templateFS fs.FS, source string)
cmd/claw/cli/config_file.go:114
↓ 4 callersMethodreadLayerVector
readLayerVector loads and decodes the vec sidecar. Returns nil for any failure (missing file, decode error) so callers degrade to BM25 lane silently r
memory/knowledge/backend/fs/layer.go:188
↓ 4 callersMethodreadLayerVector
readLayerVector loads and decodes the vec sidecar. Returns nil for any failure (missing file, decode error) so callers degrade to BM25 lane silently r
sdk/knowledge/backend/fs/layer.go:185
↓ 4 callersFunctionreadLockState
readLockState fetches the current .lock contents. exists=false (with err=nil) means the file is absent — a fresh namespace. Corrupt files return exist
memory/retrieval/workspace/lock.go:100
↓ 4 callersFunctionreadTUIWorkspaceMeta
(workspaceDir string)
cmd/claw/cli/tui_workspace.go:200
↓ 4 callersFunctionreadinessCheck
(report ReadinessReport, name string)
memory/recall/readiness_test.go:116
↓ 4 callersFunctionrealFFT
-------------------------------------------------------------------- Minimal radix-2 FFT (pure Go, no external dependencies) -------------------------
voice/vad/dsp.go:175
↓ 4 callersFunctionrecall
recall counts how many of the totalRel relevant documents (any grade > 0) appear inside the top-k ranking.
eval/beir/beir.go:850
↓ 4 callersMethodrecordStateMetric
(ctx context.Context, name string, cs *circuitState)
sdk/llm/fallback.go:229
↓ 4 callersFunctionrecoverPanicAs
recoverPanicAs converts a panic inside a probe into a t.Errorf so the test binary stays alive and the failure message names the offending method. Shar
sdk/agent/agenttest/decider_suite.go:187
↓ 4 callersFunctionredactURL
redactURL returns a log-safe form of raw (scheme + host only) so userinfo, query parameters, paths, and fragments never leak.
sdkx/extract/redact.go:10
↓ 4 callersMethodreleaseGate
()
cmd/vesseld/fleet/fleet.go:531
↓ 4 callersFunctionrequirePostgres
(t testing.TB)
memory/recall/store/postgres/conformance_test.go:88
↓ 4 callersFunctionresolveAbsoluteURL
(candidate, baseURL string)
sdkx/extract/html/video.go:70
↓ 4 callersFunctionroundResultToMap
roundResultToMap projects the bridge-internal roundResult into the shape scripts see from llm.run() / stream().finish(). Optional collections (tool_ca
sdk/script/bindings/llm_marshal.go:671
↓ 4 callersFunctionrow
(name string, a, b float64, fmtStr string)
eval/locomo/cli.go:679
↓ 4 callersMethodrun
--------------------------------------------------------------------------- Main loop ----------------------------------------------------------------
voice/session_loop.go:89
↓ 4 callersFunctionrunDeciders
runDeciders executes all Deciders in order, merges their decisions, and returns the combined result. The first error short-circuits the merge.
sdk/agent/decider.go:146
↓ 4 callersMethodrunLLMAndTTS
( ctx context.Context, transcript string, sttTail audio.Stream[stt.STTResult], out *audio.Pipe[Event], )
voice/pipeline.go:960
↓ 4 callersFunctionruneLen
(s string)
eval/internal/notify/feishu_app.go:547
↓ 4 callersFunctionsameSubjectPredicate
(a, b domain.TemporalFact)
memory/recall/internal/pipeline/read/stages/candidate_expansion_suggestions.go:67
↓ 4 callersFunctionsaveManifestImpl
saveManifestImpl writes the archive manifest atomically (write-tmp + rename), so a crash mid-write cannot leave readers seeing a half- serialized mani
memory/history/archive.go:73
↓ 4 callersFunctionsaveManifestImpl
saveManifestImpl writes the archive manifest atomically (write-tmp + rename), so a crash mid-write cannot leave readers seeing a half- serialized mani
sdk/history/archive.go:73
↓ 4 callersMethodsaveTurn
(ctx context.Context, contextID, userText string, assistant model.Message, boardVars map[string]any)
sdkx/claw/memory.go:521
↓ 4 callersFunctionscanStrings
(rows pgx.Rows)
memory/recall/store/postgres/helpers.go:18
↓ 4 callersFunctionscanStrings
(rows *sql.Rows)
memory/recall/store/sqlite/helpers.go:17
↓ 4 callersFunctionscope
()
memory/recall/internal/evolution/evolution_test.go:11
↓ 4 callersFunctionseedMessages
(t *testing.T, store *InMemoryStore, convID string, n int)
memory/history/coordinator_test.go:778
↓ 4 callersFunctionseedMessages
(t *testing.T, store *InMemoryStore, convID string, n int)
sdk/history/coordinator_test.go:778
↓ 4 callersFunctionselectToolDefs
selectToolDefs filters reg.Definitions() down to the names allowed for this round. Returning the registry verbatim when names is empty would leak tool
sdk/script/bindings/bridge_llm_round.go:101
↓ 4 callersMethodsend
(ev Event)
sdkx/claw/roundtrip.go:425
↓ 4 callersFunctionshouldFallback
FallbackLLM decision policy. The HTTP-status / keyword / SDK-error → category dispatcher lives in sdk/errdefs/http.go because every external-provider
sdk/llm/fallback.go:83
↓ 4 callersFunctionshouldIndexInRetrieval
shouldIndexInRetrieval reports whether a fact belongs in the active retrieval index (historical, not episode, not superseded).
memory/recall/internal/lens/retrieval/projection.go:81
↓ 4 callersFunctionshouldTUIAutoStart
(cfg claw.Config, messageCount int)
cmd/claw/cli/tui_model.go:101
↓ 4 callersMethodsnapshot
()
memory/recall/internal/ingest/extractor_usage.go:62
↓ 4 callersMethodsnapshot
()
sdk/engine/stream_sink_test.go:29
↓ 4 callersFunctionspeechScore
speechScore combines multiple features into a single [0, 1] score indicating the probability that a frame contains voiced speech. Weights are tuned f
voice/vad/dsp.go:131
↓ 4 callersFunctionsplitSubject
splitSubject returns the segments of s. Centralised so MemoryBus and the public Matches share one allocation strategy.
sdk/event/subject.go:139
↓ 4 callersFunctionsqliteJSONValue
(v any)
memory/retrieval/sqlite/index.go:685
↓ 4 callersFunctionsqliteScalar
(v any)
memory/retrieval/sqlite/index.go:673
↓ 4 callersFunctionstreamLifecycleEnvelopeToMap
(env event.Envelope, eventName, status string)
sdk/graph/node/scriptnode/bridge_stream.go:508
↓ 4 callersFunctionstringPtrIfNotEmpty
(s string)
sdkx/llm/bytedance/responses.go:714
↓ 4 callersFunctionstrongContextItem
(id, evidenceID, text string)
memory/recall/internal/pipeline/read/stages/context_pack_test.go:920
↓ 4 callersFunctionsubbandEnergyRatio
subbandEnergyRatio computes the fraction of total spectral energy that falls within the speech band (roughly 300-3400 Hz). A high ratio indicates the
voice/vad/dsp.go:38
↓ 4 callersMethodsummariesPath
(convID string)
memory/history/summary_store.go:151
↓ 4 callersMethodsummariesPath
(convID string)
sdk/history/summary_store.go:150
↓ 4 callersFunctiontermsFromTexts
(texts []string)
eval/locomo/cli_analyze_recall.go:1038
↓ 4 callersFunctionthinkingCaptureServer
(t *testing.T, captured chan<- map[string]any)
sdkx/llm/anthropic/anthropic_test.go:102
↓ 4 callersFunctiontoLatencyReports
(stats map[string]diagnostics.LatencyStats)
eval/locomo/cli_diagnostics.go:179
↓ 4 callersFunctiontoolResultToMap
toolResultToMap is the script-facing shape for a single tool invocation result. is_error defaults to false on the Go side, so we always include it exp
sdk/script/bindings/llm_marshal.go:134
↓ 4 callersFunctiontriageCoverageRepairInput
(ctx context.Context, client llm.LLM, system, schemaName string, temperature float64, extraOptions []llm.Gener
memory/recall/internal/ingest/extractor_llm_two_pass.go:1672
↓ 4 callersFunctiontryDecode
(b []byte, i int)
sdk/llm/json.go:176
↓ 4 callersFunctionturnLLMID
turnLLMID is the id the LLM sees and cites. We prefer the adapter's EvidenceID (the adapter-meaningful handle that downstream consumers like evaluatio
memory/recall/internal/ingest/turn_context.go:142
↓ 4 callersFunctionunpackFrame
(b []byte)
voice/stt/bytedance/protocol.go:46
↓ 4 callersMethodupdateFact
(ctx context.Context, scope domain.Scope, factID string, mutate func(*domain.TemporalFact) error)
memory/recall/store/postgres/temporal.go:393
↓ 4 callersMethodupdateFact
(ctx context.Context, scope domain.Scope, factID string, mutate func(*domain.TemporalFact) error)
memory/recall/store/workspace/temporal.go:326
↓ 4 callersMethodupdateFact
(ctx context.Context, scope domain.Scope, factID string, mutate func(*domain.TemporalFact) error)
memory/recall/store/sqlite/temporal.go:392
↓ 4 callersFunctionwaitForSignal
(t *testing.T, ch <-chan struct{}, name string)
memory/history/coordinator_test.go:794
↓ 4 callersFunctionwaitForSignal
(t *testing.T, ch <-chan struct{}, name string)
sdk/history/coordinator_test.go:794
↓ 4 callersMethodwalPath
walPath formats the WAL log path for a given sequence number. Sequence numbers are 1-indexed; seq 0 is reserved as the "no log" sentinel.
memory/retrieval/workspace/paths.go:39
↓ 4 callersFunctionwithExtraProjection
(p port.Projection)
memory/recall/options.go:129
↓ 4 callersFunctionwrapChunk
(source string)
sdk/script/luart/luart.go:307
↓ 4 callersFunctionzeroCrossingRate
zeroCrossingRate returns the fraction of adjacent sample pairs that cross zero. Speech typically has ZCR in [0.02, 0.20]; unvoiced fricatives and whit
voice/vad/dsp.go:22
↓ 3 callersMethodAcceptsKind
(kind domain.FactKind)
memory/recall/internal/port/projection.go:59
↓ 3 callersFunctionActivatesTimeline
ActivatesTimeline reports whether the timeline source should run.
memory/recall/internal/planner/planner.go:322
↓ 3 callersMethodAfterSave
(ctx context.Context, scope domain.Scope, factIDs []string)
memory/recall/internal/port/evolution.go:14
↓ 3 callersMethodAgent
Agent returns a pointer to the Agent entry with the given name, or nil + false when no such agent exists. It is the small lookup helper the Captain us
vessel/spec/validate.go:134
↓ 3 callersFunctionAgentRecallFilter
(s Scope)
sdk/recall/scope.go:85
↓ 3 callersFunctionAllSourcesFailed
AllSourcesFailed wraps per-source failures when every activated source returned an error and produced zero candidates. When all underlying errors are
memory/recall/internal/pipeline/read/source_errors.go:14
↓ 3 callersMethodAppend
(_ context.Context, path string, data []byte)
sdk/workspace/mem.go:63
↓ 3 callersMethodApplyWrite
ApplyWrite runs write-path governance in deterministic order: sensitivity -> retention -> write policy.
memory/recall/internal/governance/governance.go:30
↓ 3 callersMethodAttribute
Attribute returns the value for the given attribute key, or "" if absent. A small convenience over `r.Attributes[key]` that handles a nil Attributes m
sdk/engine/run.go:80
↓ 3 callersFunctionBM25
BM25 computes the BM25 score for a document (as tokens) against query keywords.
sdk/textsearch/bm25.go:109
↓ 3 callersFunctionBuildCallbackQuery
BuildCallbackQuery assembles a concise callback message from a completed card. It includes a summary and card_id but not the full task context; Dispat
sdk/kanban/callback.go:12
↓ 3 callersMethodCanResume
CanResume returns nil if the given checkpoint is resumable by this engine, or a classified error explaining why not: - errdefs.Validation: checkpoint
sdk/engine/resume.go:40
↓ 3 callersMethodCancelMatchingEpisodes
CancelMatchingEpisodes removes non-complete jobs in scope whose EpisodeFactIDs intersect deletedEpisodeFactIDs. Idempotent when the slice is empty. Us
memory/recall/internal/port/async_semantic.go:43
↓ 3 callersMethodCapabilities
Capabilities reports MemWorkspace's storage characteristics: in-memory map under a single mutex, so writes are immediately observable, Rename is atomi
sdk/workspace/mem.go:235
↓ 3 callersMethodCapabilities
Capabilities forwards to the wrapped Workspace, since scoping is a security boundary that does not change durability / atomicity / consistency / distr
sdk/workspace/scoped.go:62
↓ 3 callersMethodCheck
Check satisfies spec.Probe. Healthy is computed from the wired budgetReader: when no reader is set yet, OR the captain has no hourly limit configured,
vessel/probes.go:359
↓ 3 callersFunctionClassifyAPIError
(err error)
sdkx/llm/openai/shared/classify.go:11
↓ 3 callersFunctionClassifyProviderError
ClassifyProviderError wraps an arbitrary provider error in an errdefs classification so pod-level policies (retry, circuit breaking, fail-fast on auth
sdk/errdefs/http.go:71
↓ 3 callersMethodClose
Close drops the workspace bookkeeping for runID. Because MemWorkspace data lives entirely inside the released map entry, the data is discarded as soon
vessel/session.go:128
↓ 3 callersMethodClose
Close releases the persistent event Bus. Safe to call multiple times.
sdk/kanban/board.go:146
↓ 3 callersMethodClose
Close tears down the PeerConnection and releases all resources. Interrupts Source.pipe so any active Session.Run exits promptly.
voice/webrtc/transport.go:184
↓ 3 callersMethodCompensate
Compensate implements pipeline.Compensator. Invoked when a stage AFTER project_episode_evidence fails. Walks every required projection that accepts Ki
memory/recall/internal/pipeline/write/stages/project_episode_evidence.go:72
↓ 3 callersMethodComplete
(ctx context.Context, id JobID, entryIDs []string)
sdk/recall/jobs.go:81
↓ 3 callersMethodConsistency
()
memory/recall/internal/port/projection.go:40
↓ 3 callersMethodContains
Contains reports whether token occurs as a folded token, respecting word boundaries.
memory/text/phrase/matcher.go:46
↓ 3 callersMethodCountMessages
(msgs []model.Message)
memory/history/token.go:81
↓ 3 callersMethodCountMessages
(msgs []model.Message)
sdk/history/token.go:81
↓ 3 callersMethodDecode
Decode unmarshals Payload into out. Returns nil (no-op) when Payload is empty so that callers can ignore decode for header-only events.
sdk/event/envelope.go:140
↓ 3 callersFunctionDecodeHtmlEntities
DecodeHtmlEntities decodes HTML entities to regular characters.
sdkx/extract/html/cleaner.go:94
↓ 3 callersMethodDecodeScope
DecodeScope reverses UserScope and GlobalScope. V2 user scopes are parsed first. Legacy V1 user scopes are accepted only as a compatibility bridge fo
sdk/retrieval/namespace/decode.go:12
↓ 3 callersFunctionDefaultMergeKey
DefaultMergeKey computes the canonical merge key for a fact. The relation kind is the only shape that materially depends on the object (docs §5.5): w
memory/recall/internal/ingest/normalizer.go:144
↓ 3 callersMethodDefinitionsByScope
DefinitionsByScope returns only the ToolDefinitions matching the given scope.
sdk/tool/registry.go:159
↓ 3 callersMethodDeleteByConvID
(ctx context.Context, convID, id string)
memory/history/summary_store.go:419
← previousnext →1,701–1,800 of 13,468, ranked by callers