@qilin-agent/client-ui-agent-preset 3.1.4 → 3.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/client.js CHANGED
@@ -706,10 +706,16 @@ window.__ModuleLoader__.load({
706
706
  };
707
707
  //#endregion
708
708
  //#region ../../preset/agent-presets/src/display.ts
709
- const BUILT_IN_PRESET_KEYS = { ptc: {
710
- name: "presetPtcName",
711
- description: "presetPtcDescription"
712
- } };
709
+ const BUILT_IN_PRESET_KEYS = {
710
+ standard: {
711
+ name: "presetStandardName",
712
+ description: "presetStandardDescription"
713
+ },
714
+ ptc: {
715
+ name: "presetPtcName",
716
+ description: "presetPtcDescription"
717
+ }
718
+ };
713
719
  /**
714
720
  * Resolve preset display copy without making user-authored metadata translatable.
715
721
  * @param preset - roster row whose copy is being rendered.
@@ -741,8 +747,10 @@ window.__ModuleLoader__.load({
741
747
  builtIn: "Built-in",
742
748
  setDefault: "Set as default",
743
749
  view: "View",
750
+ presetStandardName: "Standard mode",
751
+ presetStandardDescription: "A general-purpose agent for everyday and office work — writing, research, files, and spreadsheets — with full coding, shell, skills, planning, and subagent capabilities.",
744
752
  presetPtcName: "Coding mode",
745
- presetPtcDescription: "Full coding agent without the workflow tool; other tools are exposed through a generated SDK so the model can combine multi-step operations in one TypeScript program.",
753
+ presetPtcDescription: "An agent optimized for coding beyond the standard capabilities: a custom program composition wraps coding tasks before they reach the model, cutting calls and context, with deeper coding-focused tool and flow optimizations.",
746
754
  duplicate: "Duplicate",
747
755
  duplicateUnavailable: "This deployment has no writable preset directory",
748
756
  delete: "Delete",
@@ -800,8 +808,10 @@ window.__ModuleLoader__.load({
800
808
  builtIn: "内置",
801
809
  setDefault: "设为默认",
802
810
  view: "查看",
811
+ presetStandardName: "普通模式",
812
+ presetStandardDescription: "面向日常与办公任务的通用 Agent:写作、检索、文件与表格处理都能胜任,也具备完整的编码、Shell、Skills、计划与子代理能力。",
803
813
  presetPtcName: "编码模式",
804
- presetPtcDescription: "功能完整的编码 Agent,但默认不提供 workflow 工具;其他工具经生成的 SDK 呈现,让模型用一个 TypeScript 程序组合多步操作。",
814
+ presetPtcDescription: "在普通能力之上为编码任务深度优化的 Agent:以自定义程序组合把编码任务封装后与模型交互,减少调用次数与上下文占用,并针对编码场景做了更深的工具与流程优化。",
805
815
  duplicate: "复制",
806
816
  duplicateUnavailable: "此部署未配置可写的预设目录",
807
817
  delete: "删除",
@@ -1980,7 +1990,7 @@ window.__ModuleLoader__.load({
1980
1990
  }),
1981
1991
  (0, react_jsx_runtime.jsx)("code", {
1982
1992
  className: AgentPresetSection_module_css_default.cardId,
1983
- children: row.id
1993
+ children: row.trust === "user" ? row.id : ""
1984
1994
  })
1985
1995
  ]
1986
1996
  }),
@@ -1,6 +1,6 @@
1
1
  /** Locale bundles for the agent-preset hero chip, header label, and management section. */
2
2
  /** Locale keys these surfaces render. */
3
- export type AgentPresetSettingsKey = 'error' | 'userTrust' | 'seatHint' | 'headerHint' | 'nav' | 'sectionIntro' | 'builtIn' | 'setDefault' | 'view' | 'presetPtcName' | 'presetPtcDescription' | 'duplicate' | 'duplicateUnavailable' | 'delete' | 'presetId' | 'presetIdPlaceholder' | 'copyOf' | 'displayName' | 'displayNamePlaceholder' | 'inUse' | 'selectionOffDefault' | 'noDescription' | 'builtInGroup' | 'customGroup' | 'brokenBadge' | 'brokenNoCopy' | 'switchRefused' | 'composition' | 'cancel' | 'close' | 'retry' | 'copyTitle' | 'copyIntro' | 'create' | 'creating' | 'creatorDraft' | 'createPlugin' | 'createPluginDescription' | 'createPluginChecking' | 'createPluginUnavailable' | 'createPluginMissing' | 'openLocation' | 'showLocation' | 'revealedPathLabel' | 'idRequired' | 'idInvalid' | 'idTaken' | 'deleteTitle' | 'deleteDescription' | 'deleteConfirm' | 'deleting' | 'showPicker' | 'showPickerBeta' | 'showPickerDescription' | 'enablePickerToSetDefault' | 'enablePickerToCreate';
3
+ export type AgentPresetSettingsKey = 'error' | 'userTrust' | 'seatHint' | 'headerHint' | 'nav' | 'sectionIntro' | 'builtIn' | 'setDefault' | 'view' | 'presetStandardName' | 'presetStandardDescription' | 'presetPtcName' | 'presetPtcDescription' | 'duplicate' | 'duplicateUnavailable' | 'delete' | 'presetId' | 'presetIdPlaceholder' | 'copyOf' | 'displayName' | 'displayNamePlaceholder' | 'inUse' | 'selectionOffDefault' | 'noDescription' | 'builtInGroup' | 'customGroup' | 'brokenBadge' | 'brokenNoCopy' | 'switchRefused' | 'composition' | 'cancel' | 'close' | 'retry' | 'copyTitle' | 'copyIntro' | 'create' | 'creating' | 'creatorDraft' | 'createPlugin' | 'createPluginDescription' | 'createPluginChecking' | 'createPluginUnavailable' | 'createPluginMissing' | 'openLocation' | 'showLocation' | 'revealedPathLabel' | 'idRequired' | 'idInvalid' | 'idTaken' | 'deleteTitle' | 'deleteDescription' | 'deleteConfirm' | 'deleting' | 'showPicker' | 'showPickerBeta' | 'showPickerDescription' | 'enablePickerToSetDefault' | 'enablePickerToCreate';
4
4
  /** English copy. */
5
5
  export declare const en: Record<AgentPresetSettingsKey, string>;
6
6
  /** Simplified Chinese copy. */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qilin-agent/client-ui-agent-preset",
3
3
  "description": "Agent-preset surfaces: the default for later sessions, this session's seat, and the composition editor",
4
- "version": "3.1.4",
4
+ "version": "3.1.6",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -45,29 +45,29 @@
45
45
  },
