@lmzhen/dsh-evolution-settings-ui 0.19.3 → 0.21.0

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
@@ -77,6 +77,36 @@ window.__ModuleLoader__.load({
77
77
  //#endregion
78
78
  //#region src/client/generated-params.ts
79
79
  const CLIENT_PARAM_SECTIONS = [
80
+ {
81
+ namespace: "evolution-approval",
82
+ seatKey: "evolution-approval",
83
+ fields: [{
84
+ id: "evolution-approval.pendingTtlMs",
85
+ group: "deployment",
86
+ doc: "How long a staged write may wait before it expires: expired writes are closed as rejected and are NEVER executed; 0 (the default) means the window never expires.",
87
+ label: "待批过期时间",
88
+ hint: "一条待批写入最多等多久:超时就按「拒绝」关掉(不会执行,写效果不会落地);0 = 永不过期(默认)。",
89
+ control: "number",
90
+ unit: "毫秒",
91
+ values: [],
92
+ valueLabels: []
93
+ }]
94
+ },
95
+ {
96
+ namespace: "evolution-commands",
97
+ seatKey: "evolution-commands",
98
+ fields: [{
99
+ id: "evolution-commands.maintainHandoffOnSettle",
100
+ group: "deployment",
101
+ doc: "Hand the maintenance report to the model automatically once a scan settles successfully (the same injection as maintain handoff); off by default — enabling it costs one extra model call per successful run.",
102
+ label: "扫描完成后自动交接",
103
+ hint: "维护扫描成功结束后,自动把报告交给模型(等同 maintain handoff);默认关闭,每次成功扫描会多花一次模型调用。",
104
+ control: "switch",
105
+ unit: "",
106
+ values: [],
107
+ valueLabels: []
108
+ }]
109
+ },
80
110
  {
81
111
  namespace: "evolution-curator",
82
112
  seatKey: "evolution-curator",
@@ -114,17 +144,6 @@ window.__ModuleLoader__.load({
114
144
  values: [],
115
145
  valueLabels: []
116
146
  },
117
- {
118
- id: "qualityWarnStaleAfterDays",
119
- group: "curator",
120
- doc: "Age at which a low quality score starts warning.",
121
- label: "质量偏低提醒",
122
- hint: "质量评分偏低时,从多少天开始提醒。",
123
- control: "number",
124
- unit: "天",
125
- values: [],
126
- valueLabels: []
127
- },
128
147
  {
129
148
  id: "minIdleHours",
130
149
  group: "curator",
@@ -501,6 +520,8 @@ window.__ModuleLoader__.load({
501
520
  {
502
521
  bundle: "@lmzhen/dsh-evolution-all",
503
522
  rows: [
523
+ "evolution-approval",
524
+ "evolution-commands",
504
525
  "evolution-curator",
505
526
  "evolution-review",
506
527
  "memory-files",
@@ -511,6 +532,8 @@ window.__ModuleLoader__.load({
511
532
  {
512
533
  bundle: "@lmzhen/dsh-evolution-host",
513
534
  rows: [
535
+ "evolution-approval",
536
+ "evolution-commands",
514
537
  "evolution-curator",
515
538
  "evolution-review",
516
539
  "memory-files"
@@ -519,6 +542,8 @@ window.__ModuleLoader__.load({
519
542
  {
520
543
  bundle: "@lmzhen/dsh-evolution-preset",
521
544
  rows: [
545
+ "evolution-approval",
546
+ "evolution-commands",
522
547
  "evolution-curator",
523
548
  "evolution-review",
524
549
  "memory-files",
@@ -863,6 +888,8 @@ window.__ModuleLoader__.load({
863
888
  cardToolMemory: "记忆写入",
864
889
  cardCurator: "技能整理",
865
890
  cardSkills: "技能写入规则",
891
+ cardApproval: "写入审批",
892
+ cardCommands: "维护扫描",
866
893
  approvalTitle: "待批写入",
867
894
  approvalLoading: "正在读取待批项…",
868
895
  approvalEmpty: "没有待批的写入",
@@ -915,6 +942,8 @@ window.__ModuleLoader__.load({
915
942
  cardToolMemory: "Writing memory",
916
943
  cardCurator: "Skill tidy-up",
917
944
  cardSkills: "Skill write rules",
945
+ cardApproval: "Write approval",
946
+ cardCommands: "Maintenance scans",
918
947
  approvalTitle: "Writes awaiting approval",
919
948
  approvalLoading: "reading the pending window…",
920
949
  approvalEmpty: "nothing is waiting for a decision",
@@ -952,7 +981,9 @@ window.__ModuleLoader__.load({
952
981
  "memory-files": "cardMemory",
953
982
  "tool-memory": "cardToolMemory",
954
983
  "evolution-curator": "cardCurator",
955
- "tool-skill-manage": "cardSkills"
984
+ "tool-skill-manage": "cardSkills",
985
+ "evolution-approval": "cardApproval",
986
+ "evolution-commands": "cardCommands"
956
987
  });
957
988
  /**
958
989
  * Resolve one message without the locale seat (tests and the fallback path).
@@ -35,6 +35,8 @@ export declare const zh: {
35
35
  readonly cardToolMemory: "记忆写入";
36
36
  readonly cardCurator: "技能整理";
37
37
  readonly cardSkills: "技能写入规则";
38
+ readonly cardApproval: "写入审批";
39
+ readonly cardCommands: "维护扫描";
38
40
  readonly approvalTitle: "待批写入";
39
41
  readonly approvalLoading: "正在读取待批项…";
40
42
  readonly approvalEmpty: "没有待批的写入";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lmzhen/dsh-evolution-settings-ui",
3
3
  "description": "Web settings cards for the evolution family's parameter namespaces (community build)",
4
- "version": "0.19.3",
4
+ "version": "0.21.0",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },