@suifei/dsh-ai-team 0.4.132 → 0.4.134

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.134 - 2026-11-18
4
+
5
+ **README:最近更新**
6
+
7
+ - README 增加「最近更新」:人才市场、主理人只调度交付、在线人才库、弹窗与人员池,配人才市场与新建项目截图;补成员资料页签、人员池批量配置模型的说明。npm 页面同步显示。代码无改动。
8
+
9
+ ## 0.4.133 - 2026-11-18
10
+
11
+ **弹窗排版补丁:页签不再被文字盖住、自定义 / 资料 / 组队 / 批量配置模型排版**
12
+
13
+ - **人才市场页签与提示文字重叠**:弹窗定高 90% 且内容超高时,网格自动行被压到最小值,带 `overflow:hidden` 的页签栏最小值为 0,下一行盖了上来。改为 `grid-auto-rows: max-content`,每行按内容高。标题栏与按钮栏的分隔线连成一条。
14
+ - **页签**改成分段控件样式(更高、选中项有底色和描边)。
15
+ - **添加成员 · 自定义**:名字 / 职责两列,提供商 / 模型 / 推理等级三列;取消、创建并激活带图标。
16
+ - **新建人才**:取消、从已有装、自写一份、导入 .md 带图标。
17
+ - **成员资料 · 资料**:左边个性(更高的输入框),右边备忘(输入在上、最近的在前、可滚动);没备忘、没技能时给提示。
18
+ - **组队**:成员行列宽固定,名字框对齐;岗位过长省略。
19
+ - **批量配置模型**:成员改成勾选卡片(头像、名字 · 岗位、所在项目),选中高亮。
20
+ - 实机截图核对(无头 Edge + CDP,`.ptc/rounds/r53-steps.json`,截图在 `shots-r53/`)。
21
+
3
22
  ## 0.4.132 - 2026-11-18
4
23
 
5
24
  **弹窗与人员池排版:按钮固定在右上角、成员资料分页签、团队成员卡片、组队三栏、批量配置模型**
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
  <a href="https://www.npmjs.com/package/@suifei/dsh-ai-team"><img alt="npm" src="https://img.shields.io/npm/v/@suifei/dsh-ai-team?color=2f6feb&label=npm"></a>
13
13
  <a href="https://github.com/suifei/dsh-ai-team/releases"><img alt="release" src="https://img.shields.io/github/v/release/suifei/dsh-ai-team?color=2f6feb"></a>
14
14
  <a href="./LICENSE"><img alt="license" src="https://img.shields.io/badge/license-MIT-2f6feb"></a>
15
- <img alt="tests" src="https://img.shields.io/badge/tests-82%20passing-2ea043">
15
+ <img alt="tests" src="https://img.shields.io/badge/tests-428%20passing-2ea043">
16
16
  <img alt="dsh" src="https://img.shields.io/badge/DeepSeek%20Harness-plugin-6f42c1">
17
17
  </p>
18
18
 
@@ -25,6 +25,29 @@
25
25
 
26
26
  主理人只调度交付:产出只交给对应角色,主理人不看、不核对成果内容,只问负责人做全没有——没做全催继续,做全了交给下一位;内容对不对由验收人把关,主理人不能验收或退回别人的产出。
27
27
 
