Once the plan is approved or updated, Kombai starts the code generation process.

Working set

Working Set Screenshot Working set refers to the set of files generated by Kombai during the code generation process. Kombai never writes code locally to your repo. All the generated code files remain in the working set until you save them. When Kombai is asked to modify the generated code, it also checks for any dependent files in the working set that may require modification. Kombai then proceeds to make the necessary changes and update the 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:
  1. Click icon in Kombai’s input box.
  2. 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:
  1. Click on a previous input in the Kombai chat.
  2. Edit the input(optional).
  3. Press enter and click Confirm.