@leg3ndy/otto-code 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 +29 -0
- package/README.md +76 -0
- package/cli.mjs +11578 -0
- package/package.json +25 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
© 2026 LEG3NDY. All rights reserved.
|
|
2
|
+
|
|
3
|
+
LICENSE: Use of these materials (including all code, prompts, assets, files,
|
|
4
|
+
and other components in this repository) is governed by your agreement with
|
|
5
|
+
LEG3NDY regarding use of OttoAI, Otto Code, and related LEG3NDY services. If
|
|
6
|
+
no separate agreement exists, no right to use, copy, modify, distribute,
|
|
7
|
+
sublicense, or create derivative works from these materials is granted.
|
|
8
|
+
|
|
9
|
+
ADDITIONAL RESTRICTIONS: Notwithstanding anything to the contrary in any
|
|
10
|
+
separate agreement, users may not:
|
|
11
|
+
|
|
12
|
+
- Extract these materials from OttoAI, Otto Code, or related LEG3NDY services
|
|
13
|
+
or retain copies of these materials outside authorized environments
|
|
14
|
+
- Reproduce or copy these materials, except for temporary copies created
|
|
15
|
+
automatically during authorized use
|
|
16
|
+
- Create derivative works based on these materials
|
|
17
|
+
- Distribute, sublicense, or transfer these materials to any third party
|
|
18
|
+
- Make, offer to sell, sell, or import any inventions embodied in these
|
|
19
|
+
materials
|
|
20
|
+
- Reverse engineer, decompile, or disassemble these materials, except where
|
|
21
|
+
such restriction is prohibited by applicable law
|
|
22
|
+
|
|
23
|
+
The receipt, viewing, or possession of these materials does not convey or
|
|
24
|
+
imply any license or right beyond those expressly granted in a separate
|
|
25
|
+
written agreement with LEG3NDY.
|
|
26
|
+
|
|
27
|
+
LEG3NDY retains all right, title, and interest in these materials, including
|
|
28
|
+
all copyrights, patents, trade secrets, trademarks, and other intellectual
|
|
29
|
+
property rights.
|
package/README.md
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Otto Code
|
|
2
|
+
|
|
3
|
+
**Otto** is a powerful, local-first AI coding assistant that runs directly in your terminal. It brings the speed and capabilities of advanced LLMs (like Anthropic, OpenAI, Gemini, and Ollama) right where you write your code, complete with interactive terminal UI, MCP server integration, sandboxed command execution, and remote session pairing.
|
|
4
|
+
|
|
5
|
+
Get started at [leg3ndy.com.br/otto-code](https://leg3ndy.com.br/otto-code).
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Key Features
|
|
10
|
+
|
|
11
|
+
- **Local-First & Interactive UI**: A full-featured terminal UI powered by React and Ink, providing real-time feedback, interactive dialogs, and a responsive prompt console.
|
|
12
|
+
- **BYOK (Bring Your Own Key)**: Bring your own API keys. You only pay for the model tokens you actually use, with full transparency.
|
|
13
|
+
- **MCP Integration**: Fully supports the Model Context Protocol (MCP) to plug in custom tools, servers, and data sources dynamically.
|
|
14
|
+
- **Secure Sandbox**: Executes terminal and compilation commands within a safe, sandboxed local runtime to protect your system.
|
|
15
|
+
- **Auto-Reflect**: Background sessions automatically synthesize, summarize, and consolidate memory logs to continuously improve project context.
|
|
16
|
+
- **Remote Session Pairing**: Connect and pair your terminal agent securely with web and mobile workspaces.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
Install Otto globally via npm or bun:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
npm install -g @leg3ndy/otto-code
|
|
26
|
+
# or
|
|
27
|
+
bun install -g @leg3ndy/otto-code
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
|
|
34
|
+
### 1. Initialize and Setup
|
|
35
|
+
To authenticate and setup your AI providers:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
otto auth login
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### 2. Run Interactive Session
|
|
42
|
+
Start the interactive terminal UI in your current project folder:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
otto
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 3. Diagnose Setup
|
|
49
|
+
Run the diagnostic doctor check to ensure everything is set up correctly:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
otto doctor
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## CLI Command Summary
|
|
58
|
+
|
|
59
|
+
| Command | Description |
|
|
60
|
+
|---|---|
|
|
61
|
+
| `otto` | Launch the interactive terminal UI |
|
|
62
|
+
| `otto auth login` | Authenticate your Otto CLI |
|
|
63
|
+
| `otto doctor` | Run environment and installation diagnostics |
|
|
64
|
+
| `otto limits` | Show current API usage limits and paired plan |
|
|
65
|
+
| `otto mcp` | Manage Model Context Protocol (MCP) servers |
|
|
66
|
+
| `otto plugin` | Manage installed developer plugins |
|
|
67
|
+
| `otto ssh <host>` | Start an interactive Otto session over SSH |
|
|
68
|
+
| `otto --continue` | Continue the most recent session |
|
|
69
|
+
| `otto --resume` | Resume a specific session from history |
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## Resources & Support
|
|
74
|
+
|
|
75
|
+
- **Homepage**: [https://leg3ndy.com.br/otto-code](https://leg3ndy.com.br/otto-code)
|
|
76
|
+
- **License**: UNLICENSED
|