@arrislink/axon 1.0.0 → 1.0.2
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 +38 -14
- package/README.zh-CN.md +38 -14
- package/dist/ax +0 -0
- package/dist/index.js +14465 -33676
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -8,27 +8,52 @@
|
|
|
8
8
|
[](https://bun.sh)
|
|
9
9
|
[](https://www.typescriptlang.org)
|
|
10
10
|
|
|
11
|
-
Axon is a unified AI-assisted development environment that solves context loss, wheel reinvention, and planning chaos in AI-powered programming
|
|
11
|
+
Axon is a unified AI-assisted development environment that solves context loss, wheel reinvention, and planning chaos in AI-powered programming. **Powered by [OpenCode](https://github.com/anomalyco/opencode) and [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)**, Axon orchestrates these powerful tools through specification-driven development and task management.
|
|
12
12
|
|
|
13
|
-
## ✨
|
|
13
|
+
## ✨ Why Axon?
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
- **🤖
|
|
20
|
-
-
|
|
15
|
+
**Axon transforms AI from a "Code Autocompleter" into a "Development Partner".**
|
|
16
|
+
|
|
17
|
+
- **🧠 Spec-First**: Don't just chat. Define requirements in `spec.md` to keep the AI focused.
|
|
18
|
+
- **🗺️ Bead Planning**: Complex features are broken into atomic, dependency-sorted tasks (Beads).
|
|
19
|
+
- **🤖 Agentic Execution**: **OpenCode** agents execute tasks one-by-one, ensuring context and quality.
|
|
20
|
+
- **♻️ Skill Reuse**: Automatically apply proven patterns (e.g., "Secure Auth") from your team's library.
|
|
21
|
+
- **🛡️ Enterprise Safe**: Token budgeting, Git safety checks, and multi-provider failover via **OMO**.
|
|
22
|
+
|
|
23
|
+
## 🎯 Applicable Scenarios
|
|
24
|
+
|
|
25
|
+
Axon is best suited for:
|
|
26
|
+
|
|
27
|
+
- **Complex Feature Implementation**: When a feature requires multiple file changes and architectural consistency (e.g., "Add JWT Auth").
|
|
28
|
+
- **Greenfield Projects**: Starting a new project with clear requirements and strictly following a spec.
|
|
29
|
+
- **Large-Scale Refactoring**: Systematically updating code patterns across a codebase.
|
|
30
|
+
- **Team Standardization**: Enforcing consistent coding standards and capabilities across a team using shared Skill templates.
|
|
31
|
+
|
|
32
|
+
It is **NOT** designed for:
|
|
33
|
+
- Simple, one-line code completions (Use Copilot/Cursor).
|
|
34
|
+
- Real-time syntax error fixing (Use IDE linters).
|
|
35
|
+
|
|
36
|
+
## 🆚 Tool Comparison
|
|
37
|
+
|
|
38
|
+
| Feature | Axon | GitHub Copilot / Cursor | Aider / OpenDevin |
|
|
39
|
+
| :--- | :--- | :--- | :--- |
|
|
40
|
+
| **Core Philosophy** | **Plan-Execute-Verify** (Agentic) | **Autocomplete** (Assistive) | **Chat-to-Code** (Autonomous) |
|
|
41
|
+
| **Context Awareness** | **High** (Project-wide Spec + Graph) | **Medium** (Open Files + RAG) | **High** (Repo Map) |
|
|
42
|
+
| **Planning** | ✅ **Pre-execution Task Graph** | ❌ None (Streaming) | ⚠️ Implicit (Step-by-step) |
|
|
43
|
+
| **Human Control** | ✅ **High** (Review Plan & Spec) | ✅ High (Accept/Reject) | ⚠️ Application Dependent |
|
|
44
|
+
| **Cost Control** | ✅ **Token Budgeting & Tracking** | ❌ Subscription Based | ⚠️ Often Unbounded |
|
|
45
|
+
| **Knowledge Reuse** | ✅ **Skill Templates** (.skills) | ❌ None | ❌ None |
|
|
21
46
|
|
|
22
47
|
## 🚀 Quick Start
|
|
23
48
|
|
|
24
49
|
### Global Installation (Recommended)
|
|
25
50
|
|
|
26
51
|
```bash
|
|
27
|
-
# Install globally via npm
|
|
28
|
-
npm install -g axon
|
|
52
|
+
# Install globally via npm
|
|
53
|
+
npm install -g @arrislink/axon
|
|
29
54
|
|
|
30
55
|
# Or use with bunx
|
|
31
|
-
bunx axon init my-project
|
|
56
|
+
bunx @arrislink/axon init my-project
|
|
32
57
|
```
|
|
33
58
|
|
|
34
59
|
### Development Installation
|
|
@@ -220,9 +245,8 @@ bun run build:js
|
|
|
220
245
|
```
|
|
221
246
|
|
|
222
247
|
## 📖 Documentation
|
|
223
|
-
|
|
224
|
-
- [
|
|
225
|
-
- [API Documentation](./docs/api.md)
|
|
248
|
+
|
|
249
|
+
- [**User Guide**](./docs/GUIDE.md) - **Start Here** (Philosophy, Arch, Features, API)
|
|
226
250
|
- [Contributing Guide](./CONTRIBUTING.md)
|
|
227
251
|
- [Changelog](./CHANGELOG.md)
|
|
228
252
|
|
package/README.zh-CN.md
CHANGED
|
@@ -8,27 +8,52 @@
|
|
|
8
8
|
[](https://bun.sh)
|
|
9
9
|
[](https://www.typescriptlang.org)
|
|
10
10
|
|
|
11
|
-
Axon 是一个统一的 AI
|
|
11
|
+
Axon 是一个统一的 AI 辅助开发环境,解决 AI 编程中的上下文丢失、重复造轮子和规划失控问题。**由 [OpenCode](https://github.com/anomalyco/opencode) 和 [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) 驱动**,Axon 通过规格驱动开发和任务管理来编排这些强大的工具。
|
|
12
12
|
|
|
13
|
-
## ✨
|
|
13
|
+
## ✨ 为什么选择 Axon?
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
19
|
-
- **🤖
|
|
20
|
-
-
|
|
15
|
+
**Axon 将 AI 从“代码补全工具”转变为真正的“开发合作伙伴”。**
|
|
16
|
+
|
|
17
|
+
- **🧠 规格优先**: 拒绝随意对话。在 `spec.md` 中定义需求,让 AI 保持专注。
|
|
18
|
+
- **🗺️ 珠子规划**: 将复杂功能拆解为原子的、按依赖排序的任务 (Beads)。
|
|
19
|
+
- **🤖 代理执行**: **OpenCode** 智能体逐个执行任务,确保上下文完整和代码质量。
|
|
20
|
+
- **♻️ 技能复用**: 自动应用团队库中经过验证的模式 (如“安全认证”)。
|
|
21
|
+
- **🛡️ 企业级安全**: Token 预算控制、Git 安全检查以及通过 **OMO** 实现的多模型故障转移。
|
|
22
|
+
|
|
23
|
+
## 🎯 适用场景
|
|
24
|
+
|
|
25
|
+
Axon 最适合以下场景:
|
|
26
|
+
|
|
27
|
+
- **复杂功能实现**: 当功能需要修改多个文件并保持架构一致性时(例如“添加 JWT 认证”)。
|
|
28
|
+
- **绿地项目**: 启动一个需求清晰且严格遵循规格的新项目。
|
|
29
|
+
- **大规模重构**: 在代码库中系统地更新代码模式。
|
|
30
|
+
- **团队标准化**: 使用共享的技能模板在团队中强制执行一致的编码标准和能力。
|
|
31
|
+
|
|
32
|
+
它是与 **不适用** 于:
|
|
33
|
+
- 简单的单行代码补全(请使用 Copilot/Cursor)。
|
|
34
|
+
- 实时语法错误修复(请使用 IDE linter)。
|
|
35
|
+
|
|
36
|
+
## 🆚 工具对比
|
|
37
|
+
|
|
38
|
+
| 特性 | Axon | GitHub Copilot / Cursor | Aider / OpenDevin |
|
|
39
|
+
| :--- | :--- | :--- | :--- |
|
|
40
|
+
| **核心理念** | **规划-执行-验证** (代理式) | **自动补全** (辅助式) | **聊天即代码** (自主式) |
|
|
41
|
+
| **上下文感知** | **高** (全项目规格 + 任务图) | **中** (打开文件 + RAG) | **高** (仓库地图) |
|
|
42
|
+
| **规划能力** | ✅ **执行前任务图** | ❌ 无 (流式生成) | ⚠️ 隐式 (逐步进行) |
|
|
43
|
+
| **人类控制** | ✅ **高** (审查规划与规格) | ✅ 高 (接受/拒绝) | ⚠️ 依赖于具体应用 |
|
|
44
|
+
| **成本控制** | ✅ **Token 预算与追踪** | ❌ 基于订阅 | ⚠️ 通常无限制 |
|
|
45
|
+
| **知识复用** | ✅ **技能模板** (.skills) | ❌ 无 | ❌ 无 |
|
|
21
46
|
|
|
22
47
|
## 🚀 快速开始
|
|
23
48
|
|
|
24
49
|
### 全局安装(推荐)
|
|
25
50
|
|
|
26
51
|
```bash
|
|
27
|
-
# 通过 npm
|
|
28
|
-
npm install -g axon
|
|
52
|
+
# 通过 npm 全局安装
|
|
53
|
+
npm install -g @arrislink/axon
|
|
29
54
|
|
|
30
55
|
# 或使用 bunx
|
|
31
|
-
bunx axon init my-project
|
|
56
|
+
bunx @arrislink/axon init my-project
|
|
32
57
|
```
|
|
33
58
|
|
|
34
59
|
### 开发安装
|
|
@@ -220,9 +245,8 @@ bun run build:js
|
|
|
220
245
|
```
|
|
221
246
|
|
|
222
247
|
## 📖 文档
|
|
223
|
-
|
|
224
|
-
- [
|
|
225
|
-
- [API 文档](./docs/api.md)
|
|
248
|
+
|
|
249
|
+
- [**用户指南**](./docs/GUIDE.zh-CN.md) - **从这里开始** (设计理念, 架构, 功能, API)
|
|
226
250
|
- [贡献指南](./CONTRIBUTING.md)
|
|
227
251
|
- [更新日志](./CHANGELOG.md)
|
|
228
252
|
|
package/dist/ax
CHANGED
|
Binary file
|