@64mb/freelens-power 1.7.0 → 2.20.1

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 (999) hide show
  1. package/README.md +4 -2
  2. package/dist/ai-codex-api-CHt-EMIE.js +4403 -0
  3. package/dist/ai-codex-api-CHt-EMIE.js.map +1 -0
  4. package/dist/ai-codex-api.js +1 -0
  5. package/{out/main/dashboard-preload.js → dist/dashboard-preload.cjs} +6 -6
  6. package/dist/dashboard-preload.cjs.map +1 -0
  7. package/dist/main.js +14935 -0
  8. package/dist/main.js.map +1 -0
  9. package/dist/power-logs-D2eUB0f0.js +32 -0
  10. package/{out/main/src/common/power-logs.js.map → dist/power-logs-D2eUB0f0.js.map} +1 -1
  11. package/{out/main → dist}/power-logs-child.js +11 -11
  12. package/dist/power-logs-child.js.map +1 -0
  13. package/{out/main → dist}/power-logs-database.js +74 -75
  14. package/{out/main → dist}/power-logs-database.js.map +1 -1
  15. package/{out/renderer/src/common/power-logs-limits.js → dist/power-logs-limits-CdzRcMHg.js} +7 -10
  16. package/{out/main/src/common/power-logs-limits.js.map → dist/power-logs-limits-CdzRcMHg.js.map} +1 -1
  17. package/dist/power-logs-query-child.js +22 -0
  18. package/dist/power-logs-query-child.js.map +1 -0
  19. package/{out/main → dist}/power-logs-query.js +13 -14
  20. package/{out/main → dist}/power-logs-query.js.map +1 -1
  21. package/dist/renderer.js +43784 -0
  22. package/dist/renderer.js.map +1 -0
  23. package/package.json +39 -30
  24. package/out/main/_virtual/_global-external_@freelensapp/extensions.js +0 -9
  25. package/out/main/_virtual/_global-external_mobx.js +0 -77
  26. package/out/main/_virtual/_rolldown/runtime.js +0 -25
  27. package/out/main/ai-answer-stream.js +0 -96
  28. package/out/main/ai-answer-stream.js.map +0 -1
  29. package/out/main/ai-api-key.js +0 -95
  30. package/out/main/ai-api-key.js.map +0 -1
  31. package/out/main/ai-claude-policy.js +0 -141
  32. package/out/main/ai-claude-policy.js.map +0 -1
  33. package/out/main/ai-codex-api.js +0 -611
  34. package/out/main/ai-codex-api.js.map +0 -1
  35. package/out/main/ai-discovery.js +0 -61
  36. package/out/main/ai-discovery.js.map +0 -1
  37. package/out/main/ai-ipc.js +0 -175
  38. package/out/main/ai-ipc.js.map +0 -1
  39. package/out/main/ai-logs.js +0 -53
  40. package/out/main/ai-logs.js.map +0 -1
  41. package/out/main/ai-models.js +0 -94
  42. package/out/main/ai-models.js.map +0 -1
  43. package/out/main/ai-pi-models.js +0 -73
  44. package/out/main/ai-pi-models.js.map +0 -1
  45. package/out/main/ai-pi.js +0 -411
  46. package/out/main/ai-pi.js.map +0 -1
  47. package/out/main/ai-references.js +0 -20
  48. package/out/main/ai-references.js.map +0 -1
  49. package/out/main/ai-resources.js +0 -364
  50. package/out/main/ai-resources.js.map +0 -1
  51. package/out/main/ai.js +0 -688
  52. package/out/main/ai.js.map +0 -1
  53. package/out/main/cluster-icons-catalog.js +0 -28
  54. package/out/main/cluster-icons-catalog.js.map +0 -1
  55. package/out/main/cluster-icons.js +0 -125
  56. package/out/main/cluster-icons.js.map +0 -1
  57. package/out/main/dashboard-ai.js +0 -29
  58. package/out/main/dashboard-ai.js.map +0 -1
  59. package/out/main/dashboard-catalog.js +0 -29
  60. package/out/main/dashboard-catalog.js.map +0 -1
  61. package/out/main/dashboard-icon-cache.js +0 -63
  62. package/out/main/dashboard-icon-cache.js.map +0 -1
  63. package/out/main/dashboard-network.js +0 -104
  64. package/out/main/dashboard-network.js.map +0 -1
  65. package/out/main/dashboard-picker.js +0 -133
  66. package/out/main/dashboard-picker.js.map +0 -1
  67. package/out/main/dashboard-preload.js.map +0 -1
  68. package/out/main/dashboard-views.js +0 -902
  69. package/out/main/dashboard-views.js.map +0 -1
  70. package/out/main/diagnostics-menu-order.js +0 -57
  71. package/out/main/diagnostics-menu-order.js.map +0 -1
  72. package/out/main/dock-icon.js +0 -121
  73. package/out/main/dock-icon.js.map +0 -1
  74. package/out/main/extension-updates.js +0 -151
  75. package/out/main/extension-updates.js.map +0 -1
  76. package/out/main/helm-installed-chart.js +0 -141
  77. package/out/main/helm-installed-chart.js.map +0 -1
  78. package/out/main/helm-ipc.js +0 -748
  79. package/out/main/helm-ipc.js.map +0 -1
  80. package/out/main/helm-values.js +0 -45
  81. package/out/main/helm-values.js.map +0 -1
  82. package/out/main/helm.js +0 -283
  83. package/out/main/helm.js.map +0 -1
  84. package/out/main/index.js +0 -100
  85. package/out/main/index.js.map +0 -1
  86. package/out/main/monitoring-history-database.js +0 -103
  87. package/out/main/monitoring-history-database.js.map +0 -1
  88. package/out/main/monitoring-history-worker.js +0 -61
  89. package/out/main/monitoring-history-worker.js.map +0 -1
  90. package/out/main/monitoring-history.js +0 -110
  91. package/out/main/monitoring-history.js.map +0 -1
  92. package/out/main/node-bulk.js +0 -260
  93. package/out/main/node-bulk.js.map +0 -1
  94. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js +0 -99
  95. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js.map +0 -1
  96. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js +0 -32
  97. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js.map +0 -1
  98. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js +0 -242
  99. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js.map +0 -1
  100. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js +0 -154
  101. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js.map +0 -1
  102. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js +0 -60
  103. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js.map +0 -1
  104. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js +0 -346
  105. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js.map +0 -1
  106. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js +0 -479
  107. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js.map +0 -1
  108. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js +0 -508
  109. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js.map +0 -1
  110. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js +0 -127
  111. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js.map +0 -1
  112. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js +0 -50
  113. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js.map +0 -1
  114. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js +0 -201
  115. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js.map +0 -1
  116. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js +0 -401
  117. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js.map +0 -1
  118. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js +0 -1007
  119. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js.map +0 -1
  120. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js +0 -23
  121. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js.map +0 -1
  122. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js +0 -69
  123. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js.map +0 -1
  124. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js +0 -56
  125. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js.map +0 -1
  126. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js +0 -105
  127. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js.map +0 -1
  128. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js +0 -73
  129. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js.map +0 -1
  130. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js +0 -214
  131. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js.map +0 -1
  132. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js +0 -100
  133. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js.map +0 -1
  134. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -187
  135. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js.map +0 -1
  136. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -55
  137. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js.map +0 -1
  138. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js +0 -47
  139. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js.map +0 -1
  140. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -173
  141. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js.map +0 -1
  142. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -218
  143. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js.map +0 -1
  144. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js +0 -116
  145. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js.map +0 -1
  146. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js +0 -38
  147. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js.map +0 -1
  148. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -36
  149. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js.map +0 -1
  150. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -23
  151. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js.map +0 -1
  152. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js +0 -23
  153. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js.map +0 -1
  154. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js +0 -302
  155. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js.map +0 -1
  156. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js +0 -79
  157. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js.map +0 -1
  158. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js +0 -49
  159. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js.map +0 -1
  160. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js +0 -76
  161. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js.map +0 -1
  162. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js +0 -177
  163. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js.map +0 -1
  164. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js +0 -62
  165. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js.map +0 -1
  166. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js +0 -74
  167. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js.map +0 -1
  168. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js +0 -23
  169. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js.map +0 -1
  170. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js +0 -111
  171. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js.map +0 -1
  172. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js +0 -134
  173. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js.map +0 -1
  174. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js +0 -47
  175. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js.map +0 -1
  176. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js +0 -47
  177. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js.map +0 -1
  178. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js +0 -40
  179. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js.map +0 -1
  180. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js +0 -125
  181. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js.map +0 -1
  182. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -122
  183. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js.map +0 -1
  184. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -66
  185. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js.map +0 -1
  186. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js +0 -59
  187. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js.map +0 -1
  188. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js +0 -48
  189. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js.map +0 -1
  190. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js +0 -281
  191. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js.map +0 -1
  192. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js +0 -60
  193. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js.map +0 -1
  194. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js +0 -100
  195. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js.map +0 -1
  196. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js +0 -92
  197. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js.map +0 -1
  198. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js +0 -542
  199. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js.map +0 -1
  200. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js +0 -56
  201. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js.map +0 -1
  202. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js +0 -875
  203. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js.map +0 -1
  204. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js +0 -104
  205. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js.map +0 -1
  206. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js +0 -43
  207. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js.map +0 -1
  208. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js +0 -29
  209. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js.map +0 -1
  210. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js +0 -26
  211. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js.map +0 -1
  212. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js +0 -29
  213. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js.map +0 -1
  214. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js +0 -26
  215. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js.map +0 -1
  216. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js +0 -30
  217. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js.map +0 -1
  218. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js +0 -53
  219. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js.map +0 -1
  220. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js +0 -52
  221. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js.map +0 -1
  222. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js +0 -41
  223. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js.map +0 -1
  224. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js +0 -75
  225. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js.map +0 -1
  226. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js +0 -110
  227. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js.map +0 -1
  228. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -68
  229. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js.map +0 -1
  230. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -38
  231. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js.map +0 -1
  232. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -56
  233. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js.map +0 -1
  234. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -86
  235. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js.map +0 -1
  236. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -55
  237. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js.map +0 -1
  238. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -78
  239. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js.map +0 -1
  240. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -74
  241. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js.map +0 -1
  242. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -63
  243. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js.map +0 -1
  244. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -81
  245. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js.map +0 -1
  246. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -94
  247. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js.map +0 -1
  248. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -125
  249. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js.map +0 -1
  250. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js +0 -122
  251. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js.map +0 -1
  252. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -131
  253. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js.map +0 -1
  254. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js +0 -29
  255. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js.map +0 -1
  256. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -74
  257. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js.map +0 -1
  258. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -30
  259. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js.map +0 -1
  260. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js +0 -111
  261. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js.map +0 -1
  262. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js +0 -236
  263. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js.map +0 -1
  264. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js +0 -201
  265. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js.map +0 -1
  266. package/out/main/package.js +0 -6
  267. package/out/main/package.js.map +0 -1
  268. package/out/main/power-logs-budget.js +0 -126
  269. package/out/main/power-logs-budget.js.map +0 -1
  270. package/out/main/power-logs-child.js.map +0 -1
  271. package/out/main/power-logs-ipc.js +0 -324
  272. package/out/main/power-logs-ipc.js.map +0 -1
  273. package/out/main/power-logs-query-child.js +0 -23
  274. package/out/main/power-logs-query-child.js.map +0 -1
  275. package/out/main/power-logs-worker.js +0 -237
  276. package/out/main/power-logs-worker.js.map +0 -1
  277. package/out/main/resource-search-database.js +0 -215
  278. package/out/main/resource-search-database.js.map +0 -1
  279. package/out/main/resource-search-worker.js +0 -60
  280. package/out/main/resource-search-worker.js.map +0 -1
  281. package/out/main/resource-search.js +0 -156
  282. package/out/main/resource-search.js.map +0 -1
  283. package/out/main/settings-export.js +0 -68
  284. package/out/main/settings-export.js.map +0 -1
  285. package/out/main/settings-import.js +0 -89
  286. package/out/main/settings-import.js.map +0 -1
  287. package/out/main/splash-accent.js +0 -84
  288. package/out/main/splash-accent.js.map +0 -1
  289. package/out/main/src/common/ai-attachments.js +0 -36
  290. package/out/main/src/common/ai-attachments.js.map +0 -1
  291. package/out/main/src/common/ai-extras.js +0 -68
  292. package/out/main/src/common/ai-extras.js.map +0 -1
  293. package/out/main/src/common/ai-models.js +0 -81
  294. package/out/main/src/common/ai-models.js.map +0 -1
  295. package/out/main/src/common/ai-prompts.js +0 -46
  296. package/out/main/src/common/ai-prompts.js.map +0 -1
  297. package/out/main/src/common/ai-resource-payload.js +0 -308
  298. package/out/main/src/common/ai-resource-payload.js.map +0 -1
  299. package/out/main/src/common/ai-shortcuts.js +0 -69
  300. package/out/main/src/common/ai-shortcuts.js.map +0 -1
  301. package/out/main/src/common/ai-terminal-context.js +0 -72
  302. package/out/main/src/common/ai-terminal-context.js.map +0 -1
  303. package/out/main/src/common/ai.js +0 -18
  304. package/out/main/src/common/ai.js.map +0 -1
  305. package/out/main/src/common/cluster-icon-ipc.js +0 -6
  306. package/out/main/src/common/cluster-icon-ipc.js.map +0 -1
  307. package/out/main/src/common/cluster-icons.js +0 -121
  308. package/out/main/src/common/cluster-icons.js.map +0 -1
  309. package/out/main/src/common/dashboard-ai.js +0 -64
  310. package/out/main/src/common/dashboard-ai.js.map +0 -1
  311. package/out/main/src/common/dashboard-picker.js +0 -133
  312. package/out/main/src/common/dashboard-picker.js.map +0 -1
  313. package/out/main/src/common/dashboard-readiness.js +0 -58
  314. package/out/main/src/common/dashboard-readiness.js.map +0 -1
  315. package/out/main/src/common/dashboard-selector.js +0 -124
  316. package/out/main/src/common/dashboard-selector.js.map +0 -1
  317. package/out/main/src/common/dashboard-views.js +0 -12
  318. package/out/main/src/common/dashboard-views.js.map +0 -1
  319. package/out/main/src/common/dashboard.js +0 -39
  320. package/out/main/src/common/dashboard.js.map +0 -1
  321. package/out/main/src/common/extension-info.js +0 -8
  322. package/out/main/src/common/extension-info.js.map +0 -1
  323. package/out/main/src/common/extension-updates.js +0 -13
  324. package/out/main/src/common/extension-updates.js.map +0 -1
  325. package/out/main/src/common/helm-values-validation.js +0 -56
  326. package/out/main/src/common/helm-values-validation.js.map +0 -1
  327. package/out/main/src/common/helm.js +0 -8
  328. package/out/main/src/common/helm.js.map +0 -1
  329. package/out/main/src/common/monitoring-history.js +0 -52
  330. package/out/main/src/common/monitoring-history.js.map +0 -1
  331. package/out/main/src/common/node-bulk.js +0 -6
  332. package/out/main/src/common/node-bulk.js.map +0 -1
  333. package/out/main/src/common/power-logs-limits.js +0 -227
  334. package/out/main/src/common/power-logs.js +0 -38
  335. package/out/main/src/common/resource-search-kind-priority.js +0 -23
  336. package/out/main/src/common/resource-search-kind-priority.js.map +0 -1
  337. package/out/main/src/common/resource-search.js +0 -61
  338. package/out/main/src/common/resource-search.js.map +0 -1
  339. package/out/main/src/common/settings-export.js +0 -83
  340. package/out/main/src/common/settings-export.js.map +0 -1
  341. package/out/main/src/common/store/ai-preferences-store.js +0 -143
  342. package/out/main/src/common/store/ai-preferences-store.js.map +0 -1
  343. package/out/main/src/common/store/ai-shortcuts-store.js +0 -40
  344. package/out/main/src/common/store/ai-shortcuts-store.js.map +0 -1
  345. package/out/main/src/common/store/appearance-preferences-store.js +0 -99
  346. package/out/main/src/common/store/appearance-preferences-store.js.map +0 -1
  347. package/out/main/src/common/store/cluster-icons-store.js +0 -32
  348. package/out/main/src/common/store/cluster-icons-store.js.map +0 -1
  349. package/out/main/src/common/store/dashboard-preferences-store.js +0 -56
  350. package/out/main/src/common/store/dashboard-preferences-store.js.map +0 -1
  351. package/out/main/src/common/store/helm-preferences-store.js +0 -26
  352. package/out/main/src/common/store/helm-preferences-store.js.map +0 -1
  353. package/out/main/src/common/store/logs-preferences-store.js +0 -50
  354. package/out/main/src/common/store/logs-preferences-store.js.map +0 -1
  355. package/out/main/src/common/store/monitoring-preferences-store.js +0 -69
  356. package/out/main/src/common/store/monitoring-preferences-store.js.map +0 -1
  357. package/out/main/src/common/store/node-shell-preferences-store.js +0 -44
  358. package/out/main/src/common/store/node-shell-preferences-store.js.map +0 -1
  359. package/out/main/src/common/store/power-preferences-store.js +0 -39
  360. package/out/main/src/common/store/power-preferences-store.js.map +0 -1
  361. package/out/main/src/common/store/read-only-preferences-store.js +0 -26
  362. package/out/main/src/common/store/read-only-preferences-store.js.map +0 -1
  363. package/out/renderer/_virtual/_global-external_@freelensapp/extensions.js +0 -9
  364. package/out/renderer/_virtual/_global-external_mobx-react.js +0 -20
  365. package/out/renderer/_virtual/_global-external_mobx.js +0 -80
  366. package/out/renderer/_virtual/_global-external_react/jsx-runtime.js +0 -10
  367. package/out/renderer/_virtual/_global-external_react-dom.js +0 -18
  368. package/out/renderer/_virtual/_global-external_react.js +0 -46
  369. package/out/renderer/_virtual/_rolldown/runtime.js +0 -35
  370. package/out/renderer/ai-attachment-card.js +0 -92
  371. package/out/renderer/ai-attachment-card.js.map +0 -1
  372. package/out/renderer/ai-context-mutations.js +0 -14
  373. package/out/renderer/ai-context-mutations.js.map +0 -1
  374. package/out/renderer/ai-copy-answer.js +0 -38
  375. package/out/renderer/ai-copy-answer.js.map +0 -1
  376. package/out/renderer/ai-diagnostic-handoff.js +0 -55
  377. package/out/renderer/ai-diagnostic-handoff.js.map +0 -1
  378. package/out/renderer/ai-extras.js +0 -165
  379. package/out/renderer/ai-extras.js.map +0 -1
  380. package/out/renderer/ai-icon.js +0 -46
  381. package/out/renderer/ai-icon.js.map +0 -1
  382. package/out/renderer/ai-logs-sql.js +0 -28
  383. package/out/renderer/ai-logs-sql.js.map +0 -1
  384. package/out/renderer/ai-message.js +0 -298
  385. package/out/renderer/ai-message.js.map +0 -1
  386. package/out/renderer/ai-provider-icon.js +0 -89
  387. package/out/renderer/ai-provider-icon.js.map +0 -1
  388. package/out/renderer/ai-resize.js +0 -90
  389. package/out/renderer/ai-resize.js.map +0 -1
  390. package/out/renderer/ai-shortcuts.js +0 -42
  391. package/out/renderer/ai-shortcuts.js.map +0 -1
  392. package/out/renderer/ai-terminal-context.js +0 -183
  393. package/out/renderer/ai-terminal-context.js.map +0 -1
  394. package/out/renderer/ai.js +0 -1313
  395. package/out/renderer/ai.js.map +0 -1
  396. package/out/renderer/appearance.js +0 -95
  397. package/out/renderer/appearance.js.map +0 -1
  398. package/out/renderer/assets/claude.js +0 -6
  399. package/out/renderer/assets/claude.js.map +0 -1
  400. package/out/renderer/assets/openai.js +0 -6
  401. package/out/renderer/assets/openai.js.map +0 -1
  402. package/out/renderer/assets/pi.js +0 -6
  403. package/out/renderer/assets/pi.js.map +0 -1
  404. package/out/renderer/button-styles.js +0 -49
  405. package/out/renderer/button-styles.js.map +0 -1
  406. package/out/renderer/cluster-icon-colors.js +0 -191
  407. package/out/renderer/cluster-icon-colors.js.map +0 -1
  408. package/out/renderer/cluster-icons.js +0 -311
  409. package/out/renderer/cluster-icons.js.map +0 -1
  410. package/out/renderer/dashboard.js +0 -591
  411. package/out/renderer/dashboard.js.map +0 -1
  412. package/out/renderer/details/hpa-diagnostics-details.js +0 -46
  413. package/out/renderer/details/hpa-diagnostics-details.js.map +0 -1
  414. package/out/renderer/details/namespace-health-details.js +0 -91
  415. package/out/renderer/details/namespace-health-details.js.map +0 -1
  416. package/out/renderer/details/resource-health-details.js +0 -135
  417. package/out/renderer/details/resource-health-details.js.map +0 -1
  418. package/out/renderer/details/secret-certificate-details.js +0 -68
  419. package/out/renderer/details/secret-certificate-details.js.map +0 -1
  420. package/out/renderer/details/service-diagnostics-details.js +0 -165
  421. package/out/renderer/details/service-diagnostics-details.js.map +0 -1
  422. package/out/renderer/diagnostic-explain-button.js +0 -19
  423. package/out/renderer/diagnostic-explain-button.js.map +0 -1
  424. package/out/renderer/diagnostics-screen-finding.js +0 -52
  425. package/out/renderer/diagnostics-screen-finding.js.map +0 -1
  426. package/out/renderer/diagnostics-state.js +0 -90
  427. package/out/renderer/diagnostics-state.js.map +0 -1
  428. package/out/renderer/diagnostics.css.js +0 -61
  429. package/out/renderer/diagnostics.css.js.map +0 -1
  430. package/out/renderer/diagnostics.js +0 -1740
  431. package/out/renderer/diagnostics.js.map +0 -1
  432. package/out/renderer/extension-update-notifications.js +0 -221
  433. package/out/renderer/extension-update-notifications.js.map +0 -1
  434. package/out/renderer/extension-update.js +0 -189
  435. package/out/renderer/extension-update.js.map +0 -1
  436. package/out/renderer/floating-action-transitions.js +0 -139
  437. package/out/renderer/floating-action-transitions.js.map +0 -1
  438. package/out/renderer/gateway-relationships-client.js +0 -107
  439. package/out/renderer/gateway-relationships-client.js.map +0 -1
  440. package/out/renderer/helm-app-version.js +0 -141
  441. package/out/renderer/helm-app-version.js.map +0 -1
  442. package/out/renderer/helm-code-view.js +0 -727
  443. package/out/renderer/helm-code-view.js.map +0 -1
  444. package/out/renderer/helm-entrypoints.js +0 -79
  445. package/out/renderer/helm-entrypoints.js.map +0 -1
  446. package/out/renderer/helm-full-comparison.js +0 -233
  447. package/out/renderer/helm-full-comparison.js.map +0 -1
  448. package/out/renderer/helm-operations.js +0 -541
  449. package/out/renderer/helm-operations.js.map +0 -1
  450. package/out/renderer/helm-release-actions.js +0 -296
  451. package/out/renderer/helm-release-actions.js.map +0 -1
  452. package/out/renderer/helm-revision-delete.js +0 -128
  453. package/out/renderer/helm-revision-delete.js.map +0 -1
  454. package/out/renderer/helm-version-index.js +0 -283
  455. package/out/renderer/helm-version-index.js.map +0 -1
  456. package/out/renderer/helm.js +0 -2383
  457. package/out/renderer/helm.js.map +0 -1
  458. package/out/renderer/host-extensions.js +0 -102
  459. package/out/renderer/host-extensions.js.map +0 -1
  460. package/out/renderer/host-layout.js +0 -59
  461. package/out/renderer/host-layout.js.map +0 -1
  462. package/out/renderer/host-preferences.js +0 -192
  463. package/out/renderer/host-preferences.js.map +0 -1
  464. package/out/renderer/incident-copy-button.js +0 -53
  465. package/out/renderer/incident-copy-button.js.map +0 -1
  466. package/out/renderer/index.js +0 -305
  467. package/out/renderer/index.js.map +0 -1
  468. package/out/renderer/menus/secure-node-shell-menu.js +0 -45
  469. package/out/renderer/menus/secure-node-shell-menu.js.map +0 -1
  470. package/out/renderer/monitoring-collector.js +0 -207
  471. package/out/renderer/monitoring-collector.js.map +0 -1
  472. package/out/renderer/monitoring-details-chart.js +0 -42
  473. package/out/renderer/monitoring-details-chart.js.map +0 -1
  474. package/out/renderer/monitoring-history-collection.js +0 -168
  475. package/out/renderer/monitoring-history-collection.js.map +0 -1
  476. package/out/renderer/monitoring-history-view.js +0 -227
  477. package/out/renderer/monitoring-history-view.js.map +0 -1
  478. package/out/renderer/monitoring-history.js +0 -19
  479. package/out/renderer/monitoring-history.js.map +0 -1
  480. package/out/renderer/monitoring.js +0 -939
  481. package/out/renderer/monitoring.js.map +0 -1
  482. package/out/renderer/native-resource-removals.js +0 -202
  483. package/out/renderer/native-resource-removals.js.map +0 -1
  484. package/out/renderer/native-tooltip.js +0 -22
  485. package/out/renderer/native-tooltip.js.map +0 -1
  486. package/out/renderer/node-bulk-actions.js +0 -527
  487. package/out/renderer/node-bulk-actions.js.map +0 -1
  488. package/out/renderer/node-bulk-selection.js +0 -203
  489. package/out/renderer/node-bulk-selection.js.map +0 -1
  490. package/out/renderer/node-monitoring.js +0 -127
  491. package/out/renderer/node-monitoring.js.map +0 -1
  492. package/out/renderer/node-shell-entrypoints.js +0 -65
  493. package/out/renderer/node-shell-entrypoints.js.map +0 -1
  494. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -10
  495. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
  496. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -8
  497. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +0 -1
  498. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -9
  499. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
  500. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -9
  501. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +0 -1
  502. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -8
  503. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +0 -1
  504. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  505. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js.map +0 -1
  506. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  507. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +0 -1
  508. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  509. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
  510. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js +0 -19
  511. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  512. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -15
  513. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +0 -1
  514. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  515. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js.map +0 -1
  516. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -18
  517. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +0 -1
  518. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -8
  519. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
  520. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -26
  521. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +0 -1
  522. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -8
  523. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +0 -1
  524. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -8
  525. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
  526. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  527. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +0 -1
  528. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  529. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
  530. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  531. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  532. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -12
  533. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +0 -1
  534. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -15
  535. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  536. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -12
  537. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +0 -1
  538. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  539. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js.map +0 -1
  540. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -12
  541. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
  542. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -16
  543. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
  544. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -11
  545. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
  546. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -18
  547. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
  548. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -13
  549. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
  550. package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -237
  551. package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js.map +0 -1
  552. package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -25
  553. package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  554. package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -12
  555. package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
  556. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -58
  557. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js.map +0 -1
  558. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -54
  559. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js.map +0 -1
  560. package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -133
  561. package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
  562. package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -65
  563. package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
  564. package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -54
  565. package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
  566. package/out/renderer/node_modules/.pnpm/@emotion_use-insertion-effect-with-fallbacks@1.2.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -12
  567. package/out/renderer/node_modules/.pnpm/@emotion_use-insertion-effect-with-fallbacks@1.2.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js.map +0 -1
  568. package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -30
  569. package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js.map +0 -1
  570. package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -211
  571. package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  572. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -97
  573. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  574. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -31
  575. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  576. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js +0 -45
  577. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js.map +0 -1
  578. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js +0 -392
  579. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js.map +0 -1
  580. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js +0 -7
  581. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js.map +0 -1
  582. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js +0 -27
  583. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js.map +0 -1
  584. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js +0 -21
  585. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js.map +0 -1
  586. package/out/renderer/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -93
  587. package/out/renderer/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +0 -1
  588. package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js +0 -534
  589. package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js.map +0 -1
  590. package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js +0 -3774
  591. package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
  592. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js +0 -25
  593. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js.map +0 -1
  594. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js +0 -74
  595. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js.map +0 -1
  596. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js +0 -57
  597. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js.map +0 -1
  598. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js +0 -18
  599. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js.map +0 -1
  600. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js +0 -175
  601. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js.map +0 -1
  602. package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js +0 -38
  603. package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js.map +0 -1
  604. package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -307
  605. package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +0 -1
  606. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -159
  607. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  608. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -103
  609. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  610. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -18
  611. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js.map +0 -1
  612. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2200
  613. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/Select-ef7c0426.esm.js.map +0 -1
  614. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -992
  615. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/index-641ee5b8.esm.js.map +0 -1
  616. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/react-select.esm.js +0 -14
  617. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/react-select.esm.js.map +0 -1
  618. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -56
  619. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js.map +0 -1
  620. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js +0 -22
  621. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js.map +0 -1
  622. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js +0 -30
  623. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js.map +0 -1
  624. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js +0 -164
  625. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js.map +0 -1
  626. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js +0 -37
  627. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js.map +0 -1
  628. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js +0 -245
  629. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js.map +0 -1
  630. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js +0 -120
  631. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js.map +0 -1
  632. package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js +0 -30
  633. package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js.map +0 -1
  634. package/out/renderer/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@17.0.93_react@17.0.2/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
  635. package/out/renderer/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@17.0.93_react@17.0.2/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +0 -1
  636. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -52
  637. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js.map +0 -1
  638. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -41
  639. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js.map +0 -1
  640. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js +0 -88
  641. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js.map +0 -1
  642. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -59
  643. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js.map +0 -1
  644. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js +0 -195
  645. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js.map +0 -1
  646. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -84
  647. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js.map +0 -1
  648. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -176
  649. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js.map +0 -1
  650. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -42
  651. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js.map +0 -1
  652. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -38
  653. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js.map +0 -1
  654. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -155
  655. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js.map +0 -1
  656. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -206
  657. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js.map +0 -1
  658. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -107
  659. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js.map +0 -1
  660. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -29
  661. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js.map +0 -1
  662. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -27
  663. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js.map +0 -1
  664. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -12
  665. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js.map +0 -1
  666. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -12
  667. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js.map +0 -1
  668. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js +0 -279
  669. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js.map +0 -1
  670. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js +0 -67
  671. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js.map +0 -1
  672. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -40
  673. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js.map +0 -1
  674. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js +0 -63
  675. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js.map +0 -1
  676. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js +0 -165
  677. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js.map +0 -1
  678. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js +0 -53
  679. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js.map +0 -1
  680. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/index.js +0 -24
  681. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js +0 -8
  682. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js.map +0 -1
  683. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js +0 -96
  684. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js.map +0 -1
  685. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js +0 -121
  686. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js.map +0 -1
  687. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js +0 -34
  688. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js.map +0 -1
  689. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js +0 -32
  690. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js.map +0 -1
  691. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -27
  692. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js.map +0 -1
  693. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -109
  694. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js.map +0 -1
  695. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -106
  696. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js.map +0 -1
  697. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -51
  698. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js.map +0 -1
  699. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js +0 -50
  700. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js.map +0 -1
  701. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  702. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js.map +0 -1
  703. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -3
  704. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -91
  705. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js.map +0 -1
  706. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js +0 -42
  707. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js.map +0 -1
  708. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js +0 -531
  709. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js.map +0 -1
  710. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js +0 -47
  711. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js.map +0 -1
  712. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js +0 -861
  713. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js.map +0 -1
  714. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js +0 -56
  715. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js.map +0 -1
  716. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js +0 -29
  717. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js.map +0 -1
  718. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js +0 -18
  719. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js.map +0 -1
  720. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  721. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js.map +0 -1
  722. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js +0 -18
  723. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js.map +0 -1
  724. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js +0 -16
  725. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js.map +0 -1
  726. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  727. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js.map +0 -1
  728. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js +0 -42
  729. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js.map +0 -1
  730. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js +0 -41
  731. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js.map +0 -1
  732. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js +0 -25
  733. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js.map +0 -1
  734. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js +0 -63
  735. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js.map +0 -1
  736. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js +0 -84
  737. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js.map +0 -1
  738. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -54
  739. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js.map +0 -1
  740. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -27
  741. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js.map +0 -1
  742. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -45
  743. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js.map +0 -1
  744. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -75
  745. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js.map +0 -1
  746. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -43
  747. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js.map +0 -1
  748. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -63
  749. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js.map +0 -1
  750. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -60
  751. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js.map +0 -1
  752. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -41
  753. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js.map +0 -1
  754. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -68
  755. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js.map +0 -1
  756. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -83
  757. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js.map +0 -1
  758. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -116
  759. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js.map +0 -1
  760. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js +0 -108
  761. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js.map +0 -1
  762. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -118
  763. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js.map +0 -1
  764. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  765. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js.map +0 -1
  766. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -61
  767. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js.map +0 -1
  768. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -21
  769. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js.map +0 -1
  770. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -97
  771. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js.map +0 -1
  772. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -224
  773. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js.map +0 -1
  774. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js +0 -190
  775. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js.map +0 -1
  776. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/index.js +0 -24
  777. package/out/renderer/package.js +0 -6
  778. package/out/renderer/package.js.map +0 -1
  779. package/out/renderer/pod-bulk-customization.js +0 -51
  780. package/out/renderer/pod-bulk-customization.js.map +0 -1
  781. package/out/renderer/pod-details-enhancements.js +0 -107
  782. package/out/renderer/pod-details-enhancements.js.map +0 -1
  783. package/out/renderer/pod-monitoring.js +0 -309
  784. package/out/renderer/pod-monitoring.js.map +0 -1
  785. package/out/renderer/pod-removal-confirmation.js +0 -172
  786. package/out/renderer/pod-removal-confirmation.js.map +0 -1
  787. package/out/renderer/power-log-column-widths.js +0 -54
  788. package/out/renderer/power-log-column-widths.js.map +0 -1
  789. package/out/renderer/power-log-columns.js +0 -114
  790. package/out/renderer/power-log-columns.js.map +0 -1
  791. package/out/renderer/power-log-json-cell.js +0 -88
  792. package/out/renderer/power-log-json-cell.js.map +0 -1
  793. package/out/renderer/power-log-json-fields.js +0 -144
  794. package/out/renderer/power-log-json-fields.js.map +0 -1
  795. package/out/renderer/power-log-json.js +0 -261
  796. package/out/renderer/power-log-json.js.map +0 -1
  797. package/out/renderer/power-log-message-tokens.js +0 -60
  798. package/out/renderer/power-log-message-tokens.js.map +0 -1
  799. package/out/renderer/power-log-message.js +0 -26
  800. package/out/renderer/power-log-message.js.map +0 -1
  801. package/out/renderer/power-log-sql-editor.js +0 -120
  802. package/out/renderer/power-log-sql-editor.js.map +0 -1
  803. package/out/renderer/power-logs-client.js +0 -44
  804. package/out/renderer/power-logs-client.js.map +0 -1
  805. package/out/renderer/power-logs-collector.js +0 -316
  806. package/out/renderer/power-logs-collector.js.map +0 -1
  807. package/out/renderer/power-logs-context.js +0 -45
  808. package/out/renderer/power-logs-context.js.map +0 -1
  809. package/out/renderer/power-logs-entrypoints.js +0 -178
  810. package/out/renderer/power-logs-entrypoints.js.map +0 -1
  811. package/out/renderer/power-logs-resource-stores.js +0 -71
  812. package/out/renderer/power-logs-resource-stores.js.map +0 -1
  813. package/out/renderer/power-logs-session.js +0 -35
  814. package/out/renderer/power-logs-session.js.map +0 -1
  815. package/out/renderer/power-logs-sql-drafts.js +0 -76
  816. package/out/renderer/power-logs-sql-drafts.js.map +0 -1
  817. package/out/renderer/power-logs-sql-row.js +0 -44
  818. package/out/renderer/power-logs-sql-row.js.map +0 -1
  819. package/out/renderer/power-logs-storage.js +0 -11
  820. package/out/renderer/power-logs-storage.js.map +0 -1
  821. package/out/renderer/power-logs-transport.js +0 -122
  822. package/out/renderer/power-logs-transport.js.map +0 -1
  823. package/out/renderer/power-logs.css.js +0 -216
  824. package/out/renderer/power-logs.css.js.map +0 -1
  825. package/out/renderer/power-logs.js +0 -2143
  826. package/out/renderer/power-logs.js.map +0 -1
  827. package/out/renderer/preferences/ai-preferences.js +0 -458
  828. package/out/renderer/preferences/ai-preferences.js.map +0 -1
  829. package/out/renderer/preferences/ai-shortcuts-preferences.js +0 -175
  830. package/out/renderer/preferences/ai-shortcuts-preferences.js.map +0 -1
  831. package/out/renderer/preferences/appearance-preferences.js +0 -97
  832. package/out/renderer/preferences/appearance-preferences.js.map +0 -1
  833. package/out/renderer/preferences/dashboard-preferences.js +0 -430
  834. package/out/renderer/preferences/dashboard-preferences.js.map +0 -1
  835. package/out/renderer/preferences/helm-preferences.js +0 -22
  836. package/out/renderer/preferences/helm-preferences.js.map +0 -1
  837. package/out/renderer/preferences/logs-preferences.js +0 -328
  838. package/out/renderer/preferences/logs-preferences.js.map +0 -1
  839. package/out/renderer/preferences/monitoring-preferences.js +0 -175
  840. package/out/renderer/preferences/monitoring-preferences.js.map +0 -1
  841. package/out/renderer/preferences/node-shell-preferences.js +0 -83
  842. package/out/renderer/preferences/node-shell-preferences.js.map +0 -1
  843. package/out/renderer/preferences/other-preferences.js +0 -55
  844. package/out/renderer/preferences/other-preferences.js.map +0 -1
  845. package/out/renderer/preferences/power-preferences.js +0 -39
  846. package/out/renderer/preferences/power-preferences.js.map +0 -1
  847. package/out/renderer/preferences/preferences.js +0 -294
  848. package/out/renderer/preferences/preferences.js.map +0 -1
  849. package/out/renderer/preferences/read-only-preferences.js +0 -23
  850. package/out/renderer/preferences/read-only-preferences.js.map +0 -1
  851. package/out/renderer/preferences/section-navigation.js +0 -44
  852. package/out/renderer/preferences/section-navigation.js.map +0 -1
  853. package/out/renderer/preferences/settings-export.js +0 -91
  854. package/out/renderer/preferences/settings-export.js.map +0 -1
  855. package/out/renderer/preferences/settings-icon-action.js +0 -24
  856. package/out/renderer/preferences/settings-icon-action.js.map +0 -1
  857. package/out/renderer/preferences/settings-modal.js +0 -82
  858. package/out/renderer/preferences/settings-modal.js.map +0 -1
  859. package/out/renderer/read-only.js +0 -103
  860. package/out/renderer/read-only.js.map +0 -1
  861. package/out/renderer/relationship-map-finding.js +0 -54
  862. package/out/renderer/relationship-map-finding.js.map +0 -1
  863. package/out/renderer/resource-relationships.css.js +0 -17
  864. package/out/renderer/resource-relationships.css.js.map +0 -1
  865. package/out/renderer/resource-relationships.js +0 -663
  866. package/out/renderer/resource-relationships.js.map +0 -1
  867. package/out/renderer/resource-search-client.js +0 -116
  868. package/out/renderer/resource-search-client.js.map +0 -1
  869. package/out/renderer/resource-search-discovery.js +0 -79
  870. package/out/renderer/resource-search-discovery.js.map +0 -1
  871. package/out/renderer/resource-search-distance.js +0 -24
  872. package/out/renderer/resource-search-distance.js.map +0 -1
  873. package/out/renderer/resource-search-fields.js +0 -55
  874. package/out/renderer/resource-search-fields.js.map +0 -1
  875. package/out/renderer/resource-search-model.js +0 -195
  876. package/out/renderer/resource-search-model.js.map +0 -1
  877. package/out/renderer/resource-search-routing.js +0 -78
  878. package/out/renderer/resource-search-routing.js.map +0 -1
  879. package/out/renderer/resource-search-sync.js +0 -199
  880. package/out/renderer/resource-search-sync.js.map +0 -1
  881. package/out/renderer/resource-search.js +0 -646
  882. package/out/renderer/resource-search.js.map +0 -1
  883. package/out/renderer/secret-dialog-customization.js +0 -142
  884. package/out/renderer/secret-dialog-customization.js.map +0 -1
  885. package/out/renderer/src/common/ai-attachments.js +0 -160
  886. package/out/renderer/src/common/ai-attachments.js.map +0 -1
  887. package/out/renderer/src/common/ai-extras.js +0 -68
  888. package/out/renderer/src/common/ai-extras.js.map +0 -1
  889. package/out/renderer/src/common/ai-models.js +0 -64
  890. package/out/renderer/src/common/ai-models.js.map +0 -1
  891. package/out/renderer/src/common/ai-prompts.js +0 -46
  892. package/out/renderer/src/common/ai-prompts.js.map +0 -1
  893. package/out/renderer/src/common/ai-resource-payload.js +0 -262
  894. package/out/renderer/src/common/ai-resource-payload.js.map +0 -1
  895. package/out/renderer/src/common/ai-shortcuts.js +0 -78
  896. package/out/renderer/src/common/ai-shortcuts.js.map +0 -1
  897. package/out/renderer/src/common/ai-terminal-context.js +0 -72
  898. package/out/renderer/src/common/ai-terminal-context.js.map +0 -1
  899. package/out/renderer/src/common/ai.js +0 -14
  900. package/out/renderer/src/common/ai.js.map +0 -1
  901. package/out/renderer/src/common/cluster-icon-ipc.js +0 -6
  902. package/out/renderer/src/common/cluster-icon-ipc.js.map +0 -1
  903. package/out/renderer/src/common/cluster-icons.js +0 -133
  904. package/out/renderer/src/common/cluster-icons.js.map +0 -1
  905. package/out/renderer/src/common/dashboard-ai.js +0 -22
  906. package/out/renderer/src/common/dashboard-ai.js.map +0 -1
  907. package/out/renderer/src/common/dashboard-picker.js +0 -6
  908. package/out/renderer/src/common/dashboard-picker.js.map +0 -1
  909. package/out/renderer/src/common/dashboard-selector.js +0 -9
  910. package/out/renderer/src/common/dashboard-selector.js.map +0 -1
  911. package/out/renderer/src/common/dashboard-views.js +0 -18
  912. package/out/renderer/src/common/dashboard-views.js.map +0 -1
  913. package/out/renderer/src/common/dashboard.js +0 -39
  914. package/out/renderer/src/common/dashboard.js.map +0 -1
  915. package/out/renderer/src/common/date-time.js +0 -11
  916. package/out/renderer/src/common/date-time.js.map +0 -1
  917. package/out/renderer/src/common/extension-info.js +0 -8
  918. package/out/renderer/src/common/extension-info.js.map +0 -1
  919. package/out/renderer/src/common/extension-updates.js +0 -33
  920. package/out/renderer/src/common/extension-updates.js.map +0 -1
  921. package/out/renderer/src/common/gateway-relationships.js +0 -123
  922. package/out/renderer/src/common/gateway-relationships.js.map +0 -1
  923. package/out/renderer/src/common/helm-diff.js +0 -312
  924. package/out/renderer/src/common/helm-diff.js.map +0 -1
  925. package/out/renderer/src/common/helm-values-validation.js +0 -59
  926. package/out/renderer/src/common/helm-values-validation.js.map +0 -1
  927. package/out/renderer/src/common/helm.js +0 -10
  928. package/out/renderer/src/common/helm.js.map +0 -1
  929. package/out/renderer/src/common/hpa-diagnostics.js +0 -24
  930. package/out/renderer/src/common/hpa-diagnostics.js.map +0 -1
  931. package/out/renderer/src/common/incident-summary.js +0 -73
  932. package/out/renderer/src/common/incident-summary.js.map +0 -1
  933. package/out/renderer/src/common/monitoring-history.js +0 -17
  934. package/out/renderer/src/common/monitoring-history.js.map +0 -1
  935. package/out/renderer/src/common/monitoring-math.js +0 -98
  936. package/out/renderer/src/common/monitoring-math.js.map +0 -1
  937. package/out/renderer/src/common/node-bulk.js +0 -6
  938. package/out/renderer/src/common/node-bulk.js.map +0 -1
  939. package/out/renderer/src/common/node-shell.js +0 -22
  940. package/out/renderer/src/common/node-shell.js.map +0 -1
  941. package/out/renderer/src/common/power-log-field-filters.js +0 -92
  942. package/out/renderer/src/common/power-log-field-filters.js.map +0 -1
  943. package/out/renderer/src/common/power-log-json-filter-sql.js +0 -118
  944. package/out/renderer/src/common/power-log-json-filter-sql.js.map +0 -1
  945. package/out/renderer/src/common/power-log-json-preset.js +0 -34
  946. package/out/renderer/src/common/power-log-json-preset.js.map +0 -1
  947. package/out/renderer/src/common/power-log-level.js +0 -172
  948. package/out/renderer/src/common/power-log-level.js.map +0 -1
  949. package/out/renderer/src/common/power-log-parser.js +0 -92
  950. package/out/renderer/src/common/power-log-parser.js.map +0 -1
  951. package/out/renderer/src/common/power-log-sql-level.js +0 -25
  952. package/out/renderer/src/common/power-log-sql-level.js.map +0 -1
  953. package/out/renderer/src/common/power-logs-ai.js +0 -60
  954. package/out/renderer/src/common/power-logs-ai.js.map +0 -1
  955. package/out/renderer/src/common/power-logs-limits.js.map +0 -1
  956. package/out/renderer/src/common/power-logs.js +0 -38
  957. package/out/renderer/src/common/power-logs.js.map +0 -1
  958. package/out/renderer/src/common/resource-diagnostics.js +0 -227
  959. package/out/renderer/src/common/resource-diagnostics.js.map +0 -1
  960. package/out/renderer/src/common/resource-health.js +0 -92
  961. package/out/renderer/src/common/resource-health.js.map +0 -1
  962. package/out/renderer/src/common/resource-relationships.js +0 -165
  963. package/out/renderer/src/common/resource-relationships.js.map +0 -1
  964. package/out/renderer/src/common/resource-search-kind-priority.js +0 -28
  965. package/out/renderer/src/common/resource-search-kind-priority.js.map +0 -1
  966. package/out/renderer/src/common/resource-search.js +0 -6
  967. package/out/renderer/src/common/resource-search.js.map +0 -1
  968. package/out/renderer/src/common/search-index-redaction.js +0 -26
  969. package/out/renderer/src/common/search-index-redaction.js.map +0 -1
  970. package/out/renderer/src/common/secret-certificates.js +0 -34
  971. package/out/renderer/src/common/secret-certificates.js.map +0 -1
  972. package/out/renderer/src/common/service-diagnostics.js +0 -50
  973. package/out/renderer/src/common/service-diagnostics.js.map +0 -1
  974. package/out/renderer/src/common/settings-export.js +0 -8
  975. package/out/renderer/src/common/settings-export.js.map +0 -1
  976. package/out/renderer/src/common/store/ai-preferences-store.js +0 -143
  977. package/out/renderer/src/common/store/ai-preferences-store.js.map +0 -1
  978. package/out/renderer/src/common/store/ai-shortcuts-store.js +0 -40
  979. package/out/renderer/src/common/store/ai-shortcuts-store.js.map +0 -1
  980. package/out/renderer/src/common/store/appearance-preferences-store.js +0 -99
  981. package/out/renderer/src/common/store/appearance-preferences-store.js.map +0 -1
  982. package/out/renderer/src/common/store/dashboard-preferences-store.js +0 -56
  983. package/out/renderer/src/common/store/dashboard-preferences-store.js.map +0 -1
  984. package/out/renderer/src/common/store/helm-preferences-store.js +0 -26
  985. package/out/renderer/src/common/store/helm-preferences-store.js.map +0 -1
  986. package/out/renderer/src/common/store/logs-preferences-store.js +0 -50
  987. package/out/renderer/src/common/store/logs-preferences-store.js.map +0 -1
  988. package/out/renderer/src/common/store/monitoring-preferences-store.js +0 -69
  989. package/out/renderer/src/common/store/monitoring-preferences-store.js.map +0 -1
  990. package/out/renderer/src/common/store/node-shell-preferences-store.js +0 -44
  991. package/out/renderer/src/common/store/node-shell-preferences-store.js.map +0 -1
  992. package/out/renderer/src/common/store/power-preferences-store.js +0 -39
  993. package/out/renderer/src/common/store/power-preferences-store.js.map +0 -1
  994. package/out/renderer/src/common/store/read-only-preferences-store.js +0 -26
  995. package/out/renderer/src/common/store/read-only-preferences-store.js.map +0 -1
  996. package/out/renderer/src/common/timeline-groups.js +0 -36
  997. package/out/renderer/src/common/timeline-groups.js.map +0 -1
  998. package/out/renderer/welcome.js +0 -147
  999. package/out/renderer/welcome.js.map +0 -1
