Documentation
¶
Overview ¶
backends.go ensures backends from config exist in the DB and cloud provider API keys in KV.
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.
config.go holds .contenox config types and resolution (load, backends, default provider/model).
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 — active session pointer helpers (reads/writes the SQLite kv table).
session_cmd.go — contenox session subcommand tree (new, list, switch, delete, show). Each subcommand opens only the DB; 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 ¶
Types ¶
type Engine ¶
type Engine struct {
TaskService execservice.TasksEnvService
Tracker libtracker.ActivityTracker
JSEnv *jseval.Env
Stop func()
}