@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.
Files changed (3) hide show
  1. package/README.md +85 -43
  2. package/index.js +1 -1
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -1,76 +1,118 @@
1
1
  # Spirit AI
2
2
 
3
- **Mobile Autonomous Developer for Multi-Platform App Development**
3
+ **Autonomous Developer for Multi-Platform Development**
4
4
 
5
- Spirit AI is an intelligent CLI agent that connects to your development server and enables autonomous mobile application development across Flutter, Android, iOS, React Native, and all major mobile frameworks.
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
- ## Features
7
+ ## Overview
8
8
 
9
- - 🤖 Autonomous mobile development across all platforms
10
- - 🔧 Full file system operations with surgical precision
11
- - 📱 Support for Flutter, Android (Kotlin/Java), iOS (Swift), React Native
12
- - 🔌 Real-time connection to development server
13
- - 🎯 Smart command execution with system awareness
14
- - 🔪 Advanced code editing capabilities (line-level precision)
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
- ## Usage
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
- # Show help
27
- spiritai --help
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
- # Show version
30
- spiritai --version
44
+ ## System Requirements
31
45
 
32
- # Using the shorter alias
33
- spirit connect <code>
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
- ## Requirements
54
+ - **macOS**: x64 and ARM64 architectures
55
+ - **Linux**: x64 and ARM64 architectures
56
+ - **Windows**: x64 and ARM64 architectures
37
57
 
38
- - Node.js >= 16.0.0
39
- - Internet connection for server communication
58
+ ## Development Environment Detection
40
59
 
41
- ## Supported Platforms
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
- - macOS (x64, arm64)
44
- - Linux (x64, arm64)
45
- - Windows (x64, arm64)
62
+ ## Interactive Commands
46
63
 
47
- ## Development Tools Detection
64
+ Once connected to a development server, the following commands are available:
48
65
 
49
- Spirit AI automatically detects and reports:
50
- - Java, ADB (Android development)
51
- - Flutter, Dart
52
- - Git, npm, Python, pip
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
- ## Commands
71
+ ## Advanced Features
55
72
 
56
- Once connected:
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
- ## Security Notice
75
+ Spirit AI supports advanced code manipulation operations:
63
76
 
64
- Spirit AI has full access to your file system and can execute shell commands. Only connect to trusted servers with valid connection codes.
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
- ## Author
111
+ For bug reports, feature requests, and technical support, please visit:
112
+ https://github.com/niyantrilabs/spiritai/issues
71
113
 
72
- Niyantri Labs
114
+ ## Version History
73
115
 
74
- ## Repository
116
+ Current stable release: 1.0.2
75
117
 
76
- https://github.com/niyantrilabs/spiritai
118
+ For detailed version history and release notes, refer to the project's GitHub releases page.
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const yargs = require('yargs/yargs');
4
4
  const { hideBin } = require('yargs/helpers');
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@niyantrilabs/spiritai",
3
- "version": "1.0.1",
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": "./index.js",
8
- "spirit": "./index.js"
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"