@64mb/freelens-power 1.7.0 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/ai-codex-api-CHt-EMIE.js +4403 -0
- package/dist/ai-codex-api-CHt-EMIE.js.map +1 -0
- package/dist/ai-codex-api.js +1 -0
- package/{out/main/dashboard-preload.js → dist/dashboard-preload.cjs} +6 -6
- package/dist/dashboard-preload.cjs.map +1 -0
- package/dist/main.js +14935 -0
- package/dist/main.js.map +1 -0
- package/dist/power-logs-D2eUB0f0.js +32 -0
- package/{out/main/src/common/power-logs.js.map → dist/power-logs-D2eUB0f0.js.map} +1 -1
- package/{out/main → dist}/power-logs-child.js +11 -11
- package/dist/power-logs-child.js.map +1 -0
- package/{out/main → dist}/power-logs-database.js +74 -75
- package/{out/main → dist}/power-logs-database.js.map +1 -1
- package/{out/renderer/src/common/power-logs-limits.js → dist/power-logs-limits-CdzRcMHg.js} +7 -10
- package/{out/main/src/common/power-logs-limits.js.map → dist/power-logs-limits-CdzRcMHg.js.map} +1 -1
- package/dist/power-logs-query-child.js +22 -0
- package/dist/power-logs-query-child.js.map +1 -0
- package/{out/main → dist}/power-logs-query.js +13 -14
- package/{out/main → dist}/power-logs-query.js.map +1 -1
- package/dist/renderer.js +43784 -0
- package/dist/renderer.js.map +1 -0
- package/package.json +39 -30
- package/out/main/_virtual/_global-external_@freelensapp/extensions.js +0 -9
- package/out/main/_virtual/_global-external_mobx.js +0 -77
- package/out/main/_virtual/_rolldown/runtime.js +0 -25
- package/out/main/ai-answer-stream.js +0 -96
- package/out/main/ai-answer-stream.js.map +0 -1
- package/out/main/ai-api-key.js +0 -95
- package/out/main/ai-api-key.js.map +0 -1
- package/out/main/ai-claude-policy.js +0 -141
- package/out/main/ai-claude-policy.js.map +0 -1
- package/out/main/ai-codex-api.js +0 -611
- package/out/main/ai-codex-api.js.map +0 -1
- package/out/main/ai-discovery.js +0 -61
- package/out/main/ai-discovery.js.map +0 -1
- package/out/main/ai-ipc.js +0 -175
- package/out/main/ai-ipc.js.map +0 -1
- package/out/main/ai-logs.js +0 -53
- package/out/main/ai-logs.js.map +0 -1
- package/out/main/ai-models.js +0 -94
- package/out/main/ai-models.js.map +0 -1
- package/out/main/ai-pi-models.js +0 -73
- package/out/main/ai-pi-models.js.map +0 -1
- package/out/main/ai-pi.js +0 -411
- package/out/main/ai-pi.js.map +0 -1
- package/out/main/ai-references.js +0 -20
- package/out/main/ai-references.js.map +0 -1
- package/out/main/ai-resources.js +0 -364
- package/out/main/ai-resources.js.map +0 -1
- package/out/main/ai.js +0 -688
- package/out/main/ai.js.map +0 -1
- package/out/main/cluster-icons-catalog.js +0 -28
- package/out/main/cluster-icons-catalog.js.map +0 -1
- package/out/main/cluster-icons.js +0 -125
- package/out/main/cluster-icons.js.map +0 -1
- package/out/main/dashboard-ai.js +0 -29
- package/out/main/dashboard-ai.js.map +0 -1
- package/out/main/dashboard-catalog.js +0 -29
- package/out/main/dashboard-catalog.js.map +0 -1
- package/out/main/dashboard-icon-cache.js +0 -63
- package/out/main/dashboard-icon-cache.js.map +0 -1
- package/out/main/dashboard-network.js +0 -104
- package/out/main/dashboard-network.js.map +0 -1
- package/out/main/dashboard-picker.js +0 -133
- package/out/main/dashboard-picker.js.map +0 -1
- package/out/main/dashboard-preload.js.map +0 -1
- package/out/main/dashboard-views.js +0 -902
- package/out/main/dashboard-views.js.map +0 -1
- package/out/main/diagnostics-menu-order.js +0 -57
- package/out/main/diagnostics-menu-order.js.map +0 -1
- package/out/main/dock-icon.js +0 -121
- package/out/main/dock-icon.js.map +0 -1
- package/out/main/extension-updates.js +0 -151
- package/out/main/extension-updates.js.map +0 -1
- package/out/main/helm-installed-chart.js +0 -141
- package/out/main/helm-installed-chart.js.map +0 -1
- package/out/main/helm-ipc.js +0 -748
- package/out/main/helm-ipc.js.map +0 -1
- package/out/main/helm-values.js +0 -45
- package/out/main/helm-values.js.map +0 -1
- package/out/main/helm.js +0 -283
- package/out/main/helm.js.map +0 -1
- package/out/main/index.js +0 -100
- package/out/main/index.js.map +0 -1
- package/out/main/monitoring-history-database.js +0 -103
- package/out/main/monitoring-history-database.js.map +0 -1
- package/out/main/monitoring-history-worker.js +0 -61
- package/out/main/monitoring-history-worker.js.map +0 -1
- package/out/main/monitoring-history.js +0 -110
- package/out/main/monitoring-history.js.map +0 -1
- package/out/main/node-bulk.js +0 -260
- package/out/main/node-bulk.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js +0 -99
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js +0 -32
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js +0 -242
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js +0 -154
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js +0 -60
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js +0 -346
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js +0 -479
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js +0 -508
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js +0 -127
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js +0 -50
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js +0 -201
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js +0 -401
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js +0 -1007
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js.map +0 -1
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js +0 -23
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js +0 -69
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js +0 -56
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js +0 -105
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js +0 -73
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js +0 -214
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js +0 -100
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js +0 -187
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js +0 -55
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js +0 -47
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js +0 -173
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js +0 -218
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js +0 -116
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js +0 -38
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js +0 -36
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js +0 -23
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js +0 -23
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js +0 -302
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js +0 -79
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js +0 -49
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js +0 -76
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js +0 -177
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js +0 -62
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js +0 -74
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js +0 -23
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js +0 -111
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js +0 -134
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js +0 -47
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js +0 -47
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js +0 -40
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js +0 -125
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js +0 -122
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js +0 -66
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js +0 -59
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js +0 -48
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js +0 -281
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js +0 -60
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js +0 -100
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js +0 -92
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js +0 -542
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js +0 -56
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js +0 -875
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js +0 -104
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js +0 -43
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js +0 -29
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js +0 -26
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js +0 -29
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js +0 -26
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js +0 -30
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js +0 -53
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js +0 -52
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js +0 -41
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js +0 -75
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js +0 -110
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js +0 -68
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js +0 -38
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js +0 -56
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js +0 -86
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js +0 -55
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js +0 -78
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +0 -74
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js +0 -63
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js +0 -81
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +0 -94
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js +0 -125
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js +0 -122
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js +0 -131
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js +0 -29
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js +0 -74
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js +0 -30
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js +0 -111
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js +0 -236
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js.map +0 -1
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js +0 -201
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js.map +0 -1
- package/out/main/package.js +0 -6
- package/out/main/package.js.map +0 -1
- package/out/main/power-logs-budget.js +0 -126
- package/out/main/power-logs-budget.js.map +0 -1
- package/out/main/power-logs-child.js.map +0 -1
- package/out/main/power-logs-ipc.js +0 -324
- package/out/main/power-logs-ipc.js.map +0 -1
- package/out/main/power-logs-query-child.js +0 -23
- package/out/main/power-logs-query-child.js.map +0 -1
- package/out/main/power-logs-worker.js +0 -237
- package/out/main/power-logs-worker.js.map +0 -1
- package/out/main/resource-search-database.js +0 -215
- package/out/main/resource-search-database.js.map +0 -1
- package/out/main/resource-search-worker.js +0 -60
- package/out/main/resource-search-worker.js.map +0 -1
- package/out/main/resource-search.js +0 -156
- package/out/main/resource-search.js.map +0 -1
- package/out/main/settings-export.js +0 -68
- package/out/main/settings-export.js.map +0 -1
- package/out/main/settings-import.js +0 -89
- package/out/main/settings-import.js.map +0 -1
- package/out/main/splash-accent.js +0 -84
- package/out/main/splash-accent.js.map +0 -1
- package/out/main/src/common/ai-attachments.js +0 -36
- package/out/main/src/common/ai-attachments.js.map +0 -1
- package/out/main/src/common/ai-extras.js +0 -68
- package/out/main/src/common/ai-extras.js.map +0 -1
- package/out/main/src/common/ai-models.js +0 -81
- package/out/main/src/common/ai-models.js.map +0 -1
- package/out/main/src/common/ai-prompts.js +0 -46
- package/out/main/src/common/ai-prompts.js.map +0 -1
- package/out/main/src/common/ai-resource-payload.js +0 -308
- package/out/main/src/common/ai-resource-payload.js.map +0 -1
- package/out/main/src/common/ai-shortcuts.js +0 -69
- package/out/main/src/common/ai-shortcuts.js.map +0 -1
- package/out/main/src/common/ai-terminal-context.js +0 -72
- package/out/main/src/common/ai-terminal-context.js.map +0 -1
- package/out/main/src/common/ai.js +0 -18
- package/out/main/src/common/ai.js.map +0 -1
- package/out/main/src/common/cluster-icon-ipc.js +0 -6
- package/out/main/src/common/cluster-icon-ipc.js.map +0 -1
- package/out/main/src/common/cluster-icons.js +0 -121
- package/out/main/src/common/cluster-icons.js.map +0 -1
- package/out/main/src/common/dashboard-ai.js +0 -64
- package/out/main/src/common/dashboard-ai.js.map +0 -1
- package/out/main/src/common/dashboard-picker.js +0 -133
- package/out/main/src/common/dashboard-picker.js.map +0 -1
- package/out/main/src/common/dashboard-readiness.js +0 -58
- package/out/main/src/common/dashboard-readiness.js.map +0 -1
- package/out/main/src/common/dashboard-selector.js +0 -124
- package/out/main/src/common/dashboard-selector.js.map +0 -1
- package/out/main/src/common/dashboard-views.js +0 -12
- package/out/main/src/common/dashboard-views.js.map +0 -1
- package/out/main/src/common/dashboard.js +0 -39
- package/out/main/src/common/dashboard.js.map +0 -1
- package/out/main/src/common/extension-info.js +0 -8
- package/out/main/src/common/extension-info.js.map +0 -1
- package/out/main/src/common/extension-updates.js +0 -13
- package/out/main/src/common/extension-updates.js.map +0 -1
- package/out/main/src/common/helm-values-validation.js +0 -56
- package/out/main/src/common/helm-values-validation.js.map +0 -1
- package/out/main/src/common/helm.js +0 -8
- package/out/main/src/common/helm.js.map +0 -1
- package/out/main/src/common/monitoring-history.js +0 -52
- package/out/main/src/common/monitoring-history.js.map +0 -1
- package/out/main/src/common/node-bulk.js +0 -6
- package/out/main/src/common/node-bulk.js.map +0 -1
- package/out/main/src/common/power-logs-limits.js +0 -227
- package/out/main/src/common/power-logs.js +0 -38
- package/out/main/src/common/resource-search-kind-priority.js +0 -23
- package/out/main/src/common/resource-search-kind-priority.js.map +0 -1
- package/out/main/src/common/resource-search.js +0 -61
- package/out/main/src/common/resource-search.js.map +0 -1
- package/out/main/src/common/settings-export.js +0 -83
- package/out/main/src/common/settings-export.js.map +0 -1
- package/out/main/src/common/store/ai-preferences-store.js +0 -143
- package/out/main/src/common/store/ai-preferences-store.js.map +0 -1
- package/out/main/src/common/store/ai-shortcuts-store.js +0 -40
- package/out/main/src/common/store/ai-shortcuts-store.js.map +0 -1
- package/out/main/src/common/store/appearance-preferences-store.js +0 -99
- package/out/main/src/common/store/appearance-preferences-store.js.map +0 -1
- package/out/main/src/common/store/cluster-icons-store.js +0 -32
- package/out/main/src/common/store/cluster-icons-store.js.map +0 -1
- package/out/main/src/common/store/dashboard-preferences-store.js +0 -56
- package/out/main/src/common/store/dashboard-preferences-store.js.map +0 -1
- package/out/main/src/common/store/helm-preferences-store.js +0 -26
- package/out/main/src/common/store/helm-preferences-store.js.map +0 -1
- package/out/main/src/common/store/logs-preferences-store.js +0 -50
- package/out/main/src/common/store/logs-preferences-store.js.map +0 -1
- package/out/main/src/common/store/monitoring-preferences-store.js +0 -69
- package/out/main/src/common/store/monitoring-preferences-store.js.map +0 -1
- package/out/main/src/common/store/node-shell-preferences-store.js +0 -44
- package/out/main/src/common/store/node-shell-preferences-store.js.map +0 -1
- package/out/main/src/common/store/power-preferences-store.js +0 -39
- package/out/main/src/common/store/power-preferences-store.js.map +0 -1
- package/out/main/src/common/store/read-only-preferences-store.js +0 -26
- package/out/main/src/common/store/read-only-preferences-store.js.map +0 -1
- package/out/renderer/_virtual/_global-external_@freelensapp/extensions.js +0 -9
- package/out/renderer/_virtual/_global-external_mobx-react.js +0 -20
- package/out/renderer/_virtual/_global-external_mobx.js +0 -80
- package/out/renderer/_virtual/_global-external_react/jsx-runtime.js +0 -10
- package/out/renderer/_virtual/_global-external_react-dom.js +0 -18
- package/out/renderer/_virtual/_global-external_react.js +0 -46
- package/out/renderer/_virtual/_rolldown/runtime.js +0 -35
- package/out/renderer/ai-attachment-card.js +0 -92
- package/out/renderer/ai-attachment-card.js.map +0 -1
- package/out/renderer/ai-context-mutations.js +0 -14
- package/out/renderer/ai-context-mutations.js.map +0 -1
- package/out/renderer/ai-copy-answer.js +0 -38
- package/out/renderer/ai-copy-answer.js.map +0 -1
- package/out/renderer/ai-diagnostic-handoff.js +0 -55
- package/out/renderer/ai-diagnostic-handoff.js.map +0 -1
- package/out/renderer/ai-extras.js +0 -165
- package/out/renderer/ai-extras.js.map +0 -1
- package/out/renderer/ai-icon.js +0 -46
- package/out/renderer/ai-icon.js.map +0 -1
- package/out/renderer/ai-logs-sql.js +0 -28
- package/out/renderer/ai-logs-sql.js.map +0 -1
- package/out/renderer/ai-message.js +0 -298
- package/out/renderer/ai-message.js.map +0 -1
- package/out/renderer/ai-provider-icon.js +0 -89
- package/out/renderer/ai-provider-icon.js.map +0 -1
- package/out/renderer/ai-resize.js +0 -90
- package/out/renderer/ai-resize.js.map +0 -1
- package/out/renderer/ai-shortcuts.js +0 -42
- package/out/renderer/ai-shortcuts.js.map +0 -1
- package/out/renderer/ai-terminal-context.js +0 -183
- package/out/renderer/ai-terminal-context.js.map +0 -1
- package/out/renderer/ai.js +0 -1313
- package/out/renderer/ai.js.map +0 -1
- package/out/renderer/appearance.js +0 -95
- package/out/renderer/appearance.js.map +0 -1
- package/out/renderer/assets/claude.js +0 -6
- package/out/renderer/assets/claude.js.map +0 -1
- package/out/renderer/assets/openai.js +0 -6
- package/out/renderer/assets/openai.js.map +0 -1
- package/out/renderer/assets/pi.js +0 -6
- package/out/renderer/assets/pi.js.map +0 -1
- package/out/renderer/button-styles.js +0 -49
- package/out/renderer/button-styles.js.map +0 -1
- package/out/renderer/cluster-icon-colors.js +0 -191
- package/out/renderer/cluster-icon-colors.js.map +0 -1
- package/out/renderer/cluster-icons.js +0 -311
- package/out/renderer/cluster-icons.js.map +0 -1
- package/out/renderer/dashboard.js +0 -591
- package/out/renderer/dashboard.js.map +0 -1
- package/out/renderer/details/hpa-diagnostics-details.js +0 -46
- package/out/renderer/details/hpa-diagnostics-details.js.map +0 -1
- package/out/renderer/details/namespace-health-details.js +0 -91
- package/out/renderer/details/namespace-health-details.js.map +0 -1
- package/out/renderer/details/resource-health-details.js +0 -135
- package/out/renderer/details/resource-health-details.js.map +0 -1
- package/out/renderer/details/secret-certificate-details.js +0 -68
- package/out/renderer/details/secret-certificate-details.js.map +0 -1
- package/out/renderer/details/service-diagnostics-details.js +0 -165
- package/out/renderer/details/service-diagnostics-details.js.map +0 -1
- package/out/renderer/diagnostic-explain-button.js +0 -19
- package/out/renderer/diagnostic-explain-button.js.map +0 -1
- package/out/renderer/diagnostics-screen-finding.js +0 -52
- package/out/renderer/diagnostics-screen-finding.js.map +0 -1
- package/out/renderer/diagnostics-state.js +0 -90
- package/out/renderer/diagnostics-state.js.map +0 -1
- package/out/renderer/diagnostics.css.js +0 -61
- package/out/renderer/diagnostics.css.js.map +0 -1
- package/out/renderer/diagnostics.js +0 -1740
- package/out/renderer/diagnostics.js.map +0 -1
- package/out/renderer/extension-update-notifications.js +0 -221
- package/out/renderer/extension-update-notifications.js.map +0 -1
- package/out/renderer/extension-update.js +0 -189
- package/out/renderer/extension-update.js.map +0 -1
- package/out/renderer/floating-action-transitions.js +0 -139
- package/out/renderer/floating-action-transitions.js.map +0 -1
- package/out/renderer/gateway-relationships-client.js +0 -107
- package/out/renderer/gateway-relationships-client.js.map +0 -1
- package/out/renderer/helm-app-version.js +0 -141
- package/out/renderer/helm-app-version.js.map +0 -1
- package/out/renderer/helm-code-view.js +0 -727
- package/out/renderer/helm-code-view.js.map +0 -1
- package/out/renderer/helm-entrypoints.js +0 -79
- package/out/renderer/helm-entrypoints.js.map +0 -1
- package/out/renderer/helm-full-comparison.js +0 -233
- package/out/renderer/helm-full-comparison.js.map +0 -1
- package/out/renderer/helm-operations.js +0 -541
- package/out/renderer/helm-operations.js.map +0 -1
- package/out/renderer/helm-release-actions.js +0 -296
- package/out/renderer/helm-release-actions.js.map +0 -1
- package/out/renderer/helm-revision-delete.js +0 -128
- package/out/renderer/helm-revision-delete.js.map +0 -1
- package/out/renderer/helm-version-index.js +0 -283
- package/out/renderer/helm-version-index.js.map +0 -1
- package/out/renderer/helm.js +0 -2383
- package/out/renderer/helm.js.map +0 -1
- package/out/renderer/host-extensions.js +0 -102
- package/out/renderer/host-extensions.js.map +0 -1
- package/out/renderer/host-layout.js +0 -59
- package/out/renderer/host-layout.js.map +0 -1
- package/out/renderer/host-preferences.js +0 -192
- package/out/renderer/host-preferences.js.map +0 -1
- package/out/renderer/incident-copy-button.js +0 -53
- package/out/renderer/incident-copy-button.js.map +0 -1
- package/out/renderer/index.js +0 -305
- package/out/renderer/index.js.map +0 -1
- package/out/renderer/menus/secure-node-shell-menu.js +0 -45
- package/out/renderer/menus/secure-node-shell-menu.js.map +0 -1
- package/out/renderer/monitoring-collector.js +0 -207
- package/out/renderer/monitoring-collector.js.map +0 -1
- package/out/renderer/monitoring-details-chart.js +0 -42
- package/out/renderer/monitoring-details-chart.js.map +0 -1
- package/out/renderer/monitoring-history-collection.js +0 -168
- package/out/renderer/monitoring-history-collection.js.map +0 -1
- package/out/renderer/monitoring-history-view.js +0 -227
- package/out/renderer/monitoring-history-view.js.map +0 -1
- package/out/renderer/monitoring-history.js +0 -19
- package/out/renderer/monitoring-history.js.map +0 -1
- package/out/renderer/monitoring.js +0 -939
- package/out/renderer/monitoring.js.map +0 -1
- package/out/renderer/native-resource-removals.js +0 -202
- package/out/renderer/native-resource-removals.js.map +0 -1
- package/out/renderer/native-tooltip.js +0 -22
- package/out/renderer/native-tooltip.js.map +0 -1
- package/out/renderer/node-bulk-actions.js +0 -527
- package/out/renderer/node-bulk-actions.js.map +0 -1
- package/out/renderer/node-bulk-selection.js +0 -203
- package/out/renderer/node-bulk-selection.js.map +0 -1
- package/out/renderer/node-monitoring.js +0 -127
- package/out/renderer/node-monitoring.js.map +0 -1
- package/out/renderer/node-shell-entrypoints.js +0 -65
- package/out/renderer/node-shell-entrypoints.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -10
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -9
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -9
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/classCallCheck.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createClass.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -19
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/createSuper.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -14
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js +0 -19
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/inherits.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -18
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -26
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -27
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectSpread2.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -14
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -12
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -15
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -12
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/slicedToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -12
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -16
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -11
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -18
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -13
- package/out/renderer/node_modules/.pnpm/@babel_runtime@7.27.6/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -237
- package/out/renderer/node_modules/.pnpm/@emotion_cache@11.14.0/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -25
- package/out/renderer/node_modules/.pnpm/@emotion_hash@0.9.2/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -12
- package/out/renderer/node_modules/.pnpm/@emotion_memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
- 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
- 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
- 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
- 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
- package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -133
- package/out/renderer/node_modules/.pnpm/@emotion_serialize@1.3.3/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -65
- package/out/renderer/node_modules/.pnpm/@emotion_sheet@1.4.0/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -54
- package/out/renderer/node_modules/.pnpm/@emotion_unitless@0.10.0/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
- 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
- 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
- package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -30
- package/out/renderer/node_modules/.pnpm/@emotion_utils@1.4.2/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -211
- 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
- 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
- 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
- package/out/renderer/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -31
- 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
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js +0 -45
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode-codepoint.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js +0 -392
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js +0 -7
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/generated/decode-data-html.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js +0 -27
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/bin-trie-flags.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js +0 -21
- package/out/renderer/node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/internal/decode-shared.js.map +0 -1
- 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
- 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
- package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js +0 -534
- package/out/renderer/node_modules/.pnpm/linkify-it@6.1.0/node_modules/linkify-it/build/index.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js +0 -3774
- package/out/renderer/node_modules/.pnpm/markdown-it@15.0.2/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js +0 -25
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/index.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js +0 -74
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/decode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js +0 -57
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/encode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js +0 -18
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/format.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js +0 -175
- package/out/renderer/node_modules/.pnpm/mdurl@2.1.0/node_modules/mdurl/lib/parse.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js +0 -38
- package/out/renderer/node_modules/.pnpm/memoize-one@6.0.0/node_modules/memoize-one/dist/memoize-one.esm.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +0 -307
- package/out/renderer/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -159
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -103
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -18
- package/out/renderer/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js.map +0 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js +0 -22
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Enum.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js +0 -30
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Middleware.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js +0 -164
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Parser.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js +0 -37
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Serializer.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js +0 -245
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Tokenizer.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js +0 -120
- package/out/renderer/node_modules/.pnpm/stylis@4.2.0/node_modules/stylis/src/Utility.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js +0 -30
- package/out/renderer/node_modules/.pnpm/uc.micro@3.0.0/node_modules/uc.micro/build/index.js.map +0 -1
- 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
- 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
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js +0 -52
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js +0 -41
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js +0 -88
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js +0 -59
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js +0 -195
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js +0 -84
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +0 -176
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +0 -42
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js +0 -38
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +0 -155
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +0 -206
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js +0 -107
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js +0 -29
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +0 -27
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +0 -12
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js +0 -12
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js +0 -279
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js +0 -67
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js +0 -40
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js +0 -63
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js +0 -165
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js +0 -53
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/index.js +0 -24
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js +0 -8
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js +0 -96
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js +0 -121
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js +0 -34
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js +0 -32
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js +0 -27
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js +0 -109
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +0 -106
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +0 -51
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js +0 -50
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js +0 -37
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-scalar.js +0 -3
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js +0 -91
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js +0 -42
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js +0 -531
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js +0 -47
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js +0 -861
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js +0 -56
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js +0 -29
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js +0 -18
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js +0 -15
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js +0 -18
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js +0 -16
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js +0 -19
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js +0 -42
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js +0 -41
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js +0 -25
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js +0 -63
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js +0 -84
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +0 -54
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +0 -27
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +0 -45
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +0 -75
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +0 -43
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +0 -63
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +0 -60
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +0 -41
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +0 -68
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +0 -83
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +0 -116
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js +0 -108
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +0 -118
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js +0 -20
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +0 -61
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +0 -21
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js +0 -97
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js +0 -224
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js +0 -190
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js.map +0 -1
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/index.js +0 -24
- package/out/renderer/package.js +0 -6
- package/out/renderer/package.js.map +0 -1
- package/out/renderer/pod-bulk-customization.js +0 -51
- package/out/renderer/pod-bulk-customization.js.map +0 -1
- package/out/renderer/pod-details-enhancements.js +0 -107
- package/out/renderer/pod-details-enhancements.js.map +0 -1
- package/out/renderer/pod-monitoring.js +0 -309
- package/out/renderer/pod-monitoring.js.map +0 -1
- package/out/renderer/pod-removal-confirmation.js +0 -172
- package/out/renderer/pod-removal-confirmation.js.map +0 -1
- package/out/renderer/power-log-column-widths.js +0 -54
- package/out/renderer/power-log-column-widths.js.map +0 -1
- package/out/renderer/power-log-columns.js +0 -114
- package/out/renderer/power-log-columns.js.map +0 -1
- package/out/renderer/power-log-json-cell.js +0 -88
- package/out/renderer/power-log-json-cell.js.map +0 -1
- package/out/renderer/power-log-json-fields.js +0 -144
- package/out/renderer/power-log-json-fields.js.map +0 -1
- package/out/renderer/power-log-json.js +0 -261
- package/out/renderer/power-log-json.js.map +0 -1
- package/out/renderer/power-log-message-tokens.js +0 -60
- package/out/renderer/power-log-message-tokens.js.map +0 -1
- package/out/renderer/power-log-message.js +0 -26
- package/out/renderer/power-log-message.js.map +0 -1
- package/out/renderer/power-log-sql-editor.js +0 -120
- package/out/renderer/power-log-sql-editor.js.map +0 -1
- package/out/renderer/power-logs-client.js +0 -44
- package/out/renderer/power-logs-client.js.map +0 -1
- package/out/renderer/power-logs-collector.js +0 -316
- package/out/renderer/power-logs-collector.js.map +0 -1
- package/out/renderer/power-logs-context.js +0 -45
- package/out/renderer/power-logs-context.js.map +0 -1
- package/out/renderer/power-logs-entrypoints.js +0 -178
- package/out/renderer/power-logs-entrypoints.js.map +0 -1
- package/out/renderer/power-logs-resource-stores.js +0 -71
- package/out/renderer/power-logs-resource-stores.js.map +0 -1
- package/out/renderer/power-logs-session.js +0 -35
- package/out/renderer/power-logs-session.js.map +0 -1
- package/out/renderer/power-logs-sql-drafts.js +0 -76
- package/out/renderer/power-logs-sql-drafts.js.map +0 -1
- package/out/renderer/power-logs-sql-row.js +0 -44
- package/out/renderer/power-logs-sql-row.js.map +0 -1
- package/out/renderer/power-logs-storage.js +0 -11
- package/out/renderer/power-logs-storage.js.map +0 -1
- package/out/renderer/power-logs-transport.js +0 -122
- package/out/renderer/power-logs-transport.js.map +0 -1
- package/out/renderer/power-logs.css.js +0 -216
- package/out/renderer/power-logs.css.js.map +0 -1
- package/out/renderer/power-logs.js +0 -2143
- package/out/renderer/power-logs.js.map +0 -1
- package/out/renderer/preferences/ai-preferences.js +0 -458
- package/out/renderer/preferences/ai-preferences.js.map +0 -1
- package/out/renderer/preferences/ai-shortcuts-preferences.js +0 -175
- package/out/renderer/preferences/ai-shortcuts-preferences.js.map +0 -1
- package/out/renderer/preferences/appearance-preferences.js +0 -97
- package/out/renderer/preferences/appearance-preferences.js.map +0 -1
- package/out/renderer/preferences/dashboard-preferences.js +0 -430
- package/out/renderer/preferences/dashboard-preferences.js.map +0 -1
- package/out/renderer/preferences/helm-preferences.js +0 -22
- package/out/renderer/preferences/helm-preferences.js.map +0 -1
- package/out/renderer/preferences/logs-preferences.js +0 -328
- package/out/renderer/preferences/logs-preferences.js.map +0 -1
- package/out/renderer/preferences/monitoring-preferences.js +0 -175
- package/out/renderer/preferences/monitoring-preferences.js.map +0 -1
- package/out/renderer/preferences/node-shell-preferences.js +0 -83
- package/out/renderer/preferences/node-shell-preferences.js.map +0 -1
- package/out/renderer/preferences/other-preferences.js +0 -55
- package/out/renderer/preferences/other-preferences.js.map +0 -1
- package/out/renderer/preferences/power-preferences.js +0 -39
- package/out/renderer/preferences/power-preferences.js.map +0 -1
- package/out/renderer/preferences/preferences.js +0 -294
- package/out/renderer/preferences/preferences.js.map +0 -1
- package/out/renderer/preferences/read-only-preferences.js +0 -23
- package/out/renderer/preferences/read-only-preferences.js.map +0 -1
- package/out/renderer/preferences/section-navigation.js +0 -44
- package/out/renderer/preferences/section-navigation.js.map +0 -1
- package/out/renderer/preferences/settings-export.js +0 -91
- package/out/renderer/preferences/settings-export.js.map +0 -1
- package/out/renderer/preferences/settings-icon-action.js +0 -24
- package/out/renderer/preferences/settings-icon-action.js.map +0 -1
- package/out/renderer/preferences/settings-modal.js +0 -82
- package/out/renderer/preferences/settings-modal.js.map +0 -1
- package/out/renderer/read-only.js +0 -103
- package/out/renderer/read-only.js.map +0 -1
- package/out/renderer/relationship-map-finding.js +0 -54
- package/out/renderer/relationship-map-finding.js.map +0 -1
- package/out/renderer/resource-relationships.css.js +0 -17
- package/out/renderer/resource-relationships.css.js.map +0 -1
- package/out/renderer/resource-relationships.js +0 -663
- package/out/renderer/resource-relationships.js.map +0 -1
- package/out/renderer/resource-search-client.js +0 -116
- package/out/renderer/resource-search-client.js.map +0 -1
- package/out/renderer/resource-search-discovery.js +0 -79
- package/out/renderer/resource-search-discovery.js.map +0 -1
- package/out/renderer/resource-search-distance.js +0 -24
- package/out/renderer/resource-search-distance.js.map +0 -1
- package/out/renderer/resource-search-fields.js +0 -55
- package/out/renderer/resource-search-fields.js.map +0 -1
- package/out/renderer/resource-search-model.js +0 -195
- package/out/renderer/resource-search-model.js.map +0 -1
- package/out/renderer/resource-search-routing.js +0 -78
- package/out/renderer/resource-search-routing.js.map +0 -1
- package/out/renderer/resource-search-sync.js +0 -199
- package/out/renderer/resource-search-sync.js.map +0 -1
- package/out/renderer/resource-search.js +0 -646
- package/out/renderer/resource-search.js.map +0 -1
- package/out/renderer/secret-dialog-customization.js +0 -142
- package/out/renderer/secret-dialog-customization.js.map +0 -1
- package/out/renderer/src/common/ai-attachments.js +0 -160
- package/out/renderer/src/common/ai-attachments.js.map +0 -1
- package/out/renderer/src/common/ai-extras.js +0 -68
- package/out/renderer/src/common/ai-extras.js.map +0 -1
- package/out/renderer/src/common/ai-models.js +0 -64
- package/out/renderer/src/common/ai-models.js.map +0 -1
- package/out/renderer/src/common/ai-prompts.js +0 -46
- package/out/renderer/src/common/ai-prompts.js.map +0 -1
- package/out/renderer/src/common/ai-resource-payload.js +0 -262
- package/out/renderer/src/common/ai-resource-payload.js.map +0 -1
- package/out/renderer/src/common/ai-shortcuts.js +0 -78
- package/out/renderer/src/common/ai-shortcuts.js.map +0 -1
- package/out/renderer/src/common/ai-terminal-context.js +0 -72
- package/out/renderer/src/common/ai-terminal-context.js.map +0 -1
- package/out/renderer/src/common/ai.js +0 -14
- package/out/renderer/src/common/ai.js.map +0 -1
- package/out/renderer/src/common/cluster-icon-ipc.js +0 -6
- package/out/renderer/src/common/cluster-icon-ipc.js.map +0 -1
- package/out/renderer/src/common/cluster-icons.js +0 -133
- package/out/renderer/src/common/cluster-icons.js.map +0 -1
- package/out/renderer/src/common/dashboard-ai.js +0 -22
- package/out/renderer/src/common/dashboard-ai.js.map +0 -1
- package/out/renderer/src/common/dashboard-picker.js +0 -6
- package/out/renderer/src/common/dashboard-picker.js.map +0 -1
- package/out/renderer/src/common/dashboard-selector.js +0 -9
- package/out/renderer/src/common/dashboard-selector.js.map +0 -1
- package/out/renderer/src/common/dashboard-views.js +0 -18
- package/out/renderer/src/common/dashboard-views.js.map +0 -1
- package/out/renderer/src/common/dashboard.js +0 -39
- package/out/renderer/src/common/dashboard.js.map +0 -1
- package/out/renderer/src/common/date-time.js +0 -11
- package/out/renderer/src/common/date-time.js.map +0 -1
- package/out/renderer/src/common/extension-info.js +0 -8
- package/out/renderer/src/common/extension-info.js.map +0 -1
- package/out/renderer/src/common/extension-updates.js +0 -33
- package/out/renderer/src/common/extension-updates.js.map +0 -1
- package/out/renderer/src/common/gateway-relationships.js +0 -123
- package/out/renderer/src/common/gateway-relationships.js.map +0 -1
- package/out/renderer/src/common/helm-diff.js +0 -312
- package/out/renderer/src/common/helm-diff.js.map +0 -1
- package/out/renderer/src/common/helm-values-validation.js +0 -59
- package/out/renderer/src/common/helm-values-validation.js.map +0 -1
- package/out/renderer/src/common/helm.js +0 -10
- package/out/renderer/src/common/helm.js.map +0 -1
- package/out/renderer/src/common/hpa-diagnostics.js +0 -24
- package/out/renderer/src/common/hpa-diagnostics.js.map +0 -1
- package/out/renderer/src/common/incident-summary.js +0 -73
- package/out/renderer/src/common/incident-summary.js.map +0 -1
- package/out/renderer/src/common/monitoring-history.js +0 -17
- package/out/renderer/src/common/monitoring-history.js.map +0 -1
- package/out/renderer/src/common/monitoring-math.js +0 -98
- package/out/renderer/src/common/monitoring-math.js.map +0 -1
- package/out/renderer/src/common/node-bulk.js +0 -6
- package/out/renderer/src/common/node-bulk.js.map +0 -1
- package/out/renderer/src/common/node-shell.js +0 -22
- package/out/renderer/src/common/node-shell.js.map +0 -1
- package/out/renderer/src/common/power-log-field-filters.js +0 -92
- package/out/renderer/src/common/power-log-field-filters.js.map +0 -1
- package/out/renderer/src/common/power-log-json-filter-sql.js +0 -118
- package/out/renderer/src/common/power-log-json-filter-sql.js.map +0 -1
- package/out/renderer/src/common/power-log-json-preset.js +0 -34
- package/out/renderer/src/common/power-log-json-preset.js.map +0 -1
- package/out/renderer/src/common/power-log-level.js +0 -172
- package/out/renderer/src/common/power-log-level.js.map +0 -1
- package/out/renderer/src/common/power-log-parser.js +0 -92
- package/out/renderer/src/common/power-log-parser.js.map +0 -1
- package/out/renderer/src/common/power-log-sql-level.js +0 -25
- package/out/renderer/src/common/power-log-sql-level.js.map +0 -1
- package/out/renderer/src/common/power-logs-ai.js +0 -60
- package/out/renderer/src/common/power-logs-ai.js.map +0 -1
- package/out/renderer/src/common/power-logs-limits.js.map +0 -1
- package/out/renderer/src/common/power-logs.js +0 -38
- package/out/renderer/src/common/power-logs.js.map +0 -1
- package/out/renderer/src/common/resource-diagnostics.js +0 -227
- package/out/renderer/src/common/resource-diagnostics.js.map +0 -1
- package/out/renderer/src/common/resource-health.js +0 -92
- package/out/renderer/src/common/resource-health.js.map +0 -1
- package/out/renderer/src/common/resource-relationships.js +0 -165
- package/out/renderer/src/common/resource-relationships.js.map +0 -1
- package/out/renderer/src/common/resource-search-kind-priority.js +0 -28
- package/out/renderer/src/common/resource-search-kind-priority.js.map +0 -1
- package/out/renderer/src/common/resource-search.js +0 -6
- package/out/renderer/src/common/resource-search.js.map +0 -1
- package/out/renderer/src/common/search-index-redaction.js +0 -26
- package/out/renderer/src/common/search-index-redaction.js.map +0 -1
- package/out/renderer/src/common/secret-certificates.js +0 -34
- package/out/renderer/src/common/secret-certificates.js.map +0 -1
- package/out/renderer/src/common/service-diagnostics.js +0 -50
- package/out/renderer/src/common/service-diagnostics.js.map +0 -1
- package/out/renderer/src/common/settings-export.js +0 -8
- package/out/renderer/src/common/settings-export.js.map +0 -1
- package/out/renderer/src/common/store/ai-preferences-store.js +0 -143
- package/out/renderer/src/common/store/ai-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/ai-shortcuts-store.js +0 -40
- package/out/renderer/src/common/store/ai-shortcuts-store.js.map +0 -1
- package/out/renderer/src/common/store/appearance-preferences-store.js +0 -99
- package/out/renderer/src/common/store/appearance-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/dashboard-preferences-store.js +0 -56
- package/out/renderer/src/common/store/dashboard-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/helm-preferences-store.js +0 -26
- package/out/renderer/src/common/store/helm-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/logs-preferences-store.js +0 -50
- package/out/renderer/src/common/store/logs-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/monitoring-preferences-store.js +0 -69
- package/out/renderer/src/common/store/monitoring-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/node-shell-preferences-store.js +0 -44
- package/out/renderer/src/common/store/node-shell-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/power-preferences-store.js +0 -39
- package/out/renderer/src/common/store/power-preferences-store.js.map +0 -1
- package/out/renderer/src/common/store/read-only-preferences-store.js +0 -26
- package/out/renderer/src/common/store/read-only-preferences-store.js.map +0 -1
- package/out/renderer/src/common/timeline-groups.js +0 -36
- package/out/renderer/src/common/timeline-groups.js.map +0 -1
- package/out/renderer/welcome.js +0 -147
- package/out/renderer/welcome.js.map +0 -1
package/out/main/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/main/index.ts"],"sourcesContent":["import { Main } from \"@freelensapp/extensions\";\nimport { reaction } from \"mobx\";\nimport { EXTENSION_DISPLAY_NAME, EXTENSION_ID } from \"../common/extension-info\";\nimport { AiPreferencesStore } from \"../common/store/ai-preferences-store\";\nimport { AiShortcutsStore } from \"../common/store/ai-shortcuts-store\";\nimport { AppearancePreferencesStore } from \"../common/store/appearance-preferences-store\";\nimport { ClusterIconsStore } from \"../common/store/cluster-icons-store\";\nimport { DashboardPreferencesStore } from \"../common/store/dashboard-preferences-store\";\nimport { HelmPreferencesStore } from \"../common/store/helm-preferences-store\";\nimport { LogsPreferencesStore } from \"../common/store/logs-preferences-store\";\nimport { MonitoringPreferencesStore } from \"../common/store/monitoring-preferences-store\";\nimport { NodeShellPreferencesStore } from \"../common/store/node-shell-preferences-store\";\nimport { PowerPreferencesStore } from \"../common/store/power-preferences-store\";\nimport { ReadOnlyPreferencesStore } from \"../common/store/read-only-preferences-store\";\nimport { startAiIpc } from \"./ai-ipc\";\nimport { startAiModels } from \"./ai-models\";\nimport { startClusterIcons } from \"./cluster-icons\";\nimport { registerClusterIconsCatalog } from \"./cluster-icons-catalog\";\nimport { registerDashboardCatalog } from \"./dashboard-catalog\";\nimport { startDashboardPicker } from \"./dashboard-picker\";\nimport { startDashboardViews } from \"./dashboard-views\";\nimport { startDiagnosticsMenuOrder } from \"./diagnostics-menu-order\";\nimport { startDockIconOverride } from \"./dock-icon\";\nimport { startExtensionUpdates } from \"./extension-updates\";\nimport { startPowerHelm } from \"./helm-ipc\";\nimport { startMonitoringHistory } from \"./monitoring-history\";\nimport { startNodeBulk } from \"./node-bulk\";\nimport { startPowerLogs } from \"./power-logs-ipc\";\nimport { startResourceSearchIndex } from \"./resource-search\";\nimport { startSettingsExport } from \"./settings-export\";\nimport { startSplashAccentOverride } from \"./splash-accent\";\n\nexport default class FreelensPowerMain extends Main.LensExtension {\n private stopFeatures?: () => void;\n\n get name() {\n return EXTENSION_DISPLAY_NAME;\n }\n get sanitizedExtensionId() {\n return EXTENSION_ID;\n }\n get storeName() {\n return this.manifest.storeName || EXTENSION_ID;\n }\n\n onActivate() {\n const power = PowerPreferencesStore.getInstanceOrCreate<PowerPreferencesStore>();\n power.loadExtension(this);\n LogsPreferencesStore.getInstanceOrCreate().loadExtension(this);\n HelmPreferencesStore.getInstanceOrCreate().loadExtension(this);\n AiPreferencesStore.getInstanceOrCreate().loadExtension(this);\n AiShortcutsStore.getInstanceOrCreate().loadExtension(this);\n ReadOnlyPreferencesStore.getInstanceOrCreate().loadExtension(this);\n NodeShellPreferencesStore.getInstanceOrCreate().loadExtension(this);\n MonitoringPreferencesStore.getInstanceOrCreate().loadExtension(this);\n AppearancePreferencesStore.getInstanceOrCreate().loadExtension(this);\n DashboardPreferencesStore.getInstanceOrCreate().loadExtension(this);\n ClusterIconsStore.getInstanceOrCreate().loadExtension(this);\n this.stopFeatures?.();\n const stopExport = startSettingsExport();\n let disposers: (() => void)[] = [];\n const stop = reaction(\n () => power.enabled,\n (enabled) => {\n for (const dispose of disposers) dispose();\n disposers = enabled\n ? [\n startExtensionUpdates(this),\n startMonitoringHistory(this),\n startResourceSearchIndex(),\n startPowerLogs(),\n startPowerHelm(),\n startNodeBulk(),\n startDiagnosticsMenuOrder(),\n startAiIpc(),\n startAiModels(),\n startDockIconOverride(),\n startSplashAccentOverride(),\n startDashboardViews(),\n startDashboardPicker(),\n registerDashboardCatalog(this),\n registerClusterIconsCatalog(this),\n startClusterIcons(),\n ]\n : [];\n },\n { fireImmediately: true },\n );\n this.stopFeatures = () => {\n stop();\n stopExport();\n for (const dispose of disposers) dispose();\n disposers = [];\n };\n }\n\n onDeactivate() {\n this.stopFeatures?.();\n this.stopFeatures = undefined;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,IAAqB,oBAArB,cAA+C,mBAAA,KAAK,cAAc;CAChE;CAEA,IAAI,OAAO;EACT,OAAO,uBAAA;CACT;CACA,IAAI,uBAAuB;EACzB,OAAO,uBAAA;CACT;CACA,IAAI,YAAY;EACd,OAAO,KAAK,SAAS,aAAA;CACvB;CAEA,aAAa;EACX,MAAM,QAAQ,gCAAA,sBAAsB,oBAA2C;EAC/E,MAAM,cAAc,IAAI;EACxB,+BAAA,qBAAqB,oBAAoB,CAAC,CAAC,cAAc,IAAI;EAC7D,+BAAA,qBAAqB,oBAAoB,CAAC,CAAC,cAAc,IAAI;EAC7D,6BAAA,mBAAmB,oBAAoB,CAAC,CAAC,cAAc,IAAI;EAC3D,2BAAA,iBAAiB,oBAAoB,CAAC,CAAC,cAAc,IAAI;EACzD,oCAAA,yBAAyB,oBAAoB,CAAC,CAAC,cAAc,IAAI;EACjE,qCAAA,0BAA0B,oBAAoB,CAAC,CAAC,cAAc,IAAI;EAClE,qCAAA,2BAA2B,oBAAoB,CAAC,CAAC,cAAc,IAAI;EACnE,qCAAA,2BAA2B,oBAAoB,CAAC,CAAC,cAAc,IAAI;EACnE,oCAAA,0BAA0B,oBAAoB,CAAC,CAAC,cAAc,IAAI;EAClE,4BAAA,kBAAkB,oBAAoB,CAAC,CAAC,cAAc,IAAI;EAC1D,KAAK,eAAe;EACpB,MAAM,aAAa,wBAAA,oBAAoB;EACvC,IAAI,YAA4B,CAAC;EACjC,MAAM,OAAO,8BAAA,eACL,MAAM,UACX,YAAY;GACX,KAAK,MAAM,WAAW,WAAW,QAAQ;GACzC,YAAY,UACR;IACE,0BAAA,sBAAsB,IAAI;IAC1B,2BAAA,uBAAuB,IAAI;IAC3B,wBAAA,yBAAyB;IACzB,uBAAA,eAAe;IACf,iBAAA,eAAe;IACf,kBAAA,cAAc;IACd,+BAAA,0BAA0B;IAC1B,eAAA,WAAW;IACX,kBAAA,cAAc;IACd,kBAAA,sBAAsB;IACtB,sBAAA,0BAA0B;IAC1B,wBAAA,oBAAoB;IACpB,yBAAA,qBAAqB;IACrB,0BAAA,yBAAyB,IAAI;IAC7B,8BAAA,4BAA4B,IAAI;IAChC,sBAAA,kBAAkB;GACpB,IACA,CAAC;EACP,GACA,EAAE,iBAAiB,KAAK,CAC1B;EACA,KAAK,qBAAqB;GACxB,KAAK;GACL,WAAW;GACX,KAAK,MAAM,WAAW,WAAW,QAAQ;GACzC,YAAY,CAAC;EACf;CACF;CAEA,eAAe;EACb,KAAK,eAAe;EACpB,KAAK,eAAe,KAAA;CACtB;AACF"}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
//#region src/main/monitoring-history-database.ts
|
|
2
|
-
var MonitoringHistoryDatabase = class {
|
|
3
|
-
path;
|
|
4
|
-
maxBytes;
|
|
5
|
-
db;
|
|
6
|
-
constructor(path, maxBytes = 100 * 1024 * 1024) {
|
|
7
|
-
this.path = path;
|
|
8
|
-
this.maxBytes = maxBytes;
|
|
9
|
-
const { DatabaseSync } = require("node:sqlite");
|
|
10
|
-
this.db = new DatabaseSync(path);
|
|
11
|
-
this.db.exec(`PRAGMA journal_mode=DELETE; PRAGMA synchronous=FULL; PRAGMA temp_store=MEMORY; PRAGMA cache_size=-2048; PRAGMA auto_vacuum=FULL;
|
|
12
|
-
CREATE TABLE IF NOT EXISTS points (cluster TEXT, scope TEXT, uid TEXT, metric TEXT, resolution INTEGER, time INTEGER, min REAL, max REAL, total REAL, count INTEGER, first INTEGER, last INTEGER, PRIMARY KEY(cluster,scope,uid,metric,resolution,time)) WITHOUT ROWID;`);
|
|
13
|
-
this.db.exec(`PRAGMA max_page_count=${Math.max(8, Math.floor(this.maxBytes / 3 / 4096))}`);
|
|
14
|
-
this.prune();
|
|
15
|
-
}
|
|
16
|
-
append(samples, now = Date.now()) {
|
|
17
|
-
const put = this.db.prepare(`INSERT INTO points VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ON CONFLICT(cluster,scope,uid,metric,resolution,time) DO UPDATE SET min=MIN(min,excluded.min), max=MAX(max,excluded.max),total=total+excluded.total,count=count+1,first=MIN(first,excluded.first),last=MAX(last,excluded.last) WHERE excluded.last > last`);
|
|
18
|
-
this.prune(now);
|
|
19
|
-
for (const sample of samples) {
|
|
20
|
-
let saved = false;
|
|
21
|
-
for (let attempt = 0; attempt < 8 && !saved; attempt++) {
|
|
22
|
-
this.db.exec("BEGIN");
|
|
23
|
-
try {
|
|
24
|
-
for (const [metric, value] of Object.entries(sample.values)) for (const resolution of [
|
|
25
|
-
3e4,
|
|
26
|
-
3e5,
|
|
27
|
-
18e5
|
|
28
|
-
]) put.run(sample.clusterId, sample.scope, sample.uid, metric, resolution, Math.floor(sample.time / resolution) * resolution, value, value, value, 1, sample.time, sample.time);
|
|
29
|
-
this.db.exec("COMMIT");
|
|
30
|
-
saved = true;
|
|
31
|
-
} catch (error) {
|
|
32
|
-
try {
|
|
33
|
-
this.db.exec("ROLLBACK");
|
|
34
|
-
} catch {}
|
|
35
|
-
if (error.errcode !== 13) throw error;
|
|
36
|
-
if (!this.evictOldest()) throw new Error("History storage cannot fit a numeric sample");
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
if (!saved) throw new Error("History storage is full");
|
|
40
|
-
}
|
|
41
|
-
this.prune(now);
|
|
42
|
-
}
|
|
43
|
-
prune(now = Date.now()) {
|
|
44
|
-
this.db.prepare("DELETE FROM points WHERE time < ? OR (resolution=30000 AND time < ?) OR (resolution=300000 AND time < ?)").run(now - 6048e5, now - 72e5, now - 864e5);
|
|
45
|
-
while (this.occupiedBytes() > this.maxBytes / 4) if (!this.evictOldest()) break;
|
|
46
|
-
}
|
|
47
|
-
occupiedBytes() {
|
|
48
|
-
return (Number(this.db.prepare("PRAGMA page_count").get()?.page_count ?? 0) - Number(this.db.prepare("PRAGMA freelist_count").get()?.freelist_count ?? 0)) * Number(this.db.prepare("PRAGMA page_size").get()?.page_size ?? 4096);
|
|
49
|
-
}
|
|
50
|
-
evictOldest() {
|
|
51
|
-
const count = Number(this.db.prepare("SELECT count(*) AS count FROM points").get()?.count ?? 0);
|
|
52
|
-
if (!count) return false;
|
|
53
|
-
const limit = Math.min(256, Math.max(1, Math.ceil(count / 8)));
|
|
54
|
-
this.db.prepare("DELETE FROM points WHERE (cluster,scope,uid,metric,resolution,time) IN (SELECT cluster,scope,uid,metric,resolution,time FROM points ORDER BY time LIMIT ?)").run(limit);
|
|
55
|
-
const pages = Number(this.db.prepare("PRAGMA page_count").get()?.page_count ?? 0);
|
|
56
|
-
if (Number(this.db.prepare("PRAGMA freelist_count").get()?.freelist_count ?? 0) > pages / 4) this.db.exec("VACUUM");
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
query(query, now = Date.now()) {
|
|
60
|
-
this.prune(now);
|
|
61
|
-
return this.db.prepare(`SELECT time,resolution,metric,min,max,total/count AS avg,count,first,last FROM points WHERE cluster=? AND scope=? AND uid=? AND (CASE WHEN resolution=30000 THEN last ELSE time+resolution-1 END)>=? AND (CASE WHEN resolution=30000 THEN last ELSE time END)<=? AND ((time>=? AND resolution=30000) OR (time<? AND time>=? AND resolution=300000) OR (time<? AND resolution=1800000)) ORDER BY time LIMIT 20000`).all(query.clusterId, query.scope, query.uid, query.from, query.to, now - 72e5, now - 72e5, now - 864e5, now - 864e5).map((row) => ({
|
|
62
|
-
time: Number(row.resolution) === 3e4 ? Number(row.last) : Number(row.time),
|
|
63
|
-
resolution: Number(row.resolution),
|
|
64
|
-
metric: row.metric,
|
|
65
|
-
min: Number(row.min),
|
|
66
|
-
max: Number(row.max),
|
|
67
|
-
avg: Number(row.avg),
|
|
68
|
-
count: Number(row.count),
|
|
69
|
-
gap: Number(row.last) - Number(row.first) > Number(row.count) * 3e4 || Number(row.count) * 3e4 < Number(row.resolution)
|
|
70
|
-
}));
|
|
71
|
-
}
|
|
72
|
-
bytes() {
|
|
73
|
-
return [
|
|
74
|
-
this.path,
|
|
75
|
-
`${this.path}-journal`,
|
|
76
|
-
`${this.path}-wal`,
|
|
77
|
-
`${this.path}-shm`
|
|
78
|
-
].reduce((sum, path) => {
|
|
79
|
-
try {
|
|
80
|
-
return sum + require("node:fs").statSync(path).size;
|
|
81
|
-
} catch {
|
|
82
|
-
return sum;
|
|
83
|
-
}
|
|
84
|
-
}, 0);
|
|
85
|
-
}
|
|
86
|
-
status() {
|
|
87
|
-
this.prune();
|
|
88
|
-
return {
|
|
89
|
-
bytes: this.bytes(),
|
|
90
|
-
samples: Number(this.db.prepare("SELECT count(*) AS count FROM points").get()?.count ?? 0)
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
clear() {
|
|
94
|
-
this.db.exec("DELETE FROM points; VACUUM");
|
|
95
|
-
}
|
|
96
|
-
close() {
|
|
97
|
-
this.db.close();
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
//#endregion
|
|
101
|
-
exports.MonitoringHistoryDatabase = MonitoringHistoryDatabase;
|
|
102
|
-
|
|
103
|
-
//# sourceMappingURL=monitoring-history-database.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring-history-database.js","names":[],"sources":["../../src/main/monitoring-history-database.ts"],"sourcesContent":["import { type HistoryPoint, type HistoryQuery, type HistorySample } from \"../common/monitoring-history\";\n\nexport class MonitoringHistoryDatabase {\n private db: import(\"node:sqlite\").DatabaseSync;\n constructor(\n private path: string,\n private maxBytes = 100 * 1024 * 1024,\n ) {\n const { DatabaseSync } = require(\"node:sqlite\") as typeof import(\"node:sqlite\");\n this.db = new DatabaseSync(path);\n this.db.exec(`PRAGMA journal_mode=DELETE; PRAGMA synchronous=FULL; PRAGMA temp_store=MEMORY; PRAGMA cache_size=-2048; PRAGMA auto_vacuum=FULL;\n CREATE TABLE IF NOT EXISTS points (cluster TEXT, scope TEXT, uid TEXT, metric TEXT, resolution INTEGER, time INTEGER, min REAL, max REAL, total REAL, count INTEGER, first INTEGER, last INTEGER, PRIMARY KEY(cluster,scope,uid,metric,resolution,time)) WITHOUT ROWID;`);\n this.db.exec(`PRAGMA max_page_count=${Math.max(8, Math.floor(this.maxBytes / 3 / 4096))}`);\n this.prune();\n }\n append(samples: HistorySample[], now = Date.now()): void {\n const put = this.db.prepare(\n `INSERT INTO points VALUES(?,?,?,?,?,?,?,?,?,?,?,?) ON CONFLICT(cluster,scope,uid,metric,resolution,time) DO UPDATE SET min=MIN(min,excluded.min), max=MAX(max,excluded.max),total=total+excluded.total,count=count+1,first=MIN(first,excluded.first),last=MAX(last,excluded.last) WHERE excluded.last > last`,\n );\n this.prune(now);\n for (const sample of samples) {\n let saved = false;\n for (let attempt = 0; attempt < 8 && !saved; attempt++) {\n this.db.exec(\"BEGIN\");\n try {\n for (const [metric, value] of Object.entries(sample.values))\n for (const resolution of [30_000, 300_000, 1_800_000]) {\n put.run(\n sample.clusterId,\n sample.scope,\n sample.uid,\n metric,\n resolution,\n Math.floor(sample.time / resolution) * resolution,\n value,\n value,\n value,\n 1,\n sample.time,\n sample.time,\n );\n }\n this.db.exec(\"COMMIT\");\n saved = true;\n } catch (error) {\n try {\n this.db.exec(\"ROLLBACK\");\n } catch {\n /* sqlite can roll back a full transaction automatically */\n }\n if ((error as { errcode?: number }).errcode !== 13) throw error;\n if (!this.evictOldest()) throw new Error(\"History storage cannot fit a numeric sample\");\n }\n }\n if (!saved) throw new Error(\"History storage is full\");\n }\n this.prune(now);\n }\n prune(now = Date.now()): void {\n this.db\n .prepare(\n \"DELETE FROM points WHERE time < ? OR (resolution=30000 AND time < ?) OR (resolution=300000 AND time < ?)\",\n )\n .run(now - 604_800_000, now - 7_200_000, now - 86_400_000);\n // reserve room for rollback journals and compaction without dropping all history\n while (this.occupiedBytes() > this.maxBytes / 4) {\n if (!this.evictOldest()) break;\n }\n }\n private occupiedBytes(): number {\n const pages = Number(this.db.prepare(\"PRAGMA page_count\").get()?.page_count ?? 0);\n const free = Number(this.db.prepare(\"PRAGMA freelist_count\").get()?.freelist_count ?? 0);\n return (pages - free) * Number(this.db.prepare(\"PRAGMA page_size\").get()?.page_size ?? 4096);\n }\n private evictOldest(): boolean {\n const count = Number(this.db.prepare(\"SELECT count(*) AS count FROM points\").get()?.count ?? 0);\n if (!count) return false;\n const limit = Math.min(256, Math.max(1, Math.ceil(count / 8)));\n this.db\n .prepare(\n \"DELETE FROM points WHERE (cluster,scope,uid,metric,resolution,time) IN (SELECT cluster,scope,uid,metric,resolution,time FROM points ORDER BY time LIMIT ?)\",\n )\n .run(limit);\n const pages = Number(this.db.prepare(\"PRAGMA page_count\").get()?.page_count ?? 0);\n const free = Number(this.db.prepare(\"PRAGMA freelist_count\").get()?.freelist_count ?? 0);\n if (free > pages / 4) this.db.exec(\"VACUUM\");\n return true;\n }\n\n query(query: HistoryQuery, now = Date.now()): HistoryPoint[] {\n this.prune(now);\n const rows = this.db\n .prepare(\n `SELECT time,resolution,metric,min,max,total/count AS avg,count,first,last FROM points WHERE cluster=? AND scope=? AND uid=? AND (CASE WHEN resolution=30000 THEN last ELSE time+resolution-1 END)>=? AND (CASE WHEN resolution=30000 THEN last ELSE time END)<=? AND ((time>=? AND resolution=30000) OR (time<? AND time>=? AND resolution=300000) OR (time<? AND resolution=1800000)) ORDER BY time LIMIT 20000`,\n )\n .all(\n query.clusterId,\n query.scope,\n query.uid,\n query.from,\n query.to,\n now - 7_200_000,\n now - 7_200_000,\n now - 86_400_000,\n now - 86_400_000,\n );\n return rows.map((row) => ({\n time: Number(row.resolution) === 30_000 ? Number(row.last) : Number(row.time),\n resolution: Number(row.resolution),\n metric: row.metric as HistoryPoint[\"metric\"],\n min: Number(row.min),\n max: Number(row.max),\n avg: Number(row.avg),\n count: Number(row.count),\n gap:\n Number(row.last) - Number(row.first) > Number(row.count) * 30_000 ||\n Number(row.count) * 30_000 < Number(row.resolution),\n }));\n }\n bytes(): number {\n return [this.path, `${this.path}-journal`, `${this.path}-wal`, `${this.path}-shm`].reduce((sum, path) => {\n try {\n return sum + require(\"node:fs\").statSync(path).size;\n } catch {\n return sum;\n }\n }, 0);\n }\n status() {\n this.prune();\n return {\n bytes: this.bytes(),\n samples: Number(this.db.prepare(\"SELECT count(*) AS count FROM points\").get()?.count ?? 0),\n };\n }\n clear(): void {\n this.db.exec(\"DELETE FROM points; VACUUM\");\n }\n close(): void {\n this.db.close();\n }\n}\n"],"mappings":"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"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
const require_monitoring_history_database = require("./monitoring-history-database.js");
|
|
2
|
-
let node_worker_threads = require("node:worker_threads");
|
|
3
|
-
//#region src/main/monitoring-history-worker.ts
|
|
4
|
-
var MonitoringHistoryWorker = class {
|
|
5
|
-
worker;
|
|
6
|
-
sequence = 0;
|
|
7
|
-
pending = /* @__PURE__ */ new Map();
|
|
8
|
-
failure;
|
|
9
|
-
constructor(path) {
|
|
10
|
-
this.worker = new node_worker_threads.Worker(`const { parentPort, workerData } = require('node:worker_threads');
|
|
11
|
-
const Engine = ${require_monitoring_history_database.MonitoringHistoryDatabase.toString()};
|
|
12
|
-
let engine;
|
|
13
|
-
parentPort.on('message', ({id, operation, value}) => {
|
|
14
|
-
try {
|
|
15
|
-
engine ??= new Engine(workerData);
|
|
16
|
-
const result = operation === 'append' ? engine.append(value) : operation === 'query' ? engine.query(value) : operation === 'clear' ? engine.clear() : engine.status();
|
|
17
|
-
parentPort.postMessage({ id, result });
|
|
18
|
-
} catch { parentPort.postMessage({ id, error: true }); }
|
|
19
|
-
});`, {
|
|
20
|
-
eval: true,
|
|
21
|
-
workerData: path
|
|
22
|
-
});
|
|
23
|
-
this.worker.on("message", ({ id, result, error }) => {
|
|
24
|
-
const pending = this.pending.get(id);
|
|
25
|
-
this.pending.delete(id);
|
|
26
|
-
if (error) pending?.reject(/* @__PURE__ */ new Error("Local SQLite history is unavailable"));
|
|
27
|
-
else pending?.resolve(result);
|
|
28
|
-
});
|
|
29
|
-
this.worker.on("error", () => this.fail());
|
|
30
|
-
this.worker.on("exit", () => this.fail());
|
|
31
|
-
}
|
|
32
|
-
fail() {
|
|
33
|
-
this.failure = /* @__PURE__ */ new Error("Local SQLite history is unavailable");
|
|
34
|
-
for (const pending of this.pending.values()) pending.reject(this.failure);
|
|
35
|
-
this.pending.clear();
|
|
36
|
-
}
|
|
37
|
-
call(operation, value) {
|
|
38
|
-
if (this.failure) return Promise.reject(this.failure);
|
|
39
|
-
if (this.pending.size >= 8) return Promise.reject(/* @__PURE__ */ new Error("History is busy"));
|
|
40
|
-
return new Promise((resolve, reject) => {
|
|
41
|
-
const id = ++this.sequence;
|
|
42
|
-
this.pending.set(id, {
|
|
43
|
-
resolve,
|
|
44
|
-
reject
|
|
45
|
-
});
|
|
46
|
-
this.worker.postMessage({
|
|
47
|
-
id,
|
|
48
|
-
operation,
|
|
49
|
-
value
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
close() {
|
|
54
|
-
this.fail();
|
|
55
|
-
this.worker.terminate();
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
//#endregion
|
|
59
|
-
exports.MonitoringHistoryWorker = MonitoringHistoryWorker;
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=monitoring-history-worker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring-history-worker.js","names":[],"sources":["../../src/main/monitoring-history-worker.ts"],"sourcesContent":["import { Worker } from \"node:worker_threads\";\nimport { MonitoringHistoryDatabase } from \"./monitoring-history-database\";\n\nexport class MonitoringHistoryWorker {\n private worker: Worker;\n private sequence = 0;\n private pending = new Map<number, { resolve: (value: unknown) => void; reject: (error: Error) => void }>();\n private failure?: Error;\n constructor(path: string) {\n // the serialized engine has no module-level runtime dependencies and survives bundled builds\n this.worker = new Worker(\n `const { parentPort, workerData } = require('node:worker_threads');\n const Engine = ${MonitoringHistoryDatabase.toString()};\n let engine;\n parentPort.on('message', ({id, operation, value}) => {\n try {\n engine ??= new Engine(workerData);\n const result = operation === 'append' ? engine.append(value) : operation === 'query' ? engine.query(value) : operation === 'clear' ? engine.clear() : engine.status();\n parentPort.postMessage({ id, result });\n } catch { parentPort.postMessage({ id, error: true }); }\n });`,\n { eval: true, workerData: path },\n );\n this.worker.on(\"message\", ({ id, result, error }) => {\n const pending = this.pending.get(id);\n this.pending.delete(id);\n if (error) pending?.reject(new Error(\"Local SQLite history is unavailable\"));\n else pending?.resolve(result);\n });\n this.worker.on(\"error\", () => this.fail());\n this.worker.on(\"exit\", () => this.fail());\n }\n private fail(): void {\n this.failure = new Error(\"Local SQLite history is unavailable\");\n for (const pending of this.pending.values()) pending.reject(this.failure);\n this.pending.clear();\n }\n call(operation: \"append\" | \"query\" | \"clear\" | \"status\", value?: unknown): Promise<unknown> {\n if (this.failure) return Promise.reject(this.failure);\n if (this.pending.size >= 8) return Promise.reject(new Error(\"History is busy\"));\n return new Promise((resolve, reject) => {\n const id = ++this.sequence;\n this.pending.set(id, { resolve, reject });\n this.worker.postMessage({ id, operation, value });\n });\n }\n close(): void {\n this.fail();\n void this.worker.terminate();\n }\n}\n"],"mappings":";;;AAGA,IAAa,0BAAb,MAAqC;CACnC;CACA,WAAmB;CACnB,0BAAkB,IAAI,IAAmF;CACzG;CACA,YAAY,MAAc;EAExB,KAAK,SAAS,IAAI,oBAAA,OAChB;uBACiB,oCAAA,0BAA0B,SAAS,EAAE;;;;;;;;YAStD;GAAE,MAAM;GAAM,YAAY;EAAK,CACjC;EACA,KAAK,OAAO,GAAG,YAAY,EAAE,IAAI,QAAQ,YAAY;GACnD,MAAM,UAAU,KAAK,QAAQ,IAAI,EAAE;GACnC,KAAK,QAAQ,OAAO,EAAE;GACtB,IAAI,OAAO,SAAS,uBAAO,IAAI,MAAM,qCAAqC,CAAC;QACtE,SAAS,QAAQ,MAAM;EAC9B,CAAC;EACD,KAAK,OAAO,GAAG,eAAe,KAAK,KAAK,CAAC;EACzC,KAAK,OAAO,GAAG,cAAc,KAAK,KAAK,CAAC;CAC1C;CACA,OAAqB;EACnB,KAAK,0BAAU,IAAI,MAAM,qCAAqC;EAC9D,KAAK,MAAM,WAAW,KAAK,QAAQ,OAAO,GAAG,QAAQ,OAAO,KAAK,OAAO;EACxE,KAAK,QAAQ,MAAM;CACrB;CACA,KAAK,WAAoD,OAAmC;EAC1F,IAAI,KAAK,SAAS,OAAO,QAAQ,OAAO,KAAK,OAAO;EACpD,IAAI,KAAK,QAAQ,QAAQ,GAAG,OAAO,QAAQ,uBAAO,IAAI,MAAM,iBAAiB,CAAC;EAC9E,OAAO,IAAI,SAAS,SAAS,WAAW;GACtC,MAAM,KAAK,EAAE,KAAK;GAClB,KAAK,QAAQ,IAAI,IAAI;IAAE;IAAS;GAAO,CAAC;GACxC,KAAK,OAAO,YAAY;IAAE;IAAI;IAAW;GAAM,CAAC;EAClD,CAAC;CACH;CACA,QAAc;EACZ,KAAK,KAAK;EACV,KAAU,OAAO,UAAU;CAC7B;AACF"}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
const require_extensions = require("./_virtual/_global-external_@freelensapp/extensions.js");
|
|
2
|
-
const require_monitoring_history = require("./src/common/monitoring-history.js");
|
|
3
|
-
const require_monitoring_preferences_store = require("./src/common/store/monitoring-preferences-store.js");
|
|
4
|
-
const require_monitoring_history_worker = require("./monitoring-history-worker.js");
|
|
5
|
-
let electron = require("electron");
|
|
6
|
-
let node_path = require("node:path");
|
|
7
|
-
let node_fs = require("node:fs");
|
|
8
|
-
//#region src/main/monitoring-history.ts
|
|
9
|
-
function trusted(event) {
|
|
10
|
-
const window = electron.BrowserWindow.fromWebContents(event.sender);
|
|
11
|
-
if (!window || window.isDestroyed() || !event.senderFrame) return false;
|
|
12
|
-
try {
|
|
13
|
-
const frame = event.senderFrame;
|
|
14
|
-
const url = new URL(frame.url);
|
|
15
|
-
const senderUrl = new URL(event.sender.getURL());
|
|
16
|
-
const trustedUrl = (candidate) => {
|
|
17
|
-
if (candidate.protocol !== "https:" || candidate.username || candidate.password) return false;
|
|
18
|
-
if (candidate.hostname === "renderer.freelens.app") return true;
|
|
19
|
-
if (!candidate.hostname.endsWith(".renderer.freelens.app")) return false;
|
|
20
|
-
const clusterId = candidate.hostname.slice(0, -22);
|
|
21
|
-
return !clusterId.includes(".") && !!require_extensions.Main.Catalog.getClusterById(clusterId);
|
|
22
|
-
};
|
|
23
|
-
if (!trustedUrl(url) || !trustedUrl(senderUrl)) return false;
|
|
24
|
-
if (frame === event.sender.mainFrame) return senderUrl.origin === url.origin;
|
|
25
|
-
return senderUrl.hostname === "renderer.freelens.app" && url.port === senderUrl.port && url.hostname !== "renderer.freelens.app" && frame.parent === event.sender.mainFrame && frame.top === event.sender.mainFrame;
|
|
26
|
-
} catch {
|
|
27
|
-
return false;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
function startMonitoringHistory(_extension) {
|
|
31
|
-
let active = true;
|
|
32
|
-
let database;
|
|
33
|
-
let error;
|
|
34
|
-
const databasePath = (0, node_path.join)(electron.app.getPath("userData"), "freelens-power-history", "monitoring.sqlite");
|
|
35
|
-
const preferences = require_monitoring_preferences_store.MonitoringPreferencesStore.getInstanceOrCreate();
|
|
36
|
-
const open = () => {
|
|
37
|
-
if (!database && !error) try {
|
|
38
|
-
(0, node_fs.mkdirSync)((0, node_path.join)(electron.app.getPath("userData"), "freelens-power-history"), {
|
|
39
|
-
recursive: true,
|
|
40
|
-
mode: 448
|
|
41
|
-
});
|
|
42
|
-
database = new require_monitoring_history_worker.MonitoringHistoryWorker(databasePath);
|
|
43
|
-
} catch {
|
|
44
|
-
error = "Local SQLite history is unavailable in this Freelens runtime";
|
|
45
|
-
}
|
|
46
|
-
return database;
|
|
47
|
-
};
|
|
48
|
-
electron.ipcMain.handle(require_monitoring_history.MONITORING_HISTORY_CHANNEL, async (event, request) => {
|
|
49
|
-
if (!active || !trusted(event)) throw new Error("History unavailable");
|
|
50
|
-
if (!request || ![
|
|
51
|
-
"status",
|
|
52
|
-
"clear",
|
|
53
|
-
"query",
|
|
54
|
-
"append"
|
|
55
|
-
].includes(request.operation)) throw new Error("Invalid history operation");
|
|
56
|
-
if (request.operation === "clear") {
|
|
57
|
-
await open()?.call("clear");
|
|
58
|
-
return true;
|
|
59
|
-
}
|
|
60
|
-
if (request.operation === "status") {
|
|
61
|
-
const db = preferences.historyEnabled || (0, node_fs.existsSync)(databasePath) ? open() : database;
|
|
62
|
-
let stats = {
|
|
63
|
-
bytes: 0,
|
|
64
|
-
samples: 0
|
|
65
|
-
};
|
|
66
|
-
if (db) try {
|
|
67
|
-
stats = await db.call("status");
|
|
68
|
-
} catch {
|
|
69
|
-
error = "Local SQLite history is unavailable in this Freelens runtime";
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
available: !error,
|
|
73
|
-
enabled: preferences.historyEnabled,
|
|
74
|
-
...stats,
|
|
75
|
-
error
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
if (!preferences.historyEnabled) return request.operation === "query" ? [] : false;
|
|
79
|
-
const db = open();
|
|
80
|
-
if (!db) throw new Error(error);
|
|
81
|
-
if (request.operation === "append") {
|
|
82
|
-
if (!preferences.enabled) return false;
|
|
83
|
-
const samples = require_monitoring_history.projectHistorySamples(request.samples);
|
|
84
|
-
if (samples.some((sample) => !require_extensions.Main.Catalog.getClusterById(sample.clusterId))) throw new Error("Unknown cluster");
|
|
85
|
-
await db.call("append", samples);
|
|
86
|
-
return true;
|
|
87
|
-
}
|
|
88
|
-
if (request.operation !== "query") throw new Error("Invalid history operation");
|
|
89
|
-
const query = request.query;
|
|
90
|
-
const now = Date.now();
|
|
91
|
-
if (!require_monitoring_history.validHistoryIdentity(query) || !Number.isSafeInteger(query.from) || !Number.isSafeInteger(query.to) || query.from > query.to || query.from < now - 6048e5 || query.to > now + 3e4 || !require_extensions.Main.Catalog.getClusterById(query.clusterId)) throw new Error("Invalid history query");
|
|
92
|
-
return db.call("query", {
|
|
93
|
-
clusterId: query.clusterId,
|
|
94
|
-
scope: query.scope,
|
|
95
|
-
uid: query.uid,
|
|
96
|
-
from: query.from,
|
|
97
|
-
to: query.to
|
|
98
|
-
});
|
|
99
|
-
});
|
|
100
|
-
return () => {
|
|
101
|
-
active = false;
|
|
102
|
-
electron.ipcMain.removeHandler(require_monitoring_history.MONITORING_HISTORY_CHANNEL);
|
|
103
|
-
database?.close();
|
|
104
|
-
database = void 0;
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
//#endregion
|
|
108
|
-
exports.startMonitoringHistory = startMonitoringHistory;
|
|
109
|
-
|
|
110
|
-
//# sourceMappingURL=monitoring-history.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"monitoring-history.js","names":[],"sources":["../../src/main/monitoring-history.ts"],"sourcesContent":["import { existsSync, mkdirSync } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { Main } from \"@freelensapp/extensions\";\nimport { app, BrowserWindow, type IpcMainInvokeEvent, ipcMain } from \"electron\";\nimport {\n HISTORY_RETENTION,\n type HistoryRequest,\n type HistoryStatus,\n MONITORING_HISTORY_CHANNEL,\n projectHistorySamples,\n validHistoryIdentity,\n} from \"../common/monitoring-history\";\nimport { MonitoringPreferencesStore } from \"../common/store/monitoring-preferences-store\";\nimport { MonitoringHistoryWorker } from \"./monitoring-history-worker\";\n\nfunction trusted(event: IpcMainInvokeEvent): boolean {\n const window = BrowserWindow.fromWebContents(event.sender);\n if (!window || window.isDestroyed() || !event.senderFrame) return false;\n try {\n const frame = event.senderFrame;\n const url = new URL(frame.url);\n const senderUrl = new URL(event.sender.getURL());\n const trustedUrl = (candidate: URL) => {\n if (candidate.protocol !== \"https:\" || candidate.username || candidate.password) return false;\n if (candidate.hostname === \"renderer.freelens.app\") return true;\n const suffix = \".renderer.freelens.app\";\n if (!candidate.hostname.endsWith(suffix)) return false;\n const clusterId = candidate.hostname.slice(0, -suffix.length);\n return !clusterId.includes(\".\") && !!Main.Catalog.getClusterById(clusterId);\n };\n if (!trustedUrl(url) || !trustedUrl(senderUrl)) return false;\n if (frame === event.sender.mainFrame) return senderUrl.origin === url.origin;\n return (\n senderUrl.hostname === \"renderer.freelens.app\" &&\n url.port === senderUrl.port &&\n url.hostname !== \"renderer.freelens.app\" &&\n frame.parent === event.sender.mainFrame &&\n frame.top === event.sender.mainFrame\n );\n } catch {\n return false;\n }\n}\n\nexport function startMonitoringHistory(_extension: Main.LensExtension): () => void {\n let active = true;\n let database: MonitoringHistoryWorker | undefined;\n let error: string | undefined;\n const databasePath = join(app.getPath(\"userData\"), \"freelens-power-history\", \"monitoring.sqlite\");\n const preferences = MonitoringPreferencesStore.getInstanceOrCreate<MonitoringPreferencesStore>();\n const open = () => {\n if (!database && !error) {\n try {\n const directory = join(app.getPath(\"userData\"), \"freelens-power-history\");\n mkdirSync(directory, { recursive: true, mode: 0o700 });\n database = new MonitoringHistoryWorker(databasePath);\n } catch {\n error = \"Local SQLite history is unavailable in this Freelens runtime\";\n }\n }\n return database;\n };\n ipcMain.handle(MONITORING_HISTORY_CHANNEL, async (event, request: HistoryRequest) => {\n if (!active || !trusted(event)) throw new Error(\"History unavailable\");\n if (!request || ![\"status\", \"clear\", \"query\", \"append\"].includes(request.operation))\n throw new Error(\"Invalid history operation\");\n if (request.operation === \"clear\") {\n await open()?.call(\"clear\");\n return true;\n }\n if (request.operation === \"status\") {\n const db = preferences.historyEnabled || existsSync(databasePath) ? open() : database;\n let stats = { bytes: 0, samples: 0 };\n if (db) {\n try {\n stats = (await db.call(\"status\")) as typeof stats;\n } catch {\n error = \"Local SQLite history is unavailable in this Freelens runtime\";\n }\n }\n return { available: !error, enabled: preferences.historyEnabled, ...stats, error } satisfies HistoryStatus;\n }\n if (!preferences.historyEnabled) return request.operation === \"query\" ? [] : false;\n const db = open();\n if (!db) throw new Error(error);\n if (request.operation === \"append\") {\n if (!preferences.enabled) return false;\n const samples = projectHistorySamples(request.samples);\n if (samples.some((sample) => !Main.Catalog.getClusterById(sample.clusterId))) throw new Error(\"Unknown cluster\");\n await db.call(\"append\", samples);\n return true;\n }\n if (request.operation !== \"query\") throw new Error(\"Invalid history operation\");\n const query = request.query;\n const now = Date.now();\n if (\n !validHistoryIdentity(query) ||\n !Number.isSafeInteger(query.from) ||\n !Number.isSafeInteger(query.to) ||\n query.from > query.to ||\n query.from < now - HISTORY_RETENTION ||\n query.to > now + 30_000 ||\n !Main.Catalog.getClusterById(query.clusterId)\n )\n throw new Error(\"Invalid history query\");\n return db.call(\"query\", {\n clusterId: query.clusterId,\n scope: query.scope,\n uid: query.uid,\n from: query.from,\n to: query.to,\n });\n });\n return () => {\n active = false;\n ipcMain.removeHandler(MONITORING_HISTORY_CHANNEL);\n database?.close();\n database = undefined;\n };\n}\n"],"mappings":"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"}
|
package/out/main/node-bulk.js
DELETED
|
@@ -1,260 +0,0 @@
|
|
|
1
|
-
const require_extensions = require("./_virtual/_global-external_@freelensapp/extensions.js");
|
|
2
|
-
const require__global_external_mobx = require("./_virtual/_global-external_mobx.js");
|
|
3
|
-
const require_power_preferences_store = require("./src/common/store/power-preferences-store.js");
|
|
4
|
-
const require_read_only_preferences_store = require("./src/common/store/read-only-preferences-store.js");
|
|
5
|
-
const require_resource_search = require("./resource-search.js");
|
|
6
|
-
const require_node_bulk = require("./src/common/node-bulk.js");
|
|
7
|
-
let node_crypto = require("node:crypto");
|
|
8
|
-
let electron = require("electron");
|
|
9
|
-
let node_child_process = require("node:child_process");
|
|
10
|
-
let node_os = require("node:os");
|
|
11
|
-
let node_path = require("node:path");
|
|
12
|
-
let node_fs = require("node:fs");
|
|
13
|
-
//#region src/main/node-bulk.ts
|
|
14
|
-
var NodeBulkError = class extends Error {
|
|
15
|
-
code;
|
|
16
|
-
constructor(code, message) {
|
|
17
|
-
super(message);
|
|
18
|
-
this.code = code;
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
function validateNodeBulkRequest(input) {
|
|
22
|
-
const r = input;
|
|
23
|
-
if (!r || ![
|
|
24
|
-
"context",
|
|
25
|
-
"begin",
|
|
26
|
-
"status",
|
|
27
|
-
"cancel"
|
|
28
|
-
].includes(r.operation) || typeof r.clusterId !== "string" || !/^[a-z0-9][a-z0-9.-]{0,252}$/.test(r.clusterId)) throw new NodeBulkError("invalid-request", "Invalid node operation request");
|
|
29
|
-
if (r.operation !== "context" && (typeof r.contextId !== "string" || !/^[a-f0-9]{64}$/.test(r.contextId))) throw new NodeBulkError("invalid-request", "Refresh the node operation context");
|
|
30
|
-
if (["status", "cancel"].includes(r.operation) && (typeof r.jobId !== "string" || !/^[a-f0-9-]{36}$/.test(r.jobId))) throw new NodeBulkError("invalid-request", "Invalid node operation identity");
|
|
31
|
-
if (r.operation === "begin" && (r.confirmed !== true || ![
|
|
32
|
-
"cordon",
|
|
33
|
-
"uncordon",
|
|
34
|
-
"drain"
|
|
35
|
-
].includes(r.action) || !Array.isArray(r.nodes) || !r.nodes.length || r.nodes.length > 100 || r.nodes.some((n) => !n || typeof n.name !== "string" || !/^[a-z0-9](?:[a-z0-9.-]{0,251}[a-z0-9])?$/.test(n.name) || typeof n.uid !== "string" || !/^[a-zA-Z0-9-]{1,128}$/.test(n.uid)) || new Set(r.nodes.map((n) => n.name)).size !== r.nodes.length)) throw new NodeBulkError("invalid-request", "Confirm a valid selection of up to 100 distinct nodes");
|
|
36
|
-
return r;
|
|
37
|
-
}
|
|
38
|
-
function executeNodeKubectl(binary, args, signal, guard) {
|
|
39
|
-
return new Promise((resolve, reject) => {
|
|
40
|
-
guard();
|
|
41
|
-
if (signal.aborted) return reject(new NodeBulkError("cancelled", "Node operation cancelled"));
|
|
42
|
-
const child = (0, node_child_process.execFile)(binary, args, {
|
|
43
|
-
timeout: 33e4,
|
|
44
|
-
maxBuffer: 1024 * 1024,
|
|
45
|
-
killSignal: "SIGKILL",
|
|
46
|
-
windowsHide: true
|
|
47
|
-
}, (error, stdout) => {
|
|
48
|
-
signal.removeEventListener("abort", abort);
|
|
49
|
-
if (signal.aborted) return reject(new NodeBulkError("cancelled", "Node operation cancelled; refresh nodes to check the current state"));
|
|
50
|
-
if (error) return reject(new NodeBulkError("command-failed", "Node command failed or timed out; refresh nodes and check Kubernetes events before retrying"));
|
|
51
|
-
resolve(String(stdout));
|
|
52
|
-
});
|
|
53
|
-
const abort = () => child.kill("SIGKILL");
|
|
54
|
-
signal.addEventListener("abort", abort, { once: true });
|
|
55
|
-
if (signal.aborted) abort();
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
async function runNodeBulkJob(job, signal, guard, execute) {
|
|
59
|
-
for (const node of job.nodes) try {
|
|
60
|
-
guard();
|
|
61
|
-
if (signal.aborted) throw new NodeBulkError("cancelled", "Node operation cancelled");
|
|
62
|
-
node.status = "running";
|
|
63
|
-
const fresh = JSON.parse(await execute([
|
|
64
|
-
"get",
|
|
65
|
-
"node",
|
|
66
|
-
node.name,
|
|
67
|
-
"--output=json",
|
|
68
|
-
"--request-timeout=30s"
|
|
69
|
-
]));
|
|
70
|
-
guard();
|
|
71
|
-
if (signal.aborted) throw new NodeBulkError("cancelled", "Node operation cancelled");
|
|
72
|
-
if (fresh?.metadata?.uid !== node.uid) throw new NodeBulkError("node-changed", "Node identity changed; refresh the node list");
|
|
73
|
-
await execute([
|
|
74
|
-
job.action,
|
|
75
|
-
node.name,
|
|
76
|
-
...job.action === "drain" ? ["--ignore-daemonsets", "--timeout=5m"] : [],
|
|
77
|
-
"--request-timeout=30s"
|
|
78
|
-
]);
|
|
79
|
-
node.status = "succeeded";
|
|
80
|
-
} catch (error) {
|
|
81
|
-
const cancelled = signal.aborted || error instanceof NodeBulkError && error.code === "cancelled";
|
|
82
|
-
node.status = cancelled ? "cancelled" : "failed";
|
|
83
|
-
node.message = error instanceof NodeBulkError ? error.message : "Node operation failed; refresh nodes to check the current state";
|
|
84
|
-
job.status = cancelled ? "cancelled" : "failed";
|
|
85
|
-
break;
|
|
86
|
-
}
|
|
87
|
-
if (job.status === "running") job.status = "succeeded";
|
|
88
|
-
else for (const node of job.nodes) if (node.status === "pending") node.status = "skipped";
|
|
89
|
-
job.finishedAt = Date.now();
|
|
90
|
-
}
|
|
91
|
-
function startNodeBulk() {
|
|
92
|
-
const power = require_power_preferences_store.PowerPreferencesStore.getInstanceOrCreate();
|
|
93
|
-
const readOnly = require_read_only_preferences_store.ReadOnlyPreferencesStore.getInstanceOrCreate();
|
|
94
|
-
let active = true;
|
|
95
|
-
const jobs = /* @__PURE__ */ new Map();
|
|
96
|
-
const fingerprint = (id) => {
|
|
97
|
-
const cluster = require_extensions.Main.Catalog.getClusterById(id);
|
|
98
|
-
if (!cluster) throw new NodeBulkError("unavailable", "Cluster unavailable");
|
|
99
|
-
return (0, node_crypto.createHash)("sha256").update(id).update("\0").update(cluster.contextName).update("\0").update(cluster.kubeConfigPath).update("\0").update((0, node_fs.readFileSync)(cluster.kubeConfigPath)).digest("hex");
|
|
100
|
-
};
|
|
101
|
-
const abortAll = () => {
|
|
102
|
-
for (const entry of jobs.values()) entry.controller.abort();
|
|
103
|
-
};
|
|
104
|
-
const stop = require__global_external_mobx.reaction(() => power.enabled && power.nodeBulkActions !== false && !readOnly.enabled, (enabled) => {
|
|
105
|
-
if (!enabled) abortAll();
|
|
106
|
-
});
|
|
107
|
-
electron.ipcMain.handle(require_node_bulk.NODE_BULK_CHANNEL, async (event, input) => {
|
|
108
|
-
try {
|
|
109
|
-
const r = validateNodeBulkRequest(input);
|
|
110
|
-
if (!active || !power.enabled || !require_resource_search.trustedSearchSender(event, r.clusterId)) throw new NodeBulkError("unavailable", "Node operations unavailable");
|
|
111
|
-
const frame = event.senderFrame;
|
|
112
|
-
const owner = `${event.sender.id}:${frame.processId}:${frame.routingId}`;
|
|
113
|
-
if (r.operation === "status" || r.operation === "cancel") {
|
|
114
|
-
const entry = jobs.get(r.jobId);
|
|
115
|
-
if (!entry || entry.owner !== owner || entry.job.clusterId !== r.clusterId || entry.job.contextId !== r.contextId) throw new NodeBulkError("unavailable", "Node operation unavailable");
|
|
116
|
-
if (r.operation === "cancel") entry.controller.abort();
|
|
117
|
-
return {
|
|
118
|
-
ok: true,
|
|
119
|
-
contextId: entry.job.contextId,
|
|
120
|
-
job: structuredClone(entry.job)
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
if (power.nodeBulkActions === false) throw new NodeBulkError("unavailable", "Bulk node actions are disabled in preferences");
|
|
124
|
-
const context = fingerprint(r.clusterId);
|
|
125
|
-
if (r.operation === "context") return {
|
|
126
|
-
ok: true,
|
|
127
|
-
contextId: context
|
|
128
|
-
};
|
|
129
|
-
if (r.contextId !== context) throw new NodeBulkError("context-changed", "Cluster context changed; refresh nodes before retrying");
|
|
130
|
-
if (readOnly.enabled) throw new NodeBulkError("read-only", "Disable read-only mode before changing nodes");
|
|
131
|
-
if ([...jobs.values()].some((e) => e.job.clusterId === r.clusterId && e.job.status === "running")) throw new NodeBulkError("operation-running", "A node operation is already running in this cluster");
|
|
132
|
-
for (const [id, entry] of jobs) if (jobs.size >= 50 && entry.job.status !== "running") jobs.delete(id);
|
|
133
|
-
if (jobs.size >= 50) throw new NodeBulkError("operation-running", "Too many node operations are running");
|
|
134
|
-
const controller = new AbortController();
|
|
135
|
-
const job = {
|
|
136
|
-
id: (0, node_crypto.randomUUID)(),
|
|
137
|
-
clusterId: r.clusterId,
|
|
138
|
-
contextId: context,
|
|
139
|
-
action: r.action,
|
|
140
|
-
status: "running",
|
|
141
|
-
nodes: r.nodes.map((n) => ({
|
|
142
|
-
name: n.name,
|
|
143
|
-
uid: n.uid,
|
|
144
|
-
status: "pending"
|
|
145
|
-
})),
|
|
146
|
-
startedAt: Date.now()
|
|
147
|
-
};
|
|
148
|
-
const cluster = require_extensions.Main.Catalog.getClusterById(r.clusterId);
|
|
149
|
-
const originalPath = cluster.kubeConfigPath;
|
|
150
|
-
const contextName = cluster.contextName;
|
|
151
|
-
const args = [
|
|
152
|
-
"--kubeconfig",
|
|
153
|
-
originalPath,
|
|
154
|
-
"--context",
|
|
155
|
-
contextName
|
|
156
|
-
];
|
|
157
|
-
let snapshotDirectory;
|
|
158
|
-
let snapshotPath;
|
|
159
|
-
const binary = require_extensions.Common.App.Preferences.getKubectlPath() || (0, node_path.join)(process.resourcesPath, process.arch, process.platform === "win32" ? "kubectl.exe" : "kubectl");
|
|
160
|
-
const guard = () => {
|
|
161
|
-
try {
|
|
162
|
-
if (active && power.enabled && power.nodeBulkActions !== false && !readOnly.enabled && require_resource_search.trustedSearchSender(event, r.clusterId) && fingerprint(r.clusterId) === context) return;
|
|
163
|
-
} catch {}
|
|
164
|
-
controller.abort();
|
|
165
|
-
throw new NodeBulkError("cancelled", "Node operation stopped because access or cluster context changed; refresh nodes to check the current state");
|
|
166
|
-
};
|
|
167
|
-
jobs.set(job.id, {
|
|
168
|
-
job,
|
|
169
|
-
owner,
|
|
170
|
-
controller
|
|
171
|
-
});
|
|
172
|
-
const interval = setInterval(() => {
|
|
173
|
-
try {
|
|
174
|
-
guard();
|
|
175
|
-
} catch {
|
|
176
|
-
controller.abort();
|
|
177
|
-
}
|
|
178
|
-
}, 250);
|
|
179
|
-
const abort = () => controller.abort();
|
|
180
|
-
event.sender.on("destroyed", abort);
|
|
181
|
-
event.sender.on("did-start-navigation", abort);
|
|
182
|
-
const execute = async (command) => {
|
|
183
|
-
if (!snapshotPath) {
|
|
184
|
-
const raw = await executeNodeKubectl(binary, [
|
|
185
|
-
...args,
|
|
186
|
-
"config",
|
|
187
|
-
"view",
|
|
188
|
-
"--raw",
|
|
189
|
-
"--flatten",
|
|
190
|
-
"--minify",
|
|
191
|
-
"--output=json"
|
|
192
|
-
], controller.signal, guard);
|
|
193
|
-
guard();
|
|
194
|
-
if (controller.signal.aborted) throw new NodeBulkError("cancelled", "Node operation cancelled");
|
|
195
|
-
const config = JSON.parse(raw);
|
|
196
|
-
if (config?.["current-context"] !== contextName || config?.contexts?.length !== 1 || config.contexts[0]?.name !== contextName) throw new NodeBulkError("context-changed", "Cluster context changed; refresh nodes before retrying");
|
|
197
|
-
for (const entry of config.users ?? []) {
|
|
198
|
-
const exec = entry?.user?.exec;
|
|
199
|
-
if (typeof exec?.command === "string" && /[\\/]/.test(exec.command) && !(0, node_path.isAbsolute)(exec.command)) exec.command = (0, node_path.resolve)((0, node_path.dirname)(originalPath), exec.command);
|
|
200
|
-
}
|
|
201
|
-
snapshotDirectory = (0, node_fs.mkdtempSync)((0, node_path.join)((0, node_os.tmpdir)(), "freelens-power-node-bulk-"));
|
|
202
|
-
(0, node_fs.chmodSync)(snapshotDirectory, 448);
|
|
203
|
-
snapshotPath = (0, node_path.join)(snapshotDirectory, "config.json");
|
|
204
|
-
(0, node_fs.writeFileSync)(snapshotPath, JSON.stringify(config), {
|
|
205
|
-
mode: 384,
|
|
206
|
-
flag: "wx"
|
|
207
|
-
});
|
|
208
|
-
}
|
|
209
|
-
return executeNodeKubectl(binary, [
|
|
210
|
-
"--kubeconfig",
|
|
211
|
-
snapshotPath,
|
|
212
|
-
"--context",
|
|
213
|
-
contextName,
|
|
214
|
-
...command
|
|
215
|
-
], controller.signal, guard);
|
|
216
|
-
};
|
|
217
|
-
runNodeBulkJob(job, controller.signal, guard, execute).finally(() => {
|
|
218
|
-
if (snapshotDirectory) try {
|
|
219
|
-
(0, node_fs.rmSync)(snapshotDirectory, {
|
|
220
|
-
recursive: true,
|
|
221
|
-
force: true
|
|
222
|
-
});
|
|
223
|
-
} catch {}
|
|
224
|
-
clearInterval(interval);
|
|
225
|
-
event.sender.removeListener("destroyed", abort);
|
|
226
|
-
event.sender.removeListener("did-start-navigation", abort);
|
|
227
|
-
});
|
|
228
|
-
return {
|
|
229
|
-
ok: true,
|
|
230
|
-
contextId: context,
|
|
231
|
-
job: structuredClone(job)
|
|
232
|
-
};
|
|
233
|
-
} catch (error) {
|
|
234
|
-
return {
|
|
235
|
-
ok: false,
|
|
236
|
-
error: error instanceof NodeBulkError ? {
|
|
237
|
-
code: error.code,
|
|
238
|
-
message: error.message
|
|
239
|
-
} : {
|
|
240
|
-
code: "unavailable",
|
|
241
|
-
message: "Node operations unavailable"
|
|
242
|
-
}
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
});
|
|
246
|
-
return () => {
|
|
247
|
-
active = false;
|
|
248
|
-
stop();
|
|
249
|
-
abortAll();
|
|
250
|
-
electron.ipcMain.removeHandler(require_node_bulk.NODE_BULK_CHANNEL);
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
//#endregion
|
|
254
|
-
exports.NodeBulkError = NodeBulkError;
|
|
255
|
-
exports.executeNodeKubectl = executeNodeKubectl;
|
|
256
|
-
exports.runNodeBulkJob = runNodeBulkJob;
|
|
257
|
-
exports.startNodeBulk = startNodeBulk;
|
|
258
|
-
exports.validateNodeBulkRequest = validateNodeBulkRequest;
|
|
259
|
-
|
|
260
|
-
//# sourceMappingURL=node-bulk.js.map
|