scream-code 0.10.9 → 0.10.11
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 +50 -0
- package/dist/{app-CwHfTwUZ.mjs → app-W-21pv-c.mjs} +1603 -3721
- package/dist/main.mjs +1 -1
- package/package.json +13 -3
package/README.md
CHANGED
|
@@ -90,6 +90,7 @@ npm install -g scream-code
|
|
|
90
90
|
After installation, the `scream` command is added to PATH. First install takes about 2-5 minutes.
|
|
91
91
|
|
|
92
92
|
- Start TUI: `scream`
|
|
93
|
+
- Start Web UI: `scream web`
|
|
93
94
|
- Auto-permission mode: `scream --auto`
|
|
94
95
|
- Auto-approve mode: `scream -y`
|
|
95
96
|
- Switch language after startup: `/language`
|
|
@@ -115,6 +116,7 @@ When it needs to modify files or run commands, an approval panel appears. Press
|
|
|
115
116
|
| Feature | Description |
|
|
116
117
|
|---------|-------------|
|
|
117
118
|
| 💬 **Conversational Interaction** | Describe what you need in natural language — it writes code, edits files, runs commands |
|
|
119
|
+
| 🌐 **Web UI** | `scream web` — browser-based chat with multi-session, model switching, and full TUI parity |
|
|
118
120
|
| 🔒 **Security First** | Must get approval before modifying files; `.env` and sensitive files are blocked by default |
|
|
119
121
|
| 🛡️ **Permission Engine** | Fine-grained control over read/write/execute permissions |
|
|
120
122
|
| ⚙️ **State Machine** | Prevents drift, enforces task granularity, reduces token waste |
|
|
@@ -133,6 +135,29 @@ When it needs to modify files or run commands, an approval panel appears. Press
|
|
|
133
135
|
|
|
134
136
|
---
|
|
135
137
|
|
|
138
|
+
## 🌐 Web UI — Browser-Based Chat
|
|
139
|
+
|
|
140
|
+
Launch the web interface with `scream web` — no terminal required. Full TUI parity in your browser.
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
scream web # Start on default port 3210
|
|
144
|
+
scream web --port 3222 # Custom port
|
|
145
|
+
scream web -y # Auto-approve mode
|
|
146
|
+
scream web --auto # Auto permission mode
|
|
147
|
+
scream web --no-open # Don't auto-open browser
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
**Features:**
|
|
151
|
+
- 💬 **Full chat experience** — same agent-core as TUI, zero feature loss
|
|
152
|
+
- 📂 **Multi-session** — sidebar with create/switch/delete/export, persistent across restarts
|
|
153
|
+
- 🔄 **Model switching** — click model pill to switch models and thinking levels
|
|
154
|
+
- ⌨️ **Slash commands** — `/compact` `/auto` `/yes` `/plan` `/fork` `/title` `/status` `/usage` `/btw` and more
|
|
155
|
+
- 🎨 **Themes** — light/dark/system with smooth transitions
|
|
156
|
+
- 📱 **Mobile responsive** — works on phones and tablets
|
|
157
|
+
- 🔒 **Local only** — binds to 127.0.0.1, no external access
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
136
161
|
## 📱 cc-connect — Remote Control via Chat
|
|
137
162
|
|
|
138
163
|
Supports WeChat, Feishu, Slack, DingTalk, QQ, Telegram, and more. Install cc-connect after scream-code to control it remotely.
|
|
@@ -266,6 +291,7 @@ npm install -g scream-code
|
|
|
266
291
|
|
|
267
292
|
安装完成后,`scream` 命令自动加入 PATH。首次安装约需 2-5 分钟。
|
|
268
293
|
TUI启动命令`scream`
|
|
294
|
+
Web网页端启动命令`scream web`
|
|
269
295
|
自动权限模式启动`scream --auto`
|
|
270
296
|
自动批准模式启动`scream -y`
|
|
271
297
|
启动后切换语言`/language`
|
|
@@ -294,6 +320,7 @@ TUI启动命令`scream`
|
|
|
294
320
|
| 功能 | 说明 |
|
|
295
321
|
|------|------|
|
|
296
322
|
| 💬 **对话式交互** | 用自然语言描述需求,它自动写代码、改文件、跑命令 |
|
|
323
|
+
| 🌐 **Web网页端** | `scream web` 启动浏览器聊天,支持多会话、模型切换,与TUI功能对齐 |
|
|
297
324
|
| 🔒 **安全第一** | 修改文件前必须征得同意,`.env` 等敏感文件默认禁止操作 |
|
|
298
325
|
| 🛡️ **权限引擎** | 精细控制它能做什么(读取/写入/执行),防止误操作 |
|
|
299
326
|
| ⚙️ **状态机机制** | 防漂移,强化任务颗粒度,不出错,任务完成度高,降低 Token 消耗 |
|
|
@@ -312,6 +339,29 @@ TUI启动命令`scream`
|
|
|
312
339
|
|
|
313
340
|
---
|
|
314
341
|
|
|
342
|
+
## 🌐 Web网页端 — 浏览器聊天
|
|
343
|
+
|
|
344
|
+
输入 `scream web` 启动网页端,无需终端,浏览器里直接使用。功能与TUI完全对齐。
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
scream web # 默认端口 3210
|
|
348
|
+
scream web --port 3222 # 自定义端口
|
|
349
|
+
scream web -y # 自动批准模式
|
|
350
|
+
scream web --auto # 自动权限模式
|
|
351
|
+
scream web --no-open # 不自动打开浏览器
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
**功能特性:**
|
|
355
|
+
- 💬 **完整聊天体验** — 与TUI共用同一套 agent-core,功能零损失
|
|
356
|
+
- 📂 **多会话管理** — 左侧栏新建/切换/删除/导出会话,重启后自动恢复
|
|
357
|
+
- 🔄 **模型切换** — 点击模型标签即可切换模型和思考强度
|
|
358
|
+
- ⌨️ **斜杠命令** — `/compact` `/auto` `/yes` `/plan` `/fork` `/title` `/status` `/usage` `/btw` 等
|
|
359
|
+
- 🎨 **主题切换** — 亮色/暗色/跟随系统,平滑过渡
|
|
360
|
+
- 📱 **移动端适配** — 手机平板也能用
|
|
361
|
+
- 🔒 **仅本地访问** — 绑定 127.0.0.1,外部无法访问
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
315
365
|
## 📱 cc-connect 通过聊天远程控制
|
|
316
366
|
|
|
317
367
|
支持微信、飞书、Slack、钉钉、QQ、Telegram 等,你可以在安装 scream-code 后一键安装 cc-connect 来控制你的 screamcode。
|