duoops 0.1.9 → 0.2.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.
Files changed (55) hide show
  1. package/README.md +151 -63
  2. package/data/aws_machine_power_profiles.json +54 -0
  3. package/data/cpu_physical_specs.json +105 -0
  4. package/data/cpu_power_profiles.json +275 -0
  5. package/data/gcp_machine_power_profiles.json +1802 -0
  6. package/data/runtime-pue-mappings.json +183 -0
  7. package/dist/commands/autofix-ci.d.ts +13 -0
  8. package/dist/commands/autofix-ci.js +114 -0
  9. package/dist/commands/autofix.d.ts +5 -0
  10. package/dist/commands/autofix.js +11 -0
  11. package/dist/commands/init.js +50 -27
  12. package/dist/commands/mcp/deploy.d.ts +13 -0
  13. package/dist/commands/mcp/deploy.js +139 -0
  14. package/dist/commands/measure/calculate.js +2 -2
  15. package/dist/commands/portal.js +421 -6
  16. package/dist/lib/ai/agent.js +1 -0
  17. package/dist/lib/ai/tools/editing.js +28 -13
  18. package/dist/lib/ai/tools/gitlab.js +8 -4
  19. package/dist/lib/config.d.ts +10 -0
  20. package/dist/lib/gcloud.d.ts +7 -0
  21. package/dist/lib/gcloud.js +105 -0
  22. package/dist/lib/gitlab/pipelines-service.d.ts +23 -0
  23. package/dist/lib/gitlab/pipelines-service.js +146 -0
  24. package/dist/lib/gitlab/runner-service.d.ts +11 -0
  25. package/dist/lib/gitlab/runner-service.js +15 -0
  26. package/dist/lib/portal/settings.d.ts +3 -0
  27. package/dist/lib/portal/settings.js +48 -0
  28. package/dist/lib/scaffold.d.ts +5 -0
  29. package/dist/lib/scaffold.js +32 -0
  30. package/dist/portal/assets/HomeDashboard-DlkwSyKx.js +1 -0
  31. package/dist/portal/assets/JobDetailsDrawer-7kXXMSH8.js +1 -0
  32. package/dist/portal/assets/JobsDashboard-D4pNc9TM.js +1 -0
  33. package/dist/portal/assets/MetricsDashboard-BcgzvzBz.js +1 -0
  34. package/dist/portal/assets/PipelinesDashboard-BNrSM9GB.js +1 -0
  35. package/dist/portal/assets/allPaths-CXDKahbk.js +1 -0
  36. package/dist/portal/assets/allPathsLoader-BF5PAx2c.js +2 -0
  37. package/dist/portal/assets/cache-YerT0Slh.js +6 -0
  38. package/dist/portal/assets/core-Cz8f3oSB.js +19 -0
  39. package/dist/portal/assets/{index-C54ZhVUo.js → index-B9sNUqEC.js} +1 -1
  40. package/dist/portal/assets/index-BWa_E8Y7.css +1 -0
  41. package/dist/portal/assets/index-Bp4RqK05.js +1 -0
  42. package/dist/portal/assets/index-DW6Qp0d6.js +64 -0
  43. package/dist/portal/assets/index-Uc4Xhv31.js +1 -0
  44. package/dist/portal/assets/progressBar-C4SmnGeZ.js +1 -0
  45. package/dist/portal/assets/splitPathsBySizeLoader-C-T9_API.js +1 -0
  46. package/dist/portal/index.html +2 -2
  47. package/oclif.manifest.json +237 -92
  48. package/package.json +2 -1
  49. package/templates/.gitlab/duo/flows/duoops.yaml +114 -0
  50. package/templates/agents/agent.yml +45 -0
  51. package/templates/duoops-autofix-component.yml +52 -0
  52. package/templates/flows/flow.yml +283 -0
  53. package/dist/portal/assets/MetricsDashboard-Bnj-jtu6.js +0 -27
  54. package/dist/portal/assets/index-B1SGDQNX.css +0 -1
  55. package/dist/portal/assets/index-Bk8OVV7a.js +0 -106