@@ -1,1740 +0,0 @@
1
- const require_extensions = require("./_virtual/_global-external_@freelensapp/extensions.js");
2
- const require__global_external_mobx = require("./_virtual/_global-external_mobx.js");
3
- const require_monitoring_preferences_store = require("./src/common/store/monitoring-preferences-store.js");
4
- const require__global_external_react = require("./_virtual/_global-external_react.js");
5
- const require_jsx_runtime = require("./_virtual/_global-external_react/jsx-runtime.js");
6
- const require_ai_icon = require("./ai-icon.js");
7
- const require_native_tooltip = require("./native-tooltip.js");
8
- const require_ai_diagnostic_handoff = require("./ai-diagnostic-handoff.js");
9
- const require_date_time = require("./src/common/date-time.js");
10
- const require_monitoring_collector = require("./monitoring-collector.js");
11
- const require_resource_diagnostics = require("./src/common/resource-diagnostics.js");
12
- const require_timeline_groups = require("./src/common/timeline-groups.js");
13
- const require_diagnostic_explain_button = require("./diagnostic-explain-button.js");
14
- const require_diagnostics_css = require("./diagnostics.css.js");
15
- const require_diagnostics_screen_finding = require("./diagnostics-screen-finding.js");
16
- const require_diagnostics_state = require("./diagnostics-state.js");
17
- const require_incident_copy_button = require("./incident-copy-button.js");
18
- //#region src/renderer/diagnostics.tsx
19
- var viewDescriptions = {
20
- Consumers: ["What is using cluster resources?", "Compare workload usage and requests, then expand a workload to inspect its pods."],
21
- Timeline: ["What changed in this workload?", "Follow related Kubernetes events and changes observed while this view is open."],
22
- "Not ready": ["Why is this pod not ready?", "Inspect running pod readiness, conditions and retained events."],
23
- Pending: ["Why is this pod waiting?", "Inspect scheduling evidence and resource requests before opening the pod for investigation."]
24
- };
25
- function DiagnosticsSelect({ label, value, onChange, options }) {
26
- return /* @__PURE__ */ require_jsx_runtime.jsx("span", {
27
- className: "diagnostics-select",
28
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_extensions.Renderer.Component.Select, {
29
- "aria-label": label,
30
- value,
31
- options,
32
- onChange: (option) => {
33
- if (option) onChange(option.value);
34
- },
35
- isClearable: false
36
- })
37
- });
38
- }
39
- function ResourceCell({ summary, metric }) {
40
- const complete = summary.coveredPods === summary.totalPods && !summary.unknownRequestPods;
41
- const ratio = complete && summary.usage !== void 0 && summary.requests > 0 ? `${(summary.usage / summary.requests * 100).toFixed(0)}% of requests` : void 0;
42
- return /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
43
- className: "resource-cell",
44
- children: [
45
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
46
- className: "resource-value",
47
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("small", { children: "Usage" }), /* @__PURE__ */ require_jsx_runtime.jsx("strong", { children: resourceText(summary.usage, metric) })]
48
- }),
49
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
50
- className: "resource-request",
51
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("small", { children: summary.unknownRequestPods ? "Known requests" : "Requests" }), /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: resourceText(summary.requests, metric) })]
52
- }),
53
- /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
54
- title: "Coverage is per resource. Missing metrics are unavailable, never zero.",
55
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("small", {
56
- className: "resource-coverage",
57
- children: [
58
- summary.coveredPods,
59
- "/",
60
- summary.totalPods,
61
- " pods covered",
62
- summary.unknownRequestPods ? ` · ${summary.unknownRequestPods} requests unknown` : "",
63
- ratio ? ` · ${ratio}` : ""
64
- ]
65
- })
66
- }),
67
- complete && summary.usage !== void 0 && summary.requests > 0 && summary.usage > summary.requests && /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
68
- title: "Usage exceeds configured requests. Requests are reservations, not limits; this alone does not indicate a failure.",
69
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("span", {
70
- className: "request-burst",
71
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
72
- material: "info_outline",
73
- size: 12
74
- }), "Above requests"]
75
- })
76
- })
77
- ]
78
- });
79
- }
80
- function UnscheduledCell({ cpu, memory }) {
81
- if (!(cpu.unknownRequestPods || memory.unknownRequestPods) && !cpu.unscheduledRequests && !memory.unscheduledRequests) return /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
82
- title: "No unscheduled requests",
83
- children: /* @__PURE__ */ require_jsx_runtime.jsx("span", {
84
- className: "unscheduled-empty",
85
- children: "—"
86
- })
87
- });
88
- return /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
89
- className: `unscheduled-cell${cpu.unscheduledRequests || memory.unscheduledRequests ? " has-requests" : ""}`,
90
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", { children: [/* @__PURE__ */ require_jsx_runtime.jsx("small", { children: "CPU" }), /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: unscheduledText(cpu, "cpu") })] }), /* @__PURE__ */ require_jsx_runtime.jsxs("div", { children: [/* @__PURE__ */ require_jsx_runtime.jsx("small", { children: "Memory" }), /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: unscheduledText(memory, "memory") })] })]
91
- });
92
- }
93
- function consumerStatus(pods) {
94
- const failureReasons = /* @__PURE__ */ new Set([
95
- "CrashLoopBackOff",
96
- "ImagePullBackOff",
97
- "ErrImagePull",
98
- "CreateContainerConfigError",
99
- "CreateContainerError",
100
- "RunContainerError",
101
- "InvalidImageName"
102
- ]);
103
- for (const pod of pods) {
104
- if (pod.status?.phase === "Succeeded") continue;
105
- const status = pod.status;
106
- const reason = [...status?.containerStatuses ?? [], ...status?.initContainerStatuses ?? []].map((status) => status.state?.waiting?.reason).find((value) => value && failureReasons.has(value));
107
- if (pod.status?.phase === "Failed" || reason) return {
108
- tone: "error",
109
- label: reason ?? "Failed",
110
- icon: "error_outline"
111
- };
112
- }
113
- const pendingCount = pods.filter((pod) => pod.status?.phase === "Pending").length;
114
- if (pendingCount) return {
115
- tone: "warning",
116
- label: `${pendingCount} Pending`,
117
- icon: "hourglass_empty"
118
- };
119
- if (pods.some((pod) => pod.status?.phase !== "Succeeded" && pod.status?.conditions?.some((condition) => condition.type === "Ready" && condition.status === "False"))) return {
120
- tone: "warning",
121
- label: "Not ready",
122
- icon: "warning_amber"
123
- };
124
- if (pods.length && pods.every((pod) => pod.status?.phase === "Succeeded" || pod.status?.phase === "Running" && pod.status.conditions?.some((condition) => condition.type === "Ready" && condition.status === "True"))) return pods.every((pod) => pod.status?.phase === "Succeeded") ? {
125
- tone: "healthy",
126
- label: "Completed",
127
- icon: "check_circle"
128
- } : {
129
- tone: "healthy",
130
- label: pods.some((pod) => pod.status?.phase === "Succeeded") ? "Ready / Completed" : "Ready",
131
- icon: "check_circle_outline"
132
- };
133
- return {
134
- tone: "neutral",
135
- label: "Readiness unknown",
136
- icon: "help_outline"
137
- };
138
- }
139
- function ConsumerStatus({ pods }) {
140
- const status = consumerStatus(pods);
141
- return /* @__PURE__ */ require_jsx_runtime.jsxs("span", {
142
- className: `consumer-status ${status.tone}`,
143
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
144
- material: status.icon,
145
- size: 13
146
- }), status.label]
147
- });
148
- }
149
- var hidden = () => document.visibilityState === "hidden";
150
- var activeId = () => require_extensions.Renderer.Catalog.activeCluster.get()?.metadata.uid;
151
- var groupKey = (group) => `${group.namespace}/${group.identity}`;
152
- function resourceText(value, metric) {
153
- if (value === void 0) return "Unavailable";
154
- return metric === "cpu" ? `${value.toFixed(3)} cores` : `${(value / 1024 ** 2).toFixed(1)} MiB`;
155
- }
156
- function unscheduledText(summary, metric) {
157
- return `${summary.unknownRequestPods ? "Partial known: " : ""}${resourceText(summary.unscheduledRequests, metric)}`;
158
- }
159
- var resources = {
160
- Pod: "/api/v1",
161
- Deployment: "/apis/apps/v1",
162
- ReplicaSet: "/apis/apps/v1",
163
- StatefulSet: "/apis/apps/v1",
164
- DaemonSet: "/apis/apps/v1",
165
- Job: "/apis/batch/v1",
166
- CronJob: "/apis/batch/v1"
167
- };
168
- var plurals = {
169
- Pod: "pods",
170
- Deployment: "deployments",
171
- ReplicaSet: "replicasets",
172
- StatefulSet: "statefulsets",
173
- DaemonSet: "daemonsets",
174
- Job: "jobs",
175
- CronJob: "cronjobs"
176
- };
177
- function openResource(object, clusterId, event) {
178
- event.stopPropagation();
179
- const kind = object.kind ?? "Pod";
180
- if (activeId() !== clusterId || !object.metadata.name) return;
181
- if (kind === "Namespace") {
182
- Promise.resolve(require_extensions.Renderer.Navigation.showDetails(`/api/v1/namespaces/${encodeURIComponent(object.metadata.name)}`)).catch(() => {});
183
- return;
184
- }
185
- if (!object.metadata.namespace || !resources[kind]) return;
186
- const path = `${resources[kind]}/namespaces/${encodeURIComponent(object.metadata.namespace)}/${plurals[kind]}/${encodeURIComponent(object.metadata.name)}`;
187
- Promise.resolve(require_extensions.Renderer.Navigation.showDetails(path)).catch(() => {});
188
- }
189
- var projections = /* @__PURE__ */ new WeakMap();
190
- function projectSnapshot(data) {
191
- const usage = require_monitoring_collector.getCollectedPodUsage(data);
192
- const groups = require_resource_diagnostics.buildConsumerGroups(data.pods ?? [], data.owners ?? [], usage);
193
- const objects = /* @__PURE__ */ new Map();
194
- const children = /* @__PURE__ */ new Map();
195
- for (const object of [...data.owners ?? [], ...data.pods ?? []]) {
196
- const uid = object.metadata.uid;
197
- if (!uid) continue;
198
- objects.set(uid, object);
199
- const refs = object.metadata.ownerReferences ?? [];
200
- const parent = refs.find((item) => item.controller) ?? (refs.length === 1 ? refs[0] : void 0);
201
- if (parent) {
202
- const siblings = children.get(parent.uid) ?? [];
203
- siblings.push(uid);
204
- children.set(parent.uid, siblings);
205
- }
206
- }
207
- const related = /* @__PURE__ */ new Map();
208
- for (const group of groups) {
209
- const seen = /* @__PURE__ */ new Set();
210
- const stack = [group.identity];
211
- while (stack.length) {
212
- const uid = stack.pop();
213
- if (seen.has(uid)) continue;
214
- const object = objects.get(uid);
215
- if (object && object.metadata.namespace !== group.namespace) continue;
216
- seen.add(uid);
217
- stack.push(...children.get(uid) ?? []);
218
- }
219
- related.set(groupKey(group), seen);
220
- }
221
- return {
222
- usage,
223
- groups,
224
- objects,
225
- related
226
- };
227
- }
228
- function projection(data) {
229
- let value = projections.get(data);
230
- if (!value) {
231
- value = projectSnapshot(data);
232
- projections.set(data, value);
233
- }
234
- return value;
235
- }
236
- function DiagnosticsSummary({ data, groups, namespaceScope, onAttention, onEvents }) {
237
- const attentionPods = new Set(groups.filter((group) => !namespaceScope || group.namespace === namespaceScope).flatMap((group) => group.pods).filter((pod) => ["warning", "error"].includes(consumerStatus([pod]).tone)).map((pod) => pod.metadata.uid ?? pod)).size;
238
- const podCapacities = data?.nodes?.map((node) => {
239
- const capacity = node.status?.capacity?.pods?.trim();
240
- return capacity ? Number(capacity) : NaN;
241
- });
242
- const podCapacity = podCapacities?.every((value) => Number.isSafeInteger(value) && value >= 0) ? podCapacities.reduce((total, value) => total + value, 0) : void 0;
243
- return /* @__PURE__ */ require_jsx_runtime.jsx("div", {
244
- className: "diagnostics-summary",
245
- "aria-label": "Snapshot summary",
246
- children: [
247
- {
248
- name: "workloads",
249
- icon: "account_tree",
250
- label: "Workloads and standalone pods",
251
- value: groups.length
252
- },
253
- {
254
- name: "pods",
255
- icon: "view_in_ar",
256
- label: "Pods in snapshot",
257
- value: data?.pods?.length
258
- },
259
- {
260
- name: "pending",
261
- icon: "warning_amber",
262
- label: "Pods needing attention",
263
- value: attentionPods
264
- },
265
- ...onEvents ? [{
266
- name: "events",
267
- icon: "access_time",
268
- label: "Events",
269
- value: data?.events?.length
270
- }] : []
271
- ].map((card) => {
272
- const available = card.name === "events" ? data?.events != null : data?.pods !== void 0;
273
- const clickable = card.name === "events" ? onEvents : card.name === "pending" && data?.pods ? onAttention : void 0;
274
- return /* @__PURE__ */ require_jsx_runtime.jsxs(clickable ? "button" : "div", {
275
- className: `summary-card ${card.name}${!available ? " unavailable" : card.name === "pending" && attentionPods ? " attention" : ""}`,
276
- ...clickable ? {
277
- type: "button",
278
- onClick: clickable,
279
- title: card.name === "events" ? "Open Events" : "Show consumers needing attention",
280
- "aria-label": card.name === "events" ? "Open Events" : "Show consumers needing attention"
281
- } : {},
282
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("span", {
283
- className: "summary-icon",
284
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
285
- material: card.icon,
286
- size: 22
287
- })
288
- }), /* @__PURE__ */ require_jsx_runtime.jsxs("div", { children: [/* @__PURE__ */ require_jsx_runtime.jsxs("strong", { children: [data ? available ? card.value : "Unavailable" : "…", card.name === "pods" && onEvents && /* @__PURE__ */ require_jsx_runtime.jsxs("small", {
289
- className: "pod-capacity",
290
- children: [" / ", data ? podCapacity?.toLocaleString("en-US").replaceAll(",", " ") ?? "Unavailable" : "…"]
291
- })] }), /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: card.name === "pods" && onEvents ? "Pods / Capacity" : card.label })] })]
292
- }, card.name);
293
- })
294
- });
295
- }
296
- function ClusterDiagnosticsOverview({ onOpenDiagnostics }) {
297
- const [snapshot, setSnapshot] = require__global_external_react.useState();
298
- const [error, setError] = require__global_external_react.useState("");
299
- const [expanded, setExpanded] = require__global_external_react.useState([]);
300
- require__global_external_react.useEffect(() => {
301
- const release = require_monitoring_collector.retainMonitoringCollector();
302
- let disposed = false;
303
- let generation = 0;
304
- let loading = false;
305
- const identity = () => {
306
- const cluster = require_extensions.Renderer.Catalog.activeCluster.get();
307
- return `${cluster?.metadata.uid ?? ""}:${cluster?.spec.kubeconfigContext ?? ""}`;
308
- };
309
- const load = async () => {
310
- if (disposed || loading || hidden()) return;
311
- if (!activeId()) {
312
- setError("Select a connected cluster");
313
- return;
314
- }
315
- const current = generation;
316
- const context = identity();
317
- loading = true;
318
- try {
319
- const next = await require_monitoring_collector.getMonitoringSnapshot(true);
320
- if (disposed || current !== generation || identity() !== context || next.clusterId !== activeId() || hidden()) return;
321
- setSnapshot(next);
322
- setError("");
323
- } catch {
324
- if (!disposed && current === generation && identity() === context && !hidden()) setError("Diagnostics unavailable or access denied");
325
- } finally {
326
- loading = false;
327
- }
328
- };
329
- const stop = require__global_external_mobx.reaction(identity, () => {
330
- generation++;
331
- setSnapshot(void 0);
332
- setExpanded([]);
333
- setError("");
334
- load();
335
- });
336
- const visibility = () => {
337
- generation++;
338
- if (!hidden()) load();
339
- };
340
- const timer = window.setInterval(() => void load(), 1e3);
341
- document.addEventListener("visibilitychange", visibility);
342
- load();
343
- return () => {
344
- disposed = true;
345
- generation++;
346
- stop();
347
- release();
348
- window.clearInterval(timer);
349
- document.removeEventListener("visibilitychange", visibility);
350
- };
351
- }, []);
352
- const data = snapshot?.clusterId === activeId() ? snapshot : void 0;
353
- const projected = data ? projection(data) : void 0;
354
- const groups = projected?.groups ?? [];
355
- const filtered = groups.filter((group) => ["warning", "error"].includes(consumerStatus(group.pods).tone)).sort((a, b) => (b.cpu.usage ?? -1) - (a.cpu.usage ?? -1));
356
- const open = () => {
357
- const clusterId = activeId();
358
- if (!clusterId) return;
359
- require_diagnostics_state.focusDiagnosticsAttention(clusterId);
360
- onOpenDiagnostics();
361
- };
362
- return /* @__PURE__ */ require_jsx_runtime.jsxs("section", {
363
- className: "power-diagnostics power-diagnostics-overview",
364
- "aria-label": "Diagnostics",
365
- children: [
366
- /* @__PURE__ */ require_jsx_runtime.jsx("style", { children: require_diagnostics_css.diagnosticsStyles }),
367
- /* @__PURE__ */ require_jsx_runtime.jsx(DiagnosticsSummary, {
368
- data,
369
- groups,
370
- onAttention: open,
371
- onEvents: () => {
372
- if (require_monitoring_preferences_store.MonitoringPreferencesStore.getInstanceOrCreate().diagnosticsVisible === false) {
373
- require_extensions.Renderer.Navigation.navigate("/events");
374
- return;
375
- }
376
- const clusterId = activeId();
377
- if (!clusterId) return;
378
- require_diagnostics_state.focusDiagnosticsTimeline(clusterId);
379
- onOpenDiagnostics();
380
- }
381
- }),
382
- error && /* @__PURE__ */ require_jsx_runtime.jsx("p", {
383
- className: "diagnostics-notice",
384
- role: "status",
385
- children: error
386
- }),
387
- data?.errors.map((message) => /* @__PURE__ */ require_jsx_runtime.jsx("p", {
388
- className: "diagnostics-notice",
389
- role: "status",
390
- children: message
391
- }, message)),
392
- !data && !error && /* @__PURE__ */ require_jsx_runtime.jsx("p", {
393
- className: "diagnostics-empty diagnostics-loading",
394
- role: "status",
395
- children: "Loading resource diagnostics…"
396
- }),
397
- data && filtered.length > 0 && /* @__PURE__ */ require_jsx_runtime.jsx("div", {
398
- className: "diagnostics-table",
399
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("table", {
400
- className: "consumers-table",
401
- children: [
402
- /* @__PURE__ */ require_jsx_runtime.jsxs("colgroup", { children: [
403
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "consumer-column" }),
404
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "metric-column" }),
405
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "metric-column" }),
406
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "unscheduled-column" })
407
- ] }),
408
- /* @__PURE__ */ require_jsx_runtime.jsx("thead", { children: /* @__PURE__ */ require_jsx_runtime.jsxs("tr", { children: [
409
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Namespace / consumer" }),
410
- /* @__PURE__ */ require_jsx_runtime.jsx("th", {
411
- className: "numeric",
412
- children: "CPU usage / requests"
413
- }),
414
- /* @__PURE__ */ require_jsx_runtime.jsx("th", {
415
- className: "numeric",
416
- children: "Memory usage / requests"
417
- }),
418
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Unscheduled requests" })
419
- ] }) }),
420
- /* @__PURE__ */ require_jsx_runtime.jsx("tbody", { children: /* @__PURE__ */ require_jsx_runtime.jsx(NamespaceRows, {
421
- namespace: "",
422
- groups: filtered,
423
- clusterId: data.clusterId,
424
- snapshotTime: data.time,
425
- usage: projected?.usage ?? [],
426
- open: true,
427
- toggleNamespace: () => {},
428
- expanded,
429
- toggleGroup: (key) => setExpanded((items) => items.includes(key) ? items.filter((item) => item !== key) : [...items, key])
430
- }) })
431
- ]
432
- })
433
- }),
434
- data && !filtered.length && /* @__PURE__ */ require_jsx_runtime.jsx("p", {
435
- className: "diagnostics-empty",
436
- role: "status",
437
- children: !data.pods ? "Pod inventory unavailable" : !groups.length ? "No consumers in snapshot" : groups.every((group) => consumerStatus(group.pods).tone === "healthy") ? "All consumers are ready" : "No known issues · readiness is not confirmed for every consumer"
438
- })
439
- ]
440
- });
441
- }
442
- function DiagnosticsPage() {
443
- const initial = require__global_external_react.useRef(require_diagnostics_state.readDiagnosticsState(activeId() ?? "")).current;
444
- const scrollContainer = require__global_external_react.useRef(null);
445
- const stateCluster = require__global_external_react.useRef(activeId() ?? "");
446
- const [tab, setTab] = require__global_external_react.useState(initial.tab);
447
- const [snapshot, setSnapshot] = require__global_external_react.useState();
448
- const [error, setError] = require__global_external_react.useState("");
449
- const [filter, setFilter] = require__global_external_react.useState(initial.filter);
450
- const [namespaceScope, setNamespaceScope] = require__global_external_react.useState(initial.namespaceScope);
451
- const [resourceScope, setResourceScope] = require__global_external_react.useState(initial.resourceScope);
452
- const pendingScroll = require__global_external_react.useRef({
453
- clusterId: stateCluster.current,
454
- top: initial.scrollTop
455
- });
456
- const [needsAttention, setNeedsAttention] = require__global_external_react.useState(initial.needsAttention);
457
- const [groupMode, setGroupMode] = require__global_external_react.useState(initial.groupMode);
458
- const [namespacesOpen, setNamespacesOpen] = require__global_external_react.useState(initial.namespacesOpen);
459
- const known = require__global_external_react.useRef(/* @__PURE__ */ new Map());
460
- const [sort, setSort] = require__global_external_react.useState(initial.sort);
461
- const [expanded, setExpanded] = require__global_external_react.useState(initial.expanded);
462
- const [selected, setSelected] = require__global_external_react.useState(initial.selected);
463
- const [pendingUid, setPendingUid] = require__global_external_react.useState(initial.pendingUid);
464
- const [notReadyUid, setNotReadyUid] = require__global_external_react.useState(initial.notReadyUid ?? "");
465
- const [reason, setReason] = require__global_external_react.useState(initial.reason);
466
- const [warningOnly, setWarningOnly] = require__global_external_react.useState(initial.warningOnly);
467
- const [groupedTimeline, setGroupedTimeline] = require__global_external_react.useState(initial.groupedTimeline);
468
- const [openTimeline, setOpenTimeline] = require__global_external_react.useState(initial.openTimeline);
469
- const viewState = require__global_external_react.useRef(initial);
470
- viewState.current = {
471
- tab,
472
- filter,
473
- namespaceScope,
474
- resourceScope,
475
- needsAttention,
476
- groupMode,
477
- namespacesOpen,
478
- sort,
479
- expanded,
480
- selected,
481
- pendingUid,
482
- notReadyUid,
483
- reason,
484
- warningOnly,
485
- groupedTimeline,
486
- openTimeline,
487
- scrollTop: viewState.current.scrollTop
488
- };
489
- require__global_external_react.useEffect(() => {
490
- return () => require_diagnostics_state.saveDiagnosticsState(stateCluster.current, viewState.current);
491
- }, [initial]);
492
- require__global_external_react.useEffect(() => {
493
- const focusNamespace = (event) => {
494
- const detail = event.detail;
495
- if (!detail || detail.clusterId !== stateCluster.current || detail.clusterId !== activeId() || !detail.namespace && !detail.resourceScope) return;
496
- setTab("Consumers");
497
- setNamespaceScope(detail.namespace);
498
- setResourceScope(detail.resourceScope);
499
- setFilter("");
500
- setNeedsAttention(false);
501
- setGroupMode(detail.namespace ? "namespace" : "workload");
502
- setNamespacesOpen(detail.namespace ? [detail.namespace] : []);
503
- viewState.current.scrollTop = 0;
504
- pendingScroll.current = void 0;
505
- if (scrollContainer.current) scrollContainer.current.scrollTop = 0;
506
- };
507
- const focusAttention = (event) => {
508
- const detail = event.detail;
509
- if (!detail || detail.clusterId !== stateCluster.current || detail.clusterId !== activeId()) return;
510
- setTab("Consumers");
511
- setNamespaceScope(void 0);
512
- setResourceScope(void 0);
513
- setFilter("");
514
- setNeedsAttention(true);
515
- setGroupMode("workload");
516
- setNamespacesOpen([]);
517
- viewState.current.scrollTop = 0;
518
- pendingScroll.current = void 0;
519
- if (scrollContainer.current) scrollContainer.current.scrollTop = 0;
520
- };
521
- const focusTimeline = (event) => {
522
- const detail = event.detail;
523
- if (!detail || detail.clusterId !== stateCluster.current || detail.clusterId !== activeId()) return;
524
- viewState.current = require_diagnostics_state.readDiagnosticsState(detail.clusterId);
525
- setTab("Timeline");
526
- setNamespaceScope(void 0);
527
- setResourceScope(void 0);
528
- setFilter("");
529
- setSelected("");
530
- setReason("");
531
- setWarningOnly(true);
532
- setOpenTimeline([]);
533
- pendingScroll.current = void 0;
534
- if (scrollContainer.current) scrollContainer.current.scrollTop = 0;
535
- };
536
- window.addEventListener(require_diagnostics_state.DIAGNOSTICS_TIMELINE_EVENT, focusTimeline);
537
- window.addEventListener(require_diagnostics_state.DIAGNOSTICS_ATTENTION_EVENT, focusAttention);
538
- window.addEventListener(require_diagnostics_state.DIAGNOSTICS_NAMESPACE_EVENT, focusNamespace);
539
- return () => {
540
- window.removeEventListener(require_diagnostics_state.DIAGNOSTICS_NAMESPACE_EVENT, focusNamespace);
541
- window.removeEventListener(require_diagnostics_state.DIAGNOSTICS_ATTENTION_EVENT, focusAttention);
542
- window.removeEventListener(require_diagnostics_state.DIAGNOSTICS_TIMELINE_EVENT, focusTimeline);
543
- };
544
- }, []);
545
- const [observed, setObserved] = require__global_external_react.useState([]);
546
- const previous = require__global_external_react.useRef();
547
- require__global_external_react.useEffect(() => {
548
- const release = require_monitoring_collector.retainMonitoringCollector();
549
- let disposed = false;
550
- let generation = 0;
551
- let loading = false;
552
- const clear = () => {
553
- generation++;
554
- previous.current = void 0;
555
- known.current.clear();
556
- setSnapshot(void 0);
557
- setObserved([]);
558
- require_diagnostics_state.saveDiagnosticsState(stateCluster.current, viewState.current);
559
- stateCluster.current = activeId() ?? "";
560
- const restored = require_diagnostics_state.readDiagnosticsState(stateCluster.current);
561
- setTab(restored.tab);
562
- setFilter(restored.filter);
563
- setNamespaceScope(restored.namespaceScope);
564
- setResourceScope(restored.resourceScope);
565
- setNeedsAttention(restored.needsAttention);
566
- setGroupMode(restored.groupMode);
567
- setNamespacesOpen(restored.namespacesOpen);
568
- setSort(restored.sort);
569
- setExpanded(restored.expanded);
570
- setSelected(restored.selected);
571
- setPendingUid(restored.pendingUid);
572
- setNotReadyUid(restored.notReadyUid ?? "");
573
- setReason(restored.reason);
574
- setWarningOnly(restored.warningOnly);
575
- setGroupedTimeline(restored.groupedTimeline);
576
- setOpenTimeline(restored.openTimeline);
577
- viewState.current = restored;
578
- pendingScroll.current = {
579
- clusterId: stateCluster.current,
580
- top: restored.scrollTop
581
- };
582
- setError("");
583
- };
584
- const load = async () => {
585
- if (loading || disposed || hidden()) return;
586
- if (!activeId()) {
587
- setError("Select a connected cluster");
588
- return;
589
- }
590
- const current = generation;
591
- loading = true;
592
- try {
593
- const next = await require_monitoring_collector.getMonitoringSnapshot(true);
594
- if (disposed || current !== generation || next.clusterId !== activeId() || hidden()) return;
595
- const prior = previous.current;
596
- if (prior === next) return;
597
- if (prior && prior.clusterId === next.clusterId) {
598
- const entries = [];
599
- if (prior.time !== next.time) entries.push(...require_resource_diagnostics.observeResourceChanges(prior.pods ?? [], next.pods ?? [], new Date(next.time).toISOString()));
600
- if (prior.owners !== next.owners && next.diagnosticsTime) entries.push(...require_resource_diagnostics.observeResourceChanges(prior.owners ?? [], next.owners ?? [], new Date(next.diagnosticsTime).toISOString()));
601
- if (entries.length) setObserved((items) => [...entries, ...items].slice(0, 300));
602
- }
603
- const projected = projection(next);
604
- for (const group of projected.groups) {
605
- const key = groupKey(group);
606
- const remembered = known.current.get(key)?.uids ?? /* @__PURE__ */ new Set();
607
- for (const uid of projected.related.get(key) ?? []) remembered.add(uid);
608
- while (remembered.size > 500) remembered.delete(remembered.values().next().value);
609
- known.current.set(key, {
610
- group,
611
- uids: remembered
612
- });
613
- }
614
- while (known.current.size > 100) known.current.delete(known.current.keys().next().value);
615
- previous.current = next;
616
- setSnapshot(next);
617
- setError("");
618
- } catch {
619
- if (!disposed && current === generation) setError("Diagnostics unavailable or access denied");
620
- } finally {
621
- loading = false;
622
- }
623
- };
624
- const stop = require__global_external_mobx.reaction(activeId, () => {
625
- clear();
626
- load();
627
- });
628
- const visibility = () => {
629
- if (document.visibilityState !== "hidden") load();
630
- };
631
- const timer = window.setInterval(() => void load(), 1e3);
632
- document.addEventListener("visibilitychange", visibility);
633
- load();
634
- return () => {
635
- disposed = true;
636
- generation++;
637
- stop();
638
- release();
639
- window.clearInterval(timer);
640
- document.removeEventListener("visibilitychange", visibility);
641
- };
642
- }, []);
643
- const data = snapshot?.clusterId === activeId() ? snapshot : void 0;
644
- require__global_external_react.useLayoutEffect(() => {
645
- const pending = pendingScroll.current;
646
- if (!data || !pending || pending.clusterId !== data.clusterId || !scrollContainer.current) return;
647
- scrollContainer.current.scrollTop = pending.top;
648
- const frame = requestAnimationFrame(() => {
649
- if (pendingScroll.current !== pending || !scrollContainer.current) return;
650
- scrollContainer.current.scrollTop = pending.top;
651
- viewState.current.scrollTop = scrollContainer.current.scrollTop;
652
- pendingScroll.current = void 0;
653
- });
654
- return () => cancelAnimationFrame(frame);
655
- }, [data]);
656
- const projected = require__global_external_react.useMemo(() => data ? projection(data) : void 0, [data]);
657
- const groups = require__global_external_react.useMemo(() => {
658
- if (!data || !projected) return [];
659
- if (!resourceScope) return projected.groups;
660
- if (resourceScope.kind === "Pod" || resourceScope.kind === "Node") {
661
- const pods = (data.pods ?? []).filter((pod) => resourceScope.kind === "Pod" ? (resourceScope.uid ? pod.metadata.uid === resourceScope.uid : pod.metadata.name === resourceScope.name) && (!namespaceScope || pod.metadata.namespace === namespaceScope) : pod.spec?.nodeName === resourceScope.name);
662
- if (resourceScope.kind === "Pod") {
663
- const originalPods = /* @__PURE__ */ new Map();
664
- return require_resource_diagnostics.buildConsumerGroups(pods.map((pod) => {
665
- const focused = {
666
- ...pod,
667
- status: {
668
- ...pod.status,
669
- phase: void 0
670
- }
671
- };
672
- originalPods.set(focused, pod);
673
- return focused;
674
- }), data.owners ?? [], projected.usage).map((group) => ({
675
- ...group,
676
- pods: group.pods.map((pod) => originalPods.get(pod))
677
- }));
678
- }
679
- return require_resource_diagnostics.buildConsumerGroups(pods, data.owners ?? [], projected.usage);
680
- }
681
- return projected.groups.filter((group) => resourceScope.uid ? group.identity === resourceScope.uid : group.kind === resourceScope.kind && group.name === resourceScope.name);
682
- }, [
683
- data,
684
- projected,
685
- resourceScope,
686
- namespaceScope
687
- ]);
688
- const filtered = require__global_external_react.useMemo(() => groups.filter((group) => !namespaceScope || group.namespace === namespaceScope).filter((group) => `${group.namespace} ${group.name} ${group.kind}`.toLowerCase().includes(filter.toLowerCase())).filter((group) => !needsAttention || ["error", "warning"].includes(consumerStatus(group.pods).tone)).sort((a, b) => sort === "name" ? a.namespace.localeCompare(b.namespace) || a.name.localeCompare(b.name) || a.kind.localeCompare(b.kind) || a.identity.localeCompare(b.identity) : sort === "requests" || sort === "memoryRequests" ? b[sort === "requests" ? "cpu" : "memory"].requests - a[sort === "requests" ? "cpu" : "memory"].requests : (b[sort === "memory" ? "memory" : "cpu"].usage ?? -1) - (a[sort === "memory" ? "memory" : "cpu"].usage ?? -1)), [
689
- groups,
690
- filter,
691
- namespaceScope,
692
- sort,
693
- needsAttention
694
- ]);
695
- const warningUids = new Set((data?.events ?? []).filter((event) => event.type === "Warning").map((event) => event.involvedObject?.uid ?? event.regarding?.uid).filter((uid) => !!uid));
696
- const applications = [...known.current.values()].filter((item) => !warningOnly || [...item.uids].some((uid) => warningUids.has(uid))).map((item) => item.group);
697
- const selectionAvailable = applications.some((group) => groupKey(group) === selected);
698
- const application = applications.find((group) => groupKey(group) === selected);
699
- const uids = new Set(known.current.get(selected)?.uids ?? []);
700
- const normalizedEvents = require_resource_diagnostics.normalizeEvents(data?.events ?? []);
701
- const warningIds = new Set(normalizedEvents.filter((_entry, index) => data?.events?.[index]?.type === "Warning").map((entry) => entry.id));
702
- const eventReferences = new Map(normalizedEvents.map((entry, index) => {
703
- const event = data?.events?.[index];
704
- return [entry.id, event?.involvedObject ?? event?.regarding];
705
- }));
706
- const timeline = [...normalizedEvents, ...observed].filter((entry) => (!application || !!entry.objectUid && uids.has(entry.objectUid)) && (!reason || `${entry.reason} ${entry.message}`.toLowerCase().includes(reason.toLowerCase())) && (!warningOnly || warningIds.has(entry.id))).sort((a, b) => (Date.parse(b.time ?? "") || 0) - (Date.parse(a.time ?? "") || 0));
707
- const timelineResource = (entry) => {
708
- const object = entry.objectUid ? projected?.objects.get(entry.objectUid) : void 0;
709
- const ref = eventReferences.get(entry.id);
710
- return `${object?.metadata.namespace ?? ref?.namespace ?? "Unknown namespace"} / ${object?.kind ?? ref?.kind ?? "Resource"} / ${object?.metadata.name ?? ref?.name ?? entry.objectUid ?? entry.id}`;
711
- };
712
- const timelineGroups = require_timeline_groups.groupTimelineEntries(timeline, (entry) => {
713
- if (!warningIds.has(entry.id)) return entry.id;
714
- const owner = [...known.current.entries()].find(([, item]) => !!entry.objectUid && item.uids.has(entry.objectUid));
715
- return owner ? `${owner[1].group.namespace}/${owner[1].group.kind}/${owner[1].group.name}` : timelineResource(entry);
716
- }, timelineResource);
717
- const displayedTimeline = groupedTimeline ? timelineGroups.map((group) => group.latest) : timeline;
718
- require__global_external_react.useEffect(() => {
719
- if (!data || tab !== "Consumers" && tab !== "Timeline") return;
720
- const attach = () => require_ai_diagnostic_handoff.explainDiagnosticFinding(require_diagnostics_screen_finding.diagnosticsScreenFinding(data.clusterId, tab, filtered, displayedTimeline, timelineResource));
721
- window.addEventListener("power-ai-request-screen-context", attach);
722
- return () => window.removeEventListener("power-ai-request-screen-context", attach);
723
- }, [
724
- data,
725
- tab,
726
- filtered,
727
- displayedTimeline
728
- ]);
729
- const pending = (data?.pods ?? []).filter((pod) => pod.status?.phase === "Pending");
730
- const notReady = (data?.pods ?? []).filter((pod) => pod.status?.phase === "Running" && ["warning", "error"].includes(consumerStatus([pod]).tone));
731
- const readinessView = tab === "Not ready";
732
- const triagePods = readinessView ? notReady : pending;
733
- const triageUid = readinessView ? notReadyUid : pendingUid;
734
- const triageLabel = readinessView ? "Not ready pod" : "Pending pod";
735
- const selectedPod = triagePods.find((pod) => pod.metadata.uid === triageUid);
736
- const diagnosis = selectedPod ? require_resource_diagnostics.diagnosePendingPod(selectedPod, data?.nodes ?? [], data?.events ?? [], data?.pvcs) : void 0;
737
- return /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
738
- ref: scrollContainer,
739
- onScroll: (event) => {
740
- if (!pendingScroll.current) viewState.current.scrollTop = event.currentTarget.scrollTop;
741
- },
742
- className: "power-diagnostics",
743
- style: {
744
- padding: 24,
745
- overflow: "auto",
746
- height: "100%",
747
- minWidth: 0
748
- },
749
- children: [
750
- /* @__PURE__ */ require_jsx_runtime.jsx("style", { children: require_diagnostics_css.diagnosticsStyles }),
751
- /* @__PURE__ */ require_jsx_runtime.jsxs("header", {
752
- className: "diagnostics-header",
753
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("h2", { children: "Resource diagnostics" }), /* @__PURE__ */ require_jsx_runtime.jsxs("span", {
754
- className: "snapshot-meta",
755
- children: ["Read-only snapshot", data ? ` · ${require_date_time.formatDateTime(data.time)}` : ""]
756
- })]
757
- }),
758
- /* @__PURE__ */ require_jsx_runtime.jsx("nav", {
759
- "aria-label": "Diagnostics views",
760
- children: [
761
- "Consumers",
762
- "Timeline",
763
- "Pending",
764
- "Not ready"
765
- ].map((name) => /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
766
- title: `Show ${name.toLowerCase()}`,
767
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("button", {
768
- type: "button",
769
- "aria-pressed": tab === name,
770
- onClick: () => setTab(name),
771
- children: [
772
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, { material: name === "Consumers" ? "account_tree" : name === "Timeline" ? "timeline" : "hourglass_empty" }),
773
- name,
774
- name === "Pending" && data?.pods ? ` (${pending.length})` : name === "Not ready" && data?.pods ? ` (${notReady.length})` : name === "Timeline" && data?.events ? ` (${timeline.length})` : ""
775
- ]
776
- })
777
- }, name))
778
- }),
779
- error && /* @__PURE__ */ require_jsx_runtime.jsxs("p", {
780
- className: "diagnostics-notice",
781
- role: "status",
782
- children: [error, ". Check the cluster connection and your access permissions."]
783
- }),
784
- data?.errors.map((message) => /* @__PURE__ */ require_jsx_runtime.jsx("p", {
785
- className: "diagnostics-notice",
786
- role: "status",
787
- children: message
788
- }, message)),
789
- /* @__PURE__ */ require_jsx_runtime.jsxs("section", {
790
- className: "view-intro",
791
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("h3", { children: viewDescriptions[tab][0] }), /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: viewDescriptions[tab][1] })]
792
- }),
793
- data && tab === "Consumers" && /* @__PURE__ */ require_jsx_runtime.jsx(DiagnosticsSummary, {
794
- data,
795
- groups,
796
- namespaceScope,
797
- onAttention: () => {
798
- setNeedsAttention(true);
799
- setFilter("");
800
- }
801
- }),
802
- !data && !error && /* @__PURE__ */ require_jsx_runtime.jsxs("p", {
803
- className: "diagnostics-empty diagnostics-loading",
804
- role: "status",
805
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("span", {
806
- className: "diagnostics-loading-icon",
807
- "aria-hidden": "true",
808
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
809
- material: "autorenew",
810
- size: 16
811
- })
812
- }), "Loading resource diagnostics…"]
813
- }),
814
- tab === "Consumers" && data && /* @__PURE__ */ require_jsx_runtime.jsxs(require_jsx_runtime.Fragment, { children: [
815
- (resourceScope || namespaceScope) && /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
816
- className: "diagnostics-active-filters",
817
- "aria-label": "Active consumer filters",
818
- children: [resourceScope && /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
819
- className: "namespace-scope",
820
- role: "status",
821
- children: [
822
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
823
- material: "filter_alt",
824
- size: 16
825
- }),
826
- /* @__PURE__ */ require_jsx_runtime.jsxs("span", {
827
- className: "namespace-scope-label",
828
- children: [
829
- resourceScope.kind,
830
- ": ",
831
- resourceScope.name
832
- ]
833
- }),
834
- /* @__PURE__ */ require_jsx_runtime.jsxs("button", {
835
- type: "button",
836
- "aria-label": "Clear resource scope",
837
- onClick: () => setResourceScope(void 0),
838
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
839
- material: "close",
840
- size: 13
841
- }), "Show all resources"]
842
- })
843
- ]
844
- }), namespaceScope && /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
845
- className: "namespace-scope",
846
- role: "status",
847
- children: [
848
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
849
- material: "filter_alt",
850
- size: 16
851
- }),
852
- /* @__PURE__ */ require_jsx_runtime.jsxs("span", {
853
- className: "namespace-scope-label",
854
- children: ["Namespace: ", namespaceScope]
855
- }),
856
- /* @__PURE__ */ require_jsx_runtime.jsxs("button", {
857
- type: "button",
858
- "aria-label": "Clear namespace scope",
859
- onClick: () => setNamespaceScope(void 0),
860
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
861
- material: "close",
862
- size: 13
863
- }), "Show all namespaces"]
864
- })
865
- ]
866
- })]
867
- }),
868
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
869
- className: "toolbar consumers-toolbar",
870
- children: [
871
- /* @__PURE__ */ require_jsx_runtime.jsxs("label", { children: [
872
- "Group by",
873
- " ",
874
- /* @__PURE__ */ require_jsx_runtime.jsx(DiagnosticsSelect, {
875
- label: "Group consumers",
876
- value: groupMode,
877
- onChange: setGroupMode,
878
- options: [{
879
- value: "workload",
880
- label: "Workload"
881
- }, {
882
- value: "namespace",
883
- label: "Namespace"
884
- }]
885
- })
886
- ] }),
887
- /* @__PURE__ */ require_jsx_runtime.jsxs("label", {
888
- className: "search-field",
889
- children: ["Search consumers", /* @__PURE__ */ require_jsx_runtime.jsx("span", {
890
- className: "diagnostics-input",
891
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_extensions.Renderer.Component.Input, {
892
- "aria-label": "Filter consumers",
893
- placeholder: "Namespace or workload",
894
- value: filter,
895
- onChange: setFilter
896
- })
897
- })]
898
- }),
899
- /* @__PURE__ */ require_jsx_runtime.jsxs("label", { children: [
900
- "Sort",
901
- " ",
902
- /* @__PURE__ */ require_jsx_runtime.jsx(DiagnosticsSelect, {
903
- label: "Sort consumers",
904
- value: sort,
905
- onChange: setSort,
906
- options: [
907
- {
908
- value: "cpu",
909
- label: "CPU usage"
910
- },
911
- {
912
- value: "memory",
913
- label: "Memory usage"
914
- },
915
- {
916
- value: "requests",
917
- label: "CPU requests"
918
- },
919
- {
920
- value: "memoryRequests",
921
- label: "Memory requests"
922
- },
923
- {
924
- value: "name",
925
- label: "Namespace / name"
926
- }
927
- ]
928
- })
929
- ] }),
930
- /* @__PURE__ */ require_jsx_runtime.jsx("div", {
931
- className: "warning-filter",
932
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_extensions.Renderer.Component.Checkbox, {
933
- label: "Needs attention",
934
- value: needsAttention,
935
- onChange: setNeedsAttention
936
- })
937
- })
938
- ]
939
- }),
940
- /* @__PURE__ */ require_jsx_runtime.jsxs("details", {
941
- className: "diagnostics-explainer",
942
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("summary", { children: "How to read usage and requests" }), /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: "Usage is measured consumption. Requests are configured resource reservations. Coverage is reported separately for CPU and memory; missing metrics are unavailable, never zero. Requests from unscheduled pods appear separately." })]
943
- }),
944
- /* @__PURE__ */ require_jsx_runtime.jsx("div", {
945
- className: "diagnostics-table",
946
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("table", {
947
- className: "consumers-table",
948
- children: [
949
- /* @__PURE__ */ require_jsx_runtime.jsxs("colgroup", { children: [
950
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "consumer-column" }),
951
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "metric-column" }),
952
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "metric-column" }),
953
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "unscheduled-column" })
954
- ] }),
955
- /* @__PURE__ */ require_jsx_runtime.jsx("thead", { children: /* @__PURE__ */ require_jsx_runtime.jsxs("tr", { children: [
956
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Namespace / consumer" }),
957
- /* @__PURE__ */ require_jsx_runtime.jsx("th", {
958
- className: "numeric",
959
- children: "CPU usage / requests"
960
- }),
961
- /* @__PURE__ */ require_jsx_runtime.jsx("th", {
962
- className: "numeric",
963
- children: "Memory usage / requests"
964
- }),
965
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Unscheduled requests" })
966
- ] }) }),
967
- /* @__PURE__ */ require_jsx_runtime.jsx("tbody", { children: (groupMode === "namespace" ? [...new Set(filtered.map((group) => group.namespace))] : [""]).map((namespace) => /* @__PURE__ */ require_jsx_runtime.jsx(NamespaceRows, {
968
- namespace,
969
- groups: namespace ? filtered.filter((group) => group.namespace === namespace) : filtered,
970
- snapshotTime: data.time,
971
- clusterId: data?.clusterId ?? "",
972
- usage: projected?.usage ?? [],
973
- open: !namespace || namespacesOpen.includes(namespace),
974
- toggleNamespace: () => setNamespacesOpen((items) => items.includes(namespace) ? items.filter((item) => item !== namespace) : [...items, namespace]),
975
- expanded,
976
- toggleGroup: (key) => setExpanded((items) => items.includes(key) ? items.filter((item) => item !== key) : [...items, key])
977
- }, namespace)) })
978
- ]
979
- })
980
- }),
981
- !filtered.length && (!data.pods ? /* @__PURE__ */ require_jsx_runtime.jsx("p", {
982
- className: "diagnostics-empty",
983
- children: "Pod inventory unavailable"
984
- }) : filter ? /* @__PURE__ */ require_jsx_runtime.jsx("p", {
985
- className: "diagnostics-empty",
986
- children: "No consumers match this filter"
987
- }) : needsAttention && groups.length ? /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
988
- className: `diagnostics-empty attention-empty ${groups.every((group) => consumerStatus(group.pods).tone === "healthy") ? "all-ready" : "readiness-unconfirmed"}`,
989
- children: [
990
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
991
- material: groups.every((group) => consumerStatus(group.pods).tone === "healthy") ? "check_circle_outline" : "info_outline",
992
- size: 22
993
- }),
994
- /* @__PURE__ */ require_jsx_runtime.jsx("strong", { children: groups.every((group) => consumerStatus(group.pods).tone === "healthy") ? "All consumers are ready" : "No known issues" }),
995
- /* @__PURE__ */ require_jsx_runtime.jsx("small", { children: groups.every((group) => consumerStatus(group.pods).tone === "healthy") ? "No pending pods or known failures in this snapshot." : "Unconfirmed readiness is not treated as a failure. Show all consumers to inspect them." }),
996
- /* @__PURE__ */ require_jsx_runtime.jsx("button", {
997
- type: "button",
998
- onClick: () => setNeedsAttention(false),
999
- children: "Show all consumers"
1000
- })
1001
- ]
1002
- }) : /* @__PURE__ */ require_jsx_runtime.jsx("p", {
1003
- className: "diagnostics-empty",
1004
- children: "No consumers available"
1005
- }))
1006
- ] }),
1007
- tab === "Timeline" && data && /* @__PURE__ */ require_jsx_runtime.jsxs(require_jsx_runtime.Fragment, { children: [
1008
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1009
- className: "toolbar timeline-toolbar",
1010
- children: [
1011
- /* @__PURE__ */ require_jsx_runtime.jsxs("label", { children: [
1012
- "Application",
1013
- " ",
1014
- /* @__PURE__ */ require_jsx_runtime.jsx(DiagnosticsSelect, {
1015
- label: "Timeline application",
1016
- value: selectionAvailable ? selected : "",
1017
- onChange: setSelected,
1018
- options: [{
1019
- value: "",
1020
- label: "All applications"
1021
- }, ...applications.map((group) => ({
1022
- value: groupKey(group),
1023
- label: `${group.namespace} / ${group.kind} / ${group.name}`
1024
- }))]
1025
- })
1026
- ] }),
1027
- /* @__PURE__ */ require_jsx_runtime.jsxs("label", {
1028
- className: "search-field",
1029
- children: ["Search events", /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1030
- className: "diagnostics-input",
1031
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_extensions.Renderer.Component.Input, {
1032
- "aria-label": "Filter timeline reason",
1033
- placeholder: "Reason or message",
1034
- value: reason,
1035
- onChange: setReason
1036
- })
1037
- })]
1038
- }),
1039
- /* @__PURE__ */ require_jsx_runtime.jsx("div", {
1040
- className: "warning-filter",
1041
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_extensions.Renderer.Component.Checkbox, {
1042
- label: "Warnings only",
1043
- value: warningOnly,
1044
- onChange: setWarningOnly
1045
- })
1046
- })
1047
- ]
1048
- }),
1049
- /* @__PURE__ */ require_jsx_runtime.jsxs("details", {
1050
- className: "diagnostics-explainer",
1051
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("summary", { children: "Timeline coverage and timing" }), /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: "Kubernetes events have limited retention. Observed changes begin with this open view, retain at most 300 entries, and have unknown transition times between snapshots. Related identities observed in this view are retained for at most 100 applications and 500 identities per application; older identity coverage can be incomplete." })]
1052
- }),
1053
- /* @__PURE__ */ require_jsx_runtime.jsx("div", {
1054
- className: "warning-filter",
1055
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_extensions.Renderer.Component.Checkbox, {
1056
- label: "Group recurring warnings",
1057
- value: groupedTimeline,
1058
- onChange: setGroupedTimeline
1059
- })
1060
- }),
1061
- /* @__PURE__ */ require_jsx_runtime.jsx("div", {
1062
- className: "timeline-legend",
1063
- "aria-label": "Event types",
1064
- children: [
1065
- "Warning",
1066
- "Rollout",
1067
- "Restart",
1068
- "Readiness",
1069
- "Kubernetes event",
1070
- "Observed change"
1071
- ].map((label) => /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1072
- className: `timeline-type ${eventCategory(label)}`,
1073
- children: label
1074
- }, label))
1075
- }),
1076
- /* @__PURE__ */ require_jsx_runtime.jsx("ol", {
1077
- className: "diagnostics-timeline",
1078
- "aria-label": "Workload event timeline",
1079
- children: displayedTimeline.map((entry) => {
1080
- const recurrence = groupedTimeline ? timelineGroups.find((group) => group.latest === entry) : void 0;
1081
- const kind = eventCategory(entry.reason);
1082
- const category = warningIds.has(entry.id) ? "warning" : kind === "event" && entry.certainty === "observed" ? "observed" : kind;
1083
- const label = category === "warning" ? "Warning" : category === "rollout" ? "Rollout" : category === "restart" ? "Restart" : category === "readiness" ? "Readiness" : entry.certainty === "observed" ? "Observed change" : "Kubernetes event";
1084
- const object = entry.objectUid ? projected?.objects.get(entry.objectUid) : void 0;
1085
- const reference = eventReferences.get(entry.id);
1086
- const referenceKind = object?.kind ?? reference?.kind;
1087
- const metadata = object?.metadata ?? reference;
1088
- return /* @__PURE__ */ require_jsx_runtime.jsxs("li", {
1089
- className: `timeline-entry ${category}`,
1090
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1091
- className: "timeline-time",
1092
- children: [entry.time ? /* @__PURE__ */ require_jsx_runtime.jsx("time", {
1093
- dateTime: entry.time,
1094
- children: require_date_time.formatDateTime(entry.time)
1095
- }) : "Time unknown", /* @__PURE__ */ require_jsx_runtime.jsx("small", { children: entry.certainty === "observed" ? "Observed at snapshot" : "Kubernetes event time" })]
1096
- }), /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1097
- className: "timeline-content",
1098
- children: [
1099
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1100
- className: "timeline-card-top",
1101
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1102
- className: "timeline-card-heading",
1103
- children: [
1104
- " ",
1105
- /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1106
- className: `timeline-type ${category}`,
1107
- children: label
1108
- }),
1109
- /* @__PURE__ */ require_jsx_runtime.jsx("h4", { children: entry.reason }),
1110
- /* @__PURE__ */ require_jsx_runtime.jsxs("small", {
1111
- className: "timeline-resource-identity",
1112
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1113
- material: referenceKind === "Pod" ? "view_in_ar" : "account_tree",
1114
- size: 12
1115
- }), metadata?.name ? `${metadata.namespace ?? "Namespace unknown"} / ${referenceKind ?? "Resource"} / ${metadata.name}` : "Resource identity unavailable"]
1116
- })
1117
- ]
1118
- }), /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1119
- className: "timeline-card-actions",
1120
- role: "group",
1121
- "aria-label": "Event actions",
1122
- children: [
1123
- object && data && /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1124
- title: `Open ${object.kind ?? "Pod"} ${object.metadata.namespace} / ${object.metadata.name}`,
1125
- children: /* @__PURE__ */ require_jsx_runtime.jsx("button", {
1126
- type: "button",
1127
- className: "timeline-resource-action",
1128
- "aria-label": "Open resource",
1129
- onClick: (event) => openResource(object, data.clusterId, event),
1130
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, { material: "open_in_new" })
1131
- })
1132
- }),
1133
- /* @__PURE__ */ require_jsx_runtime.jsx(require_incident_copy_button.IncidentCopyButton, {
1134
- clusterId: data.clusterId,
1135
- incident: {
1136
- problem: entry.reason,
1137
- facts: [
1138
- entry.message,
1139
- `Reported count ${recurrence?.count ?? entry.count}`,
1140
- ...(recurrence?.affected ?? []).length > 1 ? [`Affected resources: ${recurrence?.affected.join("; ")}`] : []
1141
- ],
1142
- time: entry.time ?? data.time,
1143
- resources: (recurrence?.entries ?? [entry]).slice(0, 12).flatMap((original) => {
1144
- const originalObject = original.objectUid ? projected?.objects.get(original.objectUid) : void 0;
1145
- const originalReference = eventReferences.get(original.id);
1146
- const originalMetadata = originalObject?.metadata ?? originalReference;
1147
- const originalKind = originalObject?.kind ?? originalReference?.kind;
1148
- return originalMetadata?.name && originalKind ? [{
1149
- kind: originalKind,
1150
- namespace: originalMetadata.namespace,
1151
- name: originalMetadata.name
1152
- }] : [];
1153
- })
1154
- }
1155
- }),
1156
- /* @__PURE__ */ require_jsx_runtime.jsxs(require_diagnostic_explain_button.DiagnosticExplainButton, {
1157
- type: "button",
1158
- className: "explain-finding",
1159
- "aria-label": "Explain with AI",
1160
- title: "Explain with AI",
1161
- onClick: () => require_ai_diagnostic_handoff.explainDiagnosticFinding({
1162
- clusterId: data.clusterId,
1163
- title: entry.reason,
1164
- summary: `${timelineResource(entry)}: ${entry.message}. Reported count ${recurrence?.count ?? entry.count}`,
1165
- resource: metadata?.name && referenceKind ? {
1166
- kind: referenceKind,
1167
- namespace: metadata.namespace,
1168
- name: metadata.name
1169
- } : void 0
1170
- }),
1171
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1172
- material: "auto_awesome",
1173
- size: 13
1174
- }), /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1175
- className: "timeline-action-label",
1176
- children: "Explain with AI"
1177
- })]
1178
- })
1179
- ]
1180
- })]
1181
- }),
1182
- /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: entry.message }),
1183
- /* @__PURE__ */ require_jsx_runtime.jsxs("small", { children: [
1184
- entry.certainty === "reported" ? "Reported" : entry.certainty === "observed" ? "Observed" : "Unknown",
1185
- " ",
1186
- "· Count ",
1187
- recurrence?.count ?? entry.count,
1188
- entry.firstTime ? ` · First ${require_date_time.formatDateTime(entry.firstTime)}` : ""
1189
- ] }),
1190
- entry.gap && /* @__PURE__ */ require_jsx_runtime.jsx("small", { children: entry.gap }),
1191
- recurrence && recurrence.entries.length > 1 && /* @__PURE__ */ require_jsx_runtime.jsxs("details", {
1192
- open: openTimeline.includes(recurrence.key),
1193
- onToggle: (event) => {
1194
- const open = event.currentTarget.open;
1195
- setOpenTimeline((items) => open ? [.../* @__PURE__ */ new Set([...items, recurrence.key])] : items.filter((item) => item !== recurrence.key));
1196
- },
1197
- children: [
1198
- /* @__PURE__ */ require_jsx_runtime.jsxs("summary", { children: [
1199
- recurrence.affected.length,
1200
- " affected resources · ",
1201
- recurrence.entries.length,
1202
- " original entries"
1203
- ] }),
1204
- /* @__PURE__ */ require_jsx_runtime.jsx("small", { children: recurrence.affected.join(" · ") }),
1205
- /* @__PURE__ */ require_jsx_runtime.jsx("ul", { children: recurrence.entries.map((original, index) => /* @__PURE__ */ require_jsx_runtime.jsxs("li", { children: [/* @__PURE__ */ require_jsx_runtime.jsxs("small", { children: [
1206
- original.time ? require_date_time.formatDateTime(original.time) : "Time unknown",
1207
- " ·",
1208
- " ",
1209
- timelineResource(original),
1210
- " · Count ",
1211
- original.count
1212
- ] }), original.message] }, `${original.id}/${index}`)) })
1213
- ]
1214
- })
1215
- ]
1216
- })]
1217
- }, entry.id);
1218
- })
1219
- }),
1220
- !timeline.length && /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1221
- className: "diagnostics-empty",
1222
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("p", { children: warningOnly ? "No retained warning events match these filters" : "No retained events or observed changes match these filters" }), warningOnly && /* @__PURE__ */ require_jsx_runtime.jsx("button", {
1223
- type: "button",
1224
- onClick: () => setWarningOnly(false),
1225
- children: "Show all events"
1226
- })]
1227
- })
1228
- ] }),
1229
- (tab === "Pending" || readinessView) && data && /* @__PURE__ */ require_jsx_runtime.jsxs(require_jsx_runtime.Fragment, { children: [/* @__PURE__ */ require_jsx_runtime.jsxs("label", { children: [
1230
- triageLabel,
1231
- " ",
1232
- /* @__PURE__ */ require_jsx_runtime.jsx(DiagnosticsSelect, {
1233
- label: triageLabel,
1234
- value: triageUid,
1235
- onChange: readinessView ? setNotReadyUid : setPendingUid,
1236
- options: [{
1237
- value: "",
1238
- label: "Select a pod"
1239
- }, ...triagePods.map((pod) => ({
1240
- value: pod.metadata.uid ?? "",
1241
- label: `${pod.metadata.namespace} / ${pod.metadata.name}`
1242
- }))]
1243
- })
1244
- ] }), selectedPod && diagnosis ? /* @__PURE__ */ require_jsx_runtime.jsxs(require_jsx_runtime.Fragment, { children: [
1245
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1246
- className: `pending-heading ${consumerStatus([selectedPod]).tone}`,
1247
- children: [
1248
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1249
- className: "pending-title-row",
1250
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", { children: [/* @__PURE__ */ require_jsx_runtime.jsxs("strong", { children: [
1251
- selectedPod.metadata.namespace,
1252
- " / ",
1253
- selectedPod.metadata.name
1254
- ] }), /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1255
- className: "pending-state-row",
1256
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("h3", { children: readinessView ? "Not ready" : diagnosis.state === "assigned-waiting" ? "Assigned and waiting" : "Unscheduled" }), consumerStatus([selectedPod]).tone === "error" && /* @__PURE__ */ require_jsx_runtime.jsx(ConsumerStatus, { pods: [selectedPod] })]
1257
- })] }), /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1258
- title: "Open pod details",
1259
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("button", {
1260
- className: "pending-open-action",
1261
- type: "button",
1262
- onClick: (event) => openResource(selectedPod, data.clusterId, event),
1263
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1264
- material: "open_in_new",
1265
- size: 15
1266
- }), "Open pod"]
1267
- })
1268
- })]
1269
- }),
1270
- /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: readinessView ? "The pod is running but needs attention. Check readiness conditions, container status and events." : diagnosis.state === "assigned-waiting" ? "A node is assigned. Check pod conditions and events for startup or storage issues." : "No node is assigned. Start with scheduler events, then inspect constraints." }),
1271
- /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1272
- className: "pending-request-badges",
1273
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("span", { children: [
1274
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1275
- material: "memory",
1276
- size: 14
1277
- }),
1278
- "CPU request ",
1279
- /* @__PURE__ */ require_jsx_runtime.jsx("strong", { children: podRequest(selectedPod, "cpu") })
1280
- ] }), /* @__PURE__ */ require_jsx_runtime.jsxs("span", { children: [
1281
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1282
- material: "storage",
1283
- size: 14
1284
- }),
1285
- "Memory request ",
1286
- /* @__PURE__ */ require_jsx_runtime.jsx("strong", { children: podRequest(selectedPod, "memory") })
1287
- ] })]
1288
- })
1289
- ]
1290
- }),
1291
- /* @__PURE__ */ require_jsx_runtime.jsxs("details", {
1292
- className: "diagnostics-explainer",
1293
- children: [
1294
- /* @__PURE__ */ require_jsx_runtime.jsx("summary", { children: "Scheduling constraints and pod conditions" }),
1295
- /* @__PURE__ */ require_jsx_runtime.jsxs("p", { children: [
1296
- "Node selector:",
1297
- " ",
1298
- Object.entries(selectedPod.spec?.nodeSelector ?? {}).map(([key, value]) => `${key}=${value}`).join(", ") || "None"
1299
- ] }),
1300
- /* @__PURE__ */ require_jsx_runtime.jsxs("p", { children: [
1301
- "Tolerations:",
1302
- " ",
1303
- (selectedPod.spec?.tolerations ?? []).map((item) => `${item.key || "all keys"} ${item.operator ?? "Equal"}${item.value ? ` ${item.value}` : ""} (${item.effect || "all effects"})`).join(", ") || "None"
1304
- ] }),
1305
- /* @__PURE__ */ require_jsx_runtime.jsxs("p", { children: [
1306
- "Required node affinity:",
1307
- " ",
1308
- selectedPod.spec?.affinity?.nodeAffinity?.requiredDuringSchedulingIgnoredDuringExecution ? JSON.stringify(selectedPod.spec.affinity.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution).slice(0, 2e3) : "None"
1309
- ] }),
1310
- /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: selectedPod.status?.conditions?.map((condition) => `${condition.type}: ${condition.status}${condition.message ? ` (${condition.message})` : ""}`).join(" · ") })
1311
- ]
1312
- }),
1313
- /* @__PURE__ */ require_jsx_runtime.jsx(require_incident_copy_button.IncidentCopyButton, {
1314
- clusterId: data.clusterId,
1315
- incident: {
1316
- problem: triageLabel,
1317
- facts: [
1318
- readinessView ? consumerStatus([selectedPod]).label : diagnosis.state,
1319
- `CPU request ${podRequest(selectedPod, "cpu")}; memory request ${podRequest(selectedPod, "memory")}`,
1320
- ...diagnosis.evidence.slice(0, 8).map((entry) => entry.message)
1321
- ],
1322
- time: data.time,
1323
- resources: [{
1324
- kind: "Pod",
1325
- namespace: selectedPod.metadata.namespace,
1326
- name: selectedPod.metadata.name
1327
- }]
1328
- }
1329
- }),
1330
- /* @__PURE__ */ require_jsx_runtime.jsxs(require_diagnostic_explain_button.DiagnosticExplainButton, {
1331
- type: "button",
1332
- className: "explain-finding",
1333
- onClick: () => require_ai_diagnostic_handoff.explainDiagnosticFinding({
1334
- clusterId: data.clusterId,
1335
- title: triageLabel,
1336
- summary: `${readinessView ? consumerStatus([selectedPod]).label : diagnosis.state}. CPU request ${podRequest(selectedPod, "cpu")}, memory request ${podRequest(selectedPod, "memory")}. ${diagnosis.evidence.slice(0, 8).map((entry) => entry.message).join("; ")}`,
1337
- resource: {
1338
- kind: "Pod",
1339
- namespace: selectedPod.metadata.namespace,
1340
- name: selectedPod.metadata.name
1341
- }
1342
- }),
1343
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1344
- material: "auto_awesome",
1345
- size: 13
1346
- }), "Explain with AI"]
1347
- }),
1348
- /* @__PURE__ */ require_jsx_runtime.jsx("h3", { children: readinessView ? "Readiness and retained evidence" : "Scheduling evidence" }),
1349
- /* @__PURE__ */ require_jsx_runtime.jsx("div", {
1350
- className: "diagnostics-table",
1351
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("table", {
1352
- className: "evidence-table",
1353
- children: [
1354
- /* @__PURE__ */ require_jsx_runtime.jsxs("colgroup", { children: [
1355
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "evidence-source" }),
1356
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "evidence-node" }),
1357
- /* @__PURE__ */ require_jsx_runtime.jsx("col", { className: "evidence-finding" })
1358
- ] }),
1359
- /* @__PURE__ */ require_jsx_runtime.jsx("thead", { children: /* @__PURE__ */ require_jsx_runtime.jsxs("tr", { children: [
1360
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Evidence source" }),
1361
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Node" }),
1362
- /* @__PURE__ */ require_jsx_runtime.jsx("th", { children: "Finding" })
1363
- ] }) }),
1364
- /* @__PURE__ */ require_jsx_runtime.jsx("tbody", { children: diagnosis.evidence.map((entry, index) => /* @__PURE__ */ require_jsx_runtime.jsxs("tr", { children: [
1365
- /* @__PURE__ */ require_jsx_runtime.jsxs("td", { children: [/* @__PURE__ */ require_jsx_runtime.jsxs("span", {
1366
- className: `evidence-badge ${entry.source === "event" ? "reported" : "inferred"}`,
1367
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1368
- material: entry.source === "event" ? "receipt_long" : "rule",
1369
- size: 13
1370
- }), entry.source === "event" ? "Reported" : "Inferred"]
1371
- }), /* @__PURE__ */ require_jsx_runtime.jsx("small", { children: entry.source === "event" ? "Reported Kubernetes event" : "Local hard constraint" })] }),
1372
- /* @__PURE__ */ require_jsx_runtime.jsx("td", { children: entry.node ?? "—" }),
1373
- /* @__PURE__ */ require_jsx_runtime.jsx("td", { children: entry.message })
1374
- ] }, `${entry.node}/${index}`)) })
1375
- ]
1376
- })
1377
- }),
1378
- !diagnosis.evidence.length && /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: "No retained evidence is available for this pod" }),
1379
- /* @__PURE__ */ require_jsx_runtime.jsxs("details", {
1380
- className: "diagnostics-explainer",
1381
- children: [/* @__PURE__ */ require_jsx_runtime.jsx("summary", { children: "What this diagnosis can establish" }), diagnosis.limitations.map((message) => /* @__PURE__ */ require_jsx_runtime.jsx("p", { children: message }, message))]
1382
- })
1383
- ] }) : /* @__PURE__ */ require_jsx_runtime.jsx("p", {
1384
- className: "diagnostics-empty",
1385
- children: !data.pods ? `Pod inventory unavailable. Check cluster access before investigating ${readinessView ? "readiness" : "pending pods"}.` : triagePods.length ? `Select a ${readinessView ? "not ready" : "pending"} pod to see evidence and requests` : `No ${readinessView ? "not ready" : "pending"} pods in this snapshot`
1386
- })] })
1387
- ]
1388
- });
1389
- }
1390
- function ConsumerRows({ group, clusterId, snapshotTime, expanded, toggle, usage, depth }) {
1391
- return /* @__PURE__ */ require_jsx_runtime.jsxs(require_jsx_runtime.Fragment, { children: [/* @__PURE__ */ require_jsx_runtime.jsxs("tr", {
1392
- className: `consumer-workload-row consumer-depth-${depth} consumer-tone-${consumerStatus(group.pods).tone}`,
1393
- "data-row-depth": depth,
1394
- children: [
1395
- /* @__PURE__ */ require_jsx_runtime.jsx("td", { children: /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1396
- className: "consumer-identity-row",
1397
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1398
- className: "consumer-identity-main",
1399
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1400
- className: "consumer-title-line",
1401
- children: [group.ownerResolved && resources[group.kind] && group.name !== "Unknown" ? /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1402
- title: `Open ${group.kind} ${group.namespace} / ${group.name}`,
1403
- children: /* @__PURE__ */ require_jsx_runtime.jsx("button", {
1404
- className: "consumer-resource-link",
1405
- type: "button",
1406
- onClick: (event) => openResource({
1407
- kind: group.kind,
1408
- metadata: {
1409
- uid: group.identity,
1410
- namespace: group.namespace,
1411
- name: group.name
1412
- }
1413
- }, clusterId, event),
1414
- children: /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1415
- className: "consumer-link-name",
1416
- children: group.name
1417
- })
1418
- })
1419
- }) : /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1420
- className: "consumer-identity-label",
1421
- children: group.name
1422
- }), /* @__PURE__ */ require_jsx_runtime.jsx(ConsumerStatus, { pods: group.pods })]
1423
- }), /* @__PURE__ */ require_jsx_runtime.jsxs("small", {
1424
- className: "consumer-subtitle",
1425
- children: [
1426
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1427
- material: "folder_open",
1428
- size: 12
1429
- }),
1430
- group.namespace,
1431
- /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: "·" }),
1432
- /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1433
- material: group.kind === "Pod" ? "view_in_ar" : "account_tree",
1434
- size: 12
1435
- }),
1436
- group.kind,
1437
- /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: "·" }),
1438
- group.pods.length,
1439
- " pods",
1440
- group.ownerResolved ? "" : " · Owner chain incomplete"
1441
- ]
1442
- })]
1443
- }), /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1444
- className: "consumer-row-actions",
1445
- children: [
1446
- ["warning", "error"].includes(consumerStatus(group.pods).tone) && /* @__PURE__ */ require_jsx_runtime.jsx(require_incident_copy_button.IncidentCopyButton, {
1447
- clusterId,
1448
- incident: {
1449
- problem: `${group.kind} ${group.name}: ${consumerStatus(group.pods).label}`,
1450
- facts: [
1451
- `${group.pods.length} pods`,
1452
- `CPU ${resourceText(group.cpu.usage, "cpu")} used / ${resourceText(group.cpu.requests, "cpu")} requested`,
1453
- `Memory ${resourceText(group.memory.usage, "memory")} used / ${resourceText(group.memory.requests, "memory")} requested`
1454
- ],
1455
- time: snapshotTime,
1456
- resources: [{
1457
- kind: group.kind,
1458
- namespace: group.namespace,
1459
- name: group.name
1460
- }]
1461
- }
1462
- }),
1463
- ["warning", "error"].includes(consumerStatus(group.pods).tone) && /* @__PURE__ */ require_jsx_runtime.jsx(require_diagnostic_explain_button.DiagnosticExplainButton, {
1464
- type: "button",
1465
- className: "explain-finding",
1466
- title: "Explain with AI",
1467
- "aria-label": `Explain finding for ${group.name}`,
1468
- onClick: () => require_ai_diagnostic_handoff.explainDiagnosticFinding({
1469
- clusterId,
1470
- title: `${group.kind} ${group.name}`,
1471
- summary: `${consumerStatus(group.pods).label}; ${group.pods.length} pods. CPU ${resourceText(group.cpu.usage, "cpu")} used / ${resourceText(group.cpu.requests, "cpu")} requested; memory ${resourceText(group.memory.usage, "memory")} used / ${resourceText(group.memory.requests, "memory")} requested`,
1472
- resource: {
1473
- kind: group.kind,
1474
- namespace: group.namespace,
1475
- name: group.name
1476
- }
1477
- }),
1478
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1479
- material: "auto_awesome",
1480
- size: 13
1481
- })
1482
- }),
1483
- /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1484
- className: "consumer-expand-slot",
1485
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1486
- title: expanded ? "Collapse pods" : "Expand pods",
1487
- children: /* @__PURE__ */ require_jsx_runtime.jsx("button", {
1488
- className: "consumer-expand",
1489
- type: "button",
1490
- "aria-label": `${expanded ? "Collapse" : "Expand"} pods for ${group.name}`,
1491
- "aria-expanded": expanded,
1492
- onClick: toggle,
1493
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, { material: expanded ? "expand_less" : "expand_more" })
1494
- })
1495
- })
1496
- })
1497
- ]
1498
- })]
1499
- }) }),
1500
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1501
- className: "numeric",
1502
- children: /* @__PURE__ */ require_jsx_runtime.jsx(ResourceCell, {
1503
- summary: group.cpu,
1504
- metric: "cpu"
1505
- })
1506
- }),
1507
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1508
- className: "numeric",
1509
- children: /* @__PURE__ */ require_jsx_runtime.jsx(ResourceCell, {
1510
- summary: group.memory,
1511
- metric: "memory"
1512
- })
1513
- }),
1514
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1515
- className: "numeric",
1516
- children: /* @__PURE__ */ require_jsx_runtime.jsx(UnscheduledCell, {
1517
- cpu: group.cpu,
1518
- memory: group.memory
1519
- })
1520
- })
1521
- ]
1522
- }), expanded && group.pods.map((pod) => /* @__PURE__ */ require_jsx_runtime.jsxs("tr", {
1523
- className: `consumer-pod-row consumer-depth-${depth + 1} consumer-tone-${consumerStatus([pod]).tone}`,
1524
- "data-row-depth": depth + 1,
1525
- children: [
1526
- /* @__PURE__ */ require_jsx_runtime.jsx("td", { children: /* @__PURE__ */ require_jsx_runtime.jsx("div", {
1527
- className: "consumer-identity-row",
1528
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1529
- className: "consumer-identity-main",
1530
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1531
- className: "consumer-title-line",
1532
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1533
- title: "Open pod details",
1534
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("button", {
1535
- className: "consumer-resource-link",
1536
- type: "button",
1537
- onClick: (event) => openResource(pod, clusterId, event),
1538
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1539
- material: "view_in_ar",
1540
- size: 14
1541
- }), /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1542
- className: "consumer-link-name",
1543
- children: pod.metadata.name
1544
- })]
1545
- })
1546
- }), /* @__PURE__ */ require_jsx_runtime.jsx(ConsumerStatus, { pods: [pod] })]
1547
- }), /* @__PURE__ */ require_jsx_runtime.jsxs("small", {
1548
- className: "consumer-subtitle",
1549
- children: [
1550
- pod.status?.phase ?? "Unknown",
1551
- /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: "·" }),
1552
- pod.spec?.nodeName ? `Node ${pod.spec.nodeName}` : "No node assigned"
1553
- ]
1554
- })]
1555
- })
1556
- }) }),
1557
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1558
- className: "numeric",
1559
- children: /* @__PURE__ */ require_jsx_runtime.jsx(ResourceCell, {
1560
- summary: podResourceGroup(pod, usage).cpu,
1561
- metric: "cpu"
1562
- })
1563
- }),
1564
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1565
- className: "numeric",
1566
- children: /* @__PURE__ */ require_jsx_runtime.jsx(ResourceCell, {
1567
- summary: podResourceGroup(pod, usage).memory,
1568
- metric: "memory"
1569
- })
1570
- }),
1571
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1572
- className: "numeric",
1573
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1574
- title: pod.spec?.nodeName ? "No unscheduled requests" : "Unscheduled requests are included in the workload total",
1575
- children: /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1576
- className: "unscheduled-empty",
1577
- children: pod.spec?.nodeName ? "—" : "Included above"
1578
- })
1579
- })
1580
- })
1581
- ]
1582
- }, pod.metadata.uid))] });
1583
- }
1584
- function podRequest(pod, metric) {
1585
- try {
1586
- return resourceText(require_resource_diagnostics.effectivePodResource(pod, metric), metric);
1587
- } catch {
1588
- return "Unavailable";
1589
- }
1590
- }
1591
- function NamespaceRows({ namespace, groups, clusterId, snapshotTime, usage, open, toggleNamespace, expanded, toggleGroup }) {
1592
- const sum = (metric) => groups.reduce((total, group) => {
1593
- const next = group[metric];
1594
- return {
1595
- requests: total.requests + next.requests,
1596
- scheduledRequests: total.scheduledRequests + next.scheduledRequests,
1597
- unscheduledRequests: total.unscheduledRequests + next.unscheduledRequests,
1598
- usage: total.usage === void 0 && next.usage === void 0 ? void 0 : (total.usage ?? 0) + (next.usage ?? 0),
1599
- coveredPods: total.coveredPods + next.coveredPods,
1600
- totalPods: total.totalPods + next.totalPods,
1601
- unknownRequestPods: total.unknownRequestPods + next.unknownRequestPods
1602
- };
1603
- }, {
1604
- requests: 0,
1605
- scheduledRequests: 0,
1606
- unscheduledRequests: 0,
1607
- coveredPods: 0,
1608
- totalPods: 0,
1609
- unknownRequestPods: 0
1610
- });
1611
- return /* @__PURE__ */ require_jsx_runtime.jsxs(require_jsx_runtime.Fragment, { children: [namespace && /* @__PURE__ */ require_jsx_runtime.jsxs("tr", {
1612
- className: `consumer-namespace-row consumer-depth-0 consumer-tone-${consumerStatus(groups.flatMap((group) => group.pods)).tone}`,
1613
- "data-row-depth": 0,
1614
- children: [
1615
- /* @__PURE__ */ require_jsx_runtime.jsx("td", { children: /* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1616
- className: "consumer-identity-row",
1617
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1618
- className: "consumer-identity-main",
1619
- children: [/* @__PURE__ */ require_jsx_runtime.jsxs("div", {
1620
- className: "consumer-title-line",
1621
- children: [
1622
- /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1623
- title: "Open namespace",
1624
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("button", {
1625
- type: "button",
1626
- className: "consumer-resource-link namespace-identity",
1627
- onClick: (event) => openResource({
1628
- kind: "Namespace",
1629
- metadata: { name: namespace }
1630
- }, clusterId, event),
1631
- children: [/* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, {
1632
- material: "folder_open",
1633
- size: 17
1634
- }), /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1635
- className: "consumer-link-name",
1636
- children: namespace
1637
- })]
1638
- })
1639
- }),
1640
- /* @__PURE__ */ require_jsx_runtime.jsx(ConsumerStatus, { pods: groups.flatMap((group) => group.pods) }),
1641
- /* @__PURE__ */ require_jsx_runtime.jsxs("small", { children: [
1642
- groups.filter((group) => consumerStatus(group.pods).tone === "healthy").length,
1643
- " ready ·",
1644
- " ",
1645
- groups.filter((group) => ["warning", "error"].includes(consumerStatus(group.pods).tone)).length,
1646
- " ",
1647
- "need attention · ",
1648
- groups.filter((group) => consumerStatus(group.pods).tone === "neutral").length,
1649
- " ",
1650
- "unknown"
1651
- ] })
1652
- ]
1653
- }), /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1654
- title: "Resource totals include only consumers shown by the current filters",
1655
- children: /* @__PURE__ */ require_jsx_runtime.jsxs("small", {
1656
- className: "consumer-subtitle",
1657
- children: [
1658
- groups.length,
1659
- " filtered consumers",
1660
- /* @__PURE__ */ require_jsx_runtime.jsx("span", { children: "·" }),
1661
- groups.reduce((total, group) => total + group.pods.length, 0),
1662
- " pods"
1663
- ]
1664
- })
1665
- })]
1666
- }), /* @__PURE__ */ require_jsx_runtime.jsx("span", {
1667
- className: "consumer-expand-slot",
1668
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_native_tooltip.NativeTooltip, {
1669
- title: open ? "Collapse namespace workloads" : "Expand namespace workloads",
1670
- children: /* @__PURE__ */ require_jsx_runtime.jsx("button", {
1671
- className: "consumer-expand",
1672
- type: "button",
1673
- "aria-label": `${open ? "Collapse" : "Expand"} workloads in ${namespace}`,
1674
- "aria-expanded": open,
1675
- onClick: toggleNamespace,
1676
- children: /* @__PURE__ */ require_jsx_runtime.jsx(require_ai_icon.AiIcon, { material: open ? "expand_less" : "expand_more" })
1677
- })
1678
- })
1679
- })]
1680
- }) }),
1681
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1682
- className: "numeric",
1683
- children: /* @__PURE__ */ require_jsx_runtime.jsx(ResourceCell, {
1684
- summary: sum("cpu"),
1685
- metric: "cpu"
1686
- })
1687
- }),
1688
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1689
- className: "numeric",
1690
- children: /* @__PURE__ */ require_jsx_runtime.jsx(ResourceCell, {
1691
- summary: sum("memory"),
1692
- metric: "memory"
1693
- })
1694
- }),
1695
- /* @__PURE__ */ require_jsx_runtime.jsx("td", {
1696
- className: "numeric",
1697
- children: /* @__PURE__ */ require_jsx_runtime.jsx(UnscheduledCell, {
1698
- cpu: sum("cpu"),
1699
- memory: sum("memory")
1700
- })
1701
- })
1702
- ]
1703
- }), open && groups.map((group) => /* @__PURE__ */ require_jsx_runtime.jsx(ConsumerRows, {
1704
- group,
1705
- depth: namespace ? 1 : 0,
1706
- snapshotTime,
1707
- clusterId,
1708
- expanded: expanded.includes(groupKey(group)),
1709
- toggle: () => toggleGroup(groupKey(group)),
1710
- usage
1711
- }, groupKey(group)))] });
1712
- }
1713
- function podResourceGroup(pod, usage) {
1714
- return require_resource_diagnostics.buildConsumerGroups([{
1715
- ...pod,
1716
- kind: "Pod",
1717
- metadata: {
1718
- ...pod.metadata,
1719
- ownerReferences: []
1720
- },
1721
- status: {
1722
- ...pod.status,
1723
- phase: void 0
1724
- }
1725
- }], [], usage)[0];
1726
- }
1727
- function eventCategory(reason) {
1728
- if (reason === "Observed change") return "observed";
1729
- if (reason === "Warning") return "warning";
1730
- if (["Rollout", "RolloutObserved"].includes(reason)) return "rollout";
1731
- if (reason === "Restart" || reason.startsWith("Restarts/")) return "restart";
1732
- if (reason === "Readiness" || reason.startsWith("Readiness/")) return "readiness";
1733
- return "event";
1734
- }
1735
- //#endregion
1736
- exports.ClusterDiagnosticsOverview = ClusterDiagnosticsOverview;
1737
- exports.DiagnosticsPage = DiagnosticsPage;
1738
- exports.consumerStatus = consumerStatus;
1739
-
1740
- //# sourceMappingURL=diagnostics.js.map