@suifei/dsh-ai-team 0.3.6 → 0.3.8

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.8 — 2026-11-09
4
+
5
+ - 收件箱「对话」返回改为文渊阁内部主对话,不再依赖宿主 `layout.selectPanel(conversation)`;
6
+ - 修复空收件箱点击返回出现 “spike:宿主没有可用的 layout…” 的错误提示。
7
+
8
+ ## 0.3.7 — 2026-11-09
9
+
10
+ - 侧栏 PanelIcon 真正使用文渊阁印章图标(此前后仍是 loop 占位符);
11
+ - 图标同步到 npm 包、README 和市场条目。
12
+
3
13
  ## 0.3.6 — 2026-11-09
4
14
 
5
15
  - 新图标:重檐阁楼 + 三开间柱 + 渊水纹 + 朱印,墨蓝 / 金 / 朱红;
package/client.js CHANGED
@@ -2158,13 +2158,11 @@ window.__ModuleLoader__.load({
2158
2158
  if (key === 'q4') setDoneOpen(true);
2159
2159
  }
2160
2160
  function goConversation() {
2161
- try {
2162
- if (ctx?.layout && typeof ctx.layout.selectPanel === 'function') {
2163
- ctx.layout.selectPanel('conversation');
2164
- return;
2165
- }
2166
- } catch { /* host without layout */ }
2167
- say(t('conversationMock'));
2161
+ closeMobile();
2162
+ setScope('project');
2163
+ setTab('main');
2164
+ setThreadOpen(false);
2165
+ setNote('');
2168
2166
  }
2169
2167
  function closeMobile() {
2170
2168
  const node = mobileRef.current;
@@ -2972,8 +2970,31 @@ window.__ModuleLoader__.load({
2972
2970
  h('button', { className: 'at-btn at-btn-primary', type: 'submit', disabled: nBusy || !nName.trim() }, nBusy ? t('saving') : t('projectCreate'))))) : null));
2973
2971
  }
2974
2972
 
2973
+ function PavilionMark({ size = 18 }) {
2974
+ return h('svg', {
2975
+ width: size,
2976
+ height: size,
2977
+ viewBox: '0 0 64 64',
2978
+ 'aria-hidden': 'true',
2979
+ focusable: 'false',
2980
+ },
2981
+ h('circle', { cx: 32, cy: 32, r: 31, fill: '#17263A' }),
2982
+ h('circle', { cx: 32, cy: 32, r: 28, fill: 'none', stroke: '#D4AF37', strokeWidth: 1, opacity: 0.55 }),
2983
+ h('path', { d: 'M23 21 L32 15 L41 21 Z', fill: '#D4AF37' }),
2984
+ h('path', { d: 'M20 23 L44 23', stroke: '#D4AF37', strokeWidth: 2, strokeLinecap: 'round' }),
2985
+ h('path', { d: 'M19 28 L32 23 L45 28 Z', fill: '#D4AF37' }),
2986
+ h('path', { d: 'M16 30 L48 30', stroke: '#D4AF37', strokeWidth: 2, strokeLinecap: 'round' }),
2987
+ h('path', { d: 'M22 31 V42 M28 31 V42 M36 31 V42 M42 31 V42', stroke: '#D4AF37', strokeWidth: 2, strokeLinecap: 'round' }),
2988
+ h('path', { d: 'M19 43 H45', stroke: '#D4AF37', strokeWidth: 2, strokeLinecap: 'round' }),
2989
+ h('path', { d: 'M17 46 H47', stroke: '#D4AF37', strokeWidth: 2, strokeLinecap: 'round' }),
2990
+ h('path', { d: 'M21 49 H43', stroke: '#D4AF37', strokeWidth: 1.5, strokeLinecap: 'round', opacity: 0.7 }),
2991
+ h('path', { d: 'M15 54 Q21 51 27 54 T39 54 T51 54', stroke: '#D4AF37', strokeWidth: 1.5, fill: 'none', strokeLinecap: 'round', opacity: 0.85 }),
2992
+ h('path', { d: 'M19 57 Q25 54 31 57 T43 57', stroke: '#D4AF37', strokeWidth: 1.5, fill: 'none', strokeLinecap: 'round', opacity: 0.5 }),
2993
+ h('rect', { x: 29, y: 33, width: 6, height: 7, rx: 1, fill: '#C0392B' }));
2994
+ }
2995
+
2975
2996
  function PanelIcon() {
2976
- return h('span', { style: { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', color: 'inherit' } }, h(Ico, { name: 'loop' }));
2997
+ return h('span', { style: { display: 'inline-flex', alignItems: 'center', justifyContent: 'center', color: 'inherit' } }, h(PavilionMark, { size: 18 }));
2977
2998
  }
2978
2999
 
2979
3000
  function apply(ctx) {
package/index.js CHANGED
@@ -33,7 +33,7 @@ export const name = 'ai-team';
33
33
  /** The workbench only makes sense where the Web carrier exists. */
34
34
  export const inject = ['webServer', 'permissionPresets', 'sandboxPolicy'];
35
35
 
36
- const VERSION = '0.3.6';
36
+ const VERSION = '0.3.8';
37
37
  const PROJECT_ID = 'prj_main';
38
38
  const HUMAN_ID = 'mem_human';
39
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suifei/dsh-ai-team",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
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",