[GH-ISSUE #965] [Issue]: Cannot toggle "Prompt Only" for regex scripts #470

Closed
opened 2026-10-20 17:29:12 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @thedarkness000 on GitHub (May 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/965

Originally assigned to: @cha1latte on GitHub.

Summary

When creating (or editing) a regex script (from the Agents tab), the "Prompt Only" advanced option cannot be toggled within the web UI.

Expected behavior

Clicking on the "Prompt Only" toggle when editing (or creating) a regex script should toggle the setting.

Actual behavior

Clicking on the "Prompt Only" toggle makes the UI behave as if a change was made ("Unsaved" appears at the top, to the right of the regex script's name), but the state of the toggle does not change.

Steps to reproduce

  1. Click the Agents icon at the top of the screen, and select an existing regex script (or click the + icon to create a new one)
  2. Click on the toggle switch to the left of the text "Prompt Only" (under Advanced Options)
  3. Observe that the "Unsaved" text appears at the top of the screen as if something had changed, but that the state of the "Prompt Only" toggle remains unchanged

Environment

  • Marinara Engine version: 1.6.0
  • Install type: installer
  • OS + version: Windows 11 25H2 (build 26200.8457)
  • Browser or app shell: Firefox 150.0.3 (64-bit)

Logs, screenshots, or video

Image (I don't actually want to change the state of the toggle for this particular filter; it's just a convenient example.)

Additional context

I have been able to work around this issue as follows:

  1. Create the new regex filter as desired (except for the state of the "Prompt Only" toggle)
  2. Close Marinara Engine
  3. Open packages\server\data\storage\tables\regex_scripts.json in a text editor
  4. Locate the desired regex filter and change its "promptOnly" property to the desired value
  5. Save and close the file
  6. Start Marinara Engine

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @thedarkness000 on GitHub (May 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/965 Originally assigned to: @cha1latte on GitHub. ## Summary When creating (or editing) a regex script (from the Agents tab), the "Prompt Only" advanced option cannot be toggled within the web UI. ## Expected behavior Clicking on the "Prompt Only" toggle when editing (or creating) a regex script should toggle the setting. ## Actual behavior Clicking on the "Prompt Only" toggle makes the UI behave as if a change was made ("Unsaved" appears at the top, to the right of the regex script's name), but the state of the toggle does not change. ## Steps to reproduce 1. Click the Agents icon at the top of the screen, and select an existing regex script (or click the + icon to create a new one) 2. Click on the toggle switch to the left of the text "Prompt Only" (under Advanced Options) 3. Observe that the "Unsaved" text appears at the top of the screen as if something had changed, but that the state of the "Prompt Only" toggle remains unchanged ## Environment - Marinara Engine version: 1.6.0 - Install type: installer - OS + version: Windows 11 25H2 (build 26200.8457) - Browser or app shell: Firefox 150.0.3 (64-bit) ## Logs, screenshots, or video <img width="856" height="741" alt="Image" src="https://github.com/user-attachments/assets/a50f583c-1960-4300-9c94-2a6336f38c93" /> (I don't actually want to change the state of the toggle for this particular filter; it's just a convenient example.) ## Additional context I have been able to work around this issue as follows: 1. Create the new regex filter as desired (except for the state of the "Prompt Only" toggle) 2. Close Marinara Engine 3. Open `packages\server\data\storage\tables\regex_scripts.json` in a text editor 4. Locate the desired regex filter and change its "promptOnly" property to the desired value 5. Save and close the file 6. Start Marinara Engine ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#470
No description provided.