- Commande am ai (alias CLI: am shell) : conversationnel par defaut (aichat -f <ctx> "<prompt>"), mode --exec avec generation aichat --dry-run - Securite (issue #97) : classification safe/risky + certainite affichee, politique dry-run par defaut (settings.shell_ai.default_safety: dry-run | confirm | auto), confirmation y/N pour les commandes risky, --yes pour executer, --dry-run force la simulation - Flags : --exec/-e, --files/-f (defaut: dossier courant), --provider, --model (registre providers -> env aichat + modele, token via keyring) - Execution via le shell utilisateur (default_shell > SHELL > COMSPEC) - Journalisation : EventKind::ShellAi (mode, risk, certainty, executed) - Module src/shell_ai.rs (classification, politique, generation, execution) - Câblage complet : cli, dispatch, help, REPL (parseur+completer+banner), tip, man pages (am-ai.1), i18n EN, config.yaml (bloc shell_ai) - Tests : 7 unitaires (classification, certainty, extraction, decision) + 4 integration (shim aichat.cmd : dry-run par defaut, --yes, mode conversationnel, mode confirm) — 339 tests verts - v1.0.5 ; ROADMAP axe 13.3 coche (6 lignes), epic #93 clôturee closes #93 closes #96 closes #97
29 lines
879 B
Groff
29 lines
879 B
Groff
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.TH am-ai 1 "ai "
|
|
.SH NAME
|
|
ai \- Langage naturel → action shell via AIChat (issues #96 #97); alias: shell
|
|
.SH SYNOPSIS
|
|
\fBai\fR [\fB\-e\fR|\fB\-\-exec\fR] [\fB\-f\fR|\fB\-\-files\fR] [\fB\-\-provider\fR] [\fB\-\-model\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIPROMPT\fR>
|
|
.SH DESCRIPTION
|
|
Langage naturel → action shell via AIChat (issues #96 #97); alias: shell
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-e\fR, \fB\-\-exec\fR
|
|
Execute the generated shell command (after the safety policy)
|
|
.TP
|
|
\fB\-f\fR, \fB\-\-files\fR \fI<PATH>\fR
|
|
Files or directories passed as context (repeatable; default: the current directory)
|
|
.TP
|
|
\fB\-\-provider\fR \fI<ID>\fR
|
|
Provider of the registry used by aichat (env vars + model)
|
|
.TP
|
|
\fB\-\-model\fR \fI<MODEL>\fR
|
|
Force a model (aichat \-\-model)
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
Print help
|
|
.TP
|
|
<\fIPROMPT\fR>
|
|
The request in natural language
|