erosolar-cli 2.1.248 → 2.1.249
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/capabilities/orchestrationCapability.d.ts +175 -3
- package/dist/capabilities/orchestrationCapability.d.ts.map +1 -1
- package/dist/capabilities/orchestrationCapability.js +614 -85
- package/dist/capabilities/orchestrationCapability.js.map +1 -1
- package/dist/core/agentOrchestrator.d.ts.map +1 -1
- package/dist/core/agentOrchestrator.js +18 -1
- package/dist/core/agentOrchestrator.js.map +1 -1
- package/dist/shell/interactiveShell.d.ts +4 -0
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +40 -19
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/ui/UnifiedUIRenderer.d.ts +16 -0
- package/dist/ui/UnifiedUIRenderer.d.ts.map +1 -1
- package/dist/ui/UnifiedUIRenderer.js +74 -16
- package/dist/ui/UnifiedUIRenderer.js.map +1 -1
- package/package.json +2 -2
|
@@ -1836,7 +1836,7 @@ export class InteractiveShell {
|
|
|
1836
1836
|
}
|
|
1837
1837
|
setProcessingStatus(detail) {
|
|
1838
1838
|
this.latestTokenUsage = { used: null, limit: this.latestTokenUsage.limit };
|
|
1839
|
-
this.statusTracker.setBase('
|
|
1839
|
+
this.statusTracker.setBase('Processing', {
|
|
1840
1840
|
detail: this.describeStatusDetail(detail),
|
|
1841
1841
|
tone: 'info',
|
|
1842
1842
|
});
|
|
@@ -6454,8 +6454,8 @@ export class InteractiveShell {
|
|
|
6454
6454
|
this.currentTaskType = classifyTaskType(request);
|
|
6455
6455
|
this.currentToolCalls = [];
|
|
6456
6456
|
this.clearToolUsageMeta();
|
|
6457
|
-
this.renderer?.setActivity('
|
|
6458
|
-
this.uiAdapter.startProcessing('
|
|
6457
|
+
this.renderer?.setActivity('Processing');
|
|
6458
|
+
this.uiAdapter.startProcessing('Processing');
|
|
6459
6459
|
this.setProcessingStatus();
|
|
6460
6460
|
this.beginAiRuntime();
|
|
6461
6461
|
let responseText = '';
|
|
@@ -6554,7 +6554,7 @@ export class InteractiveShell {
|
|
|
6554
6554
|
display.showSystemMessage(`Next steps: ${orchestratorResult.recommendations.join(' | ')}`);
|
|
6555
6555
|
}
|
|
6556
6556
|
// Update renderer status to show completion
|
|
6557
|
-
this.renderer?.setActivity('
|
|
6557
|
+
this.renderer?.setActivity('Done');
|
|
6558
6558
|
}
|
|
6559
6559
|
// AlphaZero: Check for failure in response
|
|
6560
6560
|
const failure = detectFailure(responseText, {
|
|
@@ -7405,15 +7405,16 @@ Please fix these now. Re-run build/tests as needed. End with TASK_FULLY_COMPLETE
|
|
|
7405
7405
|
reasoningEffort: this.sessionState.reasoningEffort,
|
|
7406
7406
|
};
|
|
7407
7407
|
this.agent = this.runtimeSession.createAgent(selection, {
|
|
7408
|
-
onRequestReceived: (
|
|
7409
|
-
|
|
7410
|
-
|
|
7411
|
-
this.renderer?.setActivity(activity);
|
|
7408
|
+
onRequestReceived: (_requestPreview) => {
|
|
7409
|
+
// Show clean, user-friendly status (no raw request preview)
|
|
7410
|
+
this.renderer?.setActivity('Processing');
|
|
7412
7411
|
},
|
|
7413
7412
|
onBeforeFirstToolCall: (toolNames) => {
|
|
7414
7413
|
const primaryTool = toolNames[0];
|
|
7415
7414
|
if (primaryTool) {
|
|
7416
|
-
|
|
7415
|
+
// User-friendly tool descriptions
|
|
7416
|
+
const friendlyName = this.getFriendlyToolName(primaryTool);
|
|
7417
|
+
this.renderer?.setActivity(friendlyName);
|
|
7417
7418
|
}
|
|
7418
7419
|
return undefined;
|
|
7419
7420
|
},
|
|
@@ -7570,16 +7571,8 @@ Please fix these now. Re-run build/tests as needed. End with TASK_FULLY_COMPLETE
|
|
|
7570
7571
|
// Update activity status to show what tool is being executed
|
|
7571
7572
|
if (isStart) {
|
|
7572
7573
|
this.toolsUsedThisRun.push(toolName);
|
|
7573
|
-
// Show
|
|
7574
|
-
|
|
7575
|
-
if (toolName === 'execute_bash' && args?.['command']) {
|
|
7576
|
-
const cmd = String(args['command']).slice(0, 40);
|
|
7577
|
-
activity = `$ ${cmd}${String(args['command']).length > 40 ? '...' : ''}`;
|
|
7578
|
-
}
|
|
7579
|
-
else if (toolName === 'read_file' && args?.['file_path']) {
|
|
7580
|
-
const path = String(args['file_path']).split('/').pop() || args['file_path'];
|
|
7581
|
-
activity = `Reading ${path}`;
|
|
7582
|
-
}
|
|
7574
|
+
// Show user-friendly activity for tools
|
|
7575
|
+
const activity = this.getFriendlyToolName(toolName);
|
|
7583
7576
|
this.renderer?.setActivity(activity);
|
|
7584
7577
|
// Token count updated from real provider usage - do not estimate
|
|
7585
7578
|
}
|
|
@@ -8351,6 +8344,34 @@ Please fix these now. Re-run build/tests as needed. End with TASK_FULLY_COMPLETE
|
|
|
8351
8344
|
? `${cleaned.slice(0, maxLength - 3)}...`
|
|
8352
8345
|
: cleaned;
|
|
8353
8346
|
}
|
|
8347
|
+
/**
|
|
8348
|
+
* Get a user-friendly name for a tool to display in the status line.
|
|
8349
|
+
*/
|
|
8350
|
+
getFriendlyToolName(toolName) {
|
|
8351
|
+
const friendlyNames = {
|
|
8352
|
+
'Read': 'Reading file',
|
|
8353
|
+
'read_file': 'Reading file',
|
|
8354
|
+
'Write': 'Writing file',
|
|
8355
|
+
'write_file': 'Writing file',
|
|
8356
|
+
'Edit': 'Editing file',
|
|
8357
|
+
'edit_file': 'Editing file',
|
|
8358
|
+
'Bash': 'Running command',
|
|
8359
|
+
'bash': 'Running command',
|
|
8360
|
+
'Grep': 'Searching code',
|
|
8361
|
+
'grep': 'Searching code',
|
|
8362
|
+
'Glob': 'Finding files',
|
|
8363
|
+
'glob': 'Finding files',
|
|
8364
|
+
'WebFetch': 'Fetching web content',
|
|
8365
|
+
'web_fetch': 'Fetching web content',
|
|
8366
|
+
'WebSearch': 'Searching the web',
|
|
8367
|
+
'web_search': 'Searching the web',
|
|
8368
|
+
'Task': 'Running task',
|
|
8369
|
+
'task': 'Running task',
|
|
8370
|
+
'TodoWrite': 'Updating tasks',
|
|
8371
|
+
'NotebookEdit': 'Editing notebook',
|
|
8372
|
+
};
|
|
8373
|
+
return friendlyNames[toolName] || 'Working';
|
|
8374
|
+
}
|
|
8354
8375
|
splitThinkingResponse(content) {
|
|
8355
8376
|
if (!content?.includes('<thinking') && !content?.includes('<response')) {
|
|
8356
8377
|
return null;
|