Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
contenox
command
Contenox CLI: run task chains locally with SQLite-backed state.
|
Contenox CLI: run task chains locally with SQLite-backed state. |
|
core
module
|
|
|
Package libauth provides secure authentication and authorization services using JWT tokens.
|
Package libauth provides secure authentication and authorization services using JWT tokens. |
|
Package bus provides an interface for core publish-subscribe messaging.
|
Package bus provides an interface for core publish-subscribe messaging. |
|
Package libcipher provides a collection of cryptographic utilities for encryption, decryption, integrity verification, and secure key generation.
|
Package libcipher provides a collection of cryptographic utilities for encryption, decryption, integrity verification, and secure key generation. |
|
3.
|
3. |
|
Package routine provides utilities for managing recurring tasks (routines) with circuit breaker protection.
|
Package routine provides utilities for managing recurring tasks (routines) with circuit breaker protection. |
|
libs
|
|
|
libauth
module
|
|
|
libdb
module
|
|
|
libollama
module
|
|
|
runtime
|
|
|
chatservice
Package chatservice persists the conversation thread.
|
Package chatservice persists the conversation thread. |
|
chatsessionmodes
Package chatsessionmodes routes each chat turn: resolves which chain to run, injects context, executes steps, and persists the result.
|
Package chatsessionmodes routes each chat turn: resolves which chain to run, injects context, executes steps, and persists the result. |
|
contenoxcli
backends.go contains helpers for LLM backend and provider config KV storage.
|
backends.go contains helpers for LLM backend and provider config KV storage. |
|
hitlservice
Package hitlservice evaluates approval policies before shell commands and tool calls execute.
|
Package hitlservice evaluates approval policies before shell commands and tool calls execute. |
|
internal/hooks
internal/hooks/multi_repo.go
|
internal/hooks/multi_repo.go |
|
internal/runtimestate
runtimestate implements the core logic for reconciling the declared state of LLM backends (from dbInstance) with their actual observed state.
|
runtimestate implements the core logic for reconciling the declared state of LLM backends (from dbInstance) with their actual observed state. |
|
internal/setupcheck
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI.
|
Package setupcheck evaluates local runtime readiness (defaults, backends) for the CLI. |
|
localhooks
Package localhooks provides hooks that fire around chain execution: approval gates, plan summaries, and step transitions.
|
Package localhooks provides hooks that fire around chain execution: approval gates, plan summaries, and step transitions. |
|
localhooks/mcpoauth
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients.
|
Package mcpoauth implements the MCP OAuth 2.1 Authorization Code + PKCE flow for CLI clients. |
|
mcpserverservice
Package mcpserverservice stores MCP server configs.
|
Package mcpserverservice stores MCP server configs. |
|
mcpworker
Package mcpworker keeps MCP server connections alive across chain steps.
|
Package mcpworker keeps MCP server connections alive across chain steps. |
|
planservice
Package planservice stores and advances execution plans.
|
Package planservice stores and advances execution plans. |
|
sessionservice
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts.
|
Package sessionservice stores CLI chat sessions so conversations persist across terminal restarts. |
|
taskengine
Package taskengine runs the steps inside a chain.
|
Package taskengine runs the steps inside a chain. |
|
taskengine/compact
Package compact summarizes older messages of a running ChatHistory when it approaches the model's context window, replacing them with one synthetic user message of the form:
|
Package compact summarizes older messages of a running ChatHistory when it approaches the model's context window, replacing them with one synthetic user message of the form: |
|
taskengine/llmretry
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback.
|
Package llmretry wraps a single LLM call with classified retry, exponential backoff, and an optional model fallback. |
|
vfsservice
Package vfsservice exposes the local filesystem to chains.
|
Package vfsservice exposes the local filesystem to chains. |
|
tokenizer
module
|
|
|
tools
|
|
|
version
command
|
Click to show internal directories.
Click to hide internal directories.