46
46
  "license": "MIT",
47
47
  "peerDependencies": {
48
- "@qilin-agent/kylin": "~4.0.3"
48
+ "@qilin-agent/kylin": "~4.0.5"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/react": "~18.3.1",
52
52
  "react": "^18.2.0",
53
- "@qilin-agent/api-remotes": "3.1.4",
54
- "@qilin-agent/api-session-controller": "3.1.4",
55
- "@qilin-agent/client-connection": "3.1.4",
56
- "@qilin-agent/agent-presets": "3.1.4",
57
- "@qilin-agent/client-store": "3.1.4",
58
- "@qilin-agent/client-locale": "3.1.4",
59
- "@qilin-agent/client-test-runtime": "3.1.4",
60
- "@qilin-agent/client-ui-conversation": "3.1.4",
61
- "@qilin-agent/client-ui-plugin-manager": "3.1.4",
62
- "@qilin-agent/client-ui-primitives": "3.1.4",
63
- "@qilin-agent/client-ui-settings": "3.1.4",
64
- "@qilin-agent/client-ui-slots": "3.1.4",
65
- "@qilin-agent/session": "3.1.4",
66
- "@qilin-agent/util-values": "3.1.4",
67
- "@qilin-agent/client-ui-renderer": "3.1.4",
68
- "@qilin-agent/kylin": "~4.0.3",
69
- "@qilin-agent/client-ui-session": "3.1.4",
70
- "@qilin-agent/client-ui-workspace": "3.1.4"
53
+ "@qilin-agent/api-session-controller": "3.1.6",
54
+ "@qilin-agent/agent-presets": "3.1.6",
55
+ "@qilin-agent/api-remotes": "3.1.6",
56
+ "@qilin-agent/client-connection": "3.1.6",
57
+ "@qilin-agent/client-store": "3.1.6",
58
+ "@qilin-agent/client-locale": "3.1.6",
59
+ "@qilin-agent/client-ui-conversation": "3.1.6",
60
+ "@qilin-agent/client-test-runtime": "3.1.6",
61
+ "@qilin-agent/client-ui-plugin-manager": "3.1.6",
62
+ "@qilin-agent/client-ui-settings": "3.1.6",
63
+ "@qilin-agent/session": "3.1.6",
64
+ "@qilin-agent/util-values": "3.1.6",
65
+ "@qilin-agent/kylin": "~4.0.5",
66
+ "@qilin-agent/client-ui-primitives": "3.1.6",
67
+ "@qilin-agent/client-ui-renderer": "3.1.6",
68
+ "@qilin-agent/client-ui-session": "3.1.6",
69
+ "@qilin-agent/client-ui-workspace": "3.1.6",
70
+ "@qilin-agent/client-ui-slots": "3.1.6"
71
71
  },
72
72
  "files": [
73
73
  "lib/index.js",