@rivocode-cli/cli 3.0.4 โ 3.0.6
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 +23 -67
- package/bin/rivo.cjs +48 -2
- package/package.json +7 -8
- package/bin/postinstall.cjs +0 -64
package/README.md
CHANGED
|
@@ -22,6 +22,19 @@ RivoCode is an autonomous AI coding assistant that operates directly within your
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## What's New in v3.0.6
|
|
26
|
+
|
|
27
|
+
- ๐ **End-to-End Autonomous Execution**: Resolved premature exit and stalling issues โ RivoCode autonomously completes multi-file tasks, executes tests, and verifies results end-to-end.
|
|
28
|
+
- โก **Live Real-Time Activity Status**: Dynamic status bar indicators (`โก Running: ...`, `โ Editing ...`, `โ Reading ...`, `โ Listing ...`, `โ Fetching ...`) display real-time tool actions.
|
|
29
|
+
- ๐ง **Curated Free Frontier Models**: Streamlined model picker featuring top free 1M-context models:
|
|
30
|
+
- **`nvidia-nemotron-3-ultra`** (550B MoE model ยท 1M context ยท OpenRouter Free Tier)
|
|
31
|
+
- **`gemini-3.6-flash`** (Google Gemini ยท 1M context ยท Google AI Studio Free Tier)
|
|
32
|
+
- ๐ฏ **Clean Model Switcher**: Minimalist, distraction-free model picker displaying only essential, actionable details.
|
|
33
|
+
- ๐จ **Enhanced Auto-Accept Mode**: Clean pink accenting for auto-accept edits without redundant badges.
|
|
34
|
+
- ๐ก๏ธ **Intelligent Rate-Limit Diagnostics**: Provider-aware error reporting and automatic rate-limit recovery.
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
25
38
|
## Quick Start
|
|
26
39
|
|
|
27
40
|
Run RivoCode instantly without manual binary downloads:
|
|
@@ -40,76 +53,27 @@ npx @rivocode-cli/cli "Refactor authentication middleware to use JWT"
|
|
|
40
53
|
|
|
41
54
|
## Installation
|
|
42
55
|
|
|
43
|
-
Install RivoCode globally
|
|
44
|
-
|
|
45
|
-
### macOS Installation
|
|
56
|
+
Install RivoCode globally with a single universal command on **macOS**, **Windows**, or **Linux**:
|
|
46
57
|
|
|
47
|
-
#### Using npm:
|
|
48
58
|
```bash
|
|
49
59
|
npm install -g @rivocode-cli/cli
|
|
50
60
|
```
|
|
51
61
|
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
bun add -g @rivocode-cli/cli
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
#### Using pnpm:
|
|
58
|
-
```bash
|
|
59
|
-
pnpm add -g @rivocode-cli/cli
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
#### Using yarn:
|
|
63
|
-
```bash
|
|
64
|
-
yarn global add @rivocode-cli/cli
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
### Windows Installation
|
|
70
|
-
|
|
71
|
-
Open **PowerShell** or **Command Prompt** (Run as Administrator if necessary):
|
|
72
|
-
|
|
73
|
-
#### Using npm:
|
|
74
|
-
```powershell
|
|
75
|
-
npm install -g @rivocode-cli/cli
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
#### Using pnpm:
|
|
79
|
-
```powershell
|
|
80
|
-
pnpm add -g @rivocode-cli/cli
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
#### Using yarn:
|
|
84
|
-
```powershell
|
|
85
|
-
yarn global add @rivocode-cli/cli
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
### Linux Installation
|
|
91
|
-
|
|
92
|
-
#### Using npm:
|
|
93
|
-
```bash
|
|
94
|
-
sudo npm install -g @rivocode-cli/cli
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
#### Using bun:
|
|
98
|
-
```bash
|
|
99
|
-
bun add -g @rivocode-cli/cli
|
|
100
|
-
```
|
|
62
|
+
*(You can also use `bun add -g @rivocode-cli/cli`, `pnpm add -g @rivocode-cli/cli`, or `yarn global add @rivocode-cli/cli`)*
|
|
101
63
|
|
|
102
64
|
---
|
|
103
65
|
|
|
104
66
|
### Verify Installation
|
|
105
67
|
|
|
106
|
-
|
|
68
|
+
Once installed, launch RivoCode from any directory:
|
|
107
69
|
|
|
108
70
|
```bash
|
|
109
71
|
rivo
|
|
110
72
|
```
|
|
111
73
|
|
|
112
|
-
|
|
74
|
+
*(or use the alias `rivocode`)*
|
|
75
|
+
|
|
76
|
+
Check your installed version:
|
|
113
77
|
|
|
114
78
|
```bash
|
|
115
79
|
rivo --version
|
|
@@ -225,23 +189,15 @@ rivocode/
|
|
|
225
189
|
|
|
226
190
|
## Uninstallation
|
|
227
191
|
|
|
228
|
-
|
|
192
|
+
To uninstall RivoCode from **macOS**, **Windows**, or **Linux**:
|
|
229
193
|
|
|
230
194
|
```bash
|
|
231
|
-
# npm
|
|
232
195
|
npm uninstall -g @rivocode-cli/cli
|
|
233
|
-
|
|
234
|
-
# bun
|
|
235
|
-
bun remove -g @rivocode-cli/cli
|
|
236
|
-
|
|
237
|
-
# pnpm
|
|
238
|
-
pnpm remove -g @rivocode-cli/cli
|
|
239
|
-
|
|
240
|
-
# yarn
|
|
241
|
-
yarn global remove @rivocode-cli/cli
|
|
242
196
|
```
|
|
243
197
|
|
|
244
|
-
|
|
198
|
+
*(Or `bun remove -g @rivocode-cli/cli`, `pnpm remove -g @rivocode-cli/cli`)*
|
|
199
|
+
|
|
200
|
+
### Clean Configuration & Cache (Optional)
|
|
245
201
|
|
|
246
202
|
#### macOS & Linux:
|
|
247
203
|
```bash
|
package/bin/rivo.cjs
CHANGED
|
@@ -3,12 +3,17 @@
|
|
|
3
3
|
const os = require('os');
|
|
4
4
|
const { spawnSync } = require('child_process');
|
|
5
5
|
const path = require('path');
|
|
6
|
+
const fs = require('fs');
|
|
6
7
|
|
|
7
8
|
const platform = os.platform();
|
|
8
9
|
const architecture = os.arch();
|
|
9
10
|
|
|
10
11
|
const platformPackage = `@rivocode-cli/cli-${platform}-${architecture}`;
|
|
11
12
|
|
|
13
|
+
const platformNames = { darwin: 'macOS', linux: 'Linux', win32: 'Windows' };
|
|
14
|
+
const archNames = { x64: 'x86_64', arm64: 'ARM64' };
|
|
15
|
+
const platformEmoji = { darwin: '๐', linux: '๐ง', win32: '๐ช' };
|
|
16
|
+
|
|
12
17
|
let binaryPath;
|
|
13
18
|
try {
|
|
14
19
|
const packageJsonPath = require.resolve(`${platformPackage}/package.json`);
|
|
@@ -16,11 +21,52 @@ try {
|
|
|
16
21
|
const binaryName = platform === 'win32' ? 'rivo.exe' : 'rivo';
|
|
17
22
|
binaryPath = path.join(packageDir, 'bin', binaryName);
|
|
18
23
|
} catch (error) {
|
|
19
|
-
|
|
20
|
-
|
|
24
|
+
const osName = platformNames[platform] || platform;
|
|
25
|
+
const archName = archNames[architecture] || architecture;
|
|
26
|
+
const emoji = platformEmoji[platform] || '๐ป';
|
|
27
|
+
|
|
28
|
+
console.error('');
|
|
29
|
+
console.error(` ${emoji} Platform: ${osName} (${archName})`);
|
|
30
|
+
console.error(` โ No binary found for ${platform}-${architecture}`);
|
|
31
|
+
console.error(` ๐ฆ Missing package: ${platformPackage}`);
|
|
32
|
+
console.error('');
|
|
33
|
+
console.error(' Your platform may not be supported.');
|
|
34
|
+
console.error(' Supported: macOS (x64/ARM64), Linux (x64/ARM64), Windows (x64)');
|
|
35
|
+
console.error('');
|
|
21
36
|
process.exit(1);
|
|
22
37
|
}
|
|
23
38
|
|
|
39
|
+
// Show welcome message on first run
|
|
40
|
+
const markerDir = path.join(os.homedir(), '.rivocode');
|
|
41
|
+
const markerFile = path.join(markerDir, '.first-run-done');
|
|
42
|
+
|
|
43
|
+
if (!fs.existsSync(markerFile)) {
|
|
44
|
+
const osName = platformNames[platform] || platform;
|
|
45
|
+
const archName = archNames[architecture] || architecture;
|
|
46
|
+
const emoji = platformEmoji[platform] || '๐ป';
|
|
47
|
+
|
|
48
|
+
const G = '\x1b[32m';
|
|
49
|
+
const C = '\x1b[36m';
|
|
50
|
+
const B = '\x1b[1m';
|
|
51
|
+
const D = '\x1b[2m';
|
|
52
|
+
const R = '\x1b[0m';
|
|
53
|
+
|
|
54
|
+
console.log('');
|
|
55
|
+
console.log(`${B}${G} โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ${R}`);
|
|
56
|
+
console.log(`${B}${G} โ RivoCode CLI installed! โ${R}`);
|
|
57
|
+
console.log(`${B}${G} โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ${R}`);
|
|
58
|
+
console.log('');
|
|
59
|
+
console.log(` ${emoji} ${B}Platform:${R} ${osName} (${archName})`);
|
|
60
|
+
console.log(` ๐ฆ ${B}Binary:${R} ${G}โ ${platformPackage}${R}`);
|
|
61
|
+
console.log(` ๐ ${B}Node:${R} ${process.version}`);
|
|
62
|
+
console.log('');
|
|
63
|
+
|
|
64
|
+
try {
|
|
65
|
+
if (!fs.existsSync(markerDir)) fs.mkdirSync(markerDir, { recursive: true });
|
|
66
|
+
fs.writeFileSync(markerFile, new Date().toISOString());
|
|
67
|
+
} catch {}
|
|
68
|
+
}
|
|
69
|
+
|
|
24
70
|
const args = process.argv.slice(2);
|
|
25
71
|
const result = spawnSync(binaryPath, args, { stdio: 'inherit' });
|
|
26
72
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rivocode-cli/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"description": "RivoCode โ AI-powered terminal coding assistant",
|
|
5
5
|
"author": "Sanket Padhyal <mrsanketpadhyal@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,16 +11,15 @@
|
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"bin/rivo.cjs",
|
|
14
|
-
"bin/postinstall.cjs",
|
|
15
14
|
"README.md",
|
|
16
15
|
"LICENSE"
|
|
17
16
|
],
|
|
18
17
|
"optionalDependencies": {
|
|
19
|
-
"@rivocode-cli/cli-linux-x64": "3.0.
|
|
20
|
-
"@rivocode-cli/cli-linux-arm64": "3.0.
|
|
21
|
-
"@rivocode-cli/cli-darwin-x64": "3.0.
|
|
22
|
-
"@rivocode-cli/cli-darwin-arm64": "3.0.
|
|
23
|
-
"@rivocode-cli/cli-win32-x64": "3.0.
|
|
18
|
+
"@rivocode-cli/cli-linux-x64": "3.0.6",
|
|
19
|
+
"@rivocode-cli/cli-linux-arm64": "3.0.6",
|
|
20
|
+
"@rivocode-cli/cli-darwin-x64": "3.0.6",
|
|
21
|
+
"@rivocode-cli/cli-darwin-arm64": "3.0.6",
|
|
22
|
+
"@rivocode-cli/cli-win32-x64": "3.0.6"
|
|
24
23
|
},
|
|
25
24
|
"repository": {
|
|
26
25
|
"type": "git",
|
|
@@ -43,12 +42,12 @@
|
|
|
43
42
|
"sdk"
|
|
44
43
|
],
|
|
45
44
|
"scripts": {
|
|
46
|
-
"postinstall": "node bin/postinstall.cjs",
|
|
47
45
|
"rivo": "bun --cwd cli dev",
|
|
48
46
|
"start": "bun run rivo",
|
|
49
47
|
"start-cli": "bun run rivo",
|
|
50
48
|
"dev": "bun run rivo",
|
|
51
49
|
"build:binary": "bun run --cwd=cli build:binary",
|
|
50
|
+
"install:local": "bun run build:binary && cp cli/bin/rivo ~/.bun/bin/rivo && cp cli/bin/rivo ~/.bun/bin/rivocode && cp cli/bin/tree-sitter.wasm ~/.bun/bin/tree-sitter.wasm && codesign -s - --force ~/.bun/bin/rivo ~/.bun/bin/rivocode",
|
|
52
51
|
"release:cli": "bun run --cwd=cli release",
|
|
53
52
|
"release:sdk": "bun run --cwd=sdk release",
|
|
54
53
|
"build:sdk": "cd sdk && bun run build",
|
package/bin/postinstall.cjs
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
const os = require('os');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
|
|
6
|
-
const platform = os.platform();
|
|
7
|
-
const arch = os.arch();
|
|
8
|
-
|
|
9
|
-
const platformNames = {
|
|
10
|
-
darwin: 'macOS',
|
|
11
|
-
linux: 'Linux',
|
|
12
|
-
win32: 'Windows',
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const archNames = {
|
|
16
|
-
x64: 'x86_64',
|
|
17
|
-
arm64: 'ARM64',
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const platformEmoji = {
|
|
21
|
-
darwin: '๐',
|
|
22
|
-
linux: '๐ง',
|
|
23
|
-
win32: '๐ช',
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
const osName = platformNames[platform] || platform;
|
|
27
|
-
const archName = archNames[arch] || arch;
|
|
28
|
-
const emoji = platformEmoji[platform] || '๐ป';
|
|
29
|
-
|
|
30
|
-
const packageName = `@rivocode-cli/cli-${platform}-${arch}`;
|
|
31
|
-
|
|
32
|
-
let binaryFound = false;
|
|
33
|
-
try {
|
|
34
|
-
require.resolve(`${packageName}/package.json`);
|
|
35
|
-
binaryFound = true;
|
|
36
|
-
} catch {}
|
|
37
|
-
|
|
38
|
-
const RESET = '\x1b[0m';
|
|
39
|
-
const BOLD = '\x1b[1m';
|
|
40
|
-
const GREEN = '\x1b[32m';
|
|
41
|
-
const CYAN = '\x1b[36m';
|
|
42
|
-
const YELLOW = '\x1b[33m';
|
|
43
|
-
const DIM = '\x1b[2m';
|
|
44
|
-
|
|
45
|
-
console.log('');
|
|
46
|
-
console.log(`${BOLD}${GREEN} โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ${RESET}`);
|
|
47
|
-
console.log(`${BOLD}${GREEN} โ RivoCode CLI installed! โ${RESET}`);
|
|
48
|
-
console.log(`${BOLD}${GREEN} โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ${RESET}`);
|
|
49
|
-
console.log('');
|
|
50
|
-
console.log(` ${emoji} ${BOLD}Platform:${RESET} ${osName} (${archName})`);
|
|
51
|
-
console.log(` ๐ฆ ${BOLD}Binary:${RESET} ${binaryFound ? `${GREEN}โ ${packageName}${RESET}` : `${YELLOW}โ Not found${RESET}`}`);
|
|
52
|
-
console.log(` ๐ ${BOLD}Node:${RESET} ${process.version}`);
|
|
53
|
-
console.log('');
|
|
54
|
-
|
|
55
|
-
if (binaryFound) {
|
|
56
|
-
console.log(` ${DIM}Get started by running:${RESET}`);
|
|
57
|
-
console.log('');
|
|
58
|
-
console.log(` ${BOLD}${CYAN}$ rivo${RESET}`);
|
|
59
|
-
console.log('');
|
|
60
|
-
} else {
|
|
61
|
-
console.log(` ${YELLOW}โ No binary found for ${platform}-${arch}.${RESET}`);
|
|
62
|
-
console.log(` ${YELLOW} Your platform may not be supported.${RESET}`);
|
|
63
|
-
console.log('');
|
|
64
|
-
}
|