@suifei/dsh-ai-team 0.3.7 → 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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.8 — 2026-11-09
4
+
5
+ - 收件箱「对话」返回改为文渊阁内部主对话,不再依赖宿主 `layout.selectPanel(conversation)`;
6
+ - 修复空收件箱点击返回出现 “spike:宿主没有可用的 layout…” 的错误提示。
7
+
3
8
  ## 0.3.7 — 2026-11-09
4
9
 
5
10
  - 侧栏 PanelIcon 真正使用文渊阁印章图标(此前后仍是 loop 占位符);
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;
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.7';
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.7",
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",