@arrislink/axon 1.0.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/LICENSE +21 -0
- package/README.md +254 -0
- package/README.zh-CN.md +255 -0
- package/dist/ax +0 -0
- package/dist/index.js +45106 -0
- package/package.json +73 -0
- package/templates/config.yaml.template +47 -0
- package/templates/skills/api/rest-crud.md +240 -0
- package/templates/skills/auth/jwt.md +186 -0
- package/templates/skills/database/postgres-schema.md +161 -0
- package/templates/spec.md.template +79 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Axon Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
# Axon
|
|
2
|
+
|
|
3
|
+
> ๐ง AI-Powered Development Operating System
|
|
4
|
+
|
|
5
|
+
[ไธญๆๆๆกฃ](./README.zh-CN.md) | [Documentation](./docs) | [Contributing](./CONTRIBUTING.md)
|
|
6
|
+
|
|
7
|
+
[](./LICENSE)
|
|
8
|
+
[](https://bun.sh)
|
|
9
|
+
[](https://www.typescriptlang.org)
|
|
10
|
+
|
|
11
|
+
Axon is a unified AI-assisted development environment that solves context loss, wheel reinvention, and planning chaos in AI-powered programming through deep integration of specification-driven development, task management, and skill reuse.
|
|
12
|
+
|
|
13
|
+
## โจ Features
|
|
14
|
+
|
|
15
|
+
- **๐ Spec-Driven Development** - Define clear requirements before coding
|
|
16
|
+
- **๐ Task Traceability** - Every line of code maps to a specific task bead
|
|
17
|
+
- **๐ฏ Knowledge Reuse** - Automatically match and apply validated skill templates
|
|
18
|
+
- **๐ฐ Cost Control** - Smart token usage tracking to prevent overspending
|
|
19
|
+
- **๐ค Multi-Provider Support** - Integrate with OMO for 75+ LLM providers (Anthropic, OpenAI, Antigravity, etc.)
|
|
20
|
+
- **๐ญ Agent Orchestration** - Multiple AI agents collaborate intelligently
|
|
21
|
+
|
|
22
|
+
## ๐ Quick Start
|
|
23
|
+
|
|
24
|
+
### Global Installation (Recommended)
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Install globally via npm (coming soon)
|
|
28
|
+
npm install -g axon
|
|
29
|
+
|
|
30
|
+
# Or use with bunx
|
|
31
|
+
bunx axon init my-project
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### Development Installation
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Clone the repository
|
|
38
|
+
git clone https://github.com/arrislink/axon.git
|
|
39
|
+
cd axon
|
|
40
|
+
|
|
41
|
+
# Install dependencies
|
|
42
|
+
bun install
|
|
43
|
+
|
|
44
|
+
# Link locally for global access
|
|
45
|
+
npm link
|
|
46
|
+
|
|
47
|
+
# Verify installation
|
|
48
|
+
ax --help
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Initialize Your First Project
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# Create a new project
|
|
55
|
+
ax init my-awesome-project
|
|
56
|
+
cd my-awesome-project
|
|
57
|
+
|
|
58
|
+
# Create specification interactively
|
|
59
|
+
ax spec init
|
|
60
|
+
|
|
61
|
+
# Generate task graph from spec
|
|
62
|
+
ax plan
|
|
63
|
+
|
|
64
|
+
# Start working on tasks
|
|
65
|
+
ax work
|
|
66
|
+
|
|
67
|
+
# Check project status
|
|
68
|
+
ax status
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## ๐ Core Concepts
|
|
72
|
+
|
|
73
|
+
### Workflow
|
|
74
|
+
|
|
75
|
+
```mermaid
|
|
76
|
+
graph LR
|
|
77
|
+
A[Spec Definition] --> B[Task Planning]
|
|
78
|
+
B --> C[Skill Matching]
|
|
79
|
+
C --> D[AI Execution]
|
|
80
|
+
D --> E[Cost Tracking]
|
|
81
|
+
E --> F[Progress Review]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Directory Structure
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
.axon/
|
|
88
|
+
โโโ config.yaml # Project configuration
|
|
89
|
+
โโโ logs/ # Execution logs
|
|
90
|
+
|
|
91
|
+
.openspec/
|
|
92
|
+
โโโ spec.md # Project specification
|
|
93
|
+
|
|
94
|
+
.beads/
|
|
95
|
+
โโโ graph.json # Task dependency graph
|
|
96
|
+
|
|
97
|
+
.skills/
|
|
98
|
+
โโโ local/ # Project-specific skills
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## ๐ ๏ธ Commands
|
|
102
|
+
|
|
103
|
+
| Command | Description |
|
|
104
|
+
|---------|-------------|
|
|
105
|
+
| `ax init [name]` | Initialize a new Axon project |
|
|
106
|
+
| `ax spec init` | Create project specification interactively |
|
|
107
|
+
| `ax spec show` | Display current specification |
|
|
108
|
+
| `ax plan` | Generate task graph from specification |
|
|
109
|
+
| `ax work` | Execute the next task |
|
|
110
|
+
| `ax work --interactive` | Execute tasks in interactive mode |
|
|
111
|
+
| `ax skills search <query>` | Search for skill templates |
|
|
112
|
+
| `ax skills add <path>` | Add a new skill template |
|
|
113
|
+
| `ax status` | View project progress |
|
|
114
|
+
| `ax doctor` | Diagnose environment issues |
|
|
115
|
+
|
|
116
|
+
## โ๏ธ Configuration
|
|
117
|
+
|
|
118
|
+
### LLM Provider Configuration
|
|
119
|
+
|
|
120
|
+
Axon integrates with [OhMyOpenCode (OMO)](https://github.com/code-yeongyu/oh-my-opencode) for seamless multi-provider support:
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# Configure OMO (optional for enhanced features)
|
|
124
|
+
bunx oh-my-opencode install
|
|
125
|
+
omo config set-provider antigravity
|
|
126
|
+
|
|
127
|
+
# Axon automatically detects and uses OMO configuration
|
|
128
|
+
ax plan # Uses configured provider
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Provider Priority:**
|
|
132
|
+
1. **CLI Mode** - Uses OpenCode CLI (inherits full OMO capabilities)
|
|
133
|
+
2. **Direct Mode** - Reads OMO config, calls APIs directly
|
|
134
|
+
3. **Fallback Mode** - Uses `ANTHROPIC_API_KEY` environment variable
|
|
135
|
+
|
|
136
|
+
### Environment Variables
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Required (fallback mode)
|
|
140
|
+
ANTHROPIC_API_KEY=sk-ant-...
|
|
141
|
+
|
|
142
|
+
# Optional (additional providers)
|
|
143
|
+
OPENAI_API_KEY=sk-...
|
|
144
|
+
GOOGLE_API_KEY=...
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Project Configuration
|
|
148
|
+
|
|
149
|
+
Edit `.axon/config.yaml`:
|
|
150
|
+
|
|
151
|
+
```yaml
|
|
152
|
+
version: "1.0"
|
|
153
|
+
|
|
154
|
+
project:
|
|
155
|
+
name: "my-project"
|
|
156
|
+
description: "Project description"
|
|
157
|
+
|
|
158
|
+
agents:
|
|
159
|
+
sisyphus:
|
|
160
|
+
model: "claude-sonnet-4-20250514"
|
|
161
|
+
provider: "anthropic"
|
|
162
|
+
temperature: 0.7
|
|
163
|
+
max_tokens: 8000
|
|
164
|
+
|
|
165
|
+
safety:
|
|
166
|
+
daily_token_limit: 1000000
|
|
167
|
+
cost_alert_threshold: 10.0
|
|
168
|
+
auto_pause_on_error: true
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## ๐๏ธ Architecture
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
175
|
+
โ Axon (Orchestration Layer) โ
|
|
176
|
+
โ โโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโ โ
|
|
177
|
+
โ โ init โ spec โ plan โ work โ โ
|
|
178
|
+
โ โโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโ โ
|
|
179
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
180
|
+
โ
|
|
181
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
182
|
+
โ Unified LLM Interface (LLMClient) โ
|
|
183
|
+
โ Auto-detects and uses OMO Provider System โ
|
|
184
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
185
|
+
โ
|
|
186
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
187
|
+
โ OhMyOpenCode Provider System (Optional) โ
|
|
188
|
+
โ โโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโ โ
|
|
189
|
+
โ โAnthropic โAntigrav โ OpenAI โ Google โ โ
|
|
190
|
+
โ โโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโ โ
|
|
191
|
+
โ โข Unified config (~/.omo/providers.yaml) โ
|
|
192
|
+
โ โข Auto failover โ
|
|
193
|
+
โ โข Cost optimization โ
|
|
194
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## ๐งช Development
|
|
198
|
+
|
|
199
|
+
### Running Tests
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
# Run all tests
|
|
203
|
+
bun test
|
|
204
|
+
|
|
205
|
+
# Type checking
|
|
206
|
+
bun run type-check
|
|
207
|
+
|
|
208
|
+
# Linting and formatting
|
|
209
|
+
bun run lint
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Building
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
# Build compiled binary
|
|
216
|
+
bun run build
|
|
217
|
+
|
|
218
|
+
# Build JavaScript output
|
|
219
|
+
bun run build:js
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## ๐ Documentation
|
|
223
|
+
|
|
224
|
+
- [Product Requirements (PRD)](./PRD.md)
|
|
225
|
+
- [API Documentation](./docs/api.md)
|
|
226
|
+
- [Contributing Guide](./CONTRIBUTING.md)
|
|
227
|
+
- [Changelog](./CHANGELOG.md)
|
|
228
|
+
|
|
229
|
+
## ๐ค Contributing
|
|
230
|
+
|
|
231
|
+
Contributions are welcome! Please read our [Contributing Guide](./CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.
|
|
232
|
+
|
|
233
|
+
## ๐ License
|
|
234
|
+
|
|
235
|
+
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
|
|
236
|
+
|
|
237
|
+
## ๐ Acknowledgments
|
|
238
|
+
|
|
239
|
+
- [OpenSpec](https://github.com/Fission-AI/OpenSpec) - Specification format
|
|
240
|
+
- [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) - Multi-provider LLM integration
|
|
241
|
+
- [OpenCode](https://github.com/anomalyco/opencode) - AI coding agent core
|
|
242
|
+
- [FindSkills](https://skills.sh/) - Skill discovery and management
|
|
243
|
+
- [Beads](https://github.com/steveyegge/beads) - Distributed task graph system
|
|
244
|
+
- [Anthropic](https://anthropic.com) - Claude AI models
|
|
245
|
+
- [Bun](https://bun.sh) - Fast all-in-one JavaScript runtime
|
|
246
|
+
|
|
247
|
+
## ๐ฎ Support
|
|
248
|
+
|
|
249
|
+
- ๐ง Email: gocoder@hotmail.com
|
|
250
|
+
- ๐ Issues: [GitHub Issues](https://github.com/arrislink/axon/issues)
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
Made with ๐ง by the Axon Team
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
# Axon
|
|
2
|
+
|
|
3
|
+
> ๐ง AI ้ฉฑๅจ็ๅผๅๆไฝ็ณป็ป
|
|
4
|
+
|
|
5
|
+
[English](./README.md) | [ๆๆกฃ](./docs) | [่ดก็ฎๆๅ](./CONTRIBUTING.md)
|
|
6
|
+
|
|
7
|
+
[](./LICENSE)
|
|
8
|
+
[](https://bun.sh)
|
|
9
|
+
[](https://www.typescriptlang.org)
|
|
10
|
+
|
|
11
|
+
Axon ๆฏไธไธช็ปไธ็ AI ่พ
ๅฉๅผๅ็ฏๅข๏ผ้่ฟๆทฑๅบฆ้ๆ่งๆ ผ้ฉฑๅจๅผๅใไปปๅก็ฎก็ๅๆ่ฝๅค็จ๏ผ่งฃๅณ AI ็ผ็จไธญ็ไธไธๆไธขๅคฑใ้ๅค้ ่ฝฎๅญๅ่งๅๅคฑๆง้ฎ้ขใ
|
|
12
|
+
|
|
13
|
+
## โจ ๆ ธๅฟ็นๆง
|
|
14
|
+
|
|
15
|
+
- **๐ ่งๆ ผ้ฉฑๅจๅผๅ** - ๅ
ๅฎไนๆธ
ๆฐ้ๆฑ๏ผๅ็ผ็
|
|
16
|
+
- **๐ ไปปๅกๅฏ่ฟฝๆบฏๆง** - ๆฏ่กไปฃ็ ๅฏนๅบๆ็กฎ็ไปปๅก็ ๅญ
|
|
17
|
+
- **๐ฏ ็ฅ่ฏๅค็จ** - ่ชๅจๅน้
ๅนถๅบ็จๅทฒ้ช่ฏ็ๆ่ฝๆจกๆฟ
|
|
18
|
+
- **๐ฐ ๆๆฌๆงๅถ** - ๆบ่ฝ่ฟฝ่ธช token ๆถ่๏ผ้ฟๅ
่ถ
ๆฏ
|
|
19
|
+
- **๐ค ๅคๆไพๅๆฏๆ** - ้ๆ OMO๏ผๆฏๆ 75+ LLM ๆไพๅ๏ผAnthropicใOpenAIใAntigravity ็ญ๏ผ
|
|
20
|
+
- **๐ญ Agent ็ผๆ** - ๅคไธช AI ไปฃ็ๆบ่ฝๅไฝ
|
|
21
|
+
|
|
22
|
+
## ๐ ๅฟซ้ๅผๅง
|
|
23
|
+
|
|
24
|
+
### ๅ
จๅฑๅฎ่ฃ
๏ผๆจ่๏ผ
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# ้่ฟ npm ๅ
จๅฑๅฎ่ฃ
๏ผๅณๅฐๆจๅบ๏ผ
|
|
28
|
+
npm install -g axon
|
|
29
|
+
|
|
30
|
+
# ๆไฝฟ็จ bunx
|
|
31
|
+
bunx axon init my-project
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### ๅผๅๅฎ่ฃ
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# ๅ
้ไปๅบ
|
|
38
|
+
git clone https://github.com/arrislink/axon.git
|
|
39
|
+
cd axon
|
|
40
|
+
|
|
41
|
+
# ๅฎ่ฃ
ไพ่ต
|
|
42
|
+
bun install
|
|
43
|
+
|
|
44
|
+
# ๆฌๅฐ้พๆฅไปฅ่ฟ่กๅ
จๅฑ่ฎฟ้ฎ
|
|
45
|
+
npm link
|
|
46
|
+
|
|
47
|
+
# ้ช่ฏๅฎ่ฃ
|
|
48
|
+
ax --help
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### ๅๅงๅไฝ ็็ฌฌไธไธช้กน็ฎ
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
# ๅๅปบๆฐ้กน็ฎ
|
|
55
|
+
ax init my-awesome-project
|
|
56
|
+
cd my-awesome-project
|
|
57
|
+
|
|
58
|
+
# ไบคไบๅผๅๅปบ่งๆ ผ
|
|
59
|
+
ax spec init
|
|
60
|
+
|
|
61
|
+
# ไป่งๆ ผ็ๆไปปๅกๅพ
|
|
62
|
+
ax plan
|
|
63
|
+
|
|
64
|
+
# ๅผๅงๆง่กไปปๅก
|
|
65
|
+
ax work
|
|
66
|
+
|
|
67
|
+
# ๆฅ็้กน็ฎ็ถๆ
|
|
68
|
+
ax status
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## ๐ ๆ ธๅฟๆฆๅฟต
|
|
72
|
+
|
|
73
|
+
### ๅทฅไฝๆต
|
|
74
|
+
|
|
75
|
+
```mermaid
|
|
76
|
+
graph LR
|
|
77
|
+
A[่งๆ ผๅฎไน] --> B[ไปปๅก่งๅ]
|
|
78
|
+
B --> C[ๆ่ฝๅน้
]
|
|
79
|
+
C --> D[AI ๆง่ก]
|
|
80
|
+
D --> E[ๆๆฌ่ฟฝ่ธช]
|
|
81
|
+
E --> F[่ฟๅบฆๅฎก้
]
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### ็ฎๅฝ็ปๆ
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
.axon/
|
|
88
|
+
โโโ config.yaml # ้กน็ฎ้
็ฝฎ
|
|
89
|
+
โโโ logs/ # ๆง่กๆฅๅฟ
|
|
90
|
+
|
|
91
|
+
.openspec/
|
|
92
|
+
โโโ spec.md # ้กน็ฎ่งๆ ผ
|
|
93
|
+
|
|
94
|
+
.beads/
|
|
95
|
+
โโโ graph.json # ไปปๅกไพ่ตๅพ
|
|
96
|
+
|
|
97
|
+
.skills/
|
|
98
|
+
โโโ local/ # ้กน็ฎ็นๅฎๆ่ฝ
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## ๐ ๏ธ ๅฝไปค
|
|
102
|
+
|
|
103
|
+
| ๅฝไปค | ๆ่ฟฐ |
|
|
104
|
+
|------|------|
|
|
105
|
+
| `ax init [name]` | ๅๅงๅๆฐ็ Axon ้กน็ฎ |
|
|
106
|
+
| `ax spec init` | ไบคไบๅผๅๅปบ้กน็ฎ่งๆ ผ |
|
|
107
|
+
| `ax spec show` | ๆพ็คบๅฝๅ่งๆ ผ |
|
|
108
|
+
| `ax plan` | ไป่งๆ ผ็ๆไปปๅกๅพ |
|
|
109
|
+
| `ax work` | ๆง่กไธไธไธชไปปๅก |
|
|
110
|
+
| `ax work --interactive` | ไบคไบๆจกๅผๆง่กไปปๅก |
|
|
111
|
+
| `ax skills search <query>` | ๆ็ดขๆ่ฝๆจกๆฟ |
|
|
112
|
+
| `ax skills add <path>` | ๆทปๅ ๆฐๆ่ฝๆจกๆฟ |
|
|
113
|
+
| `ax status` | ๆฅ็้กน็ฎ่ฟๅบฆ |
|
|
114
|
+
| `ax doctor` | ่ฏๆญ็ฏๅข้ฎ้ข |
|
|
115
|
+
|
|
116
|
+
## โ๏ธ ้
็ฝฎ
|
|
117
|
+
|
|
118
|
+
### LLM ๆไพๅ้
็ฝฎ
|
|
119
|
+
|
|
120
|
+
Axon ไธ [OhMyOpenCode (OMO)](https://github.com/code-yeongyu/oh-my-opencode) ้ๆ๏ผๅฎ็ฐๆ ็ผ็ๅคๆไพๅๆฏๆ๏ผ
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# ้
็ฝฎ OMO๏ผๅฏ้๏ผ็จไบๅขๅผบๅ่ฝ๏ผ
|
|
124
|
+
bunx oh-my-opencode install
|
|
125
|
+
omo config set-provider antigravity
|
|
126
|
+
|
|
127
|
+
# Axon ่ชๅจๆฃๆตๅนถไฝฟ็จ OMO ้
็ฝฎ
|
|
128
|
+
ax plan # ไฝฟ็จ้
็ฝฎ็ๆไพๅ
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**ๆไพๅไผๅ
็บง:**
|
|
132
|
+
1. **CLI ๆจกๅผ** - ไฝฟ็จ OpenCode CLI๏ผ็ปงๆฟ OMO ๅ
จ้จ่ฝๅ๏ผ
|
|
133
|
+
2. **็ดๆฅๆจกๅผ** - ่ฏปๅ OMO ้
็ฝฎ๏ผ็ดๆฅ่ฐ็จ API
|
|
134
|
+
3. **ๅ้ๆจกๅผ** - ไฝฟ็จ `ANTHROPIC_API_KEY` ็ฏๅขๅ้
|
|
135
|
+
|
|
136
|
+
### ็ฏๅขๅ้
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# ๅฟ
้๏ผๅ้ๆจกๅผ๏ผ
|
|
140
|
+
ANTHROPIC_API_KEY=sk-ant-...
|
|
141
|
+
|
|
142
|
+
# ๅฏ้๏ผๅ
ถไปๆไพๅ๏ผ
|
|
143
|
+
OPENAI_API_KEY=sk-...
|
|
144
|
+
GOOGLE_API_KEY=...
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### ้กน็ฎ้
็ฝฎ
|
|
148
|
+
|
|
149
|
+
็ผ่พ `.axon/config.yaml`:
|
|
150
|
+
|
|
151
|
+
```yaml
|
|
152
|
+
version: "1.0"
|
|
153
|
+
|
|
154
|
+
project:
|
|
155
|
+
name: "my-project"
|
|
156
|
+
description: "้กน็ฎๆ่ฟฐ"
|
|
157
|
+
|
|
158
|
+
agents:
|
|
159
|
+
sisyphus:
|
|
160
|
+
model: "claude-sonnet-4-20250514"
|
|
161
|
+
provider: "anthropic"
|
|
162
|
+
temperature: 0.7
|
|
163
|
+
max_tokens: 8000
|
|
164
|
+
|
|
165
|
+
safety:
|
|
166
|
+
daily_token_limit: 1000000
|
|
167
|
+
cost_alert_threshold: 10.0
|
|
168
|
+
auto_pause_on_error: true
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
## ๐๏ธ ๆถๆ
|
|
172
|
+
|
|
173
|
+
```
|
|
174
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
175
|
+
โ Axon (็ผๆๅฑ) โ
|
|
176
|
+
โ โโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโ โ
|
|
177
|
+
โ โ init โ spec โ plan โ work โ โ
|
|
178
|
+
โ โโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโ โ
|
|
179
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
180
|
+
โ
|
|
181
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
182
|
+
โ ็ปไธ LLM ๆฅๅฃ (LLMClient) โ
|
|
183
|
+
โ ่ชๅจๆฃๆตๅนถไฝฟ็จ OMO Provider ็ณป็ป โ
|
|
184
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
185
|
+
โ
|
|
186
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
187
|
+
โ OhMyOpenCode Provider ็ณป็ป (ๅฏ้) โ
|
|
188
|
+
โ โโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโฌโโโโโโโโโโโ โ
|
|
189
|
+
โ โAnthropic โAntigrav โ OpenAI โ Google โ โ
|
|
190
|
+
โ โโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโดโโโโโโโโโโโ โ
|
|
191
|
+
โ โข ็ปไธ้
็ฝฎ (~/.omo/providers.yaml) โ
|
|
192
|
+
โ โข ่ชๅจ failover โ
|
|
193
|
+
โ โข ๆๆฌไผๅ โ
|
|
194
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## ๐งช ๅผๅ
|
|
198
|
+
|
|
199
|
+
### ่ฟ่กๆต่ฏ
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
# ่ฟ่กๆๆๆต่ฏ
|
|
203
|
+
bun test
|
|
204
|
+
|
|
205
|
+
# ็ฑปๅๆฃๆฅ
|
|
206
|
+
bun run type-check
|
|
207
|
+
|
|
208
|
+
# ไปฃ็ ๆฃๆฅๅๆ ผๅผๅ
|
|
209
|
+
bun run lint
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### ๆๅปบ
|
|
213
|
+
|
|
214
|
+
```bash
|
|
215
|
+
# ๆๅปบ็ผ่ฏๅ็ไบ่ฟๅถๆไปถ
|
|
216
|
+
bun run build
|
|
217
|
+
|
|
218
|
+
# ๆๅปบ JavaScript ่พๅบ
|
|
219
|
+
bun run build:js
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## ๐ ๆๆกฃ
|
|
223
|
+
|
|
224
|
+
- [ไบงๅ้ๆฑๆๆกฃ (PRD)](./PRD.md)
|
|
225
|
+
- [API ๆๆกฃ](./docs/api.md)
|
|
226
|
+
- [่ดก็ฎๆๅ](./CONTRIBUTING.md)
|
|
227
|
+
- [ๆดๆฐๆฅๅฟ](./CHANGELOG.md)
|
|
228
|
+
|
|
229
|
+
## ๐ค ่ดก็ฎ
|
|
230
|
+
|
|
231
|
+
ๆฌข่ฟ่ดก็ฎ๏ผ่ฏฆๆ
่ฏท้
่ฏปๆไปฌ็[่ดก็ฎๆๅ](./CONTRIBUTING.md)๏ผไบ่งฃ่กไธบๅๅๅๆไบค PR ็ๆต็จใ
|
|
232
|
+
|
|
233
|
+
## ๐ ่ฎธๅฏ่ฏ
|
|
234
|
+
|
|
235
|
+
ๆฌ้กน็ฎ้็จ MIT ่ฎธๅฏ่ฏ - ่ฏฆ่ง [LICENSE](./LICENSE) ๆไปถใ
|
|
236
|
+
|
|
237
|
+
## ๐ ่ด่ฐข
|
|
238
|
+
|
|
239
|
+
- [OpenSpec](https://github.com/Fission-AI/OpenSpec) - ่งๆ ผๆ ผๅผ
|
|
240
|
+
- [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) - ๅคๆไพๅ LLM ้ๆ
|
|
241
|
+
- [OpenCode](https://github.com/anomalyco/opencode) - AI ็ผ็จๆบ่ฝไฝๆ ธๅฟ
|
|
242
|
+
- [FindSkills](https://skills.sh/) - ๆ่ฝๅ็ฐไธ็ฎก็
|
|
243
|
+
- [Beads](https://github.com/steveyegge/beads) - ๅๅธๅผไปปๅกๅพ็ณป็ป
|
|
244
|
+
- [Anthropic](https://anthropic.com) - Claude AI ๆจกๅ
|
|
245
|
+
- [Bun](https://bun.sh) - ๅฟซ้็ไธไฝๅ JavaScript ่ฟ่กๆถ
|
|
246
|
+
|
|
247
|
+
## ๐ฎ ๆฏๆ
|
|
248
|
+
|
|
249
|
+
- ๐ง ้ฎ็ฎฑ: support@axon.dev
|
|
250
|
+
- ๐ฌ Discord: [ๅ ๅ
ฅๆไปฌ็็คพๅบ](https://discord.gg/axon)
|
|
251
|
+
- ๐ ้ฎ้ข: [GitHub Issues](https://github.com/arrislink/axon/issues)
|
|
252
|
+
|
|
253
|
+
---
|
|
254
|
+
|
|
255
|
+
็จ ๐ง ๅถไฝ๏ผAxon ๅข้ๅบๅ
|
package/dist/ax
ADDED
|
Binary file
|