oneie 1.5.4 → 1.5.5
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.
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Performance Optimizer Module
|
|
2
|
+
// This module provides performance optimization utilities for the ONE framework
|
|
3
|
+
|
|
4
|
+
export class PerformanceOptimizer {
|
|
5
|
+
constructor(options = {}) {
|
|
6
|
+
this.options = {
|
|
7
|
+
enableMetrics: true,
|
|
8
|
+
enableCaching: true,
|
|
9
|
+
enableCompression: true,
|
|
10
|
+
...options
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Initialize performance optimizations
|
|
16
|
+
*/
|
|
17
|
+
initialize() {
|
|
18
|
+
console.log('🚀 Performance optimizer initialized');
|
|
19
|
+
return Promise.resolve();
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Optimize task execution
|
|
24
|
+
*/
|
|
25
|
+
optimizeTaskExecution(taskId, callback) {
|
|
26
|
+
return callback();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Get performance metrics
|
|
31
|
+
*/
|
|
32
|
+
getMetrics() {
|
|
33
|
+
return {
|
|
34
|
+
timestamp: Date.now(),
|
|
35
|
+
status: 'active',
|
|
36
|
+
optimizations: this.options
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export default PerformanceOptimizer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneie",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.5",
|
|
4
4
|
"description": "🎯 ONE Personal Collaborative Intelligence - Complete Mission→Story→Task→Agent cascade system with 112+ AI agents. Universal access via `npx oneie` creates 3 Levels architecture (.claude/.one/one) for AI-human collaboration at any scale.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": ".one/tools/one-cli.js",
|