pkg/

directory
v0.0.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2026 License: MIT

Directories

Path Synopsis
Package auth manages persistent token storage for OAuth-based providers.
Package auth manages persistent token storage for OAuth-based providers.
codex
Package codex implements the OpenAI device code flow for ChatGPT/Codex authentication.
Package codex implements the OpenAI device code flow for ChatGPT/Codex authentication.
copilot
Package copilot implements the GitHub device code flow for Copilot authentication.
Package copilot implements the GitHub device code flow for Copilot authentication.
devicecode
Package devicecode implements the shared device code polling loop for OAuth flows.
Package devicecode implements the shared device code polling loop for OAuth flows.
Package clipboard provides system clipboard access via OSC 52 terminal escape sequences.
Package clipboard provides system clipboard access via OSC 52 terminal escape sequences.
Package frontmatter provides YAML frontmatter parsing from markdown files.
Package frontmatter provides YAML frontmatter parsing from markdown files.
Package gitutil provides git repository operations: cloning, pulling, commit tracking, origin metadata management, directory copying, and URL parsing.
Package gitutil provides git repository operations: cloning, pulling, commit tracking, origin metadata management, directory copying, and URL parsing.
Package glob provides filesystem globbing using doublestar patterns.
Package glob provides filesystem globbing using doublestar patterns.
Package image provides image reading and compression with automatic resizing.
Package image provides image reading and compression with automatic resizing.
llm
embedding
Package embedding defines common types for embedding operations.
Package embedding defines common types for embedding operations.
generation
Package generation defines optional sampling, output, and thinking budget parameters for LLM requests.
Package generation defines optional sampling, output, and thinking budget parameters for LLM requests.
message
Package message defines the Message type and Messages collection for LLM conversations, including filtering, compaction, export, and rendering.
Package message defines the Message type and Messages collection for LLM conversations, including filtering, compaction, export, and rendering.
model
Package model defines model metadata and collections.
Package model defines model metadata and collections.
part
Package part defines message part types for content, thinking, and tool calls.
Package part defines message part types for content, thinking, and tool calls.
request
Package request defines the common chat request structure.
Package request defines the common chat request structure.
rerank
Package rerank defines the common reranking request and response structures.
Package rerank defines the common reranking request and response structures.
responseformat
Package responseformat defines structured output constraints for LLM responses.
Package responseformat defines structured output constraints for LLM responses.
roles
Package roles defines conversation message roles.
Package roles defines conversation message roles.
stream
Package stream provides streaming output for chat completions.
Package stream provides streaming output for chat completions.
synthesize
Package synthesize defines common types for text-to-speech operations.
Package synthesize defines common types for text-to-speech operations.
thinking
Package thinking defines thinking levels, values, and management strategies for LLM reasoning.
Package thinking defines thinking levels, values, and management strategies for LLM reasoning.
tool
Package tool defines the tool interface and collection operations.
Package tool defines the tool interface and collection operations.
tool/call
Package call defines the tool call type used in LLM messages.
Package call defines the tool call type used in LLM messages.
transcribe
Package transcribe defines common types for speech-to-text operations.
Package transcribe defines common types for speech-to-text operations.
usage
Package usage defines token usage tracking.
Package usage defines token usage tracking.
Package providers defines the common interface for LLM provider implementations.
Package providers defines the common interface for LLM provider implementations.
adapter
Package adapter bridges Aura's LLM types with Fantasy's unified provider abstraction.
Package adapter bridges Aura's LLM types with Fantasy's unified provider abstraction.
anthropic
Package anthropic implements the Anthropic Messages API provider.
Package anthropic implements the Anthropic Messages API provider.
capabilities
Package capabilities defines model capability flags.
Package capabilities defines model capability flags.
codex
Package codex implements the OpenAI Plus (ChatGPT Codex) provider.
Package codex implements the OpenAI Plus (ChatGPT Codex) provider.
copilot
Package copilot implements the GitHub Copilot dual-protocol provider.
Package copilot implements the GitHub Copilot dual-protocol provider.
google
Package google implements the Google Gemini API provider.
Package google implements the Google Gemini API provider.
llamacpp
Package llamacpp implements the llama.cpp server provider.
Package llamacpp implements the llama.cpp server provider.
noop
Package noop provides a no-operation LLM provider that returns fixed responses without making any network calls.
Package noop provides a no-operation LLM provider that returns fixed responses without making any network calls.
ollama
Package ollama implements the Ollama provider.
Package ollama implements the Ollama provider.
openai
Package openai implements a generic OpenAI-compatible provider for any /v1/chat/completions endpoint.
Package openai implements a generic OpenAI-compatible provider for any /v1/chat/completions endpoint.
openrouter
Package openrouter implements the OpenRouter provider.
Package openrouter implements the OpenRouter provider.
registry
Package registry provides model capability enrichment using Catwalk metadata.
Package registry provides model capability enrichment using Catwalk metadata.
transport
Package transport provides HTTP transport with Bearer token authentication.
Package transport provides HTTP transport with Bearer token authentication.
Package sandbox provides Landlock LSM filesystem sandboxing for process isolation.
Package sandbox provides Landlock LSM filesystem sandboxing for process isolation.
Package spinner provides a styled terminal spinner with optional no-op behavior.
Package spinner provides a styled terminal spinner with optional no-op behavior.
Package tokens provides token count estimation and limit checks.
Package tokens provides token count estimation and limit checks.
Package truncate provides text truncation and formatting utilities.
Package truncate provides text truncation and formatting utilities.
Package truthy parses boolean-like string values (true/on/yes/enabled/1 and their inverses).
Package truthy parses boolean-like string values (true/on/yes/enabled/1 and their inverses).
Package wildcard provides simple wildcard pattern matching for tool filtering.
Package wildcard provides simple wildcard pattern matching for tool filtering.
Package yamlutil provides strict YAML unmarshaling that rejects unknown fields.
Package yamlutil provides strict YAML unmarshaling that rejects unknown fields.

Jump to

Keyboard shortcuts

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