test(studio): allow the built-in memory in the effective view of the agent editor

The effective view and the test chat list name the built-in memory. The
provider guard reads that as an add-on name, so list the three files with
the reason.

Assisted-by: Claude:claude-sonnet-5-5
This commit is contained in:
Ettore Di Giacinto committed 2026-11-05 07:34:19 +00:00
1 parent 1143acb292
commit eceb57e1a2
1 file changed
+3
@@ -65,6 +65,9 @@ const (
var allowed = []entry{
{ui + "hooks/useToolGroups.js", "memory", "the switch group of the built-in memory"},
{ui + "utils/agentPresets.js", "'memory'", "the switch group of the built-in memory in the agent presets"},
{ui + "utils/agentEffective.js", "memory", "the effective view lines of the built-in memory in the agent editor"},
{ui + "utils/agentTryIt.js", "memory", "the list of what a test chat does not use, which includes the built-in memory"},
{locales + "en/agents.json", "create.try.skip.memory", "the name of the built-in memory in the list of what a test chat skips"},
{ui + "utils/memoryState.js", "memory", "the switch group of the built-in memory"},
// The memory choice of an agent and the notes list belong to the built-in.
{ui + "utils/memoryFiles.js", "memory", "the source of the built-in notes in the list of context files"},