@64mb/freelens-power 1.7.0 → 2.20.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 (999) hide show
  1. package/README.md +4 -2
  2. package/dist/ai-codex-api-CHt-EMIE.js +4403 -0
  3. package/dist/ai-codex-api-CHt-EMIE.js.map +1 -0
  4. package/dist/ai-codex-api.js +1 -0
  5. package/{out/main/dashboard-preload.js → dist/dashboard-preload.cjs} +6 -6
  6. package/dist/dashboard-preload.cjs.map +1 -0
  7. package/dist/main.js +14935 -0
  8. package/dist/main.js.map +1 -0
  9. package/dist/power-logs-D2eUB0f0.js +32 -0
  10. package/{out/main/src/common/power-logs.js.map → dist/power-logs-D2eUB0f0.js.map} +1 -1
  11. package/{out/main → dist}/power-logs-child.js +11 -11
  12. package/dist/power-logs-child.js.map +1 -0
  13. package/{out/main → dist}/power-logs-database.js +74 -75
  14. package/{out/main → dist}/power-logs-database.js.map +1 -1
  15. package/{out/renderer/src/common/power-logs-limits.js → dist/power-logs-limits-CdzRcMHg.js} +7 -10
  16. package/{out/main/src/common/power-logs-limits.js.map → dist/power-logs-limits-CdzRcMHg.js.map} +1 -1
  17. package/dist/power-logs-query-child.js +22 -0
  18. package/dist/power-logs-query-child.js.map +1 -0
  19. package/{out/main → dist}/power-logs-query.js +13 -14
  20. package/{out/main → dist}/power-logs-query.js.map +1 -1
  21. package/dist/renderer.js +43781 -0
  22. package/dist/renderer.js.map +1 -0
  23. package/package.json +39 -30
  24. package/out/main/_virtual/_global-external_@freelensapp/extensions.js +0 -9
  25. package/out/main/_virtual/_global-external_mobx.js +0 -77
  26. package/out/main/_virtual/_rolldown/runtime.js +0 -25
  27. package/out/main/ai-answer-stream.js +0 -96
  28. package/out/main/ai-answer-stream.js.map +0 -1
  29. package/out/main/ai-api-key.js +0 -95
  30. package/out/main/ai-api-key.js.map +0 -1
  31. package/out/main/ai-claude-policy.js +0 -141
  32. package/out/main/ai-claude-policy.js.map +0 -1
  33. package/out/main/ai-codex-api.js +0 -611
  34. package/out/main/ai-codex-api.js.map +0 -1
  35. package/out/main/ai-discovery.js +0 -61
  36. package/out/main/ai-discovery.js.map +0 -1
  37. package/out/main/ai-ipc.js +0 -175
  38. package/out/main/ai-ipc.js.map +0 -1
  39. package/out/main/ai-logs.js +0 -53
  40. package/out/main/ai-logs.js.map +0 -1
  41. package/out/main/ai-models.js +0 -94
  42. package/out/main/ai-models.js.map +0 -1
  43. package/out/main/ai-pi-models.js +0 -73
  44. package/out/main/ai-pi-models.js.map +0 -1
  45. package/out/main/ai-pi.js +0 -411
  46. package/out/main/ai-pi.js.map +0 -1
  47. package/out/main/ai-references.js +0 -20
  48. package/out/main/ai-references.js.map +0 -1
  49. package/out/main/ai-resources.js +0 -364
  50. package/out/main/ai-resources.js.map +0 -1
  51. package/out/main/ai.js +0 -688
  52. package/out/main/ai.js.map +0 -1
  53. package/out/main/cluster-icons-catalog.js +0 -28
  54. package/out/main/cluster-icons-catalog.js.map +0 -1
  55. package/out/main/cluster-icons.js +0 -125
  56. package/out/main/cluster-icons.js.map +0 -1
  57. package/out/main/dashboard-ai.js +0 -29
  58. package/out/main/dashboard-ai.js.map +0 -1
  59. package/out/main/dashboard-catalog.js +0 -29
  60. package/out/main/dashboard-catalog.js.map +0 -1
  61. package/out/main/dashboard-icon-cache.js +0 -63
  62. package/out/main/dashboard-icon-cache.js.map +0 -1
  63. package/out/main/dashboard-network.js +0 -104
  64. package/out/main/dashboard-network.js.map +0 -1
  65. package/out/main/dashboard-picker.js +0 -133
  66. package/out/main/dashboard-picker.js.map +0 -1
  67. package/out/main/dashboard-preload.js.map +0 -1
  68. package/out/main/dashboard-views.js +0 -902
  69. package/out/main/dashboard-views.js.map +0 -1
  70. package/out/main/diagnostics-menu-order.js +0 -57
  71. package/out/main/diagnostics-menu-order.js.map +0 -1
  72. package/out/main/dock-icon.js +0 -121
  73. package/out/main/dock-icon.js.map +0 -1
  74. package/out/main/extension-updates.js +0 -151
  75. package/out/main/extension-updates.js.map +0 -1
  76. package/out/main/helm-installed-chart.js +0 -141
  77. package/out/main/helm-installed-chart.js.map +0 -1
  78. package/out/main/helm-ipc.js +0 -748
  79. package/out/main/helm-ipc.js.map +0 -1
  80. package/out/main/helm-values.js +0 -45
  81. package/out/main/helm-values.js.map +0 -1
  82. package/out/main/helm.js +0 -283
  83. package/out/main/helm.js.map +0 -1
  84. package/out/main/index.js +0 -100
  85. package/out/main/index.js.map +0 -1
  86. package/out/main/monitoring-history-database.js +0 -103
  87. package/out/main/monitoring-history-database.js.map +0 -1
  88. package/out/main/monitoring-history-worker.js +0 -61
  89. package/out/main/monitoring-history-worker.js.map +0 -1
  90. package/out/main/monitoring-history.js +0 -110
  91. package/out/main/monitoring-history.js.map +0 -1
  92. package/out/main/node-bulk.js +0 -260
  93. package/out/main/node-bulk.js.map +0 -1
  94. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js +0 -99
  95. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js.map +0 -1
  96. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js +0 -32
  97. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js.map +0 -1
  98. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js +0 -242
  99. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js.map +0 -1
  100. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js +0 -154
  101. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js.map +0 -1
  102. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js +0 -60
  103. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js.map +0 -1
  104. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js +0 -346
  105. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js.map +0 -1
  106. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js +0 -479
  107. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js.map +0 -1
  108. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js +0 -508
  109. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js.map +0 -1
  110. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js +0 -127
  111. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js.map +0 -1
  112. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js +0 -50
  113. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js.map +0 -1
  114. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js +0 -201
  115. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js.map +0 -1
  116. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js +0 -401
  117. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js.map +0 -1
  118. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js +0 -1007
  119. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js.map +0 -1
  120. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js +0 -23
  121. package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js.map +0 -1
  122. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js +0 -69
  123. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js.map +0 -1
  124. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js +0 -56
  125. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js.map +0 -1
  126. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js +0 -105
  127. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js.map +0 -1
  128. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js +0 -73
  129. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js.map +0 -1
  130. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js +0 -214
  131. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js.map +0 -1
  132. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js +0 -100
  133. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js.map +0 -1
  134. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -187
  135. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js.map +0 -1
  136. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -55
  137. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js.map +0 -1
  138. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js +0 -47
  139. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js.map +0 -1
  140. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -173
  141. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js.map +0 -1
  142. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -218
  143. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js.map +0 -1
  144. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js +0 -116
  145. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js.map +0 -1
  146. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js +0 -38
  147. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js.map +0 -1
  148. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -36
  149. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js.map +0 -1
  150. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -23
  151. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js.map +0 -1
  152. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js +0 -23
  153. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js.map +0 -1
  154. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js +0 -302
  155. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js.map +0 -1
  156. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js +0 -79
  157. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js.map +0 -1
  158. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js +0 -49
  159. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js.map +0 -1
  160. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js +0 -76
  161. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js.map +0 -1
  162. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js +0 -177
  163. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js.map +0 -1
  164. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js +0 -62
  165. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js.map +0 -1
  166. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js +0 -74
  167. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js.map +0 -1
  168. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js +0 -23
  169. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js.map +0 -1
  170. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js +0 -111
  171. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js.map +0 -1
  172. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js +0 -134
  173. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js.map +0 -1
  174. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js +0 -47
  175. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js.map +0 -1
  176. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js +0 -47
  177. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js.map +0 -1
  178. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js +0 -40
  179. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js.map +0 -1
  180. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js +0 -125
  181. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js.map +0 -1
  182. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -122
  183. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js.map +0 -1
  184. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -66
  185. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js.map +0 -1
  186. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js +0 -59
  187. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js.map +0 -1
  188. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js +0 -48
  189. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js.map +0 -1
  190. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js +0 -281
  191. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js.map +0 -1
  192. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js +0 -60
  193. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js.map +0 -1
  194. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js +0 -100
  195. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js.map +0 -1
  196. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js +0 -92
  197. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js.map +0 -1
  198. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js +0 -542
  199. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js.map +0 -1
  200. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js +0 -56
  201. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js.map +0 -1
  202. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js +0 -875
  203. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js.map +0 -1
  204. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js +0 -104
  205. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js.map +0 -1
  206. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js +0 -43
  207. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js.map +0 -1
  208. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js +0 -29
  209. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js.map +0 -1
  210. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js +0 -26
  211. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js.map +0 -1
  212. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js +0 -29
  213. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js.map +0 -1
  214. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js +0 -26
  215. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js.map +0 -1
  216. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js +0 -30
  217. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js.map +0 -1
  218. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js +0 -53
  219. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js.map +0 -1
  220. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js +0 -52
  221. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js.map +0 -1
  222. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js +0 -41
  223. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js.map +0 -1
  224. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js +0 -75
  225. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js.map +0 -1
  226. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js +0 -110
  227. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js.map +0 -1
  228. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -68
  229. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js.map +0 -1
  230. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -38
  231. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js.map +0 -1
  232. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -56
  233. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js.map +0 -1
  234. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -86
  235. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js.map +0 -1
  236. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -55
  237. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js.map +0 -1
  238. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -78
  239. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js.map +0 -1
  240. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -74
  241. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js.map +0 -1
  242. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -63
  243. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js.map +0 -1
  244. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -81
  245. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js.map +0 -1
  246. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -94
  247. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js.map +0 -1
  248. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -125
  249. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js.map +0 -1
  250. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js +0 -122
  251. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js.map +0 -1
  252. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -131
  253. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js.map +0 -1
  254. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js +0 -29
  255. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js.map +0 -1
  256. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -74
  257. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js.map +0 -1
  258. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -30
  259. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js.map +0 -1
  260. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js +0 -111
  261. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js.map +0 -1
  262. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js +0 -236
  263. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js.map +0 -1
  264. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js +0 -201
  265. package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js.map +0 -1
  266. package/out/main/package.js +0 -6
  267. package/out/main/package.js.map +0 -1
  268. package/out/main/power-logs-budget.js +0 -126
  269. package/out/main/power-logs-budget.js.map +0 -1
  270. package/out/main/power-logs-child.js.map +0 -1
  271. package/out/main/power-logs-ipc.js +0 -324
  272. package/out/main/power-logs-ipc.js.map +0 -1
  273. package/out/main/power-logs-query-child.js +0 -23
  274. package/out/main/power-logs-query-child.js.map +0 -1
  275. package/out/main/power-logs-worker.js +0 -237
  276. package/out/main/power-logs-worker.js.map +0 -1
  277. package/out/main/resource-search-database.js +0 -215
  278. package/out/main/resource-search-database.js.map +0 -1
  279. package/out/main/resource-search-worker.js +0 -60
  280. package/out/main/resource-search-worker.js.map +0 -1
  281. package/out/main/resource-search.js +0 -156
  282. package/out/main/resource-search.js.map +0 -1
  283. package/out/main/settings-export.js +0 -68
  284. package/out/main/settings-export.js.map +0 -1
  285. package/out/main/settings-import.js +0 -89
  286. package/out/main/settings-import.js.map +0 -1
  287. package/out/main/splash-accent.js +0 -84
  288. package/out/main/splash-accent.js.map +0 -1
  289. package/out/main/src/common/ai-attachments.js +0 -36
  290. package/out/main/src/common/ai-attachments.js.map +0 -1
  291. package/out/main/src/common/ai-extras.js +0 -68
  292. package/out/main/src/common/ai-extras.js.map +0 -1
  293. package/out/main/src/common/ai-models.js +0 -81
  294. package/out/main/src/common/ai-models.js.map +0 -1
  295. package/out/main/src/common/ai-prompts.js +0 -46
  296. package/out/main/src/common/ai-prompts.js.map +0 -1
  297. package/out/main/src/common/ai-resource-payload.js +0 -308
  298. package/out/main/src/common/ai-resource-payload.js.map +0 -1
  299. package/out/main/src/common/ai-shortcuts.js +0 -69
  300. package/out/main/src/common/ai-shortcuts.js.map +0 -1
  301. package/out/main/src/common/ai-terminal-context.js +0 -72
  302. package/out/main/src/common/ai-terminal-context.js.map +0 -1
  303. package/out/main/src/common/ai.js +0 -18
  304. package/out/main/src/common/ai.js.map +0 -1
  305. package/out/main/src/common/cluster-icon-ipc.js +0 -6
  306. package/out/main/src/common/cluster-icon-ipc.js.map +0 -1
  307. package/out/main/src/common/cluster-icons.js +0 -121
  308. package/out/main/src/common/cluster-icons.js.map +0 -1
  309. package/out/main/src/common/dashboard-ai.js +0 -64
  310. package/out/main/src/common/dashboard-ai.js.map +0 -1
  311. package/out/main/src/common/dashboard-picker.js +0 -133
  312. package/out/main/src/common/dashboard-picker.js.map +0 -1
  313. package/out/main/src/common/dashboard-readiness.js +0 -58
  314. package/out/main/src/common/dashboard-readiness.js.map +0 -1
  315. package/out/main/src/common/dashboard-selector.js +0 -124
  316. package/out/main/src/common/dashboard-selector.js.map +0 -1
  317. package/out/main/src/common/dashboard-views.js +0 -12
  318. package/out/main/src/common/dashboard-views.js.map +0 -1
  319. package/out/main/src/common/dashboard.js +0 -39
  320. package/out/main/src/common/dashboard.js.map +0 -1
  321. package/out/main/src/common/extension-info.js +0 -8
  322. package/out/main/src/common/extension-info.js.map +0 -1
  323. package/out/main/src/common/extension-updates.js +0 -13
  324. package/out/main/src/common/extension-updates.js.map +0 -1
  325. package/out/main/src/common/helm-values-validation.js +0 -56
  326. package/out/main/src/common/helm-values-validation.js.map +0 -1
  327. package/out/main/src/common/helm.js +0 -8
  328. package/out/main/src/common/helm.js.map +0 -1
  329. package/out/main/src/common/monitoring-history.js +0 -52
  330. package/out/main/src/common/monitoring-history.js.map +0 -1
  331. package/out/main/src/common/node-bulk.js +0 -6
  332. package/out/main/src/common/node-bulk.js.map +0 -1
  333. package/out/main/src/common/power-logs-limits.js +0 -227
  334. package/out/main/src/common/power-logs.js +0 -38
  335. package/out/main/src/common/resource-search-kind-priority.js +0 -23
  336. package/out/main/src/common/resource-search-kind-priority.js.map +0 -1
  337. package/out/main/src/common/resource-search.js +0 -61
  338. package/out/main/src/common/resource-search.js.map +0 -1
  339. package/out/main/src/common/settings-export.js +0 -83
  340. package/out/main/src/common/settings-export.js.map +0 -1
  341. package/out/main/src/common/store/ai-preferences-store.js +0 -143
  342. package/out/main/src/common/store/ai-preferences-store.js.map +0 -1
  343. package/out/main/src/common/store/ai-shortcuts-store.js +0 -40
  344. package/out/main/src/common/store/ai-shortcuts-store.js.map +0 -1
  345. package/out/main/src/common/store/appearance-preferences-store.js +0 -99
  346. package/out/main/src/common/store/appearance-preferences-store.js.map +0 -1
  347. package/out/main/src/common/store/cluster-icons-store.js +0 -32
  348. package/out/main/src/common/store/cluster-icons-store.js.map +0 -1
  349. package/out/main/src/common/store/dashboard-preferences-store.js +0 -56
  350. package/out/main/src/common/store/dashboard-preferences-store.js.map +0 -1
  351. package/out/main/src/common/store/helm-preferences-store.js +0 -26
  352. package/out/main/src/common/store/helm-preferences-store.js.map +0 -1
  353. package/out/main/src/common/store/logs-preferences-store.js +0 -50
  354. package/out/main/src/common/store/logs-preferences-store.js.map +0 -1
  355. package/out/main/src/common/store/monitoring-preferences-store.js +0 -69
  356. package/out/main/src/common/store/monitoring-preferences-store.js.map +0 -1
  357. package/out/main/src/common/store/node-shell-preferences-store.js +0 -44
  358. package/out/main/src/common/store/node-shell-preferences-store.js.map +0 -1
  359. package/out/main/src/common/store/power-preferences-store.js +0 -39
  360. package/out/main/src/common/store/power-preferences-store.js.map +0 -1
  361. package/out/main/src/common/store/read-only-preferences-store.js +0 -26
  362. package/out/main/src/common/store/read-only-preferences-store.js.map +0 -1
  363. package/out/renderer/_virtual/_global-external_@freelensapp/extensions.js +0 -9
  364. package/out/renderer/_virtual/_global-external_mobx-react.js +0 -20
  365. package/out/renderer/_virtual/_global-external_mobx.js +0 -80
  366. package/out/renderer/_virtual/_global-external_react/jsx-runtime.js +0 -10
  367. package/out/renderer/_virtual/_global-external_react-dom.js +0 -18
  368. package/out/renderer/_virtual/_global-external_react.js +0 -46
  369. package/out/renderer/_virtual/_rolldown/runtime.js +0 -35
  370. package/out/renderer/ai-attachment-card.js +0 -92
  371. package/out/renderer/ai-attachment-card.js.map +0 -1
  372. package/out/renderer/ai-context-mutations.js +0 -14
  373. package/out/renderer/ai-context-mutations.js.map +0 -1
  374. package/out/renderer/ai-copy-answer.js +0 -38
  375. package/out/renderer/ai-copy-answer.js.map +0 -1
  376. package/out/renderer/ai-diagnostic-handoff.js +0 -55
  377. package/out/renderer/ai-diagnostic-handoff.js.map +0 -1
  378. package/out/renderer/ai-extras.js +0 -165
  379. package/out/renderer/ai-extras.js.map +0 -1
  380. package/out/renderer/ai-icon.js +0 -46
  381. package/out/renderer/ai-icon.js.map +0 -1
  382. package/out/renderer/ai-logs-sql.js +0 -28
  383. package/out/renderer/ai-logs-sql.js.map +0 -1
  384. package/out/renderer/ai-message.js +0 -298
  385. package/out/renderer/ai-message.js.map +0 -1
  386. package/out/renderer/ai-provider-icon.js +0 -89
  387. package/out/renderer/ai-provider-icon.js.map +0 -1
  388. package/out/renderer/ai-resize.js +0 -90
  389. package/out/renderer/ai-resize.js.map +0 -1
  390. package/out/renderer/ai-shortcuts.js +0 -42
  391. package/out/renderer/ai-shortcuts.js.map +0 -1
  392. package/out/renderer/ai-terminal-context.js +0 -183
  393. package/out/renderer/ai-terminal-context.js.map +0 -1
  394. package/out/renderer/ai.js +0 -1313
  395. package/out/renderer/ai.js.map +0 -1
  396. package/out/renderer/appearance.js +0 -95
  397. package/out/renderer/appearance.js.map +0 -1
  398. package/out/renderer/assets/claude.js +0 -6
  399. package/out/renderer/assets/claude.js.map +0 -1
  400. package/out/renderer/assets/openai.js +0 -6
  401. package/out/renderer/assets/openai.js.map +0 -1
  402. package/out/renderer/assets/pi.js +0 -6
  403. package/out/renderer/assets/pi.js.map +0 -1
  404. package/out/renderer/button-styles.js +0 -49
  405. package/out/renderer/button-styles.js.map +0 -1
  406. package/out/renderer/cluster-icon-colors.js +0 -191
  407. package/out/renderer/cluster-icon-colors.js.map +0 -1
  408. package/out/renderer/cluster-icons.js +0 -311
  409. package/out/renderer/cluster-icons.js.map +0 -1
  410. package/out/renderer/dashboard.js +0 -591
  411. package/out/renderer/dashboard.js.map +0 -1
  412. package/out/renderer/details/hpa-diagnostics-details.js +0 -46
  413. package/out/renderer/details/hpa-diagnostics-details.js.map +0 -1
  414. package/out/renderer/details/namespace-health-details.js +0 -91
  415. package/out/renderer/details/namespace-health-details.js.map +0 -1
  416. package/out/renderer/details/resource-health-details.js +0 -135
  417. package/out/renderer/details/resource-health-details.js.map +0 -1
  418. package/out/renderer/details/secret-certificate-details.js +0 -68
  419. package/out/renderer/details/secret-certificate-details.js.map +0 -1
  420. package/out/renderer/details/service-diagnostics-details.js +0 -165
  421. package/out/renderer/details/service-diagnostics-details.js.map +0 -1
  422. package/out/renderer/diagnostic-explain-button.js +0 -19
  423. package/out/renderer/diagnostic-explain-button.js.map +0 -1
  424. package/out/renderer/diagnostics-screen-finding.js +0 -52
  425. package/out/renderer/diagnostics-screen-finding.js.map +0 -1
  426. package/out/renderer/diagnostics-state.js +0 -90
  427. package/out/renderer/diagnostics-state.js.map +0 -1
  428. package/out/renderer/diagnostics.css.js +0 -61
  429. package/out/renderer/diagnostics.css.js.map +0 -1
  430. package/out/renderer/diagnostics.js +0 -1740
  431. package/out/renderer/diagnostics.js.map +0 -1
  432. package/out/renderer/extension-update-notifications.js +0 -221
  433. package/out/renderer/extension-update-notifications.js.map +0 -1
  434. package/out/renderer/extension-update.js +0 -189
  435. package/out/renderer/extension-update.js.map +0 -1
  436. package/out/renderer/floating-action-transitions.js +0 -139
  437. package/out/renderer/floating-action-transitions.js.map +0 -1
  438. package/out/renderer/gateway-relationships-client.js +0 -107
  439. package/out/renderer/gateway-relationships-client.js.map +0 -1
  440. package/out/renderer/helm-app-version.js +0 -141
  441. package/out/renderer/helm-app-version.js.map +0 -1
  442. package/out/renderer/helm-code-view.js +0 -727
  443. package/out/renderer/helm-code-view.js.map +0 -1
  444. package/out/renderer/helm-entrypoints.js +0 -79
  445. package/out/renderer/helm-entrypoints.js.map +0 -1
  446. package/out/renderer/helm-full-comparison.js +0 -233
  447. package/out/renderer/helm-full-comparison.js.map +0 -1
  448. package/out/renderer/helm-operations.js +0 -541
  449. package/out/renderer/helm-operations.js.map +0 -1
  450. package/out/renderer/helm-release-actions.js +0 -296
  451. package/out/renderer/helm-release-actions.js.map +0 -1
  452. package/out/renderer/helm-revision-delete.js +0 -128
  453. package/out/renderer/helm-revision-delete.js.map +0 -1
  454. package/out/renderer/helm-version-index.js +0 -283
  455. package/out/renderer/helm-version-index.js.map +0 -1
  456. package/out/renderer/helm.js +0 -2383
  457. package/out/renderer/helm.js.map +0 -1
  458. package/out/renderer/host-extensions.js +0 -102
  459. package/out/renderer/host-extensions.js.map +0 -1
  460. package/out/renderer/host-layout.js +0 -59
  461. package/out/renderer/host-layout.js.map +0 -1
  462. package/out/renderer/host-preferences.js +0 -192
  463. package/out/renderer/host-preferences.js.map +0 -1
  464. package/out/renderer/incident-copy-button.js +0 -53
  465. package/out/renderer/incident-copy-button.js.map +0 -1
  466. package/out/renderer/index.js +0 -305
  467. package/out/renderer/index.js.map +0 -1
  468. package/out/renderer/menus/secure-node-shell-menu.js +0 -45
  469. package/out/renderer/menus/secure-node-shell-menu.js.map +0 -1
  470. package/out/renderer/monitoring-collector.js +0 -207
  471. package/out/renderer/monitoring-collector.js.map +0 -1
  472. package/out/renderer/monitoring-details-chart.js +0 -42
  473. package/out/renderer/monitoring-details-chart.js.map +0 -1
  474. package/out/renderer/monitoring-history-collection.js +0 -168
  475. package/out/renderer/monitoring-history-collection.js.map +0 -1
  476. package/out/renderer/monitoring-history-view.js +0 -227
  477. package/out/renderer/monitoring-history-view.js.map +0 -1
  478. package/out/renderer/monitoring-history.js +0 -19
  479. package/out/renderer/monitoring-history.js.map +0 -1
  480. package/out/renderer/monitoring.js +0 -939
  481. package/out/renderer/monitoring.js.map +0 -1
  482. package/out/renderer/native-resource-removals.js +0 -202
  483. package/out/renderer/native-resource-removals.js.map +0 -1
  484. package/out/renderer/native-tooltip.js +0 -22
  485. package/out/renderer/native-tooltip.js.map +0 -1
  486. package/out/renderer/node-bulk-actions.js +0 -527
  487. package/out/renderer/node-bulk-actions.js.map +0 -1
  488. package/out/renderer/node-bulk-selection.js +0 -203
  489. package/out/renderer/node-bulk-selection.js.map +0 -1
  490. package/out/renderer/node-monitoring.js +0 -127
  491. package/out/renderer/node-monitoring.js.map +0 -1
  492. package/out/renderer/node-shell-entrypoints.js +0 -65
  493. package/out/renderer/node-shell-entrypoints.js.map +0 -1
  494. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -10
  495. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
  496. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -8
  497. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +0 -1
  498. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -9
  499. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
  500. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -9
  501. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +0 -1
  502. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -8
  503. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +0 -1
  504. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
  505. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js.map +0 -1
  506. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
  507. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +0 -1
  508. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
  509. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
  510. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js +0 -19
  511. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
  512. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -15
  513. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +0 -1
  514. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
  515. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js.map +0 -1
  516. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -18
  517. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +0 -1
  518. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -8
  519. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
  520. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -26
  521. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +0 -1
  522. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -8
  523. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +0 -1
  524. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -8
  525. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
  526. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
  527. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +0 -1
  528. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
  529. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
  530. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
  531. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
  532. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -12
  533. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +0 -1
  534. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -15
  535. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
  536. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -12
  537. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +0 -1
  538. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
  539. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js.map +0 -1
  540. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -12
  541. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
  542. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -16
  543. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
  544. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -11
  545. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
  546. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -18
  547. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
  548. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -13
  549. package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
  550. package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -237
  551. package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js.map +0 -1
  552. package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -25
  553. package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
  554. package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -12
  555. package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
  556. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -58
  557. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js.map +0 -1
  558. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -54
  559. package/out/renderer/node_modules/.pnpm/@emotion_react@11.14.0_@types_react@17.0.93_react@17.0.2/node_modules/@emotion/react/dist/emotion-react.browser.esm.js.map +0 -1
  560. package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -133
  561. package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
  562. package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -65
  563. package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
  564. package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -54
  565. package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
  566. package/out/renderer/node_modules/.pnpm/@emotion_use-insertion-effect-with-fallbacks@1.2.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -12
  567. package/out/renderer/node_modules/.pnpm/@emotion_use-insertion-effect-with-fallbacks@1.2.0_react@17.0.2/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js.map +0 -1
  568. package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -30
  569. package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js.map +0 -1
  570. package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -211
  571. package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +0 -1
  572. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -97
  573. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +0 -1
  574. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -31
  575. package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +0 -1
  576. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js +0 -45
  577. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js.map +0 -1
  578. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js +0 -392
  579. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js.map +0 -1
  580. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js +0 -7
  581. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js.map +0 -1
  582. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js +0 -27
  583. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js.map +0 -1
  584. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js +0 -21
  585. package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js.map +0 -1
  586. package/out/renderer/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -93
  587. package/out/renderer/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js.map +0 -1
  588. package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js +0 -534
  589. package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js.map +0 -1
  590. package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js +0 -3774
  591. package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
  592. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js +0 -25
  593. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js.map +0 -1
  594. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js +0 -74
  595. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js.map +0 -1
  596. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js +0 -57
  597. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js.map +0 -1
  598. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js +0 -18
  599. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js.map +0 -1
  600. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js +0 -175
  601. package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js.map +0 -1
  602. package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js +0 -38
  603. package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js.map +0 -1
  604. package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -307
  605. package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +0 -1
  606. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -159
  607. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js.map +0 -1
  608. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -103
  609. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
  610. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -18
  611. package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js.map +0 -1
  612. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/Select-ef7c0426.esm.js +0 -2200
  613. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/Select-ef7c0426.esm.js.map +0 -1
  614. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/index-641ee5b8.esm.js +0 -992
  615. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/index-641ee5b8.esm.js.map +0 -1
  616. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/react-select.esm.js +0 -14
  617. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/react-select.esm.js.map +0 -1
  618. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js +0 -56
  619. package/out/renderer/node_modules/.pnpm/react-select@5.10.2_@types_react@17.0.93_react-dom@17.0.2_react@17.0.2__react@17.0.2/node_modules/react-select/dist/useStateManager-7e1e8489.esm.js.map +0 -1
  620. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js +0 -22
  621. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js.map +0 -1
  622. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js +0 -30
  623. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js.map +0 -1
  624. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js +0 -164
  625. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js.map +0 -1
  626. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js +0 -37
  627. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js.map +0 -1
  628. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js +0 -245
  629. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js.map +0 -1
  630. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js +0 -120
  631. package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js.map +0 -1
  632. package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js +0 -30
  633. package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js.map +0 -1
  634. package/out/renderer/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@17.0.93_react@17.0.2/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -6
  635. package/out/renderer/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@17.0.93_react@17.0.2/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js.map +0 -1
  636. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -52
  637. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js.map +0 -1
  638. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -41
  639. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js.map +0 -1
  640. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js +0 -88
  641. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js.map +0 -1
  642. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -59
  643. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js.map +0 -1
  644. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js +0 -195
  645. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js.map +0 -1
  646. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -84
  647. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js.map +0 -1
  648. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -176
  649. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js.map +0 -1
  650. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -42
  651. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js.map +0 -1
  652. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -38
  653. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js.map +0 -1
  654. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -155
  655. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js.map +0 -1
  656. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -206
  657. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js.map +0 -1
  658. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -107
  659. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js.map +0 -1
  660. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -29
  661. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js.map +0 -1
  662. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -27
  663. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js.map +0 -1
  664. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -12
  665. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js.map +0 -1
  666. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -12
  667. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js.map +0 -1
  668. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js +0 -279
  669. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js.map +0 -1
  670. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js +0 -67
  671. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js.map +0 -1
  672. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -40
  673. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js.map +0 -1
  674. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js +0 -63
  675. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js.map +0 -1
  676. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js +0 -165
  677. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js.map +0 -1
  678. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js +0 -53
  679. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js.map +0 -1
  680. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/index.js +0 -24
  681. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js +0 -8
  682. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js.map +0 -1
  683. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js +0 -96
  684. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js.map +0 -1
  685. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js +0 -121
  686. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js.map +0 -1
  687. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js +0 -34
  688. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js.map +0 -1
  689. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js +0 -32
  690. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js.map +0 -1
  691. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -27
  692. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js.map +0 -1
  693. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -109
  694. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js.map +0 -1
  695. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -106
  696. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js.map +0 -1
  697. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -51
  698. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js.map +0 -1
  699. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js +0 -50
  700. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js.map +0 -1
  701. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
  702. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js.map +0 -1
  703. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -3
  704. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -91
  705. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js.map +0 -1
  706. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js +0 -42
  707. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js.map +0 -1
  708. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js +0 -531
  709. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js.map +0 -1
  710. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js +0 -47
  711. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js.map +0 -1
  712. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js +0 -861
  713. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js.map +0 -1
  714. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js +0 -56
  715. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js.map +0 -1
  716. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js +0 -29
  717. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js.map +0 -1
  718. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js +0 -18
  719. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js.map +0 -1
  720. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
  721. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js.map +0 -1
  722. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js +0 -18
  723. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js.map +0 -1
  724. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js +0 -16
  725. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js.map +0 -1
  726. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
  727. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js.map +0 -1
  728. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js +0 -42
  729. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js.map +0 -1
  730. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js +0 -41
  731. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js.map +0 -1
  732. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js +0 -25
  733. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js.map +0 -1
  734. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js +0 -63
  735. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js.map +0 -1
  736. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js +0 -84
  737. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js.map +0 -1
  738. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -54
  739. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js.map +0 -1
  740. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -27
  741. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js.map +0 -1
  742. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -45
  743. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js.map +0 -1
  744. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -75
  745. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js.map +0 -1
  746. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -43
  747. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js.map +0 -1
  748. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -63
  749. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js.map +0 -1
  750. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -60
  751. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js.map +0 -1
  752. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -41
  753. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js.map +0 -1
  754. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -68
  755. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js.map +0 -1
  756. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -83
  757. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js.map +0 -1
  758. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -116
  759. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js.map +0 -1
  760. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js +0 -108
  761. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js.map +0 -1
  762. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -118
  763. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js.map +0 -1
  764. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
  765. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js.map +0 -1
  766. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -61
  767. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js.map +0 -1
  768. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -21
  769. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js.map +0 -1
  770. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -97
  771. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js.map +0 -1
  772. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -224
  773. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js.map +0 -1
  774. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js +0 -190
  775. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js.map +0 -1
  776. package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/index.js +0 -24
  777. package/out/renderer/package.js +0 -6
  778. package/out/renderer/package.js.map +0 -1
  779. package/out/renderer/pod-bulk-customization.js +0 -51
  780. package/out/renderer/pod-bulk-customization.js.map +0 -1
  781. package/out/renderer/pod-details-enhancements.js +0 -107
  782. package/out/renderer/pod-details-enhancements.js.map +0 -1
  783. package/out/renderer/pod-monitoring.js +0 -309
  784. package/out/renderer/pod-monitoring.js.map +0 -1
  785. package/out/renderer/pod-removal-confirmation.js +0 -172
  786. package/out/renderer/pod-removal-confirmation.js.map +0 -1
  787. package/out/renderer/power-log-column-widths.js +0 -54
  788. package/out/renderer/power-log-column-widths.js.map +0 -1
  789. package/out/renderer/power-log-columns.js +0 -114
  790. package/out/renderer/power-log-columns.js.map +0 -1
  791. package/out/renderer/power-log-json-cell.js +0 -88
  792. package/out/renderer/power-log-json-cell.js.map +0 -1
  793. package/out/renderer/power-log-json-fields.js +0 -144
  794. package/out/renderer/power-log-json-fields.js.map +0 -1
  795. package/out/renderer/power-log-json.js +0 -261
  796. package/out/renderer/power-log-json.js.map +0 -1
  797. package/out/renderer/power-log-message-tokens.js +0 -60
  798. package/out/renderer/power-log-message-tokens.js.map +0 -1
  799. package/out/renderer/power-log-message.js +0 -26
  800. package/out/renderer/power-log-message.js.map +0 -1
  801. package/out/renderer/power-log-sql-editor.js +0 -120
  802. package/out/renderer/power-log-sql-editor.js.map +0 -1
  803. package/out/renderer/power-logs-client.js +0 -44
  804. package/out/renderer/power-logs-client.js.map +0 -1
  805. package/out/renderer/power-logs-collector.js +0 -316
  806. package/out/renderer/power-logs-collector.js.map +0 -1
  807. package/out/renderer/power-logs-context.js +0 -45
  808. package/out/renderer/power-logs-context.js.map +0 -1
  809. package/out/renderer/power-logs-entrypoints.js +0 -178
  810. package/out/renderer/power-logs-entrypoints.js.map +0 -1
  811. package/out/renderer/power-logs-resource-stores.js +0 -71
  812. package/out/renderer/power-logs-resource-stores.js.map +0 -1
  813. package/out/renderer/power-logs-session.js +0 -35
  814. package/out/renderer/power-logs-session.js.map +0 -1
  815. package/out/renderer/power-logs-sql-drafts.js +0 -76
  816. package/out/renderer/power-logs-sql-drafts.js.map +0 -1
  817. package/out/renderer/power-logs-sql-row.js +0 -44
  818. package/out/renderer/power-logs-sql-row.js.map +0 -1
  819. package/out/renderer/power-logs-storage.js +0 -11
  820. package/out/renderer/power-logs-storage.js.map +0 -1
  821. package/out/renderer/power-logs-transport.js +0 -122
  822. package/out/renderer/power-logs-transport.js.map +0 -1
  823. package/out/renderer/power-logs.css.js +0 -216
  824. package/out/renderer/power-logs.css.js.map +0 -1
  825. package/out/renderer/power-logs.js +0 -2143
  826. package/out/renderer/power-logs.js.map +0 -1
  827. package/out/renderer/preferences/ai-preferences.js +0 -458
  828. package/out/renderer/preferences/ai-preferences.js.map +0 -1
  829. package/out/renderer/preferences/ai-shortcuts-preferences.js +0 -175
  830. package/out/renderer/preferences/ai-shortcuts-preferences.js.map +0 -1
  831. package/out/renderer/preferences/appearance-preferences.js +0 -97
  832. package/out/renderer/preferences/appearance-preferences.js.map +0 -1
  833. package/out/renderer/preferences/dashboard-preferences.js +0 -430
  834. package/out/renderer/preferences/dashboard-preferences.js.map +0 -1
  835. package/out/renderer/preferences/helm-preferences.js +0 -22
  836. package/out/renderer/preferences/helm-preferences.js.map +0 -1
  837. package/out/renderer/preferences/logs-preferences.js +0 -328
  838. package/out/renderer/preferences/logs-preferences.js.map +0 -1
  839. package/out/renderer/preferences/monitoring-preferences.js +0 -175
  840. package/out/renderer/preferences/monitoring-preferences.js.map +0 -1
  841. package/out/renderer/preferences/node-shell-preferences.js +0 -83
  842. package/out/renderer/preferences/node-shell-preferences.js.map +0 -1
  843. package/out/renderer/preferences/other-preferences.js +0 -55
  844. package/out/renderer/preferences/other-preferences.js.map +0 -1
  845. package/out/renderer/preferences/power-preferences.js +0 -39
  846. package/out/renderer/preferences/power-preferences.js.map +0 -1
  847. package/out/renderer/preferences/preferences.js +0 -294
  848. package/out/renderer/preferences/preferences.js.map +0 -1
  849. package/out/renderer/preferences/read-only-preferences.js +0 -23
  850. package/out/renderer/preferences/read-only-preferences.js.map +0 -1
  851. package/out/renderer/preferences/section-navigation.js +0 -44
  852. package/out/renderer/preferences/section-navigation.js.map +0 -1
  853. package/out/renderer/preferences/settings-export.js +0 -91
  854. package/out/renderer/preferences/settings-export.js.map +0 -1
  855. package/out/renderer/preferences/settings-icon-action.js +0 -24
  856. package/out/renderer/preferences/settings-icon-action.js.map +0 -1
  857. package/out/renderer/preferences/settings-modal.js +0 -82
  858. package/out/renderer/preferences/settings-modal.js.map +0 -1
  859. package/out/renderer/read-only.js +0 -103
  860. package/out/renderer/read-only.js.map +0 -1
  861. package/out/renderer/relationship-map-finding.js +0 -54
  862. package/out/renderer/relationship-map-finding.js.map +0 -1
  863. package/out/renderer/resource-relationships.css.js +0 -17
  864. package/out/renderer/resource-relationships.css.js.map +0 -1
  865. package/out/renderer/resource-relationships.js +0 -663
  866. package/out/renderer/resource-relationships.js.map +0 -1
  867. package/out/renderer/resource-search-client.js +0 -116
  868. package/out/renderer/resource-search-client.js.map +0 -1
  869. package/out/renderer/resource-search-discovery.js +0 -79
  870. package/out/renderer/resource-search-discovery.js.map +0 -1
  871. package/out/renderer/resource-search-distance.js +0 -24
  872. package/out/renderer/resource-search-distance.js.map +0 -1
  873. package/out/renderer/resource-search-fields.js +0 -55
  874. package/out/renderer/resource-search-fields.js.map +0 -1
  875. package/out/renderer/resource-search-model.js +0 -195
  876. package/out/renderer/resource-search-model.js.map +0 -1
  877. package/out/renderer/resource-search-routing.js +0 -78
  878. package/out/renderer/resource-search-routing.js.map +0 -1
  879. package/out/renderer/resource-search-sync.js +0 -199
  880. package/out/renderer/resource-search-sync.js.map +0 -1
  881. package/out/renderer/resource-search.js +0 -646
  882. package/out/renderer/resource-search.js.map +0 -1
  883. package/out/renderer/secret-dialog-customization.js +0 -142
  884. package/out/renderer/secret-dialog-customization.js.map +0 -1
  885. package/out/renderer/src/common/ai-attachments.js +0 -160
  886. package/out/renderer/src/common/ai-attachments.js.map +0 -1
  887. package/out/renderer/src/common/ai-extras.js +0 -68
  888. package/out/renderer/src/common/ai-extras.js.map +0 -1
  889. package/out/renderer/src/common/ai-models.js +0 -64
  890. package/out/renderer/src/common/ai-models.js.map +0 -1
  891. package/out/renderer/src/common/ai-prompts.js +0 -46
  892. package/out/renderer/src/common/ai-prompts.js.map +0 -1
  893. package/out/renderer/src/common/ai-resource-payload.js +0 -262
  894. package/out/renderer/src/common/ai-resource-payload.js.map +0 -1
  895. package/out/renderer/src/common/ai-shortcuts.js +0 -78
  896. package/out/renderer/src/common/ai-shortcuts.js.map +0 -1
  897. package/out/renderer/src/common/ai-terminal-context.js +0 -72
  898. package/out/renderer/src/common/ai-terminal-context.js.map +0 -1
  899. package/out/renderer/src/common/ai.js +0 -14
  900. package/out/renderer/src/common/ai.js.map +0 -1
  901. package/out/renderer/src/common/cluster-icon-ipc.js +0 -6
  902. package/out/renderer/src/common/cluster-icon-ipc.js.map +0 -1
  903. package/out/renderer/src/common/cluster-icons.js +0 -133
  904. package/out/renderer/src/common/cluster-icons.js.map +0 -1
  905. package/out/renderer/src/common/dashboard-ai.js +0 -22
  906. package/out/renderer/src/common/dashboard-ai.js.map +0 -1
  907. package/out/renderer/src/common/dashboard-picker.js +0 -6
  908. package/out/renderer/src/common/dashboard-picker.js.map +0 -1
  909. package/out/renderer/src/common/dashboard-selector.js +0 -9
  910. package/out/renderer/src/common/dashboard-selector.js.map +0 -1
  911. package/out/renderer/src/common/dashboard-views.js +0 -18
  912. package/out/renderer/src/common/dashboard-views.js.map +0 -1
  913. package/out/renderer/src/common/dashboard.js +0 -39
  914. package/out/renderer/src/common/dashboard.js.map +0 -1
  915. package/out/renderer/src/common/date-time.js +0 -11
  916. package/out/renderer/src/common/date-time.js.map +0 -1
  917. package/out/renderer/src/common/extension-info.js +0 -8
  918. package/out/renderer/src/common/extension-info.js.map +0 -1
  919. package/out/renderer/src/common/extension-updates.js +0 -33
  920. package/out/renderer/src/common/extension-updates.js.map +0 -1
  921. package/out/renderer/src/common/gateway-relationships.js +0 -123
  922. package/out/renderer/src/common/gateway-relationships.js.map +0 -1
  923. package/out/renderer/src/common/helm-diff.js +0 -312
  924. package/out/renderer/src/common/helm-diff.js.map +0 -1
  925. package/out/renderer/src/common/helm-values-validation.js +0 -59
  926. package/out/renderer/src/common/helm-values-validation.js.map +0 -1
  927. package/out/renderer/src/common/helm.js +0 -10
  928. package/out/renderer/src/common/helm.js.map +0 -1
  929. package/out/renderer/src/common/hpa-diagnostics.js +0 -24
  930. package/out/renderer/src/common/hpa-diagnostics.js.map +0 -1
  931. package/out/renderer/src/common/incident-summary.js +0 -73
  932. package/out/renderer/src/common/incident-summary.js.map +0 -1
  933. package/out/renderer/src/common/monitoring-history.js +0 -17
  934. package/out/renderer/src/common/monitoring-history.js.map +0 -1
  935. package/out/renderer/src/common/monitoring-math.js +0 -98
  936. package/out/renderer/src/common/monitoring-math.js.map +0 -1
  937. package/out/renderer/src/common/node-bulk.js +0 -6
  938. package/out/renderer/src/common/node-bulk.js.map +0 -1
  939. package/out/renderer/src/common/node-shell.js +0 -22
  940. package/out/renderer/src/common/node-shell.js.map +0 -1
  941. package/out/renderer/src/common/power-log-field-filters.js +0 -92
  942. package/out/renderer/src/common/power-log-field-filters.js.map +0 -1
  943. package/out/renderer/src/common/power-log-json-filter-sql.js +0 -118
  944. package/out/renderer/src/common/power-log-json-filter-sql.js.map +0 -1
  945. package/out/renderer/src/common/power-log-json-preset.js +0 -34
  946. package/out/renderer/src/common/power-log-json-preset.js.map +0 -1
  947. package/out/renderer/src/common/power-log-level.js +0 -172
  948. package/out/renderer/src/common/power-log-level.js.map +0 -1
  949. package/out/renderer/src/common/power-log-parser.js +0 -92
  950. package/out/renderer/src/common/power-log-parser.js.map +0 -1
  951. package/out/renderer/src/common/power-log-sql-level.js +0 -25
  952. package/out/renderer/src/common/power-log-sql-level.js.map +0 -1
  953. package/out/renderer/src/common/power-logs-ai.js +0 -60
  954. package/out/renderer/src/common/power-logs-ai.js.map +0 -1
  955. package/out/renderer/src/common/power-logs-limits.js.map +0 -1
  956. package/out/renderer/src/common/power-logs.js +0 -38
  957. package/out/renderer/src/common/power-logs.js.map +0 -1
  958. package/out/renderer/src/common/resource-diagnostics.js +0 -227
  959. package/out/renderer/src/common/resource-diagnostics.js.map +0 -1
  960. package/out/renderer/src/common/resource-health.js +0 -92
  961. package/out/renderer/src/common/resource-health.js.map +0 -1
  962. package/out/renderer/src/common/resource-relationships.js +0 -165
  963. package/out/renderer/src/common/resource-relationships.js.map +0 -1
  964. package/out/renderer/src/common/resource-search-kind-priority.js +0 -28
  965. package/out/renderer/src/common/resource-search-kind-priority.js.map +0 -1
  966. package/out/renderer/src/common/resource-search.js +0 -6
  967. package/out/renderer/src/common/resource-search.js.map +0 -1
  968. package/out/renderer/src/common/search-index-redaction.js +0 -26
  969. package/out/renderer/src/common/search-index-redaction.js.map +0 -1
  970. package/out/renderer/src/common/secret-certificates.js +0 -34
  971. package/out/renderer/src/common/secret-certificates.js.map +0 -1
  972. package/out/renderer/src/common/service-diagnostics.js +0 -50
  973. package/out/renderer/src/common/service-diagnostics.js.map +0 -1
  974. package/out/renderer/src/common/settings-export.js +0 -8
  975. package/out/renderer/src/common/settings-export.js.map +0 -1
  976. package/out/renderer/src/common/store/ai-preferences-store.js +0 -143
  977. package/out/renderer/src/common/store/ai-preferences-store.js.map +0 -1
  978. package/out/renderer/src/common/store/ai-shortcuts-store.js +0 -40
  979. package/out/renderer/src/common/store/ai-shortcuts-store.js.map +0 -1
  980. package/out/renderer/src/common/store/appearance-preferences-store.js +0 -99
  981. package/out/renderer/src/common/store/appearance-preferences-store.js.map +0 -1
  982. package/out/renderer/src/common/store/dashboard-preferences-store.js +0 -56
  983. package/out/renderer/src/common/store/dashboard-preferences-store.js.map +0 -1
  984. package/out/renderer/src/common/store/helm-preferences-store.js +0 -26
  985. package/out/renderer/src/common/store/helm-preferences-store.js.map +0 -1
  986. package/out/renderer/src/common/store/logs-preferences-store.js +0 -50
  987. package/out/renderer/src/common/store/logs-preferences-store.js.map +0 -1
  988. package/out/renderer/src/common/store/monitoring-preferences-store.js +0 -69
  989. package/out/renderer/src/common/store/monitoring-preferences-store.js.map +0 -1
  990. package/out/renderer/src/common/store/node-shell-preferences-store.js +0 -44
  991. package/out/renderer/src/common/store/node-shell-preferences-store.js.map +0 -1
  992. package/out/renderer/src/common/store/power-preferences-store.js +0 -39
  993. package/out/renderer/src/common/store/power-preferences-store.js.map +0 -1
  994. package/out/renderer/src/common/store/read-only-preferences-store.js +0 -26
  995. package/out/renderer/src/common/store/read-only-preferences-store.js.map +0 -1
  996. package/out/renderer/src/common/timeline-groups.js +0 -36
  997. package/out/renderer/src/common/timeline-groups.js.map +0 -1
  998. package/out/renderer/welcome.js +0 -147
  999. package/out/renderer/welcome.js.map +0 -1
