@defai.digital/ax-cli 4.4.16 → 4.4.18
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 +88 -0
- package/package.json +13 -12
- package/LICENSE +0 -22
package/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# AX-CLI - Local AI Coding Assistant
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@defai.digital/ax-cli)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
**Enterprise-grade AI coding assistant for local/offline models** - Terminal-based vibe coding with Ollama, LMStudio, vLLM, and DeepSeek Cloud support.
|
|
7
|
+
|
|
8
|
+
## Quick Start
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g @defai.digital/ax-cli
|
|
12
|
+
ax-cli setup
|
|
13
|
+
ax-cli
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
- **Local-First**: Run with Ollama, LMStudio, or vLLM
|
|
19
|
+
- **DeepSeek Cloud**: Optional cloud support for DeepSeek models
|
|
20
|
+
- **17 Built-in Tools**: File editing, bash execution, search, todos, and more
|
|
21
|
+
- **MCP Integration**: Model Context Protocol with 12+ production-ready templates
|
|
22
|
+
- **AutomatosX Agents**: 20+ specialized AI agents for complex tasks
|
|
23
|
+
- **No API Key Required**: Run completely offline with local models
|
|
24
|
+
|
|
25
|
+
## Recommended Local Models
|
|
26
|
+
|
|
27
|
+
| Tier | Model | Best For |
|
|
28
|
+
|------|-------|----------|
|
|
29
|
+
| **T1** | Qwen 3 (8B/14B/32B/72B) | Best overall - coding leader |
|
|
30
|
+
| **T2** | GLM-4.6 (9B/32B) | Best for refactor + docs |
|
|
31
|
+
| **T3** | DeepSeek-Coder V2 (7B/16B) | Best speed/value |
|
|
32
|
+
| **T4** | Codestral / Mistral | C/C++/Rust systems languages |
|
|
33
|
+
| **T5** | Llama 3.1 / CodeLlama | Best fallback - most compatible |
|
|
34
|
+
|
|
35
|
+
## Usage
|
|
36
|
+
|
|
37
|
+
### Interactive Mode
|
|
38
|
+
```bash
|
|
39
|
+
ax-cli # Start interactive session
|
|
40
|
+
ax-cli --continue # Resume previous conversation
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Headless Mode
|
|
44
|
+
```bash
|
|
45
|
+
ax-cli -p "analyze this codebase"
|
|
46
|
+
ax-cli -p "fix TypeScript errors" -d /path/to/project
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Essential Commands
|
|
50
|
+
|
|
51
|
+
| Command | Description |
|
|
52
|
+
|---------|-------------|
|
|
53
|
+
| `/init` | Initialize project context |
|
|
54
|
+
| `/help` | Show all commands |
|
|
55
|
+
| `/models` | Switch AI model |
|
|
56
|
+
| `/doctor` | Run diagnostics |
|
|
57
|
+
|
|
58
|
+
## Configuration
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# Config location
|
|
62
|
+
~/.ax-cli/config.json # User settings
|
|
63
|
+
.ax-cli/settings.json # Project overrides
|
|
64
|
+
.ax-cli/CUSTOM.md # Custom AI instructions
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Part of AX CLI Ecosystem
|
|
68
|
+
|
|
69
|
+
| Package | Description |
|
|
70
|
+
|---------|-------------|
|
|
71
|
+
| [@defai.digital/ax-cli](https://www.npmjs.com/package/@defai.digital/ax-cli) | Local-first CLI (this package) |
|
|
72
|
+
| [@defai.digital/ax-glm](https://www.npmjs.com/package/@defai.digital/ax-glm) | GLM-optimized CLI |
|
|
73
|
+
| [@defai.digital/ax-grok](https://www.npmjs.com/package/@defai.digital/ax-grok) | Grok-optimized CLI |
|
|
74
|
+
| [@defai.digital/ax-core](https://www.npmjs.com/package/@defai.digital/ax-core) | Shared core library |
|
|
75
|
+
|
|
76
|
+
## Documentation
|
|
77
|
+
|
|
78
|
+
- [Full Documentation](https://github.com/defai-digital/ax-cli#readme)
|
|
79
|
+
- [MCP Integration Guide](https://github.com/defai-digital/ax-cli/blob/main/docs/mcp.md)
|
|
80
|
+
- [AutomatosX Guide](https://github.com/defai-digital/ax-cli/blob/main/docs/AutomatosX-Integration.md)
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
MIT License - see [LICENSE](https://github.com/defai-digital/ax-cli/blob/main/LICENSE)
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
Made with love by [DEFAI Digital](https://github.com/defai-digital)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defai.digital/ax-cli",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.18",
|
|
4
4
|
"description": "Enterprise-Class AI Command Line Interface with cool theme (blue, purple, green)",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,15 +22,22 @@
|
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
|
-
"bin"
|
|
25
|
+
"bin",
|
|
26
|
+
"README.md"
|
|
26
27
|
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "tsc -b",
|
|
30
|
+
"clean": "rm -rf dist",
|
|
31
|
+
"typecheck": "tsc --noEmit",
|
|
32
|
+
"start": "node ./dist/index.js"
|
|
33
|
+
},
|
|
27
34
|
"dependencies": {
|
|
35
|
+
"@defai.digital/ax-core": "workspace:*",
|
|
28
36
|
"@inquirer/prompts": "^7.2.0",
|
|
29
37
|
"chalk": "^5.4.1",
|
|
30
38
|
"commander": "^13.0.0",
|
|
31
39
|
"ora": "^8.1.1",
|
|
32
|
-
"which": "^5.0.0"
|
|
33
|
-
"@defai.digital/ax-core": "4.4.16"
|
|
40
|
+
"which": "^5.0.0"
|
|
34
41
|
},
|
|
35
42
|
"devDependencies": {
|
|
36
43
|
"@types/node": "^22.10.1",
|
|
@@ -58,11 +65,5 @@
|
|
|
58
65
|
"ai-coding",
|
|
59
66
|
"vibe-coding",
|
|
60
67
|
"automatosx"
|
|
61
|
-
]
|
|
62
|
-
|
|
63
|
-
"build": "tsc -b",
|
|
64
|
-
"clean": "rm -rf dist",
|
|
65
|
-
"typecheck": "tsc --noEmit",
|
|
66
|
-
"start": "node ./dist/index.js"
|
|
67
|
-
}
|
|
68
|
-
}
|
|
68
|
+
]
|
|
69
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 DEFAI Private Limited
|
|
4
|
-
Licensed under the MIT License https://github.com/defai-digital/ax-cli
|
|
5
|
-
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
-
in the Software without restriction, including without limitation the rights
|
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
-
furnished to do so, subject to the following conditions:
|
|
12
|
-
|
|
13
|
-
The above copyright notice and this permission notice shall be included in all
|
|
14
|
-
copies or substantial portions of the Software.
|
|
15
|
-
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|