@64mb/freelens-power 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -33
- package/THIRD_PARTY_LICENSES +74 -0
- package/out/main/_virtual/_rolldown/runtime.js +25 -0
- package/out/main/ai-answer-stream.js +96 -0
- package/out/main/ai-answer-stream.js.map +1 -0
- package/out/main/ai-api-key.js +95 -0
- package/out/main/ai-api-key.js.map +1 -0
- package/out/main/ai-codex-api.js +611 -0
- package/out/main/ai-codex-api.js.map +1 -0
- package/out/main/ai-ipc.js +42 -11
- package/out/main/ai-ipc.js.map +1 -1
- package/out/main/ai-logs.js +4 -3
- package/out/main/ai-logs.js.map +1 -1
- package/out/main/ai-models.js +23 -11
- package/out/main/ai-models.js.map +1 -1
- package/out/main/ai-pi-models.js +73 -0
- package/out/main/ai-pi-models.js.map +1 -0
- package/out/main/ai-pi.js +411 -0
- package/out/main/ai-pi.js.map +1 -0
- package/out/main/ai-references.js +1 -1
- package/out/main/ai-resources.js +166 -220
- package/out/main/ai-resources.js.map +1 -1
- package/out/main/ai.js +303 -142
- package/out/main/ai.js.map +1 -1
- package/out/main/cluster-icons-catalog.js +1 -1
- package/out/main/cluster-icons.js +4 -4
- package/out/main/dashboard-ai.js +29 -0
- package/out/main/dashboard-ai.js.map +1 -0
- package/out/main/dashboard-catalog.js +1 -1
- package/out/main/dashboard-picker.js +3 -3
- package/out/main/dashboard-views.js +102 -10
- package/out/main/dashboard-views.js.map +1 -1
- package/out/main/diagnostics-menu-order.js +1 -1
- package/out/main/dock-icon.js +1 -1
- package/out/main/extension-updates.js +151 -0
- package/out/main/extension-updates.js.map +1 -0
- package/out/main/helm-installed-chart.js +141 -0
- package/out/main/helm-installed-chart.js.map +1 -0
- package/out/main/helm-ipc.js +748 -0
- package/out/main/helm-ipc.js.map +1 -0
- package/out/main/helm-values.js +45 -0
- package/out/main/helm-values.js.map +1 -0
- package/out/main/helm.js +283 -0
- package/out/main/helm.js.map +1 -0
- package/out/main/index.js +20 -12
- package/out/main/index.js.map +1 -1
- package/out/main/monitoring-history.js +2 -2
- package/out/main/node-bulk.js +260 -0
- package/out/main/node-bulk.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js +99 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/buffer-util.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js +32 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/constants.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js +242 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/event-target.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js +154 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/extension.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js +60 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/limiter.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js +346 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/permessage-deflate.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js +479 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/receiver.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js +508 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/sender.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js +127 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/stream.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js +50 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/subprotocol.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js +201 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/validation.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js +401 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket-server.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js +1007 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/lib/websocket.js.map +1 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js +23 -0
- package/out/main/node_modules/.pnpm/ws@8.21.0/node_modules/ws/wrapper.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js +69 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-collection.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js +56 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-doc.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js +105 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-node.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js +73 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/compose-scalar.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js +214 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/composer.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js +100 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-map.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js +187 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-scalar.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js +55 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-block-seq.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js +47 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-end.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js +173 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-collection.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js +218 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js +116 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/resolve-props.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js +38 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-contains-newline.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js +36 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js +23 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-flow-indent-check.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js +23 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/compose/util-map-includes.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js +302 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/Document.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js +79 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/anchors.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js +49 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/applyReviver.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js +76 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/createNode.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js +177 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/doc/directives.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js +62 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/errors.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js +74 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/index.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js +23 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/log.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js +111 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Alias.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js +134 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Collection.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js +47 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Node.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js +47 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Pair.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js +40 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/Scalar.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js +125 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLMap.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js +122 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/YAMLSeq.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js +66 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/addPairToJSMap.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js +59 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/identity.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js +48 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/nodes/toJS.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js +281 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-scalar.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js +60 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-stringify.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js +100 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst-visit.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js +92 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/cst.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js +542 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/lexer.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js +56 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/line-counter.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js +875 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/parse/parser.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js +104 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/public-api.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js +43 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/Schema.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js +29 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/map.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js +26 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/null.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js +29 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/seq.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js +26 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/common/string.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js +30 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/bool.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js +53 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/float.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js +52 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/int.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js +41 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/core/schema.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js +75 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/json/schema.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js +110 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/tags.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js +68 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js +38 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js +56 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/float.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js +86 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/int.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js +55 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/merge.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js +78 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js +74 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js +63 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js +81 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/set.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js +94 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js +125 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/foldFlowLines.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js +122 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringify.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js +131 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyCollection.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js +29 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyComment.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js +74 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyDocument.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js +30 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyNumber.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js +111 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyPair.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js +236 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/stringify/stringifyString.js.map +1 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js +201 -0
- package/out/main/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/dist/visit.js.map +1 -0
- package/out/main/package.js +6 -0
- package/out/main/package.js.map +1 -0
- package/out/main/power-logs-budget.js +1 -1
- package/out/main/power-logs-child.js +5 -4
- package/out/main/power-logs-child.js.map +1 -1
- package/out/main/power-logs-database.js +214 -8
- package/out/main/power-logs-database.js.map +1 -1
- package/out/main/power-logs-ipc.js +56 -7
- package/out/main/power-logs-ipc.js.map +1 -1
- package/out/main/power-logs-query-child.js +1 -1
- package/out/main/power-logs-query.js +6 -4
- package/out/main/power-logs-query.js.map +1 -1
- package/out/main/power-logs-worker.js +31 -9
- package/out/main/power-logs-worker.js.map +1 -1
- package/out/main/resource-search-database.js +9 -3
- package/out/main/resource-search-database.js.map +1 -1
- package/out/main/resource-search-worker.js +6 -2
- package/out/main/resource-search-worker.js.map +1 -1
- package/out/main/resource-search.js +4 -3
- package/out/main/resource-search.js.map +1 -1
- package/out/main/settings-export.js +3 -3
- package/out/main/settings-import.js +3 -3
- package/out/main/splash-accent.js +1 -1
- package/out/main/src/common/ai-attachments.js +36 -0
- package/out/main/src/common/ai-attachments.js.map +1 -0
- package/out/main/src/common/ai-extras.js.map +1 -0
- package/out/main/src/common/ai-models.js +81 -0
- package/out/main/src/common/ai-models.js.map +1 -0
- package/out/main/src/common/ai-prompts.js +46 -0
- package/out/main/src/common/ai-prompts.js.map +1 -0
- package/out/main/src/common/ai-resource-payload.js +308 -0
- package/out/main/src/common/ai-resource-payload.js.map +1 -0
- package/out/main/src/common/ai-shortcuts.js.map +1 -0
- package/out/main/src/common/ai-terminal-context.js +72 -0
- package/out/main/src/common/ai-terminal-context.js.map +1 -0
- package/out/main/{common → src/common}/ai.js +6 -0
- package/out/main/src/common/ai.js.map +1 -0
- package/out/main/src/common/cluster-icon-ipc.js.map +1 -0
- package/out/main/src/common/cluster-icons.js.map +1 -0
- package/out/main/src/common/dashboard-ai.js +64 -0
- package/out/main/src/common/dashboard-ai.js.map +1 -0
- package/out/main/src/common/dashboard-picker.js.map +1 -0
- package/out/main/src/common/dashboard-readiness.js.map +1 -0
- package/out/main/src/common/dashboard-selector.js.map +1 -0
- package/out/main/src/common/dashboard-views.js.map +1 -0
- package/out/main/src/common/dashboard.js.map +1 -0
- package/out/main/src/common/extension-info.js.map +1 -0
- package/out/main/src/common/extension-updates.js +13 -0
- package/out/main/src/common/extension-updates.js.map +1 -0
- package/out/main/src/common/helm-values-validation.js +56 -0
- package/out/main/src/common/helm-values-validation.js.map +1 -0
- package/out/main/src/common/helm.js +8 -0
- package/out/main/src/common/helm.js.map +1 -0
- package/out/main/src/common/monitoring-history.js.map +1 -0
- package/out/main/src/common/node-bulk.js +6 -0
- package/out/main/src/common/node-bulk.js.map +1 -0
- package/out/main/src/common/power-logs-limits.js.map +1 -0
- package/out/main/{common → src/common}/power-logs.js +6 -0
- package/out/main/src/common/power-logs.js.map +1 -0
- package/out/main/src/common/resource-search-kind-priority.js +23 -0
- package/out/main/src/common/resource-search-kind-priority.js.map +1 -0
- package/out/main/src/common/resource-search.js.map +1 -0
- package/out/main/src/common/settings-export.js.map +1 -0
- package/out/main/{common → src/common}/store/ai-preferences-store.js +50 -8
- package/out/main/src/common/store/ai-preferences-store.js.map +1 -0
- package/out/main/{common → src/common}/store/ai-shortcuts-store.js +2 -2
- package/out/main/src/common/store/ai-shortcuts-store.js.map +1 -0
- package/out/main/{common → src/common}/store/appearance-preferences-store.js +10 -5
- package/out/main/src/common/store/appearance-preferences-store.js.map +1 -0
- package/out/main/{common → src/common}/store/cluster-icons-store.js +2 -2
- package/out/main/src/common/store/cluster-icons-store.js.map +1 -0
- package/out/main/{common → src/common}/store/dashboard-preferences-store.js +2 -2
- package/out/main/src/common/store/dashboard-preferences-store.js.map +1 -0
- package/out/main/src/common/store/helm-preferences-store.js +26 -0
- package/out/main/src/common/store/helm-preferences-store.js.map +1 -0
- package/out/main/{common → src/common}/store/logs-preferences-store.js +7 -2
- package/out/main/src/common/store/logs-preferences-store.js.map +1 -0
- package/out/main/{common → src/common}/store/monitoring-preferences-store.js +2 -2
- package/out/main/src/common/store/monitoring-preferences-store.js.map +1 -0
- package/out/main/src/common/store/node-shell-preferences-store.js +44 -0
- package/out/main/src/common/store/node-shell-preferences-store.js.map +1 -0
- package/out/main/src/common/store/power-preferences-store.js +39 -0
- package/out/main/src/common/store/power-preferences-store.js.map +1 -0
- package/out/main/{common → src/common}/store/read-only-preferences-store.js +2 -2
- package/out/main/src/common/store/read-only-preferences-store.js.map +1 -0
- package/out/renderer/_virtual/_global-external_mobx.js +4 -2
- package/out/renderer/_virtual/_global-external_react-dom.js +4 -2
- package/out/renderer/_virtual/_global-external_react.js +4 -2
- package/out/renderer/ai-attachment-card.js +92 -0
- package/out/renderer/ai-attachment-card.js.map +1 -0
- package/out/renderer/ai-context-mutations.js +14 -0
- package/out/renderer/ai-context-mutations.js.map +1 -0
- package/out/renderer/ai-copy-answer.js +18 -15
- package/out/renderer/ai-copy-answer.js.map +1 -1
- package/out/renderer/ai-diagnostic-handoff.js +5 -2
- package/out/renderer/ai-diagnostic-handoff.js.map +1 -1
- package/out/renderer/ai-extras.js +95 -85
- package/out/renderer/ai-extras.js.map +1 -1
- package/out/renderer/ai-icon.js +26 -0
- package/out/renderer/ai-icon.js.map +1 -1
- package/out/renderer/ai-logs-sql.js +1 -0
- package/out/renderer/ai-logs-sql.js.map +1 -1
- package/out/renderer/ai-message.js +58 -41
- package/out/renderer/ai-message.js.map +1 -1
- package/out/renderer/ai-provider-icon.js +77 -32
- package/out/renderer/ai-provider-icon.js.map +1 -1
- package/out/renderer/ai-resize.js +40 -37
- package/out/renderer/ai-resize.js.map +1 -1
- package/out/renderer/ai-shortcuts.js +21 -17
- package/out/renderer/ai-shortcuts.js.map +1 -1
- package/out/renderer/ai-terminal-context.js +54 -81
- package/out/renderer/ai-terminal-context.js.map +1 -1
- package/out/renderer/ai.js +530 -172
- package/out/renderer/ai.js.map +1 -1
- package/out/renderer/appearance.js +59 -5
- package/out/renderer/appearance.js.map +1 -1
- package/out/renderer/assets/openai.js +6 -0
- package/out/renderer/assets/openai.js.map +1 -0
- package/out/renderer/assets/pi.js +6 -0
- package/out/renderer/assets/pi.js.map +1 -0
- package/out/renderer/button-styles.js +31 -2
- package/out/renderer/button-styles.js.map +1 -1
- package/out/renderer/cluster-icon-colors.js +10 -7
- package/out/renderer/cluster-icon-colors.js.map +1 -1
- package/out/renderer/cluster-icons.js +47 -40
- package/out/renderer/cluster-icons.js.map +1 -1
- package/out/renderer/dashboard.js +75 -14
- package/out/renderer/dashboard.js.map +1 -1
- package/out/renderer/details/resource-health-details.js +2 -2
- package/out/renderer/details/resource-health-details.js.map +1 -1
- package/out/renderer/details/service-diagnostics-details.js +25 -23
- package/out/renderer/details/service-diagnostics-details.js.map +1 -1
- package/out/renderer/diagnostic-explain-button.js +7 -4
- package/out/renderer/diagnostic-explain-button.js.map +1 -1
- package/out/renderer/diagnostics-screen-finding.js +52 -0
- package/out/renderer/diagnostics-screen-finding.js.map +1 -0
- package/out/renderer/diagnostics-state.js +37 -0
- package/out/renderer/diagnostics-state.js.map +1 -1
- package/out/renderer/diagnostics.css.js +17 -4
- package/out/renderer/diagnostics.css.js.map +1 -1
- package/out/renderer/diagnostics.js +457 -189
- package/out/renderer/diagnostics.js.map +1 -1
- package/out/renderer/extension-update-notifications.js +221 -0
- package/out/renderer/extension-update-notifications.js.map +1 -0
- package/out/renderer/extension-update.js +189 -0
- package/out/renderer/extension-update.js.map +1 -0
- package/out/renderer/floating-action-transitions.js +139 -0
- package/out/renderer/floating-action-transitions.js.map +1 -0
- package/out/renderer/helm-app-version.js +141 -0
- package/out/renderer/helm-app-version.js.map +1 -0
- package/out/renderer/helm-code-view.js +727 -0
- package/out/renderer/helm-code-view.js.map +1 -0
- package/out/renderer/helm-entrypoints.js +79 -0
- package/out/renderer/helm-entrypoints.js.map +1 -0
- package/out/renderer/helm-full-comparison.js +233 -0
- package/out/renderer/helm-full-comparison.js.map +1 -0
- package/out/renderer/helm-operations.js +541 -0
- package/out/renderer/helm-operations.js.map +1 -0
- package/out/renderer/helm-release-actions.js +296 -0
- package/out/renderer/helm-release-actions.js.map +1 -0
- package/out/renderer/helm-revision-delete.js +128 -0
- package/out/renderer/helm-revision-delete.js.map +1 -0
- package/out/renderer/helm-version-index.js +283 -0
- package/out/renderer/helm-version-index.js.map +1 -0
- package/out/renderer/helm.js +2383 -0
- package/out/renderer/helm.js.map +1 -0
- package/out/renderer/host-extensions.js +102 -0
- package/out/renderer/host-extensions.js.map +1 -0
- package/out/renderer/host-layout.js +59 -0
- package/out/renderer/host-layout.js.map +1 -0
- package/out/renderer/host-preferences.js +192 -0
- package/out/renderer/host-preferences.js.map +1 -0
- package/out/renderer/incident-copy-button.js +24 -21
- package/out/renderer/incident-copy-button.js.map +1 -1
- package/out/renderer/index.js +47 -5
- package/out/renderer/index.js.map +1 -1
- package/out/renderer/menus/secure-node-shell-menu.js +2 -1
- package/out/renderer/menus/secure-node-shell-menu.js.map +1 -1
- package/out/renderer/monitoring-collector.js +13 -8
- package/out/renderer/monitoring-collector.js.map +1 -1
- package/out/renderer/monitoring-history-view.js +1 -1
- package/out/renderer/monitoring-history-view.js.map +1 -1
- package/out/renderer/monitoring.js +130 -49
- package/out/renderer/monitoring.js.map +1 -1
- package/out/renderer/native-resource-removals.js +202 -0
- package/out/renderer/native-resource-removals.js.map +1 -0
- package/out/renderer/native-tooltip.js +22 -0
- package/out/renderer/native-tooltip.js.map +1 -0
- package/out/renderer/node-bulk-actions.js +527 -0
- package/out/renderer/node-bulk-actions.js.map +1 -0
- package/out/renderer/node-bulk-selection.js +203 -0
- package/out/renderer/node-bulk-selection.js.map +1 -0
- package/out/renderer/node-shell-entrypoints.js +65 -0
- package/out/renderer/node-shell-entrypoints.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js +52 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-collection.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js +41 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-doc.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js +88 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-node.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js +59 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/compose-scalar.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js +195 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/composer.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js +84 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-map.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js +176 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-scalar.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js +42 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-block-seq.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js +38 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-end.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js +155 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-collection.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js +206 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-flow-scalar.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js +107 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/resolve-props.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js +29 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-contains-newline.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js +27 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-empty-scalar-position.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js +12 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-flow-indent-check.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js +12 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/compose/util-map-includes.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js +279 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/Document.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js +67 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/anchors.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js +40 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/applyReviver.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js +63 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/createNode.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js +165 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js +53 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/index.js +24 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js +8 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js +96 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js +121 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js +34 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js +32 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js +27 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js +109 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLMap.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js +106 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/YAMLSeq.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js +51 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/addPairToJSMap.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js +50 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/identity.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js +37 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/toJS.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-scalar.js +3 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js +91 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst-visit.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js +42 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/cst.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js +531 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/lexer.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js +47 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/line-counter.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js +861 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/parse/parser.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js +56 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/public-api.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js +29 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/Schema.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js +18 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/map.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js +15 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/null.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js +18 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/seq.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js +16 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/common/string.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js +19 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/bool.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js +42 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/float.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js +41 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/int.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js +25 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/core/schema.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js +63 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/json/schema.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js +84 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/tags.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js +54 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/binary.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js +27 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/bool.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js +45 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/float.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js +75 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/int.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js +43 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/merge.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js +63 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/omap.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js +60 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/pairs.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js +41 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/schema.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js +68 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/set.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js +83 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/schema/yaml-1.1/timestamp.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js +116 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/foldFlowLines.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js +108 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringify.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js +118 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyCollection.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js +20 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyComment.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js +61 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyDocument.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js +21 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyNumber.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js +97 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyPair.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js +224 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/stringify/stringifyString.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js +190 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/visit.js.map +1 -0
- package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/index.js +24 -0
- package/out/renderer/package.js +6 -0
- package/out/renderer/package.js.map +1 -0
- package/out/renderer/pod-bulk-customization.js +51 -0
- package/out/renderer/pod-bulk-customization.js.map +1 -0
- package/out/renderer/pod-details-enhancements.js +107 -0
- package/out/renderer/pod-details-enhancements.js.map +1 -0
- package/out/renderer/pod-removal-confirmation.js +172 -0
- package/out/renderer/pod-removal-confirmation.js.map +1 -0
- package/out/renderer/power-log-column-widths.js +54 -0
- package/out/renderer/power-log-column-widths.js.map +1 -0
- package/out/renderer/power-log-columns.js +114 -0
- package/out/renderer/power-log-columns.js.map +1 -0
- package/out/renderer/power-log-json-cell.js +88 -0
- package/out/renderer/power-log-json-cell.js.map +1 -0
- package/out/renderer/power-log-json-fields.js +144 -0
- package/out/renderer/power-log-json-fields.js.map +1 -0
- package/out/renderer/power-log-json.js +252 -20
- package/out/renderer/power-log-json.js.map +1 -1
- package/out/renderer/power-log-message-tokens.js +60 -0
- package/out/renderer/power-log-message-tokens.js.map +1 -0
- package/out/renderer/power-log-message.js +26 -0
- package/out/renderer/power-log-message.js.map +1 -0
- package/out/renderer/power-log-sql-editor.js +120 -0
- package/out/renderer/power-log-sql-editor.js.map +1 -0
- package/out/renderer/power-logs-client.js +9 -0
- package/out/renderer/power-logs-client.js.map +1 -1
- package/out/renderer/power-logs-context.js +45 -0
- package/out/renderer/power-logs-context.js.map +1 -0
- package/out/renderer/power-logs-entrypoints.js +13 -36
- package/out/renderer/power-logs-entrypoints.js.map +1 -1
- package/out/renderer/power-logs-resource-stores.js +71 -0
- package/out/renderer/power-logs-resource-stores.js.map +1 -0
- package/out/renderer/power-logs-session.js +35 -0
- package/out/renderer/power-logs-session.js.map +1 -0
- package/out/renderer/power-logs-sql-drafts.js +76 -0
- package/out/renderer/power-logs-sql-drafts.js.map +1 -0
- package/out/renderer/power-logs-sql-row.js +5 -13
- package/out/renderer/power-logs-sql-row.js.map +1 -1
- package/out/renderer/power-logs-storage.js +11 -0
- package/out/renderer/power-logs-storage.js.map +1 -0
- package/out/renderer/power-logs.css.js +112 -13
- package/out/renderer/power-logs.css.js.map +1 -1
- package/out/renderer/power-logs.js +1120 -362
- package/out/renderer/power-logs.js.map +1 -1
- package/out/renderer/preferences/ai-preferences.js +264 -55
- package/out/renderer/preferences/ai-preferences.js.map +1 -1
- package/out/renderer/preferences/dashboard-preferences.js +42 -35
- package/out/renderer/preferences/dashboard-preferences.js.map +1 -1
- package/out/renderer/preferences/helm-preferences.js +22 -0
- package/out/renderer/preferences/helm-preferences.js.map +1 -0
- package/out/renderer/preferences/logs-preferences.js +287 -52
- package/out/renderer/preferences/logs-preferences.js.map +1 -1
- package/out/renderer/preferences/monitoring-preferences.js +21 -20
- package/out/renderer/preferences/monitoring-preferences.js.map +1 -1
- package/out/renderer/preferences/node-shell-preferences.js +10 -0
- package/out/renderer/preferences/node-shell-preferences.js.map +1 -1
- package/out/renderer/preferences/other-preferences.js +55 -0
- package/out/renderer/preferences/other-preferences.js.map +1 -0
- package/out/renderer/preferences/power-preferences.js +27 -10
- package/out/renderer/preferences/power-preferences.js.map +1 -1
- package/out/renderer/preferences/preferences.js +44 -13
- package/out/renderer/preferences/preferences.js.map +1 -1
- package/out/renderer/preferences/section-navigation.js +44 -0
- package/out/renderer/preferences/section-navigation.js.map +1 -0
- package/out/renderer/preferences/settings-icon-action.js +12 -11
- package/out/renderer/preferences/settings-icon-action.js.map +1 -1
- package/out/renderer/preferences/settings-modal.js +1 -1
- package/out/renderer/preferences/settings-modal.js.map +1 -1
- package/out/renderer/relationship-map-finding.js +54 -0
- package/out/renderer/relationship-map-finding.js.map +1 -0
- package/out/renderer/resource-relationships.css.js +11 -1
- package/out/renderer/resource-relationships.css.js.map +1 -1
- package/out/renderer/resource-relationships.js +104 -50
- package/out/renderer/resource-relationships.js.map +1 -1
- package/out/renderer/resource-search-client.js.map +1 -1
- package/out/renderer/resource-search-fields.js +2 -2
- package/out/renderer/resource-search-fields.js.map +1 -1
- package/out/renderer/resource-search-model.js +2 -1
- package/out/renderer/resource-search-model.js.map +1 -1
- package/out/renderer/resource-search-sync.js +1 -1
- package/out/renderer/resource-search-sync.js.map +1 -1
- package/out/renderer/resource-search.js +164 -108
- package/out/renderer/resource-search.js.map +1 -1
- package/out/renderer/secret-dialog-customization.js +142 -0
- package/out/renderer/secret-dialog-customization.js.map +1 -0
- package/out/renderer/src/common/ai-attachments.js +160 -0
- package/out/renderer/src/common/ai-attachments.js.map +1 -0
- package/out/renderer/src/common/ai-models.js +58 -0
- package/out/renderer/src/common/ai-models.js.map +1 -1
- package/out/renderer/src/common/ai-prompts.js +32 -2
- package/out/renderer/src/common/ai-prompts.js.map +1 -1
- package/out/renderer/src/common/ai-resource-payload.js +262 -0
- package/out/renderer/src/common/ai-resource-payload.js.map +1 -0
- package/out/renderer/src/common/ai-terminal-context.js +39 -18
- package/out/renderer/src/common/ai-terminal-context.js.map +1 -1
- package/out/renderer/src/common/ai.js +6 -0
- package/out/renderer/src/common/ai.js.map +1 -1
- package/out/renderer/src/common/dashboard-ai.js +22 -0
- package/out/renderer/src/common/dashboard-ai.js.map +1 -0
- package/out/renderer/src/common/extension-updates.js +33 -0
- package/out/renderer/src/common/extension-updates.js.map +1 -0
- package/out/renderer/src/common/gateway-relationships.js +8 -7
- package/out/renderer/src/common/gateway-relationships.js.map +1 -1
- package/out/renderer/src/common/helm-diff.js +312 -0
- package/out/renderer/src/common/helm-diff.js.map +1 -0
- package/out/renderer/src/common/helm-values-validation.js +59 -0
- package/out/renderer/src/common/helm-values-validation.js.map +1 -0
- package/out/renderer/src/common/helm.js +10 -0
- package/out/renderer/src/common/helm.js.map +1 -0
- package/out/renderer/src/common/node-bulk.js +6 -0
- package/out/renderer/src/common/node-bulk.js.map +1 -0
- package/out/renderer/src/common/power-log-field-filters.js +92 -0
- package/out/renderer/src/common/power-log-field-filters.js.map +1 -0
- package/out/renderer/src/common/power-log-json-filter-sql.js +118 -0
- package/out/renderer/src/common/power-log-json-filter-sql.js.map +1 -0
- package/out/renderer/src/common/power-log-json-preset.js +34 -0
- package/out/renderer/src/common/power-log-json-preset.js.map +1 -0
- package/out/renderer/src/common/power-log-level.js +172 -0
- package/out/renderer/src/common/power-log-level.js.map +1 -0
- package/out/renderer/src/common/power-log-parser.js +7 -29
- package/out/renderer/src/common/power-log-parser.js.map +1 -1
- package/out/renderer/src/common/power-log-sql-level.js +25 -0
- package/out/renderer/src/common/power-log-sql-level.js.map +1 -0
- package/out/renderer/src/common/power-logs-ai.js +11 -7
- package/out/renderer/src/common/power-logs-ai.js.map +1 -1
- package/out/renderer/src/common/power-logs.js +6 -0
- package/out/renderer/src/common/power-logs.js.map +1 -1
- package/out/renderer/src/common/resource-relationships.js +10 -8
- package/out/renderer/src/common/resource-relationships.js.map +1 -1
- package/out/renderer/src/common/resource-search-kind-priority.js +28 -0
- package/out/renderer/src/common/resource-search-kind-priority.js.map +1 -0
- package/out/renderer/src/common/resource-search.js.map +1 -1
- package/out/{main/common/ai-terminal-context.js → renderer/src/common/search-index-redaction.js} +4 -29
- package/out/renderer/src/common/search-index-redaction.js.map +1 -0
- package/out/renderer/src/common/store/ai-preferences-store.js +48 -6
- package/out/renderer/src/common/store/ai-preferences-store.js.map +1 -1
- package/out/renderer/src/common/store/appearance-preferences-store.js +8 -3
- package/out/renderer/src/common/store/appearance-preferences-store.js.map +1 -1
- package/out/renderer/src/common/store/helm-preferences-store.js +26 -0
- package/out/renderer/src/common/store/helm-preferences-store.js.map +1 -0
- package/out/renderer/src/common/store/logs-preferences-store.js +5 -0
- package/out/renderer/src/common/store/logs-preferences-store.js.map +1 -1
- package/out/renderer/src/common/store/node-shell-preferences-store.js +10 -6
- package/out/renderer/src/common/store/node-shell-preferences-store.js.map +1 -1
- package/out/renderer/src/common/store/power-preferences-store.js +19 -3
- package/out/renderer/src/common/store/power-preferences-store.js.map +1 -1
- package/out/renderer/welcome.js +29 -2
- package/out/renderer/welcome.js.map +1 -1
- package/package.json +5 -2
- package/out/main/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js +0 -9
- package/out/main/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorateMetadata.js +0 -6
- package/out/main/common/ai-extras.js.map +0 -1
- package/out/main/common/ai-models.js +0 -6
- package/out/main/common/ai-models.js.map +0 -1
- package/out/main/common/ai-prompts.js +0 -16
- package/out/main/common/ai-prompts.js.map +0 -1
- package/out/main/common/ai-shortcuts.js.map +0 -1
- package/out/main/common/ai-terminal-context.js.map +0 -1
- package/out/main/common/ai.js.map +0 -1
- package/out/main/common/cluster-icon-ipc.js.map +0 -1
- package/out/main/common/cluster-icons.js.map +0 -1
- package/out/main/common/dashboard-picker.js.map +0 -1
- package/out/main/common/dashboard-readiness.js.map +0 -1
- package/out/main/common/dashboard-selector.js.map +0 -1
- package/out/main/common/dashboard-views.js.map +0 -1
- package/out/main/common/dashboard.js.map +0 -1
- package/out/main/common/extension-info.js.map +0 -1
- package/out/main/common/monitoring-history.js.map +0 -1
- package/out/main/common/power-logs-limits.js.map +0 -1
- package/out/main/common/power-logs.js.map +0 -1
- package/out/main/common/resource-search.js.map +0 -1
- package/out/main/common/settings-export.js.map +0 -1
- package/out/main/common/store/ai-preferences-store.js.map +0 -1
- package/out/main/common/store/ai-shortcuts-store.js.map +0 -1
- package/out/main/common/store/appearance-preferences-store.js.map +0 -1
- package/out/main/common/store/cluster-icons-store.js.map +0 -1
- package/out/main/common/store/dashboard-preferences-store.js.map +0 -1
- package/out/main/common/store/logs-preferences-store.js.map +0 -1
- package/out/main/common/store/monitoring-preferences-store.js.map +0 -1
- package/out/main/common/store/node-shell-preferences-store.js +0 -40
- package/out/main/common/store/node-shell-preferences-store.js.map +0 -1
- package/out/main/common/store/power-preferences-store.js +0 -23
- package/out/main/common/store/power-preferences-store.js.map +0 -1
- package/out/main/common/store/read-only-preferences-store.js.map +0 -1
- package/out/renderer/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorate.js +0 -9
- package/out/renderer/_virtual/_@oxc-project_runtime@0.137.0/helpers/esm/decorateMetadata.js +0 -6
- /package/out/main/{common → src/common}/ai-extras.js +0 -0
- /package/out/main/{common → src/common}/ai-shortcuts.js +0 -0
- /package/out/main/{common → src/common}/cluster-icon-ipc.js +0 -0
- /package/out/main/{common → src/common}/cluster-icons.js +0 -0
- /package/out/main/{common → src/common}/dashboard-picker.js +0 -0
- /package/out/main/{common → src/common}/dashboard-readiness.js +0 -0
- /package/out/main/{common → src/common}/dashboard-selector.js +0 -0
- /package/out/main/{common → src/common}/dashboard-views.js +0 -0
- /package/out/main/{common → src/common}/dashboard.js +0 -0
- /package/out/main/{common → src/common}/extension-info.js +0 -0
- /package/out/main/{common → src/common}/monitoring-history.js +0 -0
- /package/out/main/{common → src/common}/power-logs-limits.js +0 -0
- /package/out/main/{common → src/common}/resource-search.js +0 -0
- /package/out/main/{common → src/common}/settings-export.js +0 -0
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
const require_identity = require("../nodes/identity.js");
|
|
2
|
+
const require_visit = require("../visit.js");
|
|
3
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js
|
|
4
|
+
var escapeChars = {
|
|
5
|
+
"!": "%21",
|
|
6
|
+
",": "%2C",
|
|
7
|
+
"[": "%5B",
|
|
8
|
+
"]": "%5D",
|
|
9
|
+
"{": "%7B",
|
|
10
|
+
"}": "%7D"
|
|
11
|
+
};
|
|
12
|
+
var escapeTagName = (tn) => tn.replace(/[!,[\]{}]/g, (ch) => escapeChars[ch]);
|
|
13
|
+
var Directives = class Directives {
|
|
14
|
+
constructor(yaml, tags) {
|
|
15
|
+
/**
|
|
16
|
+
* The directives-end/doc-start marker `---`. If `null`, a marker may still be
|
|
17
|
+
* included in the document's stringified representation.
|
|
18
|
+
*/
|
|
19
|
+
this.docStart = null;
|
|
20
|
+
/** The doc-end marker `...`. */
|
|
21
|
+
this.docEnd = false;
|
|
22
|
+
this.yaml = Object.assign({}, Directives.defaultYaml, yaml);
|
|
23
|
+
this.tags = Object.assign({}, Directives.defaultTags, tags);
|
|
24
|
+
}
|
|
25
|
+
clone() {
|
|
26
|
+
const copy = new Directives(this.yaml, this.tags);
|
|
27
|
+
copy.docStart = this.docStart;
|
|
28
|
+
return copy;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* During parsing, get a Directives instance for the current document and
|
|
32
|
+
* update the stream state according to the current version's spec.
|
|
33
|
+
*/
|
|
34
|
+
atDocument() {
|
|
35
|
+
const res = new Directives(this.yaml, this.tags);
|
|
36
|
+
switch (this.yaml.version) {
|
|
37
|
+
case "1.1":
|
|
38
|
+
this.atNextDocument = true;
|
|
39
|
+
break;
|
|
40
|
+
case "1.2":
|
|
41
|
+
this.atNextDocument = false;
|
|
42
|
+
this.yaml = {
|
|
43
|
+
explicit: Directives.defaultYaml.explicit,
|
|
44
|
+
version: "1.2"
|
|
45
|
+
};
|
|
46
|
+
this.tags = Object.assign({}, Directives.defaultTags);
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
return res;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* @param onError - May be called even if the action was successful
|
|
53
|
+
* @returns `true` on success
|
|
54
|
+
*/
|
|
55
|
+
add(line, onError) {
|
|
56
|
+
if (this.atNextDocument) {
|
|
57
|
+
this.yaml = {
|
|
58
|
+
explicit: Directives.defaultYaml.explicit,
|
|
59
|
+
version: "1.1"
|
|
60
|
+
};
|
|
61
|
+
this.tags = Object.assign({}, Directives.defaultTags);
|
|
62
|
+
this.atNextDocument = false;
|
|
63
|
+
}
|
|
64
|
+
const parts = line.trim().split(/[ \t]+/);
|
|
65
|
+
const name = parts.shift();
|
|
66
|
+
switch (name) {
|
|
67
|
+
case "%TAG": {
|
|
68
|
+
if (parts.length !== 2) {
|
|
69
|
+
onError(0, "%TAG directive should contain exactly two parts");
|
|
70
|
+
if (parts.length < 2) return false;
|
|
71
|
+
}
|
|
72
|
+
const [handle, prefix] = parts;
|
|
73
|
+
this.tags[handle] = prefix;
|
|
74
|
+
return true;
|
|
75
|
+
}
|
|
76
|
+
case "%YAML": {
|
|
77
|
+
this.yaml.explicit = true;
|
|
78
|
+
if (parts.length !== 1) {
|
|
79
|
+
onError(0, "%YAML directive should contain exactly one part");
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
const [version] = parts;
|
|
83
|
+
if (version === "1.1" || version === "1.2") {
|
|
84
|
+
this.yaml.version = version;
|
|
85
|
+
return true;
|
|
86
|
+
} else {
|
|
87
|
+
const isValid = /^\d+\.\d+$/.test(version);
|
|
88
|
+
onError(6, `Unsupported YAML version ${version}`, isValid);
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
default:
|
|
93
|
+
onError(0, `Unknown directive ${name}`, true);
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Resolves a tag, matching handles to those defined in %TAG directives.
|
|
99
|
+
*
|
|
100
|
+
* @returns Resolved tag, which may also be the non-specific tag `'!'` or a
|
|
101
|
+
* `'!local'` tag, or `null` if unresolvable.
|
|
102
|
+
*/
|
|
103
|
+
tagName(source, onError) {
|
|
104
|
+
if (source === "!") return "!";
|
|
105
|
+
if (source[0] !== "!") {
|
|
106
|
+
onError(`Not a valid tag: ${source}`);
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
if (source[1] === "<") {
|
|
110
|
+
const verbatim = source.slice(2, -1);
|
|
111
|
+
if (verbatim === "!" || verbatim === "!!") {
|
|
112
|
+
onError(`Verbatim tags aren't resolved, so ${source} is invalid.`);
|
|
113
|
+
return null;
|
|
114
|
+
}
|
|
115
|
+
if (source[source.length - 1] !== ">") onError("Verbatim tags must end with a >");
|
|
116
|
+
return verbatim;
|
|
117
|
+
}
|
|
118
|
+
const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s);
|
|
119
|
+
if (!suffix) onError(`The ${source} tag has no suffix`);
|
|
120
|
+
const prefix = this.tags[handle];
|
|
121
|
+
if (prefix) try {
|
|
122
|
+
return prefix + decodeURIComponent(suffix);
|
|
123
|
+
} catch (error) {
|
|
124
|
+
onError(String(error));
|
|
125
|
+
return null;
|
|
126
|
+
}
|
|
127
|
+
if (handle === "!") return source;
|
|
128
|
+
onError(`Could not resolve tag: ${source}`);
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Given a fully resolved tag, returns its printable string form,
|
|
133
|
+
* taking into account current tag prefixes and defaults.
|
|
134
|
+
*/
|
|
135
|
+
tagString(tag) {
|
|
136
|
+
for (const [handle, prefix] of Object.entries(this.tags)) if (tag.startsWith(prefix)) return handle + escapeTagName(tag.substring(prefix.length));
|
|
137
|
+
return tag[0] === "!" ? tag : `!<${tag}>`;
|
|
138
|
+
}
|
|
139
|
+
toString(doc) {
|
|
140
|
+
const lines = this.yaml.explicit ? [`%YAML ${this.yaml.version || "1.2"}`] : [];
|
|
141
|
+
const tagEntries = Object.entries(this.tags);
|
|
142
|
+
let tagNames;
|
|
143
|
+
if (doc && tagEntries.length > 0 && require_identity.isNode(doc.contents)) {
|
|
144
|
+
const tags = {};
|
|
145
|
+
require_visit.visit(doc.contents, (_key, node) => {
|
|
146
|
+
if (require_identity.isNode(node) && node.tag) tags[node.tag] = true;
|
|
147
|
+
});
|
|
148
|
+
tagNames = Object.keys(tags);
|
|
149
|
+
} else tagNames = [];
|
|
150
|
+
for (const [handle, prefix] of tagEntries) {
|
|
151
|
+
if (handle === "!!" && prefix === "tag:yaml.org,2002:") continue;
|
|
152
|
+
if (!doc || tagNames.some((tn) => tn.startsWith(prefix))) lines.push(`%TAG ${handle} ${prefix}`);
|
|
153
|
+
}
|
|
154
|
+
return lines.join("\n");
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
Directives.defaultYaml = {
|
|
158
|
+
explicit: false,
|
|
159
|
+
version: "1.2"
|
|
160
|
+
};
|
|
161
|
+
Directives.defaultTags = { "!!": "tag:yaml.org,2002:" };
|
|
162
|
+
//#endregion
|
|
163
|
+
exports.Directives = Directives;
|
|
164
|
+
|
|
165
|
+
//# sourceMappingURL=directives.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directives.js","names":["isNode"],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/doc/directives.js"],"sourcesContent":["import { isNode } from '../nodes/identity.js';\nimport { visit } from '../visit.js';\n\nconst escapeChars = {\n '!': '%21',\n ',': '%2C',\n '[': '%5B',\n ']': '%5D',\n '{': '%7B',\n '}': '%7D'\n};\nconst escapeTagName = (tn) => tn.replace(/[!,[\\]{}]/g, ch => escapeChars[ch]);\nclass Directives {\n constructor(yaml, tags) {\n /**\n * The directives-end/doc-start marker `---`. If `null`, a marker may still be\n * included in the document's stringified representation.\n */\n this.docStart = null;\n /** The doc-end marker `...`. */\n this.docEnd = false;\n this.yaml = Object.assign({}, Directives.defaultYaml, yaml);\n this.tags = Object.assign({}, Directives.defaultTags, tags);\n }\n clone() {\n const copy = new Directives(this.yaml, this.tags);\n copy.docStart = this.docStart;\n return copy;\n }\n /**\n * During parsing, get a Directives instance for the current document and\n * update the stream state according to the current version's spec.\n */\n atDocument() {\n const res = new Directives(this.yaml, this.tags);\n switch (this.yaml.version) {\n case '1.1':\n this.atNextDocument = true;\n break;\n case '1.2':\n this.atNextDocument = false;\n this.yaml = {\n explicit: Directives.defaultYaml.explicit,\n version: '1.2'\n };\n this.tags = Object.assign({}, Directives.defaultTags);\n break;\n }\n return res;\n }\n /**\n * @param onError - May be called even if the action was successful\n * @returns `true` on success\n */\n add(line, onError) {\n if (this.atNextDocument) {\n this.yaml = { explicit: Directives.defaultYaml.explicit, version: '1.1' };\n this.tags = Object.assign({}, Directives.defaultTags);\n this.atNextDocument = false;\n }\n const parts = line.trim().split(/[ \\t]+/);\n const name = parts.shift();\n switch (name) {\n case '%TAG': {\n if (parts.length !== 2) {\n onError(0, '%TAG directive should contain exactly two parts');\n if (parts.length < 2)\n return false;\n }\n const [handle, prefix] = parts;\n this.tags[handle] = prefix;\n return true;\n }\n case '%YAML': {\n this.yaml.explicit = true;\n if (parts.length !== 1) {\n onError(0, '%YAML directive should contain exactly one part');\n return false;\n }\n const [version] = parts;\n if (version === '1.1' || version === '1.2') {\n this.yaml.version = version;\n return true;\n }\n else {\n const isValid = /^\\d+\\.\\d+$/.test(version);\n onError(6, `Unsupported YAML version ${version}`, isValid);\n return false;\n }\n }\n default:\n onError(0, `Unknown directive ${name}`, true);\n return false;\n }\n }\n /**\n * Resolves a tag, matching handles to those defined in %TAG directives.\n *\n * @returns Resolved tag, which may also be the non-specific tag `'!'` or a\n * `'!local'` tag, or `null` if unresolvable.\n */\n tagName(source, onError) {\n if (source === '!')\n return '!'; // non-specific tag\n if (source[0] !== '!') {\n onError(`Not a valid tag: ${source}`);\n return null;\n }\n if (source[1] === '<') {\n const verbatim = source.slice(2, -1);\n if (verbatim === '!' || verbatim === '!!') {\n onError(`Verbatim tags aren't resolved, so ${source} is invalid.`);\n return null;\n }\n if (source[source.length - 1] !== '>')\n onError('Verbatim tags must end with a >');\n return verbatim;\n }\n const [, handle, suffix] = source.match(/^(.*!)([^!]*)$/s);\n if (!suffix)\n onError(`The ${source} tag has no suffix`);\n const prefix = this.tags[handle];\n if (prefix) {\n try {\n return prefix + decodeURIComponent(suffix);\n }\n catch (error) {\n onError(String(error));\n return null;\n }\n }\n if (handle === '!')\n return source; // local tag\n onError(`Could not resolve tag: ${source}`);\n return null;\n }\n /**\n * Given a fully resolved tag, returns its printable string form,\n * taking into account current tag prefixes and defaults.\n */\n tagString(tag) {\n for (const [handle, prefix] of Object.entries(this.tags)) {\n if (tag.startsWith(prefix))\n return handle + escapeTagName(tag.substring(prefix.length));\n }\n return tag[0] === '!' ? tag : `!<${tag}>`;\n }\n toString(doc) {\n const lines = this.yaml.explicit\n ? [`%YAML ${this.yaml.version || '1.2'}`]\n : [];\n const tagEntries = Object.entries(this.tags);\n let tagNames;\n if (doc && tagEntries.length > 0 && isNode(doc.contents)) {\n const tags = {};\n visit(doc.contents, (_key, node) => {\n if (isNode(node) && node.tag)\n tags[node.tag] = true;\n });\n tagNames = Object.keys(tags);\n }\n else\n tagNames = [];\n for (const [handle, prefix] of tagEntries) {\n if (handle === '!!' && prefix === 'tag:yaml.org,2002:')\n continue;\n if (!doc || tagNames.some(tn => tn.startsWith(prefix)))\n lines.push(`%TAG ${handle} ${prefix}`);\n }\n return lines.join('\\n');\n }\n}\nDirectives.defaultYaml = { explicit: false, version: '1.2' };\nDirectives.defaultTags = { '!!': 'tag:yaml.org,2002:' };\n\nexport { Directives };\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js
|
|
2
|
+
var YAMLError = class extends Error {
|
|
3
|
+
constructor(name, pos, code, message) {
|
|
4
|
+
super();
|
|
5
|
+
this.name = name;
|
|
6
|
+
this.code = code;
|
|
7
|
+
this.message = message;
|
|
8
|
+
this.pos = pos;
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
var YAMLParseError = class extends YAMLError {
|
|
12
|
+
constructor(pos, code, message) {
|
|
13
|
+
super("YAMLParseError", pos, code, message);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
var YAMLWarning = class extends YAMLError {
|
|
17
|
+
constructor(pos, code, message) {
|
|
18
|
+
super("YAMLWarning", pos, code, message);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
var prettifyError = (src, lc) => (error) => {
|
|
22
|
+
if (error.pos[0] === -1) return;
|
|
23
|
+
error.linePos = error.pos.map((pos) => lc.linePos(pos));
|
|
24
|
+
const { line, col } = error.linePos[0];
|
|
25
|
+
error.message += ` at line ${line}, column ${col}`;
|
|
26
|
+
let ci = col - 1;
|
|
27
|
+
let lineStr = src.substring(lc.lineStarts[line - 1], lc.lineStarts[line]).replace(/[\n\r]+$/, "");
|
|
28
|
+
if (ci >= 60 && lineStr.length > 80) {
|
|
29
|
+
const trimStart = Math.min(ci - 39, lineStr.length - 79);
|
|
30
|
+
lineStr = "…" + lineStr.substring(trimStart);
|
|
31
|
+
ci -= trimStart - 1;
|
|
32
|
+
}
|
|
33
|
+
if (lineStr.length > 80) lineStr = lineStr.substring(0, 79) + "…";
|
|
34
|
+
if (line > 1 && /^ *$/.test(lineStr.substring(0, ci))) {
|
|
35
|
+
let prev = src.substring(lc.lineStarts[line - 2], lc.lineStarts[line - 1]);
|
|
36
|
+
if (prev.length > 80) prev = prev.substring(0, 79) + "…\n";
|
|
37
|
+
lineStr = prev + lineStr;
|
|
38
|
+
}
|
|
39
|
+
if (/[^ ]/.test(lineStr)) {
|
|
40
|
+
let count = 1;
|
|
41
|
+
const end = error.linePos[1];
|
|
42
|
+
if (end?.line === line && end.col > col) count = Math.max(1, Math.min(end.col - col, 80 - ci));
|
|
43
|
+
const pointer = " ".repeat(ci) + "^".repeat(count);
|
|
44
|
+
error.message += `:\n\n${lineStr}\n${pointer}\n`;
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
//#endregion
|
|
48
|
+
exports.YAMLError = YAMLError;
|
|
49
|
+
exports.YAMLParseError = YAMLParseError;
|
|
50
|
+
exports.YAMLWarning = YAMLWarning;
|
|
51
|
+
exports.prettifyError = prettifyError;
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=errors.js.map
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errors.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/errors.js"],"sourcesContent":["class YAMLError extends Error {\n constructor(name, pos, code, message) {\n super();\n this.name = name;\n this.code = code;\n this.message = message;\n this.pos = pos;\n }\n}\nclass YAMLParseError extends YAMLError {\n constructor(pos, code, message) {\n super('YAMLParseError', pos, code, message);\n }\n}\nclass YAMLWarning extends YAMLError {\n constructor(pos, code, message) {\n super('YAMLWarning', pos, code, message);\n }\n}\nconst prettifyError = (src, lc) => (error) => {\n if (error.pos[0] === -1)\n return;\n error.linePos = error.pos.map(pos => lc.linePos(pos));\n const { line, col } = error.linePos[0];\n error.message += ` at line ${line}, column ${col}`;\n let ci = col - 1;\n let lineStr = src\n .substring(lc.lineStarts[line - 1], lc.lineStarts[line])\n .replace(/[\\n\\r]+$/, '');\n // Trim to max 80 chars, keeping col position near the middle\n if (ci >= 60 && lineStr.length > 80) {\n const trimStart = Math.min(ci - 39, lineStr.length - 79);\n lineStr = '…' + lineStr.substring(trimStart);\n ci -= trimStart - 1;\n }\n if (lineStr.length > 80)\n lineStr = lineStr.substring(0, 79) + '…';\n // Include previous line in context if pointing at line start\n if (line > 1 && /^ *$/.test(lineStr.substring(0, ci))) {\n // Regexp won't match if start is trimmed\n let prev = src.substring(lc.lineStarts[line - 2], lc.lineStarts[line - 1]);\n if (prev.length > 80)\n prev = prev.substring(0, 79) + '…\\n';\n lineStr = prev + lineStr;\n }\n if (/[^ ]/.test(lineStr)) {\n let count = 1;\n const end = error.linePos[1];\n if (end?.line === line && end.col > col) {\n count = Math.max(1, Math.min(end.col - col, 80 - ci));\n }\n const pointer = ' '.repeat(ci) + '^'.repeat(count);\n error.message += `:\\n\\n${lineStr}\\n${pointer}\\n`;\n }\n};\n\nexport { YAMLError, YAMLParseError, YAMLWarning, prettifyError };\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,YAAN,cAAwB,MAAM;CAC1B,YAAY,MAAM,KAAK,MAAM,SAAS;EAClC,MAAM;EACN,KAAK,OAAO;EACZ,KAAK,OAAO;EACZ,KAAK,UAAU;EACf,KAAK,MAAM;CACf;AACJ;AACA,IAAM,iBAAN,cAA6B,UAAU;CACnC,YAAY,KAAK,MAAM,SAAS;EAC5B,MAAM,kBAAkB,KAAK,MAAM,OAAO;CAC9C;AACJ;AACA,IAAM,cAAN,cAA0B,UAAU;CAChC,YAAY,KAAK,MAAM,SAAS;EAC5B,MAAM,eAAe,KAAK,MAAM,OAAO;CAC3C;AACJ;AACA,IAAM,iBAAiB,KAAK,QAAQ,UAAU;CAC1C,IAAI,MAAM,IAAI,OAAO,IACjB;CACJ,MAAM,UAAU,MAAM,IAAI,KAAI,QAAO,GAAG,QAAQ,GAAG,CAAC;CACpD,MAAM,EAAE,MAAM,QAAQ,MAAM,QAAQ;CACpC,MAAM,WAAW,YAAY,KAAK,WAAW;CAC7C,IAAI,KAAK,MAAM;CACf,IAAI,UAAU,IACT,UAAU,GAAG,WAAW,OAAO,IAAI,GAAG,WAAW,KAAK,CAAC,CACvD,QAAQ,YAAY,EAAE;CAE3B,IAAI,MAAM,MAAM,QAAQ,SAAS,IAAI;EACjC,MAAM,YAAY,KAAK,IAAI,KAAK,IAAI,QAAQ,SAAS,EAAE;EACvD,UAAU,MAAM,QAAQ,UAAU,SAAS;EAC3C,MAAM,YAAY;CACtB;CACA,IAAI,QAAQ,SAAS,IACjB,UAAU,QAAQ,UAAU,GAAG,EAAE,IAAI;CAEzC,IAAI,OAAO,KAAK,OAAO,KAAK,QAAQ,UAAU,GAAG,EAAE,CAAC,GAAG;EAEnD,IAAI,OAAO,IAAI,UAAU,GAAG,WAAW,OAAO,IAAI,GAAG,WAAW,OAAO,EAAE;EACzE,IAAI,KAAK,SAAS,IACd,OAAO,KAAK,UAAU,GAAG,EAAE,IAAI;EACnC,UAAU,OAAO;CACrB;CACA,IAAI,OAAO,KAAK,OAAO,GAAG;EACtB,IAAI,QAAQ;EACZ,MAAM,MAAM,MAAM,QAAQ;EAC1B,IAAI,KAAK,SAAS,QAAQ,IAAI,MAAM,KAChC,QAAQ,KAAK,IAAI,GAAG,KAAK,IAAI,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;EAExD,MAAM,UAAU,IAAI,OAAO,EAAE,IAAI,IAAI,OAAO,KAAK;EACjD,MAAM,WAAW,QAAQ,QAAQ,IAAI,QAAQ;CACjD;AACJ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_identity = require("./nodes/identity.js");
|
|
2
|
+
const require_visit = require("./visit.js");
|
|
3
|
+
require("./nodes/Alias.js");
|
|
4
|
+
require("./nodes/Scalar.js");
|
|
5
|
+
require("./nodes/Pair.js");
|
|
6
|
+
require("./nodes/YAMLMap.js");
|
|
7
|
+
require("./nodes/YAMLSeq.js");
|
|
8
|
+
require("./schema/Schema.js");
|
|
9
|
+
require("./doc/Document.js");
|
|
10
|
+
require("./errors.js");
|
|
11
|
+
require("./compose/composer.js");
|
|
12
|
+
require("./parse/cst.js");
|
|
13
|
+
require("./parse/lexer.js");
|
|
14
|
+
require("./parse/line-counter.js");
|
|
15
|
+
require("./parse/parser.js");
|
|
16
|
+
const require_public_api = require("./public-api.js");
|
|
17
|
+
exports.isAlias = require_identity.isAlias;
|
|
18
|
+
exports.isMap = require_identity.isMap;
|
|
19
|
+
exports.isNode = require_identity.isNode;
|
|
20
|
+
exports.isScalar = require_identity.isScalar;
|
|
21
|
+
exports.isSeq = require_identity.isSeq;
|
|
22
|
+
exports.parseAllDocuments = require_public_api.parseAllDocuments;
|
|
23
|
+
exports.parseDocument = require_public_api.parseDocument;
|
|
24
|
+
exports.visit = require_visit.visit;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js
|
|
2
|
+
function warn(logLevel, warning) {
|
|
3
|
+
if (logLevel === "debug" || logLevel === "warn") console.warn(warning);
|
|
4
|
+
}
|
|
5
|
+
//#endregion
|
|
6
|
+
exports.warn = warn;
|
|
7
|
+
|
|
8
|
+
//# sourceMappingURL=log.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.js","names":[],"sources":["../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/log.js"],"sourcesContent":["function debug(logLevel, ...messages) {\n if (logLevel === 'debug')\n console.log(...messages);\n}\nfunction warn(logLevel, warning) {\n if (logLevel === 'debug' || logLevel === 'warn') {\n console.warn(warning);\n }\n}\n\nexport { debug, warn };\n"],"x_google_ignoreList":[0],"mappings":";AAIA,SAAS,KAAK,UAAU,SAAS;CAC7B,IAAI,aAAa,WAAW,aAAa,QACrC,QAAQ,KAAK,OAAO;AAE5B"}
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
const require_identity = require("./identity.js");
|
|
2
|
+
const require_visit = require("../visit.js");
|
|
3
|
+
const require_anchors = require("../doc/anchors.js");
|
|
4
|
+
const require_toJS = require("./toJS.js");
|
|
5
|
+
const require_Node = require("./Node.js");
|
|
6
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js
|
|
7
|
+
var Alias = class extends require_Node.NodeBase {
|
|
8
|
+
constructor(source) {
|
|
9
|
+
super(require_identity.ALIAS);
|
|
10
|
+
this.source = source;
|
|
11
|
+
Object.defineProperty(this, "tag", { set() {
|
|
12
|
+
throw new Error("Alias nodes cannot have tags");
|
|
13
|
+
} });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Resolve the value of this alias within `doc`, finding the last
|
|
17
|
+
* instance of the `source` anchor before this node.
|
|
18
|
+
*/
|
|
19
|
+
resolve(doc, ctx) {
|
|
20
|
+
if (ctx?.maxAliasCount === 0) throw new ReferenceError("Alias resolution is disabled");
|
|
21
|
+
let nodes;
|
|
22
|
+
if (ctx?.aliasResolveCache) nodes = ctx.aliasResolveCache;
|
|
23
|
+
else {
|
|
24
|
+
nodes = [];
|
|
25
|
+
require_visit.visit(doc, { Node: (_key, node) => {
|
|
26
|
+
if (require_identity.isAlias(node) || require_identity.hasAnchor(node)) nodes.push(node);
|
|
27
|
+
} });
|
|
28
|
+
if (ctx) ctx.aliasResolveCache = nodes;
|
|
29
|
+
}
|
|
30
|
+
let found = void 0;
|
|
31
|
+
for (const node of nodes) {
|
|
32
|
+
if (node === this) break;
|
|
33
|
+
if (node.anchor === this.source) found = node;
|
|
34
|
+
}
|
|
35
|
+
if (found && ctx) {
|
|
36
|
+
const { anchors, doc, maxAliasCount } = ctx;
|
|
37
|
+
let data = anchors.get(found);
|
|
38
|
+
if (!data) {
|
|
39
|
+
require_toJS.toJS(found, null, ctx);
|
|
40
|
+
data = anchors.get(found);
|
|
41
|
+
}
|
|
42
|
+
/* istanbul ignore if */
|
|
43
|
+
if (data?.res === void 0) throw new ReferenceError("This should not happen: Alias anchor was not resolved?");
|
|
44
|
+
if (maxAliasCount >= 0) {
|
|
45
|
+
data.count += 1;
|
|
46
|
+
if (data.aliasCount === 0) data.aliasCount = getAliasCount(doc, found, anchors);
|
|
47
|
+
if (data.count * data.aliasCount > maxAliasCount) throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return found;
|
|
51
|
+
}
|
|
52
|
+
toJSON(_arg, ctx) {
|
|
53
|
+
if (!ctx) return { source: this.source };
|
|
54
|
+
const source = this.resolve(ctx.doc, ctx);
|
|
55
|
+
if (!source) {
|
|
56
|
+
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
|
|
57
|
+
throw new ReferenceError(msg);
|
|
58
|
+
}
|
|
59
|
+
return ctx.anchors.get(source).res;
|
|
60
|
+
}
|
|
61
|
+
toString(ctx, _onComment, _onChompKeep) {
|
|
62
|
+
const src = `*${this.source}`;
|
|
63
|
+
if (ctx) {
|
|
64
|
+
require_anchors.anchorIsValid(this.source);
|
|
65
|
+
if (ctx.options.verifyAliasOrder && !ctx.anchors.has(this.source)) {
|
|
66
|
+
const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;
|
|
67
|
+
throw new Error(msg);
|
|
68
|
+
}
|
|
69
|
+
if (ctx.implicitKey) return `${src} `;
|
|
70
|
+
}
|
|
71
|
+
return src;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
function getAliasCount(doc, node, anchors) {
|
|
75
|
+
if (require_identity.isAlias(node)) {
|
|
76
|
+
const source = node.resolve(doc);
|
|
77
|
+
const anchor = anchors && source && anchors.get(source);
|
|
78
|
+
return anchor ? anchor.count * anchor.aliasCount : 0;
|
|
79
|
+
} else if (require_identity.isCollection(node)) {
|
|
80
|
+
let count = 0;
|
|
81
|
+
for (const item of node.items) {
|
|
82
|
+
const c = getAliasCount(doc, item, anchors);
|
|
83
|
+
if (c > count) count = c;
|
|
84
|
+
}
|
|
85
|
+
return count;
|
|
86
|
+
} else if (require_identity.isPair(node)) {
|
|
87
|
+
const kc = getAliasCount(doc, node.key, anchors);
|
|
88
|
+
const vc = getAliasCount(doc, node.value, anchors);
|
|
89
|
+
return Math.max(kc, vc);
|
|
90
|
+
}
|
|
91
|
+
return 1;
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
exports.Alias = Alias;
|
|
95
|
+
|
|
96
|
+
//# sourceMappingURL=Alias.js.map
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Alias.js","names":["NodeBase","ALIAS","isAlias","hasAnchor","isCollection","isPair"],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Alias.js"],"sourcesContent":["import { anchorIsValid } from '../doc/anchors.js';\nimport { visit } from '../visit.js';\nimport { ALIAS, isAlias, isCollection, isPair, hasAnchor } from './identity.js';\nimport { NodeBase } from './Node.js';\nimport { toJS } from './toJS.js';\n\nclass Alias extends NodeBase {\n constructor(source) {\n super(ALIAS);\n this.source = source;\n Object.defineProperty(this, 'tag', {\n set() {\n throw new Error('Alias nodes cannot have tags');\n }\n });\n }\n /**\n * Resolve the value of this alias within `doc`, finding the last\n * instance of the `source` anchor before this node.\n */\n resolve(doc, ctx) {\n if (ctx?.maxAliasCount === 0)\n throw new ReferenceError('Alias resolution is disabled');\n let nodes;\n if (ctx?.aliasResolveCache) {\n nodes = ctx.aliasResolveCache;\n }\n else {\n nodes = [];\n visit(doc, {\n Node: (_key, node) => {\n if (isAlias(node) || hasAnchor(node))\n nodes.push(node);\n }\n });\n if (ctx)\n ctx.aliasResolveCache = nodes;\n }\n let found = undefined;\n for (const node of nodes) {\n if (node === this)\n break;\n if (node.anchor === this.source)\n found = node;\n }\n if (found && ctx) {\n const { anchors, doc, maxAliasCount } = ctx;\n let data = anchors.get(found);\n if (!data) {\n // Resolve anchors for Node.prototype.toJS()\n toJS(found, null, ctx);\n data = anchors.get(found);\n }\n /* istanbul ignore if */\n if (data?.res === undefined) {\n const msg = 'This should not happen: Alias anchor was not resolved?';\n throw new ReferenceError(msg);\n }\n if (maxAliasCount >= 0) {\n data.count += 1;\n if (data.aliasCount === 0)\n data.aliasCount = getAliasCount(doc, found, anchors);\n if (data.count * data.aliasCount > maxAliasCount) {\n const msg = 'Excessive alias count indicates a resource exhaustion attack';\n throw new ReferenceError(msg);\n }\n }\n }\n return found;\n }\n toJSON(_arg, ctx) {\n if (!ctx)\n return { source: this.source };\n const source = this.resolve(ctx.doc, ctx);\n if (!source) {\n const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;\n throw new ReferenceError(msg);\n }\n return ctx.anchors.get(source).res;\n }\n toString(ctx, _onComment, _onChompKeep) {\n const src = `*${this.source}`;\n if (ctx) {\n anchorIsValid(this.source);\n if (ctx.options.verifyAliasOrder && !ctx.anchors.has(this.source)) {\n const msg = `Unresolved alias (the anchor must be set before the alias): ${this.source}`;\n throw new Error(msg);\n }\n if (ctx.implicitKey)\n return `${src} `;\n }\n return src;\n }\n}\nfunction getAliasCount(doc, node, anchors) {\n if (isAlias(node)) {\n const source = node.resolve(doc);\n const anchor = anchors && source && anchors.get(source);\n return anchor ? anchor.count * anchor.aliasCount : 0;\n }\n else if (isCollection(node)) {\n let count = 0;\n for (const item of node.items) {\n const c = getAliasCount(doc, item, anchors);\n if (c > count)\n count = c;\n }\n return count;\n }\n else if (isPair(node)) {\n const kc = getAliasCount(doc, node.key, anchors);\n const vc = getAliasCount(doc, node.value, anchors);\n return Math.max(kc, vc);\n }\n return 1;\n}\n\nexport { Alias };\n"],"x_google_ignoreList":[0],"mappings":";;;;;;AAMA,IAAM,QAAN,cAAoBA,aAAAA,SAAS;CACzB,YAAY,QAAQ;EAChB,MAAMC,iBAAAA,KAAK;EACX,KAAK,SAAS;EACd,OAAO,eAAe,MAAM,OAAO,EAC/B,MAAM;GACF,MAAM,IAAI,MAAM,8BAA8B;EAClD,EACJ,CAAC;CACL;;;;;CAKA,QAAQ,KAAK,KAAK;EACd,IAAI,KAAK,kBAAkB,GACvB,MAAM,IAAI,eAAe,8BAA8B;EAC3D,IAAI;EACJ,IAAI,KAAK,mBACL,QAAQ,IAAI;OAEX;GACD,QAAQ,CAAC;GACT,cAAA,MAAM,KAAK,EACP,OAAO,MAAM,SAAS;IAClB,IAAIC,iBAAAA,QAAQ,IAAI,KAAKC,iBAAAA,UAAU,IAAI,GAC/B,MAAM,KAAK,IAAI;GACvB,EACJ,CAAC;GACD,IAAI,KACA,IAAI,oBAAoB;EAChC;EACA,IAAI,QAAQ,KAAA;EACZ,KAAK,MAAM,QAAQ,OAAO;GACtB,IAAI,SAAS,MACT;GACJ,IAAI,KAAK,WAAW,KAAK,QACrB,QAAQ;EAChB;EACA,IAAI,SAAS,KAAK;GACd,MAAM,EAAE,SAAS,KAAK,kBAAkB;GACxC,IAAI,OAAO,QAAQ,IAAI,KAAK;GAC5B,IAAI,CAAC,MAAM;IAEP,aAAA,KAAK,OAAO,MAAM,GAAG;IACrB,OAAO,QAAQ,IAAI,KAAK;GAC5B;;GAEA,IAAI,MAAM,QAAQ,KAAA,GAEd,MAAM,IAAI,eAAe,wDAAG;GAEhC,IAAI,iBAAiB,GAAG;IACpB,KAAK,SAAS;IACd,IAAI,KAAK,eAAe,GACpB,KAAK,aAAa,cAAc,KAAK,OAAO,OAAO;IACvD,IAAI,KAAK,QAAQ,KAAK,aAAa,eAE/B,MAAM,IAAI,eAAe,8DAAG;GAEpC;EACJ;EACA,OAAO;CACX;CACA,OAAO,MAAM,KAAK;EACd,IAAI,CAAC,KACD,OAAO,EAAE,QAAQ,KAAK,OAAO;EACjC,MAAM,SAAS,KAAK,QAAQ,IAAI,KAAK,GAAG;EACxC,IAAI,CAAC,QAAQ;GACT,MAAM,MAAM,+DAA+D,KAAK;GAChF,MAAM,IAAI,eAAe,GAAG;EAChC;EACA,OAAO,IAAI,QAAQ,IAAI,MAAM,CAAC,CAAC;CACnC;CACA,SAAS,KAAK,YAAY,cAAc;EACpC,MAAM,MAAM,IAAI,KAAK;EACrB,IAAI,KAAK;GACL,gBAAA,cAAc,KAAK,MAAM;GACzB,IAAI,IAAI,QAAQ,oBAAoB,CAAC,IAAI,QAAQ,IAAI,KAAK,MAAM,GAAG;IAC/D,MAAM,MAAM,+DAA+D,KAAK;IAChF,MAAM,IAAI,MAAM,GAAG;GACvB;GACA,IAAI,IAAI,aACJ,OAAO,GAAG,IAAI;EACtB;EACA,OAAO;CACX;AACJ;AACA,SAAS,cAAc,KAAK,MAAM,SAAS;CACvC,IAAID,iBAAAA,QAAQ,IAAI,GAAG;EACf,MAAM,SAAS,KAAK,QAAQ,GAAG;EAC/B,MAAM,SAAS,WAAW,UAAU,QAAQ,IAAI,MAAM;EACtD,OAAO,SAAS,OAAO,QAAQ,OAAO,aAAa;CACvD,OACK,IAAIE,iBAAAA,aAAa,IAAI,GAAG;EACzB,IAAI,QAAQ;EACZ,KAAK,MAAM,QAAQ,KAAK,OAAO;GAC3B,MAAM,IAAI,cAAc,KAAK,MAAM,OAAO;GAC1C,IAAI,IAAI,OACJ,QAAQ;EAChB;EACA,OAAO;CACX,OACK,IAAIC,iBAAAA,OAAO,IAAI,GAAG;EACnB,MAAM,KAAK,cAAc,KAAK,KAAK,KAAK,OAAO;EAC/C,MAAM,KAAK,cAAc,KAAK,KAAK,OAAO,OAAO;EACjD,OAAO,KAAK,IAAI,IAAI,EAAE;CAC1B;CACA,OAAO;AACX"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
const require_identity = require("./identity.js");
|
|
2
|
+
const require_Node = require("./Node.js");
|
|
3
|
+
const require_createNode = require("../doc/createNode.js");
|
|
4
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js
|
|
5
|
+
function collectionFromPath(schema, path, value) {
|
|
6
|
+
let v = value;
|
|
7
|
+
for (let i = path.length - 1; i >= 0; --i) {
|
|
8
|
+
const k = path[i];
|
|
9
|
+
if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
|
|
10
|
+
const a = [];
|
|
11
|
+
a[k] = v;
|
|
12
|
+
v = a;
|
|
13
|
+
} else v = /* @__PURE__ */ new Map([[k, v]]);
|
|
14
|
+
}
|
|
15
|
+
return require_createNode.createNode(v, void 0, {
|
|
16
|
+
aliasDuplicateObjects: false,
|
|
17
|
+
keepUndefined: false,
|
|
18
|
+
onAnchor: () => {
|
|
19
|
+
throw new Error("This should not happen, please report a bug.");
|
|
20
|
+
},
|
|
21
|
+
schema,
|
|
22
|
+
sourceObjects: /* @__PURE__ */ new Map()
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
var isEmptyPath = (path) => path == null || typeof path === "object" && !!path[Symbol.iterator]().next().done;
|
|
26
|
+
var Collection = class extends require_Node.NodeBase {
|
|
27
|
+
constructor(type, schema) {
|
|
28
|
+
super(type);
|
|
29
|
+
Object.defineProperty(this, "schema", {
|
|
30
|
+
value: schema,
|
|
31
|
+
configurable: true,
|
|
32
|
+
enumerable: false,
|
|
33
|
+
writable: true
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Create a copy of this collection.
|
|
38
|
+
*
|
|
39
|
+
* @param schema - If defined, overwrites the original's schema
|
|
40
|
+
*/
|
|
41
|
+
clone(schema) {
|
|
42
|
+
const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
43
|
+
if (schema) copy.schema = schema;
|
|
44
|
+
copy.items = copy.items.map((it) => require_identity.isNode(it) || require_identity.isPair(it) ? it.clone(schema) : it);
|
|
45
|
+
if (this.range) copy.range = this.range.slice();
|
|
46
|
+
return copy;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Adds a value to the collection. For `!!map` and `!!omap` the value must
|
|
50
|
+
* be a Pair instance or a `{ key, value }` object, which may not have a key
|
|
51
|
+
* that already exists in the map.
|
|
52
|
+
*/
|
|
53
|
+
addIn(path, value) {
|
|
54
|
+
if (isEmptyPath(path)) this.add(value);
|
|
55
|
+
else {
|
|
56
|
+
const [key, ...rest] = path;
|
|
57
|
+
const node = this.get(key, true);
|
|
58
|
+
if (require_identity.isCollection(node)) node.addIn(rest, value);
|
|
59
|
+
else if (node === void 0 && this.schema) this.set(key, collectionFromPath(this.schema, rest, value));
|
|
60
|
+
else throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Removes a value from the collection.
|
|
65
|
+
* @returns `true` if the item was found and removed.
|
|
66
|
+
*/
|
|
67
|
+
deleteIn(path) {
|
|
68
|
+
const [key, ...rest] = path;
|
|
69
|
+
if (rest.length === 0) return this.delete(key);
|
|
70
|
+
const node = this.get(key, true);
|
|
71
|
+
if (require_identity.isCollection(node)) return node.deleteIn(rest);
|
|
72
|
+
else throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns item at `key`, or `undefined` if not found. By default unwraps
|
|
76
|
+
* scalar values from their surrounding node; to disable set `keepScalar` to
|
|
77
|
+
* `true` (collections are always returned intact).
|
|
78
|
+
*/
|
|
79
|
+
getIn(path, keepScalar) {
|
|
80
|
+
const [key, ...rest] = path;
|
|
81
|
+
const node = this.get(key, true);
|
|
82
|
+
if (rest.length === 0) return !keepScalar && require_identity.isScalar(node) ? node.value : node;
|
|
83
|
+
else return require_identity.isCollection(node) ? node.getIn(rest, keepScalar) : void 0;
|
|
84
|
+
}
|
|
85
|
+
hasAllNullValues(allowScalar) {
|
|
86
|
+
return this.items.every((node) => {
|
|
87
|
+
if (!require_identity.isPair(node)) return false;
|
|
88
|
+
const n = node.value;
|
|
89
|
+
return n == null || allowScalar && require_identity.isScalar(n) && n.value == null && !n.commentBefore && !n.comment && !n.tag;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Checks if the collection includes a value with the key `key`.
|
|
94
|
+
*/
|
|
95
|
+
hasIn(path) {
|
|
96
|
+
const [key, ...rest] = path;
|
|
97
|
+
if (rest.length === 0) return this.has(key);
|
|
98
|
+
const node = this.get(key, true);
|
|
99
|
+
return require_identity.isCollection(node) ? node.hasIn(rest) : false;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
|
103
|
+
* boolean to add/remove the item from the set.
|
|
104
|
+
*/
|
|
105
|
+
setIn(path, value) {
|
|
106
|
+
const [key, ...rest] = path;
|
|
107
|
+
if (rest.length === 0) this.set(key, value);
|
|
108
|
+
else {
|
|
109
|
+
const node = this.get(key, true);
|
|
110
|
+
if (require_identity.isCollection(node)) node.setIn(rest, value);
|
|
111
|
+
else if (node === void 0 && this.schema) this.set(key, collectionFromPath(this.schema, rest, value));
|
|
112
|
+
else throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
//#endregion
|
|
117
|
+
exports.Collection = Collection;
|
|
118
|
+
exports.collectionFromPath = collectionFromPath;
|
|
119
|
+
exports.isEmptyPath = isEmptyPath;
|
|
120
|
+
|
|
121
|
+
//# sourceMappingURL=Collection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Collection.js","names":["createNode","NodeBase","isNode","isPair","isCollection","isScalar"],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Collection.js"],"sourcesContent":["import { createNode } from '../doc/createNode.js';\nimport { isNode, isPair, isCollection, isScalar } from './identity.js';\nimport { NodeBase } from './Node.js';\n\nfunction collectionFromPath(schema, path, value) {\n let v = value;\n for (let i = path.length - 1; i >= 0; --i) {\n const k = path[i];\n if (typeof k === 'number' && Number.isInteger(k) && k >= 0) {\n const a = [];\n a[k] = v;\n v = a;\n }\n else {\n v = new Map([[k, v]]);\n }\n }\n return createNode(v, undefined, {\n aliasDuplicateObjects: false,\n keepUndefined: false,\n onAnchor: () => {\n throw new Error('This should not happen, please report a bug.');\n },\n schema,\n sourceObjects: new Map()\n });\n}\n// Type guard is intentionally a little wrong so as to be more useful,\n// as it does not cover untypable empty non-string iterables (e.g. []).\nconst isEmptyPath = (path) => path == null ||\n (typeof path === 'object' && !!path[Symbol.iterator]().next().done);\nclass Collection extends NodeBase {\n constructor(type, schema) {\n super(type);\n Object.defineProperty(this, 'schema', {\n value: schema,\n configurable: true,\n enumerable: false,\n writable: true\n });\n }\n /**\n * Create a copy of this collection.\n *\n * @param schema - If defined, overwrites the original's schema\n */\n clone(schema) {\n const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));\n if (schema)\n copy.schema = schema;\n copy.items = copy.items.map(it => isNode(it) || isPair(it) ? it.clone(schema) : it);\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /**\n * Adds a value to the collection. For `!!map` and `!!omap` the value must\n * be a Pair instance or a `{ key, value }` object, which may not have a key\n * that already exists in the map.\n */\n addIn(path, value) {\n if (isEmptyPath(path))\n this.add(value);\n else {\n const [key, ...rest] = path;\n const node = this.get(key, true);\n if (isCollection(node))\n node.addIn(rest, value);\n else if (node === undefined && this.schema)\n this.set(key, collectionFromPath(this.schema, rest, value));\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n }\n /**\n * Removes a value from the collection.\n * @returns `true` if the item was found and removed.\n */\n deleteIn(path) {\n const [key, ...rest] = path;\n if (rest.length === 0)\n return this.delete(key);\n const node = this.get(key, true);\n if (isCollection(node))\n return node.deleteIn(rest);\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n /**\n * Returns item at `key`, or `undefined` if not found. By default unwraps\n * scalar values from their surrounding node; to disable set `keepScalar` to\n * `true` (collections are always returned intact).\n */\n getIn(path, keepScalar) {\n const [key, ...rest] = path;\n const node = this.get(key, true);\n if (rest.length === 0)\n return !keepScalar && isScalar(node) ? node.value : node;\n else\n return isCollection(node) ? node.getIn(rest, keepScalar) : undefined;\n }\n hasAllNullValues(allowScalar) {\n return this.items.every(node => {\n if (!isPair(node))\n return false;\n const n = node.value;\n return (n == null ||\n (allowScalar &&\n isScalar(n) &&\n n.value == null &&\n !n.commentBefore &&\n !n.comment &&\n !n.tag));\n });\n }\n /**\n * Checks if the collection includes a value with the key `key`.\n */\n hasIn(path) {\n const [key, ...rest] = path;\n if (rest.length === 0)\n return this.has(key);\n const node = this.get(key, true);\n return isCollection(node) ? node.hasIn(rest) : false;\n }\n /**\n * Sets a value in this collection. For `!!set`, `value` needs to be a\n * boolean to add/remove the item from the set.\n */\n setIn(path, value) {\n const [key, ...rest] = path;\n if (rest.length === 0) {\n this.set(key, value);\n }\n else {\n const node = this.get(key, true);\n if (isCollection(node))\n node.setIn(rest, value);\n else if (node === undefined && this.schema)\n this.set(key, collectionFromPath(this.schema, rest, value));\n else\n throw new Error(`Expected YAML collection at ${key}. Remaining path: ${rest}`);\n }\n }\n}\n\nexport { Collection, collectionFromPath, isEmptyPath };\n"],"x_google_ignoreList":[0],"mappings":"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"}
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
const require_identity = require("./identity.js");
|
|
2
|
+
const require_applyReviver = require("../doc/applyReviver.js");
|
|
3
|
+
const require_toJS = require("./toJS.js");
|
|
4
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js
|
|
5
|
+
var NodeBase = class {
|
|
6
|
+
constructor(type) {
|
|
7
|
+
Object.defineProperty(this, require_identity.NODE_TYPE, { value: type });
|
|
8
|
+
}
|
|
9
|
+
/** Create a copy of this node. */
|
|
10
|
+
clone() {
|
|
11
|
+
const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
12
|
+
if (this.range) copy.range = this.range.slice();
|
|
13
|
+
return copy;
|
|
14
|
+
}
|
|
15
|
+
/** A plain JavaScript representation of this node. */
|
|
16
|
+
toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
|
|
17
|
+
if (!require_identity.isDocument(doc)) throw new TypeError("A document argument is required");
|
|
18
|
+
const ctx = {
|
|
19
|
+
anchors: /* @__PURE__ */ new Map(),
|
|
20
|
+
doc,
|
|
21
|
+
keep: true,
|
|
22
|
+
mapAsMap: mapAsMap === true,
|
|
23
|
+
mapKeyWarned: false,
|
|
24
|
+
maxAliasCount: typeof maxAliasCount === "number" ? maxAliasCount : 100
|
|
25
|
+
};
|
|
26
|
+
const res = require_toJS.toJS(this, "", ctx);
|
|
27
|
+
if (typeof onAnchor === "function") for (const { count, res } of ctx.anchors.values()) onAnchor(res, count);
|
|
28
|
+
return typeof reviver === "function" ? require_applyReviver.applyReviver(reviver, { "": res }, "", res) : res;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//#endregion
|
|
32
|
+
exports.NodeBase = NodeBase;
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=Node.js.map
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Node.js","names":["NODE_TYPE","isDocument","toJS","applyReviver"],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Node.js"],"sourcesContent":["import { applyReviver } from '../doc/applyReviver.js';\nimport { NODE_TYPE, isDocument } from './identity.js';\nimport { toJS } from './toJS.js';\n\nclass NodeBase {\n constructor(type) {\n Object.defineProperty(this, NODE_TYPE, { value: type });\n }\n /** Create a copy of this node. */\n clone() {\n const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));\n if (this.range)\n copy.range = this.range.slice();\n return copy;\n }\n /** A plain JavaScript representation of this node. */\n toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {\n if (!isDocument(doc))\n throw new TypeError('A document argument is required');\n const ctx = {\n anchors: new Map(),\n doc,\n keep: true,\n mapAsMap: mapAsMap === true,\n mapKeyWarned: false,\n maxAliasCount: typeof maxAliasCount === 'number' ? maxAliasCount : 100\n };\n const res = toJS(this, '', ctx);\n if (typeof onAnchor === 'function')\n for (const { count, res } of ctx.anchors.values())\n onAnchor(res, count);\n return typeof reviver === 'function'\n ? applyReviver(reviver, { '': res }, '', res)\n : res;\n }\n}\n\nexport { NodeBase };\n"],"x_google_ignoreList":[0],"mappings":";;;;AAIA,IAAM,WAAN,MAAe;CACX,YAAY,MAAM;EACd,OAAO,eAAe,MAAMA,iBAAAA,WAAW,EAAE,OAAO,KAAK,CAAC;CAC1D;;CAEA,QAAQ;EACJ,MAAM,OAAO,OAAO,OAAO,OAAO,eAAe,IAAI,GAAG,OAAO,0BAA0B,IAAI,CAAC;EAC9F,IAAI,KAAK,OACL,KAAK,QAAQ,KAAK,MAAM,MAAM;EAClC,OAAO;CACX;;CAEA,KAAK,KAAK,EAAE,UAAU,eAAe,UAAU,YAAY,CAAC,GAAG;EAC3D,IAAI,CAACC,iBAAAA,WAAW,GAAG,GACf,MAAM,IAAI,UAAU,iCAAiC;EACzD,MAAM,MAAM;GACR,yBAAS,IAAI,IAAI;GACjB;GACA,MAAM;GACN,UAAU,aAAa;GACvB,cAAc;GACd,eAAe,OAAO,kBAAkB,WAAW,gBAAgB;EACvE;EACA,MAAM,MAAMC,aAAAA,KAAK,MAAM,IAAI,GAAG;EAC9B,IAAI,OAAO,aAAa,YACpB,KAAK,MAAM,EAAE,OAAO,SAAS,IAAI,QAAQ,OAAO,GAC5C,SAAS,KAAK,KAAK;EAC3B,OAAO,OAAO,YAAY,aACpBC,qBAAAA,aAAa,SAAS,EAAE,IAAI,IAAI,GAAG,IAAI,GAAG,IAC1C;CACV;AACJ"}
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_identity = require("./identity.js");
|
|
2
|
+
const require_createNode = require("../doc/createNode.js");
|
|
3
|
+
const require_stringifyPair = require("../stringify/stringifyPair.js");
|
|
4
|
+
const require_addPairToJSMap = require("./addPairToJSMap.js");
|
|
5
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js
|
|
6
|
+
function createPair(key, value, ctx) {
|
|
7
|
+
return new Pair(require_createNode.createNode(key, void 0, ctx), require_createNode.createNode(value, void 0, ctx));
|
|
8
|
+
}
|
|
9
|
+
var Pair = class Pair {
|
|
10
|
+
constructor(key, value = null) {
|
|
11
|
+
Object.defineProperty(this, require_identity.NODE_TYPE, { value: require_identity.PAIR });
|
|
12
|
+
this.key = key;
|
|
13
|
+
this.value = value;
|
|
14
|
+
}
|
|
15
|
+
clone(schema) {
|
|
16
|
+
let { key, value } = this;
|
|
17
|
+
if (require_identity.isNode(key)) key = key.clone(schema);
|
|
18
|
+
if (require_identity.isNode(value)) value = value.clone(schema);
|
|
19
|
+
return new Pair(key, value);
|
|
20
|
+
}
|
|
21
|
+
toJSON(_, ctx) {
|
|
22
|
+
return require_addPairToJSMap.addPairToJSMap(ctx, ctx?.mapAsMap ? /* @__PURE__ */ new Map() : {}, this);
|
|
23
|
+
}
|
|
24
|
+
toString(ctx, onComment, onChompKeep) {
|
|
25
|
+
return ctx?.doc ? require_stringifyPair.stringifyPair(this, ctx, onComment, onChompKeep) : JSON.stringify(this);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
//#endregion
|
|
29
|
+
exports.Pair = Pair;
|
|
30
|
+
exports.createPair = createPair;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=Pair.js.map
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pair.js","names":["createNode","NODE_TYPE","PAIR","isNode","addPairToJSMap","stringifyPair"],"sources":["../../../../../../../../../../node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Pair.js"],"sourcesContent":["import { createNode } from '../doc/createNode.js';\nimport { stringifyPair } from '../stringify/stringifyPair.js';\nimport { addPairToJSMap } from './addPairToJSMap.js';\nimport { NODE_TYPE, PAIR, isNode } from './identity.js';\n\nfunction createPair(key, value, ctx) {\n const k = createNode(key, undefined, ctx);\n const v = createNode(value, undefined, ctx);\n return new Pair(k, v);\n}\nclass Pair {\n constructor(key, value = null) {\n Object.defineProperty(this, NODE_TYPE, { value: PAIR });\n this.key = key;\n this.value = value;\n }\n clone(schema) {\n let { key, value } = this;\n if (isNode(key))\n key = key.clone(schema);\n if (isNode(value))\n value = value.clone(schema);\n return new Pair(key, value);\n }\n toJSON(_, ctx) {\n const pair = ctx?.mapAsMap ? new Map() : {};\n return addPairToJSMap(ctx, pair, this);\n }\n toString(ctx, onComment, onChompKeep) {\n return ctx?.doc\n ? stringifyPair(this, ctx, onComment, onChompKeep)\n : JSON.stringify(this);\n }\n}\n\nexport { Pair, createPair };\n"],"x_google_ignoreList":[0],"mappings":";;;;;AAKA,SAAS,WAAW,KAAK,OAAO,KAAK;CAGjC,OAAO,IAAI,KAFDA,mBAAAA,WAAW,KAAK,KAAA,GAAW,GAErB,GADNA,mBAAAA,WAAW,OAAO,KAAA,GAAW,GACpB,CAAC;AACxB;AACA,IAAM,OAAN,MAAM,KAAK;CACP,YAAY,KAAK,QAAQ,MAAM;EAC3B,OAAO,eAAe,MAAMC,iBAAAA,WAAW,EAAE,OAAOC,iBAAAA,KAAK,CAAC;EACtD,KAAK,MAAM;EACX,KAAK,QAAQ;CACjB;CACA,MAAM,QAAQ;EACV,IAAI,EAAE,KAAK,UAAU;EACrB,IAAIC,iBAAAA,OAAO,GAAG,GACV,MAAM,IAAI,MAAM,MAAM;EAC1B,IAAIA,iBAAAA,OAAO,KAAK,GACZ,QAAQ,MAAM,MAAM,MAAM;EAC9B,OAAO,IAAI,KAAK,KAAK,KAAK;CAC9B;CACA,OAAO,GAAG,KAAK;EAEX,OAAOC,uBAAAA,eAAe,KADT,KAAK,2BAAW,IAAI,IAAI,IAAI,CAAC,GACT,IAAI;CACzC;CACA,SAAS,KAAK,WAAW,aAAa;EAClC,OAAO,KAAK,MACNC,sBAAAA,cAAc,MAAM,KAAK,WAAW,WAAW,IAC/C,KAAK,UAAU,IAAI;CAC7B;AACJ"}
|
package/out/renderer/node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_identity = require("./identity.js");
|
|
2
|
+
const require_toJS = require("./toJS.js");
|
|
3
|
+
const require_Node = require("./Node.js");
|
|
4
|
+
//#region node_modules/.pnpm/yaml@2.9.1/node_modules/yaml/browser/dist/nodes/Scalar.js
|
|
5
|
+
var isScalarValue = (value) => !value || typeof value !== "function" && typeof value !== "object";
|
|
6
|
+
var Scalar = class extends require_Node.NodeBase {
|
|
7
|
+
constructor(value) {
|
|
8
|
+
super(require_identity.SCALAR);
|
|
9
|
+
this.value = value;
|
|
10
|
+
}
|
|
11
|
+
toJSON(arg, ctx) {
|
|
12
|
+
return ctx?.keep ? this.value : require_toJS.toJS(this.value, arg, ctx);
|
|
13
|
+
}
|
|
14
|
+
toString() {
|
|
15
|
+
return String(this.value);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
Scalar.BLOCK_FOLDED = "BLOCK_FOLDED";
|
|
19
|
+
Scalar.BLOCK_LITERAL = "BLOCK_LITERAL";
|
|
20
|
+
Scalar.PLAIN = "PLAIN";
|
|
21
|
+
Scalar.QUOTE_DOUBLE = "QUOTE_DOUBLE";
|
|
22
|
+
Scalar.QUOTE_SINGLE = "QUOTE_SINGLE";
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.Scalar = Scalar;
|
|
25
|
+
exports.isScalarValue = isScalarValue;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=Scalar.js.map
|