@@ -1,98 +0,0 @@
1
- //#region src/common/monitoring-math.ts
2
- function effectivePodResource(pod, metric, kind) {
3
- const read = (resources) => {
4
- const raw = resources?.[kind]?.[metric];
5
- if (raw !== void 0) return parseQuantity(raw, metric === "memory");
6
- if (kind === "requests" && resources?.limits?.[metric] !== void 0) return parseQuantity(resources.limits[metric], metric === "memory");
7
- return kind === "requests" ? 0 : Infinity;
8
- };
9
- const spec = pod.spec;
10
- if (!spec?.containers?.length) throw new Error("Missing pod containers");
11
- let sidecars = 0;
12
- let initPeak = 0;
13
- for (const container of spec.initContainers ?? []) {
14
- const value = read(container.resources);
15
- if (container.restartPolicy === "Always") {
16
- sidecars += value;
17
- initPeak = Math.max(initPeak, sidecars);
18
- } else initPeak = Math.max(initPeak, sidecars + value);
19
- }
20
- let effective = Math.max(initPeak, sidecars + spec.containers.reduce((sum, container) => sum + read(container.resources), 0));
21
- if (spec.resources?.[kind]?.[metric] !== void 0) effective = read(spec.resources);
22
- const overhead = spec.overhead?.[metric];
23
- if (overhead !== void 0 && (kind === "requests" || effective > 0)) effective += parseQuantity(overhead, metric === "memory");
24
- return effective;
25
- }
26
- function aggregateResources(nodes, pods) {
27
- if (!nodes.length || nodes.some((node) => !node.metadata?.name)) throw new Error("Missing node inventory");
28
- const names = new Set(nodes.map((node) => node.metadata.name));
29
- const scheduled = pods?.filter((pod) => pod.spec?.nodeName && names.has(pod.spec.nodeName) && pod.status?.phase !== "Succeeded" && pod.status?.phase !== "Failed");
30
- const sum = (metric) => {
31
- const capacity = nodes.reduce((total, node) => total + parseQuantity(node.status?.capacity?.[metric] ?? "", metric === "memory"), 0);
32
- const allocatable = nodes.reduce((total, node) => total + parseQuantity(node.status?.allocatable?.[metric] ?? "", metric === "memory"), 0);
33
- const requests = scheduled?.reduce((total, pod) => total + effectivePodResource(pod, metric, "requests"), 0);
34
- const limits = scheduled?.reduce((total, pod) => total + effectivePodResource(pod, metric, "limits"), 0);
35
- return {
36
- capacity,
37
- allocatable,
38
- requests,
39
- limits: limits === Infinity ? void 0 : limits,
40
- unbounded: limits === Infinity
41
- };
42
- };
43
- return {
44
- cpu: sum("cpu"),
45
- memory: sum("memory")
46
- };
47
- }
48
- var MONITORING_INTERVAL = 3e4;
49
- function parseQuantity(raw, memory = false) {
50
- const match = /^(\d+(?:\.\d*)?|\.\d+)([eE][+-]?\d+|n|u|m|Ki|Mi|Gi|Ti|Pi|Ei|k|K|M|G|T|P|E)?$/.exec(raw);
51
- if (!match) throw new Error("Invalid metrics quantity");
52
- const suffix = match[2] ?? "";
53
- const value = Number(match[1]) * (suffix.endsWith("i") ? 1024 ** ([
54
- "Ki",
55
- "Mi",
56
- "Gi",
57
- "Ti",
58
- "Pi",
59
- "Ei"
60
- ].indexOf(suffix) + 1) : /^[eE][+-]?\d+$/.test(suffix) ? 10 ** Number(suffix.slice(1)) : {
61
- n: 1e-9,
62
- u: 1e-6,
63
- m: .001,
64
- k: 1e3,
65
- K: 1e3,
66
- M: 1e6,
67
- G: 1e9,
68
- T: 0xe8d4a51000,
69
- P: 0x38d7ea4c68000,
70
- E: 0xde0b6b3a7640000
71
- }[suffix] ?? 1);
72
- if (!Number.isFinite(value) || !memory && suffix.endsWith("i")) throw new Error("Invalid metrics quantity");
73
- return value;
74
- }
75
- function aggregateMetrics(nodes, now = Date.now()) {
76
- if (!nodes.length) throw new Error("No node metrics available");
77
- let cpu = 0;
78
- let memory = 0;
79
- for (const node of nodes) {
80
- const timestamp = Date.parse(node.timestamp);
81
- if (!Number.isFinite(timestamp) || now - timestamp > 12e4 || timestamp > now + 3e4) throw new Error("Node metrics are stale");
82
- cpu += parseQuantity(node.usage.cpu);
83
- memory += parseQuantity(node.usage.memory, true);
84
- }
85
- return {
86
- time: now,
87
- cpu,
88
- memory
89
- };
90
- }
91
- //#endregion
92
- exports.MONITORING_INTERVAL = MONITORING_INTERVAL;
93
- exports.aggregateMetrics = aggregateMetrics;
94
- exports.aggregateResources = aggregateResources;
95
- exports.effectivePodResource = effectivePodResource;
96
- exports.parseQuantity = parseQuantity;
97
-
98
- //# sourceMappingURL=monitoring-math.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"monitoring-math.js","names":[],"sources":["../../../../src/common/monitoring-math.ts"],"sourcesContent":["type ResourceValues = { requests?: Partial<Record<string, string>>; limits?: Partial<Record<string, string>> };\ntype ResourceContainer = { resources?: ResourceValues; restartPolicy?: string };\nexport type MonitoringPod = {\n spec?: {\n nodeName?: string;\n containers?: ResourceContainer[];\n initContainers?: ResourceContainer[];\n overhead?: Partial<Record<string, string>>;\n resources?: ResourceValues;\n };\n status?: { phase?: string };\n};\nexport type MonitoringNode = {\n metadata: { name: string };\n status?: { capacity?: Partial<Record<string, string>>; allocatable?: Partial<Record<string, string>> };\n};\ntype ResourceTotals = {\n capacity?: number;\n allocatable?: number;\n requests?: number;\n limits?: number;\n unbounded?: boolean;\n};\nexport type MonitoringSample = {\n time: number;\n cpu: number;\n memory: number;\n resources?: Record<\"cpu\" | \"memory\", ResourceTotals>;\n resourceStatus?: string;\n completeUsage?: boolean;\n breakBefore?: boolean;\n historical?: Partial<\n Record<\"cpu\" | \"memory\", { min: number; max: number; count: number; resolution: number; gap: boolean }>\n >;\n};\n\nexport function effectivePodResource(\n pod: MonitoringPod,\n metric: \"cpu\" | \"memory\",\n kind: \"requests\" | \"limits\",\n): number {\n const read = (resources?: ResourceValues) => {\n const raw = resources?.[kind]?.[metric];\n if (raw !== undefined) return parseQuantity(raw, metric === \"memory\");\n if (kind === \"requests\" && resources?.limits?.[metric] !== undefined)\n return parseQuantity(resources.limits[metric], metric === \"memory\");\n return kind === \"requests\" ? 0 : Infinity;\n };\n const spec = pod.spec;\n if (!spec?.containers?.length) throw new Error(\"Missing pod containers\");\n let sidecars = 0;\n let initPeak = 0;\n for (const container of spec.initContainers ?? []) {\n const value = read(container.resources);\n if (container.restartPolicy === \"Always\") {\n sidecars += value;\n initPeak = Math.max(initPeak, sidecars);\n } else initPeak = Math.max(initPeak, sidecars + value);\n }\n let effective = Math.max(\n initPeak,\n sidecars + spec.containers.reduce((sum, container) => sum + read(container.resources), 0),\n );\n if (spec.resources?.[kind]?.[metric] !== undefined) effective = read(spec.resources);\n const overhead = spec.overhead?.[metric];\n if (overhead !== undefined && (kind === \"requests\" || effective > 0))\n effective += parseQuantity(overhead, metric === \"memory\");\n return effective;\n}\n\nexport function aggregateResources(\n nodes: MonitoringNode[],\n pods?: MonitoringPod[],\n): Record<\"cpu\" | \"memory\", ResourceTotals> {\n if (!nodes.length || nodes.some((node) => !node.metadata?.name)) throw new Error(\"Missing node inventory\");\n const names = new Set(nodes.map((node) => node.metadata.name));\n const scheduled = pods?.filter(\n (pod) =>\n pod.spec?.nodeName &&\n names.has(pod.spec.nodeName) &&\n pod.status?.phase !== \"Succeeded\" &&\n pod.status?.phase !== \"Failed\",\n );\n const sum = (metric: \"cpu\" | \"memory\"): ResourceTotals => {\n const capacity = nodes.reduce(\n (total, node) => total + parseQuantity(node.status?.capacity?.[metric] ?? \"\", metric === \"memory\"),\n 0,\n );\n const allocatable = nodes.reduce(\n (total, node) => total + parseQuantity(node.status?.allocatable?.[metric] ?? \"\", metric === \"memory\"),\n 0,\n );\n const requests = scheduled?.reduce((total, pod) => total + effectivePodResource(pod, metric, \"requests\"), 0);\n const limits = scheduled?.reduce((total, pod) => total + effectivePodResource(pod, metric, \"limits\"), 0);\n return {\n capacity,\n allocatable,\n requests,\n limits: limits === Infinity ? undefined : limits,\n unbounded: limits === Infinity,\n };\n };\n return { cpu: sum(\"cpu\"), memory: sum(\"memory\") };\n}\nexport const MONITORING_INTERVAL = 30_000;\nexport const MAX_SAMPLES = 60;\n\nexport function parseQuantity(raw: string, memory = false): number {\n const match = /^(\\d+(?:\\.\\d*)?|\\.\\d+)([eE][+-]?\\d+|n|u|m|Ki|Mi|Gi|Ti|Pi|Ei|k|K|M|G|T|P|E)?$/.exec(raw);\n if (!match) throw new Error(\"Invalid metrics quantity\");\n const suffix = match[2] ?? \"\";\n const factors: Record<string, number> = {\n n: 1e-9,\n u: 1e-6,\n m: 1e-3,\n k: 1e3,\n K: 1e3,\n M: 1e6,\n G: 1e9,\n T: 1e12,\n P: 1e15,\n E: 1e18,\n };\n const value =\n Number(match[1]) *\n (suffix.endsWith(\"i\")\n ? 1024 ** ([\"Ki\", \"Mi\", \"Gi\", \"Ti\", \"Pi\", \"Ei\"].indexOf(suffix) + 1)\n : /^[eE][+-]?\\d+$/.test(suffix)\n ? 10 ** Number(suffix.slice(1))\n : (factors[suffix] ?? 1));\n if (!Number.isFinite(value) || (!memory && suffix.endsWith(\"i\"))) throw new Error(\"Invalid metrics quantity\");\n return value;\n}\n\nexport function aggregateMetrics(\n nodes: { usage: { cpu: string; memory: string }; timestamp: string }[],\n now = Date.now(),\n): MonitoringSample {\n if (!nodes.length) throw new Error(\"No node metrics available\");\n let cpu = 0;\n let memory = 0;\n for (const node of nodes) {\n const timestamp = Date.parse(node.timestamp);\n if (!Number.isFinite(timestamp) || now - timestamp > 120_000 || timestamp > now + 30_000)\n throw new Error(\"Node metrics are stale\");\n cpu += parseQuantity(node.usage.cpu);\n memory += parseQuantity(node.usage.memory, true);\n }\n return { time: now, cpu, memory };\n}\n"],"mappings":"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"}
@@ -1,6 +0,0 @@
1
- //#region src/common/node-bulk.ts
2
- var NODE_BULK_CHANNEL = "freelens-power:node-bulk";
3
- //#endregion
4
- exports.NODE_BULK_CHANNEL = NODE_BULK_CHANNEL;
5
-
6
- //# sourceMappingURL=node-bulk.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node-bulk.js","names":[],"sources":["../../../../src/common/node-bulk.ts"],"sourcesContent":["export const NODE_BULK_CHANNEL = \"freelens-power:node-bulk\";\nexport const NODE_BULK_LIMIT = 100;\nexport type NodeBulkAction = \"cordon\" | \"uncordon\" | \"drain\";\nexport interface NodeBulkTarget {\n name: string;\n uid: string;\n}\nexport type NodeBulkStatus = \"running\" | \"succeeded\" | \"failed\" | \"cancelled\";\nexport interface NodeBulkJob {\n id: string;\n clusterId: string;\n contextId: string;\n action: NodeBulkAction;\n status: NodeBulkStatus;\n nodes: (NodeBulkTarget & { status: NodeBulkStatus | \"pending\" | \"skipped\"; message?: string })[];\n startedAt: number;\n finishedAt?: number;\n}\nexport interface NodeBulkRequest {\n operation: \"context\" | \"begin\" | \"status\" | \"cancel\";\n clusterId: string;\n contextId?: string;\n jobId?: string;\n action?: NodeBulkAction;\n nodes?: NodeBulkTarget[];\n confirmed?: boolean;\n}\nexport interface NodeBulkResponse {\n ok: boolean;\n contextId?: string;\n job?: NodeBulkJob;\n error?: { code: string; message: string };\n}\n"],"mappings":";AAAA,IAAa,oBAAoB"}
@@ -1,22 +0,0 @@
1
- let node_net = require("node:net");
2
- //#region src/common/node-shell.ts
3
- function selectNodeAddress(addresses, preferIPv6) {
4
- const families = preferIPv6 ? [6, 4] : [4, 6];
5
- for (const family of families) for (const type of ["InternalIP", "ExternalIP"]) {
6
- const match = addresses.find((entry) => entry.type === type && (0, node_net.isIP)(entry.address) === family);
7
- if (match) return match.address;
8
- }
9
- }
10
- function buildNodeShellCommand(command, address) {
11
- if (!(0, node_net.isIP)(address)) throw new Error("Node address must be a valid IP literal");
12
- return `${command.trim() || "ssh"} ${`'${address.replace(/'/g, "'\\''")}'`}`;
13
- }
14
- function isColimaNode(contextName, nodeName, hostname) {
15
- return contextName === "colima" && nodeName === "colima" && hostname === "colima";
16
- }
17
- //#endregion
18
- exports.buildNodeShellCommand = buildNodeShellCommand;
19
- exports.isColimaNode = isColimaNode;
20
- exports.selectNodeAddress = selectNodeAddress;
21
-
22
- //# sourceMappingURL=node-shell.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"node-shell.js","names":[],"sources":["../../../../src/common/node-shell.ts"],"sourcesContent":["import { isIP } from \"node:net\";\n\nexport function selectNodeAddress(\n addresses: { type: string; address: string }[],\n preferIPv6: boolean,\n): string | undefined {\n const families = preferIPv6 ? [6, 4] : [4, 6];\n\n for (const family of families) {\n for (const type of [\"InternalIP\", \"ExternalIP\"]) {\n const match = addresses.find((entry) => entry.type === type && isIP(entry.address) === family);\n\n if (match) return match.address;\n }\n }\n\n return undefined;\n}\n\nexport function buildNodeShellCommand(command: string, address: string): string {\n if (!isIP(address)) {\n throw new Error(\"Node address must be a valid IP literal\");\n }\n\n const prefix = command.trim() || \"ssh\";\n const quotedAddress = `'${address.replace(/'/g, \"'\\\\''\")}'`;\n\n return `${prefix} ${quotedAddress}`;\n}\n\nexport function isColimaNode(contextName: string | undefined, nodeName: string, hostname: string | undefined): boolean {\n return contextName === \"colima\" && nodeName === \"colima\" && hostname === \"colima\";\n}\n"],"mappings":";;AAEA,SAAgB,kBACd,WACA,YACoB;CACpB,MAAM,WAAW,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC;CAE5C,KAAK,MAAM,UAAU,UACnB,KAAK,MAAM,QAAQ,CAAC,cAAc,YAAY,GAAG;EAC/C,MAAM,QAAQ,UAAU,MAAM,UAAU,MAAM,SAAS,SAAA,GAAA,SAAA,KAAA,CAAa,MAAM,OAAO,MAAM,MAAM;EAE7F,IAAI,OAAO,OAAO,MAAM;CAC1B;AAIJ;AAEA,SAAgB,sBAAsB,SAAiB,SAAyB;CAC9E,IAAI,EAAA,GAAA,SAAA,KAAA,CAAM,OAAO,GACf,MAAM,IAAI,MAAM,yCAAyC;CAM3D,OAAO,GAHQ,QAAQ,KAAK,KAAK,MAGhB,GAAG,IAFM,QAAQ,QAAQ,MAAM,OAAO,EAAE;AAG3D;AAEA,SAAgB,aAAa,aAAiC,UAAkB,UAAuC;CACrH,OAAO,gBAAgB,YAAY,aAAa,YAAY,aAAa;AAC3E"}
@@ -1,92 +0,0 @@
1
- //#region src/common/power-log-field-filters.ts
2
- var maxNodes = 2e5;
3
- function validPath(path) {
4
- if (!Array.isArray(path) || path.length > maxNodes) return false;
5
- for (const part of path) if (typeof part !== "string" && !(typeof part === "number" && Number.isSafeInteger(part) && part >= 0)) return false;
6
- return true;
7
- }
8
- function extractJsonPath(fields, path) {
9
- if (!validPath(path)) return { found: false };
10
- let value = fields;
11
- for (const part of path) {
12
- if (value === null || typeof value !== "object") return { found: false };
13
- if (Array.isArray(value) ? typeof part !== "number" || part >= value.length : typeof part !== "string") return { found: false };
14
- const property = Object.getOwnPropertyDescriptor(value, part);
15
- if (!property || !("value" in property)) return { found: false };
16
- value = property.value;
17
- }
18
- return {
19
- found: true,
20
- value
21
- };
22
- }
23
- function validJson(value) {
24
- const pending = [{ value }];
25
- const ancestors = /* @__PURE__ */ new WeakSet();
26
- let visited = 0;
27
- while (pending.length) {
28
- const item = pending.pop();
29
- const current = item.value;
30
- if (item.leaving) {
31
- ancestors.delete(current);
32
- continue;
33
- }
34
- if (++visited > maxNodes) return false;
35
- if (current === null || typeof current === "string" || typeof current === "boolean") continue;
36
- if (typeof current === "number") {
37
- if (!Number.isFinite(current)) return false;
38
- continue;
39
- }
40
- if (typeof current !== "object" || ancestors.has(current)) return false;
41
- if (!Array.isArray(current) && ![Object.prototype, null].includes(Object.getPrototypeOf(current))) return false;
42
- ancestors.add(current);
43
- pending.push({
44
- value: current,
45
- leaving: true
46
- });
47
- const keys = Object.keys(current);
48
- if (keys.length > maxNodes || Array.isArray(current) && keys.length !== current.length) return false;
49
- for (const key of keys) {
50
- if (Array.isArray(current) && (!/^(0|[1-9]\d*)$/.test(key) || Number(key) >= current.length)) return false;
51
- const property = Object.getOwnPropertyDescriptor(current, key);
52
- if (!("value" in property)) return false;
53
- pending.push({ value: property.value });
54
- }
55
- }
56
- return true;
57
- }
58
- function equalValues(left, right) {
59
- const pending = [[left, right]];
60
- while (pending.length) {
61
- const [a, b] = pending.pop();
62
- if (a === b) continue;
63
- if (a === null || b === null || typeof a !== "object" || typeof b !== "object") return false;
64
- if (Array.isArray(a) !== Array.isArray(b)) return false;
65
- const keys = Object.keys(a);
66
- if (keys.length !== Object.keys(b).length) return false;
67
- for (const key of keys) {
68
- const other = Object.getOwnPropertyDescriptor(b, key);
69
- if (!other) return false;
70
- pending.push([Object.getOwnPropertyDescriptor(a, key).value, other.value]);
71
- }
72
- }
73
- return true;
74
- }
75
- function jsonValuesEqual(left, right) {
76
- return validJson(left) && validJson(right) && equalValues(left, right);
77
- }
78
- function compileJsonFilters(filters) {
79
- if (!Array.isArray(filters) || filters.length > 32 || filters.some((filter) => !filter || !validPath(filter.path) || !["eq", "neq"].includes(filter.operator) || !validJson(filter.value))) return () => false;
80
- return (fields) => filters.every((filter) => {
81
- const result = extractJsonPath(fields, filter.path);
82
- const actual = result.found ? result.value : void 0;
83
- const equal = result.found && (actual === filter.value || actual !== null && filter.value !== null && typeof actual === "object" && typeof filter.value === "object" && validJson(actual) && equalValues(actual, filter.value));
84
- return filter.operator === "eq" ? equal : !equal;
85
- });
86
- }
87
- //#endregion
88
- exports.compileJsonFilters = compileJsonFilters;
89
- exports.extractJsonPath = extractJsonPath;
90
- exports.jsonValuesEqual = jsonValuesEqual;
91
-
92
- //# sourceMappingURL=power-log-field-filters.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"power-log-field-filters.js","names":[],"sources":["../../../../src/common/power-log-field-filters.ts"],"sourcesContent":["export type JSONValue = null | boolean | number | string | JSONValue[] | { [key: string]: JSONValue };\nexport type JsonPath = (string | number)[];\nexport interface JsonFieldFilter {\n path: JsonPath;\n operator: \"eq\" | \"neq\";\n value: JSONValue;\n}\nexport type JsonPathResult = { found: false } | { found: true; value: unknown };\n\nconst maxNodes = 200_000;\n\nfunction validPath(path: unknown): path is JsonPath {\n if (!Array.isArray(path) || path.length > maxNodes) return false;\n for (const part of path) {\n if (typeof part !== \"string\" && !(typeof part === \"number\" && Number.isSafeInteger(part) && part >= 0))\n return false;\n }\n return true;\n}\n\nexport function extractJsonPath(fields: unknown, path: JsonPath): JsonPathResult {\n if (!validPath(path)) return { found: false };\n let value = fields;\n for (const part of path) {\n if (value === null || typeof value !== \"object\") return { found: false };\n if (Array.isArray(value) ? typeof part !== \"number\" || part >= value.length : typeof part !== \"string\") {\n return { found: false };\n }\n const property = Object.getOwnPropertyDescriptor(value, part);\n if (!property || !(\"value\" in property)) return { found: false };\n value = property.value;\n }\n return { found: true, value };\n}\n\nfunction validJson(value: unknown): value is JSONValue {\n const pending: { value: unknown; leaving?: boolean }[] = [{ value }];\n const ancestors = new WeakSet<object>();\n let visited = 0;\n while (pending.length) {\n const item = pending.pop()!;\n const current = item.value;\n if (item.leaving) {\n ancestors.delete(current as object);\n continue;\n }\n if (++visited > maxNodes) return false;\n if (current === null || typeof current === \"string\" || typeof current === \"boolean\") continue;\n if (typeof current === \"number\") {\n if (!Number.isFinite(current)) return false;\n continue;\n }\n if (typeof current !== \"object\" || ancestors.has(current)) return false;\n if (!Array.isArray(current) && ![Object.prototype, null].includes(Object.getPrototypeOf(current))) return false;\n ancestors.add(current);\n pending.push({ value: current, leaving: true });\n const keys = Object.keys(current);\n if (keys.length > maxNodes || (Array.isArray(current) && keys.length !== current.length)) return false;\n for (const key of keys) {\n if (Array.isArray(current) && (!/^(0|[1-9]\\d*)$/.test(key) || Number(key) >= current.length)) return false;\n const property = Object.getOwnPropertyDescriptor(current, key)!;\n if (!(\"value\" in property)) return false;\n pending.push({ value: property.value });\n }\n }\n return true;\n}\n\nfunction equalValues(left: JSONValue, right: JSONValue): boolean {\n const pending: [JSONValue, JSONValue][] = [[left, right]];\n while (pending.length) {\n const [a, b] = pending.pop()!;\n if (a === b) continue;\n if (a === null || b === null || typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (Array.isArray(a) !== Array.isArray(b)) return false;\n const keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) return false;\n for (const key of keys) {\n const other = Object.getOwnPropertyDescriptor(b, key);\n if (!other) return false;\n pending.push([Object.getOwnPropertyDescriptor(a, key)!.value, other.value]);\n }\n }\n return true;\n}\n\nexport function jsonValuesEqual(left: unknown, right: unknown): boolean {\n return validJson(left) && validJson(right) && equalValues(left, right);\n}\n\nexport function compileJsonFilters(filters: readonly JsonFieldFilter[]): (fields: unknown) => boolean {\n if (\n !Array.isArray(filters) ||\n filters.length > 32 ||\n filters.some(\n (filter) =>\n !filter || !validPath(filter.path) || ![\"eq\", \"neq\"].includes(filter.operator) || !validJson(filter.value),\n )\n )\n return () => false;\n return (fields) =>\n filters.every((filter) => {\n const result = extractJsonPath(fields, filter.path);\n const actual = result.found ? result.value : undefined;\n const equal =\n result.found &&\n (actual === filter.value ||\n (actual !== null &&\n filter.value !== null &&\n typeof actual === \"object\" &&\n typeof filter.value === \"object\" &&\n validJson(actual) &&\n equalValues(actual, filter.value)));\n return filter.operator === \"eq\" ? equal : !equal;\n });\n}\n\nexport function matchesAllJsonFilters(fields: unknown, filters: readonly JsonFieldFilter[]): boolean {\n return compileJsonFilters(filters)(fields);\n}\n"],"mappings":"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"}
@@ -1,118 +0,0 @@
1
- const require_power_log_field_filters = require("./power-log-field-filters.js");
2
- //#region src/common/power-log-json-filter-sql.ts
3
- var maxSqlLength = 65536;
4
- var normalizedType = (type) => `CASE WHEN ${type} IN ('integer', 'real') THEN 'number' ELSE ${type} END`;
5
- var quoteIdentifier = (value) => `"${value.replace(/"/g, "\"\"")}"`;
6
- var literal = (value) => value.split("\0").map((part) => `'${part.replace(/'/g, "''")}'`).join(" || char(0) || ");
7
- var tree = (name) => `SELECT path, ${normalizedType("type")}, CASE
8
- WHEN type IN ('object', 'array') THEN NULL
9
- WHEN type IN ('integer', 'real') THEN CAST(value AS REAL)
10
- ELSE value END FROM ${name}`;
11
- var descendants = (name, root) => `${name}(path, value, type) AS (
12
- ${root}
13
- UNION ALL
14
- SELECT json_insert(parent.path, '$[#]', j.key), j.value, j.type
15
- FROM ${name} AS parent, json_each(CASE WHEN parent.type IN ('object', 'array') THEN parent.value ELSE NULL END) AS j
16
- )`;
17
- function predicate(filter) {
18
- if (!filter || typeof filter.column !== "string" || !filter.column || filter.column.includes("\0") || !Array.isArray(filter.path) || filter.path.length > 128 || filter.operator !== "eq" && filter.operator !== "neq" || !require_power_log_field_filters.jsonValuesEqual(filter.value, filter.value)) throw new Error("Invalid JSON field filter");
19
- if (filter.path.every((part) => typeof part === "number" && Number.isSafeInteger(part) && part >= 0 || typeof part === "string" && /^[A-Za-z_][A-Za-z0-9_]*$/.test(part)) && (filter.value === null || typeof filter.value !== "object")) {
20
- const source = `"__power_rows".${quoteIdentifier(filter.column)}`;
21
- const path = literal("$" + filter.path.map((part) => typeof part === "number" ? `[${part}]` : `.${part}`).join(""));
22
- const type = `json_type(${source}, ${path})`;
23
- const value = `json_extract(${source}, ${path})`;
24
- let equal;
25
- if (filter.value === null) equal = `${type} IS 'null'`;
26
- else if (typeof filter.value === "boolean") equal = `${type} IS '${filter.value}'`;
27
- else if (typeof filter.value === "number") equal = `(${type} IN ('integer', 'real') AND CAST(${value} AS REAL) IS ${filter.value})`;
28
- else equal = `(${type} IS 'text' AND ${value} IS ${literal(filter.value)})`;
29
- return `${filter.operator === "neq" ? "NOT " : ""}(CASE WHEN json_valid(${source}) THEN ${equal} ELSE 0 END)`;
30
- }
31
- const steps = [];
32
- for (const [depth, part] of filter.path.entries()) {
33
- if (typeof part !== "string" && !(typeof part === "number" && Number.isSafeInteger(part) && part >= 0)) throw new Error("Invalid JSON field path");
34
- steps.push(`(walk.depth = ${depth} AND typeof(j.key) = '${typeof part === "string" ? "text" : "integer"}' AND j.key = ${typeof part === "string" ? literal(part) : part})`);
35
- }
36
- let encoded;
37
- try {
38
- encoded = JSON.stringify(filter.value);
39
- } catch {
40
- throw new Error("JSON field filter value cannot be encoded");
41
- }
42
- const source = `"__power_rows".${quoteIdentifier(filter.column)}`;
43
- const safe = `CASE WHEN json_valid(${source}) THEN ${source} ELSE NULL END`;
44
- const recursion = steps.length ? `
45
- UNION ALL
46
- SELECT walk.depth + 1, j.value, j.type
47
- FROM walk, json_each(CASE WHEN walk.type IN ('object', 'array') THEN walk.value ELSE NULL END) AS j
48
- WHERE ${steps.join(" OR ")}` : "";
49
- const leftTree = tree("actual_tree");
50
- const rightTree = tree("expected_tree");
51
- const equal = `EXISTS (
52
- SELECT 1 FROM walk, wanted WHERE walk.depth = ${filter.path.length}
53
- AND CASE
54
- WHEN walk.type IS NULL OR ${normalizedType("walk.type")} != ${normalizedType("wanted.type")} THEN 0
55
- WHEN walk.type IN ('object', 'array') THEN
56
- NOT EXISTS (${leftTree} EXCEPT ${rightTree}) AND NOT EXISTS (${rightTree} EXCEPT ${leftTree})
57
- WHEN walk.type IN ('integer', 'real') THEN CAST(walk.value AS REAL) IS CAST(wanted.value AS REAL)
58
- ELSE walk.value IS wanted.value
59
- END
60
- )`;
61
- return `(WITH RECURSIVE walk(depth, value, type) AS (
62
- SELECT 0, json_extract(${safe}, '$'), json_type(${safe})${recursion}
63
- ), wanted(value, type) AS (
64
- SELECT json_extract(${literal(encoded)}, '$'), json_type(${literal(encoded)})
65
- ), ${descendants("actual_tree", `SELECT json_array(), value, type FROM walk WHERE depth = ${filter.path.length}`)},
66
- ${descendants("expected_tree", "SELECT json_array(), value, type FROM wanted")}
67
- SELECT ${filter.operator === "neq" ? "NOT " : ""}${equal})`;
68
- }
69
- function withoutFinalSemicolon(sql) {
70
- let lastCode = -1;
71
- for (let index = 0; index < sql.length;) {
72
- const character = sql[index];
73
- if (/\s/.test(character)) {
74
- index++;
75
- continue;
76
- }
77
- if (sql.startsWith("--", index)) {
78
- const newline = sql.indexOf("\n", index + 2);
79
- index = newline < 0 ? sql.length : newline + 1;
80
- continue;
81
- }
82
- if (sql.startsWith("/*", index)) {
83
- const end = sql.indexOf("*/", index + 2);
84
- index = end < 0 ? sql.length : end + 2;
85
- continue;
86
- }
87
- lastCode = index;
88
- if (character === "'" || character === "\"" || character === "`" || character === "[") {
89
- const closing = character === "[" ? "]" : character;
90
- for (index++; index < sql.length; index++) {
91
- if (sql[index] !== closing) continue;
92
- if (closing !== "]" && sql[index + 1] === closing) {
93
- index++;
94
- continue;
95
- }
96
- index++;
97
- break;
98
- }
99
- } else index++;
100
- }
101
- return sql[lastCode] === ";" ? sql.slice(0, lastCode) + sql.slice(lastCode + 1) : sql;
102
- }
103
- function buildJsonFilterSql(baseSql, filters) {
104
- if (typeof baseSql !== "string" || !Array.isArray(filters)) throw new Error("Invalid JSON filter query");
105
- if (!filters.length) return baseSql;
106
- const base = withoutFinalSemicolon(baseSql.trim());
107
- if (!base) throw new Error("JSON filter query must not be empty");
108
- let sql = `SELECT * FROM (${base}\n) AS "__power_rows" WHERE `;
109
- for (const [index, filter] of filters.entries()) {
110
- sql += `${index ? " AND " : ""}${predicate(filter)}`;
111
- if (sql.length > maxSqlLength) throw new Error("JSON filter query exceeds 65536 characters");
112
- }
113
- return sql;
114
- }
115
- //#endregion
116
- exports.buildJsonFilterSql = buildJsonFilterSql;
117
-
118
- //# sourceMappingURL=power-log-json-filter-sql.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"power-log-json-filter-sql.js","names":[],"sources":["../../../../src/common/power-log-json-filter-sql.ts"],"sourcesContent":["import { type JsonFieldFilter, jsonValuesEqual } from \"./power-log-field-filters\";\n\nexport interface SqlJsonFieldFilter extends JsonFieldFilter {\n column: string;\n}\n\nconst maxSqlLength = 65536;\nconst normalizedType = (type: string) => `CASE WHEN ${type} IN ('integer', 'real') THEN 'number' ELSE ${type} END`;\nconst quoteIdentifier = (value: string) => `\"${value.replace(/\"/g, '\"\"')}\"`;\nconst literal = (value: string): string =>\n value\n .split(\"\\0\")\n .map((part) => `'${part.replace(/'/g, \"''\")}'`)\n .join(\" || char(0) || \");\nconst tree = (name: string) => `SELECT path, ${normalizedType(\"type\")}, CASE\n WHEN type IN ('object', 'array') THEN NULL\n WHEN type IN ('integer', 'real') THEN CAST(value AS REAL)\n ELSE value END FROM ${name}`;\nconst descendants = (name: string, root: string) => `${name}(path, value, type) AS (\n ${root}\n UNION ALL\n SELECT json_insert(parent.path, '$[#]', j.key), j.value, j.type\n FROM ${name} AS parent, json_each(CASE WHEN parent.type IN ('object', 'array') THEN parent.value ELSE NULL END) AS j\n )`;\n\nfunction predicate(filter: SqlJsonFieldFilter): string {\n if (\n !filter ||\n typeof filter.column !== \"string\" ||\n !filter.column ||\n filter.column.includes(\"\\0\") ||\n !Array.isArray(filter.path) ||\n filter.path.length > 128 ||\n (filter.operator !== \"eq\" && filter.operator !== \"neq\") ||\n !jsonValuesEqual(filter.value, filter.value)\n )\n throw new Error(\"Invalid JSON field filter\");\n const simplePath = filter.path.every(\n (part) =>\n (typeof part === \"number\" && Number.isSafeInteger(part) && part >= 0) ||\n (typeof part === \"string\" && /^[A-Za-z_][A-Za-z0-9_]*$/.test(part)),\n );\n if (simplePath && (filter.value === null || typeof filter.value !== \"object\")) {\n const source = `\"__power_rows\".${quoteIdentifier(filter.column)}`;\n const path = literal(\n \"$\" + filter.path.map((part) => (typeof part === \"number\" ? `[${part}]` : `.${part}`)).join(\"\"),\n );\n const type = `json_type(${source}, ${path})`;\n const value = `json_extract(${source}, ${path})`;\n let equal: string;\n if (filter.value === null) equal = `${type} IS 'null'`;\n else if (typeof filter.value === \"boolean\") equal = `${type} IS '${filter.value}'`;\n else if (typeof filter.value === \"number\")\n equal = `(${type} IN ('integer', 'real') AND CAST(${value} AS REAL) IS ${filter.value})`;\n else equal = `(${type} IS 'text' AND ${value} IS ${literal(filter.value)})`;\n return `${filter.operator === \"neq\" ? \"NOT \" : \"\"}(CASE WHEN json_valid(${source}) THEN ${equal} ELSE 0 END)`;\n }\n const steps: string[] = [];\n for (const [depth, part] of filter.path.entries()) {\n if (typeof part !== \"string\" && !(typeof part === \"number\" && Number.isSafeInteger(part) && part >= 0)) {\n throw new Error(\"Invalid JSON field path\");\n }\n steps.push(\n `(walk.depth = ${depth} AND typeof(j.key) = '${typeof part === \"string\" ? \"text\" : \"integer\"}' AND j.key = ${typeof part === \"string\" ? literal(part) : part})`,\n );\n }\n let encoded: string;\n try {\n encoded = JSON.stringify(filter.value);\n } catch {\n throw new Error(\"JSON field filter value cannot be encoded\");\n }\n const source = `\"__power_rows\".${quoteIdentifier(filter.column)}`;\n const safe = `CASE WHEN json_valid(${source}) THEN ${source} ELSE NULL END`;\n const recursion = steps.length\n ? `\n UNION ALL\n SELECT walk.depth + 1, j.value, j.type\n FROM walk, json_each(CASE WHEN walk.type IN ('object', 'array') THEN walk.value ELSE NULL END) AS j\n WHERE ${steps.join(\" OR \")}`\n : \"\";\n const leftTree = tree(\"actual_tree\");\n const rightTree = tree(\"expected_tree\");\n const equal = `EXISTS (\n SELECT 1 FROM walk, wanted WHERE walk.depth = ${filter.path.length}\n AND CASE\n WHEN walk.type IS NULL OR ${normalizedType(\"walk.type\")} != ${normalizedType(\"wanted.type\")} THEN 0\n WHEN walk.type IN ('object', 'array') THEN\n NOT EXISTS (${leftTree} EXCEPT ${rightTree}) AND NOT EXISTS (${rightTree} EXCEPT ${leftTree})\n WHEN walk.type IN ('integer', 'real') THEN CAST(walk.value AS REAL) IS CAST(wanted.value AS REAL)\n ELSE walk.value IS wanted.value\n END\n )`;\n return `(WITH RECURSIVE walk(depth, value, type) AS (\n SELECT 0, json_extract(${safe}, '$'), json_type(${safe})${recursion}\n ), wanted(value, type) AS (\n SELECT json_extract(${literal(encoded)}, '$'), json_type(${literal(encoded)})\n ), ${descendants(\"actual_tree\", `SELECT json_array(), value, type FROM walk WHERE depth = ${filter.path.length}`)},\n ${descendants(\"expected_tree\", \"SELECT json_array(), value, type FROM wanted\")}\n SELECT ${filter.operator === \"neq\" ? \"NOT \" : \"\"}${equal})`;\n}\n\nfunction withoutFinalSemicolon(sql: string): string {\n let lastCode = -1;\n for (let index = 0; index < sql.length; ) {\n const character = sql[index];\n if (/\\s/.test(character)) {\n index++;\n continue;\n }\n if (sql.startsWith(\"--\", index)) {\n const newline = sql.indexOf(\"\\n\", index + 2);\n index = newline < 0 ? sql.length : newline + 1;\n continue;\n }\n if (sql.startsWith(\"/*\", index)) {\n const end = sql.indexOf(\"*/\", index + 2);\n index = end < 0 ? sql.length : end + 2;\n continue;\n }\n lastCode = index;\n if (character === \"'\" || character === '\"' || character === \"`\" || character === \"[\") {\n const closing = character === \"[\" ? \"]\" : character;\n for (index++; index < sql.length; index++) {\n if (sql[index] !== closing) continue;\n if (closing !== \"]\" && sql[index + 1] === closing) {\n index++;\n continue;\n }\n index++;\n break;\n }\n } else index++;\n }\n return sql[lastCode] === \";\" ? sql.slice(0, lastCode) + sql.slice(lastCode + 1) : sql;\n}\n\nexport function buildJsonFilterSql(baseSql: string, filters: SqlJsonFieldFilter[]): string {\n if (typeof baseSql !== \"string\" || !Array.isArray(filters)) throw new Error(\"Invalid JSON filter query\");\n if (!filters.length) return baseSql;\n const base = withoutFinalSemicolon(baseSql.trim());\n if (!base) throw new Error(\"JSON filter query must not be empty\");\n let sql = `SELECT * FROM (${base}\\n) AS \"__power_rows\" WHERE `;\n for (const [index, filter] of filters.entries()) {\n sql += `${index ? \" AND \" : \"\"}${predicate(filter)}`;\n if (sql.length > maxSqlLength) throw new Error(\"JSON filter query exceeds 65536 characters\");\n }\n return sql;\n}\n"],"mappings":"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"}
@@ -1,34 +0,0 @@
1
- //#region src/common/power-log-json-preset.ts
2
- var JSON_KEY_DISCOVERY_SQL = `SELECT DISTINCT field.key
3
- FROM (SELECT fieldsJson FROM logs WHERE fieldsJson IS NOT NULL ORDER BY timestamp DESC NULLS LAST LIMIT 100) AS recent
4
- JOIN json_each(recent.fieldsJson) AS field
5
- WHERE typeof(field.key) = 'text'
6
- LIMIT 65`;
7
- function buildJsonProjectionSql(keys, options = {}) {
8
- if (options.recent) return "SELECT timestamp, level, message, container, pod FROM logs ORDER BY timestamp DESC NULLS LAST LIMIT 200";
9
- const fallbackSql = "SELECT fieldsJson FROM logs WHERE fieldsJson IS NOT NULL LIMIT 100";
10
- if (!keys.length || keys.length > 64) return fallbackSql;
11
- const usable = (key) => typeof key === "string" && key.length <= 128 && !key.includes("\0");
12
- const key = [
13
- "message",
14
- "msg",
15
- "text",
16
- "Message",
17
- "RenderedMessage",
18
- "@m",
19
- "@mt",
20
- "body",
21
- "Body"
22
- ].find((preferred) => keys.includes(preferred)) ?? keys.find(usable);
23
- if (key === void 0 || !usable(key)) return fallbackSql;
24
- const literal = `'${key.replace(/'/g, "''")}'`;
25
- const identifier = `"${key.replace(/"/g, "\"\"")}"`;
26
- return `SELECT\n ${/^[A-Za-z_][A-Za-z0-9_]*$/.test(key) ? `json_extract(logs.fieldsJson, '$.${key}')` : `(SELECT value FROM json_each(logs.fieldsJson) WHERE key = ${literal} LIMIT 1)`} AS ${identifier},\n logs.fieldsJson AS "${key.toLowerCase() === "json" ? "fieldsJson" : "json"}"\nFROM logs\nWHERE fieldsJson IS NOT NULL
27
- ORDER BY logs.timestamp DESC NULLS LAST
28
- LIMIT 100`;
29
- }
30
- //#endregion
31
- exports.JSON_KEY_DISCOVERY_SQL = JSON_KEY_DISCOVERY_SQL;
32
- exports.buildJsonProjectionSql = buildJsonProjectionSql;
33
-
34
- //# sourceMappingURL=power-log-json-preset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"power-log-json-preset.js","names":[],"sources":["../../../../src/common/power-log-json-preset.ts"],"sourcesContent":["export const JSON_KEY_DISCOVERY_SQL = `SELECT DISTINCT field.key\nFROM (SELECT fieldsJson FROM logs WHERE fieldsJson IS NOT NULL ORDER BY timestamp DESC NULLS LAST LIMIT 100) AS recent\nJOIN json_each(recent.fieldsJson) AS field\nWHERE typeof(field.key) = 'text'\nLIMIT 65`;\n\nexport function buildJsonProjectionSql(keys: string[], options: { recent?: boolean } = {}): string {\n if (options.recent)\n return \"SELECT timestamp, level, message, container, pod FROM logs ORDER BY timestamp DESC NULLS LAST LIMIT 200\";\n const fallbackSql = \"SELECT fieldsJson FROM logs WHERE fieldsJson IS NOT NULL LIMIT 100\";\n if (!keys.length || keys.length > 64) return fallbackSql;\n const usable = (key: string) => typeof key === \"string\" && key.length <= 128 && !key.includes(\"\\0\");\n const key =\n [\"message\", \"msg\", \"text\", \"Message\", \"RenderedMessage\", \"@m\", \"@mt\", \"body\", \"Body\"].find((preferred) =>\n keys.includes(preferred),\n ) ?? keys.find(usable);\n if (key === undefined || !usable(key)) return fallbackSql;\n const literal = `'${key.replace(/'/g, \"''\")}'`;\n const identifier = `\"${key.replace(/\"/g, '\"\"')}\"`;\n const value = /^[A-Za-z_][A-Za-z0-9_]*$/.test(key)\n ? `json_extract(logs.fieldsJson, '$.${key}')`\n : `(SELECT value FROM json_each(logs.fieldsJson) WHERE key = ${literal} LIMIT 1)`;\n const tail = \"WHERE fieldsJson IS NOT NULL\\nORDER BY logs.timestamp DESC NULLS LAST\\nLIMIT 100\";\n return `SELECT\\n ${value} AS ${identifier},\\n logs.fieldsJson AS \"${key.toLowerCase() === \"json\" ? \"fieldsJson\" : \"json\"}\"\\nFROM logs\\n${tail}`;\n}\n"],"mappings":";AAAA,IAAa,yBAAyB;;;;;AAMtC,SAAgB,uBAAuB,MAAgB,UAAgC,CAAC,GAAW;CACjG,IAAI,QAAQ,QACV,OAAO;CACT,MAAM,cAAc;CACpB,IAAI,CAAC,KAAK,UAAU,KAAK,SAAS,IAAI,OAAO;CAC7C,MAAM,UAAU,QAAgB,OAAO,QAAQ,YAAY,IAAI,UAAU,OAAO,CAAC,IAAI,SAAS,IAAI;CAClG,MAAM,MACJ;EAAC;EAAW;EAAO;EAAQ;EAAW;EAAmB;EAAM;EAAO;EAAQ;CAAM,CAAC,CAAC,MAAM,cAC1F,KAAK,SAAS,SAAS,CACzB,KAAK,KAAK,KAAK,MAAM;CACvB,IAAI,QAAQ,KAAA,KAAa,CAAC,OAAO,GAAG,GAAG,OAAO;CAC9C,MAAM,UAAU,IAAI,IAAI,QAAQ,MAAM,IAAI,EAAE;CAC5C,MAAM,aAAa,IAAI,IAAI,QAAQ,MAAM,MAAI,EAAE;CAK/C,OAAO,aAJO,2BAA2B,KAAK,GAAG,IAC7C,oCAAoC,IAAI,MACxC,6DAA6D,QAAQ,WAE/C,MAAM,WAAW,2BAA2B,IAAI,YAAY,MAAM,SAAS,eAAe,OAAO;;;AAC7H"}
@@ -1,172 +0,0 @@
1
- //#region src/common/power-log-level.ts
2
- var names = {
3
- trace: "trace",
4
- verbose: "trace",
5
- vrb: "trace",
6
- trc: "trace",
7
- trce: "trace",
8
- fine: "debug",
9
- finer: "trace",
10
- finest: "trace",
11
- debug: "debug",
12
- dbg: "debug",
13
- dbug: "debug",
14
- info: "info",
15
- access: "access",
16
- information: "info",
17
- informational: "info",
18
- notice: "info",
19
- inf: "info",
20
- success: "info",
21
- warn: "warn",
22
- warning: "warn",
23
- wrn: "warn",
24
- error: "error",
25
- err: "error",
26
- severe: "error",
27
- fail: "error",
28
- dpanic: "error",
29
- fatal: "fatal",
30
- critical: "fatal",
31
- crit: "fatal",
32
- ftl: "fatal",
33
- panic: "fatal",
34
- alert: "fatal",
35
- emerg: "fatal",
36
- emergency: "fatal"
37
- };
38
- var pino = {
39
- 10: "trace",
40
- 20: "debug",
41
- 30: "info",
42
- 40: "warn",
43
- 50: "error",
44
- 60: "fatal"
45
- };
46
- var python = {
47
- 10: "debug",
48
- 20: "info",
49
- 30: "warn",
50
- 40: "error",
51
- 50: "fatal"
52
- };
53
- var oldKeys = [
54
- "level",
55
- "severity",
56
- "loglevel",
57
- "log_level",
58
- "levelname"
59
- ];
60
- var textKeys = [
61
- "level_name",
62
- "Level",
63
- "LogLevel",
64
- "severityText",
65
- "severity_text",
66
- "SeverityText",
67
- "log.level",
68
- "@l"
69
- ];
70
- var numberKeys = [
71
- "severityNumber",
72
- "severity_number",
73
- "SeverityNumber"
74
- ];
75
- function object(value) {
76
- return value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
77
- }
78
- function named(value) {
79
- if (typeof value !== "string") return "unknown";
80
- const key = value.trim().toLowerCase();
81
- return Object.hasOwn(names, key) ? names[key] : "unknown";
82
- }
83
- function firstString(...values) {
84
- return values.find((value) => typeof value === "string");
85
- }
86
- function ownValue(record, keys) {
87
- for (const key of keys) if (record[key] !== void 0 && record[key] !== null) return record[key];
88
- }
89
- function structuredLogFields(record) {
90
- const nested = object(record.record);
91
- const loguruLevel = object(nested?.level);
92
- if (typeof record.text === "string" && nested && loguruLevel) return {
93
- level: typeof loguruLevel.name === "string" ? named(loguruLevel.name) : typeof loguruLevel.no === "number" ? {
94
- 5: "trace",
95
- ...python,
96
- 25: "info"
97
- }[loguruLevel.no] ?? "unknown" : "unknown",
98
- message: firstString(nested.message, record.text)
99
- };
100
- const primary = ownValue(record, oldKeys);
101
- const explicit = ownValue(record, textKeys) ?? oldKeys.slice(1).map((key) => record[key]).find((value) => typeof value === "string") ?? object(record.log)?.level;
102
- let level = "unknown";
103
- if (typeof primary === "string") level = named(primary);
104
- else if (explicit !== void 0) level = named(explicit);
105
- else if (numberKeys.some((key) => record[key] !== void 0)) {
106
- const value = ownValue(record, numberKeys);
107
- if (typeof value === "number" && Number.isInteger(value) && value >= 1 && value <= 24) level = [
108
- "trace",
109
- "debug",
110
- "info",
111
- "warn",
112
- "error",
113
- "fatal"
114
- ][Math.floor((value - 1) / 4)];
115
- } else if (record.levelno !== void 0) {
116
- if (typeof record.levelno === "number") level = python[record.levelno] ?? "unknown";
117
- } else if (typeof record.level === "number") level = pino[record.level] ?? "unknown";
118
- else if (typeof record["@t"] === "string" && (typeof record["@m"] === "string" || typeof record["@mt"] === "string")) level = "info";
119
- const body = record.body ?? record.Body;
120
- return {
121
- level,
122
- message: firstString(record.message, record.msg, record.text, record.Message, record.RenderedMessage, record["@m"], record["@mt"], object(record.fields)?.message, numberKeys.some((key) => record[key] !== void 0) || [
123
- "severityText",
124
- "severity_text",
125
- "SeverityText"
126
- ].some((key) => record[key] !== void 0) ? typeof body === "string" ? body : object(body)?.stringValue : void 0)
127
- };
128
- }
129
- function plainLogLevel(message) {
130
- const klog = /^([IWEF])\d{4}\s\d{2}:\d{2}:\d{2}\.\d+\s+\d+\s+[^\s]+:\d+\]/.exec(message);
131
- if (klog) return {
132
- I: "info",
133
- W: "warn",
134
- E: "error",
135
- F: "fatal"
136
- }[klog[1]];
137
- const syslog = /^<(\d{1,3})>(?=\d{1,2}\s|[A-Z][a-z]{2} \d)/.exec(message);
138
- if (syslog && Number(syslog[1]) <= 191) return [
139
- "fatal",
140
- "fatal",
141
- "fatal",
142
- "error",
143
- "warn",
144
- "info",
145
- "info",
146
- "debug"
147
- ][Number(syslog[1]) % 8];
148
- const field = /\s*([A-Za-z_][A-Za-z0-9_.]*)=("(?:\\.|[^"\\])*"|[^"\s]+)(?=\s|$)/y;
149
- let cursor = 0;
150
- for (let count = 0; count < 256; count++) {
151
- field.lastIndex = cursor;
152
- const match = field.exec(message);
153
- if (!match) break;
154
- cursor = field.lastIndex;
155
- if ([...oldKeys, ...textKeys].includes(match[1])) try {
156
- return named(match[2].startsWith("\"") ? JSON.parse(match[2]) : match[2]);
157
- } catch {
158
- return "unknown";
159
- }
160
- }
161
- const header = /^\s*(\[)?(?:(\d{4}[-/]\d{2}[-/]\d{2}[ T]\d{2}:\d{2}:\d{2}(?:[.,]\d{1,9})?(?:Z|[+-]\d{2}:?\d{2})?|\d{2}:\d{2}:\d{2}(?:[.,]\d{1,9})?)\s*[| ]\s*)?([A-Za-z]+)(?=$|[\s\]:|,-])/.exec(message);
162
- if (!header) return "unknown";
163
- const word = header[3];
164
- const delimiter = message.slice(header[0].length).trimStart()[0];
165
- if (!header[1] && !header[2] && word !== word.toUpperCase() && delimiter !== ":") return "unknown";
166
- return named(word);
167
- }
168
- //#endregion
169
- exports.plainLogLevel = plainLogLevel;
170
- exports.structuredLogFields = structuredLogFields;
171
-
172
- //# sourceMappingURL=power-log-level.js.map