@64mb/freelens-power 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (756) hide show
  1. package/README.md +56 -33
  2. package/THIRD_PARTY_LICENSES +74 -0
  3. package/out/main/_virtual/_rolldown/runtime.js +25 -0
  4. package/out/main/ai-answer-stream.js +96 -0
  5. package/out/main/ai-answer-stream.js.map +1 -0
  6. package/out/main/ai-api-key.js +95 -0
  7. package/out/main/ai-api-key.js.map +1 -0
  8. package/out/main/ai-codex-api.js +611 -0
  9. package/out/main/ai-codex-api.js.map +1 -0
  10. package/out/main/ai-ipc.js +42 -11
  11. package/out/main/ai-ipc.js.map +1 -1
  12. package/out/main/ai-logs.js +4 -3
  13. package/out/main/ai-logs.js.map +1 -1
  14. package/out/main/ai-models.js +23 -11
  15. package/out/main/ai-models.js.map +1 -1
  16. package/out/main/ai-pi-models.js +73 -0
  17. package/out/main/ai-pi-models.js.map +1 -0
  18. package/out/main/ai-pi.js +411 -0
  19. package/out/main/ai-pi.js.map +1 -0
  20. package/out/main/ai-references.js +1 -1
  21. package/out/main/ai-resources.js +166 -220
  22. package/out/main/ai-resources.js.map +1 -1
  23. package/out/main/ai.js +303 -142
  24. package/out/main/ai.js.map +1 -1
  25. package/out/main/cluster-icons-catalog.js +1 -1
  26. package/out/main/cluster-icons.js +4 -4
  27. package/out/main/dashboard-ai.js +29 -0
  28. package/out/main/dashboard-ai.js.map +1 -0
  29. package/out/main/dashboard-catalog.js +1 -1
  30. package/out/main/dashboard-picker.js +3 -3
  31. package/out/main/dashboard-views.js +102 -10
  32. package/out/main/dashboard-views.js.map +1 -1
  33. package/out/main/diagnostics-menu-order.js +1 -1
  34. package/out/main/dock-icon.js +1 -1
  35. package/out/main/extension-updates.js +151 -0
  36. package/out/main/extension-updates.js.map +1 -0
  37. package/out/main/helm-installed-chart.js +141 -0
  38. package/out/main/helm-installed-chart.js.map +1 -0
  39. package/out/main/helm-ipc.js +748 -0
  40. package/out/main/helm-ipc.js.map +1 -0
  41. package/out/main/helm-values.js +45 -0
  42. package/out/main/helm-values.js.map +1 -0
  43. package/out/main/helm.js +283 -0
  44. package/out/main/helm.js.map +1 -0
  45. package/out/main/index.js +20 -12
  46. package/out/main/index.js.map +1 -1
  47. package/out/main/monitoring-history.js +2 -2
  48. package/out/main/node-bulk.js +260 -0
  49. package/out/main/node-bulk.js.map +1 -0
  50. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js +99 -0
  51. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js.map +1 -0
  52. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js +32 -0
  53. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js.map +1 -0
  54. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js +242 -0
  55. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js.map +1 -0
  56. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js +154 -0
  57. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js.map +1 -0
  58. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js +60 -0
  59. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js.map +1 -0
  60. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js +346 -0
  61. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js.map +1 -0
  62. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js +479 -0
  63. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js.map +1 -0
  64. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js +508 -0
  65. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js.map +1 -0
  66. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js +127 -0
  67. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js.map +1 -0
  68. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js +50 -0
  69. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js.map +1 -0
  70. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js +201 -0
  71. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js.map +1 -0
  72. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js +401 -0
  73. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js.map +1 -0
  74. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js +1007 -0
  75. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js.map +1 -0
  76. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js +23 -0
  77. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js.map +1 -0
  78. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js +69 -0
  79. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js.map +1 -0
  80. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js +56 -0
  81. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js.map +1 -0
  82. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js +105 -0
  83. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js.map +1 -0
  84. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js +73 -0
  85. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js.map +1 -0
  86. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js +214 -0
  87. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js.map +1 -0
  88. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js +100 -0
  89. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js.map +1 -0
  90. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js +187 -0
  91. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js.map +1 -0
  92. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js +55 -0
  93. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js.map +1 -0
  94. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js +47 -0
  95. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js.map +1 -0
  96. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js +173 -0
  97. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js.map +1 -0
  98. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js +218 -0
  99. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js.map +1 -0
  100. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js +116 -0
  101. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js.map +1 -0
  102. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js +38 -0
  103. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js.map +1 -0
  104. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js +36 -0
  105. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js.map +1 -0
  106. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js +23 -0
  107. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js.map +1 -0
  108. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js +23 -0
  109. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js.map +1 -0
  110. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js +302 -0
  111. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js.map +1 -0
  112. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js +79 -0
  113. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js.map +1 -0
  114. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js +49 -0
  115. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js.map +1 -0
  116. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js +76 -0
  117. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js.map +1 -0
  118. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js +177 -0
  119. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js.map +1 -0
  120. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js +62 -0
  121. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js.map +1 -0
  122. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js +74 -0
  123. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js.map +1 -0
  124. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js +23 -0
  125. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js.map +1 -0
  126. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js +111 -0
  127. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js.map +1 -0
  128. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js +134 -0
  129. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js.map +1 -0
  130. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js +47 -0
  131. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js.map +1 -0
  132. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js +47 -0
  133. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js.map +1 -0
  134. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js +40 -0
  135. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js.map +1 -0
  136. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js +125 -0
  137. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js.map +1 -0
  138. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js +122 -0
  139. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js.map +1 -0
  140. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js +66 -0
  141. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js.map +1 -0
  142. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js +59 -0
  143. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js.map +1 -0
  144. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js +48 -0
  145. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js.map +1 -0
  146. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js +281 -0
  147. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js.map +1 -0
  148. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js +60 -0
  149. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js.map +1 -0
  150. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js +100 -0
  151. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js.map +1 -0
  152. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js +92 -0
  153. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js.map +1 -0
  154. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js +542 -0
  155. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js.map +1 -0
  156. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js +56 -0
  157. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js.map +1 -0
  158. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js +875 -0
  159. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js.map +1 -0
  160. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js +104 -0
  161. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js.map +1 -0
  162. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js +43 -0
  163. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js.map +1 -0
  164. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js +29 -0
  165. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js.map +1 -0
  166. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js +26 -0
  167. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js.map +1 -0
  168. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js +29 -0
  169. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js.map +1 -0
  170. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js +26 -0
  171. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js.map +1 -0
  172. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js +30 -0
  173. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js.map +1 -0
  174. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js +53 -0
  175. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js.map +1 -0
  176. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js +52 -0
  177. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js.map +1 -0
  178. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js +41 -0
  179. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js.map +1 -0
  180. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js +75 -0
  181. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js.map +1 -0
  182. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js +110 -0
  183. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js.map +1 -0
  184. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js +68 -0
  185. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js.map +1 -0
  186. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js +38 -0
  187. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js.map +1 -0
  188. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js +56 -0
  189. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js.map +1 -0
  190. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js +86 -0
  191. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js.map +1 -0
  192. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js +55 -0
  193. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js.map +1 -0
  194. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js +78 -0
  195. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js.map +1 -0
  196. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +74 -0
  197. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js.map +1 -0
  198. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js +63 -0
  199. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js.map +1 -0
  200. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js +81 -0
  201. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js.map +1 -0
  202. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +94 -0
  203. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js.map +1 -0
  204. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js +125 -0
  205. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js.map +1 -0
  206. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js +122 -0
  207. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js.map +1 -0
  208. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js +131 -0
  209. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js.map +1 -0
  210. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js +29 -0
  211. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js.map +1 -0
  212. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js +74 -0
  213. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js.map +1 -0
  214. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js +30 -0
  215. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js.map +1 -0
  216. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js +111 -0
  217. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js.map +1 -0
  218. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js +236 -0
  219. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js.map +1 -0
  220. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js +201 -0
  221. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js.map +1 -0
  222. package/out/main/package.js +6 -0
  223. package/out/main/package.js.map +1 -0
  224. package/out/main/power-logs-budget.js +1 -1
  225. package/out/main/power-logs-child.js +5 -4
  226. package/out/main/power-logs-child.js.map +1 -1
  227. package/out/main/power-logs-database.js +214 -8
  228. package/out/main/power-logs-database.js.map +1 -1
  229. package/out/main/power-logs-ipc.js +56 -7
  230. package/out/main/power-logs-ipc.js.map +1 -1
  231. package/out/main/power-logs-query-child.js +1 -1
  232. package/out/main/power-logs-query.js +6 -4
  233. package/out/main/power-logs-query.js.map +1 -1
  234. package/out/main/power-logs-worker.js +31 -9
  235. package/out/main/power-logs-worker.js.map +1 -1
  236. package/out/main/resource-search-database.js +9 -3
  237. package/out/main/resource-search-database.js.map +1 -1
  238. package/out/main/resource-search-worker.js +6 -2
  239. package/out/main/resource-search-worker.js.map +1 -1
  240. package/out/main/resource-search.js +4 -3
  241. package/out/main/resource-search.js.map +1 -1
  242. package/out/main/settings-export.js +3 -3
  243. package/out/main/settings-import.js +3 -3
  244. package/out/main/splash-accent.js +1 -1
  245. package/out/main/src/common/ai-attachments.js +36 -0
  246. package/out/main/src/common/ai-attachments.js.map +1 -0
  247. package/out/main/src/common/ai-extras.js.map +1 -0
  248. package/out/main/src/common/ai-models.js +81 -0
  249. package/out/main/src/common/ai-models.js.map +1 -0
  250. package/out/main/src/common/ai-prompts.js +46 -0
  251. package/out/main/src/common/ai-prompts.js.map +1 -0
  252. package/out/main/src/common/ai-resource-payload.js +308 -0
  253. package/out/main/src/common/ai-resource-payload.js.map +1 -0
  254. package/out/main/src/common/ai-shortcuts.js.map +1 -0
  255. package/out/main/src/common/ai-terminal-context.js +72 -0
  256. package/out/main/src/common/ai-terminal-context.js.map +1 -0
  257. package/out/main/{common → src/common}/ai.js +6 -0
  258. package/out/main/src/common/ai.js.map +1 -0
  259. package/out/main/src/common/cluster-icon-ipc.js.map +1 -0
  260. package/out/main/src/common/cluster-icons.js.map +1 -0
  261. package/out/main/src/common/dashboard-ai.js +64 -0
  262. package/out/main/src/common/dashboard-ai.js.map +1 -0
  263. package/out/main/src/common/dashboard-picker.js.map +1 -0
  264. package/out/main/src/common/dashboard-readiness.js.map +1 -0
  265. package/out/main/src/common/dashboard-selector.js.map +1 -0
  266. package/out/main/src/common/dashboard-views.js.map +1 -0
  267. package/out/main/src/common/dashboard.js.map +1 -0
  268. package/out/main/src/common/extension-info.js.map +1 -0
  269. package/out/main/src/common/extension-updates.js +13 -0
  270. package/out/main/src/common/extension-updates.js.map +1 -0
  271. package/out/main/src/common/helm-values-validation.js +56 -0
  272. package/out/main/src/common/helm-values-validation.js.map +1 -0
  273. package/out/main/src/common/helm.js +8 -0
  274. package/out/main/src/common/helm.js.map +1 -0
  275. package/out/main/src/common/monitoring-history.js.map +1 -0
  276. package/out/main/src/common/node-bulk.js +6 -0
  277. package/out/main/src/common/node-bulk.js.map +1 -0
  278. package/out/main/src/common/power-logs-limits.js.map +1 -0
  279. package/out/main/{common → src/common}/power-logs.js +6 -0
  280. package/out/main/src/common/power-logs.js.map +1 -0
  281. package/out/main/src/common/resource-search-kind-priority.js +23 -0
  282. package/out/main/src/common/resource-search-kind-priority.js.map +1 -0
  283. package/out/main/src/common/resource-search.js.map +1 -0
  284. package/out/main/src/common/settings-export.js.map +1 -0
  285. package/out/main/{common → src/common}/store/ai-preferences-store.js +50 -8
  286. package/out/main/src/common/store/ai-preferences-store.js.map +1 -0
  287. package/out/main/{common → src/common}/store/ai-shortcuts-store.js +2 -2
  288. package/out/main/src/common/store/ai-shortcuts-store.js.map +1 -0
  289. package/out/main/{common → src/common}/store/appearance-preferences-store.js +10 -5
  290. package/out/main/src/common/store/appearance-preferences-store.js.map +1 -0
  291. package/out/main/{common → src/common}/store/cluster-icons-store.js +2 -2
  292. package/out/main/src/common/store/cluster-icons-store.js.map +1 -0
  293. package/out/main/{common → src/common}/store/dashboard-preferences-store.js +2 -2
  294. package/out/main/src/common/store/dashboard-preferences-store.js.map +1 -0
  295. package/out/main/src/common/store/helm-preferences-store.js +26 -0
  296. package/out/main/src/common/store/helm-preferences-store.js.map +1 -0
  297. package/out/main/{common → src/common}/store/logs-preferences-store.js +7 -2
  298. package/out/main/src/common/store/logs-preferences-store.js.map +1 -0
  299. package/out/main/{common → src/common}/store/monitoring-preferences-store.js +2 -2
  300. package/out/main/src/common/store/monitoring-preferences-store.js.map +1 -0
  301. package/out/main/src/common/store/node-shell-preferences-store.js +44 -0
  302. package/out/main/src/common/store/node-shell-preferences-store.js.map +1 -0
  303. package/out/main/src/common/store/power-preferences-store.js +39 -0
  304. package/out/main/src/common/store/power-preferences-store.js.map +1 -0
  305. package/out/main/{common → src/common}/store/read-only-preferences-store.js +2 -2
  306. package/out/main/src/common/store/read-only-preferences-store.js.map +1 -0
  307. package/out/renderer/_virtual/_global-external_mobx.js +4 -2
  308. package/out/renderer/_virtual/_global-external_react-dom.js +4 -2
  309. package/out/renderer/_virtual/_global-external_react.js +4 -2
  310. package/out/renderer/ai-attachment-card.js +92 -0
  311. package/out/renderer/ai-attachment-card.js.map +1 -0
  312. package/out/renderer/ai-context-mutations.js +14 -0
  313. package/out/renderer/ai-context-mutations.js.map +1 -0
  314. package/out/renderer/ai-copy-answer.js +18 -15
  315. package/out/renderer/ai-copy-answer.js.map +1 -1
  316. package/out/renderer/ai-diagnostic-handoff.js +5 -2
  317. package/out/renderer/ai-diagnostic-handoff.js.map +1 -1
  318. package/out/renderer/ai-extras.js +95 -85
  319. package/out/renderer/ai-extras.js.map +1 -1
  320. package/out/renderer/ai-icon.js +26 -0
  321. package/out/renderer/ai-icon.js.map +1 -1
  322. package/out/renderer/ai-logs-sql.js +1 -0
  323. package/out/renderer/ai-logs-sql.js.map +1 -1
  324. package/out/renderer/ai-message.js +58 -41
  325. package/out/renderer/ai-message.js.map +1 -1
  326. package/out/renderer/ai-provider-icon.js +77 -32
  327. package/out/renderer/ai-provider-icon.js.map +1 -1
  328. package/out/renderer/ai-resize.js +40 -37
  329. package/out/renderer/ai-resize.js.map +1 -1
  330. package/out/renderer/ai-shortcuts.js +21 -17
  331. package/out/renderer/ai-shortcuts.js.map +1 -1
  332. package/out/renderer/ai-terminal-context.js +54 -81
  333. package/out/renderer/ai-terminal-context.js.map +1 -1
  334. package/out/renderer/ai.js +530 -172
  335. package/out/renderer/ai.js.map +1 -1
  336. package/out/renderer/appearance.js +59 -5
  337. package/out/renderer/appearance.js.map +1 -1
  338. package/out/renderer/assets/openai.js +6 -0
  339. package/out/renderer/assets/openai.js.map +1 -0
  340. package/out/renderer/assets/pi.js +6 -0
  341. package/out/renderer/assets/pi.js.map +1 -0
  342. package/out/renderer/button-styles.js +31 -2
  343. package/out/renderer/button-styles.js.map +1 -1
  344. package/out/renderer/cluster-icon-colors.js +10 -7
  345. package/out/renderer/cluster-icon-colors.js.map +1 -1
  346. package/out/renderer/cluster-icons.js +47 -40
  347. package/out/renderer/cluster-icons.js.map +1 -1
  348. package/out/renderer/dashboard.js +75 -14
  349. package/out/renderer/dashboard.js.map +1 -1
  350. package/out/renderer/details/resource-health-details.js +2 -2
  351. package/out/renderer/details/resource-health-details.js.map +1 -1
  352. package/out/renderer/details/service-diagnostics-details.js +25 -23
  353. package/out/renderer/details/service-diagnostics-details.js.map +1 -1
  354. package/out/renderer/diagnostic-explain-button.js +7 -4
  355. package/out/renderer/diagnostic-explain-button.js.map +1 -1
  356. package/out/renderer/diagnostics-screen-finding.js +52 -0
  357. package/out/renderer/diagnostics-screen-finding.js.map +1 -0
  358. package/out/renderer/diagnostics-state.js +37 -0
  359. package/out/renderer/diagnostics-state.js.map +1 -1
  360. package/out/renderer/diagnostics.css.js +17 -4
  361. package/out/renderer/diagnostics.css.js.map +1 -1
  362. package/out/renderer/diagnostics.js +457 -189
  363. package/out/renderer/diagnostics.js.map +1 -1
  364. package/out/renderer/extension-update-notifications.js +221 -0
  365. package/out/renderer/extension-update-notifications.js.map +1 -0
  366. package/out/renderer/extension-update.js +189 -0
  367. package/out/renderer/extension-update.js.map +1 -0
  368. package/out/renderer/floating-action-transitions.js +139 -0
  369. package/out/renderer/floating-action-transitions.js.map +1 -0
  370. package/out/renderer/helm-app-version.js +141 -0
  371. package/out/renderer/helm-app-version.js.map +1 -0
  372. package/out/renderer/helm-code-view.js +727 -0
  373. package/out/renderer/helm-code-view.js.map +1 -0
  374. package/out/renderer/helm-entrypoints.js +79 -0
  375. package/out/renderer/helm-entrypoints.js.map +1 -0
  376. package/out/renderer/helm-full-comparison.js +233 -0
  377. package/out/renderer/helm-full-comparison.js.map +1 -0
  378. package/out/renderer/helm-operations.js +541 -0
  379. package/out/renderer/helm-operations.js.map +1 -0
  380. package/out/renderer/helm-release-actions.js +296 -0
  381. package/out/renderer/helm-release-actions.js.map +1 -0
  382. package/out/renderer/helm-revision-delete.js +128 -0
  383. package/out/renderer/helm-revision-delete.js.map +1 -0
  384. package/out/renderer/helm-version-index.js +283 -0
  385. package/out/renderer/helm-version-index.js.map +1 -0
  386. package/out/renderer/helm.js +2383 -0
  387. package/out/renderer/helm.js.map +1 -0
  388. package/out/renderer/host-extensions.js +102 -0
  389. package/out/renderer/host-extensions.js.map +1 -0
  390. package/out/renderer/host-layout.js +59 -0
  391. package/out/renderer/host-layout.js.map +1 -0
  392. package/out/renderer/host-preferences.js +192 -0
  393. package/out/renderer/host-preferences.js.map +1 -0
  394. package/out/renderer/incident-copy-button.js +24 -21
  395. package/out/renderer/incident-copy-button.js.map +1 -1
  396. package/out/renderer/index.js +47 -5
  397. package/out/renderer/index.js.map +1 -1
  398. package/out/renderer/menus/secure-node-shell-menu.js +2 -1
  399. package/out/renderer/menus/secure-node-shell-menu.js.map +1 -1
  400. package/out/renderer/monitoring-collector.js +13 -8
  401. package/out/renderer/monitoring-collector.js.map +1 -1
  402. package/out/renderer/monitoring-history-view.js +1 -1
  403. package/out/renderer/monitoring-history-view.js.map +1 -1
  404. package/out/renderer/monitoring.js +130 -49
  405. package/out/renderer/monitoring.js.map +1 -1
  406. package/out/renderer/native-resource-removals.js +202 -0
  407. package/out/renderer/native-resource-removals.js.map +1 -0
  408. package/out/renderer/native-tooltip.js +22 -0
  409. package/out/renderer/native-tooltip.js.map +1 -0
  410. package/out/renderer/node-bulk-actions.js +527 -0
  411. package/out/renderer/node-bulk-actions.js.map +1 -0
  412. package/out/renderer/node-bulk-selection.js +203 -0
  413. package/out/renderer/node-bulk-selection.js.map +1 -0
  414. package/out/renderer/node-shell-entrypoints.js +65 -0
  415. package/out/renderer/node-shell-entrypoints.js.map +1 -0
  416. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js +52 -0
  417. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js.map +1 -0
  418. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js +41 -0
  419. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js.map +1 -0
  420. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js +88 -0
  421. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js.map +1 -0
  422. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js +59 -0
  423. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js.map +1 -0
  424. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js +195 -0
  425. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js.map +1 -0
  426. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js +84 -0
  427. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js.map +1 -0
  428. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +176 -0
  429. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js.map +1 -0
  430. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +42 -0
  431. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js.map +1 -0
  432. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js +38 -0
  433. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js.map +1 -0
  434. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +155 -0
  435. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js.map +1 -0
  436. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +206 -0
  437. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js.map +1 -0
  438. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js +107 -0
  439. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js.map +1 -0
  440. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js +29 -0
  441. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js.map +1 -0
  442. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +27 -0
  443. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js.map +1 -0
  444. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +12 -0
  445. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js.map +1 -0
  446. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js +12 -0
  447. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js.map +1 -0
  448. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js +279 -0
  449. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js.map +1 -0
  450. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js +67 -0
  451. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js.map +1 -0
  452. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js +40 -0
  453. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js.map +1 -0
  454. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js +63 -0
  455. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js.map +1 -0
  456. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js +165 -0
  457. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js.map +1 -0
  458. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js +53 -0
  459. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js.map +1 -0
  460. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/index.js +24 -0
  461. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js +8 -0
  462. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js.map +1 -0
  463. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js +96 -0
  464. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js.map +1 -0
  465. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js +121 -0
  466. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js.map +1 -0
  467. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js +34 -0
  468. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js.map +1 -0
  469. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js +32 -0
  470. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js.map +1 -0
  471. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js +27 -0
  472. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js.map +1 -0
  473. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js +109 -0
  474. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js.map +1 -0
  475. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +106 -0
  476. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js.map +1 -0
  477. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +51 -0
  478. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js.map +1 -0
  479. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js +50 -0
  480. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js.map +1 -0
  481. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
  482. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js.map +1 -0
  483. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-scalar.js +3 -0
  484. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js +91 -0
  485. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js.map +1 -0
  486. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js +42 -0
  487. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js.map +1 -0
  488. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js +531 -0
  489. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js.map +1 -0
  490. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js +47 -0
  491. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js.map +1 -0
  492. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js +861 -0
  493. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js.map +1 -0
  494. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js +56 -0
  495. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js.map +1 -0
  496. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js +29 -0
  497. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js.map +1 -0
  498. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js +18 -0
  499. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js.map +1 -0
  500. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
  501. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js.map +1 -0
  502. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js +18 -0
  503. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js.map +1 -0
  504. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js +16 -0
  505. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js.map +1 -0
  506. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
  507. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js.map +1 -0
  508. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js +42 -0
  509. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js.map +1 -0
  510. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js +41 -0
  511. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js.map +1 -0
  512. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js +25 -0
  513. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js.map +1 -0
  514. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js +63 -0
  515. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js.map +1 -0
  516. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js +84 -0
  517. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js.map +1 -0
  518. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +54 -0
  519. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js.map +1 -0
  520. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +27 -0
  521. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js.map +1 -0
  522. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +45 -0
  523. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js.map +1 -0
  524. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +75 -0
  525. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js.map +1 -0
  526. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +43 -0
  527. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js.map +1 -0
  528. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +63 -0
  529. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js.map +1 -0
  530. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +60 -0
  531. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js.map +1 -0
  532. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +41 -0
  533. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js.map +1 -0
  534. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +68 -0
  535. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js.map +1 -0
  536. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +83 -0
  537. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js.map +1 -0
  538. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +116 -0
  539. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js.map +1 -0
  540. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js +108 -0
  541. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js.map +1 -0
  542. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +118 -0
  543. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js.map +1 -0
  544. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
  545. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js.map +1 -0
  546. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +61 -0
  547. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js.map +1 -0
  548. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +21 -0
  549. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js.map +1 -0
  550. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js +97 -0
  551. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js.map +1 -0
  552. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js +224 -0
  553. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js.map +1 -0
  554. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js +190 -0
  555. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js.map +1 -0
  556. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/index.js +24 -0
  557. package/out/renderer/package.js +6 -0
  558. package/out/renderer/package.js.map +1 -0
  559. package/out/renderer/pod-bulk-customization.js +51 -0
  560. package/out/renderer/pod-bulk-customization.js.map +1 -0
  561. package/out/renderer/pod-details-enhancements.js +107 -0
  562. package/out/renderer/pod-details-enhancements.js.map +1 -0
  563. package/out/renderer/pod-removal-confirmation.js +172 -0
  564. package/out/renderer/pod-removal-confirmation.js.map +1 -0
  565. package/out/renderer/power-log-column-widths.js +54 -0
  566. package/out/renderer/power-log-column-widths.js.map +1 -0
  567. package/out/renderer/power-log-columns.js +114 -0
  568. package/out/renderer/power-log-columns.js.map +1 -0
  569. package/out/renderer/power-log-json-cell.js +88 -0
  570. package/out/renderer/power-log-json-cell.js.map +1 -0
  571. package/out/renderer/power-log-json-fields.js +144 -0
  572. package/out/renderer/power-log-json-fields.js.map +1 -0
  573. package/out/renderer/power-log-json.js +252 -20
  574. package/out/renderer/power-log-json.js.map +1 -1
  575. package/out/renderer/power-log-message-tokens.js +60 -0
  576. package/out/renderer/power-log-message-tokens.js.map +1 -0
  577. package/out/renderer/power-log-message.js +26 -0
  578. package/out/renderer/power-log-message.js.map +1 -0
  579. package/out/renderer/power-log-sql-editor.js +120 -0
  580. package/out/renderer/power-log-sql-editor.js.map +1 -0
  581. package/out/renderer/power-logs-client.js +9 -0
  582. package/out/renderer/power-logs-client.js.map +1 -1
  583. package/out/renderer/power-logs-context.js +45 -0
  584. package/out/renderer/power-logs-context.js.map +1 -0
  585. package/out/renderer/power-logs-entrypoints.js +13 -36
  586. package/out/renderer/power-logs-entrypoints.js.map +1 -1
  587. package/out/renderer/power-logs-resource-stores.js +71 -0
  588. package/out/renderer/power-logs-resource-stores.js.map +1 -0
  589. package/out/renderer/power-logs-session.js +35 -0
  590. package/out/renderer/power-logs-session.js.map +1 -0
  591. package/out/renderer/power-logs-sql-drafts.js +76 -0
  592. package/out/renderer/power-logs-sql-drafts.js.map +1 -0
  593. package/out/renderer/power-logs-sql-row.js +5 -13
  594. package/out/renderer/power-logs-sql-row.js.map +1 -1
  595. package/out/renderer/power-logs-storage.js +11 -0
  596. package/out/renderer/power-logs-storage.js.map +1 -0
  597. package/out/renderer/power-logs.css.js +112 -13
  598. package/out/renderer/power-logs.css.js.map +1 -1
  599. package/out/renderer/power-logs.js +1120 -362
  600. package/out/renderer/power-logs.js.map +1 -1
  601. package/out/renderer/preferences/ai-preferences.js +264 -55
  602. package/out/renderer/preferences/ai-preferences.js.map +1 -1
  603. package/out/renderer/preferences/dashboard-preferences.js +42 -35
  604. package/out/renderer/preferences/dashboard-preferences.js.map +1 -1
  605. package/out/renderer/preferences/helm-preferences.js +22 -0
  606. package/out/renderer/preferences/helm-preferences.js.map +1 -0
  607. package/out/renderer/preferences/logs-preferences.js +287 -52
  608. package/out/renderer/preferences/logs-preferences.js.map +1 -1
  609. package/out/renderer/preferences/monitoring-preferences.js +21 -20
  610. package/out/renderer/preferences/monitoring-preferences.js.map +1 -1
  611. package/out/renderer/preferences/node-shell-preferences.js +10 -0
  612. package/out/renderer/preferences/node-shell-preferences.js.map +1 -1
  613. package/out/renderer/preferences/other-preferences.js +55 -0
  614. package/out/renderer/preferences/other-preferences.js.map +1 -0
  615. package/out/renderer/preferences/power-preferences.js +27 -10
  616. package/out/renderer/preferences/power-preferences.js.map +1 -1
  617. package/out/renderer/preferences/preferences.js +44 -13
  618. package/out/renderer/preferences/preferences.js.map +1 -1
  619. package/out/renderer/preferences/section-navigation.js +44 -0
  620. package/out/renderer/preferences/section-navigation.js.map +1 -0
  621. package/out/renderer/preferences/settings-icon-action.js +12 -11
  622. package/out/renderer/preferences/settings-icon-action.js.map +1 -1
  623. package/out/renderer/preferences/settings-modal.js +1 -1
  624. package/out/renderer/preferences/settings-modal.js.map +1 -1
  625. package/out/renderer/relationship-map-finding.js +54 -0
  626. package/out/renderer/relationship-map-finding.js.map +1 -0
  627. package/out/renderer/resource-relationships.css.js +11 -1
  628. package/out/renderer/resource-relationships.css.js.map +1 -1
  629. package/out/renderer/resource-relationships.js +104 -50
  630. package/out/renderer/resource-relationships.js.map +1 -1
  631. package/out/renderer/resource-search-client.js.map +1 -1
  632. package/out/renderer/resource-search-fields.js +2 -2
  633. package/out/renderer/resource-search-fields.js.map +1 -1
  634. package/out/renderer/resource-search-model.js +2 -1
  635. package/out/renderer/resource-search-model.js.map +1 -1
  636. package/out/renderer/resource-search-sync.js +1 -1
  637. package/out/renderer/resource-search-sync.js.map +1 -1
  638. package/out/renderer/resource-search.js +164 -108
  639. package/out/renderer/resource-search.js.map +1 -1
  640. package/out/renderer/secret-dialog-customization.js +142 -0
  641. package/out/renderer/secret-dialog-customization.js.map +1 -0
  642. package/out/renderer/src/common/ai-attachments.js +160 -0
  643. package/out/renderer/src/common/ai-attachments.js.map +1 -0
  644. package/out/renderer/src/common/ai-models.js +58 -0
  645. package/out/renderer/src/common/ai-models.js.map +1 -1
  646. package/out/renderer/src/common/ai-prompts.js +32 -2
  647. package/out/renderer/src/common/ai-prompts.js.map +1 -1
  648. package/out/renderer/src/common/ai-resource-payload.js +262 -0
  649. package/out/renderer/src/common/ai-resource-payload.js.map +1 -0
  650. package/out/renderer/src/common/ai-terminal-context.js +39 -18
  651. package/out/renderer/src/common/ai-terminal-context.js.map +1 -1
  652. package/out/renderer/src/common/ai.js +6 -0
  653. package/out/renderer/src/common/ai.js.map +1 -1
  654. package/out/renderer/src/common/dashboard-ai.js +22 -0
  655. package/out/renderer/src/common/dashboard-ai.js.map +1 -0
  656. package/out/renderer/src/common/extension-updates.js +33 -0
  657. package/out/renderer/src/common/extension-updates.js.map +1 -0
  658. package/out/renderer/src/common/gateway-relationships.js +8 -7
  659. package/out/renderer/src/common/gateway-relationships.js.map +1 -1
  660. package/out/renderer/src/common/helm-diff.js +312 -0
  661. package/out/renderer/src/common/helm-diff.js.map +1 -0
  662. package/out/renderer/src/common/helm-values-validation.js +59 -0
  663. package/out/renderer/src/common/helm-values-validation.js.map +1 -0
  664. package/out/renderer/src/common/helm.js +10 -0
  665. package/out/renderer/src/common/helm.js.map +1 -0
  666. package/out/renderer/src/common/node-bulk.js +6 -0
  667. package/out/renderer/src/common/node-bulk.js.map +1 -0
  668. package/out/renderer/src/common/power-log-field-filters.js +92 -0
  669. package/out/renderer/src/common/power-log-field-filters.js.map +1 -0
  670. package/out/renderer/src/common/power-log-json-filter-sql.js +118 -0
  671. package/out/renderer/src/common/power-log-json-filter-sql.js.map +1 -0
  672. package/out/renderer/src/common/power-log-json-preset.js +34 -0
  673. package/out/renderer/src/common/power-log-json-preset.js.map +1 -0
  674. package/out/renderer/src/common/power-log-level.js +172 -0
  675. package/out/renderer/src/common/power-log-level.js.map +1 -0
  676. package/out/renderer/src/common/power-log-parser.js +7 -29
  677. package/out/renderer/src/common/power-log-parser.js.map +1 -1
  678. package/out/renderer/src/common/power-log-sql-level.js +25 -0
  679. package/out/renderer/src/common/power-log-sql-level.js.map +1 -0
  680. package/out/renderer/src/common/power-logs-ai.js +11 -7
  681. package/out/renderer/src/common/power-logs-ai.js.map +1 -1
  682. package/out/renderer/src/common/power-logs.js +6 -0
  683. package/out/renderer/src/common/power-logs.js.map +1 -1
  684. package/out/renderer/src/common/resource-relationships.js +10 -8
  685. package/out/renderer/src/common/resource-relationships.js.map +1 -1
  686. package/out/renderer/src/common/resource-search-kind-priority.js +28 -0
  687. package/out/renderer/src/common/resource-search-kind-priority.js.map +1 -0
  688. package/out/renderer/src/common/resource-search.js.map +1 -1
  689. package/out/{main/common/ai-terminal-context.js → renderer/src/common/search-index-redaction.js} +4 -29
  690. package/out/renderer/src/common/search-index-redaction.js.map +1 -0
  691. package/out/renderer/src/common/store/ai-preferences-store.js +48 -6
  692. package/out/renderer/src/common/store/ai-preferences-store.js.map +1 -1
  693. package/out/renderer/src/common/store/appearance-preferences-store.js +8 -3
  694. package/out/renderer/src/common/store/appearance-preferences-store.js.map +1 -1
  695. package/out/renderer/src/common/store/helm-preferences-store.js +26 -0
  696. package/out/renderer/src/common/store/helm-preferences-store.js.map +1 -0
  697. package/out/renderer/src/common/store/logs-preferences-store.js +5 -0
  698. package/out/renderer/src/common/store/logs-preferences-store.js.map +1 -1
  699. package/out/renderer/src/common/store/node-shell-preferences-store.js +10 -6
  700. package/out/renderer/src/common/store/node-shell-preferences-store.js.map +1 -1
  701. package/out/renderer/src/common/store/power-preferences-store.js +19 -3
  702. package/out/renderer/src/common/store/power-preferences-store.js.map +1 -1
  703. package/out/renderer/welcome.js +29 -2
  704. package/out/renderer/welcome.js.map +1 -1
  705. package/package.json +5 -2
  706. package/out/main/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js +0 -9
  707. package/out/main/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorateMetadata.js +0 -6
  708. package/out/main/common/ai-extras.js.map +0 -1
  709. package/out/main/common/ai-models.js +0 -6
  710. package/out/main/common/ai-models.js.map +0 -1
  711. package/out/main/common/ai-prompts.js +0 -16
  712. package/out/main/common/ai-prompts.js.map +0 -1
  713. package/out/main/common/ai-shortcuts.js.map +0 -1
  714. package/out/main/common/ai-terminal-context.js.map +0 -1
  715. package/out/main/common/ai.js.map +0 -1
  716. package/out/main/common/cluster-icon-ipc.js.map +0 -1
  717. package/out/main/common/cluster-icons.js.map +0 -1
  718. package/out/main/common/dashboard-picker.js.map +0 -1
  719. package/out/main/common/dashboard-readiness.js.map +0 -1
  720. package/out/main/common/dashboard-selector.js.map +0 -1
  721. package/out/main/common/dashboard-views.js.map +0 -1
  722. package/out/main/common/dashboard.js.map +0 -1
  723. package/out/main/common/extension-info.js.map +0 -1
  724. package/out/main/common/monitoring-history.js.map +0 -1
  725. package/out/main/common/power-logs-limits.js.map +0 -1
  726. package/out/main/common/power-logs.js.map +0 -1
  727. package/out/main/common/resource-search.js.map +0 -1
  728. package/out/main/common/settings-export.js.map +0 -1
  729. package/out/main/common/store/ai-preferences-store.js.map +0 -1
  730. package/out/main/common/store/ai-shortcuts-store.js.map +0 -1
  731. package/out/main/common/store/appearance-preferences-store.js.map +0 -1
  732. package/out/main/common/store/cluster-icons-store.js.map +0 -1
  733. package/out/main/common/store/dashboard-preferences-store.js.map +0 -1
  734. package/out/main/common/store/logs-preferences-store.js.map +0 -1
  735. package/out/main/common/store/monitoring-preferences-store.js.map +0 -1
  736. package/out/main/common/store/node-shell-preferences-store.js +0 -40
  737. package/out/main/common/store/node-shell-preferences-store.js.map +0 -1
  738. package/out/main/common/store/power-preferences-store.js +0 -23
  739. package/out/main/common/store/power-preferences-store.js.map +0 -1
  740. package/out/main/common/store/read-only-preferences-store.js.map +0 -1
  741. package/out/renderer/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js +0 -9
  742. package/out/renderer/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorateMetadata.js +0 -6
  743. /package/out/main/{common → src/common}/ai-extras.js +0 -0
  744. /package/out/main/{common → src/common}/ai-shortcuts.js +0 -0
  745. /package/out/main/{common → src/common}/cluster-icon-ipc.js +0 -0
  746. /package/out/main/{common → src/common}/cluster-icons.js +0 -0
  747. /package/out/main/{common → src/common}/dashboard-picker.js +0 -0
  748. /package/out/main/{common → src/common}/dashboard-readiness.js +0 -0
  749. /package/out/main/{common → src/common}/dashboard-selector.js +0 -0
  750. /package/out/main/{common → src/common}/dashboard-views.js +0 -0
  751. /package/out/main/{common → src/common}/dashboard.js +0 -0
  752. /package/out/main/{common → src/common}/extension-info.js +0 -0
  753. /package/out/main/{common → src/common}/monitoring-history.js +0 -0
  754. /package/out/main/{common → src/common}/power-logs-limits.js +0 -0
  755. /package/out/main/{common → src/common}/resource-search.js +0 -0
  756. /package/out/main/{common → src/common}/settings-export.js +0 -0
