erosolar-cli 2.1.270 → 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.
Files changed (112) hide show
  1. package/dist/capabilities/index.d.ts +0 -1
  2. package/dist/capabilities/index.d.ts.map +1 -1
  3. package/dist/capabilities/index.js +1 -1
  4. package/dist/capabilities/index.js.map +1 -1
  5. package/dist/capabilities/orchestrationCapability.d.ts.map +1 -1
  6. package/dist/capabilities/orchestrationCapability.js +56 -108
  7. package/dist/capabilities/orchestrationCapability.js.map +1 -1
  8. package/dist/core/iMessageVerification.d.ts +1 -1
  9. package/dist/core/infrastructureTemplates.d.ts +1 -1
  10. package/dist/core/infrastructureTemplates.js +5 -5
  11. package/dist/core/infrastructureTemplates.js.map +1 -1
  12. package/dist/core/persistentObjectiveStore.d.ts +13 -1
  13. package/dist/core/persistentObjectiveStore.d.ts.map +1 -1
  14. package/dist/core/persistentObjectiveStore.js.map +1 -1
  15. package/dist/core/securityDeliverableGenerator.d.ts +1 -1
  16. package/dist/core/securityDeliverableGenerator.d.ts.map +1 -1
  17. package/dist/core/securityDeliverableGenerator.js +3 -3
  18. package/dist/core/securityDeliverableGenerator.js.map +1 -1
  19. package/dist/core/toolRuntime.d.ts.map +1 -1
  20. package/dist/core/toolRuntime.js +11 -5
  21. package/dist/core/toolRuntime.js.map +1 -1
  22. package/dist/core/types.js.map +1 -1
  23. package/dist/core/unifiedOrchestrator.d.ts +265 -77
  24. package/dist/core/unifiedOrchestrator.d.ts.map +1 -1
  25. package/dist/core/unifiedOrchestrator.js +915 -254
  26. package/dist/core/unifiedOrchestrator.js.map +1 -1
  27. package/dist/providers/anthropicProvider.d.ts +1 -1
  28. package/dist/shell/interactiveShell.d.ts +1 -1
  29. package/dist/shell/interactiveShell.d.ts.map +1 -1
  30. package/dist/shell/interactiveShell.js +188 -207
  31. package/dist/shell/interactiveShell.js.map +1 -1
  32. package/dist/tools/tao/rl.js +1 -1
  33. package/dist/tools/tao/rl.js.map +1 -1
  34. package/dist/tools/taoTools.js +5 -5
  35. package/dist/tools/taoTools.js.map +1 -1
  36. package/package.json +1 -1
  37. package/dist/capabilities/unifiedInvestigationCapability.d.ts +0 -22
  38. package/dist/capabilities/unifiedInvestigationCapability.d.ts.map +0 -1
  39. package/dist/capabilities/unifiedInvestigationCapability.js +0 -41
  40. package/dist/capabilities/unifiedInvestigationCapability.js.map +0 -1
  41. package/dist/core/agentOrchestrator.d.ts +0 -400
  42. package/dist/core/agentOrchestrator.d.ts.map +0 -1
  43. package/dist/core/agentOrchestrator.js +0 -2133
  44. package/dist/core/agentOrchestrator.js.map +0 -1
  45. package/dist/core/autoExecutionOrchestrator.d.ts +0 -172
  46. package/dist/core/autoExecutionOrchestrator.d.ts.map +0 -1
  47. package/dist/core/autoExecutionOrchestrator.js +0 -591
  48. package/dist/core/autoExecutionOrchestrator.js.map +0 -1
  49. package/dist/core/dualAgentOrchestrator.d.ts +0 -34
  50. package/dist/core/dualAgentOrchestrator.d.ts.map +0 -1
  51. package/dist/core/dualAgentOrchestrator.js +0 -94
  52. package/dist/core/dualAgentOrchestrator.js.map +0 -1
  53. package/dist/core/failureRecovery.d.ts +0 -26
  54. package/dist/core/failureRecovery.d.ts.map +0 -1
  55. package/dist/core/failureRecovery.js +0 -54
  56. package/dist/core/failureRecovery.js.map +0 -1
  57. package/dist/core/intelligentTestFlows.d.ts +0 -45
  58. package/dist/core/intelligentTestFlows.d.ts.map +0 -1
  59. package/dist/core/intelligentTestFlows.js +0 -25
  60. package/dist/core/intelligentTestFlows.js.map +0 -1
  61. package/dist/core/learningPersistence.d.ts +0 -58
  62. package/dist/core/learningPersistence.d.ts.map +0 -1
  63. package/dist/core/learningPersistence.js +0 -46
  64. package/dist/core/learningPersistence.js.map +0 -1
  65. package/dist/core/metricsTracker.d.ts +0 -40
  66. package/dist/core/metricsTracker.d.ts.map +0 -1
  67. package/dist/core/metricsTracker.js +0 -83
  68. package/dist/core/metricsTracker.js.map +0 -1
  69. package/dist/core/orchestration.d.ts +0 -534
  70. package/dist/core/orchestration.d.ts.map +0 -1
  71. package/dist/core/orchestration.js +0 -2009
  72. package/dist/core/orchestration.js.map +0 -1
  73. package/dist/core/performanceMonitor.d.ts +0 -30
  74. package/dist/core/performanceMonitor.d.ts.map +0 -1
  75. package/dist/core/performanceMonitor.js +0 -39
  76. package/dist/core/performanceMonitor.js.map +0 -1
  77. package/dist/core/selfEvolution.d.ts +0 -61
  78. package/dist/core/selfEvolution.d.ts.map +0 -1
  79. package/dist/core/selfEvolution.js +0 -38
  80. package/dist/core/selfEvolution.js.map +0 -1
  81. package/dist/core/selfImprovement.d.ts +0 -82
  82. package/dist/core/selfImprovement.d.ts.map +0 -1
  83. package/dist/core/selfImprovement.js +0 -25
  84. package/dist/core/selfImprovement.js.map +0 -1
  85. package/dist/core/unifiedFraudOrchestrator.d.ts +0 -738
  86. package/dist/core/unifiedFraudOrchestrator.d.ts.map +0 -1
  87. package/dist/core/unifiedFraudOrchestrator.js +0 -3312
  88. package/dist/core/unifiedFraudOrchestrator.js.map +0 -1
  89. package/dist/core/unifiedRealOrchestrator.d.ts +0 -126
  90. package/dist/core/unifiedRealOrchestrator.d.ts.map +0 -1
  91. package/dist/core/unifiedRealOrchestrator.js +0 -558
  92. package/dist/core/unifiedRealOrchestrator.js.map +0 -1
  93. package/dist/core/userDefenseOrchestrator.d.ts +0 -202
  94. package/dist/core/userDefenseOrchestrator.d.ts.map +0 -1
  95. package/dist/core/userDefenseOrchestrator.js +0 -1006
  96. package/dist/core/userDefenseOrchestrator.js.map +0 -1
  97. package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.d.ts +0 -3
  98. package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.d.ts.map +0 -1
  99. package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.js +0 -14
  100. package/dist/plugins/tools/unifiedInvestigation/unifiedInvestigationPlugin.js.map +0 -1
  101. package/dist/tools/frontendTestingTools.d.ts +0 -9
  102. package/dist/tools/frontendTestingTools.d.ts.map +0 -1
  103. package/dist/tools/frontendTestingTools.js +0 -291
  104. package/dist/tools/frontendTestingTools.js.map +0 -1
  105. package/dist/tools/unifiedInvestigationTools.d.ts +0 -19
  106. package/dist/tools/unifiedInvestigationTools.d.ts.map +0 -1
  107. package/dist/tools/unifiedInvestigationTools.js +0 -1163
  108. package/dist/tools/unifiedInvestigationTools.js.map +0 -1
  109. package/scripts/human-verification.mjs +0 -380
  110. package/scripts/isolated-verification-runner.mjs +0 -364
  111. package/scripts/isolated-verification-wrapper.mjs +0 -276
  112. 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
- }