internal/

directory
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: MIT

Directories

Path Synopsis
Package agent provides the multi-agent system for Smara.
Package agent provides the multi-agent system for Smara.
workflow
Package workflow implements the agentic workflow engine with orchestrated multi-agent execution.
Package workflow implements the agentic workflow engine with orchestrated multi-agent execution.
Package audit provides structured logging of all agent actions for observability.
Package audit provides structured logging of all agent actions for observability.
Package autonomy implements the Multi-Timeframe Autonomy Loop (Heartbeat) with Hold State capability for Smara CLI.
Package autonomy implements the Multi-Timeframe Autonomy Loop (Heartbeat) with Hold State capability for Smara CLI.
Package cognitive provides strict JSON Schema validation for tool function calling, enforcing the Cognitive Layer's precision requirement (Hermes concept).
Package cognitive provides strict JSON Schema validation for tool function calling, enforcing the Cognitive Layer's precision requirement (Hermes concept).
Package config manages Smara CLI configuration via Viper.
Package config manages Smara CLI configuration via Viper.
Package integrations wires together all new PRD features: Safety, Autonomy, Sandbox, LSP, Memory Compaction, and Audit Log.
Package integrations wires together all new PRD features: Safety, Autonomy, Sandbox, LSP, Memory Compaction, and Audit Log.
Package llm provides LLM provider abstractions for Smara CLI.
Package llm provides LLM provider abstractions for Smara CLI.
Package lsp provides Language Server Protocol integration for Smara CLI.
Package lsp provides Language Server Protocol integration for Smara CLI.
Package mcp - opencode.go loads MCP server configurations from OpenCode's config file.
Package mcp - opencode.go loads MCP server configurations from OpenCode's config file.
Package memory provides auto-compacting functionality to prevent context window overflow.
Package memory provides auto-compacting functionality to prevent context window overflow.
cloud
Package cloud — Config struct and validation rules.
Package cloud — Config struct and validation rules.
cloud/d1
Package d1 implements the cloud.Provider interface backed by Cloudflare D1 (serverless SQLite) + REST API.
Package d1 implements the cloud.Provider interface backed by Cloudflare D1 (serverless SQLite) + REST API.
cloud/supabase
Package supabase — EnsureDatabase / List / Delete.
Package supabase — EnsureDatabase / List / Delete.
cloud/turso
Package turso — EnsureDatabase implementation (task 8.2).
Package turso — EnsureDatabase implementation (task 8.2).
Package ninedrive is a minimal client for the 9drive uploads API.
Package ninedrive is a minimal client for the 9drive uploads API.
Package platform provides the multi-platform integration layer for Smara CLI.
Package platform provides the multi-platform integration layer for Smara CLI.
discord
Package discord provides the Discord Bot adapter for Smara.
Package discord provides the Discord Bot adapter for Smara.
telegram
Package telegram provides the Telegram Bot API adapter for Smara.
Package telegram provides the Telegram Bot API adapter for Smara.
whatsapp
Package whatsapp provides the WhatsApp adapter for Smara using the whatsmeow library.
Package whatsapp provides the WhatsApp adapter for Smara using the whatsmeow library.
Package repair provides self-repair / self-healing diagnostic and recovery tools for Smara CLI.
Package repair provides self-repair / self-healing diagnostic and recovery tools for Smara CLI.
Package safety implements the Two-Step Safety layer (Plan Mode vs Build Mode) and Auto-Revert functionality for Smara CLI.
Package safety implements the Two-Step Safety layer (Plan Mode vs Build Mode) and Auto-Revert functionality for Smara CLI.
Package sandbox provides isolated command execution with safety guards for Smara CLI's terminal operations.
Package sandbox provides isolated command execution with safety guards for Smara CLI's terminal operations.
Package session provides session types used across agent and memory packages.
Package session provides session types used across agent and memory packages.
Package sync implements local background sync for shared team memory.
Package sync implements local background sync for shared team memory.
ui
Package ui provides the interactive terminal REPL for Smara.
Package ui provides the interactive terminal REPL for Smara.
clipboard
Package clipboard provides terminal clipboard integration.
Package clipboard provides terminal clipboard integration.

Jump to

Keyboard shortcuts

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