@@ -0,0 +1,275 @@
1
+ {
2
+ "AMD EPYC 7B12": {
3
+ "tdp_watts": 240.0,
4
+ "power_profile": [
5
+ {
6
+ "percentage": 0,
7
+ "watts": 4.08
8
+ },
9
+ {
10
+ "percentage": 10,
11
+ "watts": 8.16
12
+ },
13
+ {
14
+ "percentage": 50,
15
+ "watts": 40.56
16
+ },
17
+ {
18
+ "percentage": 100,
19
+ "watts": 240.0
20
+ }
21
+ ]
22
+ },
23
+ "Intel Xeon E5-2689": {
24
+ "tdp_watts": 115.0,
25
+ "power_profile": [
26
+ {
27
+ "percentage": 0,
28
+ "watts": 2.07
29
+ },
30
+ {
31
+ "percentage": 10,
32
+ "watts": 4.14
33
+ },
34
+ {
35
+ "percentage": 50,
36
+ "watts": 20.47
37
+ },
38
+ {
39
+ "percentage": 100,
40
+ "watts": 115.0
41
+ }
42
+ ]
43
+ },
44
+ "Intel Xeon E5-2696V3": {
45
+ "tdp_watts": 145.0,
46
+ "power_profile": [
47
+ {
48
+ "percentage": 0,
49
+ "watts": 2.61
50
+ },
51
+ {
52
+ "percentage": 10,
53
+ "watts": 5.22
54
+ },
55
+ {
56
+ "percentage": 50,
57
+ "watts": 25.81
58
+ },
59
+ {
60
+ "percentage": 100,
61
+ "watts": 145.0
62
+ }
63
+ ]
64
+ },
65
+ "Intel Xeon E5-2696V4": {
66
+ "tdp_watts": 150.0,
67
+ "power_profile": [
68
+ {
69
+ "percentage": 0,
70
+ "watts": 2.5500000000000003
71
+ },
72
+ {
73
+ "percentage": 10,
74
+ "watts": 5.1000000000000005
75
+ },
76
+ {
77
+ "percentage": 50,
78
+ "watts": 25.35
79
+ },
80
+ {
81
+ "percentage": 100,
82
+ "watts": 150.0
83
+ }
84
+ ]
85
+ },
86
+ "Intel Xeon E7-8880V4": {
87
+ "tdp_watts": 150.0,
88
+ "power_profile": [
89
+ {
90
+ "percentage": 0,
91
+ "watts": 2.6999999999999997
92
+ },
93
+ {
94
+ "percentage": 10,
95
+ "watts": 5.3999999999999995
96
+ },
97
+ {
98
+ "percentage": 50,
99
+ "watts": 26.7
100
+ },
101
+ {
102
+ "percentage": 100,
103
+ "watts": 150.0
104
+ }
105
+ ]
106
+ },
107
+ "Intel Xeon Gold 6253CL": {
108
+ "tdp_watts": 205.0,
109
+ "power_profile": [
110
+ {
111
+ "percentage": 0,
112
+ "watts": 3.4850000000000003
113
+ },
114
+ {
115
+ "percentage": 10,
116
+ "watts": 6.970000000000001
117
+ },
118
+ {
119
+ "percentage": 50,
120
+ "watts": 34.645
121
+ },
122
+ {
123
+ "percentage": 100,
124
+ "watts": 205.0
125
+ }
126
+ ]
127
+ },
128
+ "Intel Xeon Gold 6268CL": {
129
+ "tdp_watts": 205.0,
130
+ "power_profile": [
131
+ {
132
+ "percentage": 0,
133
+ "watts": 3.4850000000000003
134
+ },
135
+ {
136
+ "percentage": 10,
137
+ "watts": 6.970000000000001
138
+ },
139
+ {
140
+ "percentage": 50,
141
+ "watts": 34.645
142
+ },
143
+ {
144
+ "percentage": 100,
145
+ "watts": 205.0
146
+ }
147
+ ]
148
+ },
149
+ "Intel Xeon Platinum 8273CL": {
150
+ "tdp_watts": 165.0,
151
+ "power_profile": [
152
+ {
153
+ "percentage": 0,
154
+ "watts": 2.805
155
+ },
156
+ {
157
+ "percentage": 10,
158
+ "watts": 5.61
159
+ },
160
+ {
161
+ "percentage": 50,
162
+ "watts": 27.885
163
+ },
164
+ {
165
+ "percentage": 100,
166
+ "watts": 165.0
167
+ }
168
+ ]
169
+ },
170
+ "Intel Xeon Platinum 8280L": {
171
+ "tdp_watts": 205.0,
172
+ "power_profile": [
173
+ {
174
+ "percentage": 0,
175
+ "watts": 3.4850000000000003
176
+ },
177
+ {
178
+ "percentage": 10,
179
+ "watts": 6.970000000000001
180
+ },
181
+ {
182
+ "percentage": 50,
183
+ "watts": 34.645
184
+ },
185
+ {
186
+ "percentage": 100,
187
+ "watts": 205.0
188
+ }
189
+ ]
190
+ },
191
+ "Intel Xeon Platinum 8373C": {
192
+ "tdp_watts": 300.0,
193
+ "power_profile": [
194
+ {
195
+ "percentage": 0,
196
+ "watts": 5.1000000000000005
197
+ },
198
+ {
199
+ "percentage": 10,
200
+ "watts": 10.200000000000001
201
+ },
202
+ {
203
+ "percentage": 50,
204
+ "watts": 50.7
205
+ },
206
+ {
207
+ "percentage": 100,
208
+ "watts": 300.0
209
+ }
210
+ ]
211
+ },
212
+ "Intel Xeon Platinum 8481C": {
213
+ "tdp_watts": 350.0,
214
+ "power_profile": [
215
+ {
216
+ "percentage": 0,
217
+ "watts": 4.9
218
+ },
219
+ {
220
+ "percentage": 10,
221
+ "watts": 9.8
222
+ },
223
+ {
224
+ "percentage": 50,
225
+ "watts": 49.349999999999994
226
+ },
227
+ {
228
+ "percentage": 100,
229
+ "watts": 350.0
230
+ }
231
+ ]
232
+ },
233
+ "Intel Xeon Scalable Platinum 8173M": {
234
+ "tdp_watts": 165.0,
235
+ "power_profile": [
236
+ {
237
+ "percentage": 0,
238
+ "watts": 2.805
239
+ },
240
+ {
241
+ "percentage": 10,
242
+ "watts": 5.61
243
+ },
244
+ {
245
+ "percentage": 50,
246
+ "watts": 27.885
247
+ },
248
+ {
249
+ "percentage": 100,
250
+ "watts": 165.0
251
+ }
252
+ ]
253
+ },
254
+ "Q64-30": {
255
+ "tdp_watts": 180.0,
256
+ "power_profile": [
257
+ {
258
+ "percentage": 0,
259
+ "watts": 3.06
260
+ },
261
+ {
262
+ "percentage": 10,
263
+ "watts": 6.12
264
+ },
265
+ {
266
+ "percentage": 50,
267
+ "watts": 30.42
268
+ },
269
+ {
270
+ "percentage": 100,
271
+ "watts": 180.0
272
+ }
273
+ ]
274
+ }
275
+ }