internal/

directory
v1.28.1 Latest Latest
Warning

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

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

Directories

Path Synopsis
Package artifact implements parsing, validation, and model-facing rendering of odek.artifact-ref/v1 references carried inside odek.tool-result/v1 envelopes (see docs/EXTENSIONS.md).
Package artifact implements parsing, validation, and model-facing rendering of odek.artifact-ref/v1 references carried inside odek.tool-result/v1 envelopes (see docs/EXTENSIONS.md).
Package budget implements hard execution budgets for an agent run (odek-extension/v1 — see docs/EXTENSIONS.md): a Limits struct describing the configured caps, a typed Error returned when a cap is exhausted, and a Checker the loop engine consults at each enforcement point.
Package budget implements hard execution budgets for an agent run (odek-extension/v1 — see docs/EXTENSIONS.md): a Limits struct describing the configured caps, a typed Error returned when a cap is exhausted, and a Checker the loop engine consults at each enforcement point.
Package config loads and merges odek configuration from multiple sources.
Package config loads and merges odek configuration from multiple sources.
Package danger classifies shell commands by risk level and provides a configurable approval system for dangerous operations.
Package danger classifies shell commands by risk level and provides a configurable approval system for dangerous operations.
Package embedding is the shared text-embedding seam used by every semantic retrieval path in odek: memory (episode recall, dedup, ranking, fact merge), session search, and skill matching.
Package embedding is the shared text-embedding seam used by every semantic retrieval path in odek: memory (episode recall, dedup, ranking, fact merge), session search, and skill matching.
Package events implements odek's structured runtime event stream (schema odek.event/v1, see docs/EXTENSIONS.md): a small Event type, a non-blocking panic-isolated Emitter that fans events out to a handler, and an append-only JSONL sink (jsonl.go).
Package events implements odek's structured runtime event stream (schema odek.event/v1, see docs/EXTENSIONS.md): a small Event type, a non-blocking panic-isolated Emitter that fans events out to a handler, and an append-only JSONL sink (jsonl.go).
Package flock provides a portable advisory file lock.
Package flock provides a portable advisory file lock.
Package fsatomic provides a crash-durable atomic file write.
Package fsatomic provides a crash-durable atomic file write.
Package guard provides a pluggable prompt-injection detector for odek.
Package guard provides a pluggable prompt-injection detector for odek.
Package llm provides an OpenAI-compatible HTTP client using only stdlib.
Package llm provides an OpenAI-compatible HTTP client using only stdlib.
Package loop implements the ReAct (Reasoning + Acting) agent loop.
Package loop implements the ReAct (Reasoning + Acting) agent loop.
Package maintenance provides periodic storage hygiene for the odek home directory (~/.odek): session retention, audit-record retention, log rotation, Telegram plan/media cleanup, and skill skip-list garbage collection.
Package maintenance provides periodic storage hygiene for the odek home directory (~/.odek): session retention, audit-record retention, log rotation, Telegram plan/media cleanup, and skill skip-list garbage collection.
Package mcp implements a Model Context Protocol server over stdio.
Package mcp implements a Model Context Protocol server over stdio.
Package mcpclient implements an MCP client that connects to external MCP servers over stdio.
Package mcpclient implements an MCP client that connects to external MCP servers over stdio.
Package memory provides persistent, agent-managed memory across sessions.
Package memory provides persistent, agent-managed memory across sessions.
extended
Package extended implements the Extended Memory subsystem for odek.
Package extended implements the Extended Memory subsystem for odek.
Package narrate produces human-friendly, emoji-rich transition messages describing what the agent is doing.
Package narrate produces human-friendly, emoji-rich transition messages describing what the agent is doing.
Package pathutil provides small, security-critical helpers for path confinement and symlink-aware resolution.
Package pathutil provides small, security-critical helpers for path confinement and symlink-aware resolution.
Package redact provides secret detection and redaction for odek output.
Package redact provides secret detection and redaction for odek output.
Package render provides emoji-driven terminal rendering for the odek agent loop.
Package render provides emoji-driven terminal rendering for the odek agent loop.
Package resource implements @-prefixed resource discovery and inline resolution.
Package resource implements @-prefixed resource discovery and inline resolution.
Package sandbox builds and operates the Docker container that isolates the agent's shell and file-tool execution from the host.
Package sandbox builds and operates the Docker container that isolates the agent's shell and file-tool execution from the host.
Package schedule provides a native, in-process task scheduler for odek.
Package schedule provides a native, in-process task scheduler for odek.
Package session persists agent conversation history across runs.
Package session persists agent conversation history across runs.
Package skills — advanced skill matching using scoring-based approach.
Package skills — advanced skill matching using scoring-based approach.
Package telegram provides Telegram bot integration.
Package telegram provides Telegram bot integration.
Package tool provides the clarify tool — ask the user a question and wait for a response.
Package tool provides the clarify tool — ask the user a question and wait for a response.
Package transport provides tuned HTTP transports for odek's API clients.
Package transport provides tuned HTTP transports for odek's API clients.
Package ws provides WebSocket constants used by cmd/odek/serve.go.
Package ws provides WebSocket constants used by cmd/odek/serve.go.

Jump to

Keyboard shortcuts

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