Working set

You can press the stop
button
in the input box to stop the code generation process.
View the code files
Kombai maintains the latest version of the code files in the working set. You can read the code of each file before saving it to your system. Click on a file in the working set panel to open it in a new tab. If it’s a modified file, you will see the diff between the modified and the original version.Working set and chat diff
Working set diff is always compared to your local repo. Whereas, the chat files diff is compared to the previous state of the files in the working set. It means that a new file generated in the working set will always have 100% diff to the local repo. The same file when appearing in the chat will compare itself to the last version of the file in the working set. Therefore, it will show the diff between the current version and the last version of the file.Fix TS and linting errors
Kombai auto-fixes any TS and linting errors after the code is generated. To disable auto-fix for TS, and linting errors, follow the steps below:- Click icon in Kombai’s input box.
- Switch the Auto-fix errors setting off.
Restore
Chats in Kombai can be restored at certain stages. There are two ways to restore-Restoring is permanent and will prevent you from undoing saved files. To undo
saved files, you must do so before restoring.
Restore button
Kombai provides a restore button at certain checkpoints: after generating the plan, before auto-fixing the errors, before a follow-up input.
Resend an existing input
You can also resend an existing input to Kombai. Kombai will then generate a new response for the input. Follow the steps below to resend an input:- Click on a previous input in the Kombai chat.
- Edit the input(optional).
- Press enter and click Confirm.
New Agent mode (Beta)
When New Agent mode is active, Kombai directly writes to your repo. You can view the Kombai-generated files in the explorer or working set panel. Click a file in the working set panel to open it in a new tab. In case of a modified file, you will see the diff between the modified and the original version.You cannot toggle the new Agent mode in the middle of a chat.
What changes in New Agent mode
Currently, all Kombai-generated files remain in a sandbox environment until you save them to your repo. When New Agent mode is enabled, Kombai writes directly to your repo and runs terminal commands.How to switch to New Agent mode

- Click Ask/Code mode dropdown in the input box.
- Turn on the New Agent toggle under the Code mode.