jishubuddy 0.2.9 → 0.3.0

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.
Files changed (3) hide show
  1. package/README.md +167 -33
  2. package/package.json +4 -4
  3. package/splash.png +0 -0
package/README.md CHANGED
@@ -1,21 +1,34 @@
1
1
  # JishuBuddy
2
2
 
3
- JishuBuddy 是一个本地高效运行、确定性优先的智能小伙伴。
3
+ > 面向 AI 硬件开发的编程 Agent<br>
4
+ > A coding agent for AI hardware development
4
5
 
5
- ![JishuBuddy](https://unpkg.com/jishubuddy@0.2.9/splash.png)
6
+ ![JishuBuddy](https://unpkg.com/jishubuddy@0.3.0/splash.png)
6
7
 
7
- ## 特性概览
8
+ **像使用 AI 助手一样简单,像专业工程工具一样深入。**
8
9
 
9
- - 自定义全屏 TUI:流式 Markdown、多行输入、会话管理、搜索和 Right Rail。
10
- - 模型与凭据:支持多种模型服务与凭据配置方式。
11
- - 工具:文件、Bash、MCP、Web Search、Remote SSH Bash 和有状态 Serial Connection。
12
- - 安全交互:Project Trust、危险 Bash 审核和受限 Plan 模式。
13
- - 记忆:支持长期记忆和可重建的 Session Search 索引。
14
- - 自动化:Headless 单轮执行、Deep Research 和本机 AG-UI Server。
15
- - 个性化:Profile 级 Personality 和用户维护的 SOUL.md。
16
- - TUI 与 AG-UI Server ready 后默认启用低频产品 Telemetry;TUI 还会异步提示可用更新。
10
+ **As easy as an AI assistant. As capable as a professional engineering tool.**
17
11
 
18
- ## 安装
12
+ JishuBuddy 是一款本地运行的编程 Agent,适用于开发板、机器人、具身智能
13
+ 设备和边缘计算设备。它提供仿真接入、模型部署、SSH、串口和真机调试能力。
14
+
15
+ JishuBuddy is an easy-to-use coding agent built for AI hardware development,
16
+ with simulation, deployment, SSH, serial, and on-device debugging workflows.
17
+
18
+ **代码 / Code**
19
+ 理解、开发、构建
20
+
21
+ **↓**
22
+
23
+ **仿真 / Simulation**
24
+ 运行、分析、验证
25
+
26
+ **↓**
27
+
28
+ **真机 / Device**
29
+ 连接、部署、调试
30
+
31
+ ## 安装 / Installation
19
32
 
20
33
  支持的平台:
21
34
 
@@ -23,7 +36,17 @@ JishuBuddy 是一个本地高效运行、确定性优先的智能小伙伴。
23
36
  - Apple Silicon macOS
24
37
  - Linux x64
25
38
 
26
- 需要 Node.js 22 或更高版本(npm 随 Node.js 一起安装)。
39
+ 需要 Node.js 22 或更高版本(npm 随 Node.js 一起安装)。普通用户不需要
40
+ 安装 Bun。
41
+
42
+ Supported platforms:
43
+
44
+ - Linux ARM64
45
+ - Apple Silicon macOS
46
+ - Linux x64
47
+
48
+ Node.js 22 or later is required. npm is included with Node.js. Bun is not
49
+ required for normal installation.
27
50
 
28
51
  从 npm 公共仓库安装:
29
52
 
@@ -31,48 +54,159 @@ JishuBuddy 是一个本地高效运行、确定性优先的智能小伙伴。
31
54
  npm install -g jishubuddy
32
55
  ```
33
56
 
34
- 此入口包会自动选择并安装与当前系统匹配的预编译原生平台包。
57
+ 入口包会自动选择并安装与当前系统匹配的预编译原生平台包。
58
+
59
+ The entry package automatically installs the prebuilt native package matching
60
+ the current system.
35
61
 
36
- 升级到最新版:
62
+ 启动:
37
63
 
38
64
  ```bash
39
- jishubuddy update
65
+ jishubuddy
40
66
  ```
41
67
 
42
- 该命令从 npm 公共仓库查询并安装稳定最新版;TUI 启动检查只提示,不会自动安装。
68
+ 首次启动后,使用 `/login` 配置凭据,再使用 `/model` 选择模型。
43
69
 
44
- 为获得完整且更快的文件补全和文本搜索,建议安装 `fd` 和 `ripgrep`。
70
+ After launching, run `/login` to configure credentials and `/model` to select
71
+ a model.
45
72
 
46
- Debian:
73
+ 升级到最新稳定版本:
47
74
 
48
75
  ```bash
49
- sudo apt install fd-find ripgrep
76
+ jishubuddy update
50
77
  ```
51
78
 
52
- macOS(Homebrew):
79
+ 该命令从 npm 公共仓库查询并安装稳定最新版。TUI 启动检查只提示,不会自动
80
+ 安装。
81
+
82
+ The command queries the public npm registry and installs the latest stable
83
+ release. The TUI only reports available updates.
84
+
85
+ 为获得完整且更快的文件补全和文本搜索,建议安装 `fd` 和 `ripgrep`。
53
86
 
54
87
  ```bash
88
+ # Debian
89
+ sudo apt install fd-find ripgrep
90
+
91
+ # macOS (Homebrew)
55
92
  brew install fd ripgrep
56
93
  ```
57
94
 
58
- ## 使用 TUI
59
-
60
- 启动终端界面:
95
+ ## 使用 / Usage
61
96
 
62
97
  ```bash
98
+ # 启动全屏 TUI
63
99
  jishubuddy
100
+
101
+ # 执行单轮任务
102
+ jishubuddy run -p "Analyze this AI hardware project"
103
+
104
+ # 启动 Deep Research
105
+ jishubuddy research "Research deployment options for this model"
106
+
107
+ # 启动 AG-UI Server
108
+ jishubuddy server
109
+ ```
110
+
111
+ 任务示例:
112
+
113
+ ```text
114
+ 启动项目的仿真环境,运行模型并分析结果。
115
+ 把模型部署到开发板,然后检查运行日志。
116
+ 持续观察串口输出,出现异常后分析原因。
117
+ 比较模型在仿真环境和真实设备上的运行结果。
118
+ ```
119
+
120
+ Example tasks:
121
+
122
+ ```text
123
+ Start the project simulator, run the model, and analyze the result.
124
+ Deploy the model to the development board and inspect the runtime logs.
125
+ Monitor the serial output and analyze the next failure.
126
+ Compare model behavior in simulation and on the physical device.
64
127
  ```
65
128
 
66
- 首次使用时,可输入 `/hotkeys` 查看快捷键,输入 `/help` 查看命令,输入 `/quit` 退出。通常需要
67
- 先使用 `/login` 配置凭据,再输入 `/model` 选择模型;随后输入问题并按 Enter 提交。
129
+ ## 核心能力 / Core Capabilities
130
+
131
+ ### 简单易用的编程 Agent
132
+
133
+ 理解和修改代码,运行命令,构建、测试并分析错误。
134
+
135
+ ### 从仿真到真机
136
+
137
+ 接入项目已有仿真器,并继续完成真机部署和验证。
138
+
139
+ ### 连接真实设备
140
+
141
+ 通过 SSH 操作 Linux 设备,通过有状态串口连接开发板。
142
+
143
+ ### 专业工具与长期上下文
144
+
145
+ 使用 Bash、MCP、Web Search 和 Deep Research,并积累项目、模型和设备
146
+ 信息。
147
+
148
+ ## 为 AI 硬件开发而增强 / Built for AI Hardware
149
+
150
+ 面向 AI 开发板、机器人、具身智能设备、边缘计算设备、智能摄像头、传感器
151
+ 终端和 AI 硬件原型,不绑定特定芯片或指令集。
68
152
 
69
- ## 隐私与许可
153
+ Built for development boards, robots, embodied AI systems, edge devices, smart
154
+ cameras, sensors, and AI hardware prototypes without locking the workflow to
155
+ one processor architecture.
70
156
 
71
- TUI 与 AG-UI Server 会把固定产品 ID、版本、SHA-256 假名设备指纹、OS/CPU、board/model 和
72
- activation/heartbeat 时间发送到 `https://aijishu.com/jishushell/check-update`。不发送 prompt、
73
- 回复、Session、凭据或文件路径;heartbeat 最多每四小时一次,状态保存在
74
- `<agentDir>/telemetry/state.json`。启动前设置
75
- `JISHUBUDDY_TELEMETRY_DISABLED=true` 或 `1` 可关闭。
157
+ ## 从仿真到真机 / Simulation to Hardware
158
+
159
+ 1. 理解项目、模型和设备目标
160
+ 2. 启动项目已有的仿真环境
161
+ 3. 运行模型或控制逻辑并分析结果
162
+ 4. 连接开发板或真实设备
163
+ 5. 部署模型并读取设备日志
164
+ 6. 比较仿真和真机结果
165
+ 7. 修改代码或配置并重新验证
166
+
167
+ 同一个 Agent 贯穿仿真验证、真机部署和现场调试。
168
+
169
+ The same agent session continues from simulation through deployment and
170
+ on-device debugging.
171
+
172
+ ## 完整能力 / Full Capabilities
173
+
174
+ | 能力 / Capability | 说明 / Description |
175
+ | --- | --- |
176
+ | Coding Agent | 代码理解、修改、构建、测试和错误分析 |
177
+ | Simulation | 调用项目已有仿真器、测试框架和命令行工具 |
178
+ | Model Deployment | 准备模型、检查环境、部署应用并验证结果 |
179
+ | SSH & Serial | 连接远程 Linux 设备和有状态串口会话 |
180
+ | Log Analysis | 联合分析代码、终端输出、串口日志和设备状态 |
181
+ | MCP & Web | 连接外部工具并搜索设备、芯片和模型资料 |
182
+ | Persistent Context | 积累项目、设备、模型和调试上下文 |
183
+ | Automation | 全屏 TUI、Headless、Deep Research 和 AG-UI |
184
+
185
+ ## 适用人群 / Who Is It For?
186
+
187
+ - 在开发板和边缘设备上部署与调试模型的 AI 硬件开发者
188
+ - 处理模型、控制程序、仿真器和真机的机器人与具身智能开发者
189
+ - 使用 SSH、串口、命令行和设备日志的嵌入式工程师
190
+ - 将模型从工作站迁移到真实设备的算法与模型工程师
191
+ - 开发 AI 硬件原型和产品化设备的团队
192
+
193
+ ## 模型与凭据 / Models and Credentials
194
+
195
+ 支持 API Key、GitHub Copilot 和 OpenAI-compatible providers。
196
+
197
+ Supports API keys, GitHub Copilot, and OpenAI-compatible providers.
198
+
199
+ ## 许可证 / License
200
+
201
+ JishuBuddy 使用
202
+ [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)。
203
+
204
+ JishuBuddy is licensed under the
205
+ [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
76
206
 
77
207
  Web Search 随包数据资产的来源、修改方式和许可证见
78
- [第三方许可与声明](https://unpkg.com/jishubuddy@0.2.9/THIRD_PARTY_NOTICES.md)。
208
+ [第三方许可与声明](https://unpkg.com/jishubuddy@0.3.0/THIRD_PARTY_NOTICES.md)。
209
+
210
+ For the sources, modifications, and licenses of the bundled Web Search data
211
+ assets, see the
212
+ [Third-Party Notices](https://unpkg.com/jishubuddy@0.3.0/THIRD_PARTY_NOTICES.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jishubuddy",
3
- "version": "0.2.9",
3
+ "version": "0.3.0",
4
4
  "description": "JishuBuddy",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -18,9 +18,9 @@
18
18
  "splash.png"
19
19
  ],
20
20
  "optionalDependencies": {
21
- "jishubuddy-linux-x64": "0.2.9",
22
- "jishubuddy-linux-arm64": "0.2.9",
23
- "jishubuddy-darwin-arm64": "0.2.9"
21
+ "jishubuddy-linux-x64": "0.3.0",
22
+ "jishubuddy-linux-arm64": "0.3.0",
23
+ "jishubuddy-darwin-arm64": "0.3.0"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public",
package/splash.png CHANGED
Binary file