Skip to main content
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. 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.

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

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