MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 2 callersFunctioncaptainFromCtx
(ctx context.Context)
vessel/kanban.go:500
↓ 2 callersFunctioncaptureAutoRunOutput
(output autoRunOutput)
cmd/claw/cli/auto.go:94
↓ 2 callersFunctionchainCapForAgent
chainCapForAgent picks the smaller of the per-agent ProducerChain and the global Spec.Kanban.MaxProducerChain. 0 means "use default" at both levels, s
vessel/kanban.go:224
↓ 2 callersFunctioncheckpointSteps
(cps []engine.Checkpoint)
sdk/graph/runner/engine_test.go:597
↓ 2 callersMethodclamp
clamp appends a final option that inspects the assembled GenerateOptions and tightens any field exceeding the limit. The option runs LAST so it sees t
sdk/llm/with_limits.go:43
↓ 2 callersFunctionclampNonNeg
(v float64)
memory/recall/internal/store/temporal/memory.go:417
↓ 2 callersFunctionclassifyAPIError
classifyAPIError gives anthropic-sdk-go's *anth.Error a status-code-aware classification path that the generic [errdefs.ClassifyProviderError] misses.
sdkx/llm/anthropic/classify.go:41
↓ 2 callersFunctionclassifyArkStatus
(err error, status int)
sdkx/llm/bytedance/classify.go:55
↓ 2 callersFunctionclassifyExtractQualityTurn
(convID string, turn dataset.Turn, questionIDs []string, facts []factDumpFact)
eval/locomo/cli_analyze_extract.go:160
↓ 2 callersFunctionclassifyQueueReadiness
(backlog, expiredLeases, deadLetters, maxBacklog, maxExpiredLeases, maxDeadLetters int)
memory/recall/readiness.go:185
↓ 2 callersFunctionclassifyResponseEventError
(prefix, code, message string)
sdkx/llm/bytedance/responses.go:540
↓ 2 callersFunctionclassifyResponseIncomplete
(provider, reason string)
sdkx/llm/openai/responses/responses.go:414
↓ 2 callersFunctionclawEventToken
(nodeID, content string)
cmd/claw/cli/tui_model_test.go:274
↓ 2 callersFunctioncleanExtractedPredicate
(s string)
memory/recall/internal/ingest/extractor_llm.go:1380
↓ 2 callersFunctionclearUnsupportedRelations
(memories []ExtractedFact, links map[int][]ExtractedEvidenceRef, turnIndex map[string]port.TurnContext)
memory/recall/internal/ingest/extractor_llm_two_pass.go:1147
↓ 2 callersFunctioncloneAnyMap
(in map[string]any)
sdk/model/message.go:373
↓ 2 callersFunctioncloneCandidateMetadata
(in map[string]any)
memory/recall/internal/pipeline/read/stages/source_expansion.go:201
↓ 2 callersFunctioncloneHits
(in []retrieval.Hit)
memory/retrieval/pipeline/stages_post.go:413
↓ 2 callersFunctioncloneHits
(in []retrieval.Hit)
sdk/retrieval/pipeline/stages_post.go:413
↓ 2 callersFunctioncloneJob
(job port.SideEffectJob)
memory/recall/internal/store/sideeffect/memory.go:327
↓ 2 callersFunctionclonePorts
(ports []graph.Port)
sdk/graph/node/scriptnode/builtin_catalog.go:133
↓ 2 callersFunctioncloneSideEffectJob
(job port.SideEffectJob)
memory/recall/store/workspace/state.go:137
↓ 2 callersFunctioncloneSourceDocument
(doc knowledge.SourceDocument)
memory/knowledge/service_arch_test.go:138
↓ 2 callersFunctioncloneSourceDocument
(doc knowledge.SourceDocument)
sdk/knowledge/service_arch_test.go:138
↓ 2 callersFunctioncloneTimePtr
(in *time.Time)
sdkx/claw/memory_fact.go:202
↓ 2 callersMethodclose
()
memory/retrieval/bbh/index.go:273
↓ 2 callersMethodclose
()
sdk/retrieval/bbh/index.go:265
↓ 2 callersFunctioncloseAutoApp
(name string, app *claw.Claw, timeout time.Duration)
cmd/claw/cli/auto.go:309
↓ 2 callersMethodcloseCount
()
sdk/graph/node/scriptnode/bridge_stream_test.go:911
↓ 2 callersFunctioncollectRun
---- collection helpers ---- collectRun reads from ch until it sees run.ended for the given runID, returning every event that belongs to that run (mat
tests/e2e/vesseld/conformance_test.go:296
↓ 2 callersMethodcompactNamespaceLocked
compactNamespaceLocked runs one compaction step. Caller holds st.compactMu. May be a no-op when no bucket meets the threshold.
memory/retrieval/workspace/compaction.go:160
↓ 2 callersFunctionconcreteProposalEntities
(memory ExtractedFact)
memory/recall/internal/ingest/extractor_llm_two_pass.go:1046
↓ 2 callersFunctioncontains
(s, sub string)
memory/recall/internal/pipeline/fanout_test.go:300
↓ 2 callersFunctioncontainsFactID
(hits []Hit, factID string)
memory/recall/memory_graph_test.go:245
↓ 2 callersFunctioncontainsHit
(hits []recall.Hit, id string)
sdk/recall/entity_link_resolver_test.go:429
↓ 2 callersFunctioncontainsID
(ids []string, want string)
memory/retrieval/contract/contract.go:489
↓ 2 callersFunctioncontainsKind
(evs []event.Envelope, kind string)
sdk/kanban/events_test.go:346
↓ 2 callersFunctioncontainsSurfacePhrase
(phrases phrase.Matcher, phraseList [][]string)
memory/recall/internal/words/query_surface.go:319
↓ 2 callersFunctioncontainsTask
(tasks []domain.QueryTaskIntent, want domain.QueryTaskIntent)
memory/recall/internal/planner/planner_test.go:140
↓ 2 callersFunctioncontainsValue
(field any, want any, fold bool)
memory/retrieval/filter_match.go:230
↓ 2 callersFunctioncontainsValue
(field any, want any, fold bool)
sdk/retrieval/filter_match.go:230
↓ 2 callersFunctioncontextPackAddsAnswerabilitySlot
(slots []string, covered map[string]struct{})
memory/recall/internal/pipeline/read/stages/context_packer.go:1151
↓ 2 callersFunctioncontextPackAnswerabilityCoveredSlots
(query contextPackQueryFeatures, selected []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1064
↓ 2 callersFunctioncontextPackCandidates
(input contextPackInput, hits []domain.Hit)
memory/recall/internal/pipeline/read/stages/context_packer.go:542
↓ 2 callersFunctioncontextPackCollectionCandidateUseful
(query contextPackQueryFeatures, cand contextPackCandidate, selected []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:798
↓ 2 callersFunctioncontextPackEnsureAnswerabilityCoverage
(query contextPackQueryFeatures, candidates []contextPackCandidate, selected []domain.Hit, selectedCandidates
memory/recall/internal/pipeline/read/stages/context_packer.go:1033
↓ 2 callersFunctioncontextPackEvidenceAnchorScore
(query contextPackQueryFeatures, cand contextPackCandidate, selected []contextPackCandidate, covered map[strin
memory/recall/internal/pipeline/read/stages/context_packer.go:403
↓ 2 callersFunctioncontextPackEvidenceGroupCounts
(candidates []contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:1128
↓ 2 callersFunctioncontextPackNow
(state *read.ReadState)
memory/recall/internal/pipeline/read/stages/context_pack.go:204
↓ 2 callersFunctioncontextPackQuotedSurfaceCandidate
(cand contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:478
↓ 2 callersFunctioncontextPackSharesQueryAnchor
(query contextPackQueryFeatures, a, b contextPackCandidate)
memory/recall/internal/pipeline/read/stages/context_packer.go:950
↓ 2 callersFunctioncontextPackTextScore
(query contextPackQueryFeatures, textTokens, textNumeric, textQuoted, textProper map[string]struct{}, hasTimeS
memory/recall/internal/pipeline/read/stages/context_packer.go:650
↓ 2 callersFunctioncontextStatePath
(id string)
sdkx/claw/state.go:90
↓ 2 callersFunctionconvAnswerToStrings
(v any)
eval/locomo/cli_convert.go:326
↓ 2 callersFunctionconvertContentParts
(parts []llm.Part)
sdkx/llm/ollama/ollama.go:270
↓ 2 callersFunctionconvertToBetaMessageParams
(msgs []asdk.MessageParam)
sdkx/llm/anthropic/anthropic.go:677
↓ 2 callersFunctionconvertToBetaSystemBlocks
(sys []asdk.TextBlockParam)
sdkx/llm/anthropic/anthropic.go:708
↓ 2 callersFunctioncooldownMultiplier
cooldownMultiplier returns the per-category multiplier for the base breaker cooldown: Auth/Billing get a long penalty (the credentials won't fix thems
sdk/llm/fallback.go:97
↓ 2 callersFunctioncopyAnyMetadata
copyAnyMetadata returns a shallow copy so backend mutations do not surface into hit consumers.
memory/knowledge/backend/retrieval/chunk.go:723
↓ 2 callersFunctioncopyAnyMetadata
copyAnyMetadata returns a shallow copy so backend mutations do not surface into hit consumers.
sdk/knowledge/backend/retrieval/chunk.go:723
↓ 2 callersFunctioncopyStringMap
(in map[string]string)
vessel/assembly/manifest.go:294
↓ 2 callersFunctioncountDocs
(ctx context.Context, idx retrieval.Index, namespace string, f retrieval.Filter)
memory/retrieval/pipeline/stages_recall.go:362
↓ 2 callersFunctioncountDocs
(ctx context.Context, idx retrieval.Index, namespace string, f retrieval.Filter)
sdk/retrieval/pipeline/stages_recall.go:362
↓ 2 callersFunctioncountFileNamespaces
(namespaces []fileNamespaceInspect, source string)
cmd/claw/cli/auto.go:625
↓ 2 callersFunctioncountNestedRecallFields
(records []recallAnalysisRecord, pick func(recallAnalysisRecord) map[string]int)
eval/locomo/cli_analyze_recall.go:1020
↓ 2 callersFunctioncountProperNounSignals
(text string)
memory/recall/internal/ingest/extractor_llm_two_pass.go:1853
↓ 2 callersFunctioncountSegmentDirsOnDisk
countSegmentDirsOnDisk counts segment dirs whose meta.json commit marker is present. Mirrors the in-package segmentDirs helper but talks directly to t
tests/e2e/retrieval/local_e2e_test.go:379
↓ 2 callersFunctioncountWords
(s string)
sdkx/extract/extract.go:68
↓ 2 callersFunctioncountedResolution
(base time.Time, n int, unit string, direction int)
memory/text/timex/relative.go:271
↓ 2 callersFunctioncounter
(ctx context.Context, pool *pgxpool.Pool, kind string, scope domain.Scope)
memory/recall/store/postgres/helpers.go:51
↓ 2 callersFunctioncounter
(ctx context.Context, db *sql.DB, kind string, scope domain.Scope)
memory/recall/store/sqlite/helpers.go:51
↓ 2 callersFunctioncoverageTokenSet
(text string)
memory/recall/internal/ingest/extractor_llm_two_pass.go:2000
↓ 2 callersFunctioncreateTUIWorkspaceFromRaid
(raidName string, reset bool)
cmd/claw/cli/tui_workspace.go:73
↓ 2 callersFunctioncurrentHitCount
currentHitCount returns the most-advanced hit slice length so we can approximate hits-in / hits-out per stage without forcing every stage to report it
memory/retrieval/pipeline/pipeline.go:240
↓ 2 callersFunctioncurrentHitCount
currentHitCount returns the most-advanced hit slice length so we can approximate hits-in / hits-out per stage without forcing every stage to report it
sdk/retrieval/pipeline/pipeline.go:240
↓ 2 callersFunctiondataRefToMap
dataRefToMap projects a data reference. Value is intentionally passed through as-is: the model contract says Value is a JSON-compatible map, so script
sdk/script/bindings/llm_marshal.go:187
↓ 2 callersFunctiondebugRecallQuery
(cfg MemoryConfig, req debugRecallRequest)
sdkx/claw/debug_server.go:228
↓ 2 callersFunctiondecodePCM16Samples
(data []byte)
voice/audio/resample_test.go:26
↓ 2 callersFunctiondecodeSubmit
decodeSubmit parses the submit/call body and validates required fields. agent name MUST be set; everything else is optional.
cmd/vesseld/api/server.go:638
↓ 2 callersMethoddedupHashes
dedupHashes returns hash → existingDocID for content hashes already present in the namespace. Implemented via Index.List with an In filter; backends w
sdk/recall/merger.go:46
↓ 2 callersFunctiondeepCopyAny
(v any)
eval/taubench/sierra_airline.go:779
↓ 2 callersFunctiondeepCopyMap
(m map[string]any)
sdk/graph/variable/resolver.go:41
↓ 2 callersMethoddeleteByDoc
deleteByDoc removes every chunk for (ns, docName) using whichever capability the underlying Index advertises.
memory/knowledge/backend/retrieval/chunk.go:600
↓ 2 callersMethoddeleteByDoc
deleteByDoc removes every chunk for (ns, docName) using whichever capability the underlying Index advertises.
sdk/knowledge/backend/retrieval/chunk.go:600
↓ 2 callersMethoddeleteDatasetNamespace
deleteDatasetNamespace clears every doc carrying the dataset_id from a single namespace using whichever capability the backend advertises.
memory/knowledge/backend/retrieval/chunk.go:319
↓ 2 callersMethoddeleteDatasetNamespace
deleteDatasetNamespace clears every doc carrying the dataset_id from a single namespace using whichever capability the backend advertises.
sdk/knowledge/backend/retrieval/chunk.go:319
↓ 2 callersMethoddeleteDocLevel
deleteDocLevel removes (datasetID, docName) from the __docs namespace. Backends that return NotFound on missing IDs are tolerated — this is also the p
memory/knowledge/backend/retrieval/chunk.go:154
↓ 2 callersMethoddeleteDocLevel
deleteDocLevel removes (datasetID, docName) from the __docs namespace. Backends that return NotFound on missing IDs are tolerated — this is also the p
sdk/knowledge/backend/retrieval/chunk.go:154
↓ 2 callersFunctiondeleteIntent
deleteIntent removes the intent file. The previous implementation wrote an empty payload; that worked only because loadIntent special-cased len(data)
memory/history/archive.go:125
↓ 2 callersFunctiondeleteIntent
deleteIntent removes the intent file. The previous implementation wrote an empty payload; that worked only because loadIntent special-cased len(data)
sdk/history/archive.go:125
↓ 2 callersMethoddeleteRequestTx
(ctx context.Context, tx pgx.Tx, requestID string)
memory/recall/store/postgres/async_semantic_queue.go:356
↓ 2 callersMethoddeleteRequestTx
(ctx context.Context, tx *sql.Tx, requestID string)
memory/recall/store/sqlite/async_semantic_queue.go:353
↓ 2 callersMethoddetachRun
detachRun cancels and removes the per-run fanout if present. Idempotent.
sdk/engine/stream_sink.go:297
↓ 2 callersFunctiondetectCycles
detectCycles uses DFS coloring to check if the graph has any cycles. Implementation delegates to findCycleNodes for code reuse.
sdk/graph/compile.go:174
↓ 2 callersFunctiondeterministicEntryID
deterministicEntryID derives a stable doc ID for a fact — the cornerstone of the at-least-once Save guarantee. id = "ltm_<sha256(scope|messages|index
sdk/recall/ids.go:48
↓ 2 callersFunctiondialASR
(ctx context.Context, appID, token, host string, async bool)
voice/stt/bytedance/transport.go:78
↓ 2 callersFunctiondiscoverConfig
(root string)
memory/retrieval/bbh/config.go:219
↓ 2 callersFunctiondiscoverConfig
(root string)
sdk/retrieval/bbh/config.go:209
↓ 2 callersFunctiondispatcherFromCtx
(ctx context.Context)
vessel/kanban.go:514
↓ 2 callersMethoddoJSON
(t *testing.T, method, path string, body, out any, opts ...ReqOpt)
tests/e2e/vesseld/helpers/api.go:67
← previousnext →2,801–2,900 of 13,468, ranked by callers