@arrislink/axon 1.2.0 → 1.4.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.
- package/README.md +10 -9
- package/README.zh-CN.md +10 -9
- package/dist/index.js +49247 -48896
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,6 +19,7 @@ Axon is a unified AI-assisted development environment that solves context loss,
|
|
|
19
19
|
- **🤖 Agentic Execution**: **OpenCode** agents execute tasks one-by-one, ensuring context and quality.
|
|
20
20
|
- **♻️ Skill Reuse**: Automatically apply proven patterns (e.g., "Secure Auth") from your team's library.
|
|
21
21
|
- **📚 Document Integration**: Import PDF/Word/MD docs as context for AI to generate specs and code using `ax docs`.
|
|
22
|
+
- **🚀 Skill Orchestration**: Automatically detect tech stacks (React, Go, PHP) and suggest relevant expertise.
|
|
22
23
|
- **🛡️ Enterprise Safe**: Token budgeting, Git safety checks, and multi-provider failover via **OMO**.
|
|
23
24
|
|
|
24
25
|
## 🎯 Applicable Scenarios
|
|
@@ -82,15 +83,14 @@ ax init my-awesome-project
|
|
|
82
83
|
cd my-awesome-project
|
|
83
84
|
|
|
84
85
|
# Create specification interactively (or from docs)
|
|
85
|
-
ax docs add ./
|
|
86
|
-
ax spec init
|
|
86
|
+
ax docs add-dir ./docs # Scan and import all documents
|
|
87
|
+
ax spec init # AI uses imported docs to generate spec
|
|
88
|
+
ax spec analyze # Refine spec into professional PRD.md
|
|
87
89
|
|
|
88
90
|
# Generate task graph from spec
|
|
89
91
|
ax plan
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
ax work
|
|
93
|
-
|
|
92
|
+
...
|
|
93
|
+
...
|
|
94
94
|
# Check project status
|
|
95
95
|
ax status
|
|
96
96
|
```
|
|
@@ -132,15 +132,16 @@ graph LR
|
|
|
132
132
|
| `ax init [name]` | Initialize a new Axon project |
|
|
133
133
|
| `ax spec init` | Create project specification interactively |
|
|
134
134
|
| `ax spec edit` | Edit the existing specification |
|
|
135
|
-
| `ax spec
|
|
135
|
+
| `ax spec analyze` | Refine specification into professional PRD.md |
|
|
136
136
|
| `ax docs add <file>` | Import document (PDF, Word, MD) into project |
|
|
137
|
+
| `ax docs add-dir [dir]` | Import all documents in a directory (defaults to ./docs) |
|
|
137
138
|
| `ax docs list` | List and filter project documents |
|
|
138
139
|
| `ax docs search <q>` | Semantic search within documents |
|
|
139
|
-
| `ax plan` | Generate task graph from specification |
|
|
140
|
+
| `ax plan` | Generate task graph from specification (uses expert skills) |
|
|
140
141
|
| `ax work` | Execute the next task |
|
|
141
142
|
| `ax work --interactive` | Execute tasks in interactive mode |
|
|
142
143
|
| `ax skills search <query>` | Search for skill templates |
|
|
143
|
-
| `ax skills
|
|
144
|
+
| `ax skills install <name>` | Install/Symlink a skill to local project |
|
|
144
145
|
| `ax status` | View project progress |
|
|
145
146
|
| `ax doctor` | Diagnose environment issues |
|
|
146
147
|
|
package/README.zh-CN.md
CHANGED
|
@@ -19,6 +19,7 @@ Axon 是一个统一的 AI 辅助开发环境,解决 AI 编程中的上下文
|
|
|
19
19
|
- **🤖 代理执行**: **OpenCode** 智能体逐个执行任务,确保上下文完整和代码质量。
|
|
20
20
|
- **♻️ 技能复用**: 自动应用团队库中经过验证的模式 (如“安全认证”)。
|
|
21
21
|
- **📚 文档集成**: 导入 PDF/Word/MD 文档作为 AI 上下文,使用 `ax docs` 辅助生成规格和代码。
|
|
22
|
+
- **🚀 技能编排**: 自动检测技术栈(React, Go, PHP)并建议相关的专家技能。
|
|
22
23
|
- **🛡️ 企业级安全**: Token 预算控制、Git 安全检查以及通过 **OMO** 实现的多模型故障转移。
|
|
23
24
|
|
|
24
25
|
## 🎯 适用场景
|
|
@@ -82,15 +83,14 @@ ax init my-awesome-project
|
|
|
82
83
|
cd my-awesome-project
|
|
83
84
|
|
|
84
85
|
# 交互式创建规格(或从文档创建)
|
|
85
|
-
ax docs add ./
|
|
86
|
-
ax spec init
|
|
86
|
+
ax docs add-dir ./docs # 扫描并导入所有文档
|
|
87
|
+
ax spec init # AI 使用导入的文档生成规格
|
|
88
|
+
ax spec analyze # 将规格优化为专业 PRD.md
|
|
87
89
|
|
|
88
90
|
# 从规格生成任务图
|
|
89
91
|
ax plan
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
ax work
|
|
93
|
-
|
|
92
|
+
...
|
|
93
|
+
...
|
|
94
94
|
# 查看项目状态
|
|
95
95
|
ax status
|
|
96
96
|
```
|
|
@@ -131,15 +131,16 @@ graph LR
|
|
|
131
131
|
|------|------|
|
|
132
132
|
| `ax init [name]` | 初始化新的 Axon 项目 |
|
|
133
133
|
| `ax spec init` | 交互式创建项目规格 |
|
|
134
|
-
| `ax spec
|
|
134
|
+
| `ax spec analyze` | 将规格文档优化为专业 PRD.md |
|
|
135
135
|
| `ax docs add <file>` | 导入文档 (PDF, Word, MD) 到项目 |
|
|
136
|
+
| `ax docs add-dir [dir]` | 批量导入目录下所有文档 (默认为 ./docs) |
|
|
136
137
|
| `ax docs list` | 列出并过滤项目文档 |
|
|
137
138
|
| `ax docs search <q>` | 在文档中进行语义搜索 |
|
|
138
|
-
| `ax plan` | 从规格生成任务图 |
|
|
139
|
+
| `ax plan` | 从规格生成任务图 (使用专家技能) |
|
|
139
140
|
| `ax work` | 执行下一个任务 |
|
|
140
141
|
| `ax work --interactive` | 交互模式执行任务 |
|
|
141
142
|
| `ax skills search <query>` | 搜索技能模板 |
|
|
142
|
-
| `ax skills
|
|
143
|
+
| `ax skills install <name>` | 安装/链接技能到本地项目 |
|
|
143
144
|
| `ax status` | 查看项目进度 |
|
|
144
145
|
| `ax doctor` | 诊断环境问题 |
|
|
145
146
|
|