erosolar-cli 2.1.269 ā 2.1.271
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/index.d.ts +0 -1
- package/dist/capabilities/index.d.ts.map +1 -1
- package/dist/capabilities/index.js +1 -1
- package/dist/capabilities/index.js.map +1 -1
- package/dist/capabilities/orchestrationCapability.d.ts.map +1 -1
- package/dist/capabilities/orchestrationCapability.js +107 -62
- package/dist/capabilities/orchestrationCapability.js.map +1 -1
- package/dist/core/iMessageVerification.d.ts +1 -1
- package/dist/core/infrastructureTemplates.d.ts +1 -1
- package/dist/core/infrastructureTemplates.js +5 -5
- package/dist/core/infrastructureTemplates.js.map +1 -1
- package/dist/core/persistentObjectiveStore.d.ts +13 -1
- package/dist/core/persistentObjectiveStore.d.ts.map +1 -1
- package/dist/core/persistentObjectiveStore.js.map +1 -1
- package/dist/core/securityDeliverableGenerator.d.ts +1 -1
- package/dist/core/securityDeliverableGenerator.d.ts.map +1 -1
- package/dist/core/securityDeliverableGenerator.js +3 -3
- package/dist/core/securityDeliverableGenerator.js.map +1 -1
- package/dist/core/toolRuntime.d.ts.map +1 -1
- package/dist/core/toolRuntime.js +11 -5
- package/dist/core/toolRuntime.js.map +1 -1
- package/dist/core/types.js.map +1 -1
- package/dist/core/unifiedOrchestrator.d.ts +265 -77
- package/dist/core/unifiedOrchestrator.d.ts.map +1 -1
- package/dist/core/unifiedOrchestrator.js +915 -254
- package/dist/core/unifiedOrchestrator.js.map +1 -1
- package/dist/providers/anthropicProvider.d.ts +1 -1
- package/dist/shell/interactiveShell.d.ts +1 -1
- package/dist/shell/interactiveShell.d.ts.map +1 -1
- package/dist/shell/interactiveShell.js +188 -207
- package/dist/shell/interactiveShell.js.map +1 -1
- package/dist/tools/tao/rl.js +1 -1
- package/dist/tools/tao/rl.js.map +1 -1
- package/dist/tools/taoTools.js +5 -5
- package/dist/tools/taoTools.js.map +1 -1
- package/package.json +1 -1
- package/dist/capabilities/unifiedInvestigationCapability.d.ts +0 -22
- package/dist/capabilities/unifiedInvestigationCapability.d.ts.map +0 -1
- package/dist/capabilities/unifiedInvestigationCapability.js +0 -41
- package/dist/capabilities/unifiedInvestigationCapability.js.map +0 -1
- package/dist/core/agentOrchestrator.d.ts +0 -400
- package/dist/core/agentOrchestrator.d.ts.map +0 -1
- package/dist/core/agentOrchestrator.js +0 -2133
- package/dist/core/agentOrchestrator.js.map +0 -1
- package/dist/core/autoExecutionOrchestrator.d.ts +0 -172
- package/dist/core/autoExecutionOrchestrator.d.ts.map +0 -1
- package/dist/core/autoExecutionOrchestrator.js +0 -591
- package/dist/core/autoExecutionOrchestrator.js.map +0 -1
- package/dist/core/dualAgentOrchestrator.d.ts +0 -34
- package/dist/core/dualAgentOrchestrator.d.ts.map +0 -1
- package/dist/core/dualAgentOrchestrator.js +0 -94
- package/dist/core/dualAgentOrchestrator.js.map +0 -1
- package/dist/core/failureRecovery.d.ts +0 -26
- package/dist/core/failureRecovery.d.ts.map +0 -1
- package/dist/core/failureRecovery.js +0 -54
- package/dist/core/failureRecovery.js.map +0 -1
- package/dist/core/intelligentTestFlows.d.ts +0 -45
- package/dist/core/intelligentTestFlows.d.ts.map +0 -1
- package/dist/core/intelligentTestFlows.js +0 -25
- package/dist/core/intelligentTestFlows.js.map +0 -1
- package/dist/core/learningPersistence.d.ts +0 -58
- package/dist/core/learningPersistence.d.ts.map +0 -1
- package/dist/core/learningPersistence.js +0 -46
- package/dist/core/learningPersistence.js.map +0 -1
- package/dist/core/metricsTracker.d.ts +0 -40
- package/dist/core/metricsTracker.d.ts.map +0 -1
- package/dist/core/metricsTracker.js +0 -83
- package/dist/core/metricsTracker.js.map +0 -1
- package/dist/core/orchestration.d.ts +0 -534
- package/dist/core/orchestration.d.ts.map +0 -1
- package/dist/core/orchestration.js +0 -2009
- package/dist/core/orchestration.js.map +0 -1
- package/dist/core/performanceMonitor.d.ts +0 -30
- package/dist/core/performanceMonitor.d.ts.map +0 -1
- package/dist/core/performanceMonitor.js +0 -39
- package/dist/core/performanceMonitor.js.map +0 -1
- package/dist/core/selfEvolution.d.ts +0 -61
- package/dist/core/selfEvolution.d.ts.map +0 -1
- package/dist/core/selfEvolution.js +0 -38
- package/dist/core/selfEvolution.js.map +0 -1
- package/dist/core/selfImprovement.d.ts +0 -82
- package/dist/core/selfImprovement.d.ts.map +0 -1
- package/dist/core/selfImprovement.js +0 -25
- package/dist/core/selfImprovement.js.map +0 -1
- package/dist/core/unifiedFraudOrchestrator.d.ts +0 -738
- package/dist/core/unifiedFraudOrchestrator.d.ts.map +0 -1
- package/dist/core/unifiedFraudOrchestrator.js +0 -3312
- package/dist/core/unifiedFraudOrchestrator.js.map +0 -1
- package/dist/core/unifiedRealOrchestrator.d.ts +0 -126
- package/dist/core/unifiedRealOrchestrator.d.ts.map +0 -1
- package/dist/core/unifiedRealOrchestrator.js +0 -475
- package/dist/core/unifiedRealOrchestrator.js.map +0 -1
- package/dist/core/userDefenseOrchestrator.d.ts +0 -202
- package/dist/core/userDefenseOrchestrator.d.ts.map +0 -1
- package/dist/core/userDefenseOrchestrator.js +0 -1006
- package/dist/core/userDefenseOrchestrator.js.map +0 -1
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.d.ts +0 -3
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.d.ts.map +0 -1
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.js +0 -14
- package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.js.map +0 -1
- package/dist/tools/frontendTestingTools.d.ts +0 -9
- package/dist/tools/frontendTestingTools.d.ts.map +0 -1
- package/dist/tools/frontendTestingTools.js +0 -291
- package/dist/tools/frontendTestingTools.js.map +0 -1
- package/dist/tools/unifiedInvestigationTools.d.ts +0 -19
- package/dist/tools/unifiedInvestigationTools.d.ts.map +0 -1
- package/dist/tools/unifiedInvestigationTools.js +0 -1163
- package/dist/tools/unifiedInvestigationTools.js.map +0 -1
- package/scripts/human-verification.mjs +0 -380
- package/scripts/isolated-verification-runner.mjs +0 -364
- package/scripts/isolated-verification-wrapper.mjs +0 -276
- package/scripts/verify-task-completion.mjs +0 -143
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Task Completion Verification Script
|
|
5
|
-
*
|
|
6
|
-
* This script should be called AFTER an assistant indicates task completion
|
|
7
|
-
* to perform comprehensive human-centered verification.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { HumanVerification } from './human-verification.mjs';
|
|
11
|
-
import { readFileSync, existsSync } from 'fs';
|
|
12
|
-
|
|
13
|
-
class TaskCompletionVerifier {
|
|
14
|
-
constructor() {
|
|
15
|
-
this.verifier = new HumanVerification();
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Main verification workflow
|
|
20
|
-
*/
|
|
21
|
-
async verify(taskDescription, changes = {}) {
|
|
22
|
-
console.log('š TASK COMPLETION VERIFICATION');
|
|
23
|
-
console.log('================================');
|
|
24
|
-
|
|
25
|
-
// Auto-detect changes if not provided
|
|
26
|
-
const detectedChanges = Object.keys(changes).length > 0
|
|
27
|
-
? changes
|
|
28
|
-
: await this.detectRecentChanges();
|
|
29
|
-
|
|
30
|
-
// Get user context from environment or defaults
|
|
31
|
-
const userContext = this.getUserContext();
|
|
32
|
-
|
|
33
|
-
// Run human verification
|
|
34
|
-
const report = await this.verifier.verifyTaskCompletion(
|
|
35
|
-
taskDescription,
|
|
36
|
-
detectedChanges,
|
|
37
|
-
userContext
|
|
38
|
-
);
|
|
39
|
-
|
|
40
|
-
// Generate actionable summary
|
|
41
|
-
this.generateActionableSummary(report);
|
|
42
|
-
|
|
43
|
-
return report;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Auto-detect recent changes in the workspace
|
|
48
|
-
*/
|
|
49
|
-
async detectRecentChanges() {
|
|
50
|
-
const changes = {};
|
|
51
|
-
|
|
52
|
-
// Check for recently modified files
|
|
53
|
-
const recentFiles = [
|
|
54
|
-
'scripts/human-verification.mjs',
|
|
55
|
-
'scripts/verify-task-completion.mjs',
|
|
56
|
-
'package.json'
|
|
57
|
-
];
|
|
58
|
-
|
|
59
|
-
for (const file of recentFiles) {
|
|
60
|
-
if (existsSync(file)) {
|
|
61
|
-
try {
|
|
62
|
-
const content = readFileSync(file, 'utf8');
|
|
63
|
-
changes[file] = content.substring(0, 500) + '...'; // Truncate for display
|
|
64
|
-
} catch (error) {
|
|
65
|
-
changes[file] = `[Error reading file: ${error.message}]`;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
return changes;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Get user context for better verification
|
|
75
|
-
*/
|
|
76
|
-
getUserContext() {
|
|
77
|
-
return {
|
|
78
|
-
// Default context - in real usage, this would come from user profile
|
|
79
|
-
technicalLevel: 'intermediate',
|
|
80
|
-
projectType: 'cli-tool',
|
|
81
|
-
urgency: 'standard',
|
|
82
|
-
learningPreference: 'balanced'
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Generate actionable summary for the user
|
|
88
|
-
*/
|
|
89
|
-
generateActionableSummary(report) {
|
|
90
|
-
console.log('\nšÆ ACTIONABLE SUMMARY');
|
|
91
|
-
console.log('====================');
|
|
92
|
-
|
|
93
|
-
if (report.overallStatus === 'ā
SUCCESS') {
|
|
94
|
-
console.log('ā
Task completed successfully!');
|
|
95
|
-
console.log(' The solution appears to meet your needs.');
|
|
96
|
-
console.log(' Consider these next steps:');
|
|
97
|
-
console.log(' 1. Test the implementation in your environment');
|
|
98
|
-
console.log(' 2. Provide feedback on any adjustments needed');
|
|
99
|
-
console.log(' 3. Document any learnings for future reference');
|
|
100
|
-
} else {
|
|
101
|
-
console.log('ā ļø Task needs attention');
|
|
102
|
-
console.log(' Please review these areas:');
|
|
103
|
-
|
|
104
|
-
report.recommendations.forEach((rec, index) => {
|
|
105
|
-
console.log(` ${index + 1}. ${rec}`);
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
console.log('\nš” Suggested actions:');
|
|
109
|
-
console.log(' 1. Review the specific areas flagged above');
|
|
110
|
-
console.log(' 2. Test edge cases and error conditions');
|
|
111
|
-
console.log(' 3. Consider if the solution truly solves your problem');
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
console.log('\nš¤ HUMAN VERIFICATION COMPLETE');
|
|
115
|
-
console.log('==============================');
|
|
116
|
-
console.log('Remember: This verification complements technical validation.');
|
|
117
|
-
console.log('Always trust your own judgment about whether the solution');
|
|
118
|
-
console.log('actually meets your needs in practice.');
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// Export for use in other scripts
|
|
123
|
-
export { TaskCompletionVerifier };
|
|
124
|
-
|
|
125
|
-
// CLI interface
|
|
126
|
-
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
127
|
-
const verifier = new TaskCompletionVerifier();
|
|
128
|
-
|
|
129
|
-
// Get task description from command line or use default
|
|
130
|
-
const taskDescription = process.argv[2] || 'Create human verification framework';
|
|
131
|
-
|
|
132
|
-
console.log(`Verifying task: "${taskDescription}"`);
|
|
133
|
-
|
|
134
|
-
verifier.verify(taskDescription)
|
|
135
|
-
.then(report => {
|
|
136
|
-
console.log('\nš Verification process complete!');
|
|
137
|
-
process.exit(report.overallStatus === 'ā
SUCCESS' ? 0 : 1);
|
|
138
|
-
})
|
|
139
|
-
.catch(error => {
|
|
140
|
-
console.error('Verification failed:', error);
|
|
141
|
-
process.exit(1);
|
|
142
|
-
});
|
|
143
|
-
}
|