@dtt_siye/atool 1.2.0 → 1.2.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.
Files changed (2) hide show
  1. package/README.md +30 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,14 +1,18 @@
1
1
  # aTool - AI 开发者工具集
2
2
 
3
- [![Version](https://img.shields.io/badge/version-0.3.0-blue.svg)](VERSION)
3
+ [![npm version](https://img.shields.io/npm/v/@dtt_siye/atool.svg)](https://www.npmjs.com/package/@dtt_siye/atool)
4
4
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
5
5
  [![Shell](https://img.shields.io/badge/shell-bash-4EAA25.svg)](install.sh)
6
6
 
7
7
  > 一键配置 AI IDE 的 Skills、MCP Servers、Hooks 和项目规则。让任何水平的开发者,通过在 IDE 中正常聊天,就能获得资深架构师的判断力、高级工程师的代码质量标准、和技术文档专家的交付质量。
8
8
 
9
- **一条命令,30 秒完成配置:**
9
+ **两种安装方式,30 秒完成配置:**
10
10
 
11
11
  ```bash
12
+ # 方式一:npm 安装(推荐,全局可用)
13
+ npx @dtt_siye/atool
14
+
15
+ # 方式二:从源码安装
12
16
  git clone --recursive https://github.com/user/atool.git && cd atool
13
17
  ./install.sh --all --yes
14
18
  ```
@@ -36,6 +40,20 @@ git clone --recursive https://github.com/user/atool.git && cd atool
36
40
 
37
41
  ## 快速开始
38
42
 
43
+ ### npm 安装(推荐)
44
+
45
+ ```bash
46
+ # 一键安装到所有 IDE
47
+ npx @dtt_siye/atool
48
+
49
+ # 或全局安装后使用
50
+ npm install -g @dtt_siye/atool
51
+ atool # 安装到所有 IDE
52
+ atool --project ./my-app # 初始化项目
53
+ ```
54
+
55
+ ### 从源码安装
56
+
39
57
  ```bash
40
58
  # 1. 安装到所有 IDE
41
59
  ./install.sh --all --yes
@@ -161,14 +179,16 @@ Java/Spring, React/Next.js, Vue/Nuxt, Svelte, Python, Go, Rust/Tauri, Android, i
161
179
  ## 更新与卸载
162
180
 
163
181
  ```bash
164
- # 更新(一步式:拉取代码 + 自动重装变更组件)
165
- ./install.sh --update
166
-
167
- # 检查更新
168
- ./install.sh --check-updates
169
-
170
- # 卸载(动态扫描并移除所有 aTool 组件)
171
- ./install.sh --uninstall
182
+ # npm 方式
183
+ npm update -g @dtt_siye/atool # 更新
184
+ atool --all --yes # 重新安装
185
+ npm uninstall -g @dtt_siye/atool # 卸载 npm 包
186
+ atool --uninstall # 移除配置
187
+
188
+ # 源码方式
189
+ ./install.sh --update # 一步式更新
190
+ ./install.sh --check-updates # 检查更新
191
+ ./install.sh --uninstall # 移除配置
172
192
  ```
173
193
 
174
194
  更新策略:Skills 按内容 checksum 增量更新,Cursor/Kiro staging 按 checksum 比较,MCP 使用 JSON 深度合并,Hooks 按 MD5 校验。详见 [docs/09-architecture.md](docs/09-architecture.md)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dtt_siye/atool",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "AI Developer Toolkit - 一键配置 AI IDE 的工具集",
5
5
  "bin": {
6
6
  "atool": "bin/atool.js"