@iamsamyiok/agents-chat 3.27.0 → 3.28.1

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.
@@ -1036,7 +1036,7 @@ function renderUpdateInfo(data){
1036
1036
  +' <button id="updateCopy">复制升级命令</button>';
1037
1037
  document.body.prepend(bar);
1038
1038
  document.body.style.paddingTop='34px';
1039
- $('#updateCopy').onclick=()=>copyText(data.updateCommand||('npm install -g @iamsamyiok/agents-chat@latest'));
1039
+ $('#updateCopy').onclick=()=>copyText(data.updateCommand||('npm install -g agents-chat-cli@latest'));
1040
1040
  }
1041
1041
  $('#trashEmpty').onclick=async()=>{ if(!confirm('确认清空垃圾桶?所有快照及其过程日志将被永久删除,不可恢复。'))return; const r=await post('/api/cards/trash/empty'); toast('已清空 '+r.cleared+' 项'); await loadCards(); };
1042
1042
 
@@ -3271,7 +3271,7 @@ function renderUpdateInfo(health) {
3271
3271
  bar.innerHTML = `📦 发现新版本 <b>v${esc(health.latestVersion)}</b>(当前 v${esc(health.version)}):终端运行 <code>agents-chat update</code> 一键升级,或执行 <code>${esc(health.updateCommand)}</code> <button id="updateCopy" style="border:1px solid #d8b94a;background:#fff;border-radius:5px;padding:2px 10px;font-size:12px;cursor:pointer;color:#614700">复制升级命令</button>`;
3272
3272
  document.body.prepend(bar);
3273
3273
  document.body.style.paddingTop = '34px';
3274
- document.getElementById('updateCopy').onclick = () => copyText(health.updateCommand || 'npm install -g @iamsamyiok/agents-chat@latest');
3274
+ document.getElementById('updateCopy').onclick = () => copyText(health.updateCommand || 'npm install -g agents-chat-cli@latest');
3275
3275
  }
3276
3276
 
3277
3277
  function openHelp() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iamsamyiok/agents-chat",
3
- "version": "3.27.0",
4
- "description": "多智能体群聊工具 - 支持 OpenCode/Claude Code/Codex/pi 内核,微信风格聊天界面",
3
+ "version": "3.28.1",
4
+ "description": "多智能体群聊工具 - 支持 OpenCode/Claude Code/Codex/pi 内核,微信风格聊天界面 (旧包名,推荐迁移: npm i -g agents-chat-cli)",
5
5
  "main": "lib/start.js",
6
6
  "bin": {
7
7
  "agents-chat": "./bin/agents-chat.js"
@@ -37,4 +37,4 @@
37
37
  "test": "node --test \"test/*.test.js\"",
38
38
  "build:exe": "node scripts/build-exe.js"
39
39
  }
40
- }
40
+ }