internal/

directory
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2026 License: MIT

Directories

Path Synopsis
Package baseprocedures embeds the base procedure entries shipped with the sdd binary.
Package baseprocedures embeds the base procedure entries shipped with the sdd binary.
Package bundledskills renders the agent-neutral skill templates embedded in the sdd binary into per-agent skill bundles.
Package bundledskills renders the agent-neutral skill templates embedded in the sdd binary into per-agent skill bundles.
Package cliout is the bubble-tea-free core of the interactive terminal output experience for long-running sdd commands.
Package cliout is the bubble-tea-free core of the interactive terminal output experience for long-running sdd commands.
tui
Package tui drives the transient interactive terminal view for long-running sdd commands.
Package tui drives the transient interactive terminal view for long-running sdd commands.
Package command holds domain command structs — write intent.
Package command holds domain command structs — write intent.
Package engine implements the v1 workflow engine core: procedure specs parsed from kind: procedure graph entries, a typed variable store per running instance, guards as boolean combinations of named Go predicates, a closed function registry (predicates, queries, commands), gate-transition cascade with chooser stops, and append-only JSONL session persistence.
Package engine implements the v1 workflow engine core: procedure specs parsed from kind: procedure graph entries, a typed variable store per running instance, guards as boolean combinations of named Go predicates, a closed function registry (predicates, queries, commands), gate-transition cascade with chooser stops, and append-only JSONL session persistence.
Package finders processes domain query structs into results.
Package finders processes domain query structs into results.
Package handlers is the only place framework Go code is allowed to have side effects.
Package handlers is the only place framework Go code is allowed to have side effects.
Package index wraps chromem-go's persistent vector store with the SDD chunk and citation model.
Package index wraps chromem-go's persistent vector store with the SDD chunk and citation model.
llm
Package llm handles LLM-based generation tasks: prompt rendering, template embedding, runner invocation, and output parsing.
Package llm handles LLM-based generation tasks: prompt rendering, template embedding, runner invocation, and output parsing.
claude
Package claude implements llm.Runner by invoking the Claude CLI.
Package claude implements llm.Runner by invoking the Claude CLI.
embed
Package embed provides Embedder implementations for OpenAI-compatible (`/v1/embeddings`) and Ollama (`/api/embeddings`) endpoints, plus a factory that dispatches by configured provider and wraps remote providers with a rate.Limiter (paralleling the chat-runner factory).
Package embed provides Embedder implementations for OpenAI-compatible (`/v1/embeddings`) and Ollama (`/api/embeddings`) endpoints, plus a factory that dispatches by configured provider and wraps remote providers with a rate.Limiter (paralleling the chat-runner factory).
factory
Package factory resolves an llm.Runner from model.LLMConfig.
Package factory resolves an llm.Runner from model.LLMConfig.
gollm
Package gollm implements llm.Runner on top of github.com/teilomillet/gollm, providing a unified adapter for Anthropic API, OpenAI, Ollama, and other providers supported by gollm.
Package gollm implements llm.Runner on top of github.com/teilomillet/gollm, providing a unified adapter for Anthropic API, OpenAI, Ollama, and other providers supported by gollm.
Package llmstats provides a durable sink for per-call LLM metrics.
Package llmstats provides a durable sink for per-call LLM metrics.
Package mcpserver is the workflow engine's MCP shell (v1 plan 20260702-220449-d-tac-ry0, slice 3): the loop tools (start_procedure, next, abandon) drive procedure instances through the engine, sessions persist as append-only JSONL logs under the sessions dir (list_sessions / resume_session), stage_attachment fills the session scratch, and the read tools (search, view, show, read_attachment, info, registry) are free and never gated.
Package mcpserver is the workflow engine's MCP shell (v1 plan 20260702-220449-d-tac-ry0, slice 3): the loop tools (start_procedure, next, abandon) drive procedure instances through the engine, sessions persist as append-only JSONL logs under the sessions dir (list_sessions / resume_session), stage_attachment fills the session scratch, and the read tools (search, view, show, read_attachment, info, registry) are free and never gated.
Package meta manages the .sdd/ metadata directory: discovery, config reading, and path resolution.
Package meta manages the .sdd/ metadata directory: discovery, config reading, and path resolution.
Package presenters renders structured query results as text for CLI output.
Package presenters renders structured query results as text for CLI output.
Package query holds domain query structs — pure read intent, processed by finders.
Package query holds domain query structs — pure read intent, processed by finders.
Package textsplitter chunks markdown documents into metadata-bearing units suitable for embedding.
Package textsplitter chunks markdown documents into metadata-bearing units suitable for embedding.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL