MCPcopy Create free account

hub / github.com/GizClaw/flowcraft / functions

Functions13,468 in github.com/GizClaw/flowcraft

MethodOnPublish
(env Envelope)
sdk/event/memory_route_cache_test.go:365
MethodOnRunEnd
OnRunEnd persists the assistant turn(s) when the run committed. Non-committed runs (interrupt / fail / cancel) leave the user message visible but no a
vessel/history.go:110
MethodOnRunEnd
(_ context.Context, _ agent.RunInfo, _ *agent.Result)
tests/quality/vessel/hooks_test.go:28
MethodOnRunEnd
(context.Context, RunInfo, *Result)
sdk/agent/observer_test.go:103
MethodOnRunEnd
(context.Context, RunInfo, *Result)
sdk/agent/observer_test.go:121
MethodOnRunEnd
(ctx context.Context, info RunInfo, res *Result)
sdk/agent/observer.go:173
MethodOnRunEnd
(_ context.Context, _ agent.RunInfo, res *agent.Result)
sdk/agent/run_test.go:396
MethodOnRunEnd
(context.Context, agent.RunInfo, *agent.Result)
sdk/agent/run_test.go:479
MethodOnRunEnd
(_ context.Context, _ agent.RunInfo, res *agent.Result)
sdk/agent/run_test.go:901
MethodOnRunRevise
(_ context.Context, _ agent.RunInfo, prev *agent.Result, next int)
sdk/graph/runner/integration_test.go:474
MethodOnRunRevise
(context.Context, RunInfo, *Result, int)
sdk/agent/observer_test.go:120
MethodOnRunRevise
OnRunRevise is a no-op.
sdk/agent/observer.go:104
MethodOnRunRevise
(ctx context.Context, info RunInfo, prev *Result, next int)
sdk/agent/observer.go:167
MethodOnRunRevise
(context.Context, agent.RunInfo, *agent.Result, int)
sdk/agent/run_test.go:476
MethodOnRunRevise
(_ context.Context, _ agent.RunInfo, prev *agent.Result, next int)
sdk/agent/run_test.go:895
MethodOnRunStart
OnRunStart persists the user message before the engine sees it. Append errors are logged but NOT propagated: agent.Observer's contract says start/end
vessel/history.go:90
MethodOnRunStart
(_ context.Context, info agent.RunInfo, _ *agent.Request)
tests/quality/vessel/hooks_test.go:23
MethodOnRunStart
(context.Context, RunInfo, *Request)
sdk/agent/observer_test.go:101
MethodOnRunStart
(context.Context, RunInfo, *Request)
sdk/agent/observer_test.go:110
MethodOnRunStart
(context.Context, RunInfo, *Request)
sdk/agent/observer_test.go:118
MethodOnRunStart
(ctx context.Context, info RunInfo, req *Request)
sdk/agent/observer.go:155
MethodOnRunStart
(_ context.Context, info agent.RunInfo, _ *agent.Request)
sdk/agent/run_test.go:380
MethodOnRunStart
(context.Context, agent.RunInfo, *agent.Request)
sdk/agent/run_test.go:472
MethodOnRunStart
(context.Context, agent.RunInfo, *agent.Request)
sdk/agent/run_test.go:518
MethodOnRunStart
(context.Context, agent.RunInfo, *agent.Request)
sdk/agent/run_test.go:889
MethodOnStage
(recall.StageDiagnostic)
memory/recall/options_test.go:15
MethodOnStage
(d diagnostic.StageDiagnostic)
memory/recall/memory_rebuild_test.go:25
MethodOnStage
(_ diagnostic.StageDiagnostic)
memory/recall/side_effects_test.go:27
MethodOnStage
(d diagnostic.StageDiagnostic)
memory/recall/internal/telemetry/deferred_test.go:16
MethodOnStage
(diagnostic.StageDiagnostic)
memory/recall/internal/telemetry/nop.go:13
MethodOnStage
(d diagnostic.StageDiagnostic)
memory/recall/internal/pipeline/pipeline_test.go:108
MethodOnStage
(e diagnostic.StageDiagnostic)
memory/recall/internal/pipeline/fanout_test.go:202
MethodOnStage
(d diagnostic.StageDiagnostic)
memory/recall/internal/pipeline/write/runner.go:74
MethodOnStage
(d diagnostic.StageDiagnostic)
memory/recall/internal/pipeline/write/stages/append_test.go:93
MethodOnTurnMetrics
(m TurnMetrics)
voice/metrics/metrics.go:37
FunctionOpen
Open creates a Store backed by a fresh pgxpool.Pool against dsn. The Store takes ownership of the pool — closing the Store closes the pool. Migrations
sdkx/engine/checkpoint/postgres/store.go:48
FunctionOpen
Open creates a Store backed by a fresh database/sql connection pool against dsn. The Store takes ownership of the pool — closing the Store closes the
sdkx/engine/checkpoint/sqlite/store.go:51
FunctionOpen
Open opens (or creates) the queue file and runs migrations + crash recovery.
sdkx/recall/jobqueue/sqlite/queue.go:29
FunctionOpen
Open creates a Postgres-backed Index from a DSN (e.g. "postgres://...").
memory/retrieval/postgres/index.go:29
FunctionOpen
Open opens or creates a SQLite database at path with the recommended pragmas. Use ":memory:" for an in-process database.
memory/retrieval/sqlite/index.go:36
MethodOpen
(_ context.Context, _ string)
vessel/session_test.go:490
MethodOpen
(string)
sdk/graph/node/scriptnode/register_test.go:31
MethodOutputPorts
()
sdk/graph/board_test.go:94
MethodOutputPorts
()
sdk/graph/runner/integration_test.go:254
MethodOutputPorts
()
sdk/graph/node/llmnode/llmnode.go:167
MethodOutputPorts
()
sdk/graph/node/scriptnode/jsnode.go:49
MethodOutputPorts
OutputPorts implements graph.Node. New callers should consume "hits" (typed []knowledge.Hit) and "by_dataset"; "results" carries the same content proj
sdk/graph/node/knowledgenode/knowledgenode.go:98
FunctionParallelControllerFromContext
ParallelControllerFromContext returns the current fork controller, if any.
sdk/graph/parallel.go:26
MethodParse
(string, time.Time)
memory/recall/options_test.go:19
MethodParse
(string, time.Time)
memory/recall/internal/ingest/structurizer_test.go:90
MethodParse
(text string, _ time.Time)
memory/text/timex/extract_test.go:14
MethodParse
Parse implements [Parser]. On a successful match RegexParser returns the FIRST recognised date in text — left-to-right scan. Subsequent dates are ign
memory/text/timex/regex.go:35
FunctionPatternAllCron
PatternAllCron returns "kanban.cron.>" — every cron-scoped event.
sdk/kanban/subjects.go:104
FunctionPatternAllRuns
PatternAllRuns returns the wildcard pattern matching every event from every run. engine.run.>
sdk/engine/subjects.go:157
FunctionPatternRunSteps
PatternRunSteps returns the wildcard pattern matching every step lifecycle event (start / complete / error and any engine-private step.* extension suc
sdk/engine/subjects.go:166
MethodPenalize
(context.Context, recall.Scope, string, float64)
sdkx/claw/roundtrip_test.go:1442
MethodPenalize
Penalize records negative caller feedback on a fact.
memory/recall/reinforce.go:17
MethodPendingCount
PendingCount returns count of pending jobs (used by callers / metrics).
sdkx/recall/jobqueue/sqlite/queue.go:217
MethodPendingCount
PendingCount is exposed for telemetry (memory.job.queue_depth gauge).
sdk/recall/jobs.go:244
FunctionPitch
Pitch returns a per-call TTSOption that sets pitch (-12 to 12).
voice/tts/minimax/minimax.go:84
FunctionPlaceholders
(start, n int, postgres bool)
memory/recall/store/internal/sqlstmt/shared.go:117
FunctionPlan
Plan is the planner view reconstructed from trace.Stages.
memory/recall/diagnostics/recall.go:101
MethodPlan
Plan returns the QueryPlan with normalized limits and per-source budgets.
memory/recall/internal/planner/planner.go:119
MethodPlan
(_ context.Context, in port.PlannerInput)
memory/recall/internal/pipeline/read/stages/plan_test.go:23
MethodPlan
Plan fetches /v1/plan and returns the parsed map. Tests assert on the projected daemon/vessel/agent shape.
tests/e2e/vesseld/helpers/api.go:330
MethodPlay
(stream audio.Stream[tts.Utterance])
voice/session_test.go:83
MethodPlay
(stream audio.Stream[tts.Utterance])
voice/session_test.go:110
MethodPlay
Play reads utterances from the stream, encodes the PCM audio to Opus, and writes the encoded packets to the WebRTC track. Implements voice.AudioSink.
voice/webrtc/sink.go:45
MethodPlay
Play starts playback asynchronously and returns when drained or aborted.
examples/voice-pipeline/portaudio.go:112
MethodPlaybackReference
()
examples/voice-pipeline/portaudio.go:109
MethodPolicyDenied
()
sdk/errdefs/errors.go:132
MethodProcess
(frame audio.Frame)
voice/session_test.go:130
MethodProcess
(frame audio.Frame)
voice/preprocess/preprocess.go:11
MethodProcessAsyncSemantic
ProcessAsyncSemantic claims and processes up to opts.Limit jobs.
memory/recall/async_semantic.go:80
MethodProcessCapture
(capture audio.Frame, reference audio.Frame)
voice/detect/echo_test.go:15
MethodProcessCapture
(capture audio.Frame, _ audio.Frame)
voice/detect/echo.go:24
MethodProcessSideEffects
(_ context.Context, opts recall.SideEffectProcessOptions)
sdkx/claw/memory_test.go:689
MethodProcessSideEffects
(context.Context, recall.SideEffectProcessOptions)
sdkx/claw/memory_test.go:766
MethodProcessSideEffects
(ctx context.Context, opts SideEffectProcessOptions)
memory/recall/side_effects.go:138
MethodProcessSideEffects
(ctx context.Context, opts recall.SideEffectProcessOptions)
memory/recall/ops/runner_test.go:549
MethodProcessSideEffects
(ctx context.Context, opts recall.SideEffectProcessOptions)
memory/recall/ops/runner_test.go:568
MethodProject
(context.Context, []domain.TemporalFact)
memory/recall/memory_save_test.go:601
MethodProject
(context.Context, []domain.TemporalFact)
memory/recall/memory_save_test.go:619
MethodProject
(ctx context.Context, facts []domain.TemporalFact)
memory/recall/internal/port/projection.go:41
MethodProject
(ctx context.Context, facts []domain.TemporalFact)
memory/recall/internal/lens/evidence/projection.go:36
MethodProject
Project is a convenience helper: required then optional in one call without compensation. Production write paths should use the split ProjectRequired/
memory/recall/internal/pipeline/fanout.go:233
MethodProject
(_ context.Context, _ []domain.TemporalFact)
memory/recall/internal/pipeline/fanout_test.go:32
MethodProject
(_ context.Context, facts []domain.TemporalFact)
memory/recall/internal/pipeline/feedback/stages/apply_feedback_test.go:29
MethodProject
(_ context.Context, facts []domain.TemporalFact)
memory/recall/internal/pipeline/forget/stages/forget_all_test.go:100
MethodProject
(context.Context, []domain.TemporalFact)
memory/recall/internal/pipeline/write/stages/project_required_test.go:25
MethodProject
(_ context.Context, facts []domain.TemporalFact)
memory/recall/internal/pipeline/write/stages/project_episode_evidence_test.go:30
MethodProject
(context.Context, []domain.TemporalFact)
memory/recall/internal/pipeline/write/stages/project_episode_evidence_test.go:82
MethodProject
(ctx context.Context, _ Scope, _ []Entry)
sdk/recall/reconciler_internal_test.go:108
MethodProject
(ctx context.Context, scope Scope, entries []Entry)
sdk/recall/reconciler_internal_test.go:133
FunctionProjectionAcceptsKindStrict
ProjectionAcceptsKindStrict reports whether p explicitly opts into kind via port.KindFilteredProjection. Used by the episode lane compensator to match
memory/recall/internal/pipeline/fanout.go:134
FunctionPromoteMergedItems
PromoteMergedItems copies the primary sub-scope's materialized items into MergedItems for direct tests and legacy helpers. Idempotent when MergedItems
memory/recall/internal/pipeline/read/promote.go:6
MethodPrompts
Prompts returns a copy of every UserPrompt the engine submitted.
sdk/engine/enginetest/mock_host.go:121
FunctionProviderName
(v any)
voice/provider/fallback.go:197
FunctionPublicRecallTrace
PublicRecallTrace materialises domain.RecallTrace from ReadState. The public surface is Stages-only; callers reconstruct any derived view via sdk/reca
memory/recall/internal/pipeline/read/trace_public.go:11
MethodPublish
Publish forwards env to the vessel bus AND to the underlying host. The dual fan-out lets callers attach their own observability without losing the ves
vessel/sandbox.go:94
← previousnext →7,701–7,800 of 13,468, ranked by callers