@hagicode/hagilight-core 0.9.9-dev.116.1.d848c77 → 0.9.9-dev.118.1.29aba6e
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 +7 -0
- package/data/comparison-articles/en-US/claude-vs-hagicode.json +249 -197
- package/data/comparison-articles/en-US/codebuddy-vs-hagicode.json +241 -185
- package/data/comparison-articles/en-US/codex-vs-hagicode.json +240 -185
- package/data/comparison-articles/en-US/copilot-vs-hagicode.json +239 -185
- package/data/comparison-articles/en-US/deepagents-vs-hagicode.json +242 -185
- package/data/comparison-articles/en-US/dsh-vs-hagicode.json +242 -174
- package/data/comparison-articles/en-US/gemini-vs-hagicode.json +239 -185
- package/data/comparison-articles/en-US/hermes-vs-hagicode.json +242 -185
- package/data/comparison-articles/en-US/junie-vs-hagicode.json +242 -176
- package/data/comparison-articles/en-US/kimi-vs-hagicode.json +238 -185
- package/data/comparison-articles/en-US/kiro-vs-hagicode.json +238 -185
- package/data/comparison-articles/en-US/omp-vs-hagicode.json +258 -195
- package/data/comparison-articles/en-US/opencode-vs-hagicode.json +252 -185
- package/data/comparison-articles/en-US/pi-vs-hagicode.json +258 -194
- package/data/comparison-articles/en-US/qoder-vs-hagicode.json +242 -185
- package/data/comparison-articles/en-US/reasonix-vs-hagicode.json +257 -194
- package/data/comparison-articles/zh-CN/claude-vs-hagicode.json +248 -196
- package/data/comparison-articles/zh-CN/codebuddy-vs-hagicode.json +241 -185
- package/data/comparison-articles/zh-CN/codex-vs-hagicode.json +240 -185
- package/data/comparison-articles/zh-CN/copilot-vs-hagicode.json +239 -185
- package/data/comparison-articles/zh-CN/deepagents-vs-hagicode.json +242 -185
- package/data/comparison-articles/zh-CN/dsh-vs-hagicode.json +242 -174
- package/data/comparison-articles/zh-CN/gemini-vs-hagicode.json +239 -185
- package/data/comparison-articles/zh-CN/hermes-vs-hagicode.json +242 -185
- package/data/comparison-articles/zh-CN/junie-vs-hagicode.json +242 -176
- package/data/comparison-articles/zh-CN/kimi-vs-hagicode.json +238 -185
- package/data/comparison-articles/zh-CN/kiro-vs-hagicode.json +238 -185
- package/data/comparison-articles/zh-CN/omp-vs-hagicode.json +258 -195
- package/data/comparison-articles/zh-CN/opencode-vs-hagicode.json +252 -185
- package/data/comparison-articles/zh-CN/pi-vs-hagicode.json +258 -194
- package/data/comparison-articles/zh-CN/qoder-vs-hagicode.json +242 -185
- package/data/comparison-articles/zh-CN/reasonix-vs-hagicode.json +257 -194
- package/dist/comparison-articles.d.ts +20 -1
- package/dist/comparison-articles.js +35 -0
- package/package.json +1 -1
|
@@ -3,49 +3,118 @@
|
|
|
3
3
|
"slug": "reasonix-vs-hagicode",
|
|
4
4
|
"category": "vs-hagicode",
|
|
5
5
|
"locale": "zh-CN",
|
|
6
|
-
"updatedAt": "2026-10-
|
|
6
|
+
"updatedAt": "2026-10-16T00:00:00.000Z",
|
|
7
7
|
"seo": {
|
|
8
8
|
"title": "Reasonix CLI 对比 HagiCode:功能与差异",
|
|
9
|
-
"description": "
|
|
9
|
+
"description": "Reasonix 是免费、MIT 许可、内置 DeepSeek 预设的编码 Agent,HagiCode 是运行它的工作台。对比功能、价格、上手成本与适用场景。"
|
|
10
10
|
},
|
|
11
|
-
"summary": "Reasonix
|
|
11
|
+
"summary": "Reasonix 是在你本机运行的 MIT 许可开源编码 Agent,内置 DeepSeek 预设,也支持任何 OpenAI 兼容模型。HagiCode 通过 ACP 模式运行 Reasonix,并在外面补上会话、提案和提交工具。",
|
|
12
12
|
"sections": [
|
|
13
13
|
{
|
|
14
14
|
"id": "reasonix-vs-hagicode-section-1",
|
|
15
|
-
"title": "
|
|
15
|
+
"title": "简短结论",
|
|
16
16
|
"blocks": [
|
|
17
17
|
{
|
|
18
|
-
"id": "reasonix-vs-hagicode-section-1-
|
|
19
|
-
"type": "
|
|
20
|
-
"
|
|
18
|
+
"id": "reasonix-vs-hagicode-section-1-answer",
|
|
19
|
+
"type": "rich-text",
|
|
20
|
+
"content": [
|
|
21
|
+
"Reasonix 是一个开源编码 Agent,会读你的项目、改文件、运行命令和测试,内置权限级别和回退功能。模型由你自己选:DeepSeek 是内置预设,任何 OpenAI 兼容服务只需加一条配置。HagiCode 是工作台,把 Reasonix 作为执行器启动,并提供并行会话、规格提案、提交和历史记录。它不会替代 Reasonix,也不提供模型。",
|
|
22
|
+
"如果你主要想要一个终端、桌面或编辑器里的 Agent,配上便宜的模型和自己简单的工作流,只用 Reasonix 就够了。当你同时跑多个任务,或希望每次改动都从书面提案开始时,再加上 HagiCode。"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "reasonix-vs-hagicode-section-2",
|
|
29
|
+
"title": "Reasonix 与 HagiCode 一览对比",
|
|
30
|
+
"blocks": [
|
|
31
|
+
{
|
|
32
|
+
"id": "reasonix-vs-hagicode-section-2-table",
|
|
33
|
+
"type": "comparison-table",
|
|
34
|
+
"headers": [
|
|
35
|
+
"对比项",
|
|
36
|
+
"Reasonix",
|
|
37
|
+
"HagiCode"
|
|
38
|
+
],
|
|
39
|
+
"rows": [
|
|
21
40
|
{
|
|
22
|
-
"id": "reasonix-vs-hagicode-section-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"明确的模型引用:model 必须是在你的 Reasonix 配置中定义的 provider 或 provider/model 引用,因此路由保持显式;未定义的模型会让该轮运行以清晰的错误失败。",
|
|
28
|
-
"单选提问:当 Reasonix 提出问题时,HagiCode 会让每个问题只选一个答案,因此回复始终对应 Reasonix 给出的某个选项。"
|
|
41
|
+
"id": "reasonix-vs-hagicode-section-2-row-1",
|
|
42
|
+
"cells": [
|
|
43
|
+
"定位",
|
|
44
|
+
"开源编码 Agent:在你的项目文件夹里读代码、改文件、运行命令和测试",
|
|
45
|
+
"AI 编程工作台,把各类 Agent CLI(包括 Reasonix)当作执行器来运行"
|
|
29
46
|
]
|
|
30
47
|
},
|
|
31
48
|
{
|
|
32
|
-
"id": "reasonix-vs-hagicode-section-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"跨请求会话绑定:当路由上下文匹配时,Reasonix 可以把后续请求绑定回已有 provider session。对长周期任务来说,这比每轮都从零开始要高效得多。",
|
|
38
|
-
"运行时调优表面清晰:startupTimeoutMs 和额外 arguments 提供了直接、明确的调优入口,方便团队在不同运行环境里做稳定性和启动行为控制。"
|
|
49
|
+
"id": "reasonix-vs-hagicode-section-2-row-2",
|
|
50
|
+
"cells": [
|
|
51
|
+
"界面与平台",
|
|
52
|
+
"终端界面、Studio 桌面应用、浏览器(reasonix web)、VS Code、通过 ACP 接入其他编辑器;支持 macOS、Linux、Windows",
|
|
53
|
+
"桌面应用(Windows、macOS、Linux)、Docker Compose 容器版、Microsoft Store 版"
|
|
39
54
|
]
|
|
40
55
|
},
|
|
41
56
|
{
|
|
42
|
-
"id": "reasonix-vs-hagicode-section-
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
57
|
+
"id": "reasonix-vs-hagicode-section-2-row-3",
|
|
58
|
+
"cells": [
|
|
59
|
+
"价格与许可",
|
|
60
|
+
"MIT 许可,免费;直接向模型供应商付费",
|
|
61
|
+
"桌面版和容器版免费;Store 版基础免费,可选一次性购买 TurboEngine"
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "reasonix-vs-hagicode-section-2-row-4",
|
|
66
|
+
"cells": [
|
|
67
|
+
"模型与供应商",
|
|
68
|
+
"DeepSeek 预设;任何 OpenAI 兼容端点只需一条配置;可选执行模型加规划模型",
|
|
69
|
+
"不托管模型;使用你 Reasonix 配置里的供应商,或配置后走 OmniRoute"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "reasonix-vs-hagicode-section-2-row-5",
|
|
74
|
+
"cells": [
|
|
75
|
+
"并行工作",
|
|
76
|
+
"会话内可用子 Agent 配置",
|
|
77
|
+
"多个会话并排运行,作为命名 Agent 统一管理"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "reasonix-vs-hagicode-section-2-row-6",
|
|
82
|
+
"cells": [
|
|
83
|
+
"规格与规划流程",
|
|
84
|
+
"计划模式:经你批准计划后才开始动手",
|
|
85
|
+
"OpenSpec 提案:提出、校验、实施、归档"
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"id": "reasonix-vs-hagicode-section-2-row-7",
|
|
90
|
+
"cells": [
|
|
91
|
+
"Git 与提交",
|
|
92
|
+
"每轮对话的文件检查点,可回退编辑而不动 git 历史",
|
|
93
|
+
"AI 生成提交信息并锁定仓库;界面内管理 Git"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"id": "reasonix-vs-hagicode-section-2-row-8",
|
|
98
|
+
"cells": [
|
|
99
|
+
"向你提问",
|
|
100
|
+
"内置带选项的提问工具",
|
|
101
|
+
"在对话中显示每个问题;每题选一个选项,然后继续运行"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "reasonix-vs-hagicode-section-2-row-9",
|
|
106
|
+
"cells": [
|
|
107
|
+
"上手成本",
|
|
108
|
+
"npm i -g reasonix 或下载桌面应用,然后用 reasonix setup 选模型",
|
|
109
|
+
"先装好 Reasonix,再装 HagiCode,然后选择 Reasonix 作为 Agent CLI"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "reasonix-vs-hagicode-section-2-row-10",
|
|
114
|
+
"cells": [
|
|
115
|
+
"最适合",
|
|
116
|
+
"想用配置驱动的 Agent、搭配低成本模型,在终端、桌面或编辑器里使用的开发者",
|
|
117
|
+
"在多个仓库里并行跑 Reasonix 任务,并希望规格、审查和历史集中管理的人"
|
|
49
118
|
]
|
|
50
119
|
}
|
|
51
120
|
]
|
|
@@ -53,197 +122,176 @@
|
|
|
53
122
|
]
|
|
54
123
|
},
|
|
55
124
|
{
|
|
56
|
-
"id": "reasonix-vs-hagicode-section-
|
|
57
|
-
"title": "
|
|
125
|
+
"id": "reasonix-vs-hagicode-section-3",
|
|
126
|
+
"title": "Reasonix 的强项",
|
|
58
127
|
"blocks": [
|
|
59
128
|
{
|
|
60
|
-
"id": "reasonix-vs-hagicode-section-
|
|
61
|
-
"type": "rich-text",
|
|
62
|
-
"content": [
|
|
63
|
-
"Reasonix 更像是一个“讲究推理过程和执行约束”的 CLI,而不是追求最快响应的命令行助手。但只要任务开始跨越多个仓库、多个线程或长周期讨论,终端本身就不再够用。",
|
|
64
|
-
"HagiCode 补上的,是把这种“受控推理”变成长期工程工作流所必需的协调层和记忆层。"
|
|
65
|
-
]
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"id": "reasonix-vs-hagicode-section-2-capabilities",
|
|
129
|
+
"id": "reasonix-vs-hagicode-section-3-capabilities",
|
|
69
130
|
"type": "capability-list",
|
|
70
131
|
"items": [
|
|
71
132
|
{
|
|
72
|
-
"id": "reasonix-vs-hagicode-section-
|
|
73
|
-
"title": "
|
|
133
|
+
"id": "reasonix-vs-hagicode-section-3-item-1",
|
|
134
|
+
"title": "配置驱动,不绑定某一个模型",
|
|
74
135
|
"content": [
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"这样 Reasonix 就不再只是一个“慎重思考的单通道 CLI”,而是一个能同时推进多条推理轨道的工程工作面。"
|
|
78
|
-
],
|
|
79
|
-
"bullets": [
|
|
80
|
-
"线程 A 在完善后端 API 接口;",
|
|
81
|
-
"线程 B 在重构前端组件;",
|
|
82
|
-
"线程 C 在编写单元测试;",
|
|
83
|
-
"线程 D 在审查代码安全漏洞。"
|
|
136
|
+
"供应商、Agent、启用的工具和插件都写在 reasonix.toml 里。DeepSeek 是内置预设,任何 OpenAI 兼容端点都以配置而不是代码的方式添加。",
|
|
137
|
+
"还可以让一个执行模型和一个规划模型同时运行,各自使用缓存稳定的会话。"
|
|
84
138
|
]
|
|
85
139
|
},
|
|
86
140
|
{
|
|
87
|
-
"id": "reasonix-vs-hagicode-section-
|
|
88
|
-
"title": "
|
|
141
|
+
"id": "reasonix-vs-hagicode-section-3-item-2",
|
|
142
|
+
"title": "可调可撤的自主程度",
|
|
89
143
|
"content": [
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"对 Reasonix 来说,这种结构尤其重要,因为它不仅能记录最终方案,还能记录为什么当时选了某个模型引用或者执行风格。"
|
|
93
|
-
],
|
|
94
|
-
"bullets": [
|
|
95
|
-
"先写清楚这次要解决什么问题,为什么这样做是合理的;",
|
|
96
|
-
"在提案框架下与 Reasonix 深入讨论技术方案,所有对话和决策都记录在提案上下文里;",
|
|
97
|
-
"方案确定后,Reasonix 在提案的约束范围内进行代码实现;",
|
|
98
|
-
"最终提案文档、讨论记录和代码变更形成一条完整的追溯链。"
|
|
144
|
+
"权限级别让你选择每次都询问,还是让日常操作自动执行,你设的禁止规则始终生效。计划模式则要等你批准后才开始动手。",
|
|
145
|
+
"文件改动前会先保存,所以可以按对话轮次回退,而不动 git 历史。只覆盖编辑工具改过的文件,不包括 shell 命令的影响。"
|
|
99
146
|
]
|
|
100
147
|
},
|
|
101
148
|
{
|
|
102
|
-
"id": "reasonix-vs-hagicode-section-
|
|
103
|
-
"title": "
|
|
149
|
+
"id": "reasonix-vs-hagicode-section-3-item-3",
|
|
150
|
+
"title": "对缓存友好的上下文管理",
|
|
104
151
|
"content": [
|
|
105
|
-
"
|
|
106
|
-
"HagiCode 的 AI 提交功能把这件事整个人交给了 Reasonix:它会分析你的代码变更、理解改动的意图和影响范围,然后自动生成结构清晰、语义准确的 commit message。更关键的是,在 AI 提交的过程中,HagiCode 会自动锁定仓库,防止并发操作导致的状态冲突,确保提交安全可靠。",
|
|
107
|
-
"你把注意力留给创造,commit message 这种流水账交给 Reasonix 就好。"
|
|
152
|
+
"启动时注入一份小而稳定的环境摘要,过期的工具输出会在摘要压缩前被裁剪。项目把这称作缓存感知,对给缓存前缀打折的供应商尤其有用。"
|
|
108
153
|
]
|
|
109
154
|
},
|
|
110
155
|
{
|
|
111
|
-
"id": "reasonix-vs-hagicode-section-
|
|
112
|
-
"title": "
|
|
156
|
+
"id": "reasonix-vs-hagicode-section-3-item-4",
|
|
157
|
+
"title": "四种入口,同一个引擎",
|
|
113
158
|
"content": [
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"Code Server 集成让 HagiCode 不是一个“会分析代码的前台页面”,而是一个真正能让 Reasonix 的分析结论直接落地为编辑动作的完整工作站。它把“AI 分析”和“动手修改”之间的切换成本降到了最低。"
|
|
117
|
-
],
|
|
118
|
-
"bullets": [
|
|
119
|
-
"一键从分析进入编辑:Reasonix 在提案中定位到需要修改的文件后,HagiCode 可以直接在工作台内打开该文件进入编辑状态。",
|
|
120
|
-
"本地、容器、远程全覆盖:无论项目运行在何处,推理和编辑都可以尽量保持在同一个工作台里。",
|
|
121
|
-
"Vault 直连编辑:Reasonix 在复核或规划时引用到的资料和样例,也可以被直接打开查看。"
|
|
159
|
+
"终端、Studio 桌面应用、用 reasonix web 启动的浏览器界面,或通过 ACP 接入的编辑器,运行的都是同一个本地引擎。MCP 服务器和 Extension Protocol sidecar 可以添加工具、提示和事件。",
|
|
160
|
+
"Reasonix 有两条版本线:2.x(Studio,积极开发中)和 1.x(稳定,维护中)。安装时请留意选的是哪一条。"
|
|
122
161
|
]
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "reasonix-vs-hagicode-section-4",
|
|
169
|
+
"title": "什么时候选 Reasonix,什么时候选 HagiCode",
|
|
170
|
+
"blocks": [
|
|
171
|
+
{
|
|
172
|
+
"id": "reasonix-vs-hagicode-section-4-choose-agent",
|
|
173
|
+
"type": "bullet-list",
|
|
174
|
+
"items": [
|
|
175
|
+
"只用 Reasonix:你想要配置驱动的 Agent,搭配便宜或自选的模型,DeepSeek 是最容易的起点。",
|
|
176
|
+
"只用 Reasonix:你把权限级别、计划模式和按轮回退当作安全网。",
|
|
177
|
+
"只用 Reasonix:你的编辑器已经支持 ACP,想把 Agent 放进编辑器里。",
|
|
178
|
+
"只用 Reasonix:你一次只做一个任务,笔记自己管理。"
|
|
179
|
+
]
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "reasonix-vs-hagicode-section-4-choose-hagicode",
|
|
183
|
+
"type": "bullet-list",
|
|
184
|
+
"items": [
|
|
185
|
+
"选 HagiCode:你想同时运行多个 Reasonix 会话,每个会话有独立上下文和状态。",
|
|
186
|
+
"选 HagiCode:你希望每次改动都从书面提案开始,并以归档记录结束。",
|
|
187
|
+
"选 HagiCode:一个功能横跨多个仓库,你想一次声明清楚。",
|
|
188
|
+
"选 HagiCode:你想在会话旁边有 AI 生成的提交和浏览器编辑器。",
|
|
189
|
+
"选 HagiCode:你会在不同 Agent 间切换,想用同一个界面管理 Reasonix、Claude Code、Codex 等。"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "reasonix-vs-hagicode-section-4-not-a-fit",
|
|
194
|
+
"type": "callout",
|
|
195
|
+
"tone": "warning",
|
|
196
|
+
"title": "HagiCode 不适合 Reasonix 工作的几种情况",
|
|
197
|
+
"content": [
|
|
198
|
+
"脚本化的一次性运行和 CI:请直接调用 reasonix run。HagiCode 围绕交互式会话设计。",
|
|
199
|
+
"只想用终端:如果你不需要图形界面,HagiCode 只会在你和 Reasonix 之间多加一层。Reasonix Studio 本身就已是桌面应用。",
|
|
200
|
+
"HagiCode 通过 ACP(reasonix acp)与 CLI 通信,因此不会复现 Reasonix 自己的界面、回退和计划审批画面。提问只支持单选,没有自由文本回答。",
|
|
201
|
+
"需要先安装 Reasonix 并配置好供应商。免费版同时最多 3 个提案;不想引入提案流程的团队,会觉得它比单用 Reasonix 更重。"
|
|
202
|
+
]
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "reasonix-vs-hagicode-section-5",
|
|
208
|
+
"title": "把 Reasonix 和 HagiCode 一起用",
|
|
209
|
+
"blocks": [
|
|
210
|
+
{
|
|
211
|
+
"id": "reasonix-vs-hagicode-section-5-intro",
|
|
212
|
+
"type": "rich-text",
|
|
213
|
+
"content": [
|
|
214
|
+
"HagiCode 不会打包或替换 Reasonix。它会查找 reasonix 可执行文件、检测版本,并在每次运行时以 ACP 模式启动它,所以你的安装、供应商密钥和 reasonix.toml 都保持原样。",
|
|
215
|
+
"模型选择使用你 Reasonix 配置里已定义的引用;未定义的模型会让该轮失败并给出明确错误,而不是悄悄回退。"
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"id": "reasonix-vs-hagicode-section-5-steps",
|
|
220
|
+
"type": "bullet-list",
|
|
221
|
+
"items": [
|
|
222
|
+
"安装 Reasonix(例如 npm i -g reasonix,macOS 上也可用 brew install esengine/reasonix/reasonix),运行 reasonix setup 配置供应商和模型。",
|
|
223
|
+
"安装适用于 Windows、macOS 或 Linux 的 HagiCode Desktop。",
|
|
224
|
+
"在 HagiCode 里把 Reasonix 选为 Agent CLI,并填写在 Reasonix 配置里定义过的模型引用。",
|
|
225
|
+
"打开一个仓库,开始会话或提案。",
|
|
226
|
+
"输出和工具调用会流式显示在对话中;enableYolo 默认关闭,可在 HagiCode 的 Reasonix 设置里打开。",
|
|
227
|
+
"想回到原来的方式,直接在终端里照常运行 reasonix 即可。你的配置和会话不会被 HagiCode 锁定。"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "reasonix-vs-hagicode-section-5-notes",
|
|
232
|
+
"type": "callout",
|
|
233
|
+
"tone": "info",
|
|
234
|
+
"title": "Reasonix 在 HagiCode 里哪些能用",
|
|
235
|
+
"content": [
|
|
236
|
+
"可用:并行会话、提案、AI 提交、工具调用视图、版本检测与健康检查,以及每题一个答案的交互式提问。",
|
|
237
|
+
"不适用:Agent 工作面板仅支持 Claude;Reasonix 自己的回退和计划审批画面不会显示。"
|
|
238
|
+
]
|
|
239
|
+
}
|
|
240
|
+
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "reasonix-vs-hagicode-section-6",
|
|
244
|
+
"title": "HagiCode 在 Agent 之上增加了什么",
|
|
245
|
+
"blocks": [
|
|
246
|
+
{
|
|
247
|
+
"id": "reasonix-vs-hagicode-section-6-capabilities",
|
|
248
|
+
"type": "capability-list",
|
|
249
|
+
"items": [
|
|
165
250
|
{
|
|
166
|
-
"id": "reasonix-vs-hagicode-section-
|
|
167
|
-
"title": "
|
|
251
|
+
"id": "reasonix-vs-hagicode-section-6-item-1",
|
|
252
|
+
"title": "并行会话与 Agents 管理",
|
|
168
253
|
"content": [
|
|
169
|
-
"
|
|
170
|
-
"HagiCode 的 Monospecs 机制就是为多仓库场景而设计的结构化方案。它通过 .hagicode/monospecs.yaml 配置文件声明项目群中所有子仓库的地址、名称和关系,让 Reasonix 在启动提案时就能自动获得完整的跨仓库地图:",
|
|
171
|
-
"对于 Reasonix 这种强调推理质量的工具来说,只有先看清全局变更面,它的慎重思考才真正有工程价值。"
|
|
172
|
-
],
|
|
173
|
-
"bullets": [
|
|
174
|
-
"自动感知仓库关系:Reasonix 可以直接从 Monospecs 中读取 repo 图谱,而不是依赖人工重复 briefing。",
|
|
175
|
-
"跨仓库变更追踪:specs 保持集中,代码修改留在对应仓库,决策链条更清楚。",
|
|
176
|
-
"AI 提交精准识库:HagiCode 会结合 repo 地图自动判断提交归属。",
|
|
177
|
-
"每库可配 AGENTS.md:Reasonix 在跨仓库操作时自动读取相应规范。"
|
|
254
|
+
"HagiCode 里每次 Reasonix 运行都是独立会话,一个处理 bug,另一个做新功能。Agents 管理会显示每个会话的状态,不用开一排终端。"
|
|
178
255
|
]
|
|
179
256
|
},
|
|
180
257
|
{
|
|
181
|
-
"id": "reasonix-vs-hagicode-section-
|
|
182
|
-
"title": "
|
|
258
|
+
"id": "reasonix-vs-hagicode-section-6-item-2",
|
|
259
|
+
"title": "OpenSpec 提案",
|
|
183
260
|
"content": [
|
|
184
|
-
"Reasonix
|
|
185
|
-
"Vault 是 HagiCode 提供的跨项目持久化知识存储层,它的核心设计理念是“一次注册,处处复用”:",
|
|
186
|
-
"如果说 Monospecs 是让 Reasonix 看清项目地图,那 Vault 就是让 Reasonix 记住团队已经知道什么。受控推理只有叠加知识累积,才会变成真正的工程杠杆。"
|
|
187
|
-
],
|
|
188
|
-
"bullets": [
|
|
189
|
-
"多类型知识容器:把文件夹、代码参考库、Obsidian 笔记和系统托管资产统一纳入共享记忆层。",
|
|
190
|
-
"AI 上下文自动注入:新提案一启动,Reasonix 就能拿到合适背景材料。",
|
|
191
|
-
"访问权限精细化控制:区分只读参考库和可编辑工作区,让 AI 看得广、改得稳。",
|
|
192
|
-
"跨项目知识复用:一次沉淀的结论和参考资料,可以在后续提案里持续复用。"
|
|
261
|
+
"Reasonix 的计划模式是在单个会话里批准计划,HagiCode 的提出、校验、实施、归档流程则把这份计划留成长期记录。免费版同时最多 3 个提案。"
|
|
193
262
|
]
|
|
194
263
|
},
|
|
195
264
|
{
|
|
196
|
-
"id": "reasonix-vs-hagicode-section-
|
|
197
|
-
"title": "
|
|
265
|
+
"id": "reasonix-vs-hagicode-section-6-item-3",
|
|
266
|
+
"title": "AI 提交与 Code Server",
|
|
198
267
|
"content": [
|
|
199
|
-
"
|
|
200
|
-
"OmniRoute 把交互层和模型路由层拆开,让 HagiCode 可以继续把 Reasonix 放在工作流里,同时在底层灵活切换模型来源。",
|
|
201
|
-
"这样你就能同时获得更好的成本控制、更合适的任务匹配,以及模型供应变化时更低的迁移摩擦。"
|
|
202
|
-
],
|
|
203
|
-
"bullets": [
|
|
204
|
-
"保留你已经习惯的 CLI 或交互方式,只替换底层模型路由。",
|
|
205
|
-
"一套路由策略可以被多个 Agent 和多个接入 HagiCode 的 AI 工具共享。",
|
|
206
|
-
"针对快速实现、深度审查、架构规划等不同任务配置不同模型路线。",
|
|
207
|
-
"在路由层一次调整成本与能力配置,而不是逐个工作流重复折腾。"
|
|
268
|
+
"HagiCode 根据差异生成提交信息,并在提交期间锁定仓库。内置 Code Server 可在浏览器编辑器里打开 Reasonix 改过的文件。"
|
|
208
269
|
]
|
|
209
270
|
},
|
|
210
271
|
{
|
|
211
|
-
"id": "reasonix-vs-hagicode-section-
|
|
212
|
-
"title": "
|
|
272
|
+
"id": "reasonix-vs-hagicode-section-6-item-4",
|
|
273
|
+
"title": "Monospecs 与 Vault",
|
|
213
274
|
"content": [
|
|
214
|
-
"
|
|
215
|
-
"无论使用哪个提供方,工具调用都采用同一种格式。Reasonix CLI 的工具调用因此与工作区中其他 Agent 的调用保持一致,你无需分别适应每个 CLI 的原始输出。"
|
|
216
|
-
],
|
|
217
|
-
"bullets": [
|
|
218
|
-
"所有提供方共用一种结构,shell、文件、搜索、抓取与 MCP 调用的呈现方式保持一致;",
|
|
219
|
-
"失败的调用会附带可读的错误信息;",
|
|
220
|
-
"栅格格式的工具图片以 data URI 形式传递。"
|
|
275
|
+
"Monospecs 在一个文件里列出你的仓库,让 Reasonix 开始提案时就了解完整的改动范围。Vault 保存参考项目和笔记,新提案可拿来当上下文。"
|
|
221
276
|
]
|
|
222
277
|
},
|
|
223
278
|
{
|
|
224
|
-
"id": "reasonix-vs-hagicode-section-
|
|
225
|
-
"title": "
|
|
279
|
+
"id": "reasonix-vs-hagicode-section-6-item-5",
|
|
280
|
+
"title": "OmniRoute、工具调用视图与 TokenMonitor",
|
|
226
281
|
"content": [
|
|
227
|
-
"
|
|
228
|
-
"它会定时读取 TokenMonitor 的本地数据文件或 TokenMonitor HostHub,只保留今日的 Token 总量和费用。状态栏因此用于快速查看,而不是完整的用量报告。"
|
|
229
|
-
],
|
|
230
|
-
"bullets": [
|
|
231
|
-
"未开启集成前不会读取任何数据;",
|
|
232
|
-
"HostHub 密钥只写不读,保存后不会再返回或写入日志;",
|
|
233
|
-
"无效的 HostHub 地址会在保存时被拒绝。"
|
|
282
|
+
"Reasonix 本来就支持任何 OpenAI 兼容端点,所以 OmniRoute 可以作为又一条可选的路由。Reasonix 的工具调用与其他 Agent 使用同一种格式,状态栏里还可选显示 TokenMonitor 提供的今日 token 与费用。"
|
|
234
283
|
]
|
|
235
284
|
},
|
|
236
285
|
{
|
|
237
|
-
"id": "reasonix-vs-hagicode-section-
|
|
238
|
-
"title": "
|
|
286
|
+
"id": "reasonix-vs-hagicode-section-6-interactive-questions",
|
|
287
|
+
"title": "交互式提问",
|
|
239
288
|
"content": [
|
|
240
|
-
"
|
|
241
|
-
"如果运行已经结束,例如重启或超时之后,你的回答会作为普通消息发送到同一会话中,工作得以继续。"
|
|
289
|
+
"Reasonix 提问时,HagiCode 会在对话中显示,会话等待回复,你回答后同一次运行继续。每个问题只能选 Reasonix 给出的选项之一,每个回答都会和会话一起保存。"
|
|
242
290
|
],
|
|
243
291
|
"bullets": [
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
292
|
+
"同时提出的多个问题可以一次提交回答;",
|
|
293
|
+
"超过 30 分钟未回答的问题会过期,仍可通过后续消息回答;",
|
|
294
|
+
"由各 CLI 的交互控制设置决定是否启用。"
|
|
247
295
|
]
|
|
248
296
|
}
|
|
249
297
|
]
|
|
@@ -251,31 +299,46 @@
|
|
|
251
299
|
]
|
|
252
300
|
},
|
|
253
301
|
{
|
|
254
|
-
"id": "reasonix-vs-hagicode-section-
|
|
255
|
-
"title": "
|
|
302
|
+
"id": "reasonix-vs-hagicode-section-7",
|
|
303
|
+
"title": "结论",
|
|
256
304
|
"blocks": [
|
|
257
305
|
{
|
|
258
|
-
"id": "reasonix-vs-hagicode-section-
|
|
259
|
-
"type": "rich-text",
|
|
260
|
-
"content": [
|
|
261
|
-
"Reasonix CLI 是一个强调推理控制的 AI 编程入口,HagiCode 是一个完整的 AI 编程工作台。它们的关系是互补:",
|
|
262
|
-
"如果你已经在用 Reasonix,不妨试试把它接入 HagiCode——你会发现 Reasonix 不再只是一个纪律化的终端推理循环,而是一个运行在结构化开发环境中的全流程 AI 搭档。"
|
|
263
|
-
]
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"id": "reasonix-vs-hagicode-section-3-bullets",
|
|
306
|
+
"id": "reasonix-vs-hagicode-section-7-bullets",
|
|
267
307
|
"type": "bullet-list",
|
|
268
308
|
"items": [
|
|
269
|
-
"Reasonix
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"一目了然:可选的 TokenMonitor 状态栏显示今日 Token 用量与费用;",
|
|
274
|
-
"交互式提问:回答 Agent 的结构化问题,让同一次运行继续;",
|
|
275
|
-
"两者结合提供体验:可追溯的决策链、自动化的日常事务、让人愉悦的操作界面,以及一个真正了解你项目全景、可自由配置模型来源的长期 AI 搭档。"
|
|
309
|
+
"Reasonix 是免费、MIT 许可、配置驱动的 Agent;HagiCode 是运行它的工作台,并不替代它。",
|
|
310
|
+
"想要权限级别、回退和自选模型,又只需要轻量流程,只用 Reasonix 就够了。",
|
|
311
|
+
"需要并行会话、提案、提交辅助和多仓库上下文时,在同一个 Reasonix 安装之上加上 HagiCode。",
|
|
312
|
+
"你的 Reasonix 配置不受影响,可以放心试用 HagiCode,随时回到终端。"
|
|
276
313
|
]
|
|
277
314
|
}
|
|
278
315
|
]
|
|
279
316
|
}
|
|
317
|
+
],
|
|
318
|
+
"faq": [
|
|
319
|
+
{
|
|
320
|
+
"question": "Reasonix 免费吗?",
|
|
321
|
+
"answer": "Reasonix 采用 MIT 许可,可免费安装。你直接向模型供应商付费,成本取决于你配置的模型和供应商。最新信息请看 Reasonix 仓库。"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"question": "怎么安装 Reasonix?",
|
|
325
|
+
"answer": "任何系统运行 npm i -g reasonix,macOS 也可用 brew install esengine/reasonix/reasonix,然后运行 reasonix setup 选择模型。Studio 桌面应用和 2.x CLI 压缩包在 esengine/DeepSeek-Reasonix 的 GitHub releases 页面。"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"question": "Reasonix 只能用 DeepSeek 吗?",
|
|
329
|
+
"answer": "不是。DeepSeek 是内置预设,但任何 OpenAI 兼容服务都可以在 reasonix.toml 里作为一条配置加入。"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"question": "Reasonix 能和 HagiCode 一起用吗?",
|
|
333
|
+
"answer": "可以。HagiCode 支持把 Reasonix 作为 Agent CLI,并通过 reasonix acp 运行它。先安装 Reasonix 并配置好供应商,再在 HagiCode 里选择它。"
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"question": "HagiCode 会取代 Reasonix 吗?",
|
|
337
|
+
"answer": "不会。HagiCode 是围绕 Reasonix 的工作台,提供会话、提案、提交和历史记录。运行时需要先安装并配置好 Reasonix。"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"question": "Reasonix 和 HagiCode 该选哪个?",
|
|
341
|
+
"answer": "想要配置驱动、用自选模型、一次做一个任务,只用 Reasonix。想要并行会话、提案和可视化历史,就在它之上加 HagiCode。"
|
|
342
|
+
}
|
|
280
343
|
]
|
|
281
344
|
}
|
|
@@ -48,6 +48,19 @@ export interface StructuredArticleCalloutBlock {
|
|
|
48
48
|
title?: string;
|
|
49
49
|
content: string[];
|
|
50
50
|
}
|
|
51
|
+
export interface StructuredArticleComparisonTableRow {
|
|
52
|
+
id: string;
|
|
53
|
+
/** One entry per header, in header order. The first entry is the row label. */
|
|
54
|
+
cells: string[];
|
|
55
|
+
}
|
|
56
|
+
export interface StructuredArticleComparisonTableBlock {
|
|
57
|
+
id: string;
|
|
58
|
+
type: 'comparison-table';
|
|
59
|
+
caption?: string;
|
|
60
|
+
/** Column headers. The first one labels the row-label column. */
|
|
61
|
+
headers: string[];
|
|
62
|
+
rows: StructuredArticleComparisonTableRow[];
|
|
63
|
+
}
|
|
51
64
|
export interface StructuredArticleCtaGroupBlock {
|
|
52
65
|
id: string;
|
|
53
66
|
type: 'cta-group';
|
|
@@ -55,12 +68,16 @@ export interface StructuredArticleCtaGroupBlock {
|
|
|
55
68
|
variant?: 'primary' | 'secondary';
|
|
56
69
|
}>;
|
|
57
70
|
}
|
|
58
|
-
export type StructuredArticleBlock = StructuredArticleRichTextBlock | StructuredArticleBulletListBlock | StructuredArticleCapabilityListBlock | StructuredArticleComparisonGridBlock | StructuredArticleCalloutBlock | StructuredArticleCtaGroupBlock;
|
|
71
|
+
export type StructuredArticleBlock = StructuredArticleRichTextBlock | StructuredArticleBulletListBlock | StructuredArticleCapabilityListBlock | StructuredArticleComparisonGridBlock | StructuredArticleComparisonTableBlock | StructuredArticleCalloutBlock | StructuredArticleCtaGroupBlock;
|
|
59
72
|
export interface StructuredArticleSection {
|
|
60
73
|
id: string;
|
|
61
74
|
title: string;
|
|
62
75
|
blocks: StructuredArticleBlock[];
|
|
63
76
|
}
|
|
77
|
+
export interface StructuredArticleFaqItem {
|
|
78
|
+
question: string;
|
|
79
|
+
answer: string;
|
|
80
|
+
}
|
|
64
81
|
export interface StructuredArticleDetail {
|
|
65
82
|
schemaVersion: string;
|
|
66
83
|
slug: string;
|
|
@@ -70,6 +87,8 @@ export interface StructuredArticleDetail {
|
|
|
70
87
|
seo: StructuredArticleSeo;
|
|
71
88
|
summary: string;
|
|
72
89
|
sections: StructuredArticleSection[];
|
|
90
|
+
/** Visible FAQ entries; also emitted as FAQPage structured data by the consuming site. */
|
|
91
|
+
faq?: StructuredArticleFaqItem[];
|
|
73
92
|
cta?: {
|
|
74
93
|
primary?: StructuredArticleCtaLink;
|
|
75
94
|
secondary?: StructuredArticleCtaLink;
|