@cosmicstack/mercury-agent 1.1.5 → 1.1.7

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
@@ -20,6 +20,10 @@
20
20
  <a href="https://nodejs.org/"><img src="https://img.shields.io/node/v/@cosmicstack/mercury-agent" alt="node"></a>
21
21
  </p>
22
22
 
23
+ <p align="center">
24
+ <strong>🔖 Current Stable: v1.1.6</strong>
25
+ </p>
26
+
23
27
  <p align="center">
24
28
  English | <a href="README.zh-CN.md">简体中文</a>
25
29
  </p>
@@ -39,12 +43,13 @@ npm i -g @cosmicstack/mercury-agent
39
43
  mercury
40
44
  ```
41
45
 
42
- First run triggers the setup wizard enter your name, an API key, and optionally a Telegram bot token. Takes 30 seconds.
46
+ First run triggers the setup wizard (name, provider, optional Telegram). After setup, Mercury opens the Ink TUI startup screen and asks for your permission mode (`Ask Me` or `Allow All`) before chat starts.
43
47
 
44
48
  To reconfigure later (change keys, name, settings):
45
49
 
46
50
  ```bash
47
51
  mercury doctor
52
+ mercury doctor --platform
48
53
  ```
49
54
 
50
55
  ## Why Mercury?
@@ -59,6 +64,8 @@ Every AI agent can read files, run commands, and fetch URLs. Most do it silently
59
64
  - **Always on** — Run as a background daemon on any OS. Auto-restarts on crash. Starts on boot. Cron scheduling, heartbeat monitoring, and proactive notifications.
60
65
  - **Extensible** — Install community skills with a single command. Schedule skills as recurring tasks. Based on the [Agent Skills](https://agentskills.io) specification.
61
66
 
67
+ Mercury now seeds a default `web-search` skill on first run in `~/.mercury/skills/web-search/SKILL.md`.
68
+
62
69
  ## Daemon Mode
63
70
 
64
71
  **One command to make Mercury persistent:**
@@ -115,7 +122,8 @@ In daemon mode, Telegram becomes your primary channel — CLI is log-only since
115
122
  | `mercury restart` | Restart the background process |
116
123
  | `mercury stop` | Stop a background process |
117
124
  | `mercury logs` | View recent daemon logs |
118
- | `mercury doctor` | Reconfigure (Enter to keep current values) |
125
+ | `mercury doctor` | Reconfigure setup (name, providers, channels, permissions defaults) |
126
+ | `mercury doctor --platform` | Show cross-platform terminal/daemon compatibility diagnostics |
119
127
  | `mercury setup` | Re-run the setup wizard |
120
128
  | `mercury status` | Show config and daemon status |
121
129
  | `mercury help` | Show full manual |
@@ -149,6 +157,11 @@ Type these during a conversation — they don't consume API tokens. Work on both
149
157
  | `/budget reset` | Reset usage to zero |
150
158
  | `/budget set <n>` | Change daily token budget |
151
159
  | `/permissions` | Change permission mode (Ask Me / Allow All) |
160
+ | `/view` | Toggle progress view (balanced/detailed) |
161
+ | `/view balanced` | Set compact progress view |
162
+ | `/view detailed` | Set full progress view |
163
+ | `/code agent <task>` | Delegate a coding task to a sub-agent in background |
164
+ | `/ws exit` | Exit workspace IDE mode back to general chat |
152
165
  | `/tasks` | List scheduled tasks |
153
166
  | `/memory` | View and manage second brain memory |
154
167
  | `/unpair` | Telegram: reset all access |
@@ -170,9 +183,24 @@ Type these during a conversation — they don't consume API tokens. Work on both
170
183
 
171
184
  | Channel | Features |
172
185
  |---------|----------|
173
- | **CLI** | Readline prompt, arrow-key command menus, real-time text streaming with markdown re-rendering, permission mode picker |
186
+ | **CLI** | Ink TUI, startup permission mode picker, interactive permission prompts (arrow keys + Enter; Y/N/A shortcuts), progress views (balanced/detailed), real-time streaming |
174
187
  | **Telegram** | HTML formatting, editable streaming messages, file uploads, typing indicators, multi-user access with admin/member roles |
175
188
 
189
+ ### Workspace/Coding Shortcuts (CLI)
190
+
191
+ - `Ctrl+P` → switch to Plan mode
192
+ - `Ctrl+X` → switch to Execute mode
193
+ - `Esc` or `Ctrl+Q` → exit workspace to general chat
194
+ - `Ctrl+V` → toggle progress view (`/view` is fallback when terminal intercepts Ctrl+V)
195
+
196
+ ### Spotify UI Notes (CLI)
197
+
198
+ - Spotify deck supports keyboard shortcuts: `N` next, `P` previous, `+/-` volume, `Z` now playing.
199
+ - Inline album art is optional and safe-gated:
200
+ - Enable with `MERCURY_SPOTIFY_ART=1`
201
+ - Currently renders only in local iTerm sessions
202
+ - Automatically falls back to text-only UI in SSH/mobile/light terminals
203
+
176
204
  ### Telegram Access
177
205
 
178
206
  Mercury uses an **organization access model** with admins and members.
package/README.zh-CN.md CHANGED
@@ -21,7 +21,7 @@ npm i -g @cosmicstack/mercury-agent
21
21
  mercury
22
22
  ```
