neuro-cli 4.2.0 → 4.3.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/dist/advisor/advisor.d.ts +0 -0
- package/dist/advisor/advisor.js +0 -0
- package/dist/agents/base.d.ts +0 -0
- package/dist/agents/base.js +0 -0
- package/dist/agents/orchestrator.d.ts +0 -0
- package/dist/agents/orchestrator.js +0 -0
- package/dist/agents/team.d.ts +0 -0
- package/dist/agents/team.js +0 -0
- package/dist/api/models.d.ts +0 -0
- package/dist/api/models.js +0 -0
- package/dist/api/ollama.d.ts +0 -0
- package/dist/api/ollama.js +0 -0
- package/dist/api/openrouter.d.ts +0 -0
- package/dist/api/openrouter.js +0 -0
- package/dist/commands/commands.d.ts +0 -0
- package/dist/commands/commands.js +0 -0
- package/dist/config/config.d.ts +0 -0
- package/dist/config/config.js +1 -1
- package/dist/context/compaction.d.ts +0 -0
- package/dist/context/compaction.js +0 -0
- package/dist/context/custom-agents.d.ts +0 -0
- package/dist/context/custom-agents.js +0 -0
- package/dist/context/custom-tools.d.ts +0 -0
- package/dist/context/custom-tools.js +0 -0
- package/dist/context/git-checkpoint.d.ts +0 -0
- package/dist/context/git-checkpoint.js +0 -0
- package/dist/context/neuro-md.d.ts +0 -0
- package/dist/context/neuro-md.js +0 -0
- package/dist/context/neuroignore.d.ts +0 -0
- package/dist/context/neuroignore.js +0 -0
- package/dist/context/repo-map.d.ts +0 -0
- package/dist/context/repo-map.js +0 -0
- package/dist/context/skill-standard.d.ts +0 -0
- package/dist/context/skill-standard.js +0 -0
- package/dist/context/skill-system.d.ts +0 -0
- package/dist/context/skill-system.js +0 -0
- package/dist/context/tree-sitter.d.ts +0 -0
- package/dist/context/tree-sitter.js +0 -0
- package/dist/core/acp.d.ts +0 -0
- package/dist/core/acp.js +0 -0
- package/dist/core/api-server.d.ts +0 -0
- package/dist/core/api-server.js +0 -0
- package/dist/core/approval.d.ts +4 -0
- package/dist/core/approval.js +46 -27
- package/dist/core/auto-compact.d.ts +0 -0
- package/dist/core/auto-compact.js +0 -0
- package/dist/core/auto-mode.d.ts +0 -0
- package/dist/core/auto-mode.js +0 -0
- package/dist/core/background-session.d.ts +0 -0
- package/dist/core/background-session.js +0 -0
- package/dist/core/cicd.d.ts +0 -0
- package/dist/core/cicd.js +0 -0
- package/dist/core/cloud-sync.d.ts +0 -0
- package/dist/core/cloud-sync.js +0 -0
- package/dist/core/code-review.d.ts +0 -0
- package/dist/core/code-review.js +0 -0
- package/dist/core/completion.d.ts +0 -0
- package/dist/core/completion.js +0 -0
- package/dist/core/context.d.ts +0 -0
- package/dist/core/context.js +0 -0
- package/dist/core/diff-preview.d.ts +0 -0
- package/dist/core/diff-preview.js +8 -16
- package/dist/core/doom-loop.d.ts +0 -0
- package/dist/core/doom-loop.js +0 -0
- package/dist/core/engine.d.ts +0 -0
- package/dist/core/engine.js +0 -0
- package/dist/core/extended-thinking.d.ts +0 -0
- package/dist/core/extended-thinking.js +0 -0
- package/dist/core/fallback.d.ts +0 -0
- package/dist/core/fallback.js +0 -0
- package/dist/core/git-worktree.d.ts +0 -0
- package/dist/core/git-worktree.js +0 -0
- package/dist/core/headless.d.ts +0 -0
- package/dist/core/headless.js +0 -0
- package/dist/core/i18n.d.ts +0 -0
- package/dist/core/i18n.js +0 -0
- package/dist/core/linting.d.ts +0 -0
- package/dist/core/linting.js +0 -0
- package/dist/core/model-router.d.ts +0 -0
- package/dist/core/model-router.js +0 -0
- package/dist/core/multi-model.d.ts +0 -0
- package/dist/core/multi-model.js +0 -0
- package/dist/core/multi-session.d.ts +0 -0
- package/dist/core/multi-session.js +0 -0
- package/dist/core/multimodal.d.ts +0 -0
- package/dist/core/multimodal.js +0 -0
- package/dist/core/observability.d.ts +0 -0
- package/dist/core/observability.js +0 -0
- package/dist/core/os-sandbox.d.ts +0 -0
- package/dist/core/os-sandbox.js +0 -0
- package/dist/core/outcome-grading.d.ts +0 -0
- package/dist/core/outcome-grading.js +0 -0
- package/dist/core/output-styles.d.ts +0 -0
- package/dist/core/output-styles.js +0 -0
- package/dist/core/parallel-agents.d.ts +0 -0
- package/dist/core/parallel-agents.js +0 -0
- package/dist/core/plugin-bundle.d.ts +0 -0
- package/dist/core/plugin-bundle.js +0 -0
- package/dist/core/plugin-sdk.d.ts +0 -0
- package/dist/core/plugin-sdk.js +0 -0
- package/dist/core/prompt-cache.d.ts +0 -0
- package/dist/core/prompt-cache.js +0 -0
- package/dist/core/sandbox.d.ts +0 -0
- package/dist/core/sandbox.js +0 -0
- package/dist/core/scheduled-tasks.d.ts +0 -0
- package/dist/core/scheduled-tasks.js +0 -0
- package/dist/core/security-scanner.d.ts +0 -0
- package/dist/core/security-scanner.js +0 -0
- package/dist/core/session.d.ts +0 -0
- package/dist/core/session.js +0 -0
- package/dist/core/shell-completion.d.ts +0 -0
- package/dist/core/shell-completion.js +0 -0
- package/dist/core/smart-monitor.d.ts +0 -0
- package/dist/core/smart-monitor.js +0 -0
- package/dist/core/spec-driven.d.ts +0 -0
- package/dist/core/spec-driven.js +0 -0
- package/dist/core/spending-warnings.d.ts +0 -0
- package/dist/core/spending-warnings.js +0 -0
- package/dist/core/sub-agent.d.ts +0 -0
- package/dist/core/sub-agent.js +0 -0
- package/dist/core/telemetry.d.ts +0 -0
- package/dist/core/telemetry.js +0 -0
- package/dist/core/terminal-ux.d.ts +0 -0
- package/dist/core/terminal-ux.js +0 -0
- package/dist/core/testing.d.ts +0 -0
- package/dist/core/testing.js +0 -0
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.js +0 -0
- package/dist/core/undo-redo.d.ts +0 -0
- package/dist/core/undo-redo.js +0 -0
- package/dist/core/updater.d.ts +0 -0
- package/dist/core/updater.js +0 -0
- package/dist/core/vim-mode.d.ts +0 -0
- package/dist/core/vim-mode.js +0 -0
- package/dist/core/voice.d.ts +0 -0
- package/dist/core/voice.js +0 -0
- package/dist/core/web-dashboard.d.ts +0 -0
- package/dist/core/web-dashboard.js +0 -0
- package/dist/hooks/hooks.d.ts +0 -0
- package/dist/hooks/hooks.js +0 -0
- package/dist/hooks/llm-evaluator.d.ts +0 -0
- package/dist/hooks/llm-evaluator.js +0 -0
- package/dist/index.d.ts +0 -0
- package/dist/index.js +4 -3
- package/dist/lsp/lsp-manager.d.ts +0 -0
- package/dist/lsp/lsp-manager.js +0 -0
- package/dist/mcp/client.d.ts +0 -0
- package/dist/mcp/client.js +0 -0
- package/dist/mcp/mcp-apps.d.ts +0 -0
- package/dist/mcp/mcp-apps.js +0 -0
- package/dist/tools/bash.d.ts +0 -0
- package/dist/tools/bash.js +0 -0
- package/dist/tools/browser.d.ts +0 -0
- package/dist/tools/browser.js +0 -0
- package/dist/tools/extended.d.ts +0 -0
- package/dist/tools/extended.js +0 -0
- package/dist/tools/file.d.ts +0 -0
- package/dist/tools/file.js +0 -0
- package/dist/tools/github.d.ts +0 -0
- package/dist/tools/github.js +0 -0
- package/dist/tools/index.d.ts +0 -0
- package/dist/tools/index.js +0 -0
- package/dist/tools/memory.d.ts +0 -0
- package/dist/tools/memory.js +0 -0
- package/dist/tools/registry.d.ts +0 -0
- package/dist/tools/registry.js +0 -0
- package/dist/tools/web.d.ts +0 -0
- package/dist/tools/web.js +0 -0
- package/dist/ui/renderer.d.ts +10 -63
- package/dist/ui/renderer.js +170 -155
- package/dist/ui/theme.d.ts +5 -0
- package/dist/ui/theme.js +99 -45
- package/dist/utils/crosspath.d.ts +0 -0
- package/dist/utils/crosspath.js +0 -0
- package/package.json +1 -1
|
File without changes
|
package/dist/advisor/advisor.js
CHANGED
|
File without changes
|
package/dist/agents/base.d.ts
CHANGED
|
File without changes
|
package/dist/agents/base.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/agents/team.d.ts
CHANGED
|
File without changes
|
package/dist/agents/team.js
CHANGED
|
File without changes
|
package/dist/api/models.d.ts
CHANGED
|
File without changes
|
package/dist/api/models.js
CHANGED
|
File without changes
|
package/dist/api/ollama.d.ts
CHANGED
|
File without changes
|
package/dist/api/ollama.js
CHANGED
|
File without changes
|
package/dist/api/openrouter.d.ts
CHANGED
|
File without changes
|
package/dist/api/openrouter.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/config/config.d.ts
CHANGED
|
File without changes
|
package/dist/config/config.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/context/neuro-md.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/context/repo-map.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/acp.d.ts
CHANGED
|
File without changes
|
package/dist/core/acp.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/core/api-server.js
CHANGED
|
File without changes
|
package/dist/core/approval.d.ts
CHANGED
|
@@ -64,6 +64,10 @@ export declare class ApprovalSystem {
|
|
|
64
64
|
requestBatchApproval(toolName: string, args: Record<string, unknown>, risk: 'low' | 'medium' | 'high', description?: string): Promise<ApprovalResult>;
|
|
65
65
|
private processBatch;
|
|
66
66
|
private isBlacklisted;
|
|
67
|
+
/**
|
|
68
|
+
* Format tool arguments as a compact one-liner for Claude Code-style display
|
|
69
|
+
*/
|
|
70
|
+
private formatCompactArgs;
|
|
67
71
|
private isWhitelisted;
|
|
68
72
|
private getPattern;
|
|
69
73
|
private getAlwaysKey;
|
package/dist/core/approval.js
CHANGED
|
@@ -171,27 +171,20 @@ export class ApprovalSystem {
|
|
|
171
171
|
// --- Interactive Prompt ---
|
|
172
172
|
async promptUser(toolName, args, risk, description) {
|
|
173
173
|
const riskColors = { low: chalk.green, medium: chalk.yellow, high: chalk.red };
|
|
174
|
-
const
|
|
174
|
+
const riskLabels = { low: 'low', medium: 'med', high: 'high' };
|
|
175
|
+
// Claude Code style: compact, minimal approval prompt
|
|
175
176
|
console.log();
|
|
176
|
-
console.log(` ${
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
177
|
+
console.log(` ${chalk.dim('┌─')} ${chalk.bold(toolName)} ${riskColors[risk](`[${riskLabels[risk]}]`)}`);
|
|
178
|
+
// Show key argument on one line
|
|
179
|
+
const keyArg = this.formatCompactArgs(toolName, args);
|
|
180
|
+
if (keyArg) {
|
|
181
|
+
console.log(` ${chalk.dim('│')} ${chalk.gray(keyArg)}`);
|
|
180
182
|
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
console.log(` ${chalk.cyan('Arguments:')}`);
|
|
184
|
-
for (const [key, value] of argEntries.slice(0, 5)) {
|
|
185
|
-
const val = typeof value === 'string' && value.length > 80 ? value.slice(0, 80) + '...' : String(value);
|
|
186
|
-
console.log(` ${chalk.gray(key)}: ${chalk.white(val)}`);
|
|
187
|
-
}
|
|
188
|
-
if (argEntries.length > 5) {
|
|
189
|
-
console.log(` ${chalk.gray(`...and ${argEntries.length - 5} more`)}`);
|
|
190
|
-
}
|
|
183
|
+
if (description) {
|
|
184
|
+
console.log(` ${chalk.dim('│')} ${chalk.gray(description.slice(0, 100))}`);
|
|
191
185
|
}
|
|
192
|
-
console.log();
|
|
193
|
-
|
|
194
|
-
const answer = await this.readline(`${riskIcons[risk]} Allow ${toolName}? [y/n/a/A/e/d]: `);
|
|
186
|
+
console.log(` ${chalk.dim('└─')} ${chalk.gray('y')}yes ${chalk.gray('n')}no ${chalk.gray('a')}session ${chalk.gray('A')}always ${chalk.gray('e')}edit ${chalk.gray('d')}diff`);
|
|
187
|
+
const answer = await this.readline(` ${riskColors[risk]('?')} Allow? `);
|
|
195
188
|
const startTime = Date.now();
|
|
196
189
|
switch (answer.toLowerCase().trim()) {
|
|
197
190
|
case 'y':
|
|
@@ -277,19 +270,18 @@ export class ApprovalSystem {
|
|
|
277
270
|
groups.get(item.toolName).push(item);
|
|
278
271
|
}
|
|
279
272
|
console.log();
|
|
280
|
-
console.log(chalk.bold
|
|
273
|
+
console.log(` ${chalk.dim('┌─')} ${chalk.bold(`Batch (${batch.length} ops)`)}`);
|
|
281
274
|
for (const [toolName, items] of groups) {
|
|
282
|
-
console.log(` ${chalk.
|
|
283
|
-
for (const item of items.slice(0,
|
|
275
|
+
console.log(` ${chalk.dim('│')} ${chalk.bold(toolName)} ${chalk.gray(`${items.length} ops`)}`);
|
|
276
|
+
for (const item of items.slice(0, 2)) {
|
|
284
277
|
const preview = item.args.path || item.args.command || item.description || '';
|
|
285
|
-
console.log(`
|
|
278
|
+
console.log(` ${chalk.dim('│')} ${chalk.gray(String(preview).slice(0, 60))}`);
|
|
286
279
|
}
|
|
287
|
-
if (items.length >
|
|
288
|
-
console.log(`
|
|
280
|
+
if (items.length > 2)
|
|
281
|
+
console.log(` ${chalk.dim('│')} ${chalk.gray(`+${items.length - 2} more`)}`);
|
|
289
282
|
}
|
|
290
|
-
console.log();
|
|
291
|
-
|
|
292
|
-
const answer = await this.readline(' Batch approve? [y/n/r]: ');
|
|
283
|
+
console.log(` ${chalk.dim('└─')} ${chalk.gray('y')}all ${chalk.gray('n')}none ${chalk.gray('r')}review`);
|
|
284
|
+
const answer = await this.readline(` ${chalk.yellow('?')} Batch? `);
|
|
293
285
|
switch (answer.toLowerCase().trim()) {
|
|
294
286
|
case 'y':
|
|
295
287
|
case 'yes':
|
|
@@ -314,6 +306,33 @@ export class ApprovalSystem {
|
|
|
314
306
|
}
|
|
315
307
|
// --- Helpers ---
|
|
316
308
|
isBlacklisted(toolName) { return this.blacklist.has(toolName); }
|
|
309
|
+
/**
|
|
310
|
+
* Format tool arguments as a compact one-liner for Claude Code-style display
|
|
311
|
+
*/
|
|
312
|
+
formatCompactArgs(toolName, args) {
|
|
313
|
+
switch (toolName) {
|
|
314
|
+
case 'read_file':
|
|
315
|
+
case 'edit_file':
|
|
316
|
+
case 'write_file':
|
|
317
|
+
case 'delete_file':
|
|
318
|
+
case 'apply_diff':
|
|
319
|
+
return String(args.path || '');
|
|
320
|
+
case 'run_command':
|
|
321
|
+
return String(args.command || '').slice(0, 80);
|
|
322
|
+
case 'search_files':
|
|
323
|
+
return `"${args.query || ''}" in ${args.path || '.'}`;
|
|
324
|
+
case 'list_directory':
|
|
325
|
+
return String(args.path || args.directory || '.');
|
|
326
|
+
case 'web_search':
|
|
327
|
+
return `"${args.query || ''}"`;
|
|
328
|
+
case 'web_fetch':
|
|
329
|
+
return String(args.url || '').slice(0, 60);
|
|
330
|
+
default: {
|
|
331
|
+
const entries = Object.entries(args).slice(0, 2);
|
|
332
|
+
return entries.map(([k, v]) => `${k}=${typeof v === 'string' ? v.slice(0, 40) : JSON.stringify(v)}`).join(' ');
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
}
|
|
317
336
|
isWhitelisted(toolName) {
|
|
318
337
|
if (this.whitelist.has(toolName))
|
|
319
338
|
return true;
|
|
File without changes
|
|
File without changes
|
package/dist/core/auto-mode.d.ts
CHANGED
|
File without changes
|
package/dist/core/auto-mode.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/cicd.d.ts
CHANGED
|
File without changes
|
package/dist/core/cicd.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/core/cloud-sync.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/core/code-review.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/core/completion.js
CHANGED
|
File without changes
|
package/dist/core/context.d.ts
CHANGED
|
File without changes
|
package/dist/core/context.js
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -65,10 +65,9 @@ export class DiffPreview {
|
|
|
65
65
|
*/
|
|
66
66
|
static renderDiff(diff, contextLines = 3) {
|
|
67
67
|
const { filePath, added, removed, lines } = diff;
|
|
68
|
+
// Claude Code style: clean diff header with +/-
|
|
68
69
|
console.log();
|
|
69
|
-
console.log(` ${chalk.
|
|
70
|
-
console.log(` ${chalk.white(filePath)} ${chalk.green(`+${added}`)} ${chalk.red(`-${removed}`)}`);
|
|
71
|
-
console.log(` ${chalk.gray('─'.repeat(50))}`);
|
|
70
|
+
console.log(` ${chalk.dim('───')} ${chalk.bold(filePath)} ${chalk.green(`+${added}`)} ${chalk.red(`-${removed}`)}`);
|
|
72
71
|
let inChange = false;
|
|
73
72
|
let contextCount = 0;
|
|
74
73
|
for (const line of lines) {
|
|
@@ -86,43 +85,36 @@ export class DiffPreview {
|
|
|
86
85
|
case 'context':
|
|
87
86
|
contextCount++;
|
|
88
87
|
if (inChange) {
|
|
89
|
-
// Show a few context lines after a change
|
|
90
88
|
if (contextCount <= contextLines) {
|
|
91
|
-
console.log(` ${chalk.
|
|
89
|
+
console.log(` ${chalk.dim(' ')} ${chalk.dim(line.content)}`);
|
|
92
90
|
}
|
|
93
91
|
else {
|
|
94
92
|
inChange = false;
|
|
95
|
-
console.log(` ${chalk.
|
|
93
|
+
console.log(` ${chalk.dim(' ...')}`);
|
|
96
94
|
}
|
|
97
95
|
}
|
|
98
96
|
else if (contextCount <= 1) {
|
|
99
|
-
|
|
100
|
-
console.log(` ${chalk.gray(' ')} ${chalk.gray(line.content)}`);
|
|
97
|
+
console.log(` ${chalk.dim(' ')} ${chalk.dim(line.content)}`);
|
|
101
98
|
}
|
|
102
99
|
break;
|
|
103
100
|
}
|
|
104
101
|
}
|
|
105
|
-
console.log(` ${chalk.
|
|
106
|
-
console.log(` ${chalk.green(`+${added} additions`)} ${chalk.red(`-${removed} deletions`)}`);
|
|
107
|
-
console.log();
|
|
102
|
+
console.log(` ${chalk.dim(`${chalk.green(`+${added}`)} ${chalk.red(`-${removed}`)}`)}`);
|
|
108
103
|
}
|
|
109
104
|
/**
|
|
110
105
|
* Render a compact summary of multiple diffs
|
|
111
106
|
*/
|
|
112
107
|
static renderSummary(diffs) {
|
|
113
108
|
console.log();
|
|
114
|
-
console.log(` ${chalk.bold.cyan('━━━ Changes Summary ━━━')}`);
|
|
115
109
|
for (const diff of diffs) {
|
|
116
110
|
const statusLabel = diff.added > 0 && diff.removed === 0 ? chalk.green('created') :
|
|
117
111
|
diff.added === 0 && diff.removed > 0 ? chalk.red('deleted') :
|
|
118
112
|
chalk.yellow('modified');
|
|
119
|
-
console.log(` ${statusLabel} ${diff.filePath
|
|
113
|
+
console.log(` ${statusLabel} ${diff.filePath} ${chalk.green(`+${diff.added}`)} ${chalk.red(`-${diff.removed}`)}`);
|
|
120
114
|
}
|
|
121
115
|
const totalAdded = diffs.reduce((s, d) => s + d.added, 0);
|
|
122
116
|
const totalRemoved = diffs.reduce((s, d) => s + d.removed, 0);
|
|
123
|
-
console.log(` ${chalk.
|
|
124
|
-
console.log(` ${chalk.bold('Total:')} ${chalk.green(`+${totalAdded}`)} ${chalk.red(`-${totalRemoved}`)}`);
|
|
125
|
-
console.log();
|
|
117
|
+
console.log(` ${chalk.dim(`${chalk.green(`+${totalAdded}`)} ${chalk.red(`-${totalRemoved}`)}`)}`);
|
|
126
118
|
}
|
|
127
119
|
/**
|
|
128
120
|
* Ask user to confirm diff changes
|
package/dist/core/doom-loop.d.ts
CHANGED
|
File without changes
|
package/dist/core/doom-loop.js
CHANGED
|
File without changes
|
package/dist/core/engine.d.ts
CHANGED
|
File without changes
|
package/dist/core/engine.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/fallback.d.ts
CHANGED
|
File without changes
|
package/dist/core/fallback.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/headless.d.ts
CHANGED
|
File without changes
|
package/dist/core/headless.js
CHANGED
|
File without changes
|
package/dist/core/i18n.d.ts
CHANGED
|
File without changes
|
package/dist/core/i18n.js
CHANGED
|
File without changes
|
package/dist/core/linting.d.ts
CHANGED
|
File without changes
|
package/dist/core/linting.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/multi-model.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/multimodal.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/os-sandbox.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/plugin-sdk.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/sandbox.d.ts
CHANGED
|
File without changes
|
package/dist/core/sandbox.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/session.d.ts
CHANGED
|
File without changes
|
package/dist/core/session.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/spec-driven.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/core/sub-agent.d.ts
CHANGED
|
File without changes
|
package/dist/core/sub-agent.js
CHANGED
|
File without changes
|
package/dist/core/telemetry.d.ts
CHANGED
|
File without changes
|
package/dist/core/telemetry.js
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/core/terminal-ux.js
CHANGED
|
File without changes
|
package/dist/core/testing.d.ts
CHANGED
|
File without changes
|
package/dist/core/testing.js
CHANGED
|
File without changes
|
package/dist/core/types.d.ts
CHANGED
package/dist/core/types.js
CHANGED
|
File without changes
|
package/dist/core/undo-redo.d.ts
CHANGED
|
File without changes
|
package/dist/core/undo-redo.js
CHANGED
|
File without changes
|
package/dist/core/updater.d.ts
CHANGED
|
File without changes
|
package/dist/core/updater.js
CHANGED
|
File without changes
|
package/dist/core/vim-mode.d.ts
CHANGED
|
File without changes
|
package/dist/core/vim-mode.js
CHANGED
|
File without changes
|
package/dist/core/voice.d.ts
CHANGED
|
File without changes
|
package/dist/core/voice.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/hooks/hooks.d.ts
CHANGED
|
File without changes
|
package/dist/hooks/hooks.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/index.d.ts
CHANGED
|
File without changes
|
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ import { HeadlessMode } from './core/headless.js';
|
|
|
16
16
|
import { ShellCompletionGenerator } from './core/shell-completion.js';
|
|
17
17
|
import chalk from 'chalk';
|
|
18
18
|
import { AutoUpdater } from './core/updater.js';
|
|
19
|
-
const VERSION = '4.
|
|
19
|
+
const VERSION = '4.3.0';
|
|
20
20
|
// ---- Global Error Handlers (prevent crashes) ----
|
|
21
21
|
process.on('unhandledRejection', (reason) => {
|
|
22
22
|
console.error(chalk.red('\n⚠️ Unhandled promise rejection:'), reason);
|
|
@@ -420,6 +420,7 @@ async function startInteractive(options) {
|
|
|
420
420
|
const updater = new AutoUpdater({ currentVersion: VERSION });
|
|
421
421
|
const updateCheck = updater.checkOnStartup(); // Fire and forget — don't block startup
|
|
422
422
|
// Print banner
|
|
423
|
+
engine.ui.setVersion(VERSION);
|
|
423
424
|
engine.ui.banner();
|
|
424
425
|
const theme = engine.ui.theme;
|
|
425
426
|
const permMode = engine.approval.getMode();
|
|
@@ -444,7 +445,7 @@ async function startInteractive(options) {
|
|
|
444
445
|
const rl = createInterface({
|
|
445
446
|
input: process.stdin,
|
|
446
447
|
output: process.stdout,
|
|
447
|
-
prompt: chalk.
|
|
448
|
+
prompt: chalk.hex('#d97706')('> '),
|
|
448
449
|
historySize: 100,
|
|
449
450
|
completer: completionEngine.complete,
|
|
450
451
|
});
|
|
@@ -532,7 +533,7 @@ async function startInteractive(options) {
|
|
|
532
533
|
engine.ui.success(`Theme: ${args[0]}`);
|
|
533
534
|
}
|
|
534
535
|
else {
|
|
535
|
-
console.log('Available themes: dracula, dark, nord, light');
|
|
536
|
+
console.log('Available themes: claude, dracula, dark, nord, light');
|
|
536
537
|
}
|
|
537
538
|
break;
|
|
538
539
|
case 'resume':
|
|
File without changes
|
package/dist/lsp/lsp-manager.js
CHANGED
|
File without changes
|
package/dist/mcp/client.d.ts
CHANGED
|
File without changes
|
package/dist/mcp/client.js
CHANGED
|
File without changes
|
package/dist/mcp/mcp-apps.d.ts
CHANGED
|
File without changes
|
package/dist/mcp/mcp-apps.js
CHANGED
|
File without changes
|
package/dist/tools/bash.d.ts
CHANGED
|
File without changes
|
package/dist/tools/bash.js
CHANGED
|
File without changes
|
package/dist/tools/browser.d.ts
CHANGED
|
File without changes
|