@niyantrilabs/spiritai 1.0.1 → 1.0.3
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 +85 -43
- package/index.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,76 +1,118 @@
|
|
|
1
1
|
# Spirit AI
|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Autonomous Developer for Multi-Platform Development**
|
|
4
4
|
|
|
5
|
-
Spirit AI is an
|
|
5
|
+
Spirit AI is an agentic development tool that lives in your terminal, understands your development environment, and helps you build faster by executing complex tasks, managing file operations, and handling development workflows -- all through natural language commands via your connected development server.
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## Overview
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
9
|
+
Spirit AI connects to your development server and acts as an intelligent agent capable of understanding your codebase, executing development tasks, and managing your entire development workflow. The system provides real-time bidirectional communication, intelligent code manipulation, and comprehensive system integration.
|
|
10
|
+
|
|
11
|
+
## Key Capabilities
|
|
12
|
+
|
|
13
|
+
- Autonomous code generation and modification across your entire project
|
|
14
|
+
- Surgical precision file operations with line-level editing accuracy
|
|
15
|
+
- Real-time bidirectional communication with development servers
|
|
16
|
+
- Intelligent command execution with full system context awareness
|
|
17
|
+
- Advanced code editing operations including targeted modifications
|
|
18
|
+
- Comprehensive development environment detection and integration
|
|
15
19
|
|
|
16
20
|
## Installation
|
|
21
|
+
|
|
22
|
+
Install Spirit AI globally via npm:
|
|
17
23
|
```bash
|
|
18
24
|
npm install -g @niyantrilabs/spiritai
|
|
19
25
|
```
|
|
20
26
|
|
|
21
|
-
##
|
|
27
|
+
## Getting Started
|
|
28
|
+
|
|
29
|
+
### Basic Usage
|
|
30
|
+
|
|
31
|
+
Connect to your development server using a connection code:
|
|
22
32
|
```bash
|
|
23
|
-
# Connect to your development server
|
|
24
33
|
spiritai connect <your-connection-code>
|
|
34
|
+
```
|
|
25
35
|
|
|
26
|
-
|
|
27
|
-
|
|
36
|
+
### Command Reference
|
|
37
|
+
```bash
|
|
38
|
+
spiritai connect <code> # Establish connection to development server
|
|
39
|
+
spiritai --help # Display help information
|
|
40
|
+
spiritai --version # Show version number
|
|
41
|
+
spirit connect <code> # Shorthand alias
|
|
42
|
+
```
|
|
28
43
|
|
|
29
|
-
|
|
30
|
-
spiritai --version
|
|
44
|
+
## System Requirements
|
|
31
45
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
46
|
+
- Node.js version 16.0.0 or higher
|
|
47
|
+
- Active internet connection for server communication
|
|
48
|
+
- Compatible operating system (Windows, macOS, or Linux)
|
|
49
|
+
|
|
50
|
+
## Platform Support
|
|
51
|
+
|
|
52
|
+
Spirit AI is compatible with the following platforms:
|
|
35
53
|
|
|
36
|
-
|
|
54
|
+
- **macOS**: x64 and ARM64 architectures
|
|
55
|
+
- **Linux**: x64 and ARM64 architectures
|
|
56
|
+
- **Windows**: x64 and ARM64 architectures
|
|
37
57
|
|
|
38
|
-
|
|
39
|
-
- Internet connection for server communication
|
|
58
|
+
## Development Environment Detection
|
|
40
59
|
|
|
41
|
-
|
|
60
|
+
Spirit AI automatically detects and reports the availability of development tools in your environment, including version control systems, package managers, programming language runtimes, and development frameworks.
|
|
42
61
|
|
|
43
|
-
|
|
44
|
-
- Linux (x64, arm64)
|
|
45
|
-
- Windows (x64, arm64)
|
|
62
|
+
## Interactive Commands
|
|
46
63
|
|
|
47
|
-
|
|
64
|
+
Once connected to a development server, the following commands are available:
|
|
48
65
|
|
|
49
|
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
66
|
+
- `status` - Display current connection status and system information
|
|
67
|
+
- `help` - Show available commands and usage instructions
|
|
68
|
+
- `exit` or `quit` - Terminate the agent session
|
|
69
|
+
- `clear` - Clear the terminal screen
|
|
53
70
|
|
|
54
|
-
##
|
|
71
|
+
## Advanced Features
|
|
55
72
|
|
|
56
|
-
|
|
57
|
-
- `status` - Show connection status
|
|
58
|
-
- `help` - Show available commands
|
|
59
|
-
- `exit` - Exit the agent
|
|
60
|
-
- `clear` - Clear screen
|
|
73
|
+
### Surgical Precision Code Editing
|
|
61
74
|
|
|
62
|
-
|
|
75
|
+
Spirit AI supports advanced code manipulation operations:
|
|
63
76
|
|
|
64
|
-
|
|
77
|
+
- **DELETE_LINE** - Remove specific lines from source files
|
|
78
|
+
- **REPLACE_LINE** - Replace content at specific line numbers
|
|
79
|
+
- **INSERT_BEFORE** - Insert new lines before specified positions
|
|
80
|
+
- **INSERT_AFTER** - Insert new lines after specified positions
|
|
81
|
+
- **REMOVE_IMPORT** - Remove unused import statements
|
|
82
|
+
- **ADD_IMPORT** - Add missing import declarations
|
|
83
|
+
|
|
84
|
+
### File System Operations
|
|
85
|
+
|
|
86
|
+
The agent provides comprehensive file system access including read, write, create, modify, and delete operations with full directory traversal capabilities.
|
|
87
|
+
|
|
88
|
+
## Security Considerations
|
|
89
|
+
|
|
90
|
+
**Important Notice**: Spirit AI operates with full file system access privileges and can execute arbitrary shell commands on the host system. Users should only establish connections to trusted development servers using verified connection codes. All operations are performed with the permissions of the user executing the agent.
|
|
91
|
+
|
|
92
|
+
## Technical Architecture
|
|
93
|
+
|
|
94
|
+
Spirit AI utilizes Socket.IO for real-time bidirectional communication, yargs for command-line argument parsing, and Node.js native modules for system integration and file operations.
|
|
65
95
|
|
|
66
96
|
## License
|
|
67
97
|
|
|
68
|
-
MIT
|
|
98
|
+
This project is licensed under the MIT License. See the LICENSE file for complete terms and conditions.
|
|
99
|
+
|
|
100
|
+
## Maintainer
|
|
101
|
+
|
|
102
|
+
Developed and maintained by Niyantri Labs.
|
|
103
|
+
|
|
104
|
+
## Source Code
|
|
105
|
+
|
|
106
|
+
The complete source code is available on GitHub:
|
|
107
|
+
https://github.com/niyantrilabs/spiritai
|
|
108
|
+
|
|
109
|
+
## Support and Issues
|
|
69
110
|
|
|
70
|
-
|
|
111
|
+
For bug reports, feature requests, and technical support, please visit:
|
|
112
|
+
https://github.com/niyantrilabs/spiritai/issues
|
|
71
113
|
|
|
72
|
-
|
|
114
|
+
## Version History
|
|
73
115
|
|
|
74
|
-
|
|
116
|
+
Current stable release: 1.0.2
|
|
75
117
|
|
|
76
|
-
|
|
118
|
+
For detailed version history and release notes, refer to the project's GitHub releases page.
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@niyantrilabs/spiritai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Spirit AI - Mobile Autonomous Developer for multi-platform app development",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"spiritai": "
|
|
8
|
-
"spirit": "
|
|
7
|
+
"spiritai": "index.js",
|
|
8
|
+
"spirit": "index.js"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "node index.js",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"repository": {
|
|
45
45
|
"type": "git",
|
|
46
|
-
"url": "https://github.com/niyantrilabs/spiritai.git"
|
|
46
|
+
"url": "git+https://github.com/niyantrilabs/spiritai.git"
|
|
47
47
|
},
|
|
48
48
|
"bugs": {
|
|
49
49
|
"url": "https://github.com/niyantrilabs/spiritai/issues"
|