reasonix 0.36.0 → 0.36.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.
package/README.md CHANGED
@@ -112,6 +112,23 @@ Requires Node ≥ 22. Tested on macOS · Linux · Windows (PowerShell · Git Bas
112
112
 
113
113
  Other subcommands (`replay` · `diff` · `events` · `stats` · `index` · `mcp` · `prune-sessions`) are listed in `reasonix --help` and on the [CLI reference](https://esengine.github.io/DeepSeek-Reasonix/#cli).
114
114
 
115
+ #### When to pick `chat` over `code`
116
+
117
+ `code` is the default — it's the only mode that can read, write, or edit files, run shell commands, or apply SEARCH/REPLACE blocks. `chat` strips all of that down to a plain conversation; reach for it when you want a thinking-partner shell without granting filesystem or shell access.
118
+
119
+ | What you get | `reasonix code` | `reasonix chat` |
120
+ |---|---|---|
121
+ | Native filesystem tools (read · write · `edit_file`) | ✓ | — |
122
+ | SEARCH/REPLACE edit blocks → `/apply` review | ✓ | — |
123
+ | Shell tool (with confirm gate, `/mode yolo` to skip) | ✓ | — |
124
+ | Plan mode · `submit_plan` · `/todo` · `/skill new` · `/mcp add` scaffolding | ✓ | — |
125
+ | Memory tools (`remember` / `recall_memory`) | project + global | global only |
126
+ | Web search · `ask_choice` · MCP servers from config | ✓ | ✓ |
127
+ | Coding-focused system prompt (SEARCH/REPLACE, repo etiquette) | ✓ | generic |
128
+ | Session scope | per-directory (`code-<basename>`) | shared default |
129
+
130
+ `chat` still picks up MCP servers from `~/.reasonix/config.json`, so if all you want is a chat shell with one or two MCP integrations, it's the lighter entrypoint. Otherwise `code` is what every screenshot, benchmark, and slash-command example in the docs assumes.
131
+
115
132
  **Working in a different folder:** Reasonix scopes filesystem tools to the launch directory. To work elsewhere, pass `--dir`:
116
133
 
117
134
  ```bash
package/README.zh-CN.md CHANGED
@@ -66,6 +66,23 @@ npx reasonix code # 首次运行粘贴 DeepSeek API Key,之后会记住
66
66
 
67
67
  其他子命令(`replay` · `diff` · `events` · `stats` · `index` · `mcp` · `prune-sessions`)见 `reasonix --help` 和 [CLI 参考](https://esengine.github.io/DeepSeek-Reasonix/#cli)。
68
68
 
69
+ #### 什么时候用 `chat` 而不是 `code`
70
+
71
+ `code` 是默认入口 —— 只有它能读写、编辑文件、跑 shell 命令、解析 SEARCH/REPLACE 块。`chat` 把这些全砍掉,只剩一个纯对话外壳;当你只想找模型对一对思路、又不想授予文件系统或 shell 权限时用它。
72
+
73
+ | 你拿到什么 | `reasonix code` | `reasonix chat` |
74
+ |---|---|---|
75
+ | 原生文件系统工具(read · write · `edit_file`) | ✓ | — |
76
+ | SEARCH/REPLACE 编辑块 → `/apply` 审核 | ✓ | — |
77
+ | Shell 工具(带 confirm gate,`/mode yolo` 跳过) | ✓ | — |
78
+ | Plan 模式 · `submit_plan` · `/todo` · `/skill new` · `/mcp add` 脚手架 | ✓ | — |
79
+ | 记忆工具(`remember` / `recall_memory`) | 项目 + 全局 | 仅全局 |
80
+ | Web 搜索 · `ask_choice` · 从配置加载的 MCP 服务 | ✓ | ✓ |
81
+ | 编码导向系统提示词(SEARCH/REPLACE、仓库礼仪) | ✓ | 通用 |
82
+ | Session 作用域 | 按目录(`code-<basename>`) | 共享默认 |
83
+
84
+ `chat` 同样会从 `~/.reasonix/config.json` 读取 MCP 服务器,所以如果你只是想要一个聊天外壳挂一两个 MCP 集成,它是更轻量的入口。其他场景下,文档里所有截图、基准测试、slash 命令例子默认都是 `code`。
85
+
69
86
  **在其他目录工作:** Reasonix 把文件系统工具作用域绑定在启动目录。要在别的目录工作,传 `--dir`:
70
87
 
71
88
  ```bash
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  chatCommand
4
- } from "./chunk-EN4LAZW5.js";
4
+ } from "./chunk-3OBWN2NH.js";
5
5
  import "./chunk-BQNUJJN7.js";
6
6
  import "./chunk-RFX7TYVV.js";
7
7
  import "./chunk-MRLXEMZ7.js";
@@ -39,4 +39,4 @@ import "./chunk-CRPQUBP6.js";
39
39
  export {
40
40
  chatCommand
41
41
  };
42
- //# sourceMappingURL=chat-RGMYAOY2.js.map
42
+ //# sourceMappingURL=chat-7AF5SPAJ.js.map