فهرست منبع

feat(web): rename code preset to PTC mode

fz 1 ماه پیش
والد
کامیت
47e3e6f0ed

+ 1 - 1
apps/cli/config/agent-presets/code/preset.yml

@@ -1,3 +1,3 @@
-name: 代码模式
+name: PTC 模式
 description: 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
 order: 2

+ 4 - 4
apps/web/tests/snapshots/agent-preset-authoring/created.expected.md

@@ -35,13 +35,13 @@
         - img
         - text: 复制
     - listitem:
-      - 'button "设为默认: 代码模式"':
-        - text: 代码模式 内置 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
+      - 'button "设为默认: PTC 模式"':
+        - text: PTC 模式 内置 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
         - code: code
-      - 'button "查看: 代码模式"':
+      - 'button "查看: PTC 模式"':
         - img
         - text: 查看
-      - 'button "复制: 代码模式"':
+      - 'button "复制: PTC 模式"':
         - img
         - text: 复制
     - listitem:

+ 4 - 4
apps/web/tests/snapshots/agent-preset-authoring/damaged.expected.md

@@ -35,13 +35,13 @@
         - img
         - text: 复制
     - listitem:
-      - 'button "设为默认: 代码模式"':
-        - text: 代码模式 内置 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
+      - 'button "设为默认: PTC 模式"':
+        - text: PTC 模式 内置 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
         - code: code
-      - 'button "查看: 代码模式"':
+      - 'button "查看: PTC 模式"':
         - img
         - text: 查看
-      - 'button "复制: 代码模式"':
+      - 'button "复制: PTC 模式"':
         - img
         - text: 复制
     - listitem:

+ 4 - 4
apps/web/tests/snapshots/agent-preset-authoring/section.expected.md

@@ -35,13 +35,13 @@
         - img
         - text: 复制
     - listitem:
-      - 'button "设为默认: 代码模式"':
-        - text: 代码模式 内置 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
+      - 'button "设为默认: PTC 模式"':
+        - text: PTC 模式 内置 具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。
         - code: code
-      - 'button "查看: 代码模式"':
+      - 'button "查看: PTC 模式"':
         - img
         - text: 查看
-      - 'button "复制: 代码模式"':
+      - 'button "复制: PTC 模式"':
         - img
         - text: 复制
     - listitem:

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

@@ -100,7 +100,7 @@ export const zh: Record<AgentPresetSettingsKey, string> = {
   view: '查看',
   presetStandardName: '标准模式',
   presetStandardDescription: '功能完整的编码 Agent,支持文件编辑、Shell、文件与网页检索、Skills、计划、目标、子代理和工作流。',
-  presetCodeName: '代码模式',
+  presetCodeName: 'PTC 模式',
   presetCodeDescription: '具备标准模式的全部能力,并通过 Code Mode SDK 呈现工具,让模型用一个 TypeScript 程序组合多步操作。',
   presetMinimalName: '极简模式',
   presetMinimalDescription: '仅提供持久 bash 与 str_replace_editor 的双工具编码 Agent。',