sam-coder-cli 2.0.4 โ 2.0.7
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 +36 -43
- package/bin/agi-cli.js +230 -337
- package/bin/ui.js +8 -1
- package/package.json +11 -20
- package/bin/core/brainstorm.js +0 -198
- package/bin/core/edit_finished_brainstorm.js +0 -294
- package/bin/core/finish_brainstorm.js +0 -217
- package/bin/core/index.js +0 -37
- package/bin/core/models.js +0 -290
- package/bin/core/templates.js +0 -567
package/README.md
CHANGED
|
@@ -1,59 +1,52 @@
|
|
|
1
|
-
#
|
|
1
|
+
# SAM-CODER CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**SAM-CODER** is an epic, animated AI coding assistant that lives in your terminal. Armed with strategic thinking and autonomous agency, it doesn't just chatโit *builds*.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+

|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
- Minimalistic design with a focus on usability
|
|
9
|
-
- Support for code blocks and inline code
|
|
10
|
-
- Language toggle between English and Portuguese
|
|
11
|
-
- Clear conversation button
|
|
12
|
-
- Status bar integration
|
|
7
|
+
## ๐ Installation
|
|
13
8
|
|
|
14
|
-
|
|
9
|
+
Install SAM-CODER globally via npm:
|
|
15
10
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
4. The AI Assistant will respond with helpful information
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g sam-coder-cli
|
|
13
|
+
```
|
|
20
14
|
|
|
21
|
-
##
|
|
15
|
+
## ๐ ๏ธ Getting Started
|
|
22
16
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
|
|
17
|
+
1. **Initialize Setup**:
|
|
18
|
+
Run the setup command to configure your OpenRouter API key and preferred model.
|
|
19
|
+
```bash
|
|
20
|
+
sam-coder
|
|
21
|
+
```
|
|
22
|
+
Follow the prompts to enter your API key.
|
|
28
23
|
|
|
29
|
-
|
|
24
|
+
2. **Run with Style**:
|
|
25
|
+
By default, SAM-CODER starts with a frame-by-frame AGI Awakening animation.
|
|
26
|
+
```bash
|
|
27
|
+
sam-coder
|
|
28
|
+
```
|
|
30
29
|
|
|
31
|
-
|
|
30
|
+
## ๐ง Features
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
- **Autonomous Agency**: Can read, write, edit files, and execute shell commands.
|
|
33
|
+
- **Epic Animation**: Custom frame-by-frame ASCII animation on startup.
|
|
34
|
+
- **Strategic Thinking**: Exposes its internal reasoning process for transparency.
|
|
35
|
+
- **Multi-Model Support**: Powered by OpenRouter, supporting DeepSeek and other top-tier models.
|
|
34
36
|
|
|
35
|
-
|
|
37
|
+
## โจ๏ธ CLI Commands
|
|
36
38
|
|
|
37
|
-
|
|
39
|
+
- `sam-coder`: Launch the assistant.
|
|
40
|
+
- `/setup`: Re-run the configuration wizard.
|
|
41
|
+
- `/model <name>`: Switch the AI model on the fly.
|
|
42
|
+
- `/thoughts on|off`: Toggle visibility of internal reasoning.
|
|
43
|
+
- `exit`: Safely close the session.
|
|
38
44
|
|
|
39
|
-
|
|
45
|
+
## โ๏ธ Requirements
|
|
40
46
|
|
|
41
|
-
|
|
47
|
+
- **Node.js**: version 18.12.1 or higher.
|
|
48
|
+
- **API Key**: An [OpenRouter](https://openrouter.ai/) API key is required.
|
|
42
49
|
|
|
43
|
-
##
|
|
50
|
+
## ๐ License
|
|
44
51
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
## Release Notes
|
|
48
|
-
|
|
49
|
-
### 0.0.1
|
|
50
|
-
|
|
51
|
-
Initial release of AI Assistant
|
|
52
|
-
|
|
53
|
-
## Contributing
|
|
54
|
-
|
|
55
|
-
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
56
|
-
|
|
57
|
-
## License
|
|
58
|
-
|
|
59
|
-
This extension is licensed under the MIT License.
|
|
52
|
+
This project is licensed under the MIT License. Created by Guilherme Keller.
|