Yenisei CLIFeatures
Working modes
The three modes of Yenisei CLI, ask, auto and plan: what the assistant does on its own, what it asks about and how to switch the mode.
The mode determines what the assistant does on its own and what it asks about. There are three modes. The current one is written at the right end of the input line, and the "❯" sign at the start of the line changes color. After startup the «спрашивать» ("ask") mode is on.
| Mode | Label on screen | What the assistant does | Color of "❯" |
|---|---|---|---|
| Ask | «спрашивать» | Edits files right away, asks for permission before commands. | Blue |
| Auto | «авто» | Asks only about dangerous commands. | Yellow |
| Plan | «план» | Only looks and proposes a plan: it does not change files and does not run commands that change anything. | Turquoise |
Ask mode, «спрашивать»
Auto mode, «авто»
Plan mode, «план»
Switching the mode
- Shift+Tab cycles through the modes at any moment, even while the assistant is working: its next actions follow the new mode.
- At startup.
yenisei -ystarts in auto mode,yenisei --planin plan mode. - With commands.
/autoand/planturn these modes on and off.
Plan mode
The assistant reads files and answers with a plan: what it will change and in which files. The files stay as they were. To carry out the plan, switch the mode with Shift+Tab and ask the assistant to do the work.
In plan mode the assistant proposes steps and leaves the files alone
Auto mode
In auto mode the assistant runs regular commands, deletes files and works with files outside the working folder on its own.
The assistant asks before dangerous commands even in auto mode, see Running commands.