@64mb/freelens-power 1.7.0 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +43781 -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
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
const require_extensions = require("./_virtual/_global-external_@freelensapp/extensions.js");
|
|
2
|
-
const require__global_external_mobx = require("./_virtual/_global-external_mobx.js");
|
|
3
|
-
const require_monitoring_preferences_store = require("./src/common/store/monitoring-preferences-store.js");
|
|
4
|
-
const require_resource_search = require("./src/common/resource-search.js");
|
|
5
|
-
const require_resource_search_worker = require("./resource-search-worker.js");
|
|
6
|
-
let node_crypto = require("node:crypto");
|
|
7
|
-
let electron = require("electron");
|
|
8
|
-
let node_path = require("node:path");
|
|
9
|
-
let node_fs = require("node:fs");
|
|
10
|
-
//#region src/main/resource-search.ts
|
|
11
|
-
function trustedSearchSender(event, clusterId) {
|
|
12
|
-
const window = electron.BrowserWindow.fromWebContents(event.sender);
|
|
13
|
-
const frame = event.senderFrame;
|
|
14
|
-
if (!window || window.isDestroyed() || !frame) return false;
|
|
15
|
-
try {
|
|
16
|
-
const url = new URL(frame.url);
|
|
17
|
-
const root = new URL(event.sender.getURL());
|
|
18
|
-
if (url.protocol !== "https:" || root.protocol !== "https:" || url.username || url.password || root.username || root.password) return false;
|
|
19
|
-
if (url.hostname !== `${clusterId}.renderer.freelens.app` || root.port !== url.port) return false;
|
|
20
|
-
if (frame === event.sender.mainFrame) return root.origin === url.origin;
|
|
21
|
-
return root.hostname === "renderer.freelens.app" && frame.parent === event.sender.mainFrame && frame.top === event.sender.mainFrame;
|
|
22
|
-
} catch {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function validateSearchRequest(input) {
|
|
27
|
-
if (!require_resource_search.validSearchPartition(input)) throw new Error("Invalid search partition");
|
|
28
|
-
const request = input;
|
|
29
|
-
const partition = {
|
|
30
|
-
clusterId: request.clusterId,
|
|
31
|
-
contextId: request.contextId
|
|
32
|
-
};
|
|
33
|
-
if (request.operation === "reconcile") {
|
|
34
|
-
if (!Array.isArray(request.resources) || request.resources.length > 1e4 || request.resources.some((resource) => typeof resource !== "string" || !/^[a-zA-Z0-9_.-]{0,253}\/[a-zA-Z0-9_.-]{1,253}$/.test(resource))) throw new Error("Invalid search resource catalog");
|
|
35
|
-
return {
|
|
36
|
-
...partition,
|
|
37
|
-
operation: "reconcile",
|
|
38
|
-
resources: [...new Set(request.resources)]
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
if ([
|
|
42
|
-
"begin",
|
|
43
|
-
"append",
|
|
44
|
-
"complete",
|
|
45
|
-
"invalidate"
|
|
46
|
-
].includes(request.operation)) {
|
|
47
|
-
const scoped = request;
|
|
48
|
-
if (typeof scoped.scope !== "string" || !scoped.scope.length || scoped.scope.length > 512 || /[\x00-\x1f]/.test(scoped.scope)) throw new Error("Invalid search scope");
|
|
49
|
-
if (scoped.operation !== "invalidate" && (typeof scoped.scanId !== "string" || !/^[a-zA-Z0-9_.:-]{1,128}$/.test(scoped.scanId))) throw new Error("Invalid search scan");
|
|
50
|
-
if (scoped.operation === "invalidate") return {
|
|
51
|
-
...partition,
|
|
52
|
-
operation: "invalidate",
|
|
53
|
-
scope: scoped.scope
|
|
54
|
-
};
|
|
55
|
-
const scan = {
|
|
56
|
-
...partition,
|
|
57
|
-
scope: scoped.scope,
|
|
58
|
-
scanId: scoped.scanId
|
|
59
|
-
};
|
|
60
|
-
return scoped.operation === "append" ? {
|
|
61
|
-
...scan,
|
|
62
|
-
operation: "append",
|
|
63
|
-
documents: require_resource_search.projectSearchDocuments(scoped.documents)
|
|
64
|
-
} : {
|
|
65
|
-
...scan,
|
|
66
|
-
operation: scoped.operation
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
if (request.operation === "query") {
|
|
70
|
-
if (typeof request.query !== "string" || request.query.length > 300 || request.limit !== void 0 && (!Number.isSafeInteger(request.limit) || request.limit < 1 || request.limit > 1e3) || request.offset !== void 0 && (!Number.isSafeInteger(request.offset) || request.offset < 0) || request.kind !== void 0 && !/^[a-zA-Z0-9_.:-]{1,253}$/.test(request.kind) || request.namespace !== void 0 && !/^[a-zA-Z0-9_.:-]{0,253}$/.test(request.namespace)) throw new Error("Invalid search query");
|
|
71
|
-
return {
|
|
72
|
-
...partition,
|
|
73
|
-
operation: "query",
|
|
74
|
-
query: request.query,
|
|
75
|
-
limit: request.limit,
|
|
76
|
-
offset: request.offset,
|
|
77
|
-
kind: request.kind,
|
|
78
|
-
namespace: request.namespace
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
if (request.operation !== "status" && request.operation !== "clear" && request.operation !== "permit") throw new Error("Invalid search operation");
|
|
82
|
-
return {
|
|
83
|
-
...partition,
|
|
84
|
-
operation: request.operation
|
|
85
|
-
};
|
|
86
|
-
}
|
|
87
|
-
function startResourceSearchIndex() {
|
|
88
|
-
let active = true;
|
|
89
|
-
let worker;
|
|
90
|
-
const preferences = require_monitoring_preferences_store.MonitoringPreferencesStore.getInstanceOrCreate();
|
|
91
|
-
const stopPreference = require__global_external_mobx.reaction(() => preferences.resourceSearchEnabled, (enabled) => {
|
|
92
|
-
if (!enabled) {
|
|
93
|
-
worker?.close();
|
|
94
|
-
worker = void 0;
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
const nextRequest = /* @__PURE__ */ new Map();
|
|
98
|
-
const waits = /* @__PURE__ */ new Map();
|
|
99
|
-
const contextFingerprint = (request) => {
|
|
100
|
-
const cluster = require_extensions.Main.Catalog.getClusterById(request.clusterId);
|
|
101
|
-
if (!cluster) throw new Error("Unknown search cluster");
|
|
102
|
-
return (0, node_crypto.createHash)("sha256").update(request.contextId).update("\0").update(cluster.contextName).update("\0").update(cluster.kubeConfigPath).update("\0").update((0, node_fs.readFileSync)(cluster.kubeConfigPath)).digest("hex");
|
|
103
|
-
};
|
|
104
|
-
electron.ipcMain.handle(require_resource_search.RESOURCE_SEARCH_CHANNEL, async (event, input) => {
|
|
105
|
-
const request = validateSearchRequest(input);
|
|
106
|
-
if (!active || !trustedSearchSender(event, request.clusterId)) throw new Error("Search index unavailable");
|
|
107
|
-
const contextId = contextFingerprint(request);
|
|
108
|
-
if (request.operation === "permit") {
|
|
109
|
-
const start = Math.max(Date.now(), nextRequest.get(request.clusterId) ?? 0);
|
|
110
|
-
nextRequest.set(request.clusterId, start + 500);
|
|
111
|
-
if (start > Date.now()) await new Promise((resolve) => {
|
|
112
|
-
const timer = setTimeout(() => {
|
|
113
|
-
waits.delete(timer);
|
|
114
|
-
resolve();
|
|
115
|
-
}, start - Date.now());
|
|
116
|
-
waits.set(timer, resolve);
|
|
117
|
-
});
|
|
118
|
-
if (!active || !trustedSearchSender(event, request.clusterId) || contextFingerprint(request) !== contextId) throw new Error("Search context changed");
|
|
119
|
-
return true;
|
|
120
|
-
}
|
|
121
|
-
if (!preferences.resourceSearchEnabled) throw new Error("Resource search is disabled");
|
|
122
|
-
if (!worker) {
|
|
123
|
-
const directory = (0, node_path.join)(electron.app.getPath("userData"), "freelens-power-search");
|
|
124
|
-
(0, node_fs.mkdirSync)(directory, {
|
|
125
|
-
recursive: true,
|
|
126
|
-
mode: 448
|
|
127
|
-
});
|
|
128
|
-
worker = new require_resource_search_worker.ResourceSearchWorker((0, node_path.join)(directory, "resources.sqlite"));
|
|
129
|
-
}
|
|
130
|
-
const result = await worker.call({
|
|
131
|
-
...request,
|
|
132
|
-
contextId
|
|
133
|
-
});
|
|
134
|
-
if (!active || !preferences.resourceSearchEnabled || !trustedSearchSender(event, request.clusterId) || contextFingerprint(request) !== contextId) throw new Error("Search context changed");
|
|
135
|
-
return result;
|
|
136
|
-
});
|
|
137
|
-
return () => {
|
|
138
|
-
active = false;
|
|
139
|
-
stopPreference();
|
|
140
|
-
electron.ipcMain.removeHandler(require_resource_search.RESOURCE_SEARCH_CHANNEL);
|
|
141
|
-
for (const [timer, resolve] of waits) {
|
|
142
|
-
clearTimeout(timer);
|
|
143
|
-
resolve();
|
|
144
|
-
}
|
|
145
|
-
waits.clear();
|
|
146
|
-
nextRequest.clear();
|
|
147
|
-
worker?.close();
|
|
148
|
-
worker = void 0;
|
|
149
|
-
};
|
|
150
|
-
}
|
|
151
|
-
//#endregion
|
|
152
|
-
exports.startResourceSearchIndex = startResourceSearchIndex;
|
|
153
|
-
exports.trustedSearchSender = trustedSearchSender;
|
|
154
|
-
exports.validateSearchRequest = validateSearchRequest;
|
|
155
|
-
|
|
156
|
-
//# sourceMappingURL=resource-search.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-search.js","names":[],"sources":["../../src/main/resource-search.ts"],"sourcesContent":["import { createHash } from \"node:crypto\";\nimport { mkdirSync, readFileSync } from \"node:fs\";\nimport { join } from \"node:path\";\nimport { Main } from \"@freelensapp/extensions\";\nimport { app, BrowserWindow, type IpcMainInvokeEvent, ipcMain } from \"electron\";\nimport { reaction } from \"mobx\";\nimport {\n projectSearchDocuments,\n RESOURCE_SEARCH_CHANNEL,\n type SearchIndexRequest,\n validSearchPartition,\n} from \"../common/resource-search\";\nimport { MonitoringPreferencesStore } from \"../common/store/monitoring-preferences-store\";\nimport { ResourceSearchWorker } from \"./resource-search-worker\";\n\nexport function trustedSearchSender(event: IpcMainInvokeEvent, clusterId: string): boolean {\n const window = BrowserWindow.fromWebContents(event.sender);\n const frame = event.senderFrame;\n if (!window || window.isDestroyed() || !frame) return false;\n try {\n const url = new URL(frame.url);\n const root = new URL(event.sender.getURL());\n if (\n url.protocol !== \"https:\" ||\n root.protocol !== \"https:\" ||\n url.username ||\n url.password ||\n root.username ||\n root.password\n )\n return false;\n if (url.hostname !== `${clusterId}.renderer.freelens.app` || root.port !== url.port) return false;\n if (frame === event.sender.mainFrame) return root.origin === url.origin;\n return (\n root.hostname === \"renderer.freelens.app\" &&\n frame.parent === event.sender.mainFrame &&\n frame.top === event.sender.mainFrame\n );\n } catch {\n return false;\n }\n}\n\nexport function validateSearchRequest(input: unknown): SearchIndexRequest {\n if (!validSearchPartition(input)) throw new Error(\"Invalid search partition\");\n const request = input as SearchIndexRequest;\n const partition = { clusterId: request.clusterId, contextId: request.contextId };\n if (request.operation === \"reconcile\") {\n if (\n !Array.isArray(request.resources) ||\n request.resources.length > 10000 ||\n request.resources.some(\n (resource) => typeof resource !== \"string\" || !/^[a-zA-Z0-9_.-]{0,253}\\/[a-zA-Z0-9_.-]{1,253}$/.test(resource),\n )\n )\n throw new Error(\"Invalid search resource catalog\");\n return { ...partition, operation: \"reconcile\", resources: [...new Set(request.resources)] };\n }\n if ([\"begin\", \"append\", \"complete\", \"invalidate\"].includes(request.operation)) {\n const scoped = request as Extract<SearchIndexRequest, { scope: string }>;\n if (\n typeof scoped.scope !== \"string\" ||\n !scoped.scope.length ||\n scoped.scope.length > 512 ||\n /[\\x00-\\x1f]/.test(scoped.scope)\n )\n throw new Error(\"Invalid search scope\");\n if (\n scoped.operation !== \"invalidate\" &&\n (typeof scoped.scanId !== \"string\" || !/^[a-zA-Z0-9_.:-]{1,128}$/.test(scoped.scanId))\n )\n throw new Error(\"Invalid search scan\");\n if (scoped.operation === \"invalidate\") return { ...partition, operation: \"invalidate\", scope: scoped.scope };\n const scan = { ...partition, scope: scoped.scope, scanId: scoped.scanId };\n return scoped.operation === \"append\"\n ? { ...scan, operation: \"append\", documents: projectSearchDocuments(scoped.documents) }\n : { ...scan, operation: scoped.operation };\n }\n if (request.operation === \"query\") {\n if (\n typeof request.query !== \"string\" ||\n request.query.length > 300 ||\n (request.limit !== undefined &&\n (!Number.isSafeInteger(request.limit) || request.limit < 1 || request.limit > 1000)) ||\n (request.offset !== undefined && (!Number.isSafeInteger(request.offset) || request.offset < 0)) ||\n (request.kind !== undefined && !/^[a-zA-Z0-9_.:-]{1,253}$/.test(request.kind)) ||\n (request.namespace !== undefined && !/^[a-zA-Z0-9_.:-]{0,253}$/.test(request.namespace))\n )\n throw new Error(\"Invalid search query\");\n return {\n ...partition,\n operation: \"query\",\n query: request.query,\n limit: request.limit,\n offset: request.offset,\n kind: request.kind,\n namespace: request.namespace,\n };\n }\n if (request.operation !== \"status\" && request.operation !== \"clear\" && request.operation !== \"permit\")\n throw new Error(\"Invalid search operation\");\n return { ...partition, operation: request.operation };\n}\n\nexport function startResourceSearchIndex(): () => void {\n let active = true;\n let worker: ResourceSearchWorker | undefined;\n const preferences = MonitoringPreferencesStore.getInstanceOrCreate<MonitoringPreferencesStore>();\n const stopPreference = reaction(\n () => preferences.resourceSearchEnabled,\n (enabled) => {\n if (!enabled) {\n worker?.close();\n worker = undefined;\n }\n },\n );\n const nextRequest = new Map<string, number>();\n const waits = new Map<ReturnType<typeof setTimeout>, () => void>();\n const contextFingerprint = (request: SearchIndexRequest) => {\n const cluster = Main.Catalog.getClusterById(request.clusterId);\n if (!cluster) throw new Error(\"Unknown search cluster\");\n // only a digest of the local configuration reaches the database partition key\n return createHash(\"sha256\")\n .update(request.contextId)\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(RESOURCE_SEARCH_CHANNEL, async (event, input: unknown) => {\n const request = validateSearchRequest(input);\n if (!active || !trustedSearchSender(event, request.clusterId)) throw new Error(\"Search index unavailable\");\n const contextId = contextFingerprint(request);\n if (request.operation === \"permit\") {\n const start = Math.max(Date.now(), nextRequest.get(request.clusterId) ?? 0);\n nextRequest.set(request.clusterId, start + 500);\n if (start > Date.now())\n await new Promise<void>((resolve) => {\n const timer = setTimeout(() => {\n waits.delete(timer);\n resolve();\n }, start - Date.now());\n waits.set(timer, resolve);\n });\n if (!active || !trustedSearchSender(event, request.clusterId) || contextFingerprint(request) !== contextId)\n throw new Error(\"Search context changed\");\n return true;\n }\n if (!preferences.resourceSearchEnabled) throw new Error(\"Resource search is disabled\");\n if (!worker) {\n const directory = join(app.getPath(\"userData\"), \"freelens-power-search\");\n mkdirSync(directory, { recursive: true, mode: 0o700 });\n worker = new ResourceSearchWorker(join(directory, \"resources.sqlite\"));\n }\n const result = await worker.call({ ...request, contextId });\n if (\n !active ||\n !preferences.resourceSearchEnabled ||\n !trustedSearchSender(event, request.clusterId) ||\n contextFingerprint(request) !== contextId\n )\n throw new Error(\"Search context changed\");\n return result;\n });\n return () => {\n active = false;\n stopPreference();\n ipcMain.removeHandler(RESOURCE_SEARCH_CHANNEL);\n for (const [timer, resolve] of waits) {\n clearTimeout(timer);\n resolve();\n }\n waits.clear();\n nextRequest.clear();\n worker?.close();\n worker = undefined;\n };\n}\n"],"mappings":";;;;;;;;;;AAeA,SAAgB,oBAAoB,OAA2B,WAA4B;CACzF,MAAM,SAAS,SAAA,cAAc,gBAAgB,MAAM,MAAM;CACzD,MAAM,QAAQ,MAAM;CACpB,IAAI,CAAC,UAAU,OAAO,YAAY,KAAK,CAAC,OAAO,OAAO;CACtD,IAAI;EACF,MAAM,MAAM,IAAI,IAAI,MAAM,GAAG;EAC7B,MAAM,OAAO,IAAI,IAAI,MAAM,OAAO,OAAO,CAAC;EAC1C,IACE,IAAI,aAAa,YACjB,KA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AY,uBAAuB,MAAM,IAAI,MAAM,6BAA6B;EACrF,IAAI,CAAC,QAAQ;GACX,MAAM,aAAA,GAAA,UAAA,KAAA,CAAiB,SAAA,IAAI,QAAQ,UAAU,GAAG,uBAAuB;GACvE,CAAA,GAAA,QAAA,UAAA,CAAU,WAAW;IAAE,WAAW;IAAM,MAAM;GAAM,CAAC;GACrD,SAAS,IAAI,+BAAA,sBAAA,GAAA,UAAA,KAAA,CAA0B,WAAW,kBAAkB,CAAC;EACvE;EACA,MAAM,SAAS,MAAM,OAAO,KAAK;GAAE,GAAG;GAAS;EAAU,CAAC;EAC1D,IACE,CAAC,UACD,CAAC,YAAY,yBACb,CAAC,oBAAoB,OAAO,QAAQ,SAAS,KAC7C,mBAAmB,OAAO,MAAM,WAEhC,MAAM,IAAI,MAAM,wBAAwB;EAC1C,OAAO;CACT,CAAC;CACD,aAAa;EACX,SAAS;EACT,eAAe;EACf,SAAA,QAAQ,cAAc,wBAAA,uBAAuB;EAC7C,KAAK,MAAM,CAAC,OAAO,YAAY,OAAO;GACpC,aAAa,KAAK;GAClB,QAAQ;EACV;EACA,MAAM,MAAM;EACZ,YAAY,MAAM;EAClB,QAAQ,MAAM;EACd,SAAS,KAAA;CACX;AACF"}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
const require_ai_shortcuts_store = require("./src/common/store/ai-shortcuts-store.js");
|
|
2
|
-
const require_dashboard_preferences_store = require("./src/common/store/dashboard-preferences-store.js");
|
|
3
|
-
const require_settings_export = require("./src/common/settings-export.js");
|
|
4
|
-
const require_settings_import = require("./settings-import.js");
|
|
5
|
-
let electron = require("electron");
|
|
6
|
-
let node_fs_promises = require("node:fs/promises");
|
|
7
|
-
let node_path = require("node:path");
|
|
8
|
-
//#region src/main/settings-export.ts
|
|
9
|
-
function trustedUrl(value) {
|
|
10
|
-
try {
|
|
11
|
-
const url = new URL(value);
|
|
12
|
-
return url.protocol === "https:" && (url.hostname === "renderer.freelens.app" || url.hostname.endsWith(".renderer.freelens.app"));
|
|
13
|
-
} catch {
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
function startSettingsExport() {
|
|
18
|
-
const stopImport = require_settings_import.startSettingsImport();
|
|
19
|
-
let active = true;
|
|
20
|
-
const pending = /* @__PURE__ */ new WeakSet();
|
|
21
|
-
electron.ipcMain.handle(require_settings_export.SETTINGS_EXPORT, async (event) => {
|
|
22
|
-
const sender = event.sender;
|
|
23
|
-
const window = electron.BrowserWindow.fromWebContents(sender);
|
|
24
|
-
if (!active || event.senderFrame !== sender.mainFrame || !trustedUrl(event.senderFrame?.url ?? "") || !trustedUrl(sender.getURL()) || !window || window.isDestroyed() || pending.has(sender)) return "error";
|
|
25
|
-
pending.add(sender);
|
|
26
|
-
let temporary;
|
|
27
|
-
try {
|
|
28
|
-
const selection = await electron.dialog.showSaveDialog(window, {
|
|
29
|
-
title: "Export dashboard and shortcuts",
|
|
30
|
-
defaultPath: "freelens-power-settings.json",
|
|
31
|
-
filters: [{
|
|
32
|
-
name: "JSON",
|
|
33
|
-
extensions: ["json"]
|
|
34
|
-
}],
|
|
35
|
-
properties: ["createDirectory", "showOverwriteConfirmation"]
|
|
36
|
-
});
|
|
37
|
-
if (selection.canceled || !selection.filePath) return "canceled";
|
|
38
|
-
if (!active || sender.isDestroyed() || window.isDestroyed()) return "error";
|
|
39
|
-
const data = require_settings_export.createSettingsExport(require_dashboard_preferences_store.DashboardPreferencesStore.getInstanceOrCreate().cards, require_ai_shortcuts_store.AiShortcutsStore.getInstanceOrCreate().shortcuts);
|
|
40
|
-
temporary = await (0, node_fs_promises.mkdtemp)((0, node_path.join)((0, node_path.dirname)(selection.filePath), ".freelens-power-export-"));
|
|
41
|
-
const source = (0, node_path.join)(temporary, "settings.json");
|
|
42
|
-
await (0, node_fs_promises.writeFile)(source, `${JSON.stringify(data, null, 2)}\n`, {
|
|
43
|
-
encoding: "utf8",
|
|
44
|
-
mode: 384,
|
|
45
|
-
flag: "wx"
|
|
46
|
-
});
|
|
47
|
-
await (0, node_fs_promises.rename)(source, selection.filePath);
|
|
48
|
-
return "saved";
|
|
49
|
-
} catch {
|
|
50
|
-
return "error";
|
|
51
|
-
} finally {
|
|
52
|
-
pending.delete(sender);
|
|
53
|
-
if (temporary) await (0, node_fs_promises.rm)(temporary, {
|
|
54
|
-
recursive: true,
|
|
55
|
-
force: true
|
|
56
|
-
}).catch(() => {});
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
return () => {
|
|
60
|
-
stopImport();
|
|
61
|
-
active = false;
|
|
62
|
-
electron.ipcMain.removeHandler(require_settings_export.SETTINGS_EXPORT);
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
//#endregion
|
|
66
|
-
exports.startSettingsExport = startSettingsExport;
|
|
67
|
-
|
|
68
|
-
//# sourceMappingURL=settings-export.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-export.js","names":[],"sources":["../../src/main/settings-export.ts"],"sourcesContent":["import { mkdtemp, rename, rm, writeFile } from \"node:fs/promises\";\nimport { dirname, join } from \"node:path\";\nimport { BrowserWindow, dialog, ipcMain } from \"electron\";\nimport { createSettingsExport, SETTINGS_EXPORT, type SettingsExportResult } from \"../common/settings-export\";\nimport { AiShortcutsStore } from \"../common/store/ai-shortcuts-store\";\nimport { DashboardPreferencesStore } from \"../common/store/dashboard-preferences-store\";\nimport { startSettingsImport } from \"./settings-import\";\n\nfunction trustedUrl(value: string): boolean {\n try {\n const url = new URL(value);\n return (\n url.protocol === \"https:\" &&\n (url.hostname === \"renderer.freelens.app\" || url.hostname.endsWith(\".renderer.freelens.app\"))\n );\n } catch {\n return false;\n }\n}\n\nexport function startSettingsExport(): () => void {\n const stopImport = startSettingsImport();\n let active = true;\n const pending = new WeakSet<object>();\n ipcMain.handle(SETTINGS_EXPORT, async (event): Promise<SettingsExportResult> => {\n const sender = event.sender;\n const window = BrowserWindow.fromWebContents(sender);\n if (\n !active ||\n event.senderFrame !== sender.mainFrame ||\n !trustedUrl(event.senderFrame?.url ?? \"\") ||\n !trustedUrl(sender.getURL()) ||\n !window ||\n window.isDestroyed() ||\n pending.has(sender)\n )\n return \"error\";\n pending.add(sender);\n let temporary: string | undefined;\n try {\n const selection = await dialog.showSaveDialog(window, {\n title: \"Export dashboard and shortcuts\",\n defaultPath: \"freelens-power-settings.json\",\n filters: [{ name: \"JSON\", extensions: [\"json\"] }],\n properties: [\"createDirectory\", \"showOverwriteConfirmation\"],\n });\n if (selection.canceled || !selection.filePath) return \"canceled\";\n if (!active || sender.isDestroyed() || window.isDestroyed()) return \"error\";\n const data = createSettingsExport(\n DashboardPreferencesStore.getInstanceOrCreate<DashboardPreferencesStore>().cards,\n AiShortcutsStore.getInstanceOrCreate<AiShortcutsStore>().shortcuts,\n );\n temporary = await mkdtemp(join(dirname(selection.filePath), \".freelens-power-export-\"));\n const source = join(temporary, \"settings.json\");\n await writeFile(source, `${JSON.stringify(data, null, 2)}\\n`, { encoding: \"utf8\", mode: 0o600, flag: \"wx\" });\n await rename(source, selection.filePath);\n return \"saved\";\n } catch {\n return \"error\";\n } finally {\n pending.delete(sender);\n if (temporary) await rm(temporary, { recursive: true, force: true }).catch(() => {});\n }\n });\n return () => {\n stopImport();\n active = false;\n ipcMain.removeHandler(SETTINGS_EXPORT);\n };\n}\n"],"mappings":";;;;;;;;AAQA,SAAS,WAAW,OAAwB;CAC1C,IAAI;EACF,MAAM,MAAM,IAAI,IAAI,KAAK;EACzB,OACE,IAAI,aAAa,aAChB,IAAI,aAAa,2BAA2B,IAAI,SAAS,SAAS,wBAAwB;CAE/F,QAAQ;EACN,OAAO;CACT;AACF;AAEA,SAAgB,sBAAkC;CAChD,MAAM,aAAa,wBAAA,oBAAoB;CACvC,IAAI,SAAS;CACb,MAAM,0BAAU,IAAI,QAAgB;CACpC,SAAA,QAAQ,OAAO,wBAAA,iBAAiB,OAAO,UAAyC;EAC9E,MAAM,SAAS,MAAM;EACrB,MAAM,SAAS,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AC,YAAY,CAAC,CAAC;EACrF;CACF,CAAC;CACD,aAAa;EACX,WAAW;EACX,SAAS;EACT,SAAA,QAAQ,cAAc,wBAAA,eAAe;CACvC;AACF"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
const require__global_external_mobx = require("./_virtual/_global-external_mobx.js");
|
|
2
|
-
const require_ai_shortcuts_store = require("./src/common/store/ai-shortcuts-store.js");
|
|
3
|
-
const require_dashboard_preferences_store = require("./src/common/store/dashboard-preferences-store.js");
|
|
4
|
-
const require_settings_export = require("./src/common/settings-export.js");
|
|
5
|
-
let electron = require("electron");
|
|
6
|
-
let node_fs_promises = require("node:fs/promises");
|
|
7
|
-
//#region src/main/settings-import.ts
|
|
8
|
-
var MAX_BYTES = require_settings_export.SETTINGS_BACKUP_MAX_BYTES;
|
|
9
|
-
function startSettingsImport() {
|
|
10
|
-
let active = true;
|
|
11
|
-
const pending = /* @__PURE__ */ new WeakSet();
|
|
12
|
-
electron.ipcMain.handle(require_settings_export.SETTINGS_IMPORT, async (event) => {
|
|
13
|
-
const sender = event.sender;
|
|
14
|
-
const window = electron.BrowserWindow.fromWebContents(sender);
|
|
15
|
-
const startingFrame = event.senderFrame;
|
|
16
|
-
const startingUrl = sender.getURL();
|
|
17
|
-
let navigated = false;
|
|
18
|
-
const trusted = () => {
|
|
19
|
-
try {
|
|
20
|
-
const url = new URL(sender.getURL());
|
|
21
|
-
return active && !navigated && !sender.isDestroyed() && window && !window.isDestroyed() && event.senderFrame === sender.mainFrame && sender.mainFrame === startingFrame && sender.getURL() === startingUrl && event.senderFrame?.url === sender.getURL() && url.protocol === "https:" && (url.hostname === "renderer.freelens.app" || url.hostname.endsWith(".renderer.freelens.app"));
|
|
22
|
-
} catch {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
if (!trusted() || !window || pending.has(sender)) return "error";
|
|
27
|
-
pending.add(sender);
|
|
28
|
-
const onNavigation = (_event, _url, _inPlace, mainFrame) => {
|
|
29
|
-
if (mainFrame) navigated = true;
|
|
30
|
-
};
|
|
31
|
-
sender.on("did-start-navigation", onNavigation);
|
|
32
|
-
try {
|
|
33
|
-
const selection = await electron.dialog.showOpenDialog(window, {
|
|
34
|
-
title: "Restore dashboard and shortcuts",
|
|
35
|
-
filters: [{
|
|
36
|
-
name: "JSON",
|
|
37
|
-
extensions: ["json"]
|
|
38
|
-
}],
|
|
39
|
-
properties: ["openFile"]
|
|
40
|
-
});
|
|
41
|
-
if (selection.canceled || !selection.filePaths[0]) return "canceled";
|
|
42
|
-
if (!trusted()) return "error";
|
|
43
|
-
const file = await (0, node_fs_promises.open)(selection.filePaths[0], "r");
|
|
44
|
-
let backup;
|
|
45
|
-
try {
|
|
46
|
-
const metadata = await file.stat();
|
|
47
|
-
if (!metadata.isFile() || metadata.size > MAX_BYTES) return "error";
|
|
48
|
-
const buffer = Buffer.alloc(MAX_BYTES + 1);
|
|
49
|
-
const { bytesRead } = await file.read(buffer, 0, buffer.length, 0);
|
|
50
|
-
if (bytesRead > MAX_BYTES) return "error";
|
|
51
|
-
backup = require_settings_export.parseSettingsImport(JSON.parse(buffer.subarray(0, bytesRead).toString("utf8")));
|
|
52
|
-
} finally {
|
|
53
|
-
await file.close();
|
|
54
|
-
}
|
|
55
|
-
if (!trusted()) return "error";
|
|
56
|
-
if ((await electron.dialog.showMessageBox(window, {
|
|
57
|
-
type: "question",
|
|
58
|
-
title: "Restore dashboard and shortcuts",
|
|
59
|
-
message: "Replace dashboard cards and prompt shortcuts?",
|
|
60
|
-
detail: `${backup.dashboard.cards.length} cards and ${backup.ai.shortcuts.length} shortcuts will replace the current lists. Chat history, authentication and Read-only settings stay unchanged.`,
|
|
61
|
-
buttons: ["Cancel", "Restore"],
|
|
62
|
-
defaultId: 0,
|
|
63
|
-
cancelId: 0,
|
|
64
|
-
noLink: true
|
|
65
|
-
})).response !== 1) return "canceled";
|
|
66
|
-
if (!trusted()) return "error";
|
|
67
|
-
const dashboard = require_dashboard_preferences_store.DashboardPreferencesStore.getInstanceOrCreate();
|
|
68
|
-
const ai = require_ai_shortcuts_store.AiShortcutsStore.getInstanceOrCreate();
|
|
69
|
-
require__global_external_mobx.runInAction(() => {
|
|
70
|
-
dashboard.cards = backup.dashboard.cards;
|
|
71
|
-
ai.shortcuts = backup.ai.shortcuts;
|
|
72
|
-
});
|
|
73
|
-
return "restored";
|
|
74
|
-
} catch {
|
|
75
|
-
return "error";
|
|
76
|
-
} finally {
|
|
77
|
-
sender.removeListener("did-start-navigation", onNavigation);
|
|
78
|
-
pending.delete(sender);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
return () => {
|
|
82
|
-
active = false;
|
|
83
|
-
electron.ipcMain.removeHandler(require_settings_export.SETTINGS_IMPORT);
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
//#endregion
|
|
87
|
-
exports.startSettingsImport = startSettingsImport;
|
|
88
|
-
|
|
89
|
-
//# sourceMappingURL=settings-import.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"settings-import.js","names":[],"sources":["../../src/main/settings-import.ts"],"sourcesContent":["import { open } from \"node:fs/promises\";\nimport { BrowserWindow, dialog, ipcMain } from \"electron\";\nimport { runInAction } from \"mobx\";\nimport {\n parseSettingsImport,\n SETTINGS_BACKUP_MAX_BYTES,\n SETTINGS_IMPORT,\n type SettingsImportResult,\n} from \"../common/settings-export\";\nimport { AiShortcutsStore } from \"../common/store/ai-shortcuts-store\";\nimport { DashboardPreferencesStore } from \"../common/store/dashboard-preferences-store\";\n\nconst MAX_BYTES = SETTINGS_BACKUP_MAX_BYTES;\n\nexport function startSettingsImport(): () => void {\n let active = true;\n const pending = new WeakSet<object>();\n ipcMain.handle(SETTINGS_IMPORT, async (event): Promise<SettingsImportResult> => {\n const sender = event.sender;\n const window = BrowserWindow.fromWebContents(sender);\n const startingFrame = event.senderFrame;\n const startingUrl = sender.getURL();\n let navigated = false;\n const trusted = () => {\n try {\n const url = new URL(sender.getURL());\n return (\n active &&\n !navigated &&\n !sender.isDestroyed() &&\n window &&\n !window.isDestroyed() &&\n event.senderFrame === sender.mainFrame &&\n sender.mainFrame === startingFrame &&\n sender.getURL() === startingUrl &&\n event.senderFrame?.url === sender.getURL() &&\n url.protocol === \"https:\" &&\n (url.hostname === \"renderer.freelens.app\" || url.hostname.endsWith(\".renderer.freelens.app\"))\n );\n } catch {\n return false;\n }\n };\n if (!trusted() || !window || pending.has(sender)) return \"error\";\n pending.add(sender);\n const onNavigation = (_event: Electron.Event, _url: string, _inPlace: boolean, mainFrame: boolean) => {\n if (mainFrame) navigated = true;\n };\n sender.on(\"did-start-navigation\", onNavigation);\n try {\n const selection = await dialog.showOpenDialog(window, {\n title: \"Restore dashboard and shortcuts\",\n filters: [{ name: \"JSON\", extensions: [\"json\"] }],\n properties: [\"openFile\"],\n });\n if (selection.canceled || !selection.filePaths[0]) return \"canceled\";\n if (!trusted()) return \"error\";\n const file = await open(selection.filePaths[0], \"r\");\n let backup: ReturnType<typeof parseSettingsImport>;\n try {\n const metadata = await file.stat();\n if (!metadata.isFile() || metadata.size > MAX_BYTES) return \"error\";\n const buffer = Buffer.alloc(MAX_BYTES + 1);\n const { bytesRead } = await file.read(buffer, 0, buffer.length, 0);\n if (bytesRead > MAX_BYTES) return \"error\";\n backup = parseSettingsImport(JSON.parse(buffer.subarray(0, bytesRead).toString(\"utf8\")));\n } finally {\n await file.close();\n }\n if (!trusted()) return \"error\";\n const confirmation = await dialog.showMessageBox(window, {\n type: \"question\",\n title: \"Restore dashboard and shortcuts\",\n message: \"Replace dashboard cards and prompt shortcuts?\",\n detail: `${backup.dashboard.cards.length} cards and ${backup.ai.shortcuts.length} shortcuts will replace the current lists. Chat history, authentication and Read-only settings stay unchanged.`,\n buttons: [\"Cancel\", \"Restore\"],\n defaultId: 0,\n cancelId: 0,\n noLink: true,\n });\n if (confirmation.response !== 1) return \"canceled\";\n if (!trusted()) return \"error\";\n const dashboard = DashboardPreferencesStore.getInstanceOrCreate<DashboardPreferencesStore>();\n const ai = AiShortcutsStore.getInstanceOrCreate<AiShortcutsStore>();\n runInAction(() => {\n dashboard.cards = backup.dashboard.cards;\n ai.shortcuts = backup.ai.shortcuts;\n });\n return \"restored\";\n } catch {\n return \"error\";\n } finally {\n sender.removeListener(\"did-start-navigation\", onNavigation);\n pending.delete(sender);\n }\n });\n return () => {\n active = false;\n ipcMain.removeHandler(SETTINGS_IMPORT);\n };\n}\n"],"mappings":";;;;;;;AAYA,IAAM,YAAY,wBAAA;AAElB,SAAgB,sBAAkC;CAChD,IAAI,SAAS;CACb,MAAM,0BAAU,IAAI,QAAgB;CACpC,SAAA,QAAQ,OAAO,wBAAA,iBAAiB,OAAO,UAAyC;EAC9E,MAAM,SAAS,MAAM;EACrB,MAAM,SAAS,SAAA,cAAc,gBAAgB,MAAM;EACnD,MAAM,gBAAgB,MAAM;EAC5B,MAAM,cAAc,OAAO,OAAO;EAClC,IAAI,YAAY;EAChB,MAAM,gBAAgB;GACpB,IAAI;IACF,MAAM,MAAM,IAAI,IAAI,OAAO,OAAO,CAAC;IACnC,OACE,UACA,CAAC,aACD,CAAC,OAAO,YAAY,KACpB,UACA,CAAC,OAAO,YAAY,KACpB,MAAM,gBAAgB,OAAO,aAC7B,OAAO,cAAc,iBACrB,OAAO,OAAO,MAAM,eACpB,MAAM,aAAa,QAAQ,OAAO,OAAO,KACzC,IAAI,aAAa,aAChB,IAAI,aAAa,2BAA2B,IAAI,SAAS,SAAS,wBAAwB;GAE/F,QAAQ;IACN,OAAO;GACT;EACF;EACA,IAAI,CAAC,QAAQ,KAAK,CAAC,UAAU,QAAQ,IAAI,MAAM,GAAG,OAAO;EACzD,QAAQ,IAAI,MAAM;EAClB,MAAM,gBAAgB,QAAwB,MAAc,UAAmB,cAAuB;GACpG,IAAI,WAAW,YAAY;EAC7B;EACA,OAAO,GAAG,wBAAwB,YAAY;EAC9C,IAAI;GACF,MAAM,YAAY,MAAM,SAAA,OAAO,eAAe,QAA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OAAO;EACT,UAAU;GACR,OAAO,eAAe,wBAAwB,YAAY;GAC1D,QAAQ,OAAO,MAAM;EACvB;CACF,CAAC;CACD,aAAa;EACX,SAAS;EACT,SAAA,QAAQ,cAAc,wBAAA,eAAe;CACvC;AACF"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
const require__global_external_mobx = require("./_virtual/_global-external_mobx.js");
|
|
2
|
-
const require_appearance_preferences_store = require("./src/common/store/appearance-preferences-store.js");
|
|
3
|
-
let electron = require("electron");
|
|
4
|
-
let node_path = require("node:path");
|
|
5
|
-
let node_url = require("node:url");
|
|
6
|
-
//#region src/main/splash-accent.ts
|
|
7
|
-
function isNativeSplashUrl(url, appPath) {
|
|
8
|
-
try {
|
|
9
|
-
const parsed = new URL(url);
|
|
10
|
-
return parsed.protocol === "file:" && !parsed.host && (0, node_url.fileURLToPath)(parsed) === (0, node_path.join)(appPath, "static", "splash.html");
|
|
11
|
-
} catch {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function startSplashAccentOverride() {
|
|
16
|
-
const preferences = require_appearance_preferences_store.AppearancePreferencesStore.getInstanceOrCreate();
|
|
17
|
-
const appPath = electron.app.getAppPath();
|
|
18
|
-
const windows = /* @__PURE__ */ new Map();
|
|
19
|
-
let disposed = false;
|
|
20
|
-
let css = "";
|
|
21
|
-
const attach = (window) => {
|
|
22
|
-
const contents = window.webContents;
|
|
23
|
-
if (disposed || contents.isDestroyed() || windows.has(contents)) return;
|
|
24
|
-
let key;
|
|
25
|
-
let revision = 0;
|
|
26
|
-
let pending = Promise.resolve();
|
|
27
|
-
const refresh = () => {
|
|
28
|
-
const request = ++revision;
|
|
29
|
-
pending = pending.then(async () => {
|
|
30
|
-
if (request !== revision || contents.isDestroyed()) return;
|
|
31
|
-
if (key) {
|
|
32
|
-
const previous = key;
|
|
33
|
-
key = void 0;
|
|
34
|
-
await contents.removeInsertedCSS(previous).catch(() => {});
|
|
35
|
-
}
|
|
36
|
-
if (disposed || request !== revision || !css || contents.isDestroyed() || !isNativeSplashUrl(contents.getURL(), appPath)) return;
|
|
37
|
-
const inserted = await contents.insertCSS(css, { cssOrigin: "user" });
|
|
38
|
-
if (disposed || request !== revision || contents.isDestroyed() || !isNativeSplashUrl(contents.getURL(), appPath)) {
|
|
39
|
-
if (!contents.isDestroyed()) await contents.removeInsertedCSS(inserted).catch(() => {});
|
|
40
|
-
} else key = inserted;
|
|
41
|
-
}).catch(() => {});
|
|
42
|
-
};
|
|
43
|
-
const cleanup = () => {
|
|
44
|
-
contents.removeListener("dom-ready", refresh);
|
|
45
|
-
contents.removeListener("did-start-loading", refresh);
|
|
46
|
-
contents.removeListener("destroyed", cleanup);
|
|
47
|
-
windows.delete(contents);
|
|
48
|
-
refresh();
|
|
49
|
-
};
|
|
50
|
-
windows.set(contents, {
|
|
51
|
-
refresh,
|
|
52
|
-
cleanup
|
|
53
|
-
});
|
|
54
|
-
contents.on("dom-ready", refresh);
|
|
55
|
-
contents.on("did-start-loading", refresh);
|
|
56
|
-
contents.once("destroyed", cleanup);
|
|
57
|
-
refresh();
|
|
58
|
-
};
|
|
59
|
-
const onCreated = (_event, window) => attach(window);
|
|
60
|
-
electron.app.on("browser-window-created", onCreated);
|
|
61
|
-
for (const window of electron.BrowserWindow.getAllWindows()) attach(window);
|
|
62
|
-
const stop = require__global_external_mobx.reaction(() => [
|
|
63
|
-
preferences.enabled,
|
|
64
|
-
preferences.accentColor,
|
|
65
|
-
preferences.recolorAppIcon
|
|
66
|
-
], ([enabled, color, recolorAppIcon]) => {
|
|
67
|
-
css = enabled && color !== "default" && require_appearance_preferences_store.isAccentSelection(color) ? `.progress, .glow div { background: ${color} !important; box-shadow: 0 0 20px ${color} !important; }
|
|
68
|
-
@keyframes freelens-power-splash-glow { from { opacity: 1; flex: 1; } to { opacity: 0; flex: 10; } }
|
|
69
|
-
.glow div { animation-name: freelens-power-splash-glow !important; }
|
|
70
|
-
${recolorAppIcon ? `.icon svg path:is([fill="#23a49c"], [fill="#73c3c0"], [fill="#a8d8d6"], [fill="#50b6b4"]) { fill: ${color} !important; }` : ""}` : "";
|
|
71
|
-
for (const state of windows.values()) state.refresh();
|
|
72
|
-
}, { fireImmediately: true });
|
|
73
|
-
return () => {
|
|
74
|
-
disposed = true;
|
|
75
|
-
stop();
|
|
76
|
-
electron.app.removeListener("browser-window-created", onCreated);
|
|
77
|
-
for (const state of [...windows.values()]) state.cleanup();
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
//#endregion
|
|
81
|
-
exports.isNativeSplashUrl = isNativeSplashUrl;
|
|
82
|
-
exports.startSplashAccentOverride = startSplashAccentOverride;
|
|
83
|
-
|
|
84
|
-
//# sourceMappingURL=splash-accent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"splash-accent.js","names":[],"sources":["../../src/main/splash-accent.ts"],"sourcesContent":["// SPDX-License-Identifier: Apache-2.0\nimport { join } from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { app, BrowserWindow, type WebContents } from \"electron\";\nimport { reaction } from \"mobx\";\nimport { AppearancePreferencesStore, isAccentSelection } from \"../common/store/appearance-preferences-store\";\n\nexport function isNativeSplashUrl(url: string, appPath: string): boolean {\n try {\n const parsed = new URL(url);\n return (\n parsed.protocol === \"file:\" && !parsed.host && fileURLToPath(parsed) === join(appPath, \"static\", \"splash.html\")\n );\n } catch {\n return false;\n }\n}\n\nexport function startSplashAccentOverride(): () => void {\n const preferences = AppearancePreferencesStore.getInstanceOrCreate<AppearancePreferencesStore>();\n const appPath = app.getAppPath();\n const windows = new Map<WebContents, { refresh: () => void; cleanup: () => void }>();\n let disposed = false;\n let css = \"\";\n\n const attach = (window: BrowserWindow) => {\n const contents = window.webContents;\n if (disposed || contents.isDestroyed() || windows.has(contents)) return;\n let key: string | undefined;\n let revision = 0;\n let pending = Promise.resolve();\n const refresh = () => {\n const request = ++revision;\n pending = pending\n .then(async () => {\n if (request !== revision || contents.isDestroyed()) return;\n if (key) {\n const previous = key;\n key = undefined;\n await contents.removeInsertedCSS(previous).catch(() => {});\n }\n if (\n disposed ||\n request !== revision ||\n !css ||\n contents.isDestroyed() ||\n !isNativeSplashUrl(contents.getURL(), appPath)\n )\n return;\n const inserted = await contents.insertCSS(css, { cssOrigin: \"user\" });\n if (\n disposed ||\n request !== revision ||\n contents.isDestroyed() ||\n !isNativeSplashUrl(contents.getURL(), appPath)\n ) {\n if (!contents.isDestroyed()) await contents.removeInsertedCSS(inserted).catch(() => {});\n } else key = inserted;\n })\n .catch(() => {});\n };\n const cleanup = () => {\n contents.removeListener(\"dom-ready\", refresh);\n contents.removeListener(\"did-start-loading\", refresh);\n contents.removeListener(\"destroyed\", cleanup);\n windows.delete(contents);\n refresh();\n };\n windows.set(contents, { refresh, cleanup });\n contents.on(\"dom-ready\", refresh);\n contents.on(\"did-start-loading\", refresh);\n contents.once(\"destroyed\", cleanup);\n refresh();\n };\n const onCreated = (_event: Electron.Event, window: BrowserWindow) => attach(window);\n app.on(\"browser-window-created\", onCreated);\n for (const window of BrowserWindow.getAllWindows()) attach(window);\n const stop = reaction(\n () => [preferences.enabled, preferences.accentColor, preferences.recolorAppIcon] as const,\n ([enabled, color, recolorAppIcon]) => {\n css =\n enabled && color !== \"default\" && isAccentSelection(color)\n ? `.progress, .glow div { background: ${color} !important; box-shadow: 0 0 20px ${color} !important; }\n @keyframes freelens-power-splash-glow { from { opacity: 1; flex: 1; } to { opacity: 0; flex: 10; } }\n .glow div { animation-name: freelens-power-splash-glow !important; }\n ${recolorAppIcon ? `.icon svg path:is([fill=\"#23a49c\"], [fill=\"#73c3c0\"], [fill=\"#a8d8d6\"], [fill=\"#50b6b4\"]) { fill: ${color} !important; }` : \"\"}`\n : \"\";\n for (const state of windows.values()) state.refresh();\n },\n { fireImmediately: true },\n );\n return () => {\n disposed = true;\n stop();\n app.removeListener(\"browser-window-created\", onCreated);\n for (const state of [...windows.values()]) state.cleanup();\n };\n}\n"],"mappings":";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B;EACA,MAAM,gBAAgB;GACpB,SAAS,eAAe,aAAa,OAAO;GAC5C,SAAS,eAAe,qBAAqB,OAAO;GACpD,SAAS,eAAe,aAAa,OAAO;GAC5C,QAAQ,OAAO,QAAQ;GACvB,QAAQ;EACV;EACA,QAAQ,IAAI,UAAU;GAAE;GAAS;EAAQ,CAAC;EAC1C,SAAS,GAAG,aAAa,OAAO;EAChC,SAAS,GAAG,qBAAqB,OAAO;EACxC,SAAS,KAAK,aAAa,OAAO;EAClC,QAAQ;CACV;CACA,MAAM,aAAa,QAAwB,WAA0B,OAAO,MAAM;CAClF,SAAA,IAAI,GAAG,0BAA0B,SAAS;CAC1C,KAAK,MAAM,UAAU,SAAA,cAAc,cAAc,GAAG,OAAO,MAAM;CACjE,MAAM,OAAO,8BAAA,eACL;EAAC,YAAY;EAAS,YAAY;EAAa,YAAY;CAAc,IAC9E,CAAC,SAAS,OAAO,oBAAoB;EACpC,MACE,WAAW,UAAU,aAAa,qCAAA,kBAAkB,KAAK,IACrD,sCAAsC,MAAM,oCAAoC,MAAM;;;YAGtF,iBAAiB,qGAAqG,MAAM,kBAAkB,OAC9I;EACN,KAAK,MAAM,SAAS,QAAQ,OAAO,GAAG,MAAM,QAAQ;CACtD,GACA,EAAE,iBAAiB,KAAK,CAC1B;CACA,aAAa;EACX,WAAW;EACX,KAAK;EACL,SAAA,IAAI,eAAe,0BAA0B,SAAS;EACtD,KAAK,MAAM,SAAS,CAAC,GAAG,QAAQ,OAAO,CAAC,GAAG,MAAM,QAAQ;CAC3D;AACF"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
require("./ai-resource-payload.js");
|
|
2
|
-
const require_ai_terminal_context = require("./ai-terminal-context.js");
|
|
3
|
-
//#region src/common/ai-attachments.ts
|
|
4
|
-
function normalizeAiAttachmentReceipts(value) {
|
|
5
|
-
if (!Array.isArray(value)) return [];
|
|
6
|
-
const receipts = [];
|
|
7
|
-
let remaining = 48e3;
|
|
8
|
-
for (const candidate of value.slice(0, 3)) {
|
|
9
|
-
if (!candidate || typeof candidate !== "object" || Object.getPrototypeOf(candidate) !== Object.prototype) continue;
|
|
10
|
-
const { kind, title, text, capturedAt, source } = candidate;
|
|
11
|
-
if (![
|
|
12
|
-
"resource",
|
|
13
|
-
"evidence",
|
|
14
|
-
"terminal"
|
|
15
|
-
].includes(kind) || typeof title !== "string" || !title.trim() || typeof text !== "string" || !text.trim()) continue;
|
|
16
|
-
const safeTitle = require_ai_terminal_context.redactAiTerminalText(title).slice(0, 160);
|
|
17
|
-
const limit = Math.min(kind === "terminal" ? 32768 : kind === "resource" ? 2e3 : 8e3, remaining - safeTitle.length - 100);
|
|
18
|
-
if (limit < 64) continue;
|
|
19
|
-
const redacted = text;
|
|
20
|
-
const safeText = redacted.length <= limit ? redacted : redacted.slice(0, Math.max(0, limit - 31)) + "\n[Attachment receipt truncated]";
|
|
21
|
-
const receipt = {
|
|
22
|
-
kind,
|
|
23
|
-
title: safeTitle,
|
|
24
|
-
text: safeText,
|
|
25
|
-
...typeof capturedAt === "string" && capturedAt.length <= 64 ? { capturedAt } : {},
|
|
26
|
-
...source === "logs" || source === "relationships" || source === "diagnostics" ? { source } : {}
|
|
27
|
-
};
|
|
28
|
-
remaining -= safeTitle.length + safeText.length + (receipt.capturedAt?.length ?? 0) + (receipt.source?.length ?? 0);
|
|
29
|
-
receipts.push(receipt);
|
|
30
|
-
}
|
|
31
|
-
return receipts;
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
exports.normalizeAiAttachmentReceipts = normalizeAiAttachmentReceipts;
|
|
35
|
-
|
|
36
|
-
//# sourceMappingURL=ai-attachments.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-attachments.js","names":[],"sources":["../../../../src/common/ai-attachments.ts"],"sourcesContent":["import { isKubernetesPayloadResource, redactKubernetesJsonText } from \"./ai-resource-payload\";\nimport { redactAiTerminalText } from \"./ai-terminal-context\";\n\nexport interface AiAttachmentReceipt {\n kind: \"resource\" | \"evidence\" | \"terminal\";\n title: string;\n text: string;\n capturedAt?: string;\n source?: \"logs\" | \"relationships\" | \"diagnostics\";\n}\n\nexport function boundedAiJson(value: unknown, maxLength = 8000): string {\n const limit = Number.isFinite(maxLength) ? Math.max(0, Math.floor(maxLength)) : 8000;\n let limited = false;\n let remainingCharacters = 0;\n let remainingNodes = 0;\n const available = () => remainingCharacters > 0 && remainingNodes > 0;\n const project = (item: unknown, budget: number, depth: number, resourceHint = false): unknown => {\n remainingNodes--;\n if (depth > 8 || !available()) {\n limited = true;\n return null;\n }\n if (typeof item === \"string\") {\n const redacted = redactAiTerminalText(item);\n const count = Math.min(budget, remainingCharacters);\n if (redacted.length > count) limited = true;\n const result = redacted.slice(0, count);\n remainingCharacters -= result.length;\n return result;\n }\n if (Array.isArray(item)) {\n const count = Math.max(1, Math.min(100, Math.floor(budget / 20)));\n const result: unknown[] = [];\n for (let index = 0; index < item.length && index < count && available(); index++) {\n result.push(project(item[index], budget, depth + 1, resourceHint));\n }\n if (item.length > result.length) limited = true;\n return result;\n }\n if (item && typeof item === \"object\") {\n const result: Record<string, unknown> = Object.create(null);\n let count = 0;\n for (const key in item) {\n if (!Object.hasOwn(item, key)) continue;\n if (count >= 100 || !available()) {\n limited = true;\n break;\n }\n const safeKey = key.slice(0, Math.min(200, remainingCharacters));\n if (safeKey.length < key.length) limited = true;\n remainingCharacters -= safeKey.length;\n const child = (item as Record<string, unknown>)[key];\n const payload =\n (resourceHint || isKubernetesPayloadResource(item)) && [\"data\", \"stringData\", \"binaryData\"].includes(key);\n result[safeKey] = project(\n payload\n ? child && typeof child === \"object\" && !Array.isArray(child)\n ? Object.fromEntries(Object.keys(child).map((name) => [name, \"[REDACTED]\"]))\n : \"[REDACTED]\"\n : key === \"kubectl.kubernetes.io/last-applied-configuration\" && typeof child === \"string\"\n ? (() => {\n try {\n return redactKubernetesJsonText(child);\n } catch {\n return \"[REDACTED]\";\n }\n })()\n : child,\n budget,\n depth + 1,\n [\"SecretList\", \"ConfigMapList\"].includes((item as Record<string, unknown>).kind as string) && key === \"items\",\n );\n count++;\n }\n return result;\n }\n remainingCharacters -= String(item).length;\n return item;\n };\n const serialize = (budget: number) => {\n limited = false;\n remainingCharacters = Math.max(1, limit * 2);\n remainingNodes = Math.max(1, Math.min(1000, Math.floor(limit / 8)));\n const projected = project(value, budget, 0);\n const marked = limited\n ? projected && typeof projected === \"object\" && !Array.isArray(projected)\n ? { ...projected, attachmentLimited: true }\n : { attachmentLimited: true, evidence: projected }\n : projected;\n return JSON.stringify(marked, null, 2) ?? \"null\";\n };\n let budget = Math.min(2000, limit);\n let result = serialize(budget);\n while (result.length > limit && budget > 0) {\n budget = Math.floor(budget / 2);\n result = serialize(budget);\n }\n if (result.length <= limit) return result;\n const fallback = '{\"attachmentLimited\":true}';\n return fallback.length <= limit ? fallback : limit >= 2 ? \"{}\" : limit === 1 ? \"0\" : \"\";\n}\n\nexport function formatAiAttachmentText(text: string, maxLength = 64000, redact = false): string {\n const limit = Number.isFinite(maxLength) ? Math.max(0, Math.floor(maxLength)) : 64000;\n try {\n JSON.parse(text);\n const safe =\n (redact ? redactKubernetesJsonText(text) : text).match(\n /\"(?:[^\"\\\\]|\\\\.)*\"|-?\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?|true|false|null|[{}\\[\\],:]/g,\n ) ?? [];\n const compact = safe.join(\"\");\n let depth = 0;\n let formatted = \"\";\n for (let index = 0; index < safe.length; index++) {\n const token = safe[index];\n if (token === \"{\" || token === \"[\") {\n if (++depth > 32) {\n formatted = compact;\n break;\n }\n formatted += token + (safe[index + 1] === \"}\" || safe[index + 1] === \"]\" ? \"\" : `\\n${\" \".repeat(depth)}`);\n } else if (token === \"}\" || token === \"]\") {\n depth--;\n formatted += (safe[index - 1] === \"{\" || safe[index - 1] === \"[\" ? \"\" : `\\n${\" \".repeat(depth)}`) + token;\n } else if (token === \",\") formatted += `,\\n${\" \".repeat(depth)}`;\n else formatted += token === \":\" ? \": \" : token;\n }\n if (formatted.length <= limit) return formatted;\n if (compact.length <= limit) return compact;\n let excerpt = compact.slice(0, Math.max(0, limit - 80));\n let wrapper = JSON.stringify({ attachmentLimited: true, excerpt }, null, 2);\n while (wrapper.length > limit && excerpt.length) {\n excerpt = excerpt.slice(0, Math.floor(excerpt.length / 2));\n wrapper = JSON.stringify({ attachmentLimited: true, excerpt }, null, 2);\n }\n return wrapper.length <= limit ? wrapper : limit >= 2 ? \"{}\" : limit === 1 ? \"0\" : \"\";\n } catch {\n return (redact ? redactAiTerminalText(text) : text).slice(0, limit);\n }\n}\n\nexport function normalizeAiAttachmentReceipts(value: unknown): AiAttachmentReceipt[] {\n if (!Array.isArray(value)) return [];\n const receipts: AiAttachmentReceipt[] = [];\n let remaining = 48000;\n for (const candidate of value.slice(0, 3)) {\n if (!candidate || typeof candidate !== \"object\" || Object.getPrototypeOf(candidate) !== Object.prototype) continue;\n const { kind, title, text, capturedAt, source } = candidate;\n if (\n ![\"resource\", \"evidence\", \"terminal\"].includes(kind) ||\n typeof title !== \"string\" ||\n !title.trim() ||\n typeof text !== \"string\" ||\n !text.trim()\n )\n continue;\n const safeTitle = redactAiTerminalText(title).slice(0, 160);\n const limit = Math.min(\n kind === \"terminal\" ? 32768 : kind === \"resource\" ? 2000 : 8000,\n remaining - safeTitle.length - 100,\n );\n if (limit < 64) continue;\n const redacted = text;\n const marker = \"\\n[Attachment receipt truncated]\";\n const safeText =\n redacted.length <= limit ? redacted : redacted.slice(0, Math.max(0, limit - marker.length)) + marker;\n const receipt: AiAttachmentReceipt = {\n kind,\n title: safeTitle,\n text: safeText,\n ...(typeof capturedAt === \"string\" && capturedAt.length <= 64 ? { capturedAt } : {}),\n ...(source === \"logs\" || source === \"relationships\" || source === \"diagnostics\" ? { source } : {}),\n };\n remaining -= safeTitle.length + safeText.length + (receipt.capturedAt?.length ?? 0) + (receipt.source?.length ?? 0);\n receipts.push(receipt);\n }\n return receipts;\n}\n"],"mappings":";;;AA8IA,S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^[a-z0-9][a-z0-9.-]{0,252}$/;
|
|
4
|
-
function validAiResourceReference(value) {
|
|
5
|
-
if (!value || typeof value !== "object") return false;
|
|
6
|
-
const item = value;
|
|
7
|
-
return typeof item.apiVersion === "string" && /^(?:[a-z0-9][a-z0-9.-]{0,200}\/)?v[0-9]+(?:(?:alpha|beta)[0-9]+)?$/.test(item.apiVersion) && typeof item.kind === "string" && /^[A-Z][A-Za-z0-9]{0,100}$/.test(item.kind) && typeof item.name === "string" && identifier.test(item.name) && (item.namespace === void 0 || typeof item.namespace === "string" && identifier.test(item.namespace));
|
|
8
|
-
}
|
|
9
|
-
function normalizeAiReferences(value) {
|
|
10
|
-
if (!Array.isArray(value)) return [];
|
|
11
|
-
const references = [];
|
|
12
|
-
const seen = /* @__PURE__ */ new Set();
|
|
13
|
-
for (const item of value.slice(0, 200)) {
|
|
14
|
-
if (!validAiResourceReference(item)) continue;
|
|
15
|
-
const reference = {
|
|
16
|
-
apiVersion: item.apiVersion,
|
|
17
|
-
kind: item.kind,
|
|
18
|
-
name: item.name,
|
|
19
|
-
...item.namespace ? { namespace: item.namespace } : {}
|
|
20
|
-
};
|
|
21
|
-
const key = JSON.stringify(reference);
|
|
22
|
-
if (!seen.has(key)) references.push(reference);
|
|
23
|
-
seen.add(key);
|
|
24
|
-
}
|
|
25
|
-
return references;
|
|
26
|
-
}
|
|
27
|
-
function referencedAiResources(text, value) {
|
|
28
|
-
const candidates = normalizeAiReferences(value);
|
|
29
|
-
const tokens = new Set((text.match(/[A-Za-z0-9][A-Za-z0-9.-]*/g) ?? []).map((token) => token.replace(/\.+$/, "")));
|
|
30
|
-
const qualifiedTokens = new Set((text.match(/[A-Za-z0-9][A-Za-z0-9./-]*/g) ?? []).map((token) => token.replace(/\.+$/, "")));
|
|
31
|
-
return candidates.filter((reference) => {
|
|
32
|
-
if (!tokens.has(reference.name)) return false;
|
|
33
|
-
const matches = candidates.filter((item) => item.name === reference.name);
|
|
34
|
-
if (matches.length === 1) {
|
|
35
|
-
const qualifiedMentions = [...qualifiedTokens].filter((token) => token.endsWith(`/${reference.name}`));
|
|
36
|
-
return !qualifiedMentions.length || qualifiedMentions.some((token) => token === `${reference.namespace}/${reference.name}` || token === `${reference.kind}/${reference.name}`);
|
|
37
|
-
}
|
|
38
|
-
const qualified = reference.namespace ? `${reference.namespace}/${reference.name}` : "";
|
|
39
|
-
if (!qualified || !qualifiedTokens.has(qualified)) return false;
|
|
40
|
-
return matches.filter((item) => item.namespace === reference.namespace).length === 1;
|
|
41
|
-
}).slice(0, 5);
|
|
42
|
-
}
|
|
43
|
-
function attachedAiContext(context) {
|
|
44
|
-
const result = {};
|
|
45
|
-
if (typeof context.clusterId === "string" && context.clusterId.length <= 256) result.clusterId = context.clusterId;
|
|
46
|
-
if (typeof context.screen === "string" && context.screen.startsWith("/") && !/[?#]/.test(context.screen)) result.screen = context.screen.slice(0, 2048);
|
|
47
|
-
if (context.resource && typeof context.resource === "object") {
|
|
48
|
-
const resource = {};
|
|
49
|
-
for (const key of [
|
|
50
|
-
"kind",
|
|
51
|
-
"namespace",
|
|
52
|
-
"name"
|
|
53
|
-
]) {
|
|
54
|
-
const value = context.resource[key];
|
|
55
|
-
if (typeof value === "string" && /^[A-Za-z0-9][A-Za-z0-9._-]{0,252}$/.test(value)) resource[key] = value;
|
|
56
|
-
}
|
|
57
|
-
if (Object.keys(resource).length) result.resource = resource;
|
|
58
|
-
}
|
|
59
|
-
return result;
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
|
-
exports.AI_CANCEL_CHANNEL = AI_CANCEL_CHANNEL;
|
|
63
|
-
exports.attachedAiContext = attachedAiContext;
|
|
64
|
-
exports.normalizeAiReferences = normalizeAiReferences;
|
|
65
|
-
exports.referencedAiResources = referencedAiResources;
|
|
66
|
-
exports.validAiResourceReference = validAiResourceReference;
|
|
67
|
-
|
|
68
|
-
//# sourceMappingURL=ai-extras.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai-extras.js","names":[],"sources":["../../../../src/common/ai-extras.ts"],"sourcesContent":["import type { AiChatRequest } from \"./ai\";\n\nexport const AI_CANCEL_CHANNEL = \"freelens-power:ai-cancel\";\n\nexport interface AiResourceReference {\n apiVersion: string;\n kind: string;\n name: string;\n namespace?: string;\n}\n\nconst identifier = /^[a-z0-9][a-z0-9.-]{0,252}$/;\n\nexport function validAiResourceReference(value: unknown): value is AiResourceReference {\n if (!value || typeof value !== \"object\") return false;\n const item = value as AiResourceReference;\n return (\n typeof item.apiVersion === \"string\" &&\n /^(?:[a-z0-9][a-z0-9.-]{0,200}\\/)?v[0-9]+(?:(?:alpha|beta)[0-9]+)?$/.test(item.apiVersion) &&\n typeof item.kind === \"string\" &&\n /^[A-Z][A-Za-z0-9]{0,100}$/.test(item.kind) &&\n typeof item.name === \"string\" &&\n identifier.test(item.name) &&\n (item.namespace === undefined || (typeof item.namespace === \"string\" && identifier.test(item.namespace)))\n );\n}\n\nexport function normalizeAiReferences(value: unknown): AiResourceReference[] {\n if (!Array.isArray(value)) return [];\n const references: AiResourceReference[] = [];\n const seen = new Set<string>();\n for (const item of value.slice(0, 200)) {\n if (!validAiResourceReference(item)) continue;\n const reference: AiResourceReference = {\n apiVersion: item.apiVersion,\n kind: item.kind,\n name: item.name,\n ...(item.namespace ? { namespace: item.namespace } : {}),\n };\n const key = JSON.stringify(reference);\n if (!seen.has(key)) references.push(reference);\n seen.add(key);\n }\n return references;\n}\n\nexport function referencedAiResources(text: string, value: unknown): AiResourceReference[] {\n const candidates = normalizeAiReferences(value);\n const tokens = new Set((text.match(/[A-Za-z0-9][A-Za-z0-9.-]*/g) ?? []).map((token) => token.replace(/\\.+$/, \"\")));\n const qualifiedTokens = new Set(\n (text.match(/[A-Za-z0-9][A-Za-z0-9./-]*/g) ?? []).map((token) => token.replace(/\\.+$/, \"\")),\n );\n return candidates\n .filter((reference) => {\n if (!tokens.has(reference.name)) return false;\n const matches = candidates.filter((item) => item.name === reference.name);\n if (matches.length === 1) {\n const qualifiedMentions = [...qualifiedTokens].filter((token) => token.endsWith(`/${reference.name}`));\n return (\n !qualifiedMentions.length ||\n qualifiedMentions.some(\n (token) =>\n token === `${reference.namespace}/${reference.name}` || token === `${reference.kind}/${reference.name}`,\n )\n );\n }\n // ambiguous names require an explicit namespace/name pair in the answer\n const qualified = reference.namespace ? `${reference.namespace}/${reference.name}` : \"\";\n if (!qualified || !qualifiedTokens.has(qualified)) return false;\n return matches.filter((item) => item.namespace === reference.namespace).length === 1;\n })\n .slice(0, 5);\n}\n\nexport function attachedAiContext(context: AiChatRequest[\"context\"]): AiChatRequest[\"context\"] {\n const result: AiChatRequest[\"context\"] = {};\n if (typeof context.clusterId === \"string\" && context.clusterId.length <= 256) result.clusterId = context.clusterId;\n if (typeof context.screen === \"string\" && context.screen.startsWith(\"/\") && !/[?#]/.test(context.screen))\n result.screen = context.screen.slice(0, 2048);\n if (context.resource && typeof context.resource === \"object\") {\n const resource: NonNullable<AiChatRequest[\"context\"][\"resource\"]> = {};\n for (const key of [\"kind\", \"namespace\", \"name\"] as const) {\n const value = context.resource[key];\n if (typeof value === \"string\" && /^[A-Za-z0-9][A-Za-z0-9._-]{0,252}$/.test(value)) resource[key] = value;\n }\n if (Object.keys(resource).length) result.resource = resource;\n }\n return result;\n}\n"],"mappings":";AAEA,IAAa,oBAAoB;AASjC,IAAM,aAAa;AAEnB,SAAgB,yBAAyB,OAA8C;CACrF,IAAI,CAAC,SAAS,OAAO,UAAU,UAAU,OAAO;CAChD,MAAM,OAAO;CACb,OACE,OAAO,KAAK,eAAe,YAC3B,qEAAqE,KAAK,KAAK,UAAU,KACzF,OAAO,KAAK,SAAS,YACrB,4BAA4B,KAAK,KAAK,IAAI,KAC1C,OAAO,KAAK,SAAS,YACrB,WAAW,KAAK,KAAK,IAAI,MACxB,KAAK,cAAc,KAAA,KAAc,OAAO,KAAK,cAAc,YAAY,WAAW,KAAK,KAAK,SAAS;AAE1G;AAEA,SAAgB,sBAAsB,OAAuC;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