MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

↓ 14 callersFunctionNew
New creates a ByteDance LLM instance.
sdkx/llm/bytedance/bytedance.go:134
↓ 14 callersFunctionNew
New builds an adapter pointing at the DashScope Qwen-Image endpoint. An empty model defaults to "qwen-image-2.0-pro"; an empty baseURL defaults to htt
sdkx/llm/qwen/image/image.go:117
↓ 14 callersMethodNotify
Notify implements [Notifier]. It is safe to call concurrently — each call serialises through a mutex because all events feed the same shared card body
eval/internal/notify/feishu_app.go:84
↓ 14 callersMethodQueryCards
QueryCards queries cards on the board by filter.
sdk/kanban/kanban.go:343
↓ 14 callersMethodRebuild
(ctx context.Context, scope domain.Scope, facts []domain.TemporalFact)
memory/recall/internal/port/projection.go:43
↓ 14 callersMethodRunText
RunText processes text input directly, skipping STT. Produces the same Event stream as RunAudio/RunAudioStream.
voice/pipeline.go:283
↓ 14 callersMethodSource
Source returns the AudioSource that reads from the remote audio track.
voice/webrtc/transport.go:153
↓ 14 callersMethodStop
Stop calls Stop on every Captain concurrently. Used after Drain returns or after the drain timeout fires.
cmd/vesseld/fleet/fleet.go:480
↓ 14 callersMethodString
()
memory/recall/internal/domain/write_mode.go:13
↓ 14 callersMethodUsage
()
sdk/llm/llm.go:133
↓ 14 callersMethodVars
()
sdk/script/bindings/bridge_board.go:27
↓ 14 callersFunctionWithAgentExecutor
WithAgentExecutor sets the executor for running tasks on target agents.
sdk/kanban/kanban.go:137
↓ 14 callersFunctionWithConfig
WithConfig supplies the full BBH configuration and skips workspace config discovery. Zero-valued fields still receive BBH defaults.
memory/retrieval/bbh/config.go:121
↓ 14 callersFunctionWithConfig
WithConfig sets the Kanban configuration.
sdk/kanban/kanban.go:147
↓ 14 callersFunctionclaimAsync
(ctx context.Context, queue recall.AsyncSemanticQueue, scope recall.Scope, now time.Time, max int)
memory/recall/recalltest/async_semantic.go:298
↓ 14 callersFunctionclassifyRecallQuestion
(q QuestionScore, flip string, dump recallDumpRecord, topN int, signals auditSignals, factsByConv map[string][
eval/locomo/cli_analyze_recall.go:397
↓ 14 callersFunctioncompletedEngine
completedEngine appends a single assistant reply and returns nil. Used as the "happy path" engine across run tests.
sdk/agent/run_test.go:21
↓ 14 callersFunctionconnectPair
(t *testing.T, ctx context.Context, server *rtc.Transport)
voice/webrtc/transport_test.go:265
↓ 14 callersFunctioncontextItemWithStructuredFact
(id, evidenceID, source string, score float64, text, subject, predicate, object string)
memory/recall/internal/pipeline/read/stages/context_pack_test.go:936
↓ 14 callersFunctionequalSlice
(a, b []string)
sdk/recall/entity_store_test.go:571
↓ 14 callersFunctionfakeLLMEngineFactory
fakeLLMEngineFactory mirrors cmd/vesseld/catalog/engine_graph_llm.go in shape: it loops calling client.Generate, executes any tool calls via deps.Tool
tests/quality/vessel/helpers_test.go:31
↓ 14 callersMethodjoin
(path string)
sdk/workspace/sub.go:147
↓ 14 callersFunctionkeyOf
(s domain.Scope)
memory/recall/internal/store/temporal/memory.go:48
↓ 14 callersFunctionlineageFact
(id string)
memory/recall/internal/domain/lineage_test.go:11
↓ 14 callersFunctionnewRecordingHost
()
sdk/script/bindings/bridge_host_test.go:33
↓ 14 callersFunctionnewTUIModel
(app *claw.Claw, workspacePath string)
cmd/claw/cli/tui_model.go:65
↓ 14 callersFunctionratio
(num, denom int)
eval/locomo/cli_diagnostics.go:285
↓ 14 callersFunctionweakContextItem
(id, evidenceID, text string)
memory/recall/internal/pipeline/read/stages/context_pack_test.go:912
↓ 13 callersMethodAcquire
(ctx context.Context, vesselID string, tokens int)
cmd/vesseld/catalog/catalog.go:29
↓ 13 callersMethodExecute
(ctx context.Context, run Run, host Host, board *Board)
sdk/engine/engine.go:42
↓ 13 callersMethodExists
(_ context.Context, path string)
sdk/workspace/mem.go:192
↓ 13 callersMethodFail
(ctx context.Context, requestID, leaseToken string, failure AsyncSemanticFailure)
memory/recall/internal/port/async_semantic.go:46
↓ 13 callersMethodFail
(ctx context.Context, id JobID, lastErr string)
sdk/recall/jobs.go:82
↓ 13 callersMethodNormalize
(f domain.TemporalFact)
memory/recall/internal/port/ingest.go:79
↓ 13 callersMethodProcessAsyncSemantic
(ctx context.Context, opts AsyncSemanticProcessOptions)
memory/recall/async_semantic.go:22
↓ 13 callersMethodProjectRequired
ProjectRequired runs required projections synchronously. The first failure short-circuits and is returned wrapped with the failing projection's name.
memory/recall/internal/pipeline/fanout.go:71
↓ 13 callersFunctionSanitiseID
---------- Subject helpers ---------- SanitiseID escapes characters that would corrupt an event.Subject when the input is concatenated into one. event
sdk/engine/subjects.go:353
↓ 13 callersMethodToolResults
ToolResults extracts all tool-result parts.
sdk/model/message.go:195
↓ 13 callersMethodTraverse
(ctx context.Context, scope domain.Scope, seeds []string, maxHops, limit int)
memory/recall/internal/lens/graph/source.go:14
↓ 13 callersMethodValidate
Validate returns nil when the spec is internally consistent and satisfies the constraints v0.1.0 of the vessel runtime enforces. Errors are classified
vessel/spec/validate.go:17
↓ 13 callersFunctionWithRetrievalIndex
WithRetrievalIndex overrides the retrieval backend that powers the retrieval projection. The default is memory/retrieval/memory.New(). Memory.Close c
memory/recall/options.go:164
↓ 13 callersFunctionclaimBatch
(ctx context.Context, q *Queue, workerID string, now time.Time, max int)
memory/recall/internal/store/asyncsemantic/helpers_test.go:11
↓ 13 callersMethodclassify
classify returns a score indicating speech likelihood. In spectral mode it returns a combined [0, 1] score from RMS, ZCR, sub-band energy and pitch; i
voice/vad/vad.go:136
↓ 13 callersFunctioncleanPath
(path string)
sdk/workspace/mem.go:270
↓ 13 callersFunctioncontainsAnyPhrase
(phrases phrase.Matcher, phraseList [][]string)
memory/recall/internal/words/query_intent.go:349
↓ 13 callersMethodemitEvent
(ev Event)
voice/session.go:247
↓ 13 callersFunctionfakeTwoPassLLM
(content, kind, relation, entity, evidence []string)
memory/recall/internal/ingest/extractor_test.go:174
↓ 13 callersFunctionfixedClock
fixedClock returns a deterministic time so segment timestamps across test runs are reproducible. Concurrent callers (e.g. background compactor + main
memory/retrieval/workspace/write_test.go:21
↓ 13 callersFunctionmarkOrNil
--------------------------------------------------------------------------- Constructors — wrap an existing error with a category marker. Each catego
sdk/errdefs/errors.go:142
↓ 13 callersFunctionmetadataString
metadataString coerces a metadata value to string; missing -> "".
memory/knowledge/backend/retrieval/chunk.go:714
↓ 13 callersFunctionmetadataString
metadataString coerces a metadata value to string; missing -> "".
sdk/knowledge/backend/retrieval/chunk.go:714
↓ 13 callersFunctionmustUpsert
(t *testing.T, idx retrieval.Index, ns string, docs []retrieval.Doc)
sdk/retrieval/contract/contract.go:35
↓ 13 callersFunctionnewTestServer
(t *testing.T)
cmd/vesseld/api/server_test.go:44
↓ 13 callersFunctionobjectSchema
objectSchema is a tiny convenience for writing JSON-Schema fragments inline. The "additionalProperties: false" keeps the schema strict so a forgetful
eval/taubench/retail.go:313
↓ 13 callersFunctionparsePart
parsePart dispatches on "type" to a per-type validator. Unknown types are explicitly rejected — silently dropping them would let a script attach data
sdk/script/bindings/llm_marshal.go:345
↓ 13 callersFunctionpartToMap
This file isolates the model.* → map[string]any projections that the LLM bridge serves up to scripts. Keeping projection separate from round logic and
sdk/script/bindings/llm_marshal.go:34
↓ 13 callersFunctionrejectUnknownKeys
(m map[string]any, allowed map[string]struct{}, ctx string)
sdk/script/bindings/llm_marshal.go:646
↓ 13 callersFunctionrenderStructuredAnswerBody
(question runners.AnswerQuestion, hits []recall.Hit)
eval/locomo/runners/flowcraftv2/answer_context.go:51
↓ 13 callersFunctionresolutionWithPrecision
(t time.Time, precision CalendarPrecision)
memory/text/timex/relative.go:388
↓ 13 callersMethodresolve
(path string)
sdk/workspace/local.go:190
↓ 13 callersFunctionresolveValueRef
resolveValueRef turns a v1alpha1.ValueRef into the plain-text value it points at. opts.AllowFile / opts.AllowSecret control which sources are honoured
cmd/vesseld/resolver/secret.go:56
↓ 13 callersFunctionsanitiseID
sanitiseID escapes characters that would corrupt a Subject. See sdk/graph/executor/subjects.go for the rationale; the implementation is intentionally
sdk/kanban/subjects.go:113
↓ 13 callersFunctiontableName
(ns string)
memory/retrieval/postgres/index.go:93
↓ 13 callersFunctiontimePtr
(t time.Time)
memory/recall/internal/ingest/time_resolver_test.go:67
↓ 12 callersFunctionApplyOptions
ApplyOptions folds option funcs into a GenerateOptions value.
sdk/llm/option.go:93
↓ 12 callersMethodCalls
Calls snapshots the recorded call slice. The returned slice is safe to mutate; the underlying buffer is copied.
tests/quality/vessel/fakellm/fakellm.go:160
↓ 12 callersMethodConfig
()
sdk/graph/core.go:51
↓ 12 callersMethodEmit
Emit pushes one streaming event. Type is a short tag like "token", "tool_call", "tool_result", "delta". Payload SHOULD be a map[string]any so downstre
sdk/graph/stream.go:16
↓ 12 callersMethodFeed
(input Input)
voice/endpoint/endpoint.go:32
↓ 12 callersMethodForbidden
()
sdk/errdefs/errors.go:44
↓ 12 callersMethodGetMessages
(_ context.Context, conversationID string)
memory/history/store.go:150
↓ 12 callersMethodGetMessages
(_ context.Context, conversationID string)
sdk/history/store.go:150
↓ 12 callersMethodInterrupts
()
sdk/engine/host.go:67
↓ 12 callersMethodLookupModel
LookupModel returns the full catalog ModelInfo for a registered (provider, model) pair, plus an `ok` flag. Used by the resolver to surface non-spec me
sdk/llm/factory.go:123
↓ 12 callersFunctionNew
New always returns errdefs.NotAvailable on non-Linux platforms. nsjail uses Linux-specific namespace and cgroup primitives that have no counterpart on
sdkx/sandbox/nsjail/runner_other.go:23
↓ 12 callersFunctionNew
New builds an adapter pointing at MiniMax's image-generation endpoint. An empty model defaults to "image-01"; an empty baseURL defaults to https://api
sdkx/llm/minimax/image/image.go:108
↓ 12 callersFunctionNew
New returns an empty graph projection with optional tuning.
memory/recall/internal/lens/graph/projection.go:42
↓ 12 callersFunctionNew
(opts ...STTOption)
voice/stt/bytedance/bytedance.go:99
↓ 12 callersFunctionNewEnvelope
NewEnvelope constructs an Envelope with ID and Time populated. Behaviour: - if subject is empty, returns ErrInvalidSubject (Subject.Validate is calle
sdk/event/envelope.go:87
↓ 12 callersFunctionNewFanout
NewFanout constructs a Fanout. Projections are partitioned by their declared Consistency so the fanout itself stays oblivious to individual projection
memory/recall/internal/pipeline/fanout.go:48
↓ 12 callersFunctionNewLLMBridge
NewLLMBridge exposes LLM calls to scripts as the global "llm": llm.run({ messages }) // blocking, returns full result map l
sdk/script/bindings/bridge_llm.go:112
↓ 12 callersMethodOnTerminate
OnTerminate registers a hook that runs synchronously when the underlying run reaches a terminal state, BEFORE Wait returns and BEFORE Done is closed.
vessel/handle.go:152
↓ 12 callersMethodRecognize
(ctx context.Context, input audio.Frame, opts ...STTOption)
voice/stt/stt.go:15
↓ 12 callersMethodRegisterModels
RegisterModels associates a list of models with a provider.
sdk/llm/factory.go:147
↓ 12 callersMethodResolveConflicts
(ctx context.Context, view View, facts []domain.TemporalFact)
memory/recall/internal/port/ingest.go:129
↓ 12 callersFunctionRunWithFallback
RunWithFallback executes an operation against multiple providers with retry, circuit-breaker, and fallback support. Parameters: - n: number of provid
voice/provider/executor.go:38
↓ 12 callersMethodSetHeader
SetHeader sets a header value, allocating Headers lazily.
sdk/event/envelope.go:151
↓ 12 callersMethodSubmit
Submit is a convenience wrapper around POST /v1/vessels/{id}/submit that returns the run_id for a successful 202 response, or fails the test on any no
tests/e2e/vesseld/helpers/api.go:142
↓ 12 callersMethodTemporalStore
TemporalStore returns the canonical fact ledger adapter.
memory/recall/store/sqlite/backend.go:71
↓ 12 callersMethodUnauthorized
()
sdk/errdefs/errors.go:43
↓ 12 callersMethodView
()
cmd/claw/cli/tui_model.go:285
↓ 12 callersFunctionWithDetectorThreshold
WithDetectorThreshold sets the speech-onset threshold. In classifier mode this is a score in [0,1]; otherwise it is an RMS value. Default: 0.008 (RMS)
voice/detect/energy.go:14
↓ 12 callersFunctionWithParallel
(cfg ParallelConfig)
sdk/graph/runner/internal/executor/executor.go:210
↓ 12 callersFunctionWithSpectral
WithSpectral enables or disables spectral analysis (ZCR, sub-band energy, pitch detection). When disabled, falls back to pure RMS energy detection. En
voice/vad/vad.go:68
↓ 12 callersFunctionapprox
Pure math tests for the IR metrics. We deliberately use closed-form inputs so a regression in the formula (wrong log base, wrong gain function, off-by
eval/beir/metrics_internal_test.go:13
↓ 12 callersMethodarg
(v any)
memory/retrieval/postgres/index.go:488
↓ 12 callersFunctionasyncRequestIDs
(jobs []recall.AsyncSemanticJob)
memory/recall/recalltest/async_semantic.go:307
↓ 12 callersMethodauthn
authn enforces the Authorization: Bearer <token> contract for TCP requests. Unix socket requests are detected via RemoteAddr containing "@" / unix pre
cmd/vesseld/api/server.go:298
↓ 12 callersFunctioncacheLen
cacheLen is a test-only helper that reaches into MemoryBus's route cache. Living in the same package keeps it private to the test binary.
sdk/event/memory_route_cache_test.go:14
↓ 12 callersFunctiondrain
drain reads up to n envelopes from ch within timeout.
sdk/event/memory_test.go:469
← previousnext →401–500 of 13,468, ranked by callers