Преглед на файлове

fix(ui-agent-preset): rename code preset to PTC Mode

fz преди 2 месеца
родител
ревизия
fd24df156d
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      apps/web/tests/snapshots/agent-preset-selection/menu.expected.md
  2. 1 1
      packages/client/ui-agent-preset/src/client/locales.ts

+ 1 - 1
apps/web/tests/snapshots/agent-preset-selection/menu.expected.md

@@ -2,6 +2,6 @@
   - menuitem "Standard mode Full coding agent with file editing, shell, file and web search, skills, planning, goals, subagents, and workflows.":
     - text: Standard mode Full coding agent with file editing, shell, file and web search, skills, planning, goals, subagents, and workflows.
     - img
-  - menuitem "Code mode All Standard mode capabilities, with tools exposed through the Code Mode SDK so the model can combine multi-step operations in one TypeScript program."
+  - menuitem "PTC Mode All Standard mode capabilities, with tools exposed through the Code Mode SDK so the model can combine multi-step operations in one TypeScript program."
   - menuitem "Minimal mode Two-tool coding agent with persistent bash and str_replace_editor."
   - menuitem "Creator mode Built for creating custom agent presets, with all Standard mode capabilities plus runtime inspection, plugin experiments, and preset-authoring guidance."

+ 1 - 1
packages/client/ui-agent-preset/src/client/locales.ts

@@ -37,7 +37,7 @@ export const en: Record<AgentPresetSettingsKey, string> = {
   presetStandardName: 'Standard mode',
   presetStandardDescription:
     'Full coding agent with file editing, shell, file and web search, skills, planning, goals, subagents, and workflows.',
-  presetCodeName: 'Code mode',
+  presetCodeName: 'PTC Mode',
   presetCodeDescription:
     'All Standard mode capabilities, with tools exposed through the Code Mode SDK so the model can combine multi-step operations in one TypeScript program.',
   presetMinimalName: 'Minimal mode',