Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
Package apiframework provides HTTP request/response helpers for the Contenox API.
|
Package apiframework provides HTTP request/response helpers for the Contenox API. |
|
cmd
|
|
|
contenox-runtime
command
Contenox CLI: run task chains locally with SQLite-backed state and optional Beam server.
|
Contenox CLI: run task chains locally with SQLite-backed state and optional Beam server. |
|
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/approvalapi
Package approvalapi provides the HTTP endpoint for resolving HITL approval requests emitted by localhooks.HITLWrapper.
|
Package approvalapi provides the HTTP endpoint for resolving HITL approval requests emitted by localhooks.HITLWrapper. |
|
internal/authapi
Package usersapi provides HTTP handlers for user authentication and management.
|
Package usersapi provides HTTP handlers for user authentication and management. |
|
internal/clikv
Package clikv reads and writes contenox CLI settings in SQLite KV (prefix "cli.").
|
Package clikv reads and writes contenox CLI settings in SQLite KV (prefix "cli."). |
|
internal/hitlpolicyapi
Package hitlpolicyapi provides CRUD HTTP routes for named HITL policy files stored in VFS.
|
Package hitlpolicyapi provides CRUD HTTP routes for named HITL policy files stored in VFS. |
|
internal/hooks
internal/hooks/multi_repo.go
|
internal/hooks/multi_repo.go |
|
internal/mcpserverapi
Package mcpserverapi exposes REST endpoints for managing MCP server configurations.
|
Package mcpserverapi exposes REST endpoints for managing MCP server configurations. |
|
internal/openapidocs
Package openapidocs serves the OpenAPI specification and API browser embedded in the binary.
|
Package openapidocs serves the OpenAPI specification and API browser embedded in the binary. |
|
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/setupapi
Package setupapi exposes REST routes for Beam onboarding (readiness + CLI defaults in KV).
|
Package setupapi exposes REST routes for Beam onboarding (readiness + CLI defaults in KV). |
|
internal/setupcheck
Package setupcheck evaluates local runtime readiness (defaults, backends) for Beam and CLI.
|
Package setupcheck evaluates local runtime readiness (defaults, backends) for Beam and CLI. |
|
internal/vfsapi
Package vfsapi provides HTTP handlers for file and folder management.
|
Package vfsapi provides HTTP handlers for file and folder management. |
|
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. |
|
terminalservice
Package terminalservice runs a real shell session on the local machine.
|
Package terminalservice runs a real shell session on the local machine. |
|
vfsservice
Package vfsservice exposes the local filesystem to chains.
|
Package vfsservice exposes the local filesystem to chains. |
|
tokenizer
module
|
|
|
tools
|
|
|
openapi-gen
command
|
|
|
openapi-gen/internal/comment
Package comment extracts documentation text from go/ast comment groups for OpenAPI generation.
|
Package comment extracts documentation text from go/ast comment groups for OpenAPI generation. |
|
openapi-gen/internal/project
Package project loads parsed Go packages for the main module (go list ./...).
|
Package project loads parsed Go packages for the main module (go list ./...). |
|
version
command
|
Click to show internal directories.
Click to hide internal directories.