reasonix 0.30.2 → 0.30.4
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 +56 -3
- package/README.zh-CN.md +11 -3
- package/dashboard/dist/app.js +1240 -787
- package/dashboard/dist/app.js.map +1 -1
- package/dist/cli/index.js +1450 -1307
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +130 -7
- package/dist/index.js.map +1 -1
- package/package.json +5 -7
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
·
|
|
8
8
|
<a href="./README.zh-CN.md">简体中文</a>
|
|
9
9
|
·
|
|
10
|
-
<a href="https://esengine.github.io/
|
|
10
|
+
<a href="https://esengine.github.io/DeepSeek-Reasonix/">Website</a>
|
|
11
11
|
·
|
|
12
12
|
<a href="./docs/ARCHITECTURE.md">Architecture</a>
|
|
13
13
|
·
|
|
@@ -46,6 +46,49 @@
|
|
|
46
46
|
|
|
47
47
|
<br/>
|
|
48
48
|
|
|
49
|
+
## Web search
|
|
50
|
+
|
|
51
|
+
Reasonix includes `web_search` and `web_fetch` tools. By default it uses **Mojeek** (no setup required). You can switch to a **self-hosted SearXNG** instance — a metasearch engine that aggregates whatever upstream engines your instance is configured for.
|
|
52
|
+
|
|
53
|
+
### Switching engines (persists to disk)
|
|
54
|
+
|
|
55
|
+
The `/search-engine` slash command (alias `/se`) writes your choice to `~/.reasonix/config.json` immediately — it survives restarts:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
/search-engine mojeek # default, no external deps
|
|
59
|
+
/search-engine searxng # SearXNG at http://localhost:8080
|
|
60
|
+
/search-engine searxng http://192.168.1.100:8888 # custom endpoint
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Equivalent `~/.reasonix/config.json`:
|
|
64
|
+
|
|
65
|
+
```json
|
|
66
|
+
{
|
|
67
|
+
"webSearchEngine": "searxng",
|
|
68
|
+
"webSearchEndpoint": "http://localhost:8080"
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
The tool picks up the change on the next call — no restart needed.
|
|
73
|
+
|
|
74
|
+
### Starting SearXNG
|
|
75
|
+
|
|
76
|
+
```sh
|
|
77
|
+
podman run -d --replace --name searxng -p 8080:8080 docker.io/searxng/searxng
|
|
78
|
+
# or: docker run -d -p 8080:8080 searxng/searxng
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Verify it's running:
|
|
82
|
+
|
|
83
|
+
```sh
|
|
84
|
+
curl http://localhost:8080/search?q=test
|
|
85
|
+
# → HTML search results page
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
> **Note:** The endpoint must include the protocol (`http://`). `localhost:8080` alone will fail — the tool will show a clear error telling you to install SearXNG if the server is unreachable.
|
|
89
|
+
|
|
90
|
+
<br/>
|
|
91
|
+
|
|
49
92
|
## Install
|
|
50
93
|
|
|
51
94
|
```bash
|
|
@@ -55,6 +98,14 @@ npx reasonix code # paste a DeepSeek API key on first run; persists after
|
|
|
55
98
|
|
|
56
99
|
Requires Node ≥ 22. Tested on macOS · Linux · Windows (PowerShell · Git Bash · Windows Terminal). Get a [DeepSeek API key →](https://platform.deepseek.com/api_keys) · `reasonix code --help` for flags.
|
|
57
100
|
|
|
101
|
+
**Working in a different folder:** Reasonix scopes filesystem tools to the launch directory. To work elsewhere, pass `--dir`:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
npx reasonix code --dir /path/to/project # or use a relative path
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Mid-session switching isn't supported by design (the message log + memory paths get tangled with stale roots). Quit and relaunch with a new `--dir` to retarget. `/status` always shows the current pinned workspace.
|
|
108
|
+
|
|
58
109
|
<br/>
|
|
59
110
|
|
|
60
111
|
## What makes Reasonix different
|
|
@@ -90,8 +141,10 @@ Click any card to read the full architecture writeup → [Pillar 1](./docs/ARCHI
|
|
|
90
141
|
| Cost profile | **low per task** | premium | subscription + use | varies |
|
|
91
142
|
| DeepSeek prefix-cache | **engineered** | not applicable | not applicable | incidental |
|
|
92
143
|
| Embedded web dashboard | yes | — | n/a (IDE) | — |
|
|
144
|
+
| Configurable web search engine | `/search-engine` | — | — | — |
|
|
93
145
|
| Persistent per-workspace sessions | yes | partial | n/a | — |
|
|
94
146
|
| Plan mode · MCP · hooks · skills | yes | yes | yes | partial |
|
|
147
|
+
| Web search (Mojeek + SearXNG) | yes | yes | yes | yes |
|
|
95
148
|
| Open community development | yes | — | — | yes |
|
|
96
149
|
|
|
97
150
|
For live cache-hit rates, costs, and methodology, see [`benchmarks/`](./benchmarks/) — the numbers move with model pricing, so they live with the harness, not in the README.
|
|
@@ -102,7 +155,7 @@ For live cache-hit rates, costs, and methodology, see [`benchmarks/`](./benchmar
|
|
|
102
155
|
|
|
103
156
|
- [**Architecture**](./docs/ARCHITECTURE.md) — the four pillars, cache-first loop, harvesting, scaffolds
|
|
104
157
|
- [**Benchmarks**](./benchmarks/) — τ-bench-lite harness, transcripts, cost methodology
|
|
105
|
-
- [**Website**](https://esengine.github.io/
|
|
158
|
+
- [**Website**](https://esengine.github.io/DeepSeek-Reasonix/) — getting started, dashboard mockup, TUI mockup
|
|
106
159
|
- [**Contributing**](./CONTRIBUTING.md) — comment policy, error-handling rules, library-over-hand-rolled
|
|
107
160
|
- [**Code of Conduct**](./CODE_OF_CONDUCT.md) · [**Security policy**](./SECURITY.md)
|
|
108
161
|
|
|
@@ -118,7 +171,7 @@ Scoped starter tickets — each with background, code pointers, acceptance crite
|
|
|
118
171
|
**Open Discussions — opinions wanted:**
|
|
119
172
|
|
|
120
173
|
- [#20 · CLI / TUI design](https://github.com/esengine/reasonix/discussions/20) — what's broken, what's missing, what would you change?
|
|
121
|
-
- [#21 · Dashboard design](https://github.com/esengine/reasonix/discussions/21) — react against the [proposed mockup](https://esengine.github.io/
|
|
174
|
+
- [#21 · Dashboard design](https://github.com/esengine/reasonix/discussions/21) — react against the [proposed mockup](https://esengine.github.io/DeepSeek-Reasonix/design/agent-dashboard.html)
|
|
122
175
|
- [#22 · Future feature wishlist](https://github.com/esengine/reasonix/discussions/22) — what would you build into Reasonix next?
|
|
123
176
|
|
|
124
177
|
**Already using Reasonix and willing to help others discover it?** Publish blog posts, articles, screenshots, talks, or videos to [**Show and tell**](https://github.com/esengine/reasonix/discussions/categories/show-and-tell). The project has no marketing budget — community word of mouth is how new users find it. Sustained advocates earn the badge below, displayed next to the contributors wall once awarded:
|
package/README.zh-CN.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
·
|
|
8
8
|
<strong>简体中文</strong>
|
|
9
9
|
·
|
|
10
|
-
<a href="https://esengine.github.io/
|
|
10
|
+
<a href="https://esengine.github.io/DeepSeek-Reasonix/">官方网站</a>
|
|
11
11
|
·
|
|
12
12
|
<a href="./docs/ARCHITECTURE.md">架构文档</a>
|
|
13
13
|
·
|
|
@@ -52,6 +52,14 @@ npx reasonix code # 首次运行粘贴 DeepSeek API Key,之后会记住
|
|
|
52
52
|
|
|
53
53
|
要求 Node ≥ 22。已在 macOS · Linux · Windows(PowerShell · Git Bash · Windows Terminal)测过。[去拿 DeepSeek API Key →](https://platform.deepseek.com/api_keys) · 完整 flag 看 `reasonix code --help`。
|
|
54
54
|
|
|
55
|
+
**在其他目录工作:** Reasonix 把文件系统工具作用域绑定在启动目录。要在别的目录工作,传 `--dir`:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
npx reasonix code --dir /path/to/project # 也可以用相对路径
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
中途切换工作区是有意不支持的(消息日志和 memory 路径会和旧的根目录混在一起,状态错乱)。退出后用新的 `--dir` 重新启动来切换。`/status` 始终显示当前锁定的工作区。
|
|
62
|
+
|
|
55
63
|
<br/>
|
|
56
64
|
|
|
57
65
|
## Reasonix 的不同之处
|
|
@@ -99,7 +107,7 @@ npx reasonix code # 首次运行粘贴 DeepSeek API Key,之后会记住
|
|
|
99
107
|
|
|
100
108
|
- [**架构**](./docs/ARCHITECTURE.md) —— 四大支柱、缓存优先循环、思维提取、脚手架
|
|
101
109
|
- [**基准测试**](./benchmarks/) —— τ-bench-lite harness、transcript、成本方法论
|
|
102
|
-
- [**官方网站**](https://esengine.github.io/
|
|
110
|
+
- [**官方网站**](https://esengine.github.io/DeepSeek-Reasonix/) —— 入门、Dashboard 设计稿、TUI 设计稿
|
|
103
111
|
- [**贡献指南**](./CONTRIBUTING.md) —— 注释规则、错误处理、用现成库不手写
|
|
104
112
|
- [**行为准则**](./CODE_OF_CONDUCT.md) · [**安全策略**](./SECURITY.md)
|
|
105
113
|
|
|
@@ -115,7 +123,7 @@ npx reasonix code # 首次运行粘贴 DeepSeek API Key,之后会记住
|
|
|
115
123
|
**正在征集意见的 Discussions:**
|
|
116
124
|
|
|
117
125
|
- [#20 · CLI / TUI 设计](https://github.com/esengine/reasonix/discussions/20) —— 哪里坏了、哪里少东西、哪里你会怎么改?
|
|
118
|
-
- [#21 · Dashboard 设计](https://github.com/esengine/reasonix/discussions/21) —— 对着[设计稿](https://esengine.github.io/
|
|
126
|
+
- [#21 · Dashboard 设计](https://github.com/esengine/reasonix/discussions/21) —— 对着[设计稿](https://esengine.github.io/DeepSeek-Reasonix/design/agent-dashboard.html)拍砖
|
|
119
127
|
- [#22 · 未来功能愿望单](https://github.com/esengine/reasonix/discussions/22) —— 你希望 Reasonix 长出什么功能?
|
|
120
128
|
|
|
121
129
|
**正在使用 Reasonix,愿意让更多人了解它?** 欢迎将相关博客、文章、截图、演讲或视频发布到 [**Show and tell**](https://github.com/esengine/reasonix/discussions/categories/show-and-tell)。项目没有营销预算,新用户主要通过社区口碑找到这里。持续参与传播的用户将获得下方这枚徽章,颁发后会展示在贡献者墙旁:
|