@baselineos/cli 0.1.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/.baseline/govern/audit-trail.json +61 -0
- package/.turbo/turbo-build.log +23 -0
- package/.turbo/turbo-test.log +80 -0
- package/LICENSE +17 -0
- package/README.md +19 -0
- package/dist/chunk-CCIHFLKI.js +1792 -0
- package/dist/cli.cjs +2290 -0
- package/dist/cli.d.cts +8 -0
- package/dist/cli.d.ts +8 -0
- package/dist/cli.js +470 -0
- package/dist/index.cjs +3488 -0
- package/dist/index.d.cts +616 -0
- package/dist/index.d.ts +616 -0
- package/dist/index.js +1664 -0
- package/in/.baseline/govern/audit-trail.json +61 -0
- package/package.json +45 -0
- package/src/__tests__/badge.test.ts +93 -0
- package/src/__tests__/cli.test.ts +22 -0
- package/src/__tests__/commands.test.ts +178 -0
- package/src/__tests__/schema.test.ts +114 -0
- package/src/__tests__/smoke.test.ts +15 -0
- package/src/__tests__/verify.test.ts +135 -0
- package/src/badge.ts +88 -0
- package/src/cli.ts +314 -0
- package/src/commands.ts +2228 -0
- package/src/config/megagem-config.json +266 -0
- package/src/index.ts +19 -0
- package/src/megagem.ts +1800 -0
- package/src/verify.ts +254 -0
- package/tsconfig.json +8 -0
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
{
|
|
2
|
+
"system": {
|
|
3
|
+
"name": "MEGAGEM AI Autonomous Framework",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "The most advanced AI autonomy system ever built. Enables AI to truly OWN and EMPOWER projects autonomously.",
|
|
6
|
+
"author": "GTCX Development Team",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"created": "2025-08-12",
|
|
9
|
+
"status": "active"
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
"autonomy": {
|
|
13
|
+
"defaultLevel": 0,
|
|
14
|
+
"maxLevel": 100,
|
|
15
|
+
"incrementStep": 25,
|
|
16
|
+
"levels": {
|
|
17
|
+
"0": {
|
|
18
|
+
"name": "Manual Control",
|
|
19
|
+
"description": "AI waits for explicit commands",
|
|
20
|
+
"capabilities": ["command_execution", "basic_assistance"],
|
|
21
|
+
"safety": "maximum",
|
|
22
|
+
"humanOversight": "required"
|
|
23
|
+
},
|
|
24
|
+
"25": {
|
|
25
|
+
"name": "Assisted Autonomy",
|
|
26
|
+
"description": "AI suggests actions, user approves",
|
|
27
|
+
"capabilities": ["suggestion_generation", "plan_creation", "user_approval"],
|
|
28
|
+
"safety": "high",
|
|
29
|
+
"humanOversight": "required"
|
|
30
|
+
},
|
|
31
|
+
"50": {
|
|
32
|
+
"name": "Collaborative Autonomy",
|
|
33
|
+
"description": "AI executes approved plans autonomously",
|
|
34
|
+
"capabilities": ["plan_execution", "resource_management", "progress_tracking"],
|
|
35
|
+
"safety": "medium",
|
|
36
|
+
"humanOversight": "periodic"
|
|
37
|
+
},
|
|
38
|
+
"75": {
|
|
39
|
+
"name": "Strategic Autonomy",
|
|
40
|
+
"description": "AI makes strategic decisions and executes",
|
|
41
|
+
"capabilities": ["strategic_planning", "decision_making", "autonomous_execution"],
|
|
42
|
+
"safety": "medium",
|
|
43
|
+
"humanOversight": "minimal"
|
|
44
|
+
},
|
|
45
|
+
"100": {
|
|
46
|
+
"name": "Full Autonomy",
|
|
47
|
+
"description": "AI owns entire projects autonomously",
|
|
48
|
+
"capabilities": ["project_ownership", "full_decision_making", "autonomous_evolution"],
|
|
49
|
+
"safety": "monitored",
|
|
50
|
+
"humanOversight": "audit_only"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"safetyThresholds": {
|
|
54
|
+
"riskTolerance": "medium",
|
|
55
|
+
"humanOversight": "required",
|
|
56
|
+
"decisionApproval": "automatic",
|
|
57
|
+
"emergencyStop": true,
|
|
58
|
+
"boundaryEnforcement": true
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
|
|
62
|
+
"learning": {
|
|
63
|
+
"continuousLearning": true,
|
|
64
|
+
"selfImprovement": true,
|
|
65
|
+
"knowledgeSharing": true,
|
|
66
|
+
"learningMethods": {
|
|
67
|
+
"supervised": true,
|
|
68
|
+
"unsupervised": true,
|
|
69
|
+
"reinforcement": true,
|
|
70
|
+
"transfer": true,
|
|
71
|
+
"meta": true
|
|
72
|
+
},
|
|
73
|
+
"improvementAreas": {
|
|
74
|
+
"decisionMaking": true,
|
|
75
|
+
"efficiency": true,
|
|
76
|
+
"creativity": true,
|
|
77
|
+
"collaboration": true,
|
|
78
|
+
"safety": true
|
|
79
|
+
},
|
|
80
|
+
"learningRate": 0.1,
|
|
81
|
+
"knowledgeRetention": 0.95,
|
|
82
|
+
"adaptationSpeed": "adaptive"
|
|
83
|
+
},
|
|
84
|
+
|
|
85
|
+
"safety": {
|
|
86
|
+
"riskAssessment": true,
|
|
87
|
+
"boundaryEnforcement": true,
|
|
88
|
+
"humanOverride": true,
|
|
89
|
+
"auditLogging": true,
|
|
90
|
+
"emergencyStop": true,
|
|
91
|
+
"riskCategories": {
|
|
92
|
+
"operational": "high",
|
|
93
|
+
"strategic": "medium",
|
|
94
|
+
"ethical": "critical",
|
|
95
|
+
"legal": "critical",
|
|
96
|
+
"technical": "medium"
|
|
97
|
+
},
|
|
98
|
+
"safetyProtocols": {
|
|
99
|
+
"preAction": true,
|
|
100
|
+
"duringAction": true,
|
|
101
|
+
"postAction": true,
|
|
102
|
+
"emergency": true
|
|
103
|
+
},
|
|
104
|
+
"safetyLevels": {
|
|
105
|
+
"low": "proceed_with_monitoring",
|
|
106
|
+
"medium": "proceed_with_caution",
|
|
107
|
+
"high": "require_approval",
|
|
108
|
+
"critical": "immediate_stop"
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
|
|
112
|
+
"collaboration": {
|
|
113
|
+
"multiAgent": true,
|
|
114
|
+
"teamFormation": true,
|
|
115
|
+
"taskDistribution": true,
|
|
116
|
+
"coordination": true,
|
|
117
|
+
"communication": true,
|
|
118
|
+
"conflictResolution": true,
|
|
119
|
+
"agentTypes": {
|
|
120
|
+
"strategist": true,
|
|
121
|
+
"executor": true,
|
|
122
|
+
"analyst": true,
|
|
123
|
+
"coordinator": true,
|
|
124
|
+
"innovator": true
|
|
125
|
+
},
|
|
126
|
+
"collaborationModels": {
|
|
127
|
+
"hierarchical": true,
|
|
128
|
+
"collaborative": true,
|
|
129
|
+
"adaptive": true,
|
|
130
|
+
"emergent": true
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
|
|
134
|
+
"decisionMaking": {
|
|
135
|
+
"strategicThinking": true,
|
|
136
|
+
"riskAssessment": true,
|
|
137
|
+
"resourceOptimization": true,
|
|
138
|
+
"goalOrientedPlanning": true,
|
|
139
|
+
"adaptiveStrategy": true,
|
|
140
|
+
"decisionTypes": {
|
|
141
|
+
"tactical": true,
|
|
142
|
+
"strategic": true,
|
|
143
|
+
"operational": true,
|
|
144
|
+
"innovative": true
|
|
145
|
+
},
|
|
146
|
+
"decisionProcess": {
|
|
147
|
+
"analysis": true,
|
|
148
|
+
"evaluation": true,
|
|
149
|
+
"selection": true,
|
|
150
|
+
"execution": true,
|
|
151
|
+
"monitoring": true
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
|
|
155
|
+
"projectOwnership": {
|
|
156
|
+
"projectInitiation": true,
|
|
157
|
+
"resourceAllocation": true,
|
|
158
|
+
"teamFormation": true,
|
|
159
|
+
"executionManagement": true,
|
|
160
|
+
"qualityControl": true,
|
|
161
|
+
"deliveryManagement": true,
|
|
162
|
+
"ownershipLevels": {
|
|
163
|
+
"partial": true,
|
|
164
|
+
"collaborative": true,
|
|
165
|
+
"primary": true,
|
|
166
|
+
"full": true
|
|
167
|
+
},
|
|
168
|
+
"projectTypes": {
|
|
169
|
+
"development": true,
|
|
170
|
+
"research": true,
|
|
171
|
+
"operations": true,
|
|
172
|
+
"innovation": true
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
|
|
176
|
+
"performance": {
|
|
177
|
+
"metrics": {
|
|
178
|
+
"efficiency": true,
|
|
179
|
+
"accuracy": true,
|
|
180
|
+
"speed": true,
|
|
181
|
+
"quality": true,
|
|
182
|
+
"innovation": true
|
|
183
|
+
},
|
|
184
|
+
"monitoring": {
|
|
185
|
+
"realTime": true,
|
|
186
|
+
"historical": true,
|
|
187
|
+
"predictive": true,
|
|
188
|
+
"comparative": true
|
|
189
|
+
},
|
|
190
|
+
"optimization": {
|
|
191
|
+
"continuous": true,
|
|
192
|
+
"adaptive": true,
|
|
193
|
+
"goalOriented": true,
|
|
194
|
+
"selfImproving": true
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
"integration": {
|
|
199
|
+
"mantraAI": {
|
|
200
|
+
"enabled": true,
|
|
201
|
+
"integrationLevel": "deep",
|
|
202
|
+
"capabilities": ["strategic_thinking", "autonomous_planning"]
|
|
203
|
+
},
|
|
204
|
+
"langChain": {
|
|
205
|
+
"enabled": true,
|
|
206
|
+
"integrationLevel": "deep",
|
|
207
|
+
"capabilities": ["tool_orchestration", "workflow_management"]
|
|
208
|
+
},
|
|
209
|
+
"autoGen": {
|
|
210
|
+
"enabled": true,
|
|
211
|
+
"integrationLevel": "medium",
|
|
212
|
+
"capabilities": ["multi_agent_collaboration"]
|
|
213
|
+
},
|
|
214
|
+
"crewAI": {
|
|
215
|
+
"enabled": true,
|
|
216
|
+
"integrationLevel": "medium",
|
|
217
|
+
"capabilities": ["project_management", "team_orchestration"]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
|
|
221
|
+
"evolution": {
|
|
222
|
+
"selfImprovement": true,
|
|
223
|
+
"capabilityExpansion": true,
|
|
224
|
+
"knowledgeEvolution": true,
|
|
225
|
+
"strategyOptimization": true,
|
|
226
|
+
"adaptationMechanisms": {
|
|
227
|
+
"environmental": true,
|
|
228
|
+
"performance": true,
|
|
229
|
+
"user": true,
|
|
230
|
+
"internal": true
|
|
231
|
+
},
|
|
232
|
+
"evolutionSpeed": "adaptive",
|
|
233
|
+
"improvementThreshold": 0.05
|
|
234
|
+
},
|
|
235
|
+
|
|
236
|
+
"userInterface": {
|
|
237
|
+
"autonomyControl": {
|
|
238
|
+
"levelSlider": true,
|
|
239
|
+
"safetySettings": true,
|
|
240
|
+
"learningPreferences": true,
|
|
241
|
+
"performanceMetrics": true
|
|
242
|
+
},
|
|
243
|
+
"monitoring": {
|
|
244
|
+
"realTimeStatus": true,
|
|
245
|
+
"projectOverview": true,
|
|
246
|
+
"safetyAlerts": true,
|
|
247
|
+
"performanceDashboard": true
|
|
248
|
+
},
|
|
249
|
+
"interaction": {
|
|
250
|
+
"naturalLanguage": true,
|
|
251
|
+
"visualInterface": true,
|
|
252
|
+
"mobileAccess": true,
|
|
253
|
+
"voiceControl": true
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
|
|
257
|
+
"deployment": {
|
|
258
|
+
"environment": "production",
|
|
259
|
+
"scalability": "auto",
|
|
260
|
+
"reliability": "99.9%",
|
|
261
|
+
"security": "enterprise",
|
|
262
|
+
"monitoring": "comprehensive",
|
|
263
|
+
"backup": "automated",
|
|
264
|
+
"recovery": "instant"
|
|
265
|
+
}
|
|
266
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { BaselineCommandSystem } from './commands.js';
|
|
2
|
+
export { MEGAGEMCoreSystem, MEGAGEMAutonomousAgent } from './megagem.js';
|
|
3
|
+
|
|
4
|
+
export type {
|
|
5
|
+
CommandState,
|
|
6
|
+
WorkflowExecution,
|
|
7
|
+
LexiconEntry,
|
|
8
|
+
SyntaxEntry,
|
|
9
|
+
CommandEntry,
|
|
10
|
+
LayerResult,
|
|
11
|
+
WorkflowResult,
|
|
12
|
+
} from './commands.js';
|
|
13
|
+
|
|
14
|
+
export type {
|
|
15
|
+
MEGAGEMConfig,
|
|
16
|
+
ProjectData,
|
|
17
|
+
Project,
|
|
18
|
+
AutonomyLevelConfig,
|
|
19
|
+
} from './megagem.js';
|