Directories
¶
| Path | Synopsis |
|---|---|
|
Package agent is the application-layer surface for FlowCraft agents.
|
Package agent is the application-layer surface for FlowCraft agents. |
|
Package engine defines the foundational primitives shared by every local execution engine in FlowCraft (e.g.
|
Package engine defines the foundational primitives shared by every local execution engine in FlowCraft (e.g. |
|
enginetest
Package enginetest provides reusable contract-test machinery for implementations of engine.Engine.
|
Package enginetest provides reusable contract-test machinery for implementations of engine.Engine. |
|
Package errdefs provides behavior-based error classification.
|
Package errdefs provides behavior-based error classification. |
|
Package event provides a subject-routed publish/subscribe bus for Envelopes, plus an in-memory implementation suitable for single-process fan-out.
|
Package event provides a subject-routed publish/subscribe bus for Envelopes, plus an in-memory implementation suitable for single-process fan-out. |
|
Package graph implements the core graph engine for FlowCraft.
|
Package graph implements the core graph engine for FlowCraft. |
|
adapter
Package adapter bridges graph.Graph onto the workflow.Strategy interface so graph-defined runs can be hosted by the legacy workflow.Runtime.
|
Package adapter bridges graph.Graph onto the workflow.Strategy interface so graph-defined runs can be hosted by the legacy workflow.Runtime. |
|
node
Package node hosts the runtime-side primitives shared by every concrete graph node implementation: the per-type Builder registry (Factory) and the port declarations consumed by jsnode.
|
Package node hosts the runtime-side primitives shared by every concrete graph node implementation: the per-type Builder registry (Factory) and the port declarations consumed by jsnode. |
|
node/knowledgenode
Package knowledgenode implements the "knowledge" graph node and exposes a Register helper for binding it into a node.Factory.
|
Package knowledgenode implements the "knowledge" graph node and exposes a Register helper for binding it into a node.Factory. |
|
node/llmnode
Package llmnode implements the Go-native "llm" graph node and exposes a Register helper for binding it into a node.Factory.
|
Package llmnode implements the Go-native "llm" graph node and exposes a Register helper for binding it into a node.Factory. |
|
node/scripts
Package scripts embeds all built-in JS node scripts via embed.FS.
|
Package scripts embeds all built-in JS node scripts via embed.FS. |
|
runner
Package runner is the assembly + lifecycle layer on top of graph/executor.
|
Package runner is the assembly + lifecycle layer on top of graph/executor. |
|
runner/internal/executor
Package executor provides the graph execution engine.
|
Package executor provides the graph execution engine. |
|
variable
Package variable provides a typed variable system for the graph engine.
|
Package variable provides a typed variable system for the graph engine. |
|
Package history manages conversation transcripts: append messages, load them back fitted to a model's context window, and (optionally) compact older turns into hierarchical summaries to keep that window finite.
|
Package history manages conversation transcripts: append messages, load them back fitted to a model's context window, and (optionally) compact older turns into hierarchical summaries to keep that window finite. |
|
Package knowledge — v0.2.x compatibility layer (removed in v0.3.0).
|
Package knowledge — v0.2.x compatibility layer (removed in v0.3.0). |
|
backend/fs
Package fs implements knowledge.DocumentRepo, knowledge.ChunkRepo and knowledge.LayerRepo on top of any workspace.Workspace.
|
Package fs implements knowledge.DocumentRepo, knowledge.ChunkRepo and knowledge.LayerRepo on top of any workspace.Workspace. |
|
backend/retrieval
Package retrieval implements knowledge.ChunkRepo and knowledge.LayerRepo on top of any retrieval.Index.
|
Package retrieval implements knowledge.ChunkRepo and knowledge.LayerRepo on top of any retrieval.Index. |
|
factory
Package factory wires the canonical knowledge.Service stacks.
|
Package factory wires the canonical knowledge.Service stacks. |
|
Package llm is FlowCraft's provider-agnostic LLM facade.
|
Package llm is FlowCraft's provider-agnostic LLM facade. |
|
Package model defines the shared data types used across the SDK: multi-modal messages, tool calling protocol, and token usage tracking.
|
Package model defines the shared data types used across the SDK: multi-modal messages, tool calling protocol, and token usage tracking. |
|
Package recall implements long-term agent memory on top of the unified retrieval layer.
|
Package recall implements long-term agent memory on top of the unified retrieval layer. |
|
Package retrieval defines the unified indexing and retrieval API.
|
Package retrieval defines the unified indexing and retrieval API. |
|
contract
Package contract provides a backend-agnostic test suite that any retrieval.Index implementation MUST pass.
|
Package contract provides a backend-agnostic test suite that any retrieval.Index implementation MUST pass. |
|
journal
Package journal provides an optional append-only audit log over retrieval.Index.
|
Package journal provides an optional append-only audit log over retrieval.Index. |
|
memory
Package memory provides MemoryIndex, the zero-dependency in-process retrieval.Index implementation.
|
Package memory provides MemoryIndex, the zero-dependency in-process retrieval.Index implementation. |
|
pipeline
Package pipeline composes pluggable retrieval Stages over a retrieval.Index .
|
Package pipeline composes pluggable retrieval Stages over a retrieval.Index . |
|
Package script defines a language-agnostic script execution interface.
|
Package script defines a language-agnostic script execution interface. |
|
bindings
Package bindings assembles host capabilities into a script.Env for any script.Runtime implementation (jsrt, luart, etc.).
|
Package bindings assembles host capabilities into a script.Env for any script.Runtime implementation (jsrt, luart, etc.). |
|
jsrt
Package jsrt provides a goja-based JavaScript implementation of script.Runtime.
|
Package jsrt provides a goja-based JavaScript implementation of script.Runtime. |
|
luart
Package luart provides a pure-Go Lua 5.1 implementation of script.Runtime using github.com/yuin/gopher-lua (no CGO).
|
Package luart provides a pure-Go Lua 5.1 implementation of script.Runtime using github.com/yuin/gopher-lua (no CGO). |
|
Package telemetry provides OpenTelemetry initialization and global accessor functions for traces, metrics, and logs.
|
Package telemetry provides OpenTelemetry initialization and global accessor functions for traces, metrics, and logs. |
|
Package textsearch provides lightweight BM25 text search primitives: tokenizers (ASCII + CJK), Porter stemming, corpus statistics, and scoring.
|
Package textsearch provides lightweight BM25 text search primitives: tokenizers (ASCII + CJK), Porter stemming, corpus statistics, and scoring. |
|
Package tool provides the tool system for LLM function-calling: Tool interface, Registry, concurrent execution, and schema building.
|
Package tool provides the tool system for LLM function-calling: Tool interface, Registry, concurrent execution, and schema building. |
|
Package workflow defines the execution blackboard and high-level agent runtime types.
|
Package workflow defines the execution blackboard and high-level agent runtime types. |
|
Package workspace provides a file-system sandbox abstraction.
|
Package workspace provides a file-system sandbox abstraction. |
Click to show internal directories.
Click to hide internal directories.