MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 1 callersFunctionresolveCountedRelative
(raw string, base time.Time)
memory/text/timex/relative.go:215
↓ 1 callersMethodresolveDatasets
resolveDatasets returns the explicit list when non-empty; otherwise enumerates every dataset directory under the prefix.
memory/knowledge/backend/fs/layer.go:443
↓ 1 callersMethodresolveDatasets
resolveDatasets returns the explicit list when non-empty; otherwise enumerates every dataset directory under the prefix.
sdk/knowledge/backend/fs/layer.go:440
↓ 1 callersMethodresolveDefaultModel
resolveDefaultModel returns the default model identifier or "". Tries DefaultModelStore first, then WithFallbackModel.
sdk/llm/resolver.go:234
↓ 1 callersMethodresolveDir
resolveDir converts a workspace-relative dir path into a prefix for listing.
sdkx/workspace/objstore/workspace.go:251
↓ 1 callersFunctionresolveDirectionalRelative
(raw string, base time.Time)
memory/text/timex/relative.go:235
↓ 1 callersMethodresolveExplicitSupersedes
resolveExplicitSupersedes closes facts named in Supersedes / MergeHints.Supersedes without requiring a merge_key collision. 1:N semantics: every list
memory/recall/internal/ingest/resolver.go:259
↓ 1 callersFunctionresolveHistories
resolveHistories builds one history.History per HistoryStore document. Returns the name → instance map plus an Errors aggregate for any factory failur
cmd/vesseld/resolver/resolve.go:175
↓ 1 callersFunctionresolveNested
resolveNested navigates a dotted path through nested maps.
sdk/graph/variable/resolver.go:146
↓ 1 callersMethodresolvePaths
(root string)
memory/retrieval/bbh/config.go:204
↓ 1 callersMethodresolvePaths
(root string)
sdk/retrieval/bbh/config.go:194
↓ 1 callersFunctionresolveSupportingTurn
resolveSupportingTurn picks the first port.TurnContext referenced by any of the fact's EvidenceRefs. The LLM cites multiple turns when a fact spans a
memory/recall/internal/ingest/structurizer.go:169
↓ 1 callersMethodresolveTimeout
resolveTimeout maps the optional timeout_seconds knob to a time.Duration. Nil / negative / zero from the LLM falls back to the tool's default; both la
sdkx/tool/exec/tool.go:185
↓ 1 callersMethodresolveTokenizer
resolveTokenizer returns the configured tokenizer or the process-wide default (gse segmenter; see chunk.go).
memory/knowledge/backend/fs/layer.go:85
↓ 1 callersMethodresolveTokenizer
()
sdk/knowledge/backend/fs/layer.go:82
↓ 1 callersMethodresolveTyped
resolveTyped checks if the entire string is a single ${scope.name} reference and, if so, returns the raw (typed) value from the scope instead of a str
sdk/graph/variable/resolver.go:114
↓ 1 callersFunctionresolveVessel
resolveVessel walks one Vessel + its referenced Agents / Probes and produces a VesselPlan. The engine factory closure for each agent is resolved here
cmd/vesseld/resolver/resolve.go:207
↓ 1 callersMethodresolveWorkDir
resolveWorkDir applies the same root-confinement rules LocalRunner uses. Empty WorkDir resolves to the runner's root; relative paths are joined onto t
sdkx/sandbox/nsjail/runner_linux.go:157
↓ 1 callersMethodresolveWorkDir
(dir string)
sdk/sandbox/local.go:188
↓ 1 callersFunctionresponsesRole
(role llm.Role)
sdkx/llm/bytedance/responses.go:111
↓ 1 callersFunctionresponsesTextContent
(role llm.Role, parts []llm.Part)
sdkx/llm/bytedance/responses.go:206
↓ 1 callersMethodrestartLoop
restartLoop waits the configured backoff and re-runs Launch. Backoff doubles after each failed attempt, capped at BackoffMax. The MaxRestarts counter
vessel/captain.go:735
↓ 1 callersMethodrestoreTimestamps
restoreTimestamps overwrites CreatedAt / UpdatedAt on an existing card to the persisted values. Internal helper for RestoreBoard; must not be exposed
sdk/kanban/board.go:700
↓ 1 callersFunctionresultPayloadFromCard
resultPayloadFromCard reconstructs a [kanban.ResultPayload] from the terminal Card so [kanban.BuildCallbackQuery] can format the callback message iden
vessel/kanban.go:714
↓ 1 callersFunctionretrievalCandidateEvidenceIDs
(docMeta map[string]any)
memory/recall/internal/lens/retrieval/source.go:154
↓ 1 callersFunctionretrievalCandidateMeta
embedQuery embeds the query text. Embedder errors degrade to BM25 (the cosine lane simply contributes nothing); we never abort recall because the embe
memory/recall/internal/lens/retrieval/source.go:136
↓ 1 callersMethodretryAt
()
cmd/claw/cli/auto.go:718
↓ 1 callersMethodreviseCount
()
sdk/graph/runner/integration_test.go:483
↓ 1 callersFunctionrewriteEmbeddedFirstPersonSingularContent
(text, subject string)
memory/recall/internal/ingest/extractor_llm.go:801
↓ 1 callersFunctionrewriteFirstPersonSingularContent
(text, subject string)
memory/recall/internal/ingest/extractor_llm.go:756
↓ 1 callersFunctionroleOf
(r string)
eval/history/eval.go:549
↓ 1 callersFunctionroleSet
roleSet builds a small lookup set from the slice form callers typically pass on the wire. Returns nil for the empty input so the "no filter" path stay
memory/history/load_options.go:170
↓ 1 callersFunctionroleSet
roleSet builds a small lookup set from the slice form callers typically pass on the wire. Returns nil for the empty input so the "no filter" path stay
sdk/history/load_options.go:170
↓ 1 callersMethodrolloverLocked
rolloverLocked resets the per-window counters when more than 60s has passed since the window started. Caller must hold mu.
cmd/vesseld/fleet/ratelimit.go:120
↓ 1 callersFunctionrotateHosts
(hosts []string, seed int)
sdkx/extract/twitter/nitter.go:104
↓ 1 callersMethodroutes
routes wires every endpoint. Order matters here in only one regard: /v1/vessels/{id}/... patterns are checked before the bare /v1/vessels list so the
cmd/vesseld/api/server.go:198
↓ 1 callersFunctionrowOpt
(name string, a, b *float64, fmtStr string)
eval/locomo/cli.go:684
↓ 1 callersFunctionruleEntities
ruleEntities is a zero-dependency entity hint extractor: capitalized tokens, quoted runs, CJK 2+ char compounds. Lowercase normalized.
memory/retrieval/pipeline/stages_query.go:205
↓ 1 callersFunctionruleEntities
(text string)
sdk/recall/pipeline/stages.go:36
↓ 1 callersFunctionruleEntities
ruleEntities is a zero-dependency entity hint extractor: capitalized tokens, quoted runs, CJK 2+ char compounds. Lowercase normalized.
sdk/retrieval/pipeline/stages_query.go:205
↓ 1 callersFunctionrun
(cfg config)
tools/retrieval-namespace-migrate/main.go:65
↓ 1 callersFunctionrunAutoDialogue
(raidWorkspace, personaWorkspace, outputPath string, opts autoOptions)
cmd/claw/cli/auto.go:208
↓ 1 callersFunctionrunBranch
(ctx context.Context, g *graph.Graph, board *graph.Board, startID, joinID string, cfg runConfig)
sdk/graph/runner/internal/executor/parallel.go:457
↓ 1 callersMethodrunCallbackBridge
runCallbackBridge is the bridge goroutine spawned by [startCallbackBridge]. Exits when the subscription channel closes (kanbanBridgeCancel fires or th
vessel/kanban.go:580
↓ 1 callersMethodrunClear
(ctx context.Context, convID string)
memory/history/compactor.go:590
↓ 1 callersMethodrunClear
(ctx context.Context, convID string)
sdk/history/compactor.go:590
↓ 1 callersMethodrunCompactionRound
runCompactionRound scans every namespace and runs at most one compaction per namespace per round. A "fast namespace" cannot starve others because the
memory/retrieval/workspace/compaction.go:105
↓ 1 callersMethodrunCompensators
runCompensators walks executed in reverse, invoking Compensate on any stage that implements Compensator. The detached context (see DetachCancel) keeps
memory/recall/internal/pipeline/pipeline.go:245
↓ 1 callersFunctionrunDialog
runDialog drives the multi-turn path. Two parallel message lists (one per LLM, with mirrored roles) keep the customer scoped to natural-language excha
eval/taubench/taubench.go:686
↓ 1 callersFunctionrunEntryToStatus
runEntryToStatus mirrors LookupRun's state derivation so the list and lookup endpoints report identical State strings.
cmd/vesseld/fleet/fleet.go:367
↓ 1 callersMethodrunExpire
runExpire lists every fact in the scope, applies state.Filter to compute the deletion subset, hard-deletes the matches per-id (preserving non-matching
memory/recall/internal/pipeline/forget/stages/forget_all.go:231
↓ 1 callersMethodrunHard
runHard fans ClearScope across every registered projection, then physically deletes the canonical store partition. Evidence-cleared count is read from
memory/recall/internal/pipeline/forget/stages/forget_all.go:168
↓ 1 callersMethodrunHeartbeat
runHeartbeat refreshes the lockfile every heartbeat interval. The loop owns ctx; cancelling it stops the goroutine. On exit (cancel OR detected fence)
memory/retrieval/workspace/lock.go:203
↓ 1 callersFunctionrunLane
runLane scores ds.Questions under one search mode and returns the LaneReport. The function is intentionally side-effect-free apart from the emit callb
eval/knowledge/knowledge.go:402
↓ 1 callersFunctionrunLane
( ctx context.Context, svc *knowledge.Service, ds *Dataset, queries []Query, lane Lane, topK int, opts
eval/beir/beir.go:556
↓ 1 callersMethodrunLoop
runLoop drains rf.sub and fans each envelope out to every currently-attached sink. It returns when the subscription channel closes (bus close, ctx can
sdk/engine/stream_sink.go:246
↓ 1 callersMethodrunOneShot
--------------------------------------------------------------------------- One-shot path ------------------------------------------------------------
voice/pipeline.go:361
↓ 1 callersFunctionrunOneTestTurn
(app *claw.Claw, turn int, input string, timeout time.Duration)
cmd/claw/cli/test_turn.go:109
↓ 1 callersFunctionrunRecognizers
(text string, anchor time.Time, recognizers ...temporalRecognizer)
memory/text/timex/pipeline.go:44
↓ 1 callersMethodrunResolverBatch
runResolverBatch is the single resolver invocation per Save. It gathers candidates for every non-slot new fact, unions/deduplicates them, calls the re
sdk/recall/resolver.go:107
↓ 1 callersMethodrunRoundTrip
(ctx context.Context, id string, req Request, events chan<- Event, round *roundController)
sdkx/claw/roundtrip.go:120
↓ 1 callersMethodrunSaveAsync
runSaveAsync is the async semantic facade. Episode lane and structured Facts share one locked canonical pipeline: Save returns after episode / structu
memory/recall/memory.go:542
↓ 1 callersMethodrunSidecarLoop
runSidecarLoop drains the sidecar's subscription channel and dispatches one Run per envelope. The loop exits when the subscription channel closes (roo
vessel/router.go:133
↓ 1 callersFunctionrunSingleShot
runSingleShot drives the closed-book path: one user message in, agent tool loop until empty reply, no customer LLM.
eval/taubench/taubench.go:657
↓ 1 callersMethodrunSoft
runSoft marks every fact Closed=true and re-projects the closed view so downstream sources (read pipeline) hide them by default. Store rows and eviden
memory/recall/internal/pipeline/forget/stages/forget_all.go:118
↓ 1 callersFunctionrunStrategy
(ctx context.Context, ds *dataset.Dataset, s Strategy, opts Options, emit func(Event))
eval/history/eval.go:283
↓ 1 callersMethodrunStream
--------------------------------------------------------------------------- Streaming path -----------------------------------------------------------
voice/pipeline.go:414
↓ 1 callersMethodrunSweeperLoop
runSweeperLoop GC's old registry entries every minute. Exits on Stop via runSweeperStop; closing runSweeperDone signals exit.
cmd/vesseld/fleet/fleet.go:437
↓ 1 callersMethodrunTTS
(ctx context.Context, flow *flowRun, out *audio.Pipe[Event], awaitExtra ...func())
voice/pipeline.go:757
↓ 1 callersFunctionrunTUIDebugRecall
(app *claw.Claw, query string)
cmd/claw/cli/tui_model.go:456
↓ 1 callersFunctionrunTask
runTask dispatches a single task to the appropriate harness and scores the resulting state. The dispatch decision lives here (not inside Run) so unit
eval/taubench/taubench.go:567
↓ 1 callersMethodrunTask
(convID string, task convTask)
memory/history/compactor.go:535
↓ 1 callersMethodrunTask
(convID string, task convTask)
sdk/history/compactor.go:535
↓ 1 callersFunctionrunTestTurns
(workspacePath, logPath string, inputs []string, timeout time.Duration)
cmd/claw/cli/test_turn.go:42
↓ 1 callersFunctionrunVoiceUI
runVoiceUI starts the mic session and bubbletea TUI. Cancel ctx after program.Run returns, then wait on sessionDone.
examples/voice-pipeline/run_ui.go:40
↓ 1 callersFunctionruneOffsetToByteOffset
(s string, runeIdx int)
memory/knowledge/chunking.go:159
↓ 1 callersFunctionruneOffsetToByteOffset
(s string, runeIdx int)
sdk/knowledge/chunking.go:159
↓ 1 callersFunctionsafeEval
safeEval evaluates a Sierra `calculate(...)` expression. Sierra's own implementation passes the string to Python's `eval()` after a char-allowlist che
eval/taubench/sierra_common.go:135
↓ 1 callersFunctionsafeHostname
(rawURL string)
sdkx/extract/html/metadata.go:118
↓ 1 callersFunctionsafeLog
(x float64)
sdk/retrieval/pipeline/stages_boost.go:210
↓ 1 callersFunctionsafeProbeCheck
safeProbeCheck recovers from panics inside a custom Probe.Check so a misbehaving probe cannot tear the Captain down. The recover is converted into a s
vessel/probes.go:202
↓ 1 callersFunctionsalienceScore
(scorer port.SalienceScorer, f domain.TemporalFact, tier string)
memory/recall/internal/ingest/ingest.go:177
↓ 1 callersFunctionsameContent
sameContent compares two facts for canonical-content equality. The comparison purposefully ignores ID / ObservedAt / evidence / salience metadata so r
memory/recall/internal/ingest/resolver.go:372
↓ 1 callersFunctionsameDir
(t *testing.T, a, b string)
cmd/vesseld/resolver/sessionstore_test.go:97
↓ 1 callersFunctionsameSet
(a, b []string)
memory/retrieval/workspace/compaction_test.go:288
↓ 1 callersFunctionsameStringSet
(got, want []string)
memory/recall/recalltest/evidence.go:188
↓ 1 callersFunctionsameVector
(a, b []float32)
memory/retrieval/bbh/index.go:519
↓ 1 callersFunctionsameVector
(a, b []float32)
sdk/retrieval/bbh/index.go:511
↓ 1 callersMethodsampleRate
()
voice/webrtc/source.go:18
↓ 1 callersFunctionsandboxDefaultsFromSpec
sandboxDefaultsFromSpec projects the YAML SandboxSpec onto the sandbox.ExecOptions shape WithDefaults consumes. The projection is purely structural —
cmd/vesseld/resolver/sandbox.go:96
↓ 1 callersMethodsavedFacts
(ctx context.Context, scope recall.Scope, ids []string)
eval/locomo/runners/flowcraftv2/runner.go:260
↓ 1 callersMethodsavedTurns
()
sdkx/claw/roundtrip_test.go:1380
↓ 1 callersMethodscanAll
(ctx context.Context, ns string, f retrieval.Filter, limit int)
memory/retrieval/postgres/index.go:367
↓ 1 callersMethodscanAll
(ctx context.Context, ns string, f retrieval.Filter, limit int)
memory/retrieval/sqlite/index.go:438
↓ 1 callersFunctionscanPostgresDocs
(rs pgx.Rows)
memory/retrieval/postgres/index.go:452
↓ 1 callersFunctionscanRecord
-- scanners ----------------------------------------------------------------
sdkx/recall/jobqueue/sqlite/queue.go:236
↓ 1 callersFunctionscanRecordWithState
(row *sql.Row)
sdkx/recall/jobqueue/sqlite/queue.go:264
↓ 1 callersFunctionscanSQLiteDocs
(rows *sql.Rows)
memory/retrieval/sqlite/index.go:525
↓ 1 callersMethodscheduleSubmit
scheduleSubmit handles TaskOptions with Delay or Cron fields. Called from Kanban.Submit when scheduling fields are present.
sdk/kanban/scheduler.go:313
↓ 1 callersMethodschedulerCtx
schedulerCtx returns the base context used for all scheduler-originated submissions. Trace span + producer ID are attached so downstream telemetry can
sdk/kanban/scheduler.go:235
← previousnext →5,401–5,500 of 13,468, ranked by callers