MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 1 callersFunctionLoadDatasetFromDir
LoadDatasetFromDir reads testdata-style trees: every `*.md` under corpusDir becomes a document keyed by filename; goldenPath is the JSONL question set
eval/knowledge/knowledge.go:67
↓ 1 callersFunctionLoadFiltered
LoadFiltered returns the messages selected by opts. If h satisfies [FilterableHistory] the call is delegated to it; otherwise this helper performs a p
memory/history/load_options.go:103
↓ 1 callersFunctionLoadFiltered
LoadFiltered returns the messages selected by opts. If h satisfies [FilterableHistory] the call is delegated to it; otherwise this helper performs a p
sdk/history/load_options.go:103
↓ 1 callersFunctionLoadInitialState
LoadInitialState reads a JSON file containing a single object and returns it as a State. Trivial; included so a CLI flag can point at e.g. data/retail
eval/taubench/upstream.go:154
↓ 1 callersMethodLogViolation
(ctx context.Context, record ViolationRecord)
sdk/workspace/workspace.go:59
↓ 1 callersFunctionLogs
Logs subscribes to every event of every run in the vessel and returns a channel of decoded [LogEntry]. The channel closes when ctx is cancelled or the
vessel/logs.go:164
↓ 1 callersFunctionLogsForRun
LogsForRun is the per-run variant of Logs. It returns only entries whose RunID matches the supplied id; entries from other runs are dropped at the con
vessel/logs.go:184
↓ 1 callersFunctionLookupPortsForType
LookupPortsForType returns the ports previously registered for nodeType and reports whether a registration exists. The ok result lets callers distingu
sdk/graph/node/ports.go:47
↓ 1 callersMethodLookupRun
LookupRun returns the registry entry for runID. Used by the v1/runs/{run_id} HTTP endpoint to surface terminal status, messages and error after the or
cmd/vesseld/fleet/fleet.go:275
↓ 1 callersMethodMarshalRedacted
MarshalRedacted returns a deep copy of the plan with secret values replaced by "[REDACTED]". Used by `vesseld plan` to render the resolved configurati
cmd/vesseld/resolver/plan.go:222
↓ 1 callersMethodMax
(v int32)
sdk/history/coordinator_test.go:681
↓ 1 callersFunctionMergeDatasets
MergeDatasets concatenates multiple Datasets into one. Useful for --domain all style runs where the operator wants retail + airline in a single Report
eval/taubench/taubench.go:213
↓ 1 callersMethodMetadata
()
sdk/tool/metadata.go:46
↓ 1 callersFunctionMultilingualOnlySet
MultilingualOnlySet returns a writable set containing only the compact non-English multilingual baseline.
memory/text/stopword/multilingual.go:66
↓ 1 callersFunctionMustEnvelope
MustEnvelope is the panic variant of NewEnvelope, intended for static initialisation paths where a marshalling failure indicates a programming bug rat
sdk/event/envelope.go:130
↓ 1 callersFunctionMustGet
MustGet is like Get but panics on error.
sdk/graph/node/scripts/embed.go:47
↓ 1 callersFunctionNFC
NFC applies Unicode Normalisation Form C. The check covers pre-composed vs decomposed encodings (e.g. "é" U+00E9 vs "e\u0301") and ligature normalisat
memory/text/normalize/normalize.go:44
↓ 1 callersFunctionNamespaceFor
NamespaceFor returns the v2 retrieval namespace for a memory scope.
memory/recall/namespace.go:11
↓ 1 callersFunctionNew
New creates a ByteDance embedding instance. Returns an error if apiKey is empty.
sdkx/embedding/bytedance/bytedance.go:40
↓ 1 callersFunctionNew
New creates an Azure OpenAI Embedder.
sdkx/embedding/azure/azure.go:22
↓ 1 callersFunctionNew
New creates a Qwen/DashScope embedder. It reuses the OpenAI embedder with DashScope's OpenAI-compatible endpoint.
sdkx/embedding/qwen/qwen.go:24
↓ 1 callersFunctionNew
New constructs the exec tool. rn MUST be non-nil — there is no host-shell fallback. Callers that want a literal "always succeed" stub for tests should
sdkx/tool/exec/tool.go:48
↓ 1 callersFunctionNew
New creates a recall durable backend on an existing Workspace.
memory/recall/store/workspace/backend.go:45
↓ 1 callersFunctionNew
New returns an empty side-effect outbox.
memory/recall/internal/store/sideeffect/memory.go:48
↓ 1 callersFunctionNew
New returns a new bench runner. Caller must Close().
eval/locomo/runners/flowcraft/runner.go:148
↓ 1 callersFunctionNew
New returns an empty Catalog. Most callers want [Builtin] which pre-populates v0.1.0 in-tree factories; New is exposed primarily for tests that want a
cmd/vesseld/catalog/catalog.go:182
↓ 1 callersFunctionNew
New constructs a knowledge node. svc may be nil — in that case ExecuteBoard writes empty hits to the board instead of failing.
sdk/graph/node/knowledgenode/knowledgenode.go:59
↓ 1 callersFunctionNewBoard
NewBoard creates an empty Board with an initialised main channel so callers can [Board.AppendChannelMessage] without a nil-check.
sdk/engine/board.go:68
↓ 1 callersFunctionNewClient
(apiKey, baseURL string, extraOpts ...option.RequestOption)
sdkx/llm/openai/shared/options.go:15
↓ 1 callersFunctionNewCompacted
NewCompacted returns a [History] that keeps the full transcript but summarizes older turns through a DAG to stay within a token budget. Requires both
memory/history/compactor.go:817
↓ 1 callersFunctionNewCompacted
NewCompacted returns a [History] that keeps the full transcript but summarizes older turns through a DAG to stay within a token budget. Requires both
sdk/history/compactor.go:817
↓ 1 callersFunctionNewDebugHTTPHandler
NewDebugHTTPHandler returns the debug API handler for app.
sdkx/claw/debug_server.go:15
↓ 1 callersFunctionNewDefaultChunker
NewDefaultChunker returns the built-in paragraph/sentence-boundary chunker. Its output is UTF-8 safe; chunks never split inside a multi-byte rune. Si
memory/knowledge/chunking.go:34
↓ 1 callersFunctionNewDefaultChunker
NewDefaultChunker returns the built-in paragraph/sentence-boundary chunker. Its output is UTF-8 safe; chunks never split inside a multi-byte rune. Si
sdk/knowledge/chunking.go:34
↓ 1 callersFunctionNewDocumentRepo
NewDocumentRepo wires an FSDocumentRepo to ws under the given prefix ("knowledge" if empty).
memory/knowledge/backend/fs/document.go:32
↓ 1 callersFunctionNewDocumentRepo
NewDocumentRepo wires an FSDocumentRepo to ws under the given prefix ("knowledge" if empty).
sdk/knowledge/backend/fs/document.go:32
↓ 1 callersFunctionNewFallbackSTT
(primary STT, fallbacks ...STT)
voice/stt/fallback.go:18
↓ 1 callersFunctionNewFallbackTTS
(primary TTS, fallbacks ...TTS)
voice/tts/fallback.go:19
↓ 1 callersFunctionNewFetchURLTool
NewFetchURLTool creates a new FetchURLTool.
sdkx/extract/tool.go:19
↓ 1 callersFunctionNewFromSpecs
NewFromSpecs constructs a planner driven by the supplied lens registration order and activation predicates.
memory/recall/internal/planner/planner.go:97
↓ 1 callersMethodNewID
(f domain.TemporalFact, now time.Time)
memory/recall/internal/port/ingest.go:123
↓ 1 callersFunctionNewIndexEntityStore
NewIndexEntityStore returns a retrieval.Index-backed EntityStore. Returns nil when idx does not implement [retrieval.DocGetter]; callers (typically [N
sdk/recall/entity_store.go:302
↓ 1 callersFunctionNewJobID
NewJobID returns a JobID-typed ULID for SaveAsync (§7.1).
sdk/recall/ids.go:33
↓ 1 callersFunctionNewLayerRepo
NewLayerRepo wires an existing retrieval.Index.
memory/knowledge/backend/retrieval/layer.go:26
↓ 1 callersFunctionNewLayerRepo
NewLayerRepo wires an FSLayerRepo to ws under prefix. Deprecated: see FSLayerRepo. Use factory.NewRetrieval instead; slated for removal in v0.5.0.
memory/knowledge/backend/fs/layer.go:75
↓ 1 callersFunctionNewLayerRepo
NewLayerRepo wires an existing retrieval.Index.
sdk/knowledge/backend/retrieval/layer.go:26
↓ 1 callersFunctionNewLayerRepo
NewLayerRepo wires an FSLayerRepo to ws under prefix. Deprecated: see FSLayerRepo. Use factory.NewRetrieval instead; slated for removal in v0.5.0.
sdk/knowledge/backend/fs/layer.go:74
↓ 1 callersFunctionNewMemObjectStore
()
sdkx/workspace/objstore/memstore.go:24
↓ 1 callersFunctionNewMemoryJobQueue
NewMemoryJobQueue constructs an empty in-memory JobQueue.
sdk/recall/jobs.go:115
↓ 1 callersFunctionNewPassthroughNode
NewPassthroughNode creates a no-op node with the given ID and type.
sdk/graph/core.go:192
↓ 1 callersFunctionNewPortAudioSink
()
examples/voice-pipeline/portaudio.go:105
↓ 1 callersFunctionNewPortAudioSource
()
examples/voice-pipeline/portaudio.go:41
↓ 1 callersFunctionNewProjection
(name string)
memory/recall/internal/lens/semantic/lens.go:64
↓ 1 callersFunctionNewSTTRegistry
()
voice/stt/stt.go:67
↓ 1 callersFunctionNewScopedGitWorkspace
(inner GitWorkspace, opts ...ScopedOption)
sdk/workspace/scoped.go:137
↓ 1 callersFunctionNewSet
NewSet returns an empty Set. Seeded sets typically come from [EnglishSet] instead.
memory/text/stopword/set.go:22
↓ 1 callersFunctionNewSource
(name string, proj *Projection)
memory/recall/internal/lens/semantic/lens.go:187
↓ 1 callersFunctionNewSource
NewSource constructs a Source. index ownership stays with the caller.
memory/recall/internal/lens/retrieval/source.go:40
↓ 1 callersFunctionNewTTSRegistry
()
voice/tts/tts.go:65
↓ 1 callersFunctionNewULID
NewULID returns a 26-char Crockford-Base32 ULID. Concurrent callers see strictly increasing IDs within the same millisecond.
sdk/recall/ids.go:26
↓ 1 callersFunctionNoKnowledgeBackend
()
vessel/assembly/knowledge.go:34
↓ 1 callersFunctionNormalizeExtractorEvidenceAnchor
(s string)
memory/recall/internal/words/extractor_surface.go:90
↓ 1 callersFunctionNormalizeForgetMode
NormalizeForgetMode returns Hard for empty input.
memory/recall/internal/domain/forget.go:16
↓ 1 callersFunctionNormalizeIntentEntityMention
NormalizeIntentEntityMention folds a surface mention into the canonical shape used by the rule-based recall intent compiler.
memory/recall/internal/words/entity_surface.go:14
↓ 1 callersFunctionNormalizeSaveTier
NormalizeSaveTier returns the effective tier for an empty or unknown input (defaults to general).
memory/recall/internal/domain/save_request.go:77
↓ 1 callersFunctionNormalizeSemantic
NormalizeSemantic fills defaults and canonicalises lightweight slots. It is idempotent and safe to call anywhere a fact crosses a stage boundary.
memory/recall/internal/domain/semantic.go:74
↓ 1 callersFunctionNormalizeURL
NormalizeURL normalizes Twitter/X URL to x.com format.
sdkx/extract/twitter/detect.go:78
↓ 1 callersMethodNotifyTrackReady
NotifyTrackReady exposes the trackReady signal for concurrency testing.
voice/webrtc/export_test.go:12
↓ 1 callersFunctionNumericIntentKinds
NumericIntentKinds returns finer-grained numeric question categories.
memory/recall/internal/words/query_intent.go:276
↓ 1 callersFunctionNumericTokens
NumericTokens extracts contiguous numeric token surfaces.
memory/recall/internal/intent/features.go:127
↓ 1 callersMethodObserveRecallOps
(ctx context.Context, event Event)
memory/recall/ops/types.go:32
↓ 1 callersFunctionObserverFromContext
(ctx context.Context)
voice/provider/fallback.go:80
↓ 1 callersMethodOnDeliver
OnDeliver fires after a successful enqueue into a subscription's channel.
sdk/event/observer.go:129
↓ 1 callersMethodOnDeliver
(SubscriptionID, Envelope)
sdk/event/observer.go:140
↓ 1 callersMethodOnDelta
(ctx context.Context, env event.Envelope, delta StreamDeltaPayload)
sdk/engine/stream_sink.go:33
↓ 1 callersMethodOnDrop
OnDrop fires when an envelope is discarded for a specific subscription, identifying the reason.
sdk/event/observer.go:132
↓ 1 callersMethodOnEmit
(context.Context, *sdklog.Record)
sdk/telemetry/log.go:143
↓ 1 callersMethodOnFailure
(index int, now time.Time, policy FallbackPolicy, retryable bool)
voice/provider/fallback.go:178
↓ 1 callersMethodOnInterrupt
OnInterrupt is a no-op.
sdk/agent/observer.go:101
↓ 1 callersMethodOnProviderReport
(Report)
voice/provider/fallback.go:39
↓ 1 callersMethodOnPublish
OnPublish fires once per Publish call, before any delivery decision.
sdk/event/observer.go:126
↓ 1 callersMethodOnPublish
(Envelope)
sdk/event/observer.go:139
↓ 1 callersMethodOnRunEnd
OnRunEnd is a no-op.
sdk/agent/observer.go:107
↓ 1 callersMethodOnRunStart
OnRunStart is a no-op.
sdk/agent/observer.go:98
↓ 1 callersMethodOnSuccess
(index int)
voice/provider/fallback.go:169
↓ 1 callersFunctionOpen
Open creates a PostgreSQL-backed recall durable backend from a DSN.
memory/recall/store/postgres/backend.go:24
↓ 1 callersFunctionOpen
Open opens or creates a SQLite-backed recall durable backend. Use ":memory:" for an in-process database.
memory/recall/store/sqlite/backend.go:33
↓ 1 callersFunctionParseCanonicalTurns
ParseCanonicalTurns parses the "<speaker>: <text>" lines stored on KindEpisode facts by build_episode. Turn IDs are synthetic; prefer enqueue-time Tur
memory/recall/internal/pipeline/write/stages/episode_turns.go:15
↓ 1 callersMethodParseFeed
ParseFeed parses a podcast RSS feed.
sdkx/extract/podcast/rss.go:93
↓ 1 callersFunctionPatternCard
Convenience patterns for downstream subscribers. They mirror the most common slices a UI / projector wants to consume. PatternCard returns "kanban.car
sdk/kanban/subjects.go:89
↓ 1 callersFunctionPatternCronRule
PatternCronRule returns "kanban.cron.<scheduleID>.>" — every event for one cron rule.
sdk/kanban/subjects.go:99
↓ 1 callersFunctionPatternRun
---------- Patterns ---------- PatternRun returns the wildcard pattern matching every event of one run, regardless of engine implementation or engine-
sdk/engine/subjects.go:149
↓ 1 callersFunctionPatternRunStream
PatternRunStream returns the wildcard pattern matching every stream delta of one run. Use this when you want LLM token / tool deltas but not the step
sdk/engine/subjects.go:182
↓ 1 callersMethodPenalize
(ctx context.Context, scope Scope, factID string, delta float64)
memory/recall/memory.go:92
↓ 1 callersMethodPermanent
Permanent reports whether re-running [executeWrite] with the same inputs is guaranteed to fail with the same error class. Only "validate" qualifies to
sdk/recall/write_pipeline.go:123
↓ 1 callersMethodPid
Pid returns the daemon subprocess PID. Useful for OS-level asserts (e.g. "no goroutine leaks: kill the process and inspect proc/<pid> existence").
tests/e2e/vesseld/helpers/api.go:356
↓ 1 callersMethodPlaybackReference
()
voice/sink.go:23
↓ 1 callersFunctionPolicyDenied
PolicyDenied marks err as a policy-layer refusal — tool allow-list rejection, network egress filter, role-based access check, etc. Use this instead of
sdk/errdefs/errors.go:206
↓ 1 callersMethodPolicyDenied
()
sdk/errdefs/errors.go:53
↓ 1 callersMethodProbe
Probe looks up the probe factory or returns errdefs.NotFound.
cmd/vesseld/catalog/catalog.go:241
← previousnext →3,801–3,900 of 13,468, ranked by callers