byterover-cli 1.7.1 → 1.7.2
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
CHANGED
|
@@ -125,7 +125,7 @@ The terminal UI includes:
|
|
|
125
125
|
- **Activity Log**: Real-time task status and execution progress
|
|
126
126
|
- **Streaming Output**: Live responses with markdown rendering (headings, lists, blockquotes, code blocks)
|
|
127
127
|
- **Reasoning Display**: View agent thinking process with streamed reasoning blocks
|
|
128
|
-
- **File References**: Type `@` in curate mode to browse and attach files
|
|
128
|
+
- **File & Folder References**: Type `@` in curate mode to browse and attach files or entire folders
|
|
129
129
|
- **PDF Support**: Reference and extract text from PDF files using `@` (100 pages default, 200 max)
|
|
130
130
|
- **Dynamic Domains**: Automatically creates new knowledge domains as your context tree grows
|
|
131
131
|
- **Session Persistence**: Sessions auto-resume after restart
|
|
@@ -140,9 +140,10 @@ The terminal UI includes:
|
|
|
140
140
|
| `Ctrl+O` | Expand message or log to full-screen |
|
|
141
141
|
| `j` / `k` | Scroll down/up in expanded view |
|
|
142
142
|
| `g` / `G` | Jump to top/bottom in expanded view |
|
|
143
|
-
| `Esc`
|
|
143
|
+
| `Esc` | Cancel streaming responses / exit expanded view |
|
|
144
|
+
| `q` | Exit expanded view |
|
|
144
145
|
| `/` | Show command suggestions |
|
|
145
|
-
| `@` | Browse files (in curate mode) |
|
|
146
|
+
| `@` | Browse files and folders (in curate mode) |
|
|
146
147
|
|
|
147
148
|
## CLI Commands
|
|
148
149
|
|
|
@@ -193,7 +194,7 @@ Get your API key at [app.byterover.dev/settings/keys](https://app.byterover.dev/
|
|
|
193
194
|
- `--format <text|json>`: Output format (default: text)
|
|
194
195
|
|
|
195
196
|
**Curate flags:**
|
|
196
|
-
- `-f, --files <path>`: Include specific files (max 5, can be repeated)
|
|
197
|
+
- `-f, --files <path>`: Include specific files or folders (max 5, can be repeated)
|
|
197
198
|
- `--headless`: Run in headless mode
|
|
198
199
|
- `--format <text|json>`: Output format (default: text)
|
|
199
200
|
|
|
@@ -369,7 +370,7 @@ The model browser shows:
|
|
|
369
370
|
| Command | Description |
|
|
370
371
|
|---------|-------------|
|
|
371
372
|
| `/status` | Show CLI status and project information |
|
|
372
|
-
| `/curate [context] @files` | Curate context to the context tree |
|
|
373
|
+
| `/curate [context] @files @folders` | Curate context to the context tree |
|
|
373
374
|
| `/query <question>` | Query and retrieve information from the context tree |
|
|
374
375
|
|
|
375
376
|
**Curate examples:**
|
|
@@ -377,6 +378,7 @@ The model browser shows:
|
|
|
377
378
|
/curate # Interactive mode
|
|
378
379
|
/curate "Auth uses JWT tokens" # Autonomous mode with text
|
|
379
380
|
/curate "API docs" @src/api.ts @README.md # With file references (max 5, supports PDF)
|
|
381
|
+
/curate "Project structure" @src/ # With folder reference
|
|
380
382
|
```
|
|
381
383
|
|
|
382
384
|
**Query example:**
|
|
@@ -27,8 +27,15 @@ let esbuildModule;
|
|
|
27
27
|
*/
|
|
28
28
|
function transpileTypeScript(code) {
|
|
29
29
|
if (!esbuildModule) {
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
try {
|
|
31
|
+
// Use esmRequire to load esbuild - works in both ESM and CJS environments
|
|
32
|
+
esbuildModule = esmRequire('esbuild');
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
throw new Error('TypeScript transpilation is unavailable. The esbuild package is not installed.\n' +
|
|
36
|
+
'Please run: npm install esbuild\n' +
|
|
37
|
+
`Original error: ${error instanceof Error ? error.message : String(error)}`);
|
|
38
|
+
}
|
|
32
39
|
}
|
|
33
40
|
// Use 'esm' format which produces clean JavaScript without module system wrappers
|
|
34
41
|
// For type-only TypeScript (interfaces, type annotations), this just strips types
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "byterover-cli",
|
|
3
3
|
"description": "ByteRover's CLI",
|
|
4
|
-
"version": "1.7.
|
|
4
|
+
"version": "1.7.2",
|
|
5
5
|
"author": "ByteRover",
|
|
6
6
|
"bin": {
|
|
7
7
|
"brv": "./bin/run.js"
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"axios": "^1.12.2",
|
|
22
22
|
"better-sqlite3": "^11.5.0",
|
|
23
23
|
"chalk": "^5.6.2",
|
|
24
|
+
"esbuild": "^0.27.2",
|
|
24
25
|
"express": "^5.1.0",
|
|
25
26
|
"fullscreen-ink": "^0.1.0",
|
|
26
27
|
"glob": "^11.0.3",
|