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
resolveCountedRelative
(raw string, base time.Time)
memory/text/timex/relative.go:215
↓ 1 callers
Method
resolveDatasets
resolveDatasets returns the explicit list when non-empty; otherwise enumerates every dataset directory under the prefix.
memory/knowledge/backend/fs/layer.go:443
↓ 1 callers
Method
resolveDatasets
resolveDatasets returns the explicit list when non-empty; otherwise enumerates every dataset directory under the prefix.
sdk/knowledge/backend/fs/layer.go:440
↓ 1 callers
Method
resolveDefaultModel
resolveDefaultModel returns the default model identifier or "". Tries DefaultModelStore first, then WithFallbackModel.
sdk/llm/resolver.go:234
↓ 1 callers
Method
resolveDir
resolveDir converts a workspace-relative dir path into a prefix for listing.
sdkx/workspace/objstore/workspace.go:251
↓ 1 callers
Function
resolveDirectionalRelative
(raw string, base time.Time)
memory/text/timex/relative.go:235
↓ 1 callers
Method
resolveExplicitSupersedes
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 callers
Function
resolveHistories
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 callers
Function
resolveNested
resolveNested navigates a dotted path through nested maps.
sdk/graph/variable/resolver.go:146
↓ 1 callers
Method
resolvePaths
(root string)
memory/retrieval/bbh/config.go:204
↓ 1 callers
Method
resolvePaths
(root string)
sdk/retrieval/bbh/config.go:194
↓ 1 callers
Function
resolveSupportingTurn
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 callers
Method
resolveTimeout
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 callers
Method
resolveTokenizer
resolveTokenizer returns the configured tokenizer or the process-wide default (gse segmenter; see chunk.go).
memory/knowledge/backend/fs/layer.go:85
↓ 1 callers
Method
resolveTokenizer
()
sdk/knowledge/backend/fs/layer.go:82
↓ 1 callers
Method
resolveTyped
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 callers
Function
resolveVessel
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 callers
Method
resolveWorkDir
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 callers
Method
resolveWorkDir
(dir string)
sdk/sandbox/local.go:188
↓ 1 callers
Function
responsesRole
(role llm.Role)
sdkx/llm/bytedance/responses.go:111
↓ 1 callers
Function
responsesTextContent
(role llm.Role, parts []llm.Part)
sdkx/llm/bytedance/responses.go:206
↓ 1 callers
Method
restartLoop
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 callers
Method
restoreTimestamps
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 callers
Function
resultPayloadFromCard
resultPayloadFromCard reconstructs a [kanban.ResultPayload] from the terminal Card so [kanban.BuildCallbackQuery] can format the callback message iden
vessel/kanban.go:714
↓ 1 callers
Function
retrievalCandidateEvidenceIDs
(docMeta map[string]any)
memory/recall/internal/lens/retrieval/source.go:154
↓ 1 callers
Function
retrievalCandidateMeta
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 callers
Method
retryAt
()
cmd/claw/cli/auto.go:718
↓ 1 callers
Method
reviseCount
()
sdk/graph/runner/integration_test.go:483
↓ 1 callers
Function
rewriteEmbeddedFirstPersonSingularContent
(text, subject string)
memory/recall/internal/ingest/extractor_llm.go:801
↓ 1 callers
Function
rewriteFirstPersonSingularContent
(text, subject string)
memory/recall/internal/ingest/extractor_llm.go:756
↓ 1 callers
Function
roleOf
(r string)
eval/history/eval.go:549
↓ 1 callers
Function
roleSet
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 callers
Function
roleSet
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 callers
Method
rolloverLocked
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 callers
Function
rotateHosts
(hosts []string, seed int)
sdkx/extract/twitter/nitter.go:104
↓ 1 callers
Method
routes
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 callers
Function
rowOpt
(name string, a, b *float64, fmtStr string)
eval/locomo/cli.go:684
↓ 1 callers
Function
ruleEntities
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 callers
Function
ruleEntities
(text string)
sdk/recall/pipeline/stages.go:36
↓ 1 callers
Function
ruleEntities
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 callers
Function
run
(cfg config)
tools/retrieval-namespace-migrate/main.go:65
↓ 1 callers
Function
runAutoDialogue
(raidWorkspace, personaWorkspace, outputPath string, opts autoOptions)
cmd/claw/cli/auto.go:208
↓ 1 callers
Function
runBranch
(ctx context.Context, g *graph.Graph, board *graph.Board, startID, joinID string, cfg runConfig)
sdk/graph/runner/internal/executor/parallel.go:457
↓ 1 callers
Method
runCallbackBridge
runCallbackBridge is the bridge goroutine spawned by [startCallbackBridge]. Exits when the subscription channel closes (kanbanBridgeCancel fires or th
vessel/kanban.go:580
↓ 1 callers
Method
runClear
(ctx context.Context, convID string)
memory/history/compactor.go:590
↓ 1 callers
Method
runClear
(ctx context.Context, convID string)
sdk/history/compactor.go:590
↓ 1 callers
Method
runCompactionRound
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 callers
Method
runCompensators
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 callers
Function
runDialog
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 callers
Function
runEntryToStatus
runEntryToStatus mirrors LookupRun's state derivation so the list and lookup endpoints report identical State strings.
cmd/vesseld/fleet/fleet.go:367
↓ 1 callers
Method
runExpire
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 callers
Method
runHard
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 callers
Method
runHeartbeat
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 callers
Function
runLane
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 callers
Function
runLane
( ctx context.Context, svc *knowledge.Service, ds *Dataset, queries []Query, lane Lane, topK int, opts
eval/beir/beir.go:556
↓ 1 callers
Method
runLoop
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 callers
Method
runOneShot
--------------------------------------------------------------------------- One-shot path ------------------------------------------------------------
voice/pipeline.go:361
↓ 1 callers
Function
runOneTestTurn
(app *claw.Claw, turn int, input string, timeout time.Duration)
cmd/claw/cli/test_turn.go:109
↓ 1 callers
Function
runRecognizers
(text string, anchor time.Time, recognizers ...temporalRecognizer)
memory/text/timex/pipeline.go:44
↓ 1 callers
Method
runResolverBatch
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 callers
Method
runRoundTrip
(ctx context.Context, id string, req Request, events chan<- Event, round *roundController)
sdkx/claw/roundtrip.go:120
↓ 1 callers
Method
runSaveAsync
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 callers
Method
runSidecarLoop
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 callers
Function
runSingleShot
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 callers
Method
runSoft
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 callers
Function
runStrategy
(ctx context.Context, ds *dataset.Dataset, s Strategy, opts Options, emit func(Event))
eval/history/eval.go:283
↓ 1 callers
Method
runStream
--------------------------------------------------------------------------- Streaming path -----------------------------------------------------------
voice/pipeline.go:414
↓ 1 callers
Method
runSweeperLoop
runSweeperLoop GC's old registry entries every minute. Exits on Stop via runSweeperStop; closing runSweeperDone signals exit.
cmd/vesseld/fleet/fleet.go:437
↓ 1 callers
Method
runTTS
(ctx context.Context, flow *flowRun, out *audio.Pipe[Event], awaitExtra ...func())
voice/pipeline.go:757
↓ 1 callers
Function
runTUIDebugRecall
(app *claw.Claw, query string)
cmd/claw/cli/tui_model.go:456
↓ 1 callers
Function
runTask
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 callers
Method
runTask
(convID string, task convTask)
memory/history/compactor.go:535
↓ 1 callers
Method
runTask
(convID string, task convTask)
sdk/history/compactor.go:535
↓ 1 callers
Function
runTestTurns
(workspacePath, logPath string, inputs []string, timeout time.Duration)
cmd/claw/cli/test_turn.go:42
↓ 1 callers
Function
runVoiceUI
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 callers
Function
runeOffsetToByteOffset
(s string, runeIdx int)
memory/knowledge/chunking.go:159
↓ 1 callers
Function
runeOffsetToByteOffset
(s string, runeIdx int)
sdk/knowledge/chunking.go:159
↓ 1 callers
Function
safeEval
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 callers
Function
safeHostname
(rawURL string)
sdkx/extract/html/metadata.go:118
↓ 1 callers
Function
safeLog
(x float64)
sdk/retrieval/pipeline/stages_boost.go:210
↓ 1 callers
Function
safeProbeCheck
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 callers
Function
salienceScore
(scorer port.SalienceScorer, f domain.TemporalFact, tier string)
memory/recall/internal/ingest/ingest.go:177
↓ 1 callers
Function
sameContent
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 callers
Function
sameDir
(t *testing.T, a, b string)
cmd/vesseld/resolver/sessionstore_test.go:97
↓ 1 callers
Function
sameSet
(a, b []string)
memory/retrieval/workspace/compaction_test.go:288
↓ 1 callers
Function
sameStringSet
(got, want []string)
memory/recall/recalltest/evidence.go:188
↓ 1 callers
Function
sameVector
(a, b []float32)
memory/retrieval/bbh/index.go:519
↓ 1 callers
Function
sameVector
(a, b []float32)
sdk/retrieval/bbh/index.go:511
↓ 1 callers
Method
sampleRate
()
voice/webrtc/source.go:18
↓ 1 callers
Function
sandboxDefaultsFromSpec
sandboxDefaultsFromSpec projects the YAML SandboxSpec onto the sandbox.ExecOptions shape WithDefaults consumes. The projection is purely structural —
cmd/vesseld/resolver/sandbox.go:96
↓ 1 callers
Method
savedFacts
(ctx context.Context, scope recall.Scope, ids []string)
eval/locomo/runners/flowcraftv2/runner.go:260
↓ 1 callers
Method
savedTurns
()
sdkx/claw/roundtrip_test.go:1380
↓ 1 callers
Method
scanAll
(ctx context.Context, ns string, f retrieval.Filter, limit int)
memory/retrieval/postgres/index.go:367
↓ 1 callers
Method
scanAll
(ctx context.Context, ns string, f retrieval.Filter, limit int)
memory/retrieval/sqlite/index.go:438
↓ 1 callers
Function
scanPostgresDocs
(rs pgx.Rows)
memory/retrieval/postgres/index.go:452
↓ 1 callers
Function
scanRecord
-- scanners ----------------------------------------------------------------
sdkx/recall/jobqueue/sqlite/queue.go:236
↓ 1 callers
Function
scanRecordWithState
(row *sql.Row)
sdkx/recall/jobqueue/sqlite/queue.go:264
↓ 1 callers
Function
scanSQLiteDocs
(rows *sql.Rows)
memory/retrieval/sqlite/index.go:525
↓ 1 callers
Method
scheduleSubmit
scheduleSubmit handles TaskOptions with Delay or Cron fields. Called from Kanban.Submit when scheduling fields are present.
sdk/kanban/scheduler.go:313
↓ 1 callers
Method
schedulerCtx
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
← previous
next →
5,401–5,500 of 13,468, ranked by callers