@wu529778790/open-im 1.11.2-beta.30 → 1.11.2-beta.32

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/README.md CHANGED
@@ -92,7 +92,7 @@ cd /my-project && claude
92
92
  claude -c # 接上手机端的对话
93
93
  ```
94
94
 
95
- > 同一时刻只能有一端活跃。发消息前先退出 CLI,反之亦然。
95
+ > 不能同时使用两端,但无需退出 CLI。只需等待当前操作完成即可切换。
96
96
 
97
97
  ## Web 控制台
98
98
 
package/dist/index.js CHANGED
@@ -137,6 +137,21 @@ const PLATFORM_DISPLAY_NAMES = {
137
137
  workbuddy: '微信',
138
138
  clawbot: '微信 (ClawBot)',
139
139
  };
140
+ /** 随机提示列表 */
141
+ const TIPS = [
142
+ '/help — 查看所有命令',
143
+ '/new — 开始新会话',
144
+ '/sessions — 浏览历史会话',
145
+ '/git commit — 快速提交代码',
146
+ '/review — 代码审查',
147
+ '/test — 运行测试',
148
+ '/explain — 解释项目结构',
149
+ '/plugins — 查看已安装插件',
150
+ '/context — 查看上下文用量',
151
+ '/models — 切换 AI 模型',
152
+ '/cd <路径> — 切换工作目录',
153
+ '/fork — 分支会话,保留当前上下文',
154
+ ];
140
155
  /** 读取已启用的插件列表 */
141
156
  function getEnabledPlugins() {
142
157
  try {
@@ -186,6 +201,11 @@ function buildNotification(opts) {
186
201
  if (details.length > 0) {
187
202
  lines.push("", ...details);
188
203
  }
204
+ // 随机提示(仅启动时显示)
205
+ if (opts.emoji === "✅") {
206
+ const tip = TIPS[Math.floor(Math.random() * TIPS.length)];
207
+ lines.push("", `💡 ${tip}`);
208
+ }
189
209
  return lines.join("\n\n");
190
210
  }
191
211
  function buildStartupMessage(platform, appVersion, aiCommand, defaultWorkDir, sessionManager) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wu529778790/open-im",
3
- "version": "1.11.2-beta.30",
3
+ "version": "1.11.2-beta.32",
4
4
  "description": "Your AI coding assistant, in every chat app. Multi-platform IM bridge for Claude Code, Codex, and CodeBuddy.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",