MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 2 callersMethodupsert
upsert stages a doc, replacing any previously staged entry for the same ID. sizeHint is the approximate JSON byte size of d; callers pass the post-mar
memory/retrieval/workspace/memtable.go:55
↓ 2 callersFunctionusageReporterEngine
usageReporterEngine reports a fixed delta then completes. Any budget error from the host is propagated so the agent layer sees the same termination sh
sdk/agent/run_test.go:620
↓ 2 callersFunctionusageToMap
usageToMap projects token accounting. We keep the int64 native types so jsrt/luart preserve numeric precision; both runtimes already handle int64 via
sdk/script/bindings/llm_marshal.go:198
↓ 2 callersFunctionvalidCalendarDate
(year int, month time.Month, day int)
memory/text/timex/calendar.go:161
↓ 2 callersFunctionvalidFromRenderKind
(meta map[string]any)
eval/locomo/runners/flowcraftv2/convert.go:104
↓ 2 callersFunctionvalidNS
(ns string)
memory/retrieval/postgres/index.go:81
↓ 2 callersFunctionvalidNS
(ns string)
memory/retrieval/sqlite/index.go:906
↓ 2 callersMethodvalidate
(defaults Defaults, catalog *Catalog)
vessel/assembly/manifest.go:151
↓ 2 callersFunctionvalidateGitURL
(url string)
sdk/workspace/local.go:261
↓ 2 callersFunctionvalidateStreamNodeIDs
(ids []string)
sdk/graph/node/scriptnode/bridge_stream.go:221
↓ 2 callersFunctionvalueFromRelativeResolution
(res relativeResolution)
memory/text/timex/normalize.go:130
↓ 2 callersFunctionverifyOneAnswer
(ctx context.Context, verifier llm.LLM, rec AnswerReplayRecord, timeout time.Duration)
eval/locomo/cli_verify_answer.go:265
↓ 2 callersMethodviewDir
(ctx context.Context, rel string, tolerateMissing bool)
sdkx/tool/memory/tool.go:190
↓ 2 callersMethodwait
(count *int, ch chan struct{})
sdk/script/bindings/bridge_runtime_test.go:245
↓ 2 callersFunctionwaitForHistory
waitForHistory polls c.history for the given conversation until a substring shows up in any message text or the timeout fires. Used to wait for asynch
vessel/kanban_test.go:289
↓ 2 callersMethodwalDir
walDir is the directory hosting all WAL log files for this ns.
memory/retrieval/workspace/paths.go:34
↓ 2 callersFunctionweekendStartThisWeek
(base time.Time)
memory/text/timex/relative.go:326
↓ 2 callersFunctionwithChainDepth
(ctx context.Context, depth int)
vessel/kanban.go:80
↓ 2 callersFunctionwithClawHistoryXML
(msg model.Message, nodeID, speakerName string)
sdkx/claw/roundtrip.go:500
↓ 2 callersFunctionwithContextID
(ctx context.Context, contextID string)
vessel/kanban.go:470
↓ 2 callersFunctionwithExtractorUsageAccumulator
(ctx context.Context, acc *extractorUsageAccumulator)
memory/recall/internal/ingest/extractor_usage.go:24
↓ 2 callersFunctionwithSources
(sources ...port.Source)
memory/recall/options.go:137
↓ 2 callersMethodworker
worker drains a single conversation's task queue. The worker exits (and removes itself from the queues map) when the channel closes, which happens on
memory/history/compactor.go:508
↓ 2 callersMethodworker
worker drains a single conversation's task queue. The worker exits (and removes itself from the queues map) when the channel closes, which happens on
sdk/history/compactor.go:508
↓ 2 callersFunctionworkspaceDisplayName
(meta tuiWorkspaceMeta, workspaceDir string)
cmd/claw/cli/tui_workspace.go:224
↓ 2 callersFunctionworkspaceInspectCmd
(args []string)
cmd/claw/cli/workspace.go:53
↓ 2 callersFunctionwriteAutoStats
(outputPath string, metrics autoMetrics, raidWorkspace, personaWorkspace string)
cmd/claw/cli/auto.go:329
↓ 2 callersFunctionwriteExtractCountTable
(w io.Writer, name string, counts map[string]int)
eval/locomo/cli_analyze_extract.go:329
↓ 2 callersFunctionwriteFailureSummary
(w io.Writer, label string, records []metadataStatusRecord)
cmd/claw/cli/auto.go:687
↓ 2 callersFunctionwriteFileIfMissing
(path string, data []byte)
cmd/claw/cli/claw_home.go:69
↓ 2 callersFunctionwriteJSON
writeJSON marshals payload + writes to a temp file and returns the path. Tiny helper to keep the table-driven tests readable.
eval/taubench/upstream_test.go:38
↓ 2 callersFunctionwriteLockState
writeLockState writes st via .lock.tmp + Rename so concurrent readers never observe a partially-serialised lockfile.
memory/retrieval/workspace/lock.go:127
↓ 2 callersFunctionwriteManifest
writeManifest serialises man, writes it to the staging path, then renames into place. The Workspace's Rename atomicity is what makes the swap observab
memory/retrieval/workspace/namespace.go:203
↓ 2 callersFunctionwriteNamedModels
(w io.Writer, label string, models map[string]claw.ModelConfig)
cmd/claw/cli/workspace.go:132
↓ 2 callersFunctionwriteScopeCounts
(w io.Writer, label string, records []metadataStatusRecord)
cmd/claw/cli/auto.go:667
↓ 2 callersFunctionwriteSegment
writeSegment emits one segment from snap under <ns>/segments/<id>/. The publication contract is: every sibling file is written first; meta.json is wri
memory/retrieval/workspace/segment_writer.go:37
↓ 2 callersFunctionwriteStatusCounts
(w io.Writer, label string, records []metadataStatusRecord)
cmd/claw/cli/auto.go:642
↓ 2 callersFunctionwriteTUIWorkspaceMeta
(workspaceDir string, meta tuiWorkspaceMeta)
cmd/claw/cli/tui_workspace.go:215
↓ 1 callersMethodAdd
Add merges another coverage tally into this one. Used by the ingest pipeline to fold per-fact deltas into a single per-Save total.
memory/recall/internal/domain/diagnostic/shared.go:38
↓ 1 callersMethodAdd
(d time.Duration)
memory/recall/diagnostics/latency.go:29
↓ 1 callersMethodAdd
Add inserts word into the set, lower-cased. Returns the receiver so calls can chain (s.Add("foo").Add("bar")).
memory/text/stopword/set.go:38
↓ 1 callersFunctionAllCategories
AllCategories returns all built-in and registered memory categories.
sdk/recall/entry.go:49
↓ 1 callersMethodAllEntryIDs
AllEntryIDs returns the union of entry IDs the projection currently references under scope. Ordering is unspecified. Duplicates are tolerated (the Rec
sdk/recall/projection.go:110
↓ 1 callersMethodAppendMessages
AppendMessages implements [MessageAppender] atomically under s.mu so concurrent same-conversation Append calls cannot read-modify- write each other's
memory/history/store.go:185
↓ 1 callersMethodAppendMessages
AppendMessages implements [MessageAppender] atomically under s.mu so concurrent same-conversation Append calls cannot read-modify- write each other's
sdk/history/store.go:185
↓ 1 callersMethodAppendStage
AppendStage is the TraceAppender the runner registers with the pipeline framework.
memory/recall/internal/pipeline/rebuild/state.go:120
↓ 1 callersMethodAppendStage
AppendStage is the TraceAppender registered with the pipeline framework. It is a no-op when Trace is nil so callers that only want the side effects pa
memory/recall/internal/pipeline/feedback/state.go:59
↓ 1 callersMethodAppendStage
AppendStage is the TraceAppender registered with the pipeline framework.
memory/recall/internal/pipeline/forget/state.go:104
↓ 1 callersMethodAppendStage
AppendStage is the TraceAppender the runner registers with the pipeline framework. It is a no-op when Trace is nil so callers requesting only the Save
memory/recall/internal/pipeline/write/state.go:241
↓ 1 callersMethodAppendStage
AppendStage is the TraceAppender registered with the pipeline framework.
memory/recall/internal/pipeline/revision/state.go:87
↓ 1 callersMethodAppendStage
AppendStage is the TraceAppender the runner registers with the pipeline framework. It is a no-op when Trace is nil so callers requesting only the Hits
memory/recall/internal/pipeline/read/state.go:214
↓ 1 callersFunctionAppleLookup
AppleLookup resolves Apple Podcasts URL to RSS feed.
sdkx/extract/podcast/rss.go:313
↓ 1 callersMethodApplyDefault
ApplyDefault returns the default value if value is nil.
sdk/graph/variable/variable.go:125
↓ 1 callersMethodApplyDefaults
ApplyDefaults fills in default values for missing variables. Returns a new map; the original is not modified.
sdk/graph/variable/schema.go:48
↓ 1 callersMethodAskUser
AskUser routes through AskUserFn or Inner.
sdk/engine/middleware.go:98
↓ 1 callersMethodAsyncSemanticQueue
AsyncSemanticQueue returns the async semantic durable queue adapter.
memory/recall/store/postgres/backend.go:62
↓ 1 callersFunctionAtomicWrite
AtomicWrite writes data to path via a tmp file + Rename, so concurrent readers never observe a half-written payload. The tmp file is placed in the sam
sdk/workspace/helpers.go:18
↓ 1 callersFunctionAttributeRecallTrace
AttributeRecallTrace maps a read-path trace to failure stages.
memory/recall/diagnostics/attribution.go:79
↓ 1 callersFunctionAttributeSaveTrace
AttributeSaveTrace maps a write-path trace to failure stages by inspecting the ingest stage's per-fact drop rows.
memory/recall/diagnostics/attribution.go:112
↓ 1 callersFunctionBridgeClauses
BridgeClauses splits common bridge-question clauses while preserving surface casing in each side of the split.
memory/recall/internal/words/query_surface.go:212
↓ 1 callersMethodBroadcast
Broadcast produces a signal card visible to all agents.
sdk/kanban/kanban.go:498
↓ 1 callersFunctionBudgetExceeded
BudgetExceeded marks err as a budget / quota refusal — typically raised by a host (e.g. a sandbox host wrapping engine.UsageReporter) when a per-pod,
sdk/errdefs/errors.go:198
↓ 1 callersMethodBudgetExceeded
()
sdk/errdefs/errors.go:52
↓ 1 callersMethodBuildAll
BuildAll constructs every registered lens.
memory/recall/internal/lens/registry.go:41
↓ 1 callersFunctionBuildEmbedder
BuildEmbedder mirrors BuildLLM for the embedding registry.
eval/internal/env/provider.go:163
↓ 1 callersFunctionBuildEnv
BuildEnv creates a script Env from ordinary binding funcs.
sdk/script/env_builder.go:65
↓ 1 callersMethodBuildKnowledge
(context.Context, KnowledgeSpec, BackendDeps)
vessel/assembly/backends.go:43
↓ 1 callersFunctionBuildLLM
BuildLLM resolves spec via Load and constructs an LLM through the global provider registry, then wraps it with the model's catalog caps + any user-sup
eval/internal/env/provider.go:140
↓ 1 callersMethodBuildRecall
(context.Context, RecallSpec, BackendDeps)
vessel/assembly/backends.go:31
↓ 1 callersMethodBuildWorkspace
(context.Context, WorkspaceSpec)
vessel/assembly/backends.go:19
↓ 1 callersFunctionCJKSet
CJKSet returns a writable [Set] seeded with the package's CJK stop-character baseline. Each rune is stored as a one-rune string so callers can compose
memory/text/stopword/cjk.go:41
↓ 1 callersMethodCanResume
CanResume satisfies [engine.Resumer]. It is the cheap pre-flight probe a host runs before invoking Execute with a non-nil ResumeFrom so obvious incomp
sdk/graph/runner/engine.go:77
↓ 1 callersMethodCancel
Cancel marks the given card cancelled. It is the synchronous entry point that Pod controllers (or any external coordinator) should use during graceful
sdk/kanban/kanban.go:438
↓ 1 callersMethodCapabilities
Capabilities advertises what this backend supports. The retrieval algorithm side is fixed (BM25 + flat vectors + hybrid via RRF, full Filter operator
memory/retrieval/workspace/index.go:395
↓ 1 callersMethodCapabilities
Capabilities implements retrieval.Index.
memory/retrieval/memory/index.go:40
↓ 1 callersMethodCapabilities
Capabilities reports LocalWorkspace's storage characteristics: backed by the host filesystem, so Rename is atomic on the same device, writes are read-
sdk/workspace/local.go:47
↓ 1 callersMethodCapabilities
()
sdk/workspace/capabilities.go:57
↓ 1 callersMethodCapabilities
()
sdk/engine/capabilities.go:71
↓ 1 callersMethodCapabilities
Capabilities implements retrieval.Index.
sdk/retrieval/memory/index.go:39
↓ 1 callersFunctionCapabilitiesOf
CapabilitiesOf returns idx.Capabilities normalized against idx's actual optional method set. It is the preferred capability read path for callers.
memory/retrieval/capabilities.go:96
↓ 1 callersFunctionCapabilitiesOf
CapabilitiesOf returns idx.Capabilities normalized against idx's actual optional method set. It is the preferred capability read path for callers.
sdk/retrieval/capabilities.go:95
↓ 1 callersMethodCheck
Check satisfies spec.Probe. Two failure modes are surfaced: - registry returns errdefs.NotFound: probe Healthy=false with the registry's own error str
vessel/probes.go:442
↓ 1 callersFunctionCheckPortCompatibility
CheckPortCompatibility checks if connected nodes have compatible port types.
sdk/graph/compile_analyze.go:341
↓ 1 callersMethodCheckpoint
Checkpoint routes through CheckpointFn or Inner.
sdk/engine/middleware.go:106
↓ 1 callersFunctionChunkConfigSig
ChunkConfigSig returns a stable signature for a chunker configuration. It is the ChunkerSig embedded in DerivedSig so freshness checks can detect a co
memory/knowledge/chunking.go:70
↓ 1 callersFunctionChunkConfigSig
ChunkConfigSig returns a stable signature for a chunker configuration. It is the ChunkerSig embedded in DerivedSig so freshness checks can detect a co
sdk/knowledge/chunking.go:70
↓ 1 callersFunctionChunkText
ChunkText splits content into UTF-8-safe overlapping chunks. Behavior: - Slicing is performed on rune indices, never byte indices. - End offsets are
memory/knowledge/chunking.go:84
↓ 1 callersFunctionChunkText
ChunkText splits content into UTF-8-safe overlapping chunks. Behavior: - Slicing is performed on rune indices, never byte indices. - End offsets are
sdk/knowledge/chunking.go:84
↓ 1 callersFunctionClassify
Classify returns the normalized outcome for err.
memory/internal/background/outcome.go:22
↓ 1 callersFunctionClassify
Classify returns the normalized outcome for err.
sdk/internal/background/outcome.go:22
↓ 1 callersFunctionClassifyAPIErrorWithProvider
(provider string, err error)
sdkx/llm/openai/shared/classify.go:15
↓ 1 callersFunctionClassifyError
(err error)
voice/error.go:22
↓ 1 callersFunctionClassifyHTTPStatus
ClassifyHTTPStatus wraps a raw HTTP status code into an errdefs- classified error. Use this from callers that drive HTTP themselves (e.g. ollama, cust
sdk/errdefs/http.go:99
↓ 1 callersFunctionCleanString
CleanString applies all cleaning steps to a string.
sdkx/extract/html/cleaner.go:99
↓ 1 callersMethodClearScope
ClearScope removes every projection entry for a scope partition without enumerating fact IDs. It backs Memory.ForgetAll and is the only entry point wi
memory/recall/internal/port/projection.go:49
↓ 1 callersMethodClone
Clone returns a deep copy of m. It duplicates the Parts slice and all pointer-backed payloads so callers can safely retain or mutate the result.
sdk/model/message.go:88
↓ 1 callersFunctionCloneDoc
CloneDoc returns a copy of d whose mutable slices/maps are not shared.
memory/retrieval/clone.go:6
↓ 1 callersFunctionCloneDoc
CloneDoc returns a copy of d whose mutable slices/maps are not shared.
sdk/retrieval/clone.go:6
↓ 1 callersFunctionCloneHit
CloneHit returns a copy of h whose mutable maps/slices are not shared.
memory/retrieval/clone.go:21
↓ 1 callersFunctionCloneHit
CloneHit returns a copy of h whose mutable maps/slices are not shared.
sdk/retrieval/clone.go:21
← previousnext →3,501–3,600 of 13,468, ranked by callers