23
23
 
24
- 首次运行会启动配置向导。你需要输入姓名、模型 API Key,并可选择配置 Telegram Bot Token。之后如需重新配置:
24
+ 首次运行会启动配置向导(姓名、模型、可选 Telegram)。完成后会进入 Ink TUI 启动画面,并在进入聊天前让你选择权限模式(`Ask Me` / `Allow All`)。之后如需重新配置:
25
25
 
26
26
  ```bash
27
27
  mercury doctor
@@ -76,7 +76,7 @@ mercury status # 查看运行状态
76
76
  | `mercury restart` | 重启后台进程 |
77
77
  | `mercury stop` | 停止后台进程 |
78
78
  | `mercury logs` | 查看近期日志 |
79
- | `mercury doctor` | 重新配置,回车保留现有值 |
79
+ | `mercury doctor` | 重新配置 Mercury(姓名、Provider、频道、权限默认项) |
80
80
  | `mercury setup` | 重新运行配置向导 |
81
81
  | `mercury status` | 查看配置和守护进程状态 |
82
82
  | `mercury help` | 查看完整手册 |
@@ -110,6 +110,9 @@ mercury status # 查看运行状态
110
110
  | `/budget reset` | 将用量重置为零 |
111
111
  | `/budget set <n>` | 修改每日 Token 预算 |
112
112
  | `/permissions` | 修改权限模式 |
113
+ | `/view` | 切换进度视图(balanced/detailed) |
114
+ | `/view balanced` | 使用精简进度视图 |
115
+ | `/view detailed` | 使用详细进度视图 |
113
116
  | `/tasks` | 列出定时任务 |
114
117
  | `/memory` | 查看和管理 Second Brain 记忆 |
115
118
  | `/unpair` | Telegram:重置所有访问 |
@@ -131,7 +134,7 @@ mercury status # 查看运行状态
131
134
 
132
135
  | 渠道 | 能力 |
133
136
  |------|------|
134
- | CLI | Readline 提示符、方向键命令菜单、实时文本流、Markdown 重渲染、权限模式选择 |
137
+ | CLI | Ink TUI、启动权限模式选择、交互式权限审批(方向键 + Enter,支持 Y/N/A 快捷键)、balanced/detailed 进度视图、实时文本流 |
135
138
  | Telegram | HTML 格式化、可编辑流式消息、文件上传、输入状态、多用户访问和管理员/成员角色 |
136
139
 
137
140
  ### Telegram 访问模型