28
+ ## 最近更新
29
+
30
+ - **人才市场**(0.4.124–0.4.129):9 个内置团队、44 位内置人才,各自带看家技能。可以招聘、复制为可编辑、自建人才并装技能,也能把项目成员「存为人才」;新建项目时选团队,或从人才里挑人组新团队。
31
+ - **主理人只调度交付**(0.4.128):主理人不看产出,只问负责人做全没有;内容由验收人把关。
32
+ - **在线人才库**(0.4.130–0.4.131):「同步在线库」从 [`@suifei/dsh-ai-team-catalog`](https://www.npmjs.com/package/@suifei/dsh-ai-team-catalog) 拉取最新的人才与团队。国内走 npmmirror 整包下载,约 1 秒同步完;逐个文件核对 sha256,失败不影响旧版本,可一键退回内置。
33
+ - **弹窗与人员池**(0.4.132–0.4.133):
34
+ - 弹窗占主页面的 90%,功能按钮固定在右上角。
35
+ - 成员资料按「资料 / 模型 / 技能 / 协作」分页签。
36
+ - 新建项目时展示团队成员卡片;组队是三栏:人才列表 → 简介 → 已选成员。
37
+ - 人员池是成员卡片,可以一次给多位成员批量配置模型。
38
+
39
+ <p align="center">
40
+ <img src="https://github.com/suifei/dsh-ai-team/releases/download/v0.4.133/talent-market-online.png" width="860" alt="人才市场:同步在线库后按分类筛选" /><br/>
41
+ <sub>人才市场:同步在线库后按分类挑人</sub>
42
+ </p>
43
+
44
+ <p align="center">
45
+ <img src="https://github.com/suifei/dsh-ai-team/releases/download/v0.4.133/new-project-team-cards.png" width="860" alt="新建项目:选团队后展示成员卡片" /><br/>
46
+ <sub>新建项目:选团队后右侧展示每位成员的卡片</sub>
47
+ </p>
48
+
49
+ 完整记录见 [CHANGELOG](./CHANGELOG.md)。
50
+
28
51
  **人才市场**:成员来自可复用的「人才」,团队从人才里挑人组队。
29
52
 
30
53
  - 人才 `talents/<人才>/talent.yml`:名字、岗位、`duty`(职责:`lead` 主理人 / `qa` 验收 / `executor` 执行,决定拿哪份岗位规程)、性格、分类与标签、推荐模型,以及自带技能(`talents/<人才>/skills/<技能>/SKILL.md`)。内置 10 位:默认团队的 6 位,外加架构、评审、技术文档、安全审计。
@@ -106,7 +129,8 @@ dsh --profile ai-team --no-open --port 33271
106
129
  - **收件箱**:跨 Project 聚合;顶部「待你处理 · N」一键进入;只放真正需要 Human 的决策/失败,Agent 的进度汇报留在 Thread/动态,不制造“打开 Task 后无事可做”。
107
130
  - **直接对话**:点击成员名字直接打开该 Agent 的 DSH 原生 Session;没有 session 会先激活;打不开时落到成员资料,资料里有「直接对话」按钮。
108
131
  - **成员任务**:成员资料里点「他的任务」,查看他 owner/assignee 的 Task。
109
- - **成员资料**:点「⋯」改名、职责、personality、provider/model、运行配方、notes、skills、re-distill、离队/人才库。
132
+ - **成员资料**:点「⋯」打开,按「资料 / 模型 / 技能 / 协作」分页签:改名、职责、个性、备忘;运行配方、提供商 / 模型 / 推理等级;技能与「进化」;交接人与私信。右上角是他的任务、直接对话、复制成员、存为人才、重置会话、重新蒸馏、离开团队。
133
+ - **人员池**:按人汇总各项目里的成员卡片(负载、所在项目、跳转);「批量配置模型」一次给勾选的成员在其所在的全部项目设同一模型,卡片上的「配置模型」只改这一位。
110
134
 
111
135
  ---
112
136
 
package/client.js CHANGED
@@ -308,7 +308,7 @@ window.__ModuleLoader__.load({
308
308
  talentLoadFailed: '人才市场读取失败:{error}',
309
309
  talentSkills: '技能:{skills}',
310
310
  talentUser: '自建',
311
- profileTabBasic: '资料', profileTabModel: '模型', profileTabSkills: '技能', profileTabCollab: '协作', profileNotes: '备忘',
311
+ profileTabBasic: '资料', profileTabModel: '模型', profileTabSkills: '技能', profileTabCollab: '协作', profileNotes: '备忘', profileNotesEmpty: '还没有备忘。', profileSkillsEmpty: '还没装技能;在下面填技能名加一个,或到人才市场招已带技能的人才。',
312
312
  teamPickDetail: '人才简介', teamPickDetailEmpty: '在左边点一位人才,这里看简介;点「加入」放进右边的团队。', teamLeadMark: '负责人', projectTeamMembers: '团队成员 · {n} 位',
313
313
  peopleModelBatch: '批量配置模型', peopleModelTitle: '配置模型', peopleModelHint: '选中的成员在其所在的全部项目里改用这个模型;之后仍可在成员资料里单独改。', peopleModelPick: '应用到 {n} 位', peopleModelAll: '全选', peopleModelNone: '全不选', peopleModelApply: '应用', peopleModelNeed: '先选模型', peopleModelDone: '已为 {people} 位成员配置 {model}(成功 {done} 处,失败 {failed} 处)。',
314
314
  talentOfficial: '在线', catalogNone: '在线人才库:未同步(当前用插件内置)', catalogAt: '在线人才库:v{version} · {time} 同步', catalogSync: '同步在线库', catalogSyncing: '同步中…', catalogSyncHint: '从官方在线人才库(npmmirror / jsDelivr)取最新的人才与团队;逐文件校验,失败不影响现有的。你自建或改过的人才不受影响。', catalogUpdated: '已同步到 v{version}({files} 个文件)。', catalogLatest: '已是最新 v{version}。', catalogFailed: '同步失败:{error}', catalogClear: '退回内置', catalogClearConfirm: '删掉本机的在线人才库,退回插件内置版本?你自建或改过的人才不受影响。',
@@ -762,7 +762,7 @@ window.__ModuleLoader__.load({
762
762
  talentLoadFailed: 'Could not load the talent market: {error}',
763
763
  talentSkills: 'Skills: {skills}',
764
764
  talentUser: 'Custom',
765
- profileTabBasic: 'Profile', profileTabModel: 'Model', profileTabSkills: 'Skills', profileTabCollab: 'Collaboration', profileNotes: 'Notes',
765
+ profileTabBasic: 'Profile', profileTabModel: 'Model', profileTabSkills: 'Skills', profileTabCollab: 'Collaboration', profileNotes: 'Notes', profileNotesEmpty: 'No notes yet.', profileSkillsEmpty: 'No skills yet; add one by name below, or hire a talent that comes with skills.',
766
766
  teamPickDetail: 'Talent details', teamPickDetailEmpty: 'Pick a talent on the left to see its details; “Add” puts it into the team on the right.', teamLeadMark: 'Lead', projectTeamMembers: 'Team members · {n}',
767
767
  peopleModelBatch: 'Set model for many', peopleModelTitle: 'Set model', peopleModelHint: 'The selected members switch to this model in every project they are in; each can still be changed in its profile.', peopleModelPick: 'Apply to {n}', peopleModelAll: 'All', peopleModelNone: 'None', peopleModelApply: 'Apply', peopleModelNeed: 'Pick a model first', peopleModelDone: 'Set {model} for {people} members ({done} ok, {failed} failed).',
768
768
  talentOfficial: 'Online', catalogNone: 'Online catalog: not synced (using the built-in one)', catalogAt: 'Online catalog: v{version} · synced {time}', catalogSync: 'Sync online catalog', catalogSyncing: 'Syncing…', catalogSyncHint: 'Fetch the latest talents and teams from the official online catalog (npmmirror / jsDelivr); every file is verified, and a failed sync leaves the current one untouched. Your own and edited talents are not affected.', catalogUpdated: 'Synced to v{version} ({files} files).', catalogLatest: 'Already up to date (v{version}).', catalogFailed: 'Sync failed: {error}', catalogClear: 'Use built-in', catalogClearConfirm: 'Delete the local online catalog and go back to the built-in one? Your own and edited talents are not affected.',
@@ -1403,11 +1403,22 @@ window.__ModuleLoader__.load({
1403
1403
  .at-modalback:has(> .at-modal-wide) { padding: 0; }
1404
1404
  .at-modal.at-modal-wide { width: 90%; height: 90%; max-height: 90%; }
1405
1405
  /* 所有弹窗:标题栏固定在顶部,功能按钮在右上角;内容再长也不用滚到底找按钮。 */
1406
- .at-modal { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; column-gap: 12px; row-gap: 10px; padding-top: 0; }
1406
+ .at-modal { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-rows: max-content; align-content: start; column-gap: 0; row-gap: 12px; padding-top: 0; }
1407
1407
  .at-modal > * { grid-column: 1 / -1; min-width: 0; }
1408
1408
  .at-modal > .at-addtabs { justify-self: start; }
1409
+ .at-modal .at-addtabs { padding: 2px; gap: 2px; border-radius: 8px; background: var(--dsw-alias-bg-base); }
1410
+ .at-modal .at-addtabs button { min-height: 28px; padding: 0 12px; border-radius: 6px; font-size: 12px; }
1411
+ .at-modal .at-addtabs button[aria-pressed="true"] { background: var(--dsw-alias-bg-layer-2); box-shadow: 0 0 0 1px var(--dsw-alias-border-l2); }
1412
+ .at-profilebasic { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 16px; align-items: start; }
1413
+ .at-profilebasic textarea { min-height: 280px; }
1414
+ .at-profilebasic .at-notesbox { max-height: 280px; }
1415
+ .at-checkcard { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border: 1px solid var(--dsw-alias-border-l1); border-radius: 8px; background: var(--dsw-alias-bg-layer-1); cursor: pointer; }
1416
+ .at-checkcard:has(input:checked) { border-color: var(--dsw-alias-state-business-primary); background: color-mix(in srgb, var(--dsw-alias-state-business-primary) 7%, transparent); }
1417
+ .at-checkcard input { flex: none; accent-color: var(--dsw-alias-state-business-primary); }
1418
+ .at-checkcard > span { display: flex; flex-direction: column; min-width: 0; font-size: 12px; line-height: 17px; }
1419
+ .at-checkcard small { color: var(--dsw-alias-label-tertiary); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1409
1420
  .at-modal > .at-modaltitle { grid-column: 1; grid-row: 1; position: sticky; top: 0; z-index: 3; align-self: stretch; margin: 0; padding: 14px 0 10px; background: var(--dsw-alias-bg-layer-2); border-bottom: 1px solid var(--dsw-alias-border-l1); }
1410
- .at-modal > .at-modalactions { grid-column: 2; grid-row: 1; position: sticky; top: 0; z-index: 3; align-self: stretch; align-items: center; margin: 0; padding: 8px 0; background: var(--dsw-alias-bg-layer-2); border-bottom: 1px solid var(--dsw-alias-border-l1); }
1421
+ .at-modal > .at-modalactions { grid-column: 2; grid-row: 1; position: sticky; top: 0; z-index: 3; align-self: stretch; align-items: center; margin: 0; padding: 8px 0 8px 12px; background: var(--dsw-alias-bg-layer-2); border-bottom: 1px solid var(--dsw-alias-border-l1); }
1411
1422
  .at-actsep { width: 1px; align-self: stretch; margin: 6px 2px; background: var(--dsw-alias-border-l2); }
1412
1423
  .at-btn-danger { color: var(--dsw-alias-state-error-primary); border-color: color-mix(in srgb, var(--dsw-alias-state-error-primary) 45%, transparent); }
1413
1424
  .at-btn-danger:hover { background: color-mix(in srgb, var(--dsw-alias-state-error-primary) 10%, transparent); }
@@ -1436,8 +1447,8 @@ window.__ModuleLoader__.load({
1436
1447
  .at-pcard .at-peoplebadges { margin-left: 0; }
1437
1448
  .at-pcardhead { display: flex; align-items: center; gap: 8px; min-width: 0; }
1438
1449
  .at-pcardfoot { display: flex; justify-content: flex-end; gap: 6px; margin-top: auto; }
1439
- .at-peoplecheck { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px; }
1440
- @media (max-width: 900px) { .at-split, .at-teamcomposer, .at-fieldgrid3 { grid-template-columns: minmax(0, 1fr); } }
1450
+ .at-peoplecheck { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
1451
+ @media (max-width: 900px) { .at-split, .at-teamcomposer, .at-fieldgrid3, .at-profilebasic { grid-template-columns: minmax(0, 1fr); } }
1441
1452
  .at-addtabs { align-self: flex-start; }
1442
1453
  .at-tcskills { display: flex; flex-wrap: wrap; gap: 6px; }
1443
1454
  .at-tcskill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(127,127,127,0.15); font-size: 12px; }
@@ -1445,7 +1456,8 @@ window.__ModuleLoader__.load({
1445
1456
  .at-tcpick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
1446
1457
  .at-tcpanel { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
1447
1458
  .at-teamrows { display: flex; flex-direction: column; gap: 6px; }
1448
- .at-teamrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center; }
1459
+ .at-teamrow { display: grid; grid-template-columns: minmax(0, 1fr) 76px auto auto; gap: 8px; align-items: center; }
1460
+ .at-teamrow > .at-modalmeta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
1449
1461
  .at-teamlead { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; white-space: nowrap; }
1450
1462
  .at-teampick { display: flex; flex-direction: column; gap: 4px; max-height: 240px; overflow-y: auto; }
1451
1463
  .at-teampickrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
@@ -2158,9 +2170,11 @@ window.__ModuleLoader__.load({
2158
2170
  h('span', { className: 'at-panetitle' }, t('peopleTitle') + ' · ' + picked.size + '/' + people.length),
2159
2171
  h('button', { className: 'at-btn at-btn-small', type: 'button', onClick: () => setPicked(new Set(people.map((p) => p.name))) }, t('peopleModelAll')),
2160
2172
  h('button', { className: 'at-btn at-btn-small', type: 'button', onClick: () => setPicked(new Set()) }, t('peopleModelNone'))),
2161
- h('div', { className: 'at-peoplecheck' }, people.map((person) => h('label', { key: person.name, className: 'at-check' },
2173
+ h('div', { className: 'at-peoplecheck' }, people.map((person) => h('label', { key: person.name, className: 'at-checkcard' },
2162
2174
  h('input', { type: 'checkbox', checked: picked.has(person.name), onChange: () => toggle(person.name) }),
2163
- h('span', null, person.name + (person.role ? ' · ' + person.role : ''))))))));
2175
+ h(Avatar, { name: person.name, human: false }),
2176
+ h('span', null, h('b', null, person.name + (person.role ? ' · ' + person.role : '')),
2177
+ h('small', null, (person.projects ?? []).map((row) => row.projectName).join('、')))))))));
2164
2178
  }
2165
2179
 
2166
2180
  /**
@@ -2946,14 +2960,14 @@ window.__ModuleLoader__.load({
2946
2960
  h('div', { className: 'at-field' }, h('span', null, t('tcSkills')),
2947
2961
  pending.length === 0 ? h('div', { className: 'at-modalmeta' }, t('tcEmpty')) : h('div', { className: 'at-tcskills' }, pending.map((sk) => h('span', { key: sk.name, className: 'at-tcskill' }, sk.name, h('button', { type: 'button', 'aria-label': t('tcRemove'), onClick: () => setPending((pp) => pp.filter((x) => x.name !== sk.name)) }, '×')))),
2948
2962
  h('div', { className: 'at-tcpick' },
2949
- h('button', { type: 'button', className: 'at-btn', onClick: () => setPick(pick === 'existing' ? '' : 'existing') }, t('tcAddExisting')),
2950
- h('button', { type: 'button', className: 'at-btn', onClick: () => setPick(pick === 'write' ? '' : 'write') }, t('tcWriteOwn')),
2951
- h('label', { className: 'at-btn' }, t('tcImport'), h('input', { type: 'file', accept: '.md,text/markdown,text/plain', style: { display: 'none' }, onChange: importFile }))),
2963
+ h('button', { type: 'button', className: 'at-btn', onClick: () => setPick(pick === 'existing' ? '' : 'existing') }, withIco('store', t('tcAddExisting'))),
2964
+ h('button', { type: 'button', className: 'at-btn', onClick: () => setPick(pick === 'write' ? '' : 'write') }, withIco('pen', t('tcWriteOwn'))),
2965
+ h('label', { className: 'at-btn' }, withIco('folderPlus', t('tcImport')), h('input', { type: 'file', accept: '.md,text/markdown,text/plain', style: { display: 'none' }, onChange: importFile }))),
2952
2966
  pick === 'existing' ? h('div', { className: 'at-tcpanel' }, h('select', { value: pickFrom, onChange: (e) => setPickFrom(e.target.value) }, h('option', { value: '' }, t('tcPick')), installable.map((sk) => h('option', { key: sk.talent + '::' + sk.name, value: sk.talent + '::' + sk.name }, sk.name + ' — ' + sk.talentName))), h('button', { type: 'button', className: 'at-btn at-btn-primary', onClick: addExisting }, t('tcAdd'))) : null,
2953
2967
  pick === 'write' ? h('div', { className: 'at-tcpanel' }, h('input', { value: skName, placeholder: t('tcSkillName'), onChange: (e) => setSkName(e.target.value) }), h('textarea', { value: skBody, placeholder: t('tcSkillBody'), onChange: (e) => setSkBody(e.target.value) }), h('button', { type: 'button', className: 'at-btn at-btn-primary', onClick: addWritten }, t('tcAdd'))) : null),
2954
2968
  error ? h('div', { className: 'at-modalerror', role: 'alert' }, error) : null,
2955
2969
  h('div', { className: 'at-modalactions' },
2956
- h('button', { type: 'button', className: 'at-btn', onClick: onCancel }, t('cancel')),
2970
+ h('button', { type: 'button', className: 'at-btn', onClick: onCancel }, withIco('close', t('cancel'))),
2957
2971
  h('button', { type: 'button', className: 'at-btn at-btn-primary', disabled: !form.name.trim() || busy, onClick: save }, withIco('check', busy ? t('tcSaving') : t('tcSave')))));
2958
2972
  }
2959
2973
  function TeamComposer({ t, talents, onSaved, onCancel }) {
@@ -5419,18 +5433,18 @@ window.__ModuleLoader__.load({
5419
5433
  }) : mTab === 'create' && !(mCopy && !mCopy.talent) ? h(TalentCreator, { key: talentInit && talentInit.memberId ? 'm:' + talentInit.memberId : 'blank', t, initial: talentInit, onSaved: () => { loadTalents(); setTalentInit(null); setMTab('market'); }, onCancel: () => { setAddOpen(false); setTalentInit(null); } }) : [
5420
5434
  mCopy?.talent ? h('div', { key: 'from', className: 'at-modalmeta' }, tf(t, 'memberHireFrom', { name: mCopy.sourceName, version: mCopy.talent.version })) : null,
5421
5435
  mCopy && !mCopy.talent ? h('div', { key: 'from', className: 'at-modalmeta' }, tf(t, 'memberCopyFrom', { name: mCopy.sourceName })) : null,
5422
- h('label', { key: 'name', className: 'at-field' }, h('span', null, t('memberName')),
5423
- h('input', { value: mName, onChange: (event) => setMName(event.target.value), autoFocus: true })),
5424
- h('label', { key: 'role', className: 'at-field' }, h('span', null, t('memberRole')),
5425
- h('input', { value: mRole, onChange: (event) => setMRole(event.target.value) })),
5436
+ h('div', { key: 'nr', className: 'at-fieldrow' },
5437
+ h('label', { className: 'at-field' }, h('span', null, t('memberName')),
5438
+ h('input', { value: mName, onChange: (event) => setMName(event.target.value), autoFocus: true })),
5439
+ h('label', { className: 'at-field' }, h('span', null, t('memberRole')),
5440
+ h('input', { value: mRole, onChange: (event) => setMRole(event.target.value) }))),
5426
5441
  h('label', { key: 'prompt', className: 'at-field' }, h('span', null, t('memberPrompt')),
5427
5442
  h('textarea', {
5428
5443
  value: mPrompt,
5429
5444
  onChange: (event) => setMPrompt(event.target.value),
5430
5445
  placeholder: t('memberPromptHint'),
5431
5446
  })),
5432
- h(ModelFields, {
5433
- key: 'model',
5447
+ h('div', { key: 'model', className: 'at-fieldgrid3' }, h(ModelFields, {
5434
5448
  t,
5435
5449
  catalog: modelCatalog,
5436
5450
  provider: mProvider,
@@ -5440,15 +5454,15 @@ window.__ModuleLoader__.load({
5440
5454
  onProvider: setMProvider,
5441
5455
  onModel: setMModel,
5442
5456
  error: modelCatalogError,
5443
- }),
5457
+ })),
5444
5458
  h('label', { key: 'owner', className: 'at-check' },
5445
5459
  h('input', { type: 'checkbox', checked: mOwner, onChange: (event) => setMOwner(event.target.checked) }),
5446
5460
  h('span', null, t('memberOwner'))),
5447
5461
  h('div', { key: 'perm', className: 'at-modalmeta' }, t('permissionNote')),
5448
5462
  mError ? h('div', { key: 'err', className: 'at-modalerror', role: 'alert' }, mError) : null,
5449
5463
  h('div', { key: 'actions', className: 'at-modalactions' },
5450
- h('button', { className: 'at-btn', type: 'button', onClick: () => setAddOpen(false), disabled: mBusy }, t('cancel')),
5451
- h('button', { className: 'at-btn at-btn-primary', type: 'submit', disabled: mBusy || !mName.trim() }, mBusy ? t('memberAdding') : t('memberCreate')))])) : null,
5464
+ h('button', { className: 'at-btn', type: 'button', onClick: () => setAddOpen(false), disabled: mBusy }, withIco('close', t('cancel'))),
5465
+ h('button', { className: 'at-btn at-btn-primary', type: 'submit', disabled: mBusy || !mName.trim() }, withIco('userPlus', mBusy ? t('memberAdding') : t('memberCreate'))))])) : null,
5452
5466
  profileAgent ? h(ModalBack, { onClose: () => setProfileAgent(null) },
5453
5467
  h('form', {
5454
5468
  className: 'at-modal at-modal-wide',
@@ -5499,13 +5513,14 @@ window.__ModuleLoader__.load({
5499
5513
  h('input', { value: pName, onChange: (event) => setPName(event.target.value), autoFocus: true })),
5500
5514
  h('label', { className: 'at-field' }, h('span', null, t('memberRole')),
5501
5515
  h('input', { value: pRole, onChange: (event) => setPRole(event.target.value) }))),
5502
- h('label', { key: 'pers', className: 'at-field' }, h('span', null, t('memberPersonality')),
5503
- h('textarea', { value: pPersonality, rows: 6, onChange: (event) => setPPersonality(event.target.value) })),
5504
- h('div', { key: 'notes', className: 'at-field' }, h('span', null, t('profileNotes')),
5505
- profileAgent.notes?.length ? h('div', { className: 'at-notesbox' }, profileAgent.notes.slice(-3).join('\n\n')) : null,
5506
- h('div', { className: 'at-inlineadd' },
5507
- h('input', { value: pNote, onChange: (event) => setPNote(event.target.value), placeholder: t('notePlaceholder') }),
5508
- h('button', { className: 'at-btn at-btn-small', type: 'button', onClick: addNote, disabled: !pNote.trim() }, withIco('plus', t('addNote'), 12)))),
5516
+ h('div', { key: 'pn', className: 'at-profilebasic' },
5517
+ h('label', { className: 'at-field' }, h('span', null, t('memberPersonality')),
5518
+ h('textarea', { value: pPersonality, rows: 12, onChange: (event) => setPPersonality(event.target.value) })),
5519
+ h('div', { className: 'at-field' }, h('span', null, t('profileNotes')),
5520
+ h('div', { className: 'at-inlineadd' },
5521
+ h('input', { value: pNote, onChange: (event) => setPNote(event.target.value), placeholder: t('notePlaceholder') }),
5522
+ h('button', { className: 'at-btn at-btn-small', type: 'button', onClick: addNote, disabled: !pNote.trim() }, withIco('plus', t('addNote'), 12))),
5523
+ profileAgent.notes?.length ? h('div', { className: 'at-notesbox' }, profileAgent.notes.slice(-3).reverse().join('\n\n')) : h('div', { className: 'at-modalmeta' }, t('profileNotesEmpty')))),
5509
5524
  ] : null,
5510
5525
  pTab === 'model' ? h('div', { className: 'at-fieldgrid3' },
5511
5526
  h('label', { className: 'at-field' }, h('span', null, t('memberPreset')),
@@ -5533,7 +5548,7 @@ window.__ModuleLoader__.load({
5533
5548
  ? h('div', { key: 'list', className: 'at-tcskills', 'aria-label': t('memberSkills') },
5534
5549
  profileAgent.skills.map((name) => h('span', { key: name, className: 'at-tcskill' }, name,
5535
5550
  h('button', { type: 'button', className: 'at-btn at-btn-small', title: t('skillEvolveHint'), onClick: () => void evolveSkill(profileAgent, name) }, withIco('spark', t('skillEvolve'), 12)))))
5536
- : null,
5551
+ : h('div', { key: 'none', className: 'at-modalmeta' }, t('profileSkillsEmpty')),
5537
5552
  pEvolve ? h('div', { key: 'ev', className: 'at-modalmeta', role: 'status' }, pEvolve) : null,
5538
5553
  h('div', { key: 'add', className: 'at-inlineadd' },
5539
5554
  h('input', { value: pSkill, onChange: (event) => setPSkill(event.target.value), placeholder: t('skillPlaceholder') }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suifei/dsh-ai-team",
3
- "version": "0.4.132",
3
+ "version": "0.4.134",
4
4
  "type": "module",
5
5
  "description": "文渊阁 (Wenyuan Pavilion) — AI Team mode for DeepSeek Harness: concurrent projects, owned tasks, threads, inbox and an append-only team ledger",
6
6
  "license": "MIT",