Documentation
¶
Index ¶
- Constants
- Variables
- func AgentsMDMessage(content, path string) taskengine.Message
- func CLIVersion() string
- func ComputeReadiness(ctx context.Context, db libdbexec.DBManager, opts chatOpts) (setupcheck.Result, error)
- func LoadAgentsMD(startDir string) (string, string, bool)
- func Main()
- func NewCLIAskApproval(w io.Writer) localtools.AskApproval
- func NewCLIAskApprovalWithOptions(w io.Writer, opts CLIApprovalOptions) localtools.AskApproval
- func OpenDBAt(ctx context.Context, dbPath string) (libdb.DBManager, error)
- func PreflightLLMSetup(w io.Writer, res setupcheck.Result) error
- func PrintBackendChecks(w io.Writer, res setupcheck.Result)
- func PrintSetupIssues(w io.Writer, res setupcheck.Result)
- func ResolveContenoxDir(cmd *cobra.Command) (string, error)
- func ResolveWorkspaceID(contenoxDir string) string
- func RunGlobalInit(out io.Writer) error
- func RunInit(out, errOut io.Writer, force, update bool, provider string, contenoxDir string, ...) error
- func WithTransaction(ctx context.Context, db libdb.DBManager, fn func(tx libdb.Exec) error) error
- type CLIApprovalOptions
- type Engine
- type ServeError
Constants ¶
View Source
const ( DefaultMissionAgent = "reviewer" DefaultMissionPolicy = "read_only" )
View Source
const DefaultWorkspaceID = "00000000-0000-0000-0000-000000000002"
Variables ¶
View Source
var ErrApprovalAborted = errors.New("run aborted at approval prompt")
View Source
var ErrPreflightBlocked = errors.New("LLM setup is not ready")
Functions ¶
func AgentsMDMessage ¶
func AgentsMDMessage(content, path string) taskengine.Message
func CLIVersion ¶
func CLIVersion() string
func ComputeReadiness ¶
func NewCLIAskApproval ¶
func NewCLIAskApproval(w io.Writer) localtools.AskApproval
func NewCLIAskApprovalWithOptions ¶
func NewCLIAskApprovalWithOptions(w io.Writer, opts CLIApprovalOptions) localtools.AskApproval
func PreflightLLMSetup ¶
func PreflightLLMSetup(w io.Writer, res setupcheck.Result) error
func PrintBackendChecks ¶
func PrintBackendChecks(w io.Writer, res setupcheck.Result)
func PrintSetupIssues ¶
func PrintSetupIssues(w io.Writer, res setupcheck.Result)
func ResolveWorkspaceID ¶
func RunGlobalInit ¶
Types ¶
type CLIApprovalOptions ¶
type CLIApprovalOptions struct {
AuditLog func(req hitlservice.ApprovalRequest, decision string)
}
type ServeError ¶
func (*ServeError) Error ¶
func (e *ServeError) Error() string
Source Files
¶
- acp_cmd.go
- acp_env_setup.go
- acp_mission_forward.go
- acp_presence.go
- acp_ws.go
- agent_cmd.go
- agent_identity.go
- agentsmd.go
- approvals_cmd.go
- auto_cmd.go
- autocomplete_cmd.go
- backend_auth.go
- backend_cmd.go
- backends.go
- cache_cmd.go
- chain_load.go
- chain_unit_args.go
- chat_cmd.go
- cli.go
- config_cmd.go
- db_util.go
- declared_tools.go
- doctor_cmd.go
- editor.go
- engine.go
- event_retention.go
- fleet_cmd.go
- fleet_telemetry.go
- hitl_policies.go
- hitl_tty.go
- hitl_tty_flush_linux.go
- hitl_tty_unix.go
- inference_setup.go
- init.go
- input_file.go
- mcp_cmd.go
- mission_agent_answer.go
- mission_cmd.go
- mission_defaults.go
- mission_supervision.go
- model_capability_cmd.go
- model_cmd.go
- model_native.go
- modeld_cmd.go
- oracle.go
- oracle_driver.go
- output.go
- role_cmd.go
- run_cmd.go
- sandbox_cmd.go
- sandbox_scrub.go
- serve_cmd.go
- serve_token.go
- serveclient.go
- session.go
- session_cmd.go
- session_fork_cmd.go
- session_inspect_cmd.go
- setup_cmd.go
- setup_issues.go
- shellenv_cmd.go
- shipped_agent_chain.go
- state_cmd.go
- stdin.go
- stdin_unix.go
- tools_cmd.go
- trace_render.go
- update_cmd.go
- workspace_access_cmd.go
- workspace_cmd.go
- workspace_envelopes.go
- workspace_reload.go
- workspace_triggers.go
- workspace_watch.go
Click to show internal directories.
Click to hide internal directories.