@arrislink/axon 1.0.8 → 1.1.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 +7 -2
- package/README.zh-CN.md +7 -2
- package/dist/index.js +28800 -348
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -18,6 +18,7 @@ Axon is a unified AI-assisted development environment that solves context loss,
|
|
|
18
18
|
- **🗺️ Bead Planning**: Complex features are broken into atomic, dependency-sorted tasks (Beads).
|
|
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
|
+
- **📚 Document Integration**: Import PDF/Word/MD docs as context for AI to generate specs and code using `ax docs`.
|
|
21
22
|
- **🛡️ Enterprise Safe**: Token budgeting, Git safety checks, and multi-provider failover via **OMO**.
|
|
22
23
|
|
|
23
24
|
## 🎯 Applicable Scenarios
|
|
@@ -80,8 +81,9 @@ ax --help
|
|
|
80
81
|
ax init my-awesome-project
|
|
81
82
|
cd my-awesome-project
|
|
82
83
|
|
|
83
|
-
# Create specification interactively
|
|
84
|
-
ax
|
|
84
|
+
# Create specification interactively (or from docs)
|
|
85
|
+
ax docs add ./requirements.docx # Optional: Import existing docs
|
|
86
|
+
ax spec init # AI uses imported docs to generate spec
|
|
85
87
|
|
|
86
88
|
# Generate task graph from spec
|
|
87
89
|
ax plan
|
|
@@ -131,6 +133,9 @@ graph LR
|
|
|
131
133
|
| `ax spec init` | Create project specification interactively |
|
|
132
134
|
| `ax spec edit` | Edit the existing specification |
|
|
133
135
|
| `ax spec show` | Display current specification |
|
|
136
|
+
| `ax docs add <file>` | Import document (PDF, Word, MD) into project |
|
|
137
|
+
| `ax docs list` | List and filter project documents |
|
|
138
|
+
| `ax docs search <q>` | Semantic search within documents |
|
|
134
139
|
| `ax plan` | Generate task graph from specification |
|
|
135
140
|
| `ax work` | Execute the next task |
|
|
136
141
|
| `ax work --interactive` | Execute tasks in interactive mode |
|
package/README.zh-CN.md
CHANGED
|
@@ -18,6 +18,7 @@ Axon 是一个统一的 AI 辅助开发环境,解决 AI 编程中的上下文
|
|
|
18
18
|
- **🗺️ 珠子规划**: 将复杂功能拆解为原子的、按依赖排序的任务 (Beads)。
|
|
19
19
|
- **🤖 代理执行**: **OpenCode** 智能体逐个执行任务,确保上下文完整和代码质量。
|
|
20
20
|
- **♻️ 技能复用**: 自动应用团队库中经过验证的模式 (如“安全认证”)。
|
|
21
|
+
- **📚 文档集成**: 导入 PDF/Word/MD 文档作为 AI 上下文,使用 `ax docs` 辅助生成规格和代码。
|
|
21
22
|
- **🛡️ 企业级安全**: Token 预算控制、Git 安全检查以及通过 **OMO** 实现的多模型故障转移。
|
|
22
23
|
|
|
23
24
|
## 🎯 适用场景
|
|
@@ -80,8 +81,9 @@ ax --help
|
|
|
80
81
|
ax init my-awesome-project
|
|
81
82
|
cd my-awesome-project
|
|
82
83
|
|
|
83
|
-
#
|
|
84
|
-
ax
|
|
84
|
+
# 交互式创建规格(或从文档创建)
|
|
85
|
+
ax docs add ./requirements.docx # 可选:导入现有文档
|
|
86
|
+
ax spec init # AI 使用导入的文档生成规格
|
|
85
87
|
|
|
86
88
|
# 从规格生成任务图
|
|
87
89
|
ax plan
|
|
@@ -130,6 +132,9 @@ graph LR
|
|
|
130
132
|
| `ax init [name]` | 初始化新的 Axon 项目 |
|
|
131
133
|
| `ax spec init` | 交互式创建项目规格 |
|
|
132
134
|
| `ax spec show` | 显示当前规格 |
|
|
135
|
+
| `ax docs add <file>` | 导入文档 (PDF, Word, MD) 到项目 |
|
|
136
|
+
| `ax docs list` | 列出并过滤项目文档 |
|
|
137
|
+
| `ax docs search <q>` | 在文档中进行语义搜索 |
|
|
133
138
|
| `ax plan` | 从规格生成任务图 |
|
|
134
139
|
| `ax work` | 执行下一个任务 |
|
|
135
140
|
| `ax work --interactive` | 交互模式执行任务 |
|