Documentation
¶
Overview ¶
backends.go contains helpers for LLM backend and provider config KV storage.
run.go contains the main execution pipeline for the vibe CLI (steps 1–12).
cli.go holds the contenox CLI entrypoint (Main), default constants, flags, and merge logic.
hook_cmd.go — contenox hook subcommand tree (add, list, show, remove, update). Each subcommand opens only the DB; no LLM stack is needed.
init.go implements the contenox init subcommand (scaffold .contenox/).
output.go holds CLI output helpers.
session.go — session-related constants and helpers for the contenoxcli package.
session_cmd.go — contenox session subcommand tree (new, list, switch, delete, show). Each subcommand opens only the DB via sessionservice; no LLM stack is needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is set at build time via -ldflags "-X github.com/contenox/contenox/internal/contenoxcli.Version=vX.Y.Z". Falls back to "dev" when building without the flag (e.g. go run).
Functions ¶
func Main ¶
func Main()
Main runs the contenox CLI: init subcommand or run (default) with optional positional input.
func ResolveContenoxDir ¶ added in v0.6.0
ResolveContenoxDir finds the closest .contenox directory by walking up from the current working directory. If it hits the root without finding one, it returns the .contenox directory in the current working directory as a fallback.
Types ¶
type Engine ¶
type Engine struct {
TaskService execservice.TasksEnvService
Tracker libtracker.ActivityTracker
JSEnv *jseval.Env
Stop func()
MCPManager *mcpworker.Manager
// LocalHooks lists the names of all registered local hook handlers.
LocalHooks []string
}