@@ -0,0 +1,748 @@
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_helm_preferences_store = require("./src/common/store/helm-preferences-store.js");
4
+ const require_power_preferences_store = require("./src/common/store/power-preferences-store.js");
5
+ const require_read_only_preferences_store = require("./src/common/store/read-only-preferences-store.js");
6
+ const require_helm = require("./src/common/helm.js");
7
+ const require_helm$1 = require("./helm.js");
8
+ const require_helm_installed_chart = require("./helm-installed-chart.js");
9
+ const require_helm_values = require("./helm-values.js");
10
+ const require_resource_search = require("./resource-search.js");
11
+ let node_crypto = require("node:crypto");
12
+ let electron = require("electron");
13
+ let node_child_process = require("node:child_process");
14
+ let node_path = require("node:path");
15
+ let node_fs = require("node:fs");
16
+ //#region src/main/helm-ipc.ts
17
+ var reads = new require_helm$1.HelmLimiter(2);
18
+ var background = new require_helm$1.HelmLimiter(1);
19
+ var writes = new require_helm$1.HelmLimiter(2);
20
+ var processes = new require_helm$1.HelmLimiter(2);
21
+ var nameValid = (v) => typeof v === "string" && /^[a-z0-9](?:[a-z0-9.-]{0,251}[a-z0-9])?$/.test(v);
22
+ function validateHelmRequest(value) {
23
+ const r = value;
24
+ if (!r || typeof r !== "object" || typeof r.requestId !== "string" || !/^[\w-]{1,128}$/.test(r.requestId) || !nameValid(r.clusterId) || r.namespace !== "" && !nameValid(r.namespace) || ![
25
+ "operations",
26
+ "list",
27
+ "history",
28
+ "details",
29
+ "rollback",
30
+ "edit-options",
31
+ "upgrade-values",
32
+ "uninstall",
33
+ "delete-revision",
34
+ "app-version",
35
+ "cancel"
36
+ ].includes(r.operation)) throw new require_helm$1.HelmError("invalid-request", "Invalid Helm request");
37
+ if (r.contextId !== void 0 && (typeof r.contextId !== "string" || !/^[a-f0-9]{64}$/.test(r.contextId))) throw new require_helm$1.HelmError("invalid-request", "Invalid Helm context");
38
+ if ([
39
+ "history",
40
+ "details",
41
+ "rollback",
42
+ "edit-options",
43
+ "upgrade-values",
44
+ "uninstall",
45
+ "delete-revision",
46
+ "app-version"
47
+ ].includes(r.operation) && (!nameValid(r.name) || !r.namespace)) throw new require_helm$1.HelmError("invalid-request", "Select a release namespace and name");
48
+ if ([
49
+ "details",
50
+ "rollback",
51
+ "edit-options",
52
+ "upgrade-values",
53
+ "uninstall",
54
+ "delete-revision",
55
+ "app-version"
56
+ ].includes(r.operation) && (!Number.isSafeInteger(r.revision) || r.revision < 1)) throw new require_helm$1.HelmError("invalid-request", "Invalid Helm revision");
57
+ if (r.operation === "details" && ![
58
+ "overview",
59
+ "values",
60
+ "manifest",
61
+ "notes"
62
+ ].includes(r.section)) throw new require_helm$1.HelmError("invalid-request", "Invalid Helm section");
63
+ if (r.uid !== void 0 && (typeof r.uid !== "string" || !/^[a-zA-Z0-9-]{1,128}$/.test(r.uid))) throw new require_helm$1.HelmError("invalid-request", "Invalid Helm release identity");
64
+ if ([
65
+ "rollback",
66
+ "upgrade-values",
67
+ "uninstall",
68
+ "delete-revision"
69
+ ].includes(r.operation) && typeof r.uid !== "string") throw new require_helm$1.HelmError("invalid-request", "Refresh releases before changing Helm releases");
70
+ if (r.operation === "upgrade-values") {
71
+ if (typeof r.values !== "string" || Buffer.byteLength(r.values) > 1024 * 1024) throw new require_helm$1.HelmError("invalid-values", "Values must be YAML text within 1 MiB");
72
+ if (typeof r.chart !== "string" || r.chart !== "@installed" && !/^[a-zA-Z0-9][a-zA-Z0-9._-]*\/[a-z0-9][a-z0-9._-]*$/.test(r.chart)) throw new require_helm$1.HelmError("invalid-request", "Select a registered Helm repository chart");
73
+ }
74
+ return r;
75
+ }
76
+ function executeHelmRead(binary, args, signal, beforeStart = () => {}, launchGuard = () => {}) {
77
+ return processes.run(signal, async () => {
78
+ await beforeStart();
79
+ return new Promise((resolve, reject) => {
80
+ if (signal.aborted) return reject(new require_helm$1.HelmError("cancelled", "Helm request cancelled"));
81
+ launchGuard();
82
+ const child = (0, node_child_process.execFile)(binary, args, {
83
+ env: { ...process.env },
84
+ timeout: 6e4,
85
+ maxBuffer: 8 * 1024 * 1024,
86
+ killSignal: "SIGKILL",
87
+ windowsHide: true
88
+ }, (error, stdout, stderr) => {
89
+ signal.removeEventListener("abort", abort);
90
+ if (signal.aborted) return reject(new require_helm$1.HelmError("cancelled", "Helm repository search cancelled"));
91
+ if (!error) return resolve(String(stdout));
92
+ const diagnostic = String(stderr ?? "").slice(0, 4096);
93
+ reject(new require_helm$1.HelmError("chart-unavailable", /no repositories (?:found|configured)/i.test(diagnostic) ? "No Helm repositories are configured. Add the chart repository in Helm settings, then refresh chart sources" : /no cached repo found|failed to load.*index|index\.yaml.*no such file/i.test(diagnostic) ? "Helm repository indexes are unavailable. Refresh repositories in Helm settings, then retry" : error.killed ? "Helm repository search timed out. Check the local repository configuration and retry" : error.code === "ENOENT" ? "The Freelens Helm executable is unavailable. Check the Freelens installation and retry" : "Could not search registered Helm repositories. Check repository configuration and cached indexes in Helm settings"));
94
+ });
95
+ const abort = () => child.kill("SIGKILL");
96
+ signal.addEventListener("abort", abort, { once: true });
97
+ if (signal.aborted) abort();
98
+ });
99
+ });
100
+ }
101
+ function executeHelmRollback(binary, args, signal, operation = "rollback", beforeStart = () => {}, launchGuard = () => {}, progress = () => {}) {
102
+ return processes.run(signal, async () => {
103
+ await beforeStart();
104
+ return new Promise((resolve, reject) => {
105
+ if (signal.aborted) return reject(new require_helm$1.HelmError("cancelled", "Helm request cancelled"));
106
+ launchGuard();
107
+ const child = (0, node_child_process.execFile)(binary, args, {
108
+ env: { ...process.env },
109
+ timeout: operation === "rollback" ? 33e4 : 75e3,
110
+ maxBuffer: 8 * 1024 * 1024,
111
+ killSignal: "SIGKILL",
112
+ windowsHide: true
113
+ }, (error, _stdout, stderr) => {
114
+ signal.removeEventListener("abort", abort);
115
+ if (!error && !signal.aborted) return resolve();
116
+ if (error && [
117
+ "ENOENT",
118
+ "EACCES",
119
+ "ENOEXEC"
120
+ ].includes(String(error.code))) {
121
+ reject(new require_helm$1.HelmError("helm-unavailable", error.code === "ENOENT" ? "The Freelens Helm executable or one of its required programs is unavailable. Check the Freelens installation and Kubernetes credential plugin, then retry" : "The Freelens Helm executable could not start. Check its permissions and compatibility, then retry"));
122
+ return;
123
+ }
124
+ const diagnostic = String(stderr ?? "").slice(0, 16 * 1024);
125
+ const hint = signal.aborted ? "The Helm command was cancelled or exceeded the request time limit" : error?.killed ? "The Helm command exceeded its time limit" : /forbidden|cannot (?:get|list|create|update|patch|delete).*resource/i.test(diagnostic) ? "Kubernetes denied access. Check permissions for release Secrets and managed resources" : /unauthorized|authentication required|provide credentials|getting credentials|credential plugin|exec: executable/i.test(diagnostic) ? "Kubernetes authentication failed. Refresh cluster credentials and check the credential plugin" : /x509:|tls handshake|certificate/i.test(diagnostic) ? "Kubernetes TLS verification failed. Check the cluster certificate and kubeconfig" : /connection refused|no such host|dial tcp|network is unreachable|i\/o timeout|context deadline exceeded/i.test(diagnostic) ? "The Kubernetes API could not be reached. Check the cluster connection and credentials" : /conflict|field manager|fieldmanager/i.test(diagnostic) ? "Kubernetes reported a resource conflict. Review the resource state and field ownership" : /hook|timed out waiting|deadline exceeded/i.test(diagnostic) ? "A Helm hook or resource operation failed or timed out. Review release events and hook Jobs" : /unknown flag|unknown command|incompatible|unsupported/i.test(diagnostic) ? "The Helm command is incompatible with this Helm version. Check the Freelens Helm installation" : "The Helm command failed. Review release history and Kubernetes events for details";
126
+ const label = operation === "upgrade" ? "Upgrade" : operation === "uninstall" ? "Uninstall" : "Rollback";
127
+ reject(new require_helm$1.HelmError(`${operation}-unknown`, `${hint}. ${label} outcome is unknown; refresh release history before retrying`));
128
+ });
129
+ const buffers = {
130
+ stdout: "",
131
+ stderr: ""
132
+ };
133
+ const consume = (stream, chunk) => {
134
+ const lines = (buffers[stream] + String(chunk)).split("\n");
135
+ buffers[stream] = lines.pop().slice(-2048);
136
+ for (const line of lines) {
137
+ if (!/\[debug\]|(?:^|\s)level=DEBUG\b/i.test(line)) continue;
138
+ if (/preparing rollback|rolling back/i.test(line)) progress("preparing", "Helm is preparing the rollback");
139
+ else if (/waiting for|beginning wait/i.test(line)) progress("waiting", "Helm is waiting for resources to become ready");
140
+ else if (/performing rollback|creating rolled back release|checking .*resources for changes|updating the status|Patch .* in namespace|Created a new /i.test(line)) progress("applying", "Helm is applying release changes");
141
+ }
142
+ };
143
+ child.stdout?.on("data", (chunk) => consume("stdout", chunk));
144
+ child.stderr?.on("data", (chunk) => consume("stderr", chunk));
145
+ const abort = () => child.kill("SIGKILL");
146
+ signal.addEventListener("abort", abort, { once: true });
147
+ if (signal.aborted) abort();
148
+ });
149
+ });
150
+ }
151
+ function snapshotOperation(record) {
152
+ return {
153
+ ...record,
154
+ logs: record.logs.map((log) => ({ ...log })),
155
+ error: record.error ? { ...record.error } : void 0,
156
+ stages: record.stages ? Object.fromEntries(Object.entries(record.stages).map(([phase, timing]) => [phase, { ...timing }])) : void 0
157
+ };
158
+ }
159
+ function finishStage(record, at) {
160
+ const phase = record.phase;
161
+ if (phase !== "preparing" && phase !== "applying" && phase !== "waiting") return;
162
+ const stage = record.stages?.[phase];
163
+ if (stage && stage.finishedAt === void 0) stage.finishedAt = at;
164
+ }
165
+ function startPowerHelm() {
166
+ let active = true;
167
+ const helm = require_helm_preferences_store.HelmPreferencesStore.getInstanceOrCreate();
168
+ const power = require_power_preferences_store.PowerPreferencesStore.getInstanceOrCreate();
169
+ const readOnly = require_read_only_preferences_store.ReadOnlyPreferencesStore.getInstanceOrCreate();
170
+ const pending = /* @__PURE__ */ new Map();
171
+ const operations = /* @__PURE__ */ new Map();
172
+ const detached = /* @__PURE__ */ new Set();
173
+ const reservations = /* @__PURE__ */ new Map();
174
+ const appendLog = (record, message) => {
175
+ if (record.logs.at(-1)?.message === message) return;
176
+ record.logs.push({
177
+ at: Date.now(),
178
+ message
179
+ });
180
+ if (record.logs.length > 100) record.logs.splice(0, record.logs.length - 100);
181
+ };
182
+ const prune = () => {
183
+ const terminal = [...operations.values()].filter((record) => record.status !== "running").sort((a, b) => (a.finishedAt ?? a.startedAt) - (b.finishedAt ?? b.startedAt));
184
+ for (const record of terminal.slice(0, Math.max(0, terminal.length - 50))) operations.delete(record.id);
185
+ };
186
+ const services = /* @__PURE__ */ new Map();
187
+ const clusterContexts = /* @__PURE__ */ new Map();
188
+ const uncertain = /* @__PURE__ */ new Map();
189
+ const mutations = /* @__PURE__ */ new Map();
190
+ const observed = /* @__PURE__ */ new Map();
191
+ const clear = () => {
192
+ for (const c of pending.values()) c.abort();
193
+ pending.clear();
194
+ for (const s of services.values()) s.clear();
195
+ services.clear();
196
+ clusterContexts.clear();
197
+ };
198
+ const stop = require__global_external_mobx.reaction(() => power.enabled && helm.enabled, (enabled) => {
199
+ if (!enabled) clear();
200
+ });
201
+ const fingerprint = (id) => {
202
+ const cluster = require_extensions.Main.Catalog.getClusterById(id);
203
+ if (!cluster) throw new require_helm$1.HelmError("unavailable", "Helm cluster unavailable");
204
+ return (0, node_crypto.createHash)("sha256").update(id).update("\0").update(cluster.contextName).update("\0").update(cluster.kubeConfigPath).update("\0").update((0, node_fs.readFileSync)(cluster.kubeConfigPath)).digest("hex");
205
+ };
206
+ electron.ipcMain.handle(require_helm.HELM_CHANNEL, async (event, input) => {
207
+ let key;
208
+ let controller;
209
+ let timer;
210
+ let record;
211
+ let reserved;
212
+ try {
213
+ const r = validateHelmRequest(input);
214
+ if (!active || !power.enabled || !helm.enabled || !require_resource_search.trustedSearchSender(event, r.clusterId)) throw new require_helm$1.HelmError("unavailable", "Helm is unavailable");
215
+ const frame = event.senderFrame;
216
+ key = `${`${event.sender.id}:${frame.processId}:${frame.routingId}:`}${r.requestId}`;
217
+ if (r.operation === "cancel") {
218
+ if (!detached.has(key)) pending.get(key)?.abort();
219
+ return { ok: true };
220
+ }
221
+ if (!observed.has(event.sender)) {
222
+ const sender = event.sender;
223
+ const abort = () => {
224
+ for (const [k, c] of pending) if (k.startsWith(`${sender.id}:`) && !detached.has(k)) c.abort();
225
+ for (const s of services.values()) s.clear();
226
+ };
227
+ sender.on("destroyed", abort);
228
+ sender.on("did-start-navigation", abort);
229
+ observed.set(sender, () => {
230
+ sender.removeListener("destroyed", abort);
231
+ sender.removeListener("did-start-navigation", abort);
232
+ });
233
+ }
234
+ const context = fingerprint(r.clusterId);
235
+ const previousContext = clusterContexts.get(r.clusterId);
236
+ if (previousContext && previousContext !== context) {
237
+ services.get(previousContext)?.clear();
238
+ services.delete(previousContext);
239
+ }
240
+ clusterContexts.set(r.clusterId, context);
241
+ if (r.contextId !== void 0 && r.contextId !== context || [
242
+ "rollback",
243
+ "upgrade-values",
244
+ "uninstall",
245
+ "delete-revision",
246
+ "edit-options",
247
+ "app-version"
248
+ ].includes(r.operation) && r.contextId !== context) throw new require_helm$1.HelmError("context-changed", "Helm context changed; refresh release history before rollback");
249
+ const cluster = require_extensions.Main.Catalog.getClusterById(r.clusterId);
250
+ const check = () => {
251
+ if (!active || !power.enabled || !helm.enabled || !record && !require_resource_search.trustedSearchSender(event, r.clusterId) || fingerprint(r.clusterId) !== context) throw new require_helm$1.HelmError("context-changed", "Helm context changed; refresh releases");
252
+ };
253
+ if (r.operation === "operations") return {
254
+ ok: true,
255
+ contextId: context,
256
+ operations: [...operations.values()].filter((entry) => entry.clusterId === r.clusterId && entry.contextId === context).map(snapshotOperation)
257
+ };
258
+ if (pending.has(key)) throw new require_helm$1.HelmError("operation-running", "A Helm request with this identity is already running");
259
+ const releaseKey = `${context}\0${r.namespace}\0${r.name}`;
260
+ if ([
261
+ "rollback",
262
+ "upgrade-values",
263
+ "uninstall",
264
+ "delete-revision"
265
+ ].includes(r.operation)) {
266
+ if (reservations.has(releaseKey)) throw new require_helm$1.HelmError("operation-running", "A Helm operation is already running for this release");
267
+ reservations.set(releaseKey, key);
268
+ reserved = releaseKey;
269
+ }
270
+ if (r.operation === "rollback") {
271
+ if (r.confirmed !== true || readOnly.enabled) throw new require_helm$1.HelmError("read-only", "Disable read-only mode and explicitly confirm rollback");
272
+ record = {
273
+ id: (0, node_crypto.createHash)("sha256").update(key).digest("hex"),
274
+ requestId: r.requestId,
275
+ clusterId: r.clusterId,
276
+ contextId: context,
277
+ namespace: r.namespace,
278
+ name: r.name,
279
+ revision: r.revision,
280
+ status: "running",
281
+ phase: "preparing",
282
+ startedAt: Date.now(),
283
+ logs: []
284
+ };
285
+ record.stages = { preparing: { startedAt: record.startedAt } };
286
+ operations.set(record.id, record);
287
+ appendLog(record, "Preparing rollback and checking release identity");
288
+ detached.add(key);
289
+ }
290
+ controller = new AbortController();
291
+ pending.set(key, controller);
292
+ const signal = controller.signal;
293
+ timer = setTimeout(() => controller?.abort(), r.operation === "rollback" ? 36e4 : [
294
+ "upgrade-values",
295
+ "uninstall",
296
+ "edit-options"
297
+ ].includes(r.operation) ? 9e4 : 3e4);
298
+ let service = r.operation === "rollback" ? void 0 : services.get(context);
299
+ if (!service) {
300
+ service = new require_helm$1.HelmService((path, query, metadata, requestSignal) => reads.run(requestSignal, async () => {
301
+ if (!active || !power.enabled || !helm.enabled || fingerprint(r.clusterId) !== context) throw new require_helm$1.HelmError("context-changed", "Helm context changed; refresh releases");
302
+ const response = await require_extensions.Main.K8sApi.KubeJsonApi.forCluster.call(void 0, r.clusterId).getResponse(path, { query }, {
303
+ signal: requestSignal,
304
+ headers: { Accept: metadata ? "application/json;as=PartialObjectMetadataList;g=meta.k8s.io;v=v1" : "application/json" }
305
+ });
306
+ if (!response.ok) throw new require_helm$1.HelmError(response.status === 406 ? "metadata-unavailable" : response.status === 403 ? "forbidden" : "api-error", response.status === 406 ? "The API server does not support metadata-only Helm listing" : response.status === 403 ? "Access to Helm release Secrets is forbidden" : "Kubernetes could not load Helm data");
307
+ if (Number(response.headers.get("content-length") ?? 0) > 24 * 1024 * 1024) throw new require_helm$1.HelmError("limit", "Helm API response exceeds safety limits");
308
+ const chunks = [];
309
+ let bytes = 0;
310
+ if (!response.body) throw new require_helm$1.HelmError("api-error", "Kubernetes returned an empty response");
311
+ for await (const chunk of response.body) {
312
+ const buffer = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);
313
+ bytes += buffer.length;
314
+ if (bytes > 24 * 1024 * 1024) {
315
+ response.body.destroy();
316
+ throw new require_helm$1.HelmError("limit", "Helm API response exceeds safety limits");
317
+ }
318
+ chunks.push(buffer);
319
+ }
320
+ const body = Buffer.concat(chunks).toString("utf8");
321
+ if (!active || !power.enabled || !helm.enabled || fingerprint(r.clusterId) !== context) throw new require_helm$1.HelmError("context-changed", "Helm context changed; refresh releases");
322
+ return JSON.parse(body);
323
+ }));
324
+ if (services.size >= 8) {
325
+ services.values().next().value?.clear();
326
+ services.delete(services.keys().next().value);
327
+ }
328
+ if (r.operation !== "rollback") services.set(context, service);
329
+ }
330
+ const rollbackAllowed = !readOnly.enabled;
331
+ const binary = () => (0, node_path.join)(process.resourcesPath, process.arch, process.platform === "win32" ? "helm.exe" : "helm");
332
+ const writeCheck = () => {
333
+ check();
334
+ if (readOnly.enabled) throw new require_helm$1.HelmError("read-only", "Disable read-only mode to change Helm releases");
335
+ };
336
+ if (r.operation === "edit-options" && readOnly.enabled) return {
337
+ ok: true,
338
+ contextId: context,
339
+ upgradeAllowed: false,
340
+ chartChoices: []
341
+ };
342
+ const mutate = async (action) => {
343
+ let limiter = mutations.get(releaseKey);
344
+ if (!limiter) {
345
+ limiter = new require_helm$1.HelmLimiter(1);
346
+ mutations.set(releaseKey, limiter);
347
+ }
348
+ return limiter.run(signal, () => writes.run(signal, action));
349
+ };
350
+ const refreshingOutcome = r.operation === "history" && r.refresh === true ? uncertain.get(releaseKey) : void 0;
351
+ const checkUpgradeOutcome = () => {
352
+ if (uncertain.has(releaseKey)) throw new require_helm$1.HelmError("upgrade-unknown", "Refresh release history before retrying the upgrade");
353
+ };
354
+ if (r.operation === "delete-revision") {
355
+ writeCheck();
356
+ if (r.confirmed !== true) throw new require_helm$1.HelmError("read-only", "Explicitly confirm deletion of this historical revision");
357
+ await mutate(async () => {
358
+ writeCheck();
359
+ if (uncertain.has(releaseKey)) throw new require_helm$1.HelmError("delete-revision-unknown", "Refresh release history before deleting a historical revision");
360
+ const fresh = await service.list(context, r.namespace, signal, r.name, true, true);
361
+ const target = fresh.rows.find((candidate) => candidate.revision === r.revision && candidate.uid === r.uid && candidate.secretName === `sh.helm.release.v1.${r.name}.v${r.revision}`);
362
+ if (!target || !target.uid || !target.resourceVersion) throw new require_helm$1.HelmError("stale-revision", "Release revision changed; refresh history before deleting it");
363
+ if (require_helm$1.latestReleases(fresh.rows)[0]?.revision === target.revision || ![
364
+ "superseded",
365
+ "failed",
366
+ "uninstalled"
367
+ ].includes(target.status) || fresh.rows.some((candidate) => candidate.status.startsWith("pending-"))) throw new require_helm$1.HelmError("active-revision", "Only inactive historical revisions can be deleted. Keep the current revision and wait for pending release operations to finish");
368
+ writeCheck();
369
+ if (signal.aborted) throw new require_helm$1.HelmError("cancelled", "Helm request cancelled");
370
+ let started = false;
371
+ try {
372
+ const api = require_extensions.Main.K8sApi.KubeJsonApi.forCluster.call(void 0, r.clusterId);
373
+ started = true;
374
+ const response = await api.getResponse(`/api/v1/namespaces/${encodeURIComponent(target.namespace)}/secrets/${encodeURIComponent(target.secretName)}`, {}, {
375
+ method: "DELETE",
376
+ signal,
377
+ headers: { "Content-Type": "application/json" },
378
+ body: JSON.stringify({
379
+ apiVersion: "v1",
380
+ kind: "DeleteOptions",
381
+ propagationPolicy: "Orphan",
382
+ preconditions: {
383
+ uid: target.uid,
384
+ resourceVersion: target.resourceVersion
385
+ }
386
+ })
387
+ });
388
+ response.body?.destroy();
389
+ if (response.status === 404 || response.status === 409) throw new require_helm$1.HelmError("stale-revision", "Release revision changed; refresh history before deleting it");
390
+ if (response.status === 401 || response.status === 403) throw new require_helm$1.HelmError("forbidden", "Kubernetes denied deletion of this Helm history Secret. Check release Secret permissions");
391
+ if (!response.ok) throw new Error("Deletion outcome unavailable");
392
+ } catch (error) {
393
+ if (error instanceof require_helm$1.HelmError) throw error;
394
+ if (started) uncertain.set(releaseKey, Symbol());
395
+ throw new require_helm$1.HelmError("delete-revision-unknown", "The historical revision deletion outcome is unknown; refresh release history before retrying");
396
+ } finally {
397
+ for (const entry of services.values()) entry.clear();
398
+ }
399
+ });
400
+ check();
401
+ return {
402
+ ok: true,
403
+ contextId: context
404
+ };
405
+ }
406
+ if (r.operation === "uninstall") {
407
+ writeCheck();
408
+ if (r.confirmed !== true || r.confirmationName !== r.name) throw new require_helm$1.HelmError("confirmation-required", "Type the exact release name to confirm uninstall");
409
+ const checkOutcome = () => {
410
+ if (uncertain.has(releaseKey)) throw new require_helm$1.HelmError("uninstall-unknown", "Refresh release history before retrying deletion");
411
+ };
412
+ const beforeStart = async () => {
413
+ writeCheck();
414
+ checkOutcome();
415
+ const current = require_helm$1.latestReleases((await service.list(context, r.namespace, signal, r.name, true)).rows)[0];
416
+ if (!current || current.revision !== r.revision || current.uid !== r.uid) throw new require_helm$1.HelmError("stale-revision", "Release changed; refresh history before deleting");
417
+ writeCheck();
418
+ checkOutcome();
419
+ };
420
+ await mutate(async () => {
421
+ try {
422
+ await executeHelmRollback(binary(), [
423
+ "uninstall",
424
+ r.name,
425
+ "--namespace",
426
+ r.namespace,
427
+ "--kubeconfig",
428
+ cluster.kubeConfigPath,
429
+ "--kube-context",
430
+ cluster.contextName,
431
+ "--timeout",
432
+ "60s"
433
+ ], signal, "uninstall", beforeStart, () => {
434
+ writeCheck();
435
+ checkOutcome();
436
+ });
437
+ } catch (error) {
438
+ if (error instanceof require_helm$1.HelmError && error.code === "uninstall-unknown") uncertain.set(releaseKey, Symbol());
439
+ throw error;
440
+ } finally {
441
+ for (const entry of services.values()) entry.clear();
442
+ }
443
+ });
444
+ check();
445
+ return {
446
+ ok: true,
447
+ contextId: context
448
+ };
449
+ }
450
+ if (r.operation === "upgrade-values") {
451
+ checkUpgradeOutcome();
452
+ writeCheck();
453
+ if (r.confirmed !== true) throw new require_helm$1.HelmError("read-only", "Explicitly confirm the values upgrade");
454
+ require_helm_values.validateHelmValues(r.values);
455
+ }
456
+ const resolveChoices = async (row, preferInstalled = true) => {
457
+ const metadata = await service.chartMetadata(context, row, signal);
458
+ check();
459
+ const detail = await service.detail(context, row, "overview", signal);
460
+ check();
461
+ if (detail.overview.namespace !== row.namespace) throw new require_helm$1.HelmError("unsupported-release-namespace", "Values editing is unavailable when the release target namespace differs from its storage namespace. Use the release's original deployment tool to edit values");
462
+ try {
463
+ if (!preferInstalled) throw new require_helm$1.HelmError("installed-chart-unavailable", "Repository chart requested");
464
+ const stored = await service.installedChart(context, row, signal);
465
+ check();
466
+ require_helm_installed_chart.installedChartFiles(stored);
467
+ return {
468
+ metadata,
469
+ choices: [{
470
+ ref: require_helm.HELM_INSTALLED_CHART,
471
+ version: metadata.version
472
+ }],
473
+ stored
474
+ };
475
+ } catch (error) {
476
+ if (!(error instanceof require_helm$1.HelmError) || error.code !== "installed-chart-unavailable") throw error;
477
+ }
478
+ const output = await executeHelmRead(binary(), [
479
+ "search",
480
+ "repo",
481
+ metadata.name,
482
+ "--version",
483
+ metadata.version,
484
+ "--versions",
485
+ "--output",
486
+ "json"
487
+ ], signal, check, check).catch((error) => {
488
+ if (preferInstalled && error instanceof require_helm$1.HelmError) throw new require_helm$1.HelmError(error.code, `The installed chart is incomplete or has dependencies. ${error.message}`);
489
+ throw error;
490
+ });
491
+ check();
492
+ const choices = require_helm_values.chartChoices(output, metadata.name, metadata.version);
493
+ if (preferInstalled && choices.length === 0) throw new require_helm$1.HelmError("chart-unavailable", "The installed chart is incomplete or has dependencies, and its exact chart version is unavailable in registered repositories. Configure the original chart repository and refresh chart sources");
494
+ return {
495
+ metadata,
496
+ choices
497
+ };
498
+ };
499
+ if (r.operation === "upgrade-values") {
500
+ await mutate(async () => {
501
+ checkUpgradeOutcome();
502
+ writeCheck();
503
+ const current = require_helm$1.latestReleases((await service.list(context, r.namespace, signal, r.name, true)).rows)[0];
504
+ if (!current || current.revision !== r.revision || current.uid !== r.uid) throw new require_helm$1.HelmError("stale-revision", "Release changed; refresh history before editing values");
505
+ const { metadata, choices, stored } = await resolveChoices(current, r.chart === require_helm.HELM_INSTALLED_CHART);
506
+ if (!choices.some((choice) => choice.ref === r.chart)) throw new require_helm$1.HelmError("chart-unavailable", "Selected chart is unavailable in registered repositories");
507
+ const upgrade = async (chart) => require_helm_values.withHelmValues(r.values, async (path) => {
508
+ writeCheck();
509
+ checkUpgradeOutcome();
510
+ try {
511
+ await executeHelmRollback(binary(), [
512
+ "upgrade",
513
+ current.name,
514
+ chart,
515
+ "--version",
516
+ metadata.version,
517
+ "--values",
518
+ path,
519
+ "--reset-values",
520
+ "--history-max",
521
+ "0",
522
+ "--namespace",
523
+ current.namespace,
524
+ "--kubeconfig",
525
+ cluster.kubeConfigPath,
526
+ "--kube-context",
527
+ cluster.contextName,
528
+ "--timeout",
529
+ "60s"
530
+ ], signal, "upgrade", async () => {
531
+ writeCheck();
532
+ checkUpgradeOutcome();
533
+ const final = await service.list(context, r.namespace, signal, r.name, true);
534
+ if (require_helm$1.latestReleases(final.rows)[0]?.revision !== r.revision || require_helm$1.latestReleases(final.rows)[0]?.uid !== r.uid) throw new require_helm$1.HelmError("stale-revision", "Release changed; refresh history before editing values");
535
+ writeCheck();
536
+ checkUpgradeOutcome();
537
+ }, () => {
538
+ writeCheck();
539
+ checkUpgradeOutcome();
540
+ });
541
+ } catch (error) {
542
+ if (error instanceof require_helm$1.HelmError && error.code === "upgrade-unknown") uncertain.set(releaseKey, Symbol());
543
+ throw error;
544
+ } finally {
545
+ for (const entry of services.values()) entry.clear();
546
+ }
547
+ });
548
+ if (r.chart === "@installed") {
549
+ if (!stored) throw new require_helm$1.HelmError("installed-chart-unavailable", "The installed chart is incomplete. Refresh chart sources");
550
+ await require_helm_installed_chart.withInstalledChart(require_helm_installed_chart.installedChartFiles(stored), upgrade);
551
+ } else await upgrade(r.chart);
552
+ });
553
+ check();
554
+ return {
555
+ ok: true,
556
+ contextId: context,
557
+ upgradeAllowed: !readOnly.enabled
558
+ };
559
+ }
560
+ if (r.operation === "app-version") {
561
+ const row = {
562
+ name: r.name,
563
+ namespace: r.namespace,
564
+ revision: r.revision,
565
+ uid: r.uid,
566
+ status: "unknown",
567
+ secretName: `sh.helm.release.v1.${r.name}.v${r.revision}`
568
+ };
569
+ const summary = await background.run(signal, async () => {
570
+ check();
571
+ return service.appVersion(context, row, signal, r.refresh === true);
572
+ });
573
+ check();
574
+ return {
575
+ ok: true,
576
+ contextId: context,
577
+ ...summary
578
+ };
579
+ }
580
+ if (r.operation === "details") {
581
+ const row = {
582
+ name: r.name,
583
+ namespace: r.namespace,
584
+ revision: r.revision,
585
+ uid: r.uid,
586
+ status: "unknown",
587
+ secretName: `sh.helm.release.v1.${r.name}.v${r.revision}`
588
+ };
589
+ const detail = await service.detail(context, row, r.section, signal, r.refresh === true);
590
+ check();
591
+ return {
592
+ ok: true,
593
+ contextId: context,
594
+ detail,
595
+ rollbackAllowed,
596
+ uninstallAllowed: rollbackAllowed
597
+ };
598
+ }
599
+ const data = await service.list(context, r.namespace, signal, r.operation === "list" ? void 0 : r.name, r.refresh === true);
600
+ check();
601
+ if (refreshingOutcome !== void 0 && uncertain.get(releaseKey) === refreshingOutcome) uncertain.delete(releaseKey);
602
+ if (r.operation === "list" || r.operation === "history") return {
603
+ ok: true,
604
+ contextId: context,
605
+ releases: r.operation === "list" ? require_helm$1.latestReleases(data.rows) : data.rows.sort((a, b) => b.revision - a.revision),
606
+ fetchedAt: data.fetchedAt,
607
+ cached: data.cached,
608
+ rollbackAllowed,
609
+ uninstallAllowed: rollbackAllowed
610
+ };
611
+ const row = data.rows.find((row) => row.name === r.name && row.namespace === r.namespace && row.revision === r.revision);
612
+ if (!row) throw new require_helm$1.HelmError("not-found", "Helm release revision is no longer available");
613
+ if (r.operation === "edit-options") {
614
+ const current = require_helm$1.latestReleases(data.rows)[0];
615
+ if (!current || current.revision !== r.revision) throw new require_helm$1.HelmError("stale-revision", "Refresh history and select the current revision to edit values");
616
+ const { choices } = await resolveChoices(current);
617
+ check();
618
+ return {
619
+ ok: true,
620
+ contextId: context,
621
+ chartChoices: choices,
622
+ upgradeAllowed: !readOnly.enabled
623
+ };
624
+ }
625
+ if (r.operation !== "rollback" || r.confirmed !== true || readOnly.enabled) throw new require_helm$1.HelmError("read-only", "Disable read-only mode and explicitly confirm rollback");
626
+ const checkRollbackOutcome = () => {
627
+ if (uncertain.has(releaseKey)) throw new require_helm$1.HelmError("rollback-unknown", "Refresh release history before retrying rollback");
628
+ };
629
+ checkRollbackOutcome();
630
+ await mutate(async () => {
631
+ check();
632
+ checkRollbackOutcome();
633
+ if (readOnly.enabled) throw new require_helm$1.HelmError("read-only", "Read-only mode blocks rollback");
634
+ try {
635
+ await executeHelmRollback((0, node_path.join)(process.resourcesPath, process.arch, process.platform === "win32" ? "helm.exe" : "helm"), [
636
+ "rollback",
637
+ row.name,
638
+ String(row.revision),
639
+ "--history-max",
640
+ "0",
641
+ "--namespace",
642
+ row.namespace,
643
+ "--kubeconfig",
644
+ cluster.kubeConfigPath,
645
+ "--kube-context",
646
+ cluster.contextName,
647
+ "--debug",
648
+ "--wait",
649
+ "--timeout",
650
+ "5m"
651
+ ], signal, "rollback", async () => {
652
+ writeCheck();
653
+ checkRollbackOutcome();
654
+ if (!(await service.list(context, r.namespace, signal, r.name, true)).rows.find((candidate) => candidate.revision === r.revision && candidate.uid === r.uid)) throw new require_helm$1.HelmError("stale-revision", "Release changed; refresh history before rollback");
655
+ writeCheck();
656
+ }, () => {
657
+ writeCheck();
658
+ checkRollbackOutcome();
659
+ }, (phase, message) => {
660
+ if (record) {
661
+ const order = {
662
+ preparing: 0,
663
+ applying: 1,
664
+ waiting: 2,
665
+ completed: 3,
666
+ failed: 3
667
+ };
668
+ if (order[phase] > order[record.phase]) {
669
+ const at = Date.now();
670
+ finishStage(record, at);
671
+ record.stages ??= {};
672
+ record.stages[phase] = { startedAt: at };
673
+ record.phase = phase;
674
+ }
675
+ appendLog(record, message);
676
+ }
677
+ });
678
+ } catch (error) {
679
+ if (error instanceof require_helm$1.HelmError && error.code === "rollback-unknown") uncertain.set(releaseKey, Symbol());
680
+ throw error;
681
+ } finally {
682
+ for (const s of services.values()) s.clear();
683
+ }
684
+ });
685
+ check();
686
+ if (record) {
687
+ record.finishedAt = Date.now();
688
+ finishStage(record, record.finishedAt);
689
+ record.status = "succeeded";
690
+ record.phase = "completed";
691
+ appendLog(record, "Rollback completed and resources are ready");
692
+ }
693
+ return {
694
+ ok: true,
695
+ contextId: context,
696
+ rollbackAllowed: !readOnly.enabled,
697
+ operations: record ? [snapshotOperation(record)] : void 0
698
+ };
699
+ } catch (error) {
700
+ if (record) {
701
+ record.finishedAt = Date.now();
702
+ finishStage(record, record.finishedAt);
703
+ record.status = "failed";
704
+ record.phase = "failed";
705
+ record.error = error instanceof require_helm$1.HelmError ? {
706
+ code: error.code,
707
+ message: error.message
708
+ } : {
709
+ code: "unavailable",
710
+ message: "Helm rollback is unavailable"
711
+ };
712
+ appendLog(record, record.error.message);
713
+ }
714
+ return {
715
+ ok: false,
716
+ operations: record ? [snapshotOperation(record)] : void 0,
717
+ error: error instanceof require_helm$1.HelmError ? {
718
+ code: error.code,
719
+ message: error.message
720
+ } : {
721
+ code: controller?.signal.aborted ? "cancelled" : "unavailable",
722
+ message: controller?.signal.aborted ? "Helm request cancelled or timed out" : "Helm data is unavailable"
723
+ }
724
+ };
725
+ } finally {
726
+ if (timer) clearTimeout(timer);
727
+ if (reserved && reservations.get(reserved) === key) reservations.delete(reserved);
728
+ if (key && record) detached.delete(key);
729
+ prune();
730
+ if (key && pending.get(key) === controller) pending.delete(key);
731
+ }
732
+ });
733
+ return () => {
734
+ active = false;
735
+ stop();
736
+ clear();
737
+ for (const cleanup of observed.values()) cleanup();
738
+ observed.clear();
739
+ electron.ipcMain.removeHandler(require_helm.HELM_CHANNEL);
740
+ };
741
+ }
742
+ //#endregion
743
+ exports.executeHelmRead = executeHelmRead;
744
+ exports.executeHelmRollback = executeHelmRollback;
745
+ exports.startPowerHelm = startPowerHelm;
746
+ exports.validateHelmRequest = validateHelmRequest;
747
+
748
+ //# sourceMappingURL=helm-ipc.js.map