@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 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: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
8
+ [![Bun](https://img.shields.io/badge/bun-%3E=1.1.0-blue.svg)](https://bun.sh)
9
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.3-blue.svg)](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
@@ -0,0 +1,255 @@
1
+ # Axon
2
+
3
+ > ๐Ÿง  AI ้ฉฑๅŠจ็š„ๅผ€ๅ‘ๆ“ไฝœ็ณป็ปŸ
4
+
5
+ [English](./README.md) | [ๆ–‡ๆกฃ](./docs) | [่ดก็ŒฎๆŒ‡ๅ—](./CONTRIBUTING.md)
6
+
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
8
+ [![Bun](https://img.shields.io/badge/bun-%3E=1.1.0-blue.svg)](https://bun.sh)
9
+ [![TypeScript](https://img.shields.io/badge/TypeScript-5.3-blue.svg)](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