@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/helm-ipc.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helm-ipc.js","names":[],"sources":["../../src/main/helm-ipc.ts"],"sourcesContent":["import { execFile } from \"node:child_process\";\nimport { createHash } from \"node:crypto\";\nimport { readFileSync } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { Main } from \"@freelensapp/extensions\";\nimport { ipcMain } from \"electron\";\nimport { reaction } from \"mobx\";\nimport {\n HELM_CHANNEL,\n HELM_INSTALLED_CHART,\n type HelmOperation,\n type HelmRequest,\n type HelmResponse,\n} from \"../common/helm\";\nimport { HelmPreferencesStore } from \"../common/store/helm-preferences-store\";\nimport { PowerPreferencesStore } from \"../common/store/power-preferences-store\";\nimport { ReadOnlyPreferencesStore } from \"../common/store/read-only-preferences-store\";\nimport { HelmError, HelmLimiter, HelmService, latestReleases } from \"./helm\";\nimport { installedChartFiles, withInstalledChart } from \"./helm-installed-chart\";\nimport { chartChoices, validateHelmValues, withHelmValues } from \"./helm-values\";\nimport { trustedSearchSender } from \"./resource-search\";\n\nconst reads = new HelmLimiter(2);\nconst background = new HelmLimiter(1);\nconst writes = new HelmLimiter(2);\nconst processes = new HelmLimiter(2);\nconst nameValid = (v: unknown): v is string =>\n typeof v === \"string\" && /^[a-z0-9](?:[a-z0-9.-]{0,251}[a-z0-9])?$/.test(v);\nexport function validateHelmRequest(value: unknown): HelmRequest {\n const r = value as HelmRequest;\n if (\n !r ||\n typeof r !== \"object\" ||\n typeof r.requestId !== \"string\" ||\n !/^[\\w-]{1,128}$/.test(r.requestId) ||\n !nameValid(r.clusterId) ||\n (r.namespace !== \"\" && !nameValid(r.namespace)) ||\n ![\n \"operations\",\n \"list\",\n \"history\",\n \"details\",\n \"rollback\",\n \"edit-options\",\n \"upgrade-values\",\n \"uninstall\",\n \"delete-revision\",\n \"app-version\",\n \"cancel\",\n ].includes(r.operation)\n )\n throw new HelmError(\"invalid-request\", \"Invalid Helm request\");\n if (r.contextId !== undefined && (typeof r.contextId !== \"string\" || !/^[a-f0-9]{64}$/.test(r.contextId)))\n throw new HelmError(\"invalid-request\", \"Invalid Helm context\");\n if (\n [\n \"history\",\n \"details\",\n \"rollback\",\n \"edit-options\",\n \"upgrade-values\",\n \"uninstall\",\n \"delete-revision\",\n \"app-version\",\n ].includes(r.operation) &&\n (!nameValid(r.name) || !r.namespace)\n )\n throw new HelmError(\"invalid-request\", \"Select a release namespace and name\");\n if (\n [\"details\", \"rollback\", \"edit-options\", \"upgrade-values\", \"uninstall\", \"delete-revision\", \"app-version\"].includes(\n r.operation,\n ) &&\n (!Number.isSafeInteger(r.revision) || r.revision! < 1)\n )\n throw new HelmError(\"invalid-request\", \"Invalid Helm revision\");\n if (r.operation === \"details\" && ![\"overview\", \"values\", \"manifest\", \"notes\"].includes(r.section!))\n throw new HelmError(\"invalid-request\", \"Invalid Helm section\");\n if (r.uid !== undefined && (typeof r.uid !== \"string\" || !/^[a-zA-Z0-9-]{1,128}$/.test(r.uid)))\n throw new HelmError(\"invalid-request\", \"Invalid Helm release identity\");\n if ([\"rollback\", \"upgrade-values\", \"uninstall\", \"delete-revision\"].includes(r.operation) && typeof r.uid !== \"string\")\n throw new HelmError(\"invalid-request\", \"Refresh releases before changing Helm releases\");\n if (r.operation === \"upgrade-values\") {\n if (typeof r.values !== \"string\" || Buffer.byteLength(r.values) > 1024 * 1024)\n throw new HelmError(\"invalid-values\", \"Values must be YAML text within 1 MiB\");\n if (\n typeof r.chart !== \"string\" ||\n (r.chart !== HELM_INSTALLED_CHART && !/^[a-zA-Z0-9][a-zA-Z0-9._-]*\\/[a-z0-9][a-z0-9._-]*$/.test(r.chart))\n )\n throw new HelmError(\"invalid-request\", \"Select a registered Helm repository chart\");\n }\n return r;\n}\nexport function executeHelmRead(\n binary: string,\n args: string[],\n signal: AbortSignal,\n beforeStart: () => void | Promise<void> = () => {},\n launchGuard: () => void = () => {},\n): Promise<string> {\n return processes.run(signal, async () => {\n await beforeStart();\n return new Promise<string>((resolve, reject) => {\n if (signal.aborted) return reject(new HelmError(\"cancelled\", \"Helm request cancelled\"));\n launchGuard();\n const child = execFile(\n binary,\n args,\n {\n env: { ...process.env },\n timeout: 60_000,\n maxBuffer: 8 * 1024 * 1024,\n killSignal: \"SIGKILL\",\n windowsHide: true,\n },\n (error, stdout, stderr) => {\n signal.removeEventListener(\"abort\", abort);\n if (signal.aborted) return reject(new HelmError(\"cancelled\", \"Helm repository search cancelled\"));\n if (!error) return resolve(String(stdout));\n const diagnostic = String(stderr ?? \"\").slice(0, 4096);\n const message = /no repositories (?:found|configured)/i.test(diagnostic)\n ? \"No Helm repositories are configured. Add the chart repository in Helm settings, then refresh chart sources\"\n : /no cached repo found|failed to load.*index|index\\.yaml.*no such file/i.test(diagnostic)\n ? \"Helm repository indexes are unavailable. Refresh repositories in Helm settings, then retry\"\n : error.killed\n ? \"Helm repository search timed out. Check the local repository configuration and retry\"\n : error.code === \"ENOENT\"\n ? \"The Freelens Helm executable is unavailable. Check the Freelens installation and retry\"\n : \"Could not search registered Helm repositories. Check repository configuration and cached indexes in Helm settings\";\n reject(new HelmError(\"chart-unavailable\", message));\n },\n );\n const abort = () => child.kill(\"SIGKILL\");\n signal.addEventListener(\"abort\", abort, { once: true });\n if (signal.aborted) abort();\n });\n });\n}\nexport function executeHelmRollback(\n binary: string,\n args: string[],\n signal: AbortSignal,\n operation: \"rollback\" | \"upgrade\" | \"uninstall\" = \"rollback\",\n beforeStart: () => void | Promise<void> = () => {},\n launchGuard: () => void = () => {},\n progress: (phase: \"preparing\" | \"applying\" | \"waiting\", message: string) => void = () => {},\n): Promise<void> {\n return processes.run(signal, async () => {\n await beforeStart();\n return new Promise<void>((resolve, reject) => {\n if (signal.aborted) return reject(new HelmError(\"cancelled\", \"Helm request cancelled\"));\n launchGuard();\n const child = execFile(\n binary,\n args,\n {\n env: { ...process.env },\n // allow Helm to report readiness before the outer process deadline\n timeout: operation === \"rollback\" ? 330_000 : 75_000,\n maxBuffer: 8 * 1024 * 1024,\n killSignal: \"SIGKILL\",\n windowsHide: true,\n },\n (error, _stdout, stderr) => {\n signal.removeEventListener(\"abort\", abort);\n if (!error && !signal.aborted) return resolve();\n if (error && [\"ENOENT\", \"EACCES\", \"ENOEXEC\"].includes(String(error.code))) {\n reject(\n new HelmError(\n \"helm-unavailable\",\n error.code === \"ENOENT\"\n ? \"The Freelens Helm executable or one of its required programs is unavailable. Check the Freelens installation and Kubernetes credential plugin, then retry\"\n : \"The Freelens Helm executable could not start. Check its permissions and compatibility, then retry\",\n ),\n );\n return;\n }\n const diagnostic = String(stderr ?? \"\").slice(0, 16 * 1024);\n const hint = signal.aborted\n ? \"The Helm command was cancelled or exceeded the request time limit\"\n : error?.killed\n ? \"The Helm command exceeded its time limit\"\n : /forbidden|cannot (?:get|list|create|update|patch|delete).*resource/i.test(diagnostic)\n ? \"Kubernetes denied access. Check permissions for release Secrets and managed resources\"\n : /unauthorized|authentication required|provide credentials|getting credentials|credential plugin|exec: executable/i.test(\n diagnostic,\n )\n ? \"Kubernetes authentication failed. Refresh cluster credentials and check the credential plugin\"\n : /x509:|tls handshake|certificate/i.test(diagnostic)\n ? \"Kubernetes TLS verification failed. Check the cluster certificate and kubeconfig\"\n : /connection refused|no such host|dial tcp|network is unreachable|i\\/o timeout|context deadline exceeded/i.test(\n diagnostic,\n )\n ? \"The Kubernetes API could not be reached. Check the cluster connection and credentials\"\n : /conflict|field manager|fieldmanager/i.test(diagnostic)\n ? \"Kubernetes reported a resource conflict. Review the resource state and field ownership\"\n : /hook|timed out waiting|deadline exceeded/i.test(diagnostic)\n ? \"A Helm hook or resource operation failed or timed out. Review release events and hook Jobs\"\n : /unknown flag|unknown command|incompatible|unsupported/i.test(diagnostic)\n ? \"The Helm command is incompatible with this Helm version. Check the Freelens Helm installation\"\n : \"The Helm command failed. Review release history and Kubernetes events for details\";\n const label = operation === \"upgrade\" ? \"Upgrade\" : operation === \"uninstall\" ? \"Uninstall\" : \"Rollback\";\n reject(\n new HelmError(\n `${operation}-unknown`,\n `${hint}. ${label} outcome is unknown; refresh release history before retrying`,\n ),\n );\n },\n );\n // retain only fixed stage messages, never raw Helm output or resource values\n const buffers = { stdout: \"\", stderr: \"\" };\n const consume = (stream: keyof typeof buffers, chunk: Buffer | string) => {\n const lines = (buffers[stream] + String(chunk)).split(\"\\n\");\n buffers[stream] = lines.pop()!.slice(-2048);\n for (const line of lines) {\n if (!/\\[debug\\]|(?:^|\\s)level=DEBUG\\b/i.test(line)) continue;\n if (/preparing rollback|rolling back/i.test(line)) progress(\"preparing\", \"Helm is preparing the rollback\");\n else if (/waiting for|beginning wait/i.test(line))\n progress(\"waiting\", \"Helm is waiting for resources to become ready\");\n else if (\n /performing rollback|creating rolled back release|checking .*resources for changes|updating the status|Patch .* in namespace|Created a new /i.test(\n line,\n )\n )\n progress(\"applying\", \"Helm is applying release changes\");\n }\n };\n child.stdout?.on(\"data\", (chunk) => consume(\"stdout\", chunk));\n child.stderr?.on(\"data\", (chunk) => consume(\"stderr\", chunk));\n const abort = () => child.kill(\"SIGKILL\");\n signal.addEventListener(\"abort\", abort, { once: true });\n if (signal.aborted) abort();\n });\n });\n}\nfunction snapshotOperation(record: HelmOperation): HelmOperation {\n return {\n ...record,\n logs: record.logs.map((log) => ({ ...log })),\n error: record.error ? { ...record.error } : undefined,\n stages: record.stages\n ? Object.fromEntries(Object.entries(record.stages).map(([phase, timing]) => [phase, { ...timing }]))\n : undefined,\n };\n}\nfunction finishStage(record: HelmOperation, at: number) {\n const phase = record.phase;\n if (phase !== \"preparing\" && phase !== \"applying\" && phase !== \"waiting\") return;\n const stage = record.stages?.[phase];\n if (stage && stage.finishedAt === undefined) stage.finishedAt = at;\n}\nexport function startPowerHelm(): () => void {\n let active = true;\n const helm = HelmPreferencesStore.getInstanceOrCreate<HelmPreferencesStore>();\n const power = PowerPreferencesStore.getInstanceOrCreate<PowerPreferencesStore>();\n const readOnly = ReadOnlyPreferencesStore.getInstanceOrCreate<ReadOnlyPreferencesStore>();\n const pending = new Map<string, AbortController>();\n const operations = new Map<string, HelmOperation>();\n const detached = new Set<string>();\n const reservations = new Map<string, string>();\n const appendLog = (record: HelmOperation, message: string) => {\n if (record.logs.at(-1)?.message === message) return;\n record.logs.push({ at: Date.now(), message });\n if (record.logs.length > 100) record.logs.splice(0, record.logs.length - 100);\n };\n const prune = () => {\n const terminal = [...operations.values()]\n .filter((record) => record.status !== \"running\")\n .sort((a, b) => (a.finishedAt ?? a.startedAt) - (b.finishedAt ?? b.startedAt));\n for (const record of terminal.slice(0, Math.max(0, terminal.length - 50))) operations.delete(record.id);\n };\n const services = new Map<string, HelmService>();\n const clusterContexts = new Map<string, string>();\n const uncertain = new Map<string, symbol>();\n const mutations = new Map<string, HelmLimiter>();\n const observed = new Map<Electron.WebContents, () => void>();\n const clear = () => {\n for (const c of pending.values()) c.abort();\n pending.clear();\n for (const s of services.values()) s.clear();\n services.clear();\n clusterContexts.clear();\n };\n const stop = reaction(\n () => power.enabled && helm.enabled,\n (enabled) => {\n if (!enabled) clear();\n },\n );\n const fingerprint = (id: string) => {\n const cluster = Main.Catalog.getClusterById(id);\n if (!cluster) throw new HelmError(\"unavailable\", \"Helm cluster unavailable\");\n return createHash(\"sha256\")\n .update(id)\n .update(\"\\0\")\n .update(cluster.contextName)\n .update(\"\\0\")\n .update(cluster.kubeConfigPath)\n .update(\"\\0\")\n .update(readFileSync(cluster.kubeConfigPath))\n .digest(\"hex\");\n };\n ipcMain.handle(HELM_CHANNEL, async (event, input): Promise<HelmResponse> => {\n let key: string | undefined;\n let controller: AbortController | undefined;\n let timer: ReturnType<typeof setTimeout> | undefined;\n let record: HelmOperation | undefined;\n let reserved: string | undefined;\n try {\n const r = validateHelmRequest(input);\n if (!active || !power.enabled || !helm.enabled || !trustedSearchSender(event, r.clusterId))\n throw new HelmError(\"unavailable\", \"Helm is unavailable\");\n const frame = event.senderFrame!;\n const owner = `${event.sender.id}:${frame.processId}:${frame.routingId}:`;\n key = `${owner}${r.requestId}`;\n if (r.operation === \"cancel\") {\n if (!detached.has(key)) pending.get(key)?.abort();\n return { ok: true };\n }\n if (!observed.has(event.sender)) {\n const sender = event.sender;\n const abort = () => {\n for (const [k, c] of pending) if (k.startsWith(`${sender.id}:`) && !detached.has(k)) c.abort();\n for (const s of services.values()) s.clear();\n };\n sender.on(\"destroyed\", abort);\n sender.on(\"did-start-navigation\", abort);\n observed.set(sender, () => {\n sender.removeListener(\"destroyed\", abort);\n sender.removeListener(\"did-start-navigation\", abort);\n });\n }\n const context = fingerprint(r.clusterId);\n const previousContext = clusterContexts.get(r.clusterId);\n if (previousContext && previousContext !== context) {\n services.get(previousContext)?.clear();\n services.delete(previousContext);\n }\n clusterContexts.set(r.clusterId, context);\n if (\n (r.contextId !== undefined && r.contextId !== context) ||\n ([\"rollback\", \"upgrade-values\", \"uninstall\", \"delete-revision\", \"edit-options\", \"app-version\"].includes(\n r.operation,\n ) &&\n r.contextId !== context)\n )\n throw new HelmError(\"context-changed\", \"Helm context changed; refresh release history before rollback\");\n const cluster = Main.Catalog.getClusterById(r.clusterId)!;\n const check = () => {\n if (\n !active ||\n !power.enabled ||\n !helm.enabled ||\n (!record && !trustedSearchSender(event, r.clusterId)) ||\n fingerprint(r.clusterId) !== context\n )\n throw new HelmError(\"context-changed\", \"Helm context changed; refresh releases\");\n };\n if (r.operation === \"operations\") {\n return {\n ok: true,\n contextId: context,\n operations: [...operations.values()]\n .filter((entry) => entry.clusterId === r.clusterId && entry.contextId === context)\n .map(snapshotOperation),\n };\n }\n if (pending.has(key))\n throw new HelmError(\"operation-running\", \"A Helm request with this identity is already running\");\n const releaseKey = `${context}\\0${r.namespace}\\0${r.name}`;\n if ([\"rollback\", \"upgrade-values\", \"uninstall\", \"delete-revision\"].includes(r.operation)) {\n if (reservations.has(releaseKey))\n throw new HelmError(\"operation-running\", \"A Helm operation is already running for this release\");\n reservations.set(releaseKey, key);\n reserved = releaseKey;\n }\n if (r.operation === \"rollback\") {\n if (r.confirmed !== true || readOnly.enabled)\n throw new HelmError(\"read-only\", \"Disable read-only mode and explicitly confirm rollback\");\n record = {\n id: createHash(\"sha256\").update(key).digest(\"hex\"),\n requestId: r.requestId,\n clusterId: r.clusterId,\n contextId: context,\n namespace: r.namespace,\n name: r.name!,\n revision: r.revision!,\n status: \"running\",\n phase: \"preparing\",\n startedAt: Date.now(),\n logs: [],\n };\n record.stages = { preparing: { startedAt: record.startedAt } };\n operations.set(record.id, record);\n appendLog(record, \"Preparing rollback and checking release identity\");\n detached.add(key);\n }\n\n controller = new AbortController();\n pending.set(key, controller);\n const signal = controller.signal;\n timer = setTimeout(\n () => controller?.abort(),\n r.operation === \"rollback\"\n ? 360_000\n : [\"upgrade-values\", \"uninstall\", \"edit-options\"].includes(r.operation)\n ? 90_000\n : 30_000,\n );\n let service = r.operation === \"rollback\" ? undefined : services.get(context);\n if (!service) {\n service = new HelmService((path, query, metadata, requestSignal) =>\n reads.run(requestSignal, async () => {\n if (!active || !power.enabled || !helm.enabled || fingerprint(r.clusterId) !== context)\n throw new HelmError(\"context-changed\", \"Helm context changed; refresh releases\");\n const api = Main.K8sApi.KubeJsonApi.forCluster.call(undefined, r.clusterId);\n const response = await api.getResponse(\n path,\n { query },\n {\n signal: requestSignal,\n headers: {\n Accept: metadata\n ? \"application/json;as=PartialObjectMetadataList;g=meta.k8s.io;v=v1\"\n : \"application/json\",\n },\n },\n );\n if (!response.ok)\n throw new HelmError(\n response.status === 406 ? \"metadata-unavailable\" : response.status === 403 ? \"forbidden\" : \"api-error\",\n response.status === 406\n ? \"The API server does not support metadata-only Helm listing\"\n : response.status === 403\n ? \"Access to Helm release Secrets is forbidden\"\n : \"Kubernetes could not load Helm data\",\n );\n const length = Number(response.headers.get(\"content-length\") ?? 0);\n if (length > 24 * 1024 * 1024) throw new HelmError(\"limit\", \"Helm API response exceeds safety limits\");\n const chunks: Buffer[] = [];\n let bytes = 0;\n if (!response.body) throw new HelmError(\"api-error\", \"Kubernetes returned an empty response\");\n for await (const chunk of response.body) {\n const buffer = Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk);\n bytes += buffer.length;\n if (bytes > 24 * 1024 * 1024) {\n response.body.destroy();\n throw new HelmError(\"limit\", \"Helm API response exceeds safety limits\");\n }\n chunks.push(buffer);\n }\n const body = Buffer.concat(chunks).toString(\"utf8\");\n if (!active || !power.enabled || !helm.enabled || fingerprint(r.clusterId) !== context)\n throw new HelmError(\"context-changed\", \"Helm context changed; refresh releases\");\n return JSON.parse(body);\n }),\n );\n if (services.size >= 8) {\n services.values().next().value?.clear();\n services.delete(services.keys().next().value!);\n }\n if (r.operation !== \"rollback\") services.set(context, service);\n }\n const rollbackAllowed = !readOnly.enabled;\n const binary = () =>\n join(process.resourcesPath, process.arch, process.platform === \"win32\" ? \"helm.exe\" : \"helm\");\n const writeCheck = () => {\n check();\n if (readOnly.enabled) throw new HelmError(\"read-only\", \"Disable read-only mode to change Helm releases\");\n };\n if (r.operation === \"edit-options\" && readOnly.enabled)\n return { ok: true, contextId: context, upgradeAllowed: false, chartChoices: [] };\n const mutate = async <T>(action: () => Promise<T>) => {\n let limiter = mutations.get(releaseKey);\n if (!limiter) {\n limiter = new HelmLimiter(1);\n mutations.set(releaseKey, limiter);\n }\n return limiter.run(signal, () => writes.run(signal, action));\n };\n const refreshingOutcome = r.operation === \"history\" && r.refresh === true ? uncertain.get(releaseKey) : undefined;\n const checkUpgradeOutcome = () => {\n if (uncertain.has(releaseKey))\n throw new HelmError(\"upgrade-unknown\", \"Refresh release history before retrying the upgrade\");\n };\n if (r.operation === \"delete-revision\") {\n writeCheck();\n if (r.confirmed !== true)\n throw new HelmError(\"read-only\", \"Explicitly confirm deletion of this historical revision\");\n await mutate(async () => {\n writeCheck();\n if (uncertain.has(releaseKey))\n throw new HelmError(\n \"delete-revision-unknown\",\n \"Refresh release history before deleting a historical revision\",\n );\n const fresh = await service!.list(context, r.namespace, signal, r.name, true, true);\n const target = fresh.rows.find(\n (candidate) =>\n candidate.revision === r.revision &&\n candidate.uid === r.uid &&\n candidate.secretName === `sh.helm.release.v1.${r.name}.v${r.revision}`,\n );\n if (!target || !target.uid || !target.resourceVersion)\n throw new HelmError(\"stale-revision\", \"Release revision changed; refresh history before deleting it\");\n if (\n latestReleases(fresh.rows)[0]?.revision === target.revision ||\n ![\"superseded\", \"failed\", \"uninstalled\"].includes(target.status) ||\n fresh.rows.some((candidate) => candidate.status.startsWith(\"pending-\"))\n )\n throw new HelmError(\n \"active-revision\",\n \"Only inactive historical revisions can be deleted. Keep the current revision and wait for pending release operations to finish\",\n );\n writeCheck();\n if (signal.aborted) throw new HelmError(\"cancelled\", \"Helm request cancelled\");\n let started = false;\n try {\n const api = Main.K8sApi.KubeJsonApi.forCluster.call(undefined, r.clusterId);\n started = true;\n const response = await api.getResponse(\n `/api/v1/namespaces/${encodeURIComponent(target.namespace)}/secrets/${encodeURIComponent(target.secretName)}`,\n {},\n {\n method: \"DELETE\",\n signal,\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({\n apiVersion: \"v1\",\n kind: \"DeleteOptions\",\n propagationPolicy: \"Orphan\",\n preconditions: { uid: target.uid, resourceVersion: target.resourceVersion },\n }),\n },\n );\n response.body?.destroy();\n if (response.status === 404 || response.status === 409)\n throw new HelmError(\"stale-revision\", \"Release revision changed; refresh history before deleting it\");\n if (response.status === 401 || response.status === 403)\n throw new HelmError(\n \"forbidden\",\n \"Kubernetes denied deletion of this Helm history Secret. Check release Secret permissions\",\n );\n if (!response.ok) throw new Error(\"Deletion outcome unavailable\");\n } catch (error) {\n if (error instanceof HelmError) throw error;\n if (started) uncertain.set(releaseKey, Symbol());\n throw new HelmError(\n \"delete-revision-unknown\",\n \"The historical revision deletion outcome is unknown; refresh release history before retrying\",\n );\n } finally {\n for (const entry of services.values()) entry.clear();\n }\n });\n check();\n return { ok: true, contextId: context };\n }\n if (r.operation === \"uninstall\") {\n writeCheck();\n if (r.confirmed !== true || r.confirmationName !== r.name)\n throw new HelmError(\"confirmation-required\", \"Type the exact release name to confirm uninstall\");\n const checkOutcome = () => {\n if (uncertain.has(releaseKey))\n throw new HelmError(\"uninstall-unknown\", \"Refresh release history before retrying deletion\");\n };\n const beforeStart = async () => {\n writeCheck();\n checkOutcome();\n const fresh = await service!.list(context, r.namespace, signal, r.name, true);\n const current = latestReleases(fresh.rows)[0];\n if (!current || current.revision !== r.revision || current.uid !== r.uid)\n throw new HelmError(\"stale-revision\", \"Release changed; refresh history before deleting\");\n writeCheck();\n checkOutcome();\n };\n await mutate(async () => {\n try {\n await executeHelmRollback(\n binary(),\n [\n \"uninstall\",\n r.name!,\n \"--namespace\",\n r.namespace,\n \"--kubeconfig\",\n cluster.kubeConfigPath,\n \"--kube-context\",\n cluster.contextName,\n \"--timeout\",\n \"60s\",\n ],\n signal,\n \"uninstall\",\n beforeStart,\n () => {\n writeCheck();\n checkOutcome();\n },\n );\n } catch (error) {\n if (error instanceof HelmError && error.code === \"uninstall-unknown\") uncertain.set(releaseKey, Symbol());\n throw error;\n } finally {\n for (const entry of services.values()) entry.clear();\n }\n });\n check();\n return { ok: true, contextId: context };\n }\n if (r.operation === \"upgrade-values\") {\n checkUpgradeOutcome();\n writeCheck();\n if (r.confirmed !== true) throw new HelmError(\"read-only\", \"Explicitly confirm the values upgrade\");\n validateHelmValues(r.values);\n }\n const resolveChoices = async (row: import(\"../common/helm\").HelmReleaseMetadata, preferInstalled = true) => {\n const metadata = await service!.chartMetadata(context, row, signal);\n check();\n const detail = await service!.detail(context, row, \"overview\", signal);\n check();\n if (detail.overview.namespace !== row.namespace)\n throw new HelmError(\n \"unsupported-release-namespace\",\n \"Values editing is unavailable when the release target namespace differs from its storage namespace. Use the release's original deployment tool to edit values\",\n );\n try {\n if (!preferInstalled) throw new HelmError(\"installed-chart-unavailable\", \"Repository chart requested\");\n const stored = await service!.installedChart(context, row, signal);\n check();\n installedChartFiles(stored);\n return { metadata, choices: [{ ref: HELM_INSTALLED_CHART, version: metadata.version }], stored };\n } catch (error) {\n if (!(error instanceof HelmError) || error.code !== \"installed-chart-unavailable\") throw error;\n }\n const output = await executeHelmRead(\n binary(),\n [\"search\", \"repo\", metadata.name, \"--version\", metadata.version, \"--versions\", \"--output\", \"json\"],\n signal,\n check,\n check,\n ).catch((error) => {\n if (preferInstalled && error instanceof HelmError)\n throw new HelmError(error.code, `The installed chart is incomplete or has dependencies. ${error.message}`);\n throw error;\n });\n check();\n const choices = chartChoices(output, metadata.name, metadata.version);\n if (preferInstalled && choices.length === 0)\n throw new HelmError(\n \"chart-unavailable\",\n \"The installed chart is incomplete or has dependencies, and its exact chart version is unavailable in registered repositories. Configure the original chart repository and refresh chart sources\",\n );\n return { metadata, choices };\n };\n if (r.operation === \"upgrade-values\") {\n await mutate(async () => {\n checkUpgradeOutcome();\n writeCheck();\n const fresh = await service!.list(context, r.namespace, signal, r.name, true);\n const current = latestReleases(fresh.rows)[0];\n if (!current || current.revision !== r.revision || current.uid !== r.uid)\n throw new HelmError(\"stale-revision\", \"Release changed; refresh history before editing values\");\n const { metadata, choices, stored } = await resolveChoices(current, r.chart === HELM_INSTALLED_CHART);\n if (!choices.some((choice) => choice.ref === r.chart))\n throw new HelmError(\"chart-unavailable\", \"Selected chart is unavailable in registered repositories\");\n const upgrade = async (chart: string) =>\n withHelmValues(r.values!, async (path) => {\n writeCheck();\n checkUpgradeOutcome();\n try {\n await executeHelmRollback(\n binary(),\n [\n \"upgrade\",\n current.name,\n chart,\n \"--version\",\n metadata.version,\n \"--values\",\n path,\n \"--reset-values\",\n \"--history-max\",\n \"0\",\n \"--namespace\",\n current.namespace,\n \"--kubeconfig\",\n cluster.kubeConfigPath,\n \"--kube-context\",\n cluster.contextName,\n \"--timeout\",\n \"60s\",\n ],\n signal,\n \"upgrade\",\n async () => {\n writeCheck();\n checkUpgradeOutcome();\n const final = await service!.list(context, r.namespace, signal, r.name, true);\n if (\n latestReleases(final.rows)[0]?.revision !== r.revision ||\n latestReleases(final.rows)[0]?.uid !== r.uid\n )\n throw new HelmError(\"stale-revision\", \"Release changed; refresh history before editing values\");\n writeCheck();\n checkUpgradeOutcome();\n },\n () => {\n writeCheck();\n checkUpgradeOutcome();\n },\n );\n } catch (error) {\n if (error instanceof HelmError && error.code === \"upgrade-unknown\") uncertain.set(releaseKey, Symbol());\n throw error;\n } finally {\n for (const entry of services.values()) entry.clear();\n }\n });\n if (r.chart === HELM_INSTALLED_CHART) {\n if (!stored)\n throw new HelmError(\n \"installed-chart-unavailable\",\n \"The installed chart is incomplete. Refresh chart sources\",\n );\n await withInstalledChart(installedChartFiles(stored), upgrade);\n } else await upgrade(r.chart!);\n });\n check();\n return { ok: true, contextId: context, upgradeAllowed: !readOnly.enabled };\n }\n if (r.operation === \"app-version\") {\n const row = {\n name: r.name!,\n namespace: r.namespace,\n revision: r.revision!,\n uid: r.uid,\n status: \"unknown\",\n secretName: `sh.helm.release.v1.${r.name}.v${r.revision}`,\n };\n const summary = await background.run(signal, async () => {\n check();\n return service!.appVersion(context, row, signal, r.refresh === true);\n });\n check();\n return { ok: true, contextId: context, ...summary };\n }\n if (r.operation === \"details\") {\n const row = {\n name: r.name!,\n namespace: r.namespace,\n revision: r.revision!,\n uid: r.uid,\n status: \"unknown\",\n secretName: `sh.helm.release.v1.${r.name}.v${r.revision}`,\n };\n const detail = await service.detail(context, row, r.section!, signal, r.refresh === true);\n check();\n return { ok: true, contextId: context, detail, rollbackAllowed, uninstallAllowed: rollbackAllowed };\n }\n const data = await service.list(\n context,\n r.namespace,\n signal,\n r.operation === \"list\" ? undefined : r.name,\n r.refresh === true,\n );\n check();\n if (refreshingOutcome !== undefined && uncertain.get(releaseKey) === refreshingOutcome)\n uncertain.delete(releaseKey);\n if (r.operation === \"list\" || r.operation === \"history\")\n return {\n ok: true,\n contextId: context,\n releases:\n r.operation === \"list\" ? latestReleases(data.rows) : data.rows.sort((a, b) => b.revision - a.revision),\n fetchedAt: data.fetchedAt,\n cached: data.cached,\n rollbackAllowed,\n uninstallAllowed: rollbackAllowed,\n };\n const row = data.rows.find(\n (row) => row.name === r.name && row.namespace === r.namespace && row.revision === r.revision,\n );\n if (!row) throw new HelmError(\"not-found\", \"Helm release revision is no longer available\");\n if (r.operation === \"edit-options\") {\n const current = latestReleases(data.rows)[0];\n if (!current || current.revision !== r.revision)\n throw new HelmError(\"stale-revision\", \"Refresh history and select the current revision to edit values\");\n const { choices } = await resolveChoices(current);\n check();\n return { ok: true, contextId: context, chartChoices: choices, upgradeAllowed: !readOnly.enabled };\n }\n if (r.operation !== \"rollback\" || r.confirmed !== true || readOnly.enabled)\n throw new HelmError(\"read-only\", \"Disable read-only mode and explicitly confirm rollback\");\n const checkRollbackOutcome = () => {\n if (uncertain.has(releaseKey))\n throw new HelmError(\"rollback-unknown\", \"Refresh release history before retrying rollback\");\n };\n checkRollbackOutcome();\n await mutate(async () => {\n check();\n checkRollbackOutcome();\n if (readOnly.enabled) throw new HelmError(\"read-only\", \"Read-only mode blocks rollback\");\n try {\n await executeHelmRollback(\n join(process.resourcesPath, process.arch, process.platform === \"win32\" ? \"helm.exe\" : \"helm\"),\n [\n \"rollback\",\n row.name,\n String(row.revision),\n \"--history-max\",\n \"0\",\n \"--namespace\",\n row.namespace,\n \"--kubeconfig\",\n cluster.kubeConfigPath,\n \"--kube-context\",\n cluster.contextName,\n \"--debug\",\n \"--wait\",\n \"--timeout\",\n \"5m\",\n ],\n signal,\n \"rollback\",\n async () => {\n writeCheck();\n checkRollbackOutcome();\n const fresh = await service!.list(context, r.namespace, signal, r.name, true);\n const target = fresh.rows.find(\n (candidate) => candidate.revision === r.revision && candidate.uid === r.uid,\n );\n if (!target) throw new HelmError(\"stale-revision\", \"Release changed; refresh history before rollback\");\n writeCheck();\n },\n () => {\n writeCheck();\n checkRollbackOutcome();\n },\n (phase, message) => {\n if (record) {\n const order = { preparing: 0, applying: 1, waiting: 2, completed: 3, failed: 3 };\n if (order[phase] > order[record.phase]) {\n const at = Date.now();\n finishStage(record, at);\n record.stages ??= {};\n record.stages[phase] = { startedAt: at };\n record.phase = phase;\n }\n appendLog(record, message);\n }\n },\n );\n } catch (error) {\n if (error instanceof HelmError && error.code === \"rollback-unknown\") uncertain.set(releaseKey, Symbol());\n throw error;\n } finally {\n for (const s of services.values()) s.clear();\n }\n });\n check();\n if (record) {\n record.finishedAt = Date.now();\n finishStage(record, record.finishedAt);\n record.status = \"succeeded\";\n record.phase = \"completed\";\n appendLog(record, \"Rollback completed and resources are ready\");\n }\n return {\n ok: true,\n contextId: context,\n rollbackAllowed: !readOnly.enabled,\n operations: record ? [snapshotOperation(record)] : undefined,\n };\n } catch (error) {\n if (record) {\n record.finishedAt = Date.now();\n finishStage(record, record.finishedAt);\n record.status = \"failed\";\n record.phase = \"failed\";\n record.error =\n error instanceof HelmError\n ? { code: error.code, message: error.message }\n : { code: \"unavailable\", message: \"Helm rollback is unavailable\" };\n appendLog(record, record.error.message);\n }\n return {\n ok: false,\n operations: record ? [snapshotOperation(record)] : undefined,\n error:\n error instanceof HelmError\n ? { code: error.code, message: error.message }\n : {\n code: controller?.signal.aborted ? \"cancelled\" : \"unavailable\",\n message: controller?.signal.aborted\n ? \"Helm request cancelled or timed out\"\n : \"Helm data is unavailable\",\n },\n };\n } finally {\n if (timer) clearTimeout(timer);\n if (reserved && reservations.get(reserved) === key) reservations.delete(reserved);\n if (key && record) detached.delete(key);\n prune();\n if (key && pending.get(key) === controller) pending.delete(key);\n }\n });\n return () => {\n active = false;\n stop();\n clear();\n for (const cleanup of observed.values()) cleanup();\n observed.clear();\n ipcMain.removeHandler(HELM_CHANNEL);\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;AAsBA,IAAM,QAAQ,IAAI,eAAA,YAAY,CAAC;AAC/B,IAAM,aAAa,IAAI,eAAA,YAAY,CAAC;AACpC,IAAM,SAAS,IAAI,eAAA,YAAY,CAAC;AAChC,IAAM,YAAY,IAAI,eAAA,YAAY,CAAC;AACnC,IAAM,aAAa,MACjB,OAAO,MAAM,YAAY,2CAA2C,KAAK,CAAC;AAC5E,SAAgB,oBAAoB,OAA6B;CAC/D,MAAM,IAAI;CACV,IACE,CAAC,KACD,OAAO,MAAM,YACb,OAAO,EAAE,cAAc,YACvB,CAAC,iBAAiB,KAAK,EAAE,SAAS,KAClC,CAAC,UAAU,EAAE,SAAS,KACrB,EAAE,cAAc,MAAM,CAAC,UAAU,EAAE,SAAS,KAC7C,CAAC;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC,CAAC,SAAS,EAAE,SAAS,GAEtB,MAAM,IAAI,eAAA,UAAU,mBAAmB,sBAAsB;CAC/D,IAAI,EAAE,cAAc,KAAA,MAAc,OAAO,EAAE,cAAc,YAAY,CAAC,iBAAiB,KAAK,EAAE,SAAS,IACrG,MAAM,IAAI,eAAA,UAAU,mBAAmB,sBAAsB;CAC/D,IACE;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC,CAAC,SAAS,EAAE,SAAS,MACrB,CAAC,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AA,YACb;KAAE,MAAM,MAAM;KAAM,SAAS,MAAM;IAAQ,IAC3C;KAAE,MAAM;KAAe,SAAS;IAA+B;IACrE,UAAU,QAAQ,OAAO,MAAM,OAAO;GACxC;GACA,OAAO;IACL,IAAI;IACJ,YAAY,SAAS,CAAC,kBAAkB,MAAM,CAAC,IAAI,KAAA;IACnD,OACE,iBAAiB,eAAA,YACb;KAAE,MAAM,MAAM;KAAM,SAAS,MAAM;IAAQ,IAC3C;KACE,MAAM,YAAY,OAAO,UAAU,cAAc;KACjD,SAAS,YAAY,OAAO,UACxB,wCACA;IACN;GACR;EACF,UAAU;GACR,IAAI,OAAO,aAAa,KAAK;GAC7B,IAAI,YAAY,aAAa,IAAI,QAAQ,MAAM,KAAK,aAAa,OAAO,QAAQ;GAChF,IAAI,OAAO,QAAQ,SAAS,OAAO,GAAG;GACtC,MAAM;GACN,IAAI,OAAO,QAAQ,IAAI,GAAG,MAAM,YAAY,QAAQ,OAAO,GAAG;EAChE;CACF,CAAC;CACD,aAAa;EACX,SAAS;EACT,KAAK;EACL,MAAM;EACN,KAAK,MAAM,WAAW,SAAS,OAAO,GAAG,QAAQ;EACjD,SAAS,MAAM;EACf,SAAA,QAAQ,cAAc,aAAA,YAAY;CACpC;AACF"}
|
package/out/main/helm-values.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const require_helm = require("./helm.js");
|
|
2
|
-
const require_helm_values_validation = require("./src/common/helm-values-validation.js");
|
|
3
|
-
let node_fs_promises = require("node:fs/promises");
|
|
4
|
-
let node_os = require("node:os");
|
|
5
|
-
let node_path = require("node:path");
|
|
6
|
-
//#region src/main/helm-values.ts
|
|
7
|
-
function validateHelmValues(values) {
|
|
8
|
-
const error = typeof values === "string" ? require_helm_values_validation.helmValuesValidationError(values) : "Values must be YAML text";
|
|
9
|
-
if (error) throw new require_helm.HelmError("invalid-values", error);
|
|
10
|
-
}
|
|
11
|
-
function chartChoices(output, name, version) {
|
|
12
|
-
let rows;
|
|
13
|
-
try {
|
|
14
|
-
rows = JSON.parse(output);
|
|
15
|
-
} catch {
|
|
16
|
-
throw new require_helm.HelmError("chart-unavailable", "Helm repository search is unavailable");
|
|
17
|
-
}
|
|
18
|
-
if (!Array.isArray(rows)) throw new require_helm.HelmError("chart-unavailable", "Helm repository search is unavailable");
|
|
19
|
-
return [...new Set(rows.filter((row) => row && row.version === version && typeof row.name === "string" && /^[a-zA-Z0-9][a-zA-Z0-9._-]*\/[a-z0-9][a-z0-9._-]*$/.test(row.name) && row.name.split("/")[1] === name).map((row) => row.name))].map((ref) => ({
|
|
20
|
-
ref,
|
|
21
|
-
version
|
|
22
|
-
}));
|
|
23
|
-
}
|
|
24
|
-
async function withHelmValues(values, action) {
|
|
25
|
-
const directory = await (0, node_fs_promises.mkdtemp)((0, node_path.join)((0, node_os.tmpdir)(), "freelens-helm-values-"));
|
|
26
|
-
try {
|
|
27
|
-
const path = (0, node_path.join)(directory, "values.yaml");
|
|
28
|
-
await (0, node_fs_promises.writeFile)(path, values, {
|
|
29
|
-
mode: 384,
|
|
30
|
-
flag: "wx"
|
|
31
|
-
});
|
|
32
|
-
return await action(path);
|
|
33
|
-
} finally {
|
|
34
|
-
await (0, node_fs_promises.rm)(directory, {
|
|
35
|
-
recursive: true,
|
|
36
|
-
force: true
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
//#endregion
|
|
41
|
-
exports.chartChoices = chartChoices;
|
|
42
|
-
exports.validateHelmValues = validateHelmValues;
|
|
43
|
-
exports.withHelmValues = withHelmValues;
|
|
44
|
-
|
|
45
|
-
//# sourceMappingURL=helm-values.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helm-values.js","names":[],"sources":["../../src/main/helm-values.ts"],"sourcesContent":["import { mkdtemp, rm, writeFile } from \"node:fs/promises\";\nimport { tmpdir } from \"node:os\";\nimport { join } from \"node:path\";\nimport { helmValuesValidationError } from \"../common/helm-values-validation\";\nimport { HelmError } from \"./helm\";\n\nexport function validateHelmValues(values: unknown): asserts values is string {\n const error = typeof values === \"string\" ? helmValuesValidationError(values) : \"Values must be YAML text\";\n if (error) throw new HelmError(\"invalid-values\", error);\n}\nexport function chartChoices(output: string, name: string, version: string): Array<{ ref: string; version: string }> {\n let rows: unknown;\n try {\n rows = JSON.parse(output);\n } catch {\n throw new HelmError(\"chart-unavailable\", \"Helm repository search is unavailable\");\n }\n if (!Array.isArray(rows)) throw new HelmError(\"chart-unavailable\", \"Helm repository search is unavailable\");\n return [\n ...new Set(\n rows\n .filter(\n (row) =>\n row &&\n row.version === version &&\n typeof row.name === \"string\" &&\n /^[a-zA-Z0-9][a-zA-Z0-9._-]*\\/[a-z0-9][a-z0-9._-]*$/.test(row.name) &&\n row.name.split(\"/\")[1] === name,\n )\n .map((row) => row.name),\n ),\n ].map((ref) => ({ ref, version }));\n}\nexport async function withHelmValues<T>(values: string, action: (path: string) => Promise<T>): Promise<T> {\n const directory = await mkdtemp(join(tmpdir(), \"freelens-helm-values-\"));\n try {\n const path = join(directory, \"values.yaml\");\n await writeFile(path, values, { mode: 0o600, flag: \"wx\" });\n return await action(path);\n } finally {\n await rm(directory, { recursive: true, force: true });\n }\n}\n"],"mappings":";;;;;;AAMA,SAAgB,mBAAmB,QAA2C;CAC5E,MAAM,QAAQ,OAAO,WAAW,WAAW,+BAAA,0BAA0B,MAAM,IAAI;CAC/E,IAAI,OAAO,MAAM,IAAI,aAAA,UAAU,kBAAkB,KAAK;AACxD;AACA,SAAgB,aAAa,QAAgB,MAAc,SAA0D;CACnH,IAAI;CACJ,IAAI;EACF,OAAO,KAAK,MAAM,MAAM;CAC1B,QAAQ;EACN,MAAM,IAAI,aAAA,UAAU,qBAAqB,uCAAuC;CAClF;CACA,IAAI,CAAC,MAAM,QAAQ,IAAI,GAAG,MAAM,IAAI,aAAA,UAAU,qBAAqB,uCAAuC;CAC1G,OAAO,CACL,GAAG,IAAI,IACL,KACG,QACE,QACC,OACA,IAAI,YAAY,WAChB,OAAO,IAAI,SAAS,YACpB,qDAAqD,KAAK,IAAI,IAAI,KAClE,IAAI,KAAK,MAAM,GAAG,CAAC,CAAC,OAAO,IAC/B,CAAC,CACA,KAAK,QAAQ,IAAI,IAAI,CAC1B,CACF,CAAC,CAAC,KAAK,SAAS;EAAE;EAAK;CAAQ,EAAE;AACnC;AACA,eAAsB,eAAkB,QAAgB,QAAkD;CACxG,MAAM,YAAY,OAAA,GAAA,iBAAA,QAAA,EAAA,GAAA,UAAA,KAAA,EAAA,GAAA,QAAA,OAAA,CAA0B,GAAG,uBAAuB,CAAC;CACvE,IAAI;EACF,MAAM,QAAA,GAAA,UAAA,KAAA,CAAY,WAAW,aAAa;EAC1C,OAAA,GAAA,iBAAA,UAAA,CAAgB,MAAM,QAAQ;GAAE,MAAM;GAAO,MAAM;EAAK,CAAC;EACzD,OAAO,MAAM,OAAO,IAAI;CAC1B,UAAU;EACR,OAAA,GAAA,iBAAA,GAAA,CAAS,WAAW;GAAE,WAAW;GAAM,OAAO;EAAK,CAAC;CACtD;AACF"}
|
package/out/main/helm.js
DELETED
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
const require_index = require("./node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js");
|
|
2
|
-
let node_zlib = require("node:zlib");
|
|
3
|
-
//#region src/main/helm.ts
|
|
4
|
-
var import_dist = require_index.default;
|
|
5
|
-
var HelmError = class extends Error {
|
|
6
|
-
code;
|
|
7
|
-
constructor(code, message) {
|
|
8
|
-
super(message);
|
|
9
|
-
this.code = code;
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
var invalid = () => new HelmError("invalid-data", "Helm release data is invalid or exceeds safety limits");
|
|
13
|
-
function metadataRelease(value) {
|
|
14
|
-
const m = value?.metadata;
|
|
15
|
-
if (!m || typeof m.name !== "string" || typeof m.namespace !== "string" || m.name.length > 300 || m.namespace.length > 253) return;
|
|
16
|
-
const match = /^sh\.helm\.release\.v1\.(.+)\.v([1-9]\d*)$/.exec(m.name);
|
|
17
|
-
const l = m.labels;
|
|
18
|
-
if (!match || !l || l.owner !== "helm" || l.name !== match[1] || l.version !== match[2] || typeof l.status !== "string" || !l.status || l.status.length > 64 || !Number.isSafeInteger(Number(match[2]))) return;
|
|
19
|
-
const timestamp = Number(l.modifiedAt ?? l.createdAt);
|
|
20
|
-
const updatedAt = Number.isFinite(timestamp) && timestamp > 0 && timestamp <= 864e10 ? (/* @__PURE__ */ new Date(timestamp * 1e3)).toISOString() : m.creationTimestamp;
|
|
21
|
-
return {
|
|
22
|
-
name: match[1],
|
|
23
|
-
namespace: m.namespace,
|
|
24
|
-
revision: Number(match[2]),
|
|
25
|
-
status: l.status,
|
|
26
|
-
secretName: m.name,
|
|
27
|
-
uid: typeof m.uid === "string" && /^[a-zA-Z0-9-]{1,128}$/.test(m.uid) ? m.uid : void 0,
|
|
28
|
-
resourceVersion: typeof m.resourceVersion === "string" && /^[a-zA-Z0-9._-]{1,128}$/.test(m.resourceVersion) ? m.resourceVersion : void 0,
|
|
29
|
-
updatedAt
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
function latestReleases(rows) {
|
|
33
|
-
const latest = /* @__PURE__ */ new Map();
|
|
34
|
-
for (const row of rows) {
|
|
35
|
-
const key = `${row.namespace}/${row.name}`;
|
|
36
|
-
if ((latest.get(key)?.revision ?? 0) < row.revision) latest.set(key, row);
|
|
37
|
-
}
|
|
38
|
-
return [...latest.values()].sort((a, b) => a.name.localeCompare(b.name) || a.namespace.localeCompare(b.namespace));
|
|
39
|
-
}
|
|
40
|
-
var MAX = 8 * 1024 * 1024;
|
|
41
|
-
function validateReleaseTree(root) {
|
|
42
|
-
const pending = [{
|
|
43
|
-
value: root,
|
|
44
|
-
depth: 0
|
|
45
|
-
}];
|
|
46
|
-
let nodes = 0;
|
|
47
|
-
let projected = 0;
|
|
48
|
-
while (pending.length) {
|
|
49
|
-
const { value, depth } = pending.pop();
|
|
50
|
-
if (++nodes > 1e5 || depth > 64) throw invalid();
|
|
51
|
-
projected += depth * 2 + 16;
|
|
52
|
-
if (typeof value === "string") {
|
|
53
|
-
let lines = 0;
|
|
54
|
-
for (let index = 0; index < value.length; index++) if (value.charCodeAt(index) === 10) lines++;
|
|
55
|
-
projected += Buffer.byteLength(value) * 2 + lines * (depth * 2 + 4);
|
|
56
|
-
} else if (value && typeof value === "object") for (const [key, child] of Object.entries(value)) {
|
|
57
|
-
projected += Buffer.byteLength(key) * 2 + 8;
|
|
58
|
-
if (projected > MAX) throw invalid();
|
|
59
|
-
pending.push({
|
|
60
|
-
value: child,
|
|
61
|
-
depth: depth + 1
|
|
62
|
-
});
|
|
63
|
-
if (pending.length > 1e5) throw invalid();
|
|
64
|
-
}
|
|
65
|
-
if (projected > MAX) throw invalid();
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
function decodeRelease(encoded, expected) {
|
|
69
|
-
if (typeof encoded !== "string" || encoded.length > MAX * 2 || !/^[A-Za-z0-9+/=\r\n]+$/.test(encoded)) throw invalid();
|
|
70
|
-
try {
|
|
71
|
-
const inner = Buffer.from(encoded, "base64").toString("utf8");
|
|
72
|
-
if (!/^[A-Za-z0-9+/=\r\n]+$/.test(inner)) throw invalid();
|
|
73
|
-
const compressed = Buffer.from(inner, "base64");
|
|
74
|
-
const body = compressed[0] === 31 && compressed[1] === 139 ? (0, node_zlib.gunzipSync)(compressed, { maxOutputLength: MAX }) : compressed;
|
|
75
|
-
if (body.length > MAX) throw invalid();
|
|
76
|
-
const release = JSON.parse(body.toString("utf8"));
|
|
77
|
-
if (!release || release.name !== expected.name || typeof release.namespace !== "string" || !/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/.test(release.namespace) || release.version !== expected.revision) throw invalid();
|
|
78
|
-
validateReleaseTree(release);
|
|
79
|
-
return release;
|
|
80
|
-
} catch {
|
|
81
|
-
throw invalid();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
function releaseDetail(release, section) {
|
|
85
|
-
const optionalText = (value) => typeof value === "string" ? value : void 0;
|
|
86
|
-
const chartName = optionalText(release.chart?.metadata?.name);
|
|
87
|
-
const chartVersion = optionalText(release.chart?.metadata?.version);
|
|
88
|
-
const overview = {
|
|
89
|
-
name: release.name,
|
|
90
|
-
namespace: release.namespace,
|
|
91
|
-
revision: release.version,
|
|
92
|
-
status: optionalText(release.info?.status) ?? "unknown",
|
|
93
|
-
chartName,
|
|
94
|
-
chart: chartName ? `${chartName}-${chartVersion ?? ""}` : void 0,
|
|
95
|
-
appVersion: optionalText(release.chart?.metadata?.appVersion),
|
|
96
|
-
chartVersion,
|
|
97
|
-
description: optionalText(release.info?.description),
|
|
98
|
-
updatedAt: optionalText(release.info?.last_deployed)
|
|
99
|
-
};
|
|
100
|
-
const content = section === "values" ? (0, import_dist.stringify)(release.config ?? {}) : section === "manifest" ? String(release.manifest ?? "") : section === "notes" ? String(release.info?.notes ?? "") : (0, import_dist.stringify)(overview);
|
|
101
|
-
if (Buffer.byteLength(content) > MAX) throw invalid();
|
|
102
|
-
return {
|
|
103
|
-
overview,
|
|
104
|
-
section,
|
|
105
|
-
content,
|
|
106
|
-
language: section === "notes" ? "plaintext" : "yaml"
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
var HelmLimiter = class {
|
|
110
|
-
maximum;
|
|
111
|
-
count = 0;
|
|
112
|
-
waits = [];
|
|
113
|
-
constructor(maximum = 2) {
|
|
114
|
-
this.maximum = maximum;
|
|
115
|
-
}
|
|
116
|
-
release() {
|
|
117
|
-
const next = this.waits.shift();
|
|
118
|
-
if (next) next();
|
|
119
|
-
else this.count--;
|
|
120
|
-
}
|
|
121
|
-
async run(signal, action) {
|
|
122
|
-
if (signal.aborted) throw new HelmError("cancelled", "Helm request cancelled");
|
|
123
|
-
if (this.count < this.maximum) this.count++;
|
|
124
|
-
else await new Promise((resolve, reject) => {
|
|
125
|
-
const wake = () => {
|
|
126
|
-
signal.removeEventListener("abort", abort);
|
|
127
|
-
resolve();
|
|
128
|
-
};
|
|
129
|
-
const abort = () => {
|
|
130
|
-
signal.removeEventListener("abort", abort);
|
|
131
|
-
this.waits = this.waits.filter((x) => x !== wake);
|
|
132
|
-
reject(new HelmError("cancelled", "Helm request cancelled"));
|
|
133
|
-
};
|
|
134
|
-
this.waits.push(wake);
|
|
135
|
-
signal.addEventListener("abort", abort, { once: true });
|
|
136
|
-
if (signal.aborted) abort();
|
|
137
|
-
});
|
|
138
|
-
try {
|
|
139
|
-
if (signal.aborted) throw new HelmError("cancelled", "Helm request cancelled");
|
|
140
|
-
return await action();
|
|
141
|
-
} finally {
|
|
142
|
-
this.release();
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
var HelmService = class {
|
|
147
|
-
read;
|
|
148
|
-
now;
|
|
149
|
-
cache = /* @__PURE__ */ new Map();
|
|
150
|
-
details = /* @__PURE__ */ new Map();
|
|
151
|
-
summaries = /* @__PURE__ */ new Map();
|
|
152
|
-
generation = 0;
|
|
153
|
-
constructor(read, now = Date.now) {
|
|
154
|
-
this.read = read;
|
|
155
|
-
this.now = now;
|
|
156
|
-
}
|
|
157
|
-
clear() {
|
|
158
|
-
this.cache.clear();
|
|
159
|
-
this.details.clear();
|
|
160
|
-
this.summaries.clear();
|
|
161
|
-
this.generation++;
|
|
162
|
-
}
|
|
163
|
-
async list(partition, namespace, signal, name, refresh = false, storageOnly = false) {
|
|
164
|
-
const generation = this.generation;
|
|
165
|
-
if (signal.aborted) throw new HelmError("cancelled", "Helm request cancelled");
|
|
166
|
-
const suffix = storageOnly ? "\0helm-storage" : "";
|
|
167
|
-
const key = `${partition}\0${namespace}\0${name ?? ""}${suffix}`;
|
|
168
|
-
const entry = this.cache.get(key) ?? (name ? this.cache.get(`${partition}\0${namespace}\0${suffix}`) : void 0);
|
|
169
|
-
if (!refresh && entry && this.now() - entry.at < 3e4) return {
|
|
170
|
-
rows: name ? entry.rows.filter((r) => r.name === name) : entry.rows,
|
|
171
|
-
fetchedAt: entry.at,
|
|
172
|
-
cached: true
|
|
173
|
-
};
|
|
174
|
-
const rows = [];
|
|
175
|
-
let token = "";
|
|
176
|
-
for (let page = 0;; page++) {
|
|
177
|
-
if (page >= 4) throw new HelmError("limit", "Helm metadata exceeds the 4 page limit; select a namespace");
|
|
178
|
-
const response = await this.read(`/api/v1/${namespace ? `namespaces/${encodeURIComponent(namespace)}/` : ""}secrets`, {
|
|
179
|
-
labelSelector: `owner=helm${name ? `,name=${name}` : ""}`,
|
|
180
|
-
...storageOnly ? { fieldSelector: "type=helm.sh/release.v1" } : {},
|
|
181
|
-
limit: 5e3,
|
|
182
|
-
...token ? { continue: token } : {}
|
|
183
|
-
}, true, signal);
|
|
184
|
-
if (response?.kind !== "PartialObjectMetadataList" || response?.apiVersion !== "meta.k8s.io/v1" || response.items !== null && !Array.isArray(response.items)) throw new HelmError("metadata-unavailable", "The API server must support PartialObjectMetadataList; full Secret listing is disabled");
|
|
185
|
-
for (const item of response.items ?? []) {
|
|
186
|
-
const row = metadataRelease(item);
|
|
187
|
-
if (row && (!namespace || row.namespace === namespace) && (!name || row.name === name)) rows.push(row);
|
|
188
|
-
}
|
|
189
|
-
if (rows.length > 2e4) throw new HelmError("limit", "Helm metadata exceeds the release limit; select a namespace");
|
|
190
|
-
token = response.metadata?.continue ?? "";
|
|
191
|
-
if (typeof token !== "string" || token.length > 8192) throw invalid();
|
|
192
|
-
if (!token) break;
|
|
193
|
-
}
|
|
194
|
-
if (generation !== this.generation || signal.aborted) throw new HelmError("cancelled", "Helm data changed or the request was cancelled; refresh releases");
|
|
195
|
-
const at = this.now();
|
|
196
|
-
if (this.cache.size >= 8) this.cache.delete(this.cache.keys().next().value);
|
|
197
|
-
this.cache.set(key, {
|
|
198
|
-
at,
|
|
199
|
-
rows
|
|
200
|
-
});
|
|
201
|
-
return {
|
|
202
|
-
rows,
|
|
203
|
-
fetchedAt: at,
|
|
204
|
-
cached: false
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
async appVersion(partition, row, signal, refresh = false) {
|
|
208
|
-
const key = `${partition}\0${row.namespace}\0${row.secretName}\0${row.uid ?? ""}`;
|
|
209
|
-
const cached = this.summaries.get(key);
|
|
210
|
-
if (!refresh && cached && this.now() - cached.at < 3e5) {
|
|
211
|
-
this.summaries.delete(key);
|
|
212
|
-
this.summaries.set(key, cached);
|
|
213
|
-
return {
|
|
214
|
-
appVersion: cached.appVersion,
|
|
215
|
-
chartVersion: cached.chartVersion
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
const generation = this.generation;
|
|
219
|
-
const detail = await this.detail(partition, row, "overview", signal, refresh);
|
|
220
|
-
const text = (value) => typeof value === "string" && Buffer.byteLength(value) <= 1024 ? value : void 0;
|
|
221
|
-
const summary = {
|
|
222
|
-
appVersion: text(detail.overview.appVersion),
|
|
223
|
-
chartVersion: text(detail.overview.chartVersion)
|
|
224
|
-
};
|
|
225
|
-
if (generation === this.generation && !signal.aborted) {
|
|
226
|
-
this.summaries.delete(key);
|
|
227
|
-
if (this.summaries.size >= 1e3) this.summaries.delete(this.summaries.keys().next().value);
|
|
228
|
-
this.summaries.set(key, {
|
|
229
|
-
at: this.now(),
|
|
230
|
-
...summary
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
return summary;
|
|
234
|
-
}
|
|
235
|
-
async chartMetadata(partition, row, signal) {
|
|
236
|
-
const { chartName: name, chartVersion: version } = (await this.detail(partition, row, "overview", signal, true)).overview;
|
|
237
|
-
if (typeof name !== "string" || !/^[a-z0-9][a-z0-9._-]{0,252}$/.test(name) || typeof version !== "string" || !/^[0-9][a-zA-Z0-9.+-]{0,127}$/.test(version)) throw invalid();
|
|
238
|
-
return {
|
|
239
|
-
name,
|
|
240
|
-
version
|
|
241
|
-
};
|
|
242
|
-
}
|
|
243
|
-
async detail(partition, row, section, signal, refresh = false) {
|
|
244
|
-
return releaseDetail(await this.release(partition, row, signal, refresh), section);
|
|
245
|
-
}
|
|
246
|
-
async installedChart(partition, row, signal) {
|
|
247
|
-
const release = await this.release(partition, row, signal, false);
|
|
248
|
-
return {
|
|
249
|
-
chart: release.chart,
|
|
250
|
-
manifest: release.manifest,
|
|
251
|
-
hooks: release.hooks
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
async release(partition, row, signal, refresh) {
|
|
255
|
-
const key = `${partition}\0${row.namespace}\0${row.secretName}\0${row.uid ?? ""}`;
|
|
256
|
-
const generation = this.generation;
|
|
257
|
-
let entry = this.details.get(key);
|
|
258
|
-
if (refresh || !entry || this.now() - entry.at >= 15e3) {
|
|
259
|
-
const secret = await this.read(`/api/v1/namespaces/${encodeURIComponent(row.namespace)}/secrets/${encodeURIComponent(row.secretName)}`, {}, false, signal);
|
|
260
|
-
const actual = metadataRelease(secret);
|
|
261
|
-
if (!actual || actual.name !== row.name || actual.revision !== row.revision || actual.namespace !== row.namespace || row.uid !== void 0 && actual.uid !== row.uid || secret.type !== "helm.sh/release.v1") throw invalid();
|
|
262
|
-
entry = {
|
|
263
|
-
at: this.now(),
|
|
264
|
-
release: decodeRelease(secret.data?.release, row)
|
|
265
|
-
};
|
|
266
|
-
}
|
|
267
|
-
if (generation !== this.generation || signal.aborted) throw new HelmError("cancelled", "Helm data changed or the request was cancelled; refresh releases");
|
|
268
|
-
this.details.delete(key);
|
|
269
|
-
if (this.details.size >= 4) this.details.delete(this.details.keys().next().value);
|
|
270
|
-
this.details.set(key, entry);
|
|
271
|
-
return entry.release;
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
//#endregion
|
|
275
|
-
exports.HelmError = HelmError;
|
|
276
|
-
exports.HelmLimiter = HelmLimiter;
|
|
277
|
-
exports.HelmService = HelmService;
|
|
278
|
-
exports.decodeRelease = decodeRelease;
|
|
279
|
-
exports.latestReleases = latestReleases;
|
|
280
|
-
exports.metadataRelease = metadataRelease;
|
|
281
|
-
exports.releaseDetail = releaseDetail;
|
|
282
|
-
|
|
283
|
-
//# sourceMappingURL=helm.js.map
|
package/out/main/helm.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"helm.js","names":[],"sources":["../../src/main/helm.ts"],"sourcesContent":["import { gunzipSync } from \"node:zlib\";\nimport { stringify } from \"yaml\";\n\nimport type { HelmDetail, HelmReleaseMetadata, HelmSection } from \"../common/helm\";\n\nexport class HelmError extends Error {\n constructor(\n public code: string,\n message: string,\n ) {\n super(message);\n }\n}\nconst invalid = () => new HelmError(\"invalid-data\", \"Helm release data is invalid or exceeds safety limits\");\nexport function metadataRelease(value: unknown): HelmReleaseMetadata | undefined {\n const m = (\n value as {\n metadata?: {\n uid?: string;\n resourceVersion?: string;\n name?: string;\n namespace?: string;\n labels?: Record<string, string>;\n creationTimestamp?: string;\n };\n }\n )?.metadata;\n if (\n !m ||\n typeof m.name !== \"string\" ||\n typeof m.namespace !== \"string\" ||\n m.name.length > 300 ||\n m.namespace.length > 253\n )\n return;\n const match = /^sh\\.helm\\.release\\.v1\\.(.+)\\.v([1-9]\\d*)$/.exec(m.name);\n const l = m.labels;\n if (\n !match ||\n !l ||\n l.owner !== \"helm\" ||\n l.name !== match[1] ||\n l.version !== match[2] ||\n typeof l.status !== \"string\" ||\n !l.status ||\n l.status.length > 64 ||\n !Number.isSafeInteger(Number(match[2]))\n )\n return;\n const timestamp = Number(l.modifiedAt ?? l.createdAt);\n const updatedAt =\n Number.isFinite(timestamp) && timestamp > 0 && timestamp <= 8_640_000_000_000\n ? new Date(timestamp * 1000).toISOString()\n : m.creationTimestamp;\n return {\n name: match[1],\n namespace: m.namespace,\n revision: Number(match[2]),\n status: l.status,\n secretName: m.name,\n uid: typeof m.uid === \"string\" && /^[a-zA-Z0-9-]{1,128}$/.test(m.uid) ? m.uid : undefined,\n resourceVersion:\n typeof m.resourceVersion === \"string\" && /^[a-zA-Z0-9._-]{1,128}$/.test(m.resourceVersion)\n ? m.resourceVersion\n : undefined,\n updatedAt,\n };\n}\nexport function latestReleases(rows: HelmReleaseMetadata[]): HelmReleaseMetadata[] {\n const latest = new Map<string, HelmReleaseMetadata>();\n for (const row of rows) {\n const key = `${row.namespace}/${row.name}`;\n if ((latest.get(key)?.revision ?? 0) < row.revision) latest.set(key, row);\n }\n return [...latest.values()].sort((a, b) => a.name.localeCompare(b.name) || a.namespace.localeCompare(b.namespace));\n}\nconst MAX = 8 * 1024 * 1024;\nfunction validateReleaseTree(root: unknown): void {\n const pending: Array<{ value: unknown; depth: number }> = [{ value: root, depth: 0 }];\n let nodes = 0;\n let projected = 0;\n while (pending.length) {\n const { value, depth } = pending.pop()!;\n if (++nodes > 100_000 || depth > 64) throw invalid();\n projected += depth * 2 + 16;\n if (typeof value === \"string\") {\n let lines = 0;\n for (let index = 0; index < value.length; index++) if (value.charCodeAt(index) === 10) lines++;\n projected += Buffer.byteLength(value) * 2 + lines * (depth * 2 + 4);\n } else if (value && typeof value === \"object\") {\n for (const [key, child] of Object.entries(value)) {\n projected += Buffer.byteLength(key) * 2 + 8;\n if (projected > MAX) throw invalid();\n pending.push({ value: child, depth: depth + 1 });\n if (pending.length > 100_000) throw invalid();\n }\n }\n if (projected > MAX) throw invalid();\n }\n}\nexport function decodeRelease(encoded: unknown, expected: HelmReleaseMetadata): Record<string, any> {\n if (typeof encoded !== \"string\" || encoded.length > MAX * 2 || !/^[A-Za-z0-9+/=\\r\\n]+$/.test(encoded))\n throw invalid();\n try {\n const inner = Buffer.from(encoded, \"base64\").toString(\"utf8\");\n if (!/^[A-Za-z0-9+/=\\r\\n]+$/.test(inner)) throw invalid();\n const compressed = Buffer.from(inner, \"base64\");\n const body =\n compressed[0] === 0x1f && compressed[1] === 0x8b ? gunzipSync(compressed, { maxOutputLength: MAX }) : compressed;\n if (body.length > MAX) throw invalid();\n const release = JSON.parse(body.toString(\"utf8\"));\n if (\n !release ||\n release.name !== expected.name ||\n // the release target namespace can differ from the storage Secret namespace\n typeof release.namespace !== \"string\" ||\n !/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/.test(release.namespace) ||\n release.version !== expected.revision\n )\n throw invalid();\n validateReleaseTree(release);\n return release;\n } catch {\n throw invalid();\n }\n}\nexport function releaseDetail(release: Record<string, any>, section: HelmSection): HelmDetail {\n const optionalText = (value: unknown) => (typeof value === \"string\" ? value : undefined);\n const chartName = optionalText(release.chart?.metadata?.name);\n const chartVersion = optionalText(release.chart?.metadata?.version);\n const overview = {\n name: release.name,\n namespace: release.namespace,\n revision: release.version,\n status: optionalText(release.info?.status) ?? \"unknown\",\n chartName,\n chart: chartName ? `${chartName}-${chartVersion ?? \"\"}` : undefined,\n appVersion: optionalText(release.chart?.metadata?.appVersion),\n chartVersion,\n description: optionalText(release.info?.description),\n updatedAt: optionalText(release.info?.last_deployed),\n };\n const content =\n section === \"values\"\n ? stringify(release.config ?? {})\n : section === \"manifest\"\n ? String(release.manifest ?? \"\")\n : section === \"notes\"\n ? String(release.info?.notes ?? \"\")\n : stringify(overview);\n if (Buffer.byteLength(content) > MAX) throw invalid();\n return { overview, section, content, language: section === \"notes\" ? \"plaintext\" : \"yaml\" };\n}\nexport class HelmLimiter {\n private count = 0;\n private waits: Array<() => void> = [];\n constructor(private maximum = 2) {}\n private release(): void {\n const next = this.waits.shift();\n if (next) next();\n else this.count--;\n }\n async run<T>(signal: AbortSignal, action: () => Promise<T>): Promise<T> {\n if (signal.aborted) throw new HelmError(\"cancelled\", \"Helm request cancelled\");\n if (this.count < this.maximum) this.count++;\n else {\n await new Promise<void>((resolve, reject) => {\n const wake = () => {\n signal.removeEventListener(\"abort\", abort);\n resolve();\n };\n const abort = () => {\n signal.removeEventListener(\"abort\", abort);\n this.waits = this.waits.filter((x) => x !== wake);\n reject(new HelmError(\"cancelled\", \"Helm request cancelled\"));\n };\n this.waits.push(wake);\n signal.addEventListener(\"abort\", abort, { once: true });\n if (signal.aborted) abort();\n });\n }\n try {\n if (signal.aborted) throw new HelmError(\"cancelled\", \"Helm request cancelled\");\n return await action();\n } finally {\n this.release();\n }\n }\n}\nexport interface HelmReader {\n (path: string, query: Record<string, string | number>, metadata: boolean, signal: AbortSignal): Promise<unknown>;\n}\nexport class HelmService {\n private cache = new Map<string, { at: number; rows: HelmReleaseMetadata[] }>();\n private details = new Map<string, { at: number; release: Record<string, any> }>();\n private summaries = new Map<string, { at: number; appVersion?: string; chartVersion?: string }>();\n private generation = 0;\n constructor(\n private read: HelmReader,\n private now = Date.now,\n ) {}\n clear() {\n this.cache.clear();\n this.details.clear();\n this.summaries.clear();\n this.generation++;\n }\n async list(\n partition: string,\n namespace: string,\n signal: AbortSignal,\n name?: string,\n refresh = false,\n storageOnly = false,\n ) {\n const generation = this.generation;\n if (signal.aborted) throw new HelmError(\"cancelled\", \"Helm request cancelled\");\n const suffix = storageOnly ? \"\\0helm-storage\" : \"\";\n const key = `${partition}\\0${namespace}\\0${name ?? \"\"}${suffix}`;\n const entry = this.cache.get(key) ?? (name ? this.cache.get(`${partition}\\0${namespace}\\0${suffix}`) : undefined);\n if (!refresh && entry && this.now() - entry.at < 30_000)\n return { rows: name ? entry.rows.filter((r) => r.name === name) : entry.rows, fetchedAt: entry.at, cached: true };\n const rows: HelmReleaseMetadata[] = [];\n let token = \"\";\n for (let page = 0; ; page++) {\n if (page >= 4) throw new HelmError(\"limit\", \"Helm metadata exceeds the 4 page limit; select a namespace\");\n const response: any = await this.read(\n `/api/v1/${namespace ? `namespaces/${encodeURIComponent(namespace)}/` : \"\"}secrets`,\n {\n labelSelector: `owner=helm${name ? `,name=${name}` : \"\"}`,\n ...(storageOnly ? { fieldSelector: \"type=helm.sh/release.v1\" } : {}),\n limit: 5000,\n ...(token ? { continue: token } : {}),\n },\n true,\n signal,\n );\n if (\n response?.kind !== \"PartialObjectMetadataList\" ||\n response?.apiVersion !== \"meta.k8s.io/v1\" ||\n (response.items !== null && !Array.isArray(response.items))\n )\n throw new HelmError(\n \"metadata-unavailable\",\n \"The API server must support PartialObjectMetadataList; full Secret listing is disabled\",\n );\n for (const item of response.items ?? []) {\n const row = metadataRelease(item);\n if (row && (!namespace || row.namespace === namespace) && (!name || row.name === name)) rows.push(row);\n }\n if (rows.length > 20_000)\n throw new HelmError(\"limit\", \"Helm metadata exceeds the release limit; select a namespace\");\n token = response.metadata?.continue ?? \"\";\n if (typeof token !== \"string\" || token.length > 8192) throw invalid();\n if (!token) break;\n }\n if (generation !== this.generation || signal.aborted)\n throw new HelmError(\"cancelled\", \"Helm data changed or the request was cancelled; refresh releases\");\n const at = this.now();\n if (this.cache.size >= 8) this.cache.delete(this.cache.keys().next().value!);\n this.cache.set(key, { at, rows });\n return { rows, fetchedAt: at, cached: false };\n }\n async appVersion(partition: string, row: HelmReleaseMetadata, signal: AbortSignal, refresh = false) {\n const key = `${partition}\\0${row.namespace}\\0${row.secretName}\\0${row.uid ?? \"\"}`;\n const cached = this.summaries.get(key);\n if (!refresh && cached && this.now() - cached.at < 300_000) {\n this.summaries.delete(key);\n this.summaries.set(key, cached);\n return { appVersion: cached.appVersion, chartVersion: cached.chartVersion };\n }\n const generation = this.generation;\n const detail = await this.detail(partition, row, \"overview\", signal, refresh);\n const text = (value: unknown) =>\n typeof value === \"string\" && Buffer.byteLength(value) <= 1024 ? value : undefined;\n const summary = { appVersion: text(detail.overview.appVersion), chartVersion: text(detail.overview.chartVersion) };\n if (generation === this.generation && !signal.aborted) {\n this.summaries.delete(key);\n if (this.summaries.size >= 1000) this.summaries.delete(this.summaries.keys().next().value!);\n this.summaries.set(key, { at: this.now(), ...summary });\n }\n return summary;\n }\n async chartMetadata(partition: string, row: HelmReleaseMetadata, signal: AbortSignal) {\n const detail = await this.detail(partition, row, \"overview\", signal, true);\n const { chartName: name, chartVersion: version } = detail.overview;\n if (\n typeof name !== \"string\" ||\n !/^[a-z0-9][a-z0-9._-]{0,252}$/.test(name) ||\n typeof version !== \"string\" ||\n !/^[0-9][a-zA-Z0-9.+-]{0,127}$/.test(version)\n )\n throw invalid();\n return { name, version };\n }\n async detail(\n partition: string,\n row: HelmReleaseMetadata,\n section: HelmSection,\n signal: AbortSignal,\n refresh = false,\n ): Promise<HelmDetail> {\n return releaseDetail(await this.release(partition, row, signal, refresh), section);\n }\n async installedChart(partition: string, row: HelmReleaseMetadata, signal: AbortSignal) {\n const release = await this.release(partition, row, signal, false);\n return { chart: release.chart, manifest: release.manifest, hooks: release.hooks };\n }\n private async release(partition: string, row: HelmReleaseMetadata, signal: AbortSignal, refresh: boolean) {\n const key = `${partition}\\0${row.namespace}\\0${row.secretName}\\0${row.uid ?? \"\"}`;\n const generation = this.generation;\n let entry = this.details.get(key);\n if (refresh || !entry || this.now() - entry.at >= 15_000) {\n const secret: any = await this.read(\n `/api/v1/namespaces/${encodeURIComponent(row.namespace)}/secrets/${encodeURIComponent(row.secretName)}`,\n {},\n false,\n signal,\n );\n const actual = metadataRelease(secret);\n if (\n !actual ||\n actual.name !== row.name ||\n actual.revision !== row.revision ||\n actual.namespace !== row.namespace ||\n (row.uid !== undefined && actual.uid !== row.uid) ||\n secret.type !== \"helm.sh/release.v1\"\n )\n throw invalid();\n entry = { at: this.now(), release: decodeRelease(secret.data?.release, row) };\n }\n if (generation !== this.generation || signal.aborted)\n throw new HelmError(\"cancelled\", \"Helm data changed or the request was cancelled; refresh releases\");\n this.details.delete(key);\n if (this.details.size >= 4) this.details.delete(this.details.keys().next().value!);\n this.details.set(key, entry);\n return entry.release;\n }\n}\n"],"mappings":";;;;AAKA,IAAa,YAAb,cAA+B,MAAM;CAE1B;CADT,YACE,MACA,SACA;EACA,MAAM,OAAO;EAHN,KAAA,OAAA;CAIT;AACF;AACA,IAAM,gBAAgB,IAAI,UAAU,gBAAgB,uDAAuD;AAC3G,SAAgB,gBAAgB,OAAiD;CAC/E,MAAM,IACJ,OAUC;CACH,IACE,CAAC,KACD,OAAO,EAAE,SAAS,YAClB,OAAO,EAAE,cAAc,YACvB,EAAE,KAAK,SAAS,OAChB,EAAE,UAAU,SAAS,KAErB;CACF,MAAM,QAAQ,6CAA6C,KAAK,EAAE,IAAI;CACtE,MAAM,IAAI,EAAE;CACZ,IACE,CAAC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AAQ;IAAE,IAAI,KAAK,IAAI;IAAG,SAAS,cAAc,OAAO,MAAM,SAAS,GAAG;GAAE;EAC9E;EACA,IAAI,eAAe,KAAK,cAAc,OAAO,SAC3C,MAAM,IAAI,UAAU,aAAa,kEAAkE;EACrG,KAAK,QAAQ,OAAO,GAAG;EACvB,IAAI,KAAK,QAAQ,QAAQ,GAAG,KAAK,QAAQ,OAAO,KAAK,QAAQ,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,KAAM;EACjF,KAAK,QAAQ,IAAI,KAAK,KAAK;EAC3B,OAAO,MAAM;CACf;AACF"}
|
package/out/main/index.js
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
Object.defineProperties(exports, {
|
|
2
|
-
__esModule: { value: true },
|
|
3
|
-
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
-
});
|
|
5
|
-
const require_extensions = require("./_virtual/_global-external_@freelensapp/extensions.js");
|
|
6
|
-
const require__global_external_mobx = require("./_virtual/_global-external_mobx.js");
|
|
7
|
-
const require_extension_info = require("./src/common/extension-info.js");
|
|
8
|
-
const require_ai_preferences_store = require("./src/common/store/ai-preferences-store.js");
|
|
9
|
-
const require_ai_shortcuts_store = require("./src/common/store/ai-shortcuts-store.js");
|
|
10
|
-
const require_appearance_preferences_store = require("./src/common/store/appearance-preferences-store.js");
|
|
11
|
-
const require_cluster_icons_store = require("./src/common/store/cluster-icons-store.js");
|
|
12
|
-
const require_dashboard_preferences_store = require("./src/common/store/dashboard-preferences-store.js");
|
|
13
|
-
const require_helm_preferences_store = require("./src/common/store/helm-preferences-store.js");
|
|
14
|
-
const require_logs_preferences_store = require("./src/common/store/logs-preferences-store.js");
|
|
15
|
-
const require_monitoring_preferences_store = require("./src/common/store/monitoring-preferences-store.js");
|
|
16
|
-
const require_node_shell_preferences_store = require("./src/common/store/node-shell-preferences-store.js");
|
|
17
|
-
const require_power_preferences_store = require("./src/common/store/power-preferences-store.js");
|
|
18
|
-
const require_read_only_preferences_store = require("./src/common/store/read-only-preferences-store.js");
|
|
19
|
-
const require_ai_ipc = require("./ai-ipc.js");
|
|
20
|
-
const require_ai_models = require("./ai-models.js");
|
|
21
|
-
const require_cluster_icons = require("./cluster-icons.js");
|
|
22
|
-
const require_cluster_icons_catalog = require("./cluster-icons-catalog.js");
|
|
23
|
-
const require_dashboard_catalog = require("./dashboard-catalog.js");
|
|
24
|
-
const require_dashboard_picker = require("./dashboard-picker.js");
|
|
25
|
-
const require_dashboard_views = require("./dashboard-views.js");
|
|
26
|
-
const require_diagnostics_menu_order = require("./diagnostics-menu-order.js");
|
|
27
|
-
const require_dock_icon = require("./dock-icon.js");
|
|
28
|
-
const require_extension_updates = require("./extension-updates.js");
|
|
29
|
-
const require_resource_search = require("./resource-search.js");
|
|
30
|
-
const require_helm_ipc = require("./helm-ipc.js");
|
|
31
|
-
const require_monitoring_history = require("./monitoring-history.js");
|
|
32
|
-
const require_node_bulk = require("./node-bulk.js");
|
|
33
|
-
const require_power_logs_ipc = require("./power-logs-ipc.js");
|
|
34
|
-
const require_settings_export = require("./settings-export.js");
|
|
35
|
-
const require_splash_accent = require("./splash-accent.js");
|
|
36
|
-
//#region src/main/index.ts
|
|
37
|
-
var FreelensPowerMain = class extends require_extensions.Main.LensExtension {
|
|
38
|
-
stopFeatures;
|
|
39
|
-
get name() {
|
|
40
|
-
return require_extension_info.EXTENSION_DISPLAY_NAME;
|
|
41
|
-
}
|
|
42
|
-
get sanitizedExtensionId() {
|
|
43
|
-
return require_extension_info.EXTENSION_ID;
|
|
44
|
-
}
|
|
45
|
-
get storeName() {
|
|
46
|
-
return this.manifest.storeName || "freelens-power";
|
|
47
|
-
}
|
|
48
|
-
onActivate() {
|
|
49
|
-
const power = require_power_preferences_store.PowerPreferencesStore.getInstanceOrCreate();
|
|
50
|
-
power.loadExtension(this);
|
|
51
|
-
require_logs_preferences_store.LogsPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
52
|
-
require_helm_preferences_store.HelmPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
53
|
-
require_ai_preferences_store.AiPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
54
|
-
require_ai_shortcuts_store.AiShortcutsStore.getInstanceOrCreate().loadExtension(this);
|
|
55
|
-
require_read_only_preferences_store.ReadOnlyPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
56
|
-
require_node_shell_preferences_store.NodeShellPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
57
|
-
require_monitoring_preferences_store.MonitoringPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
58
|
-
require_appearance_preferences_store.AppearancePreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
59
|
-
require_dashboard_preferences_store.DashboardPreferencesStore.getInstanceOrCreate().loadExtension(this);
|
|
60
|
-
require_cluster_icons_store.ClusterIconsStore.getInstanceOrCreate().loadExtension(this);
|
|
61
|
-
this.stopFeatures?.();
|
|
62
|
-
const stopExport = require_settings_export.startSettingsExport();
|
|
63
|
-
let disposers = [];
|
|
64
|
-
const stop = require__global_external_mobx.reaction(() => power.enabled, (enabled) => {
|
|
65
|
-
for (const dispose of disposers) dispose();
|
|
66
|
-
disposers = enabled ? [
|
|
67
|
-
require_extension_updates.startExtensionUpdates(this),
|
|
68
|
-
require_monitoring_history.startMonitoringHistory(this),
|
|
69
|
-
require_resource_search.startResourceSearchIndex(),
|
|
70
|
-
require_power_logs_ipc.startPowerLogs(),
|
|
71
|
-
require_helm_ipc.startPowerHelm(),
|
|
72
|
-
require_node_bulk.startNodeBulk(),
|
|
73
|
-
require_diagnostics_menu_order.startDiagnosticsMenuOrder(),
|
|
74
|
-
require_ai_ipc.startAiIpc(),
|
|
75
|
-
require_ai_models.startAiModels(),
|
|
76
|
-
require_dock_icon.startDockIconOverride(),
|
|
77
|
-
require_splash_accent.startSplashAccentOverride(),
|
|
78
|
-
require_dashboard_views.startDashboardViews(),
|
|
79
|
-
require_dashboard_picker.startDashboardPicker(),
|
|
80
|
-
require_dashboard_catalog.registerDashboardCatalog(this),
|
|
81
|
-
require_cluster_icons_catalog.registerClusterIconsCatalog(this),
|
|
82
|
-
require_cluster_icons.startClusterIcons()
|
|
83
|
-
] : [];
|
|
84
|
-
}, { fireImmediately: true });
|
|
85
|
-
this.stopFeatures = () => {
|
|
86
|
-
stop();
|
|
87
|
-
stopExport();
|
|
88
|
-
for (const dispose of disposers) dispose();
|
|
89
|
-
disposers = [];
|
|
90
|
-
};
|
|
91
|
-
}
|
|
92
|
-
onDeactivate() {
|
|
93
|
-
this.stopFeatures?.();
|
|
94
|
-
this.stopFeatures = void 0;
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
//#endregion
|
|
98
|
-
exports.default = FreelensPowerMain;
|
|
99
|
-
|
|
100
|
-
//# sourceMappingURL=index.js.map
|