Skip to main content
Version: 0.23.1

AI-Assisted Editing

The AI text tab lets you build and change a scenario by describing what should happen in plain language. The text is processed by AI, which generates the matching actions in the Scenario Description area.

Nothing is applied behind your back: generated changes arrive in a preview that you either accept or discard, and the resulting actions stay visible in the Commands tree like any hand-built ones.

πŸ“Έ Screenshot needed β€” /img/editor/ai-editing/overview.png

Capture: the AI text tab with a scenario of several actions in Scenario Description and the prompt input visible. Why it is new: this whole view has no screenshots.


Settings​

SettingWhat it does
Show detailsRenders the low-level technical detail under every action.
Auto-focusSends only the changed sections to the AI instead of the whole scenario β€” automatic context passing.
Show contextHighlights which actions are included in the AI context window. Actions that are not sent are dimmed.
Auto modeSyncs and applies changes automatically, without confirming with Enter or the Preview Changes button. Queries run continuously as you type.
ContextHow many actions are sent as context. Default 3 β€” so each edit sends the 3 actions before and the 3 after. Range 0–50.

With Auto mode on, a delay control sets how long the Editor waits after you stop typing before querying the AI (0.5–30 s, default 2 s).

tip

Leave Context at its default. Raising it sends more of the scenario to the AI, which costs time without usually improving the result; lowering it to 0 strips the surrounding context the AI needs to place an action correctly.


Adding an action​

  1. Move the cursor between two actions β€” a line appears between them β€” and click.
  2. In the input field, type what the action should do.
  3. Confirm with Enter.
  4. A progress indicator appears. Cancel interrupts generation at any point β€” useful when it takes too long or you change your mind.
  5. Unless Auto mode is on (it is off by default), the result arrives in Preview Mode, where you decide whether to keep it.
πŸ“Έ Screenshot needed β€” /img/editor/ai-editing/add-action.png

Capture: two images β€” the insertion line between two actions with the prompt field open, and the resulting Preview Mode with a +NEW badge.

The preview​

ButtonEffect
ApplyAccepts the change and inserts the action. A +NEW badge marks a newly created action.
DiscardRejects the change; the scenario returns to the state it was in before the prompt.

Change states shown in the preview:

StateMeaning
NEWA new action.
UPDATEA change to an existing action.
DELETEThe action will be removed.

Editing an action​

  1. Click the action, put the cursor on the text you want to change, and rewrite it.
  2. Confirm with Enter.
  3. The Editor asks whether to preview the change or discard it and go back. Choose Preview Changes.
  4. The request goes to the AI and comes back in preview mode, exactly as when creating an action.
  5. The change is shown as EDIT: the original text struck through and the new text next to it. Confirm with Apply or reject with Discard.
πŸ“Έ Screenshot needed β€” /img/editor/ai-editing/edit-action.png

Capture: the EDIT preview with the old text struck through and the replacement visible.

Deleting an action​

Hover over an action and a cross appears β€” click it to delete. The action can also be deleted from the ordinary Commands view.


The prompt itself​

ControlEffect
GenerateSends the prompt and generates actions. Shortcut Ctrl+Enter.
Preview ChangesSends a manual edit for the AI to interpret.
Regenerate PromptGenerates a fresh prompt based on the modified actions.
Update PromptUpdates the prompt so it reflects manual changes you made to the actions.
Clear promptEmpties the prompt field.
Accept / BackConfirms the result, or returns to the previous step.

The prompt field has a character limit, shown as a counter next to it.

tip

Update Prompt keeps the description and the actions in sync. If you hand-edit generated actions and then regenerate from a stale prompt, your edits are replaced β€” refresh the prompt first.


Context menu on an action​

Right-clicking an action in Scenario Description offers:

ItemEffect
RunRuns that action.
Run and continueRuns the action and carries on with the following ones.
EditOpens the ordinary action form. Double-clicking does the same.
DeleteDeletes the action.

Action statuses​

Just as in the ordinary view, you see the state of each action during a run β€” whether it is in progress or already finished. The states are the same as in the Runs panel.


Bulk editing several actions​

In the Commands view you can select several actions and invoke a bulk AI action over them β€” for changing or reorganizing many actions at once.

  1. Select the actions in Commands.
  2. Invoke the AI prompt over the selection and type the instruction β€” for example to delete all the selected actions.
  3. Press Send and switch to the AI text tab.
  4. Depending on Auto mode, either confirm or discard the change.
πŸ“Έ Screenshot needed β€” /img/editor/ai-editing/bulk-edit.png

Capture: several actions selected in Commands with the AI prompt open over the selection, and the resulting change in the AI text tab.

TODO β€” more complex operations

The source handbook this page is based on leaves the section on loops, conditions and other composite structures unwritten. Once the behaviour is settled, describe here how the AI handles a request that has to produce a Condition or a loop rather than a flat list of actions.


  • Prompt Actions β€” the same idea as a single action inside an otherwise hand-built scenario.
  • AI Read β€” extracting structured data, rather